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

934 lines
4.0 MiB

This file contains invisible Unicode characters!

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

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

(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+6Fa":function(ue,z,d){"use strict";var O=d("wx14"),_=d("rePB"),I=d("Ff2n"),E=d("VTBJ"),C=d("1OyB"),t=d("vuIU"),p=d("Ji7U"),h=d("LK+K"),o=d("q1tI"),r=d.n(o),s=d("TSYQ"),l=d.n(s),n=function(c){Object(p.a)(a,c);var e=Object(h.a)(a);function a(i){var u;Object(C.a)(this,a),u=e.call(this,i),u.handleChange=function(m){var A=u.props,g=A.disabled,v=A.onChange;if(g)return;"checked"in u.props||u.setState({checked:m.target.checked}),v&&v({target:Object(E.a)(Object(E.a)({},u.props),{},{checked:m.target.checked}),stopPropagation:function(){m.stopPropagation()},preventDefault:function(){m.preventDefault()},nativeEvent:m.nativeEvent})},u.saveInput=function(m){u.input=m};var f="checked"in i?i.checked:i.defaultChecked;return u.state={checked:f},u}return Object(t.a)(a,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){var u,f=this.props,m=f.prefixCls,A=f.className,g=f.style,v=f.name,b=f.id,S=f.type,y=f.disabled,w=f.readOnly,x=f.tabIndex,T=f.onClick,L=f.onFocus,R=f.onBlur,P=f.onKeyDown,k=f.onKeyPress,U=f.onKeyUp,D=f.autoFocus,M=f.value,B=f.required,j=Object(I.a)(f,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","onKeyDown","onKeyPress","onKeyUp","autoFocus","value","required"]),H=Object.keys(j).reduce(function(X,V){return(V.substr(0,5)==="aria-"||V.substr(0,5)==="data-"||V==="role")&&(X[V]=j[V]),X},{}),K=this.state.checked,W=l()(m,A,(u={},Object(_.a)(u,"".concat(m,"-checked"),K),Object(_.a)(u,"".concat(m,"-disabled"),y),u));return r.a.createElement("span",{className:W,style:g},r.a.createElement("input",Object(O.a)({name:v,id:b,type:S,required:B,readOnly:w,disabled:y,tabIndex:x,className:"".concat(m,"-input"),checked:!!K,onClick:T,onFocus:L,onBlur:R,onKeyUp:U,onKeyDown:P,onKeyPress:k,onChange:this.handleChange,autoFocus:D,ref:this.saveInput,value:M},H)),r.a.createElement("span",{className:"".concat(m,"-inner")}))}}],[{key:"getDerivedStateFromProps",value:function(u,f){return"checked"in u?Object(E.a)(Object(E.a)({},f),{},{checked:u.checked}):null}}]),a}(o.Component);n.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){},onKeyDown:function(){},onKeyPress:function(){},onKeyUp:function(){}},z.a=n},"+BJd":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("6MrE"),E=d.n(I)},"+QRC":function(ue,z,d){"use strict";var O=d("E9nw"),_={"text/plain":"Text","text/html":"Url",default:"Text"},I="Copy to clipboard: #{key}, Enter";function E(t){var p=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,p)}function C(t,p){var h,o,r,s,l,n,c=!1;p||(p={}),h=p.debug||!1;try{r=O(),s=document.createRange(),l=document.getSelection(),n=document.createElement("span"),n.textContent=t,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(a){if(a.stopPropagation(),p.format)if(a.preventDefault(),typeof a.clipboardData=="undefined"){h&&console.warn("unable to use e.clipboardData"),h&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=_[p.format]||_.default;window.clipboardData.setData(i,t)}else a.clipboardData.clearData(),a.clipboardData.setData(p.format,t);p.onCopy&&(a.preventDefault(),p.onCopy(a.clipboardData))}),document.body.appendChild(n),s.selectNodeContents(n),l.addRange(s);var e=document.execCommand("copy");if(!e)throw new Error("copy command was unsuccessful");c=!0}catch(a){h&&console.error("unable to copy using execCommand: ",a),h&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(p.format||"text",t),p.onCopy&&p.onCopy(window.clipboardData),c=!0}catch(i){h&&console.error("unable to copy using clipboardData: ",i),h&&console.error("falling back to prompt"),o=E("message"in p?p.message:I),window.prompt(o,t)}}finally{l&&(typeof l.removeRange=="function"?l.removeRange(s):l.removeAllRanges()),n&&document.body.removeChild(n),r()}return c}ue.exports=C},"+TT/":function(ue,z,d){var O=d("bYtY"),_=d("mFDi"),I=d("OELB"),E=I.parsePercent,C=d("7aKB"),t=O.each,p=["left","right","top","bottom","width","height"],h=[["width","left","right"],["height","top","bottom"]];function o(m,A,g,v,b){var S=0,y=0;v==null&&(v=Infinity),b==null&&(b=Infinity);var w=0;A.eachChild(function(x,T){var L=x.position,R=x.getBoundingRect(),P=A.childAt(T+1),k=P&&P.getBoundingRect(),U,D;if(m==="horizontal"){var M=R.width+(k?-k.x+R.x:0);U=S+M,U>v||x.newline?(S=0,U=M,y+=w+g,w=R.height):w=Math.max(w,R.height)}else{var B=R.height+(k?-k.y+R.y:0);D=y+B,D>b||x.newline?(S+=w+g,y=0,D=B,w=R.width):w=Math.max(w,R.width)}if(x.newline)return;L[0]=S,L[1]=y,m==="horizontal"?S=U+g:y=D+g})}var r=o,s=O.curry(o,"vertical"),l=O.curry(o,"horizontal");function n(m,A,g){var v=A.width,b=A.height,S=E(m.x,v),y=E(m.y,b),w=E(m.x2,v),x=E(m.y2,b);return(isNaN(S)||isNaN(parseFloat(m.x)))&&(S=0),(isNaN(w)||isNaN(parseFloat(m.x2)))&&(w=v),(isNaN(y)||isNaN(parseFloat(m.y)))&&(y=0),(isNaN(x)||isNaN(parseFloat(m.y2)))&&(x=b),g=C.normalizeCssArray(g||0),{width:Math.max(w-S-g[1]-g[3],0),height:Math.max(x-y-g[0]-g[2],0)}}function c(m,A,g){g=C.normalizeCssArray(g||0);var v=A.width,b=A.height,S=E(m.left,v),y=E(m.top,b),w=E(m.right,v),x=E(m.bottom,b),T=E(m.width,v),L=E(m.height,b),R=g[2]+g[0],P=g[1]+g[3],k=m.aspect;isNaN(T)&&(T=v-w-P-S),isNaN(L)&&(L=b-x-R-y),k!=null&&(isNaN(T)&&isNaN(L)&&(k>v/b?T=v*.8:L=b*.8),isNaN(T)&&(T=k*L),isNaN(L)&&(L=T/k)),isNaN(S)&&(S=v-w-T-P),isNaN(y)&&(y=b-x-L-R);switch(m.left||m.right){case"center":S=v/2-T/2-g[3];break;case"right":S=v-T-P;break}switch(m.top||m.bottom){case"middle":case"center":y=b/2-L/2-g[0];break;case"bottom":y=b-L-R;break}S=S||0,y=y||0,isNaN(T)&&(T=v-P-S-(w||0)),isNaN(L)&&(L=b-R-y-(x||0));var U=new _(S+g[3],y+g[0],T,L);return U.margin=g,U}function e(m,A,g,v,b){var S=!b||!b.hv||b.hv[0],y=!b||!b.hv||b.hv[1],w=b&&b.boundingMode||"all";if(!S&&!y)return;var x;if(w==="raw")x=m.type==="group"?new _(0,0,+A.width||0,+A.height||0):m.getBoundingRect();else if(x=m.getBoundingRect(),m.needLocalTransform()){var T=m.getLocalTransform();x=x.clone(),x.applyTransform(T)}A=c(O.defaults({width:x.width,height:x.height},A),g,v);var L=m.position,R=S?A.x-x.x:0,P=y?A.y-x.y:0;m.attr("position",w==="raw"?[R,P]:[L[0]+R,L[1]+P])}function a(m,A){return m[h[A][0]]!=null||m[h[A][1]]!=null&&m[h[A][2]]!=null}function i(m,A,g){!O.isObject(g)&&(g={});var v=g.ignoreSize;!O.isArray(v)&&(v=[v,v]);var b=y(h[0],0),S=y(h[1],1);T(h[0],m,b),T(h[1],m,S);function y(L,R){var P={},k=0,U={},D=0,M=2;if(t(L,function(H){U[H]=m[H]}),t(L,function(H){w(A,H)&&(P[H]=U[H]=A[H]),x(P,H)&&k++,x(U,H)&&D++}),v[R])return x(A,L[1])?U[L[2]]=null:x(A,L[2])&&(U[L[1]]=null),U;if(D===M||!k)return U;if(k>=M)return P;for(var B=0;B<L.length;B++){var j=L[B];if(!w(P,j)&&w(m,j)){P[j]=m[j];break}}return P}function w(L,R){return L.hasOwnProperty(R)}function x(L,R){return L[R]!=null&&L[R]!=="auto"}function T(L,R,P){t(L,function(k){R[k]=P[k]})}}function u(m){return f({},m)}function f(m,A){return A&&m&&t(p,function(g){A.hasOwnProperty(g)&&(m[g]=A[g])}),m}z.LOCATION_PARAMS=p,z.HV_NAMES=h,z.box=r,z.vbox=s,z.hbox=l,z.getAvailableSize=n,z.getLayoutRect=c,z.positionElement=e,z.sizeCalculable=a,z.mergeLayoutParam=i,z.getLayoutParams=u,z.copyLayoutParams=f},"+Zaj":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("ugBc")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="CalendarOutlined";var h=E.forwardRef(p);z.default=h},"+d4F":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("y3Yb"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"+eQT":function(ue,z,d){"use strict";var O=d("wd/R"),_=d.n(O),I=d("Kwbf"),E={getNow:function(){return _()()},getWeekDay:function(Ot){var cr=Ot.clone().locale("en_US");return cr.weekday()+cr.localeData().firstDayOfWeek()},getYear:function(Ot){return Ot.year()},getMonth:function(Ot){return Ot.month()},getDate:function(Ot){return Ot.date()},getHour:function(Ot){return Ot.hour()},getMinute:function(Ot){return Ot.minute()},getSecond:function(Ot){return Ot.second()},addYear:function(Ot,cr){var lr=Ot.clone();return lr.add(cr,"year")},addMonth:function(Ot,cr){var lr=Ot.clone();return lr.add(cr,"month")},addDate:function(Ot,cr){var lr=Ot.clone();return lr.add(cr,"day")},setYear:function(Ot,cr){var lr=Ot.clone();return lr.year(cr)},setMonth:function(Ot,cr){var lr=Ot.clone();return lr.month(cr)},setDate:function(Ot,cr){var lr=Ot.clone();return lr.date(cr)},setHour:function(Ot,cr){var lr=Ot.clone();return lr.hour(cr)},setMinute:function(Ot,cr){var lr=Ot.clone();return lr.minute(cr)},setSecond:function(Ot,cr){var lr=Ot.clone();return lr.second(cr)},isAfter:function(Ot,cr){return Ot.isAfter(cr)},isValidate:function(Ot){return Ot.isValid()},locale:{getWeekFirstDay:function(Ot){var cr=_()().locale(Ot);return cr.localeData().firstDayOfWeek()},getWeek:function(Ot,cr){var lr=cr.clone(),Ir=lr.locale(Ot);return Ir.week()},getShortWeekDays:function(Ot){var cr=_()().locale(Ot);return cr.localeData().weekdaysMin()},getShortMonths:function(Ot){var cr=_()().locale(Ot);return cr.localeData().monthsShort()},format:function(Ot,cr,lr){var Ir=cr.clone(),Dr=Ir.locale(Ot);return Dr.format(lr)},parse:function(Ot,cr,lr){for(var Ir=[],Dr=0;Dr<lr.length;Dr+=1){var Wr=lr[Dr],on=cr;if(Wr.includes("wo")||Wr.includes("Wo")){Wr=Wr.replace(/wo/g,"w").replace(/Wo/g,"W");var En=Wr.match(/[-YyMmDdHhSsWwGg]+/g),vn=on.match(/[-\d]+/g);En&&vn?(Wr=En.join(""),on=vn.join("")):Ir.push(Wr.replace(/o/g,""))}var Dn=_()(on,Wr,Ot,!0);if(Dn.isValid())return Dn}for(var Un=0;Un<Ir.length;Un+=1){var wn=_()(cr,Ir[Un],Ot,!1);if(wn.isValid())return Object(I.b)(!1,"Not match any format strictly and fallback to fuzzy match. Please help to fire a issue about this."),wn}return null}}},C=E,t=d("pVnL"),p=d.n(t),h=d("q1tI"),o=d("2/Rp");function r(Xe){return h.createElement(o.a,p()({size:"small",type:"primary"},Xe))}var s=d("mr32");function l(Xe){return h.createElement(s.a,p()({color:"blue"},Xe))}var n=d("lSNA"),c=d.n(n),e=d("lwsE"),a=d.n(e),i=d("W8MJ"),u=d.n(i),f=d("7W2i"),m=d.n(f),A=d("LQ03"),g=d.n(A),v=d("TSYQ"),b=d.n(v),S=d("r/2G"),y=d.n(S),w=d("XzQk"),x=d.n(w),T=d("kbBi"),L=d.n(T),R=d("1OyB"),P=d("vuIU"),k=d("Ji7U"),U=d("LK+K"),D=d("rePB"),M=d("VTBJ"),B=d("ODXe"),j=d("6cGi"),H=d("U8pU"),K=d("4IlW"),W=h.createContext({}),X=W,V={visibility:"hidden"};function Z(Xe){var Ot=Xe.prefixCls,cr=Xe.prevIcon,lr=cr===void 0?"\u2039":cr,Ir=Xe.nextIcon,Dr=Ir===void 0?"\u203A":Ir,Wr=Xe.superPrevIcon,on=Wr===void 0?"\xAB":Wr,En=Xe.superNextIcon,vn=En===void 0?"\xBB":En,Dn=Xe.onSuperPrev,Un=Xe.onSuperNext,wn=Xe.onPrev,In=Xe.onNext,Tn=Xe.children,Kn=h.useContext(X),Yn=Kn.hideNextBtn,ni=Kn.hidePrevBtn;return h.createElement("div",{className:Ot},Dn&&h.createElement("button",{type:"button",onClick:Dn,tabIndex:-1,className:"".concat(Ot,"-super-prev-btn"),style:ni?V:{}},on),wn&&h.createElement("button",{type:"button",onClick:wn,tabIndex:-1,className:"".concat(Ot,"-prev-btn"),style:ni?V:{}},lr),h.createElement("div",{className:"".concat(Ot,"-view")},Tn),In&&h.createElement("button",{type:"button",onClick:In,tabIndex:-1,className:"".concat(Ot,"-next-btn"),style:Yn?V:{}},Dr),Un&&h.createElement("button",{type:"button",onClick:Un,tabIndex:-1,className:"".concat(Ot,"-super-next-btn"),style:Yn?V:{}},vn))}var G=Z;function Y(Xe){var Ot=h.useContext(X),cr=Ot.hideHeader;if(cr)return null;var lr=Xe.prefixCls,Ir=Xe.generateConfig,Dr=Xe.locale,Wr=Xe.value,on=Xe.format,En="".concat(lr,"-header");return h.createElement(G,{prefixCls:En},Wr?Ir.locale.format(Dr.locale,Wr,on):"\xA0")}var te=Y,se=d("YrtM"),Ce=d("KQm4"),he=new Map;function xe(Xe,Ot,cr){if(he.get(Xe)&&cancelAnimationFrame(he.get(Xe)),cr<=0){he.set(Xe,requestAnimationFrame(function(){Xe.scrollTop=Ot}));return}var lr=Ot-Xe.scrollTop,Ir=lr/cr*10;he.set(Xe,requestAnimationFrame(function(){Xe.scrollTop+=Ir,Xe.scrollTop!==Ot&&xe(Xe,Ot,cr-10)}))}function ie(Xe,Ot){var cr=Ot.onLeftRight,lr=Ot.onCtrlLeftRight,Ir=Ot.onUpDown,Dr=Ot.onPageUpDown,Wr=Ot.onEnter,on=Xe.which,En=Xe.ctrlKey,vn=Xe.metaKey;switch(on){case K.a.LEFT:if(En||vn){if(lr)return lr(-1),!0}else if(cr)return cr(-1),!0;break;case K.a.RIGHT:if(En||vn){if(lr)return lr(1),!0}else if(cr)return cr(1),!0;break;case K.a.UP:if(Ir)return Ir(-1),!0;break;case K.a.DOWN:if(Ir)return Ir(1),!0;break;case K.a.PAGE_UP:if(Dr)return Dr(-1),!0;break;case K.a.PAGE_DOWN:if(Dr)return Dr(1),!0;break;case K.a.ENTER:if(Wr)return Wr(),!0;break}return!1}function ee(Xe,Ot,cr,lr){var Ir=Xe;if(!Ir)switch(Ot){case"time":Ir=lr?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ir="gggg-wo";break;case"month":Ir="YYYY-MM";break;case"quarter":Ir="YYYY-[Q]Q";break;case"year":Ir="YYYY";break;default:Ir=cr?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ir}function Ze(Xe,Ot){var cr=Xe==="time"?8:10;return Math.max(cr,Ot.length)+2}var Se=null,Ne=new Set;function it(Xe){return!Se&&typeof window!="undefined"&&window.addEventListener&&(Se=function(cr){Object(Ce.a)(Ne).forEach(function(lr){lr(cr)})},window.addEventListener("mousedown",Se)),Ne.add(Xe),function(){Ne.delete(Xe),Ne.size===0&&(window.removeEventListener("mousedown",Se),Se=null)}}var Ye=function(Ot){return Ot==="month"||Ot==="date"?"year":Ot},nt=function(Ot){return Ot==="date"?"month":Ot},je=function(Ot){return Ot==="month"||Ot==="date"?"quarter":Ot},et=function(Ot){return Ot==="date"?"week":Ot},He={year:Ye,month:nt,quarter:je,week:et,time:null,date:null};function pe(Xe,Ot){return Xe.some(function(cr){return cr&&cr.contains(Ot)})}function ae(Xe){var Ot=Xe.prefixCls,cr=Xe.units,lr=Xe.onSelect,Ir=Xe.value,Dr=Xe.active,Wr=Xe.hideDisabledOptions,on="".concat(Ot,"-cell"),En=h.useContext(X),vn=En.open,Dn=h.useRef(null),Un=h.useRef(new Map);return h.useLayoutEffect(function(){var wn=Un.current.get(Ir);wn&&vn!==!1&&xe(Dn.current,wn.offsetTop,120)},[Ir]),h.useLayoutEffect(function(){if(vn){var wn=Un.current.get(Ir);wn&&xe(Dn.current,wn.offsetTop,0)}},[vn]),h.createElement("ul",{className:b()("".concat(Ot,"-column"),Object(D.a)({},"".concat(Ot,"-column-active"),Dr)),ref:Dn,style:{position:"relative"}},cr.map(function(wn){var In;return Wr&&wn.disabled?null:h.createElement("li",{key:wn.value,ref:function(Kn){Un.current.set(wn.value,Kn)},className:b()(on,(In={},Object(D.a)(In,"".concat(on,"-disabled"),wn.disabled),Object(D.a)(In,"".concat(on,"-selected"),Ir===wn.value),In)),onClick:function(){if(wn.disabled)return;lr(wn.value)}},h.createElement("div",{className:"".concat(on,"-inner")},wn.label))}))}var re=ae;function be(Xe,Ot){for(var cr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",lr=String(Xe);lr.length<Ot;)lr="".concat(cr).concat(Xe);return lr}var ze=function(){for(var Ot=arguments.length,cr=new Array(Ot),lr=0;lr<Ot;lr++)cr[lr]=arguments[lr];return cr};function Ke(Xe){return Xe==null?[]:Array.isArray(Xe)?Xe:[Xe]}function Te(Xe){var Ot={};return Object.keys(Xe).forEach(function(cr){(cr.substr(0,5)==="data-"||cr.substr(0,5)==="aria-"||cr==="role"||cr==="name")&&cr.substr(0,7)!=="data-__"&&(Ot[cr]=Xe[cr])}),Ot}function gt(Xe,Ot){return Xe?Xe[Ot]:null}function Ue(Xe,Ot,cr){var lr=[gt(Xe,0),gt(Xe,1)];return lr[cr]=typeof Ot=="function"?Ot(lr[cr]):Ot,!lr[0]&&!lr[1]?null:lr}function bt(Xe,Ot,cr,lr,Ir){var Dr=Xe.setHour(Ot,cr);return Dr=Xe.setMinute(Dr,lr),Dr=Xe.setSecond(Dr,Ir),Dr}function wt(Xe,Ot,cr,lr,Ir,Dr){var Wr=Math.floor(Xe/lr)*lr;if(Wr<Xe)return[Wr,60-Ir,60-Dr];var on=Math.floor(Ot/Ir)*Ir;if(on<Ot)return[Wr,on,60-Dr];var En=Math.floor(cr/Dr)*Dr;return[Wr,on,En]}function Et(Xe,Ot){if(Xe.length!==Ot.length)return!0;for(var cr=0;cr<Xe.length;cr+=1)if(Xe[cr].disabled!==Ot[cr].disabled)return!0;return!1}function xt(Xe,Ot,cr,lr){for(var Ir=[],Dr=Xe;Dr<=Ot;Dr+=cr)Ir.push({label:be(Dr,2),value:Dr,disabled:(lr||[]).includes(Dr)});return Ir}function Tt(Xe){var Ot=Xe.generateConfig,cr=Xe.prefixCls,lr=Xe.operationRef,Ir=Xe.activeColumnIndex,Dr=Xe.value,Wr=Xe.showHour,on=Xe.showMinute,En=Xe.showSecond,vn=Xe.use12Hours,Dn=Xe.hourStep,Un=Dn===void 0?1:Dn,wn=Xe.minuteStep,In=wn===void 0?1:wn,Tn=Xe.secondStep,Kn=Tn===void 0?1:Tn,Yn=Xe.disabledHours,ni=Xe.disabledMinutes,yi=Xe.disabledSeconds,li=Xe.hideDisabledOptions,Oi=Xe.onSelect,Bi=[],Si="".concat(cr,"-content"),mi="".concat(cr,"-time-panel"),Li,Wn=Dr?Ot.getHour(Dr):-1,Ri=Dr?Ot.getMinute(Dr):-1,zi=Dr?Ot.getSecond(Dr):-1,yr=function(Gn,Jn,Ci,ta){var oa=Dr||Ot.getNow(),da=Math.max(0,Jn),ca=Math.max(0,Ci),ma=Math.max(0,ta);return oa=bt(Ot,oa,!vn||!Gn?da:da+12,ca,ma),oa},Mr=xt(0,23,Un,Yn&&Yn()),Qr=Object(se.a)(function(){return Mr},Mr,Et);vn&&(Li=Wn>=12,Wn%=12);var _r=h.useMemo(function(){if(!vn)return[!1,!1];var Fn=[!0,!0];return Qr.forEach(function(Gn){var Jn=Gn.disabled,Ci=Gn.value;if(Jn)return;Ci>=12?Fn[1]=!1:Fn[0]=!1}),Fn},[vn,Qr]),Vt=Object(B.a)(_r,2),Sr=Vt[0],Zt=Vt[1],Ur=h.useMemo(function(){return vn?Qr.filter(Li?function(Fn){return Fn.value>=12}:function(Fn){return Fn.value<12}).map(function(Fn){var Gn=Fn.value%12,Jn=Gn===0?"12":be(Gn,2);return Object(M.a)(Object(M.a)({},Fn),{},{label:Jn,value:Gn})}):Qr},[vn,Qr]),Hr=xt(0,59,In,ni&&ni(Wn)),pn=xt(0,59,Kn,yi&&yi(Wn,Ri));lr.current={onUpDown:function(Gn){var Jn=Bi[Ir];if(Jn)for(var Ci=Jn.units.findIndex(function(ca){return ca.value===Jn.value}),ta=Jn.units.length,oa=1;oa<ta;oa+=1){var da=Jn.units[(Ci+Gn*oa+ta)%ta];if(da.disabled!==!0){Jn.onSelect(da.value);break}}}};function sn(Fn,Gn,Jn,Ci,ta){Fn!==!1&&Bi.push({node:h.cloneElement(Gn,{prefixCls:mi,value:Jn,active:Ir===Bi.length,onSelect:ta,units:Ci,hideDisabledOptions:li}),onSelect:ta,value:Jn,units:Ci})}sn(Wr,h.createElement(re,{key:"hour"}),Wn,Ur,function(Fn){Oi(yr(Li,Fn,Ri,zi),"mouse")}),sn(on,h.createElement(re,{key:"minute"}),Ri,Hr,function(Fn){Oi(yr(Li,Wn,Fn,zi),"mouse")}),sn(En,h.createElement(re,{key:"second"}),zi,pn,function(Fn){Oi(yr(Li,Wn,Ri,Fn),"mouse")});var yn=-1;return typeof Li=="boolean"&&(yn=Li?1:0),sn(vn===!0,h.createElement(re,{key:"12hours"}),yn,[{label:"AM",value:0,disabled:Sr},{label:"PM",value:1,disabled:Zt}],function(Fn){Oi(yr(!!Fn,Wn,Ri,zi),"mouse")}),h.createElement("div",{className:Si},Bi.map(function(Fn){var Gn=Fn.node;return Gn}))}var Be=Tt,ce=function(Ot){return Ot.filter(function(cr){return cr!==!1}).length};function q(Xe){var Ot=Xe.generateConfig,cr=Xe.format,lr=cr===void 0?"HH:mm:ss":cr,Ir=Xe.prefixCls,Dr=Xe.active,Wr=Xe.operationRef,on=Xe.showHour,En=Xe.showMinute,vn=Xe.showSecond,Dn=Xe.use12Hours,Un=Dn===void 0?!1:Dn,wn=Xe.onSelect,In=Xe.value,Tn="".concat(Ir,"-time-panel"),Kn=h.useRef(),Yn=h.useState(-1),ni=Object(B.a)(Yn,2),yi=ni[0],li=ni[1],Oi=ce([on,En,vn,Un]);return Wr.current={onKeyDown:function(Si){return ie(Si,{onLeftRight:function(Li){li((yi+Li+Oi)%Oi)},onUpDown:function(Li){yi===-1?li(0):Kn.current&&Kn.current.onUpDown(Li)},onEnter:function(){wn(In||Ot.getNow(),"key"),li(-1)}})},onBlur:function(){li(-1)}},h.createElement("div",{className:b()(Tn,Object(D.a)({},"".concat(Tn,"-active"),Dr))},h.createElement(te,Object.assign({},Xe,{format:lr,prefixCls:Ir})),h.createElement(Be,Object.assign({},Xe,{prefixCls:Ir,activeColumnIndex:yi,operationRef:Kn})))}var dt=q,Ve=7;function de(Xe,Ot){return!Xe&&!Ot?!0:!Xe||!Ot?!1:void 0}function Ht(Xe,Ot,cr){var lr=de(Ot,cr);if(typeof lr=="boolean")return lr;var Ir=Math.floor(Xe.getYear(Ot)/10),Dr=Math.floor(Xe.getYear(cr)/10);return Ir===Dr}function tr(Xe,Ot,cr){var lr=de(Ot,cr);return typeof lr=="boolean"?lr:Xe.getYear(Ot)===Xe.getYear(cr)}function lt(Xe,Ot){var cr=Math.floor(Xe.getMonth(Ot)/3);return cr+1}function Xt(Xe,Ot,cr){var lr=de(Ot,cr);return typeof lr=="boolean"?lr:tr(Xe,Ot,cr)&&lt(Xe,Ot)===lt(Xe,cr)}function sr(Xe,Ot,cr){var lr=de(Ot,cr);return typeof lr=="boolean"?lr:tr(Xe,Ot,cr)&&Xe.getMonth(Ot)===Xe.getMonth(cr)}function Kr(Xe,Ot,cr){var lr=de(Ot,cr);return typeof lr=="boolean"?lr:Xe.getYear(Ot)===Xe.getYear(cr)&&Xe.getMonth(Ot)===Xe.getMonth(cr)&&Xe.getDate(Ot)===Xe.getDate(cr)}function rr(Xe,Ot,cr){var lr=de(Ot,cr);return typeof lr=="boolean"?lr:Xe.getHour(Ot)===Xe.getHour(cr)&&Xe.getMinute(Ot)===Xe.getMinute(cr)&&Xe.getSecond(Ot)===Xe.getSecond(cr)}function nr(Xe,Ot,cr,lr){var Ir=de(cr,lr);return typeof Ir=="boolean"?Ir:Xe.locale.getWeek(Ot,cr)===Xe.locale.getWeek(Ot,lr)}function Nt(Xe,Ot,cr){return Kr(Xe,Ot,cr)&&rr(Xe,Ot,cr)}function ot(Xe,Ot,cr,lr){return!Ot||!cr||!lr?!1:!Kr(Xe,Ot,lr)&&!Kr(Xe,cr,lr)&&Xe.isAfter(lr,Ot)&&Xe.isAfter(cr,lr)}function Qe(Xe,Ot,cr){var lr=Ot.locale.getWeekFirstDay(Xe),Ir=Ot.setDate(cr,1),Dr=Ot.getWeekDay(Ir),Wr=Ot.addDate(Ir,lr-Dr);return Ot.getMonth(Wr)===Ot.getMonth(cr)&&Ot.getDate(Wr)>1&&(Wr=Ot.addDate(Wr,-7)),Wr}function qt(Xe,Ot,cr){var lr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(Ot){case"year":return cr.addYear(Xe,lr*10);case"quarter":case"month":return cr.addYear(Xe,lr);default:return cr.addMonth(Xe,lr)}}var xr=h.createContext({}),vr=xr;function fr(Xe){var Ot=Xe.cellPrefixCls,cr=Xe.generateConfig,lr=Xe.rangedValue,Ir=Xe.hoverRangedValue,Dr=Xe.isInView,Wr=Xe.isSameCell,on=Xe.offsetCell,En=Xe.today,vn=Xe.value;function Dn(Un){var wn,In=on(Un,-1),Tn=on(Un,1),Kn=gt(lr,0),Yn=gt(lr,1),ni=gt(Ir,0),yi=gt(Ir,1),li=ot(cr,ni,yi,Un);function Oi(Ri){return Wr(Kn,Ri)}function Bi(Ri){return Wr(Yn,Ri)}var Si=Wr(ni,Un),mi=Wr(yi,Un),Li=(li||mi)&&(!Dr(In)||Bi(In)),Wn=(li||Si)&&(!Dr(Tn)||Oi(Tn));return wn={},Object(D.a)(wn,"".concat(Ot,"-in-view"),Dr(Un)),Object(D.a)(wn,"".concat(Ot,"-in-range"),ot(cr,Kn,Yn,Un)),Object(D.a)(wn,"".concat(Ot,"-range-start"),Oi(Un)),Object(D.a)(wn,"".concat(Ot,"-range-end"),Bi(Un)),Object(D.a)(wn,"".concat(Ot,"-range-start-single"),Oi(Un)&&!Yn),Object(D.a)(wn,"".concat(Ot,"-range-end-single"),Bi(Un)&&!Kn),Object(D.a)(wn,"".concat(Ot,"-range-start-near-hover"),Oi(Un)&&(Wr(In,ni)||ot(cr,ni,yi,In))),Object(D.a)(wn,"".concat(Ot,"-range-end-near-hover"),Bi(Un)&&(Wr(Tn,yi)||ot(cr,ni,yi,Tn))),Object(D.a)(wn,"".concat(Ot,"-range-hover"),li),Object(D.a)(wn,"".concat(Ot,"-range-hover-start"),Si),Object(D.a)(wn,"".concat(Ot,"-range-hover-end"),mi),Object(D.a)(wn,"".concat(Ot,"-range-hover-edge-start"),Li),Object(D.a)(wn,"".concat(Ot,"-range-hover-edge-end"),Wn),Object(D.a)(wn,"".concat(Ot,"-range-hover-edge-start-near-range"),Li&&Wr(In,Yn)),Object(D.a)(wn,"".concat(Ot,"-range-hover-edge-end-near-range"),Wn&&Wr(Tn,Kn)),Object(D.a)(wn,"".concat(Ot,"-today"),Wr(En,Un)),Object(D.a)(wn,"".concat(Ot,"-selected"),Wr(vn,Un)),wn}return Dn}function An(Xe){for(var Ot=Xe.prefixCls,cr=Xe.disabledDate,lr=Xe.onSelect,Ir=Xe.rowNum,Dr=Xe.colNum,Wr=Xe.prefixColumn,on=Xe.rowClassName,En=Xe.baseDate,vn=Xe.getCellClassName,Dn=Xe.getCellText,Un=Xe.getCellNode,wn=Xe.getCellDate,In=Xe.titleCell,Tn=Xe.headerCells,Kn=h.useContext(X),Yn=Kn.onDateMouseEnter,ni=Kn.onDateMouseLeave,yi="".concat(Ot,"-cell"),li=[],Oi=0;Oi<Ir;Oi+=1){for(var Bi=[],Si=void 0,mi=function(Ri){var zi=Oi*Dr+Ri,yr=wn(En,zi),Mr=cr&&cr(yr);Ri===0&&(Si=yr,Wr&&Bi.push(Wr(Si))),Bi.push(h.createElement("td",{key:Ri,title:In&&In(yr),className:b()(yi,Object(M.a)(Object(D.a)({},"".concat(yi,"-disabled"),Mr),vn(yr))),onClick:function(){Mr||lr(yr)},onMouseEnter:function(){!Mr&&Yn&&Yn(yr)},onMouseLeave:function(){!Mr&&ni&&ni(yr)}},Un?Un(yr):h.createElement("div",{className:"".concat(yi,"-inner")},Dn(yr))))},Li=0;Li<Dr;Li+=1)mi(Li);li.push(h.createElement("tr",{key:Oi,className:on&&on(Si)},Bi))}return h.createElement("div",{className:"".concat(Ot,"-body")},h.createElement("table",{className:"".concat(Ot,"-content")},Tn&&h.createElement("thead",null,h.createElement("tr",null,Tn)),h.createElement("tbody",null,li)))}function $r(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.prefixColumn,Ir=Xe.locale,Dr=Xe.rowCount,Wr=Xe.viewDate,on=Xe.value,En=Xe.dateRender,vn=h.useContext(vr),Dn=vn.rangedValue,Un=vn.hoverRangedValue,wn=Qe(Ir.locale,cr,Wr),In="".concat(Ot,"-cell"),Tn=cr.locale.getWeekFirstDay(Ir.locale),Kn=cr.getNow(),Yn=[],ni=Ir.shortWeekDays||(cr.locale.getShortWeekDays?cr.locale.getShortWeekDays(Ir.locale):[]);lr&&Yn.push(h.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var yi=0;yi<Ve;yi+=1)Yn.push(h.createElement("th",{key:yi},ni[(yi+Tn)%Ve]));var li=fr({cellPrefixCls:In,today:Kn,value:on,generateConfig:cr,rangedValue:lr?null:Dn,hoverRangedValue:lr?null:Un,isSameCell:function(Si,mi){return Kr(cr,Si,mi)},isInView:function(Si){return sr(cr,Si,Wr)},offsetCell:function(Si,mi){return cr.addDate(Si,mi)}}),Oi=En?function(Bi){return En(Bi,Kn)}:void 0;return h.createElement(An,Object.assign({},Xe,{rowNum:Dr,colNum:Ve,baseDate:wn,getCellNode:Oi,getCellText:cr.getDate,getCellClassName:li,getCellDate:cr.addDate,titleCell:function(Si){return cr.locale.format(Ir.locale,Si,"YYYY-MM-DD")},headerCells:Yn}))}var Ln=$r;function $e(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.locale,Ir=Xe.viewDate,Dr=Xe.onNextMonth,Wr=Xe.onPrevMonth,on=Xe.onNextYear,En=Xe.onPrevYear,vn=Xe.onYearClick,Dn=Xe.onMonthClick,Un=h.useContext(X),wn=Un.hideHeader;if(wn)return null;var In="".concat(Ot,"-header"),Tn=lr.shortMonths||(cr.locale.getShortMonths?cr.locale.getShortMonths(lr.locale):[]),Kn=cr.getMonth(Ir),Yn=h.createElement("button",{type:"button",key:"year",onClick:vn,tabIndex:-1,className:"".concat(Ot,"-year-btn")},cr.locale.format(lr.locale,Ir,lr.yearFormat)),ni=h.createElement("button",{type:"button",key:"month",onClick:Dn,tabIndex:-1,className:"".concat(Ot,"-month-btn")},lr.monthFormat?cr.locale.format(lr.locale,Ir,lr.monthFormat):Tn[Kn]),yi=lr.monthBeforeYear?[ni,Yn]:[Yn,ni];return h.createElement(G,Object.assign({},Xe,{prefixCls:In,onSuperPrev:En,onPrev:Wr,onNext:Dr,onSuperNext:on}),yi)}var tt=$e,ve=6;function _e(Xe){var Ot=Xe.prefixCls,cr=Xe.panelName,lr=cr===void 0?"date":cr,Ir=Xe.keyboardConfig,Dr=Xe.active,Wr=Xe.operationRef,on=Xe.generateConfig,En=Xe.value,vn=Xe.viewDate,Dn=Xe.onViewDateChange,Un=Xe.onPanelChange,wn=Xe.onSelect,In="".concat(Ot,"-").concat(lr,"-panel");Wr.current={onKeyDown:function(ni){return ie(ni,Object(M.a)({onLeftRight:function(li){wn(on.addDate(En||vn,li),"key")},onCtrlLeftRight:function(li){wn(on.addYear(En||vn,li),"key")},onUpDown:function(li){wn(on.addDate(En||vn,li*Ve),"key")},onPageUpDown:function(li){wn(on.addMonth(En||vn,li),"key")}},Ir))}};var Tn=function(ni){var yi=on.addYear(vn,ni);Dn(yi),Un(null,yi)},Kn=function(ni){var yi=on.addMonth(vn,ni);Dn(yi),Un(null,yi)};return h.createElement("div",{className:b()(In,Object(D.a)({},"".concat(In,"-active"),Dr))},h.createElement(tt,Object.assign({},Xe,{prefixCls:Ot,value:En,viewDate:vn,onPrevYear:function(){Tn(-1)},onNextYear:function(){Tn(1)},onPrevMonth:function(){Kn(-1)},onNextMonth:function(){Kn(1)},onMonthClick:function(){Un("month",vn)},onYearClick:function(){Un("year",vn)}})),h.createElement(Ln,Object.assign({},Xe,{onSelect:function(ni){return wn(ni,"mouse")},prefixCls:Ot,value:En,viewDate:vn,rowCount:ve})))}var ke=_e;function rt(Xe,Ot,cr){if(!cr)return Ot;var lr=Ot;return lr=Xe.setHour(lr,Xe.getHour(cr)),lr=Xe.setMinute(lr,Xe.getMinute(cr)),lr=Xe.setSecond(lr,Xe.getSecond(cr)),lr}var Wt=ze("date","time");function Bt(Xe){var Ot=Xe.prefixCls,cr=Xe.operationRef,lr=Xe.generateConfig,Ir=Xe.value,Dr=Xe.defaultValue,Wr=Xe.disabledTime,on=Xe.showTime,En=Xe.onSelect,vn="".concat(Ot,"-datetime-panel"),Dn=h.useState(null),Un=Object(B.a)(Dn,2),wn=Un[0],In=Un[1],Tn=h.useRef({}),Kn=h.useRef({}),Yn=Object(H.a)(on)==="object"?Object(M.a)({},on):{};function ni(Bi){var Si=Wt.indexOf(wn)+Bi,mi=Wt[Si]||null;return mi}var yi=function(Si){Kn.current.onBlur&&Kn.current.onBlur(Si),In(null)};cr.current={onKeyDown:function(Si){if(Si.which===K.a.TAB){var mi=ni(Si.shiftKey?-1:1);return In(mi),mi&&Si.preventDefault(),!0}if(wn){var Li=wn==="date"?Tn:Kn;return Li.current&&Li.current.onKeyDown&&Li.current.onKeyDown(Si),!0}return[K.a.LEFT,K.a.RIGHT,K.a.UP,K.a.DOWN].includes(Si.which)?(In("date"),!0):!1},onBlur:yi,onClose:yi};var li=function(Si,mi){var Li=Si;mi==="date"&&!Ir&&Yn.defaultValue?(Li=lr.setHour(Li,lr.getHour(Yn.defaultValue)),Li=lr.setMinute(Li,lr.getMinute(Yn.defaultValue)),Li=lr.setSecond(Li,lr.getSecond(Yn.defaultValue))):mi==="time"&&!Ir&&Dr&&(Li=lr.setYear(Li,lr.getYear(Dr)),Li=lr.setMonth(Li,lr.getMonth(Dr)),Li=lr.setDate(Li,lr.getDate(Dr))),En&&En(Li,"mouse")},Oi=Wr?Wr(Ir||null):{};return h.createElement("div",{className:b()(vn,Object(D.a)({},"".concat(vn,"-active"),wn))},h.createElement(ke,Object.assign({},Xe,{operationRef:Tn,active:wn==="date",onSelect:function(Si){li(rt(lr,Si,on&&Object(H.a)(on)==="object"?on.defaultValue:null),"date")}})),h.createElement(dt,Object.assign({},Xe,{format:void 0},Yn,Oi,{defaultValue:void 0,operationRef:Kn,active:wn==="time",onSelect:function(Si){li(Si,"time")}})))}var Gt=Bt;function Rr(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.locale,Ir=Xe.value,Dr="".concat(Ot,"-cell"),Wr=function(Dn){return h.createElement("td",{key:"week",className:b()(Dr,"".concat(Dr,"-week"))},cr.locale.getWeek(lr.locale,Dn))},on="".concat(Ot,"-week-panel-row"),En=function(Dn){return b()(on,Object(D.a)({},"".concat(on,"-selected"),nr(cr,lr.locale,Ir,Dn)))};return h.createElement(ke,Object.assign({},Xe,{panelName:"week",prefixColumn:Wr,rowClassName:En,keyboardConfig:{onLeftRight:null}}))}var Pr=Rr;function cn(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.locale,Ir=Xe.viewDate,Dr=Xe.onNextYear,Wr=Xe.onPrevYear,on=Xe.onYearClick,En=h.useContext(X),vn=En.hideHeader;if(vn)return null;var Dn="".concat(Ot,"-header");return h.createElement(G,Object.assign({},Xe,{prefixCls:Dn,onSuperPrev:Wr,onSuperNext:Dr}),h.createElement("button",{type:"button",onClick:on,className:"".concat(Ot,"-year-btn")},cr.locale.format(lr.locale,Ir,lr.yearFormat)))}var Ut=cn,pt=3,ct=4;function Qt(Xe){var Ot=Xe.prefixCls,cr=Xe.locale,lr=Xe.value,Ir=Xe.viewDate,Dr=Xe.generateConfig,Wr=Xe.monthCellRender,on=h.useContext(vr),En=on.rangedValue,vn=on.hoverRangedValue,Dn="".concat(Ot,"-cell"),Un=fr({cellPrefixCls:Dn,value:lr,generateConfig:Dr,rangedValue:En,hoverRangedValue:vn,isSameCell:function(Yn,ni){return sr(Dr,Yn,ni)},isInView:function(){return!0},offsetCell:function(Yn,ni){return Dr.addMonth(Yn,ni)}}),wn=cr.shortMonths||(Dr.locale.getShortMonths?Dr.locale.getShortMonths(cr.locale):[]),In=Dr.setMonth(Ir,0),Tn=Wr?function(Kn){return Wr(Kn,cr)}:void 0;return h.createElement(An,Object.assign({},Xe,{rowNum:ct,colNum:pt,baseDate:In,getCellNode:Tn,getCellText:function(Yn){return cr.monthFormat?Dr.locale.format(cr.locale,Yn,cr.monthFormat):wn[Dr.getMonth(Yn)]},getCellClassName:Un,getCellDate:Dr.addMonth,titleCell:function(Yn){return Dr.locale.format(cr.locale,Yn,"YYYY-MM")}}))}var Jt=Qt;function yt(Xe){var Ot=Xe.prefixCls,cr=Xe.operationRef,lr=Xe.onViewDateChange,Ir=Xe.generateConfig,Dr=Xe.value,Wr=Xe.viewDate,on=Xe.onPanelChange,En=Xe.onSelect,vn="".concat(Ot,"-month-panel");cr.current={onKeyDown:function(wn){return ie(wn,{onLeftRight:function(Tn){En(Ir.addMonth(Dr||Wr,Tn),"key")},onCtrlLeftRight:function(Tn){En(Ir.addYear(Dr||Wr,Tn),"key")},onUpDown:function(Tn){En(Ir.addMonth(Dr||Wr,Tn*pt),"key")},onEnter:function(){on("date",Dr||Wr)}})}};var Dn=function(wn){var In=Ir.addYear(Wr,wn);lr(In),on(null,In)};return h.createElement("div",{className:vn},h.createElement(Ut,Object.assign({},Xe,{prefixCls:Ot,onPrevYear:function(){Dn(-1)},onNextYear:function(){Dn(1)},onYearClick:function(){on("year",Wr)}})),h.createElement(Jt,Object.assign({},Xe,{prefixCls:Ot,onSelect:function(wn){En(wn,"mouse"),on("date",wn)}})))}var Pt=yt;function At(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.locale,Ir=Xe.viewDate,Dr=Xe.onNextYear,Wr=Xe.onPrevYear,on=Xe.onYearClick,En=h.useContext(X),vn=En.hideHeader;if(vn)return null;var Dn="".concat(Ot,"-header");return h.createElement(G,Object.assign({},Xe,{prefixCls:Dn,onSuperPrev:Wr,onSuperNext:Dr}),h.createElement("button",{type:"button",onClick:on,className:"".concat(Ot,"-year-btn")},cr.locale.format(lr.locale,Ir,lr.yearFormat)))}var Ft=At,pr=4,or=1;function ir(Xe){var Ot=Xe.prefixCls,cr=Xe.locale,lr=Xe.value,Ir=Xe.viewDate,Dr=Xe.generateConfig,Wr=h.useContext(vr),on=Wr.rangedValue,En=Wr.hoverRangedValue,vn="".concat(Ot,"-cell"),Dn=fr({cellPrefixCls:vn,value:lr,generateConfig:Dr,rangedValue:on,hoverRangedValue:En,isSameCell:function(In,Tn){return Xt(Dr,In,Tn)},isInView:function(){return!0},offsetCell:function(In,Tn){return Dr.addMonth(In,Tn*3)}}),Un=Dr.setDate(Dr.setMonth(Ir,0),1);return h.createElement(An,Object.assign({},Xe,{rowNum:or,colNum:pr,baseDate:Un,getCellText:function(In){return Dr.locale.format(cr.locale,In,cr.quarterFormat||"[Q]Q")},getCellClassName:Dn,getCellDate:function(In,Tn){return Dr.addMonth(In,Tn*3)},titleCell:function(In){return Dr.locale.format(cr.locale,In,"YYYY-[Q]Q")}}))}var Yr=ir;function Jr(Xe){var Ot=Xe.prefixCls,cr=Xe.operationRef,lr=Xe.onViewDateChange,Ir=Xe.generateConfig,Dr=Xe.value,Wr=Xe.viewDate,on=Xe.onPanelChange,En=Xe.onSelect,vn="".concat(Ot,"-quarter-panel");cr.current={onKeyDown:function(wn){return ie(wn,{onLeftRight:function(Tn){En(Ir.addMonth(Dr||Wr,Tn*3),"key")},onCtrlLeftRight:function(Tn){En(Ir.addYear(Dr||Wr,Tn),"key")},onUpDown:function(Tn){En(Ir.addYear(Dr||Wr,Tn),"key")}})}};var Dn=function(wn){var In=Ir.addYear(Wr,wn);lr(In),on(null,In)};return h.createElement("div",{className:vn},h.createElement(Ft,Object.assign({},Xe,{prefixCls:Ot,onPrevYear:function(){Dn(-1)},onNextYear:function(){Dn(1)},onYearClick:function(){on("year",Wr)}})),h.createElement(Yr,Object.assign({},Xe,{prefixCls:Ot,onSelect:function(wn){En(wn,"mouse")}})))}var _n=Jr;function Nn(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.viewDate,Ir=Xe.onPrevDecade,Dr=Xe.onNextDecade,Wr=Xe.onDecadeClick,on=h.useContext(X),En=on.hideHeader;if(En)return null;var vn="".concat(Ot,"-header"),Dn=cr.getYear(lr),Un=Math.floor(Dn/we)*we,wn=Un+we-1;return h.createElement(G,Object.assign({},Xe,{prefixCls:vn,onSuperPrev:Ir,onSuperNext:Dr}),h.createElement("button",{type:"button",onClick:Wr,className:"".concat(Ot,"-decade-btn")},Un,"-",wn))}var zn=Nn,ei=3,vi=4;function Pi(Xe){var Ot=Xe.prefixCls,cr=Xe.value,lr=Xe.viewDate,Ir=Xe.locale,Dr=Xe.generateConfig,Wr=h.useContext(vr),on=Wr.rangedValue,En=Wr.hoverRangedValue,vn="".concat(Ot,"-cell"),Dn=Dr.getYear(lr),Un=Math.floor(Dn/we)*we,wn=Un+we-1,In=Dr.setYear(lr,Un-Math.ceil((ei*vi-we)/2)),Tn=function(ni){var yi=Dr.getYear(ni);return Un<=yi&&yi<=wn},Kn=fr({cellPrefixCls:vn,value:cr,generateConfig:Dr,rangedValue:on,hoverRangedValue:En,isSameCell:function(ni,yi){return tr(Dr,ni,yi)},isInView:Tn,offsetCell:function(ni,yi){return Dr.addYear(ni,yi)}});return h.createElement(An,Object.assign({},Xe,{rowNum:vi,colNum:ei,baseDate:In,getCellText:Dr.getYear,getCellClassName:Kn,getCellDate:Dr.addYear,titleCell:function(ni){return Dr.locale.format(Ir.locale,ni,"YYYY")}}))}var Ge=Pi,we=10;function Le(Xe){var Ot=Xe.prefixCls,cr=Xe.operationRef,lr=Xe.onViewDateChange,Ir=Xe.generateConfig,Dr=Xe.value,Wr=Xe.viewDate,on=Xe.sourceMode,En=Xe.onSelect,vn=Xe.onPanelChange,Dn="".concat(Ot,"-year-panel");cr.current={onKeyDown:function(In){return ie(In,{onLeftRight:function(Kn){En(Ir.addYear(Dr||Wr,Kn),"key")},onCtrlLeftRight:function(Kn){En(Ir.addYear(Dr||Wr,Kn*we),"key")},onUpDown:function(Kn){En(Ir.addYear(Dr||Wr,Kn*ei),"key")},onEnter:function(){vn(on==="date"?"date":"month",Dr||Wr)}})}};var Un=function(In){var Tn=Ir.addYear(Wr,In*10);lr(Tn),vn(null,Tn)};return h.createElement("div",{className:Dn},h.createElement(zn,Object.assign({},Xe,{prefixCls:Ot,onPrevDecade:function(){Un(-1)},onNextDecade:function(){Un(1)},onDecadeClick:function(){vn("decade",Wr)}})),h.createElement(Ge,Object.assign({},Xe,{prefixCls:Ot,onSelect:function(In){vn(on==="date"?"date":"month",In),En(In,"mouse")}})))}var De=Le;function We(Xe){var Ot=Xe.prefixCls,cr=Xe.generateConfig,lr=Xe.viewDate,Ir=Xe.onPrevDecades,Dr=Xe.onNextDecades,Wr=h.useContext(X),on=Wr.hideHeader;if(on)return null;var En="".concat(Ot,"-header"),vn=cr.getYear(lr),Dn=Math.floor(vn/hr)*hr,Un=Dn+hr-1;return h.createElement(G,Object.assign({},Xe,{prefixCls:En,onSuperPrev:Ir,onSuperNext:Dr}),Dn,"-",Un)}var Fe=We,Je=3,vt=4;function st(Xe){var Ot=wr-1,cr=Xe.prefixCls,lr=Xe.viewDate,Ir=Xe.generateConfig,Dr=Xe.disabledDate,Wr="".concat(cr,"-cell"),on=Ir.getYear(lr),En=Math.floor(on/wr)*wr,vn=Math.floor(on/hr)*hr,Dn=vn+hr-1,Un=Ir.setYear(lr,vn-Math.ceil((Je*vt*wr-hr)/2)),wn=function(Tn){var Kn,Yn=Dr&&Dr(Tn),ni=Ir.getYear(Tn),yi=ni+Ot;return Kn={},Object(D.a)(Kn,"".concat(Wr,"-disabled"),Yn),Object(D.a)(Kn,"".concat(Wr,"-in-view"),vn<=ni&&yi<=Dn),Object(D.a)(Kn,"".concat(Wr,"-selected"),ni===En),Kn};return h.createElement(An,Object.assign({},Xe,{rowNum:vt,colNum:Je,baseDate:Un,getCellText:function(Tn){var Kn=Ir.getYear(Tn);return"".concat(Kn,"-").concat(Kn+Ot)},getCellClassName:wn,getCellDate:function(Tn,Kn){return Ir.addYear(Tn,Kn*wr)}}))}var kt=st,wr=10,hr=wr*10;function Nr(Xe){var Ot=Xe.prefixCls,cr=Xe.onViewDateChange,lr=Xe.generateConfig,Ir=Xe.viewDate,Dr=Xe.operationRef,Wr=Xe.onSelect,on=Xe.onPanelChange,En="".concat(Ot,"-decade-panel");Dr.current={onKeyDown:function(wn){return ie(wn,{onLeftRight:function(Tn){Wr(lr.addYear(Ir,Tn*wr),"key")},onCtrlLeftRight:function(Tn){Wr(lr.addYear(Ir,Tn*hr),"key")},onUpDown:function(Tn){Wr(lr.addYear(Ir,Tn*wr*Je),"key")},onEnter:function(){on("year",Ir)}})}};var vn=function(wn){var In=lr.addYear(Ir,wn*hr);cr(In),on(null,In)},Dn=function(wn){Wr(wn,"mouse"),on("year",wn)};return h.createElement("div",{className:En},h.createElement(Fe,Object.assign({},Xe,{prefixCls:Ot,onPrevDecades:function(){vn(-1)},onNextDecades:function(){vn(1)}})),h.createElement(kt,Object.assign({},Xe,{prefixCls:Ot,onSelect:Dn})))}var Kt=Nr;function un(Xe,Ot,cr){return cr?h.createElement("div",{className:"".concat(Xe,"-footer-extra")},cr(Ot)):null}function ar(Xe){var Ot=Xe.prefixCls,cr=Xe.rangeList,lr=cr===void 0?[]:cr,Ir=Xe.components,Dr=Ir===void 0?{}:Ir,Wr=Xe.needConfirmButton,on=Xe.onNow,En=Xe.onOk,vn=Xe.okDisabled,Dn=Xe.showNow,Un=Xe.locale,wn,In;if(lr.length){var Tn=Dr.rangeItem||"span";wn=h.createElement(h.Fragment,null,lr.map(function(Yn){var ni=Yn.label,yi=Yn.onClick,li=Yn.onMouseEnter,Oi=Yn.onMouseLeave;return h.createElement("li",{key:ni,className:"".concat(Ot,"-preset")},h.createElement(Tn,{onClick:yi,onMouseEnter:li,onMouseLeave:Oi},ni))}))}if(Wr){var Kn=Dr.button||"button";on&&!wn&&Dn!==!1&&(wn=h.createElement("li",{className:"".concat(Ot,"-now")},h.createElement("a",{className:"".concat(Ot,"-now-btn"),onClick:on},Un.now))),In=Wr&&h.createElement("li",{className:"".concat(Ot,"-ok")},h.createElement(Kn,{disabled:vn,onClick:En},Un.ok))}return!wn&&!In?null:h.createElement("ul",{className:"".concat(Ot,"-ranges")},wn,In)}function Xr(Xe){var Ot,cr=Xe.prefixCls,lr=cr===void 0?"rc-picker":cr,Ir=Xe.className,Dr=Xe.style,Wr=Xe.locale,on=Xe.generateConfig,En=Xe.value,vn=Xe.defaultValue,Dn=Xe.pickerValue,Un=Xe.defaultPickerValue,wn=Xe.disabledDate,In=Xe.mode,Tn=Xe.picker,Kn=Tn===void 0?"date":Tn,Yn=Xe.tabIndex,ni=Yn===void 0?0:Yn,yi=Xe.showNow,li=Xe.showTime,Oi=Xe.showToday,Bi=Xe.renderExtraFooter,Si=Xe.hideHeader,mi=Xe.onSelect,Li=Xe.onChange,Wn=Xe.onPanelChange,Ri=Xe.onMouseDown,zi=Xe.onPickerValueChange,yr=Xe.onOk,Mr=Xe.components,Qr=Xe.direction,_r=Xe.hourStep,Vt=_r===void 0?1:_r,Sr=Xe.minuteStep,Zt=Sr===void 0?1:Sr,Ur=Xe.secondStep,Hr=Ur===void 0?1:Ur,pn=Kn==="date"&&!!li||Kn==="time",sn=24%Vt===0,yn=60%Zt===0,Fn=60%Hr===0,Gn=h.useContext(X),Jn=Gn.operationRef,Ci=Gn.panelRef,ta=Gn.onSelect,oa=Gn.hideRanges,da=Gn.defaultOpenValue,ca=h.useContext(vr),ma=ca.inRange,Ui=ca.panelPosition,Ni=ca.rangedValue,ra=ca.hoverRangedValue,qi=h.useRef({}),va=h.useRef(!0),Oa=Object(j.a)(null,{value:En,defaultValue:vn,postState:function(ki){return!ki&&da&&Kn==="time"?da:ki}}),Zi=Object(B.a)(Oa,2),Xi=Zi[0],La=Zi[1],Aa=Object(j.a)(null,{value:Dn,defaultValue:Un||Xi,postState:function(ki){return ki||on.getNow()}}),Ti=Object(B.a)(Aa,2),Sa=Ti[0],Ra=Ti[1],Na=function(ki){Ra(ki),zi&&zi(ki)},Ua=function(ki){var Ma=He[Kn];return Ma?Ma(ki):ki},Pa=Object(j.a)(function(){return Kn==="time"?"time":Ua("date")},{value:In}),za=Object(B.a)(Pa,2),xa=za[0],ja=za[1];h.useEffect(function(){ja(Kn)},[Kn]);var io=h.useState(function(){return xa}),ia=Object(B.a)(io,2),lo=ia[0],Ga=ia[1],Ca=function(ki,Ma){var Ro=Ua(ki||xa);Ga(xa),ja(Ro),Wn&&(xa!==Ro||Nt(on,Sa,Sa))&&Wn(Ma,Ro)},Qa=function(ki,Ma){var Ro=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(xa===Kn||Ro)&&(La(ki),mi&&mi(ki),ta&&ta(ki,Ma),Li&&!Nt(on,ki,Xi)&&Li(ki))},Da=function(ki){return qi.current&&qi.current.onKeyDown?([K.a.LEFT,K.a.RIGHT,K.a.UP,K.a.DOWN,K.a.PAGE_UP,K.a.PAGE_DOWN,K.a.ENTER].includes(ki.which)&&ki.preventDefault(),qi.current.onKeyDown(ki)):(Object(I.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Ia=function(ki){qi.current&&qi.current.onBlur&&qi.current.onBlur(ki)};Jn&&Ui!=="right"&&(Jn.current={onKeyDown:Da,onClose:function(){qi.current&&qi.current.onClose&&qi.current.onClose()}}),h.useEffect(function(){En&&!va.current&&Ra(En)},[En]),h.useEffect(function(){va.current=!1},[]);var yo,ao=Object(M.a)(Object(M.a)({},Xe),{},{operationRef:qi,prefixCls:lr,viewDate:Sa,value:Xi,onViewDateChange:Na,sourceMode:lo,onPanelChange:Ca,disabledDate:xa!=="decade"?wn:void 0});delete ao.onChange,delete ao.onSelect;switch(xa){case"decade":yo=h.createElement(Kt,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;case"year":yo=h.createElement(De,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;case"month":yo=h.createElement(Pt,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;case"quarter":yo=h.createElement(_n,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;case"week":yo=h.createElement(Pr,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;case"time":delete ao.showTime,yo=h.createElement(dt,Object.assign({},ao,Object(H.a)(li)==="object"?li:null,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}));break;default:li?yo=h.createElement(Gt,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}})):yo=h.createElement(ke,Object.assign({},ao,{onSelect:function(ki,Ma){Na(ki),Qa(ki,Ma)}}))}var bo,co,uo=function(){var ki=on.getNow(),Ma=wt(on.getHour(ki),on.getMinute(ki),on.getSecond(ki),sn?Vt:1,yn?Zt:1,Fn?Hr:1),Ro=bt(on,ki,Ma[0],Ma[1],Ma[2]);Qa(Ro,"submit")};oa||(bo=un(lr,xa,Bi),co=ar({prefixCls:lr,components:Mr,needConfirmButton:pn,okDisabled:!Xi||wn&&wn(Xi),locale:Wr,showNow:yi,onNow:pn&&uo,onOk:function(){Xi&&(Qa(Xi,"submit",!0),yr&&yr(Xi))}}));var Ya;if(Oi&&xa==="date"&&Kn==="date"&&!li){var eo=on.getNow(),wa="".concat(lr,"-today-btn"),ro=wn&&wn(eo);Ya=h.createElement("a",{className:b()(wa,ro&&"".concat(wa,"-disabled")),"aria-disabled":ro,onClick:function(){ro||Qa(eo,"mouse",!0)}},Wr.today)}return h.createElement(X.Provider,{value:Object(M.a)(Object(M.a)({},Gn),{},{hideHeader:"hideHeader"in Xe?Si:Gn.hideHeader,hidePrevBtn:ma&&Ui==="right",hideNextBtn:ma&&Ui==="left"})},h.createElement("div",{tabIndex:ni,className:b()("".concat(lr,"-panel"),Ir,(Ot={},Object(D.a)(Ot,"".concat(lr,"-panel-has-range"),Ni&&Ni[0]&&Ni[1]),Object(D.a)(Ot,"".concat(lr,"-panel-has-range-hover"),ra&&ra[0]&&ra[1]),Object(D.a)(Ot,"".concat(lr,"-panel-rtl"),Qr==="rtl"),Ot)),style:Dr,onKeyDown:Da,onBlur:Ia,onMouseDown:Ri,ref:Ci},yo,bo||co||Ya?h.createElement("div",{className:"".concat(lr,"-footer")},bo,co,Ya):null))}var kr=Xr,gr=d("uciX"),Sn={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 Pn(Xe){var Ot,cr=Xe.prefixCls,lr=Xe.popupElement,Ir=Xe.popupStyle,Dr=Xe.visible,Wr=Xe.dropdownClassName,on=Xe.dropdownAlign,En=Xe.transitionName,vn=Xe.getPopupContainer,Dn=Xe.children,Un=Xe.range,wn=Xe.popupPlacement,In=Xe.direction,Tn="".concat(cr,"-dropdown"),Kn=function(){return wn!==void 0?wn:In==="rtl"?"bottomRight":"bottomLeft"};return h.createElement(gr.a,{showAction:[],hideAction:[],popupPlacement:Kn(),builtinPlacements:Sn,prefixCls:Tn,popupTransitionName:En,popup:lr,popupAlign:on,popupVisible:Dr,popupClassName:b()(Wr,(Ot={},Object(D.a)(Ot,"".concat(Tn,"-range"),Un),Object(D.a)(Ot,"".concat(Tn,"-rtl"),In==="rtl"),Ot)),popupStyle:Ir,getPopupContainer:vn},Dn)}var ii=Pn;function oi(Xe){var Ot=Xe.open,cr=Xe.value,lr=Xe.isClickOutside,Ir=Xe.triggerOpen,Dr=Xe.forwardKeyDown,Wr=Xe.blurToCancel,on=Xe.onSubmit,En=Xe.onCancel,vn=Xe.onFocus,Dn=Xe.onBlur,Un=Object(h.useState)(!1),wn=Object(B.a)(Un,2),In=wn[0],Tn=wn[1],Kn=Object(h.useState)(!1),Yn=Object(B.a)(Kn,2),ni=Yn[0],yi=Yn[1],li=Object(h.useRef)(!1),Oi=Object(h.useRef)(!1),Bi={onMouseDown:function(){Tn(!0),Ir(!0)},onKeyDown:function(mi){switch(mi.which){case K.a.ENTER:{Ot?on()!==!1&&Tn(!0):Ir(!0),mi.preventDefault();return}case K.a.TAB:{In&&Ot&&!mi.shiftKey?(Tn(!1),mi.preventDefault()):!In&&Ot&&(!Dr(mi)&&mi.shiftKey&&(Tn(!0),mi.preventDefault()));return}case K.a.ESC:{Tn(!0),En();return}}!Ot&&![K.a.SHIFT].includes(mi.which)?Ir(!0):In||Dr(mi)},onFocus:function(mi){Tn(!0),yi(!0),vn&&vn(mi)},onBlur:function(mi){if(li.current||!lr(document.activeElement)){li.current=!1;return}Wr?setTimeout(function(){lr(document.activeElement)&&En()},0):Ot&&(Ir(!1),Oi.current&&on()),yi(!1),Dn&&Dn(mi)}};return Object(h.useEffect)(function(){Oi.current=!1},[Ot]),Object(h.useEffect)(function(){Oi.current=!0},[cr]),Object(h.useEffect)(function(){return it(function(Si){var mi=Si.target;Ot&&(lr(mi)?ni||Ir(!1):(li.current=!0,requestAnimationFrame(function(){li.current=!1})))})}),[Bi,{focused:ni,typing:In}]}function ti(Xe){var Ot=Xe.valueTexts,cr=Xe.onTextChange,lr=h.useState(""),Ir=Object(B.a)(lr,2),Dr=Ir[0],Wr=Ir[1],on=h.useRef([]);on.current=Ot;function En(Dn){Wr(Dn),cr(Dn)}function vn(){Wr(on.current[0])}return h.useEffect(function(){Ot.every(function(Dn){return Dn!==Dr})&&vn()},[Ot.join("||")]),[Dr,En,vn]}var bi=d("Gytx"),Bn=d.n(bi);function _i(Xe,Ot){var cr=Ot.formatList,lr=Ot.generateConfig,Ir=Ot.locale;return Object(se.a)(function(){if(!Xe)return[[""],""];for(var Dr="",Wr=[],on=0;on<cr.length;on+=1){var En=cr[on],vn=lr.locale.format(Ir.locale,Xe,En);Wr.push(vn),on===0&&(Dr=vn)}return[Wr,Dr]},[Xe,cr],function(Dr,Wr){return Dr[0]!==Wr[0]||!Bn()(Dr[1],Wr[1])})}function gn(Xe,Ot){var cr=Ot.formatList,lr=Ot.generateConfig,Ir=Ot.locale,Dr=Object(h.useState)(null),Wr=Object(B.a)(Dr,2),on=Wr[0],En=Wr[1],vn=Object(h.useRef)(null);function Dn(Yn){var ni=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(vn.current),ni){En(Yn);return}vn.current=requestAnimationFrame(function(){En(Yn)})}var Un=_i(on,{formatList:cr,generateConfig:lr,locale:Ir}),wn=Object(B.a)(Un,2),In=wn[1];function Tn(Yn){Dn(Yn)}function Kn(){var Yn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Dn(null,Yn)}return Object(h.useEffect)(function(){Kn(!0)},[Xe]),Object(h.useEffect)(function(){return function(){return cancelAnimationFrame(vn.current)}},[]),[In,Tn,Kn]}function Vr(Xe){var Ot,cr=Xe.prefixCls,lr=cr===void 0?"rc-picker":cr,Ir=Xe.id,Dr=Xe.tabIndex,Wr=Xe.style,on=Xe.className,En=Xe.dropdownClassName,vn=Xe.dropdownAlign,Dn=Xe.popupStyle,Un=Xe.transitionName,wn=Xe.generateConfig,In=Xe.locale,Tn=Xe.inputReadOnly,Kn=Xe.allowClear,Yn=Xe.autoFocus,ni=Xe.showTime,yi=Xe.picker,li=yi===void 0?"date":yi,Oi=Xe.format,Bi=Xe.use12Hours,Si=Xe.value,mi=Xe.defaultValue,Li=Xe.open,Wn=Xe.defaultOpen,Ri=Xe.defaultOpenValue,zi=Xe.suffixIcon,yr=Xe.clearIcon,Mr=Xe.disabled,Qr=Xe.disabledDate,_r=Xe.placeholder,Vt=Xe.getPopupContainer,Sr=Xe.pickerRef,Zt=Xe.panelRender,Ur=Xe.onChange,Hr=Xe.onOpenChange,pn=Xe.onFocus,sn=Xe.onBlur,yn=Xe.onMouseDown,Fn=Xe.onMouseUp,Gn=Xe.onMouseEnter,Jn=Xe.onMouseLeave,Ci=Xe.onContextMenu,ta=Xe.onClick,oa=Xe.direction,da=Xe.autoComplete,ca=da===void 0?"off":da,ma=h.useRef(null),Ui=li==="date"&&!!ni||li==="time",Ni=Ke(ee(Oi,li,ni,Bi)),ra=h.useRef(null),qi=h.useRef(null),va=Object(j.a)(null,{value:Si,defaultValue:mi}),Oa=Object(B.a)(va,2),Zi=Oa[0],Xi=Oa[1],La=h.useState(Zi),Aa=Object(B.a)(La,2),Ti=Aa[0],Sa=Aa[1],Ra=h.useRef(null),Na=Object(j.a)(!1,{value:Li,defaultValue:Wn,postState:function(Ka){return Mr?!1:Ka},onChange:function(Ka){Hr&&Hr(Ka),!Ka&&Ra.current&&Ra.current.onClose&&Ra.current.onClose()}}),Ua=Object(B.a)(Na,2),Pa=Ua[0],za=Ua[1],xa=_i(Ti,{formatList:Ni,generateConfig:wn,locale:In}),ja=Object(B.a)(xa,2),io=ja[0],ia=ja[1],lo=ti({valueTexts:io,onTextChange:function(Ka){var Go=wn.locale.parse(In.locale,Ka,Ni);Go&&(!Qr||!Qr(Go))&&Sa(Go)}}),Ga=Object(B.a)(lo,3),Ca=Ga[0],Qa=Ga[1],Da=Ga[2],Ia=function(Ka){Sa(Ka),Xi(Ka),Ur&&!Nt(wn,Zi,Ka)&&Ur(Ka,Ka?wn.locale.format(In.locale,Ka,Ni[0]):"")},yo=function(Ka){if(Mr&&Ka)return;za(Ka)},ao=function(Ka){return Pa&&Ra.current&&Ra.current.onKeyDown?Ra.current.onKeyDown(Ka):(Object(I.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},bo=function(){Fn&&Fn.apply(void 0,arguments),ma.current&&(ma.current.focus(),yo(!0))},co=oi({blurToCancel:Ui,open:Pa,value:Ca,triggerOpen:yo,forwardKeyDown:ao,isClickOutside:function(Ka){return!pe([ra.current,qi.current],Ka)},onSubmit:function(){return Qr&&Qr(Ti)?!1:(Ia(Ti),yo(!1),Da(),!0)},onCancel:function(){yo(!1),Sa(Zi),Da()},onFocus:pn,onBlur:sn}),uo=Object(B.a)(co,2),Ya=uo[0],eo=uo[1],wa=eo.focused,ro=eo.typing;h.useEffect(function(){Pa||(Sa(Zi),!io.length||io[0]===""?Qa(""):ia!==Ca&&Da())},[Pa,io]),h.useEffect(function(){Pa||Da()},[li]),h.useEffect(function(){Sa(Zi)},[Zi]),Sr&&(Sr.current={focus:function(){ma.current&&ma.current.focus()},blur:function(){ma.current&&ma.current.blur()}});var fo=Object(M.a)(Object(M.a)({},Xe),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),ki=h.createElement(kr,Object.assign({},fo,{generateConfig:wn,className:b()(Object(D.a)({},"".concat(lr,"-panel-focused"),!ro)),value:Ti,locale:In,tabIndex:-1,onChange:Sa,direction:oa}));Zt&&(ki=Zt(ki));var Ma=h.createElement("div",{className:"".concat(lr,"-panel-container"),onMouseDown:function(Ka){Ka.preventDefault()}},ki),Ro;zi&&(Ro=h.createElement("span",{className:"".concat(lr,"-suffix")},zi));var jo;Kn&&Zi&&!Mr&&(jo=h.createElement("span",{onMouseDown:function(Ka){Ka.preventDefault(),Ka.stopPropagation()},onMouseUp:function(Ka){Ka.preventDefault(),Ka.stopPropagation(),Ia(null),yo(!1)},className:"".concat(lr,"-clear")},yr||h.createElement("span",{className:"".concat(lr,"-clear-btn")})));var Vo=function(Ka,Go){(Go==="submit"||Go!=="key"&&!Ui)&&(Ia(Ka),yo(!1))},Xo=oa==="rtl"?"bottomRight":"bottomLeft",wo=gn(Ca,{formatList:Ni,generateConfig:wn,locale:In}),_a=Object(B.a)(wo,3),Po=_a[0],ds=_a[1],ho=_a[2];return h.createElement(X.Provider,{value:{operationRef:Ra,hideHeader:li==="time",panelRef:ra,onSelect:Vo,open:Pa,defaultOpenValue:Ri,onDateMouseEnter:ds,onDateMouseLeave:ho}},h.createElement(ii,{visible:Pa,popupElement:Ma,popupStyle:Dn,prefixCls:lr,dropdownClassName:En,dropdownAlign:vn,getPopupContainer:Vt,transitionName:Un,popupPlacement:Xo,direction:oa},h.createElement("div",{className:b()(lr,on,(Ot={},Object(D.a)(Ot,"".concat(lr,"-disabled"),Mr),Object(D.a)(Ot,"".concat(lr,"-focused"),wa),Object(D.a)(Ot,"".concat(lr,"-rtl"),oa==="rtl"),Ot)),style:Wr,onMouseDown:yn,onMouseUp:bo,onMouseEnter:Gn,onMouseLeave:Jn,onContextMenu:Ci,onClick:ta},h.createElement("div",{className:b()("".concat(lr,"-input"),Object(D.a)({},"".concat(lr,"-input-placeholder"),!!Po)),ref:qi},h.createElement("input",Object.assign({id:Ir,tabIndex:Dr,disabled:Mr,readOnly:Tn||!ro,value:Po||Ca,onChange:function(Ka){Qa(Ka.target.value)},autoFocus:Yn,placeholder:_r,ref:ma,title:Ca},Ya,{size:Ze(li,Ni[0])},Te(Xe),{autoComplete:ca})),Ro,jo))))}var xn=function(Xe){Object(k.a)(cr,Xe);var Ot=Object(U.a)(cr);function cr(){var lr;return Object(R.a)(this,cr),lr=Ot.apply(this,arguments),lr.pickerRef=h.createRef(),lr.focus=function(){lr.pickerRef.current&&lr.pickerRef.current.focus()},lr.blur=function(){lr.pickerRef.current&&lr.pickerRef.current.blur()},lr}return Object(P.a)(cr,[{key:"render",value:function(){return h.createElement(Vr,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),cr}(h.Component),tn=xn;function ui(Xe,Ot,cr){var lr=Xe.picker,Ir=Xe.locale,Dr=Xe.selectedValue,Wr=Xe.disabledDate,on=Xe.disabled,En=Xe.generateConfig,vn=gt(Dr,0),Dn=gt(Dr,1);function Un(Yn){var ni=En.getYear(Yn),yi=En.locale.getWeek(Ir.locale,Yn);return ni*100+yi}function wn(Yn){var ni=En.getYear(Yn),yi=En.getMonth(Yn);return ni*100+yi}function In(Yn){var ni=En.getYear(Yn),yi=lt(En,Yn);return ni*10+yi}var Tn=h.useCallback(function(Yn){if(Wr&&Wr(Yn))return!0;if(on[1]&&Dn)return!Kr(En,Yn,Dn)&&En.isAfter(Yn,Dn);if(Ot&&Dn)switch(lr){case"quarter":return In(Yn)>In(Dn);case"month":return wn(Yn)>wn(Dn);case"week":return Un(Yn)>Un(Dn);default:return!Kr(En,Yn,Dn)&&En.isAfter(Yn,Dn)}return!1},[Wr,on[1],Dn,Ot]),Kn=h.useCallback(function(Yn){if(Wr&&Wr(Yn))return!0;if(on[0]&&vn)return!Kr(En,Yn,Dn)&&En.isAfter(vn,Yn);if(cr&&vn)switch(lr){case"quarter":return In(Yn)<In(vn);case"month":return wn(Yn)<wn(vn);case"week":return Un(Yn)<Un(vn);default:return!Kr(En,Yn,vn)&&En.isAfter(vn,Yn)}return!1},[Wr,on[0],vn,cr]);return[Tn,Kn]}function qn(Xe,Ot,cr,lr){var Ir=qt(Xe,cr,lr,1);function Dr(Wr){return Wr(Xe,Ot)?"same":Wr(Ir,Ot)?"closing":"far"}switch(cr){case"year":return Dr(function(Wr,on){return Ht(lr,Wr,on)});case"quarter":case"month":return Dr(function(Wr,on){return tr(lr,Wr,on)});default:return Dr(function(Wr,on){return sr(lr,Wr,on)})}}function wi(Xe,Ot,cr,lr){var Ir=gt(Xe,0),Dr=gt(Xe,1);if(Ot===0)return Ir;if(Ir&&Dr){var Wr=qn(Ir,Dr,cr,lr);switch(Wr){case"same":return Ir;case"closing":return Ir;default:return qt(Dr,cr,lr,-1)}}return Ir}function Qn(Xe){var Ot=Xe.values,cr=Xe.picker,lr=Xe.defaultDates,Ir=Xe.generateConfig,Dr=h.useState(function(){return[gt(lr,0),gt(lr,1)]}),Wr=Object(B.a)(Dr,2),on=Wr[0],En=Wr[1],vn=h.useState(null),Dn=Object(B.a)(vn,2),Un=Dn[0],wn=Dn[1],In=gt(Ot,0),Tn=gt(Ot,1);function Kn(ni){return on[ni]?on[ni]:gt(Un,ni)||wi(Ot,ni,cr,Ir)||In||Tn||Ir.getNow()}function Yn(ni,yi){if(ni){var li=Ue(Un,ni,yi);En(Ue(on,null,yi)||[null,null]);var Oi=(yi+1)%2;gt(Ot,Oi)||(li=Ue(li,ni,Oi)),wn(li)}else(In||Tn)&&wn(null)}return[Kn,Yn]}function Hi(Xe,Ot){return Xe&&Xe[0]&&Xe[1]&&Ot.isAfter(Xe[0],Xe[1])?[Xe[1],Xe[0]]:Xe}function ri(Xe,Ot,cr,lr){return Xe||lr&&lr[Ot]?!0:!!cr[(Ot+1)%2]}function Mi(Xe){var Ot,cr,lr,Ir=Xe.prefixCls,Dr=Ir===void 0?"rc-picker":Ir,Wr=Xe.id,on=Xe.style,En=Xe.className,vn=Xe.popupStyle,Dn=Xe.dropdownClassName,Un=Xe.transitionName,wn=Xe.dropdownAlign,In=Xe.getPopupContainer,Tn=Xe.generateConfig,Kn=Xe.locale,Yn=Xe.placeholder,ni=Xe.autoFocus,yi=Xe.disabled,li=Xe.format,Oi=Xe.picker,Bi=Oi===void 0?"date":Oi,Si=Xe.showTime,mi=Xe.use12Hours,Li=Xe.separator,Wn=Li===void 0?"~":Li,Ri=Xe.value,zi=Xe.defaultValue,yr=Xe.defaultPickerValue,Mr=Xe.open,Qr=Xe.defaultOpen,_r=Xe.disabledDate,Vt=Xe.disabledTime,Sr=Xe.dateRender,Zt=Xe.panelRender,Ur=Xe.ranges,Hr=Xe.allowEmpty,pn=Xe.allowClear,sn=Xe.suffixIcon,yn=Xe.clearIcon,Fn=Xe.pickerRef,Gn=Xe.inputReadOnly,Jn=Xe.mode,Ci=Xe.renderExtraFooter,ta=Xe.onChange,oa=Xe.onOpenChange,da=Xe.onPanelChange,ca=Xe.onCalendarChange,ma=Xe.onFocus,Ui=Xe.onBlur,Ni=Xe.onOk,ra=Xe.components,qi=Xe.order,va=Xe.direction,Oa=Xe.activePickerIndex,Zi=Xe.autoComplete,Xi=Zi===void 0?"off":Zi,La=Bi==="date"&&!!Si||Bi==="time",Aa=Object(h.useRef)({}),Ti=Object(h.useRef)(null),Sa=Object(h.useRef)(null),Ra=Object(h.useRef)(null),Na=Object(h.useRef)(null),Ua=Object(h.useRef)(null),Pa=Object(h.useRef)(null),za=Object(h.useRef)(null),xa=Ke(ee(li,Bi,Si,mi)),ja=Object(j.a)(0,{value:Oa}),io=Object(B.a)(ja,2),ia=io[0],lo=io[1],Ga=Object(h.useRef)(null),Ca=h.useMemo(function(){return Array.isArray(yi)?yi:[yi||!1,yi||!1]},[yi]),Qa=Object(j.a)(null,{value:Ri,defaultValue:zi,postState:function(ga){return Bi==="time"&&!qi?ga:Hi(ga,Tn)}}),Da=Object(B.a)(Qa,2),Ia=Da[0],yo=Da[1],ao=Qn({values:Ia,picker:Bi,defaultDates:yr,generateConfig:Tn}),bo=Object(B.a)(ao,2),co=bo[0],uo=bo[1],Ya=Object(j.a)(Ia,{postState:function(ga){var Wa=ga;if(Ca[0]&&Ca[1])return Wa;for(var oo=0;oo<2;oo+=1)Ca[oo]&&!gt(Wa,oo)&&!gt(Hr,oo)&&(Wa=Ue(Wa,Tn.getNow(),oo));return Wa}}),eo=Object(B.a)(Ya,2),wa=eo[0],ro=eo[1],fo=Object(j.a)([Bi,Bi],{value:Jn}),ki=Object(B.a)(fo,2),Ma=ki[0],Ro=ki[1];Object(h.useEffect)(function(){Ro([Bi,Bi])},[Bi]);var jo=function(ga,Wa){Ro(ga),da&&da(Wa,ga)},Vo=ui({picker:Bi,selectedValue:wa,locale:Kn,disabled:Ca,disabledDate:_r,generateConfig:Tn},Aa.current[1],Aa.current[0]),Xo=Object(B.a)(Vo,2),wo=Xo[0],_a=Xo[1],Po=Object(j.a)(!1,{value:Mr,defaultValue:Qr,postState:function(ga){return Ca[ia]?!1:ga},onChange:function(ga){oa&&oa(ga),!ga&&Ga.current&&Ga.current.onClose&&Ga.current.onClose()}}),ds=Object(B.a)(Po,2),ho=ds[0],Oo=ds[1],Ka=ho&&ia===0,Go=ho&&ia===1,nl=Object(h.useState)(0),Ts=Object(B.a)(nl,2),Is=Ts[0],xs=Ts[1];Object(h.useEffect)(function(){!ho&&Ti.current&&xs(Ti.current.offsetWidth)},[ho]);var ps=h.useRef();function Os(Xa,ga){if(Xa)clearTimeout(ps.current),Aa.current[ga]=!0,lo(ga),Oo(Xa),ho||uo(null,ga);else if(ia===ga){Oo(Xa);var Wa=Aa.current;ps.current=setTimeout(function(){Wa===Aa.current&&(Aa.current={})})}}function Ho(Xa){Os(!0,Xa),setTimeout(function(){var ga=[Pa,za][Xa];ga.current&&ga.current.focus()},0)}function mo(Xa,ga){var Wa=Xa,oo=gt(Wa,0),Jo=gt(Wa,1);oo&&Jo&&Tn.isAfter(oo,Jo)&&(Bi==="week"&&!nr(Tn,Kn.locale,oo,Jo)||Bi==="quarter"&&!Xt(Tn,oo,Jo)||Bi!=="week"&&Bi!=="quarter"&&Bi!=="time"&&!Kr(Tn,oo,Jo)?(ga===0?(Wa=[oo,null],Jo=null):(oo=null,Wa=[null,Jo]),Aa.current=Object(D.a)({},ga,!0)):(Bi!=="time"||qi!==!1)&&(Wa=Hi(Wa,Tn))),ro(Wa);var Hs=Wa&&Wa[0]?Tn.locale.format(Kn.locale,Wa[0],xa[0]):"",bs=Wa&&Wa[1]?Tn.locale.format(Kn.locale,Wa[1],xa[0]):"";if(ca){var ws={range:ga===0?"start":"end"};ca(Wa,[Hs,bs],ws)}var Uo=ri(oo,0,Ca,Hr),_o=ri(Jo,1,Ca,Hr),Zo=Wa===null||Uo&&_o;Zo&&(yo(Wa),ta&&(!Nt(Tn,gt(Ia,0),oo)||!Nt(Tn,gt(Ia,1),Jo))&&ta(Wa,[Hs,bs]));var xo=null;ga===0&&!Ca[1]?xo=1:ga===1&&!Ca[0]&&(xo=0),xo!==null&&xo!==ia&&(!Aa.current[xo]||!gt(Wa,xo))&&gt(Wa,ga)?Ho(xo):Os(!1,ga)}var es=function(ga){return ho&&Ga.current&&Ga.current.onKeyDown?Ga.current.onKeyDown(ga):(Object(I.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Ko={formatList:xa,generateConfig:Tn,locale:Kn},ko=_i(gt(wa,0),Ko),zr=Object(B.a)(ko,2),Yo=zr[0],il=zr[1],Ks=_i(gt(wa,1),Ko),Ps=Object(B.a)(Ks,2),no=Ps[0],Ao=Ps[1],Fo=function(ga,Wa){var oo=Tn.locale.parse(Kn.locale,ga,xa),Jo=Wa===0?wo:_a;oo&&!Jo(oo)&&(ro(Ue(wa,oo,Wa)),uo(oo,Wa))},ns=ti({valueTexts:Yo,onTextChange:function(ga){return Fo(ga,0)}}),ys=Object(B.a)(ns,3),ms=ys[0],_s=ys[1],ol=ys[2],Ls=ti({valueTexts:no,onTextChange:function(ga){return Fo(ga,1)}}),Gs=Object(B.a)(Ls,3),ks=Gs[0],gs=Gs[1],Ns=Gs[2],St=Object(h.useState)(null),Dt=Object(B.a)(St,2),rn=Dt[0],On=Dt[1],mt=Object(h.useState)(null),ne=Object(B.a)(mt,2),fe=ne[0],ge=ne[1],Re=gn(ms,{formatList:xa,generateConfig:Tn,locale:Kn}),ut=Object(B.a)(Re,3),Lt=ut[0],br=ut[1],Or=ut[2],Zr=gn(ks,{formatList:xa,generateConfig:Tn,locale:Kn}),Cn=Object(B.a)(Zr,3),Hn=Cn[0],si=Cn[1],xi=Cn[2],Di=function(ga){ge(Ue(wa,ga,ia)),ia===0?br(ga):si(ga)},sa=function(){ge(Ue(wa,null,ia)),ia===0?Or():xi()},ya=function(ga,Wa){return{blurToCancel:La,forwardKeyDown:es,onBlur:Ui,isClickOutside:function(Jo){return!pe([Sa.current,Ra.current,Na.current],Jo)},onFocus:function(Jo){lo(ga),ma&&ma(Jo)},triggerOpen:function(Jo){Os(Jo,ga)},onSubmit:function(){mo(wa,ga),Wa()},onCancel:function(){Os(!1,ga),ro(Ia),Wa()}}},Ja=oi(Object(M.a)(Object(M.a)({},ya(0,ol)),{},{open:Ka,value:ms})),$a=Object(B.a)(Ja,2),to=$a[0],Io=$a[1],Co=Io.focused,Do=Io.typing,go=oi(Object(M.a)(Object(M.a)({},ya(1,Ns)),{},{open:Go,value:ks})),So=Object(B.a)(go,2),is=So[0],ts=So[1],To=ts.focused,Yi=ts.typing,Rs=function(ga){!ho&&!Pa.current.contains(ga.target)&&!za.current.contains(ga.target)&&(Ca[0]?Ca[1]||Ho(1):Ho(0))},Es=function(ga){ho&&(Co||To)&&!Pa.current.contains(ga.target)&&!za.current.contains(ga.target)&&ga.preventDefault()},as=Ia&&Ia[0]?Tn.locale.format(Kn.locale,Ia[0],"YYYYMMDDHHmmss"):"",Qo=Ia&&Ia[1]?Tn.locale.format(Kn.locale,Ia[1],"YYYYMMDDHHmmss"):"";Object(h.useEffect)(function(){ho||(ro(Ia),!Yo.length||Yo[0]===""?_s(""):il!==ms&&ol(),!no.length||no[0]===""?gs(""):Ao!==ks&&Ns())},[ho,Yo,no]),Object(h.useEffect)(function(){ro(Ia)},[as,Qo]),Fn&&(Fn.current={focus:function(){Pa.current&&Pa.current.focus()},blur:function(){Pa.current&&Pa.current.blur(),za.current&&za.current.blur()}});var hs=Object.keys(Ur||{}),Al=hs.map(function(Xa){var ga=Ur[Xa],Wa=typeof ga=="function"?ga():ga;return{label:Xa,onClick:function(){mo(Wa,null),Os(!1,ia)},onMouseEnter:function(){On(Wa)},onMouseLeave:function(){On(null)}}});function sl(){var Xa=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ga=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Wa=null;ho&&fe&&fe[0]&&fe[1]&&Tn.isAfter(fe[1],fe[0])&&(Wa=fe);var oo=Si;if(Si&&Object(H.a)(Si)==="object"&&Si.defaultValue){var Jo=Si.defaultValue;oo=Object(M.a)(Object(M.a)({},Si),{},{defaultValue:gt(Jo,ia)||void 0})}var Hs=null;return Sr&&(Hs=function(ws,Uo){return Sr(ws,Uo,{range:ia?"end":"start"})}),h.createElement(vr.Provider,{value:{inRange:!0,panelPosition:Xa,rangedValue:rn||wa,hoverRangedValue:Wa}},h.createElement(kr,Object.assign({},Xe,ga,{dateRender:Hs,showTime:oo,mode:Ma[ia],generateConfig:Tn,style:void 0,direction:va,disabledDate:ia===0?wo:_a,disabledTime:function(ws){return Vt?Vt(ws,ia===0?"start":"end"):!1},className:b()(Object(D.a)({},"".concat(Dr,"-panel-focused"),ia===0?!Do:!Yi)),value:gt(wa,ia),locale:Kn,tabIndex:-1,onPanelChange:function(ws,Uo){jo(Ue(Ma,Uo,ia),Ue(wa,ws,ia));var _o=ws;Xa==="right"&&Ma[ia]===Uo&&(_o=qt(_o,Uo,Tn,-1)),uo(_o,ia)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var fs=0,Lo=0;ia&&Ra.current&&Ua.current&&Sa.current&&(fs=Ra.current.offsetWidth+Ua.current.offsetWidth,Sa.current.offsetWidth&&fs>Sa.current.offsetWidth&&(Lo=fs));var ls=va==="rtl"?{right:fs}:{left:fs};function Zs(){var Xa,ga=un(Dr,Ma[ia],Ci),Wa=ar({prefixCls:Dr,components:ra,needConfirmButton:La,okDisabled:!gt(wa,ia)||_r&&_r(wa[ia]),locale:Kn,rangeList:Al,onOk:function(){gt(wa,ia)&&(mo(wa,ia),Ni&&Ni(wa))}});if(Bi!=="time"&&!Si){var oo=co(ia),Jo=qt(oo,Bi,Tn),Hs=Ma[ia],bs=Hs===Bi,ws=sl(bs?"left":!1,{pickerValue:oo,onPickerValueChange:function(xo){uo(xo,ia)}}),Uo=sl("right",{pickerValue:Jo,onPickerValueChange:function(xo){uo(qt(xo,Bi,Tn,-1),ia)}});va==="rtl"?Xa=h.createElement(h.Fragment,null,Uo,bs&&ws):Xa=h.createElement(h.Fragment,null,ws,bs&&Uo)}else Xa=sl();var _o=h.createElement(h.Fragment,null,h.createElement("div",{className:"".concat(Dr,"-panels")},Xa),(ga||Wa)&&h.createElement("div",{className:"".concat(Dr,"-footer")},ga,Wa));return Zt&&(_o=Zt(_o)),h.createElement("div",{className:"".concat(Dr,"-panel-container"),style:{marginLeft:Lo},ref:Sa,onMouseDown:function(xo){xo.preventDefault()}},_o)}var As=h.createElement("div",{className:b()("".concat(Dr,"-range-wrapper"),"".concat(Dr,"-").concat(Bi,"-range-wrapper")),style:{minWidth:Is}},h.createElement("div",{className:"".concat(Dr,"-range-arrow"),style:ls}),Zs()),Fs;sn&&(Fs=h.createElement("span",{className:"".concat(Dr,"-suffix")},sn));var Us;pn&&(gt(Ia,0)&&!Ca[0]||gt(Ia,1)&&!Ca[1])&&(Us=h.createElement("span",{onMouseDown:function(ga){ga.preventDefault(),ga.stopPropagation()},onMouseUp:function(ga){ga.preventDefault(),ga.stopPropagation();var Wa=Ia;Ca[0]||(Wa=Ue(Wa,null,0)),Ca[1]||(Wa=Ue(Wa,null,1)),mo(Wa,null),Os(!1,ia)},className:"".concat(Dr,"-clear")},yn||h.createElement("span",{className:"".concat(Dr,"-clear-btn")})));var Ds={size:Ze(Bi,xa[0])},al=0,$s=0;Ra.current&&Na.current&&Ua.current&&(ia===0?$s=Ra.current.offsetWidth:(al=fs,$s=Na.current.offsetWidth));var Ys=va==="rtl"?{right:al}:{left:al},js=function(ga,Wa){var oo=Ue(wa,ga,ia);Wa==="submit"||Wa!=="key"&&!La?(mo(oo,ia),ia===0?Or():xi()):ro(oo)};return h.createElement(X.Provider,{value:{operationRef:Ga,hideHeader:Bi==="time",onDateMouseEnter:Di,onDateMouseLeave:sa,hideRanges:!0,onSelect:js,open:ho}},h.createElement(ii,{visible:ho,popupElement:As,popupStyle:vn,prefixCls:Dr,dropdownClassName:Dn,dropdownAlign:wn,getPopupContainer:In,transitionName:Un,range:!0,direction:va},h.createElement("div",Object.assign({ref:Ti,className:b()(Dr,"".concat(Dr,"-range"),En,(Ot={},Object(D.a)(Ot,"".concat(Dr,"-disabled"),Ca[0]&&Ca[1]),Object(D.a)(Ot,"".concat(Dr,"-focused"),ia===0?Co:To),Object(D.a)(Ot,"".concat(Dr,"-rtl"),va==="rtl"),Ot)),style:on,onClick:Rs,onMouseDown:Es},Te(Xe)),h.createElement("div",{className:b()("".concat(Dr,"-input"),(cr={},Object(D.a)(cr,"".concat(Dr,"-input-active"),ia===0),Object(D.a)(cr,"".concat(Dr,"-input-placeholder"),!!Lt),cr)),ref:Ra},h.createElement("input",Object.assign({id:Wr,disabled:Ca[0],readOnly:Gn||!Do,value:Lt||ms,onChange:function(ga){_s(ga.target.value)},autoFocus:ni,placeholder:gt(Yn,0)||"",ref:Pa},to,Ds,{autoComplete:Xi}))),h.createElement("div",{className:"".concat(Dr,"-range-separator"),ref:Ua},Wn),h.createElement("div",{className:b()("".concat(Dr,"-input"),(lr={},Object(D.a)(lr,"".concat(Dr,"-input-active"),ia===1),Object(D.a)(lr,"".concat(Dr,"-input-placeholder"),!!Hn),lr)),ref:Na},h.createElement("input",Object.assign({disabled:Ca[1],readOnly:Gn||!Yi,value:Hn||ks,onChange:function(ga){gs(ga.target.value)},placeholder:gt(Yn,1)||"",ref:za},is,Ds,{autoComplete:Xi}))),h.createElement("div",{className:"".concat(Dr,"-active-bar"),style:Object(M.a)(Object(M.a)({},Ys),{},{width:$s,position:"absolute"})}),Fs,Us)))}var dn=function(Xe){Object(k.a)(cr,Xe);var Ot=Object(U.a)(cr);function cr(){var lr;return Object(R.a)(this,cr),lr=Ot.apply(this,arguments),lr.pickerRef=h.createRef(),lr.focus=function(){lr.pickerRef.current&&lr.pickerRef.current.focus()},lr.blur=function(){lr.pickerRef.current&&lr.pickerRef.current.blur()},lr}return Object(P.a)(cr,[{key:"render",value:function(){return h.createElement(Mi,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),cr}(h.Component),Fr=dn,bn=tn,Mn=d("61s2");function Xn(Xe,Ot,cr){return cr!==void 0?cr:Xe==="year"&&Ot.lang.yearPlaceholder?Ot.lang.yearPlaceholder:Xe==="quarter"&&Ot.lang.quarterPlaceholder?Ot.lang.quarterPlaceholder:Xe==="month"&&Ot.lang.monthPlaceholder?Ot.lang.monthPlaceholder:Xe==="week"&&Ot.lang.weekPlaceholder?Ot.lang.weekPlaceholder:Xe==="time"&&Ot.timePickerLocale.placeholder?Ot.timePickerLocale.placeholder:Ot.lang.placeholder}function $n(Xe,Ot,cr){return cr!==void 0?cr:Xe==="year"&&Ot.lang.yearPlaceholder?Ot.lang.rangeYearPlaceholder:Xe==="month"&&Ot.lang.monthPlaceholder?Ot.lang.rangeMonthPlaceholder:Xe==="week"&&Ot.lang.weekPlaceholder?Ot.lang.rangeWeekPlaceholder:Xe==="time"&&Ot.timePickerLocale.placeholder?Ot.timePickerLocale.rangePlaceholder:Ot.lang.rangePlaceholder}var hi=d("uaoM"),fi=d("H84U"),gi=d("YMnH"),Wi=d("3Nzz"),na=function(Xe,Ot){var cr={};for(var lr in Xe)Object.prototype.hasOwnProperty.call(Xe,lr)&&Ot.indexOf(lr)<0&&(cr[lr]=Xe[lr]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ir=0,lr=Object.getOwnPropertySymbols(Xe);Ir<lr.length;Ir++)Ot.indexOf(lr[Ir])<0&&Object.prototype.propertyIsEnumerable.call(Xe,lr[Ir])&&(cr[lr[Ir]]=Xe[lr[Ir]]);return cr};function $i(Xe){function Ot(En,vn){var Dn=function(Un){m()(In,Un);var wn=g()(In);function In(Tn){var Kn;return a()(this,In),Kn=wn.call(this,Tn),Kn.pickerRef=h.createRef(),Kn.focus=function(){Kn.pickerRef.current&&Kn.pickerRef.current.focus()},Kn.blur=function(){Kn.pickerRef.current&&Kn.pickerRef.current.blur()},Kn.getDefaultLocale=function(){var Yn=Kn.props.locale,ni=p()(p()({},Mn.a),Yn);return ni.lang=p()(p()({},ni.lang),(Yn||{}).lang),ni},Kn.renderPicker=function(Yn){var ni=Kn.context,yi=ni.getPrefixCls,li=ni.direction,Oi=ni.getPopupContainer,Bi=Kn.props,Si=Bi.prefixCls,mi=Bi.getPopupContainer,Li=Bi.className,Wn=Bi.size,Ri=Bi.bordered,zi=Ri===void 0?!0:Ri,yr=Bi.placeholder,Mr=na(Bi,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Qr=Kn.props,_r=Qr.format,Vt=Qr.showTime,Sr=yi("picker",Si),Zt={showToday:!0},Ur={};En&&(Ur.picker=En);var Hr=En||Kn.props.picker;return Ur=p()(p()(p()({},Ur),Vt?ea(p()({format:_r,picker:Hr},Vt)):{}),Hr==="time"?ea(p()(p()({format:_r},Kn.props),{picker:Hr})):{}),h.createElement(Wi.b.Consumer,null,function(pn){var sn,yn=Wn||pn;return h.createElement(bn,p()({ref:Kn.pickerRef,placeholder:Xn(Hr,Yn,yr),suffixIcon:Hr==="time"?h.createElement(x.a,null):h.createElement(y.a,null),clearIcon:h.createElement(L.a,null),allowClear:!0,transitionName:"slide-up"},Zt,Mr,Ur,{locale:Yn.lang,className:b()(Li,(sn={},c()(sn,"".concat(Sr,"-").concat(yn),yn),c()(sn,"".concat(Sr,"-borderless"),!zi),sn)),prefixCls:Sr,getPopupContainer:mi||Oi,generateConfig:Xe,prevIcon:h.createElement("span",{className:"".concat(Sr,"-prev-icon")}),nextIcon:h.createElement("span",{className:"".concat(Sr,"-next-icon")}),superPrevIcon:h.createElement("span",{className:"".concat(Sr,"-super-prev-icon")}),superNextIcon:h.createElement("span",{className:"".concat(Sr,"-super-next-icon")}),components:Ji,direction:li}))})},Object(hi.a)(En!=="quarter",vn,"DatePicker.".concat(vn," is legacy usage. Please use DatePicker[picker='").concat(En,"'] directly.")),Kn}return u()(In,[{key:"render",value:function(){return h.createElement(gi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),In}(h.Component);return Dn.contextType=fi.b,vn&&(Dn.displayName=vn),Dn}var cr=Ot(),lr=Ot("week","WeekPicker"),Ir=Ot("month","MonthPicker"),Dr=Ot("year","YearPicker"),Wr=Ot("time","TimePicker"),on=Ot("quarter","QuarterPicker");return{DatePicker:cr,WeekPicker:lr,MonthPicker:Ir,YearPicker:Dr,TimePicker:Wr,QuarterPicker:on}}var Ha=d("8ISB"),pi=d.n(Ha),ln=function(Xe,Ot){var cr={};for(var lr in Xe)Object.prototype.hasOwnProperty.call(Xe,lr)&&Ot.indexOf(lr)<0&&(cr[lr]=Xe[lr]);if(Xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ir=0,lr=Object.getOwnPropertySymbols(Xe);Ir<lr.length;Ir++)Ot.indexOf(lr[Ir])<0&&Object.prototype.propertyIsEnumerable.call(Xe,lr[Ir])&&(cr[lr[Ir]]=Xe[lr[Ir]]);return cr};function Ii(Xe){var Ot=function(cr){m()(Ir,cr);var lr=g()(Ir);function Ir(){var Dr;return a()(this,Ir),Dr=lr.apply(this,arguments),Dr.pickerRef=h.createRef(),Dr.focus=function(){Dr.pickerRef.current&&Dr.pickerRef.current.focus()},Dr.blur=function(){Dr.pickerRef.current&&Dr.pickerRef.current.blur()},Dr.getDefaultLocale=function(){var Wr=Dr.props.locale,on=p()(p()({},Mn.a),Wr);return on.lang=p()(p()({},on.lang),(Wr||{}).lang),on},Dr.renderPicker=function(Wr){var on=Dr.context,En=on.getPrefixCls,vn=on.direction,Dn=on.getPopupContainer,Un=Dr.props,wn=Un.prefixCls,In=Un.getPopupContainer,Tn=Un.className,Kn=Un.size,Yn=Un.bordered,ni=Yn===void 0?!0:Yn,yi=Un.placeholder,li=ln(Un,["prefixCls","getPopupContainer","className","size","bordered","placeholder"]),Oi=Dr.props,Bi=Oi.format,Si=Oi.showTime,mi=Oi.picker,Li=En("picker",wn),Wn={};return Wn=p()(p()(p()({},Wn),Si?ea(p()({format:Bi,picker:mi},Si)):{}),mi==="time"?ea(p()(p()({format:Bi},Dr.props),{picker:mi})):{}),h.createElement(Wi.b.Consumer,null,function(Ri){var zi,yr=Kn||Ri;return h.createElement(Fr,p()({separator:h.createElement("span",{"aria-label":"to",className:"".concat(Li,"-separator")},h.createElement(pi.a,null)),ref:Dr.pickerRef,placeholder:$n(mi,Wr,yi),suffixIcon:mi==="time"?h.createElement(x.a,null):h.createElement(y.a,null),clearIcon:h.createElement(L.a,null),allowClear:!0,transitionName:"slide-up"},li,Wn,{className:b()(Tn,(zi={},c()(zi,"".concat(Li,"-").concat(yr),yr),c()(zi,"".concat(Li,"-borderless"),!ni),zi)),locale:Wr.lang,prefixCls:Li,getPopupContainer:In||Dn,generateConfig:Xe,prevIcon:h.createElement("span",{className:"".concat(Li,"-prev-icon")}),nextIcon:h.createElement("span",{className:"".concat(Li,"-next-icon")}),superPrevIcon:h.createElement("span",{className:"".concat(Li,"-super-prev-icon")}),superNextIcon:h.createElement("span",{className:"".concat(Li,"-super-next-icon")}),components:Ji,direction:vn}))})},Dr}return u()(Ir,[{key:"render",value:function(){return h.createElement(gi.a,{componentName:"DatePicker",defaultLocale:this.getDefaultLocale},this.renderPicker)}}]),Ir}(h.Component);return Ot.contextType=fi.b,Ot}var Ji={button:r,rangeItem:l};function Fi(Xe){return Xe?Array.isArray(Xe)?Xe:[Xe]:[]}function ea(Xe){var Ot=Xe.format,cr=Xe.picker,lr=Xe.showHour,Ir=Xe.showMinute,Dr=Xe.showSecond,Wr=Xe.use12Hours,on=Fi(Ot)[0],En=p()({},Xe);return on&&(!on.includes("s")&&Dr===void 0&&(En.showSecond=!1),!on.includes("m")&&Ir===void 0&&(En.showMinute=!1),!on.includes("H")&&!on.includes("h")&&lr===void 0&&(En.showHour=!1),(on.includes("a")||on.includes("A"))&&Wr===void 0&&(En.use12Hours=!0)),cr==="time"?En:{showTime:En}}function zt(Xe){var Ot=$i(Xe),cr=Ot.DatePicker,lr=Ot.WeekPicker,Ir=Ot.MonthPicker,Dr=Ot.YearPicker,Wr=Ot.TimePicker,on=Ot.QuarterPicker,En=Ii(Xe),vn=cr;return vn.WeekPicker=lr,vn.MonthPicker=Ir,vn.YearPicker=Dr,vn.RangePicker=En,vn.TimePicker=Wr,vn.QuarterPicker=on,vn}var Gr=zt,nn=Gr(C),fn=z.a=nn},"+lIL":function(ue,z,d){var O=d("ProS");d("/ry/"),d("3OrL");var _=d("L5E0"),I=d("7Phj");O.registerVisual(_),O.registerLayout(I)},"+nKL":function(ue,z,d){"use strict";var O=d("q1tI"),_=d("TSYQ"),I=d.n(_),E=d("wx14"),C=d("Zm9Q"),t=d("Kwbf"),p=d("VTBJ"),h=d("c+Xe"),o=d("m+aA"),r=d("bdgK"),s=new Map;function l($e){$e.forEach(function(tt){var ve,_e=tt.target;(ve=s.get(_e))===null||ve===void 0||ve.forEach(function(ke){return ke(_e)})})}var n=new r.default(l),c=null,e=null;function a($e,tt){s.has($e)||(s.set($e,new Set),n.observe($e)),s.get($e).add(tt)}function i($e,tt){s.has($e)&&(s.get($e).delete(tt),s.get($e).size||(n.unobserve($e),s.delete($e)))}var u=d("1OyB"),f=d("vuIU"),m=d("Ji7U"),A=d("LK+K"),g=function($e){Object(m.a)(ve,$e);var tt=Object(A.a)(ve);function ve(){return Object(u.a)(this,ve),tt.apply(this,arguments)}return Object(f.a)(ve,[{key:"render",value:function(){return this.props.children}}]),ve}(O.Component),v=O.createContext(null);function b($e){var tt=$e.children,ve=$e.onBatchResize,_e=O.useRef(0),ke=O.useRef([]),rt=O.useContext(v),Wt=O.useCallback(function(Bt,Gt,Rr){_e.current+=1;var Pr=_e.current;ke.current.push({size:Bt,element:Gt,data:Rr}),Promise.resolve().then(function(){Pr===_e.current&&(ve==null||ve(ke.current),ke.current=[])}),rt==null||rt(Bt,Gt,Rr)},[ve,rt]);return O.createElement(v.Provider,{value:Wt},tt)}function S($e){var tt=$e.children,ve=$e.disabled,_e=O.useRef(null),ke=O.useRef(null),rt=O.useContext(v),Wt=O.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Bt=O.isValidElement(tt)&&Object(h.c)(tt),Gt=Bt?tt.ref:null,Rr=O.useMemo(function(){return Object(h.a)(Gt,_e)},[Gt,_e]),Pr=O.useRef($e);Pr.current=$e;var cn=O.useCallback(function(Ut){var pt=Pr.current,ct=pt.onResize,Qt=pt.data,Jt=Ut.getBoundingClientRect(),yt=Jt.width,Pt=Jt.height,At=Ut.offsetWidth,Ft=Ut.offsetHeight,pr=Math.floor(yt),or=Math.floor(Pt);if(Wt.current.width!==pr||Wt.current.height!==or||Wt.current.offsetWidth!==At||Wt.current.offsetHeight!==Ft){var ir={width:pr,height:or,offsetWidth:At,offsetHeight:Ft};Wt.current=ir;var Yr=At===Math.round(yt)?yt:At,Jr=Ft===Math.round(Pt)?Pt:Ft,_n=Object(p.a)(Object(p.a)({},ir),{},{offsetWidth:Yr,offsetHeight:Jr});rt==null||rt(_n,Ut,Qt),ct&&Promise.resolve().then(function(){ct(_n,Ut)})}},[]);return O.useEffect(function(){var Ut=Object(o.a)(_e.current)||Object(o.a)(ke.current);return Ut&&!ve&&a(Ut,cn),function(){return i(Ut,cn)}},[_e.current,ve]),O.createElement(g,{ref:ke},Bt?O.cloneElement(tt,{ref:Rr}):tt)}var y="rc-observer-key";function w($e){var tt=$e.children,ve=Object(C.a)(tt);return ve.map(function(_e,ke){var rt=(_e==null?void 0:_e.key)||"".concat(y,"-").concat(ke);return O.createElement(S,Object(E.a)({},$e,{key:rt}),_e)})}w.Collection=b;var x=w;function T($e,tt){var ve=Object.keys($e);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols($e);tt&&(_e=_e.filter(function(ke){return Object.getOwnPropertyDescriptor($e,ke).enumerable})),ve.push.apply(ve,_e)}return ve}function L($e){for(var tt=1;tt<arguments.length;tt++){var ve=arguments[tt]!=null?arguments[tt]:{};tt%2?T(Object(ve),!0).forEach(function(_e){R($e,_e,ve[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(ve)):T(Object(ve)).forEach(function(_e){Object.defineProperty($e,_e,Object.getOwnPropertyDescriptor(ve,_e))})}return $e}function R($e,tt,ve){return tt in $e?Object.defineProperty($e,tt,{value:ve,enumerable:!0,configurable:!0,writable:!0}):$e[tt]=ve,$e}var P=O.forwardRef(function($e,tt){var ve=$e.height,_e=$e.offset,ke=$e.children,rt=$e.prefixCls,Wt=$e.onInnerResize,Bt={},Gt={display:"flex",flexDirection:"column"};return _e!==void 0&&(Bt={height:ve,position:"relative",overflow:"hidden"},Gt=L(L({},Gt),{},{transform:"translateY(".concat(_e,"px)"),position:"absolute",left:0,right:0,top:0})),O.createElement("div",{style:Bt},O.createElement(x,{onResize:function(Pr){var cn=Pr.offsetHeight;cn&&Wt&&Wt()}},O.createElement("div",{style:Gt,className:I()(R({},"".concat(rt,"-holder-inner"),rt)),ref:tt},ke)))});P.displayName="Filler";var k=P,U=d("wgJM");function D($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?D=function(ve){return typeof ve}:D=function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},D($e)}function M($e,tt,ve){return tt in $e?Object.defineProperty($e,tt,{value:ve,enumerable:!0,configurable:!0,writable:!0}):$e[tt]=ve,$e}function B($e,tt){if(!($e instanceof tt))throw new TypeError("Cannot call a class as a function")}function j($e,tt){for(var ve=0;ve<tt.length;ve++){var _e=tt[ve];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty($e,_e.key,_e)}}function H($e,tt,ve){return tt&&j($e.prototype,tt),ve&&j($e,ve),$e}function K($e,tt){if(typeof tt!="function"&&tt!==null)throw new TypeError("Super expression must either be null or a function");$e.prototype=Object.create(tt&&tt.prototype,{constructor:{value:$e,writable:!0,configurable:!0}}),tt&&W($e,tt)}function W($e,tt){return W=Object.setPrototypeOf||function(_e,ke){return _e.__proto__=ke,_e},W($e,tt)}function X($e){var tt=G();return function(){var _e=Y($e),ke;if(tt){var rt=Y(this).constructor;ke=Reflect.construct(_e,arguments,rt)}else ke=_e.apply(this,arguments);return V(this,ke)}}function V($e,tt){if(tt&&(D(tt)==="object"||typeof tt=="function"))return tt;if(tt!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z($e)}function Z($e){if($e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return $e}function G(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch($e){return!1}}function Y($e){return Y=Object.setPrototypeOf?Object.getPrototypeOf:function(ve){return ve.__proto__||Object.getPrototypeOf(ve)},Y($e)}var te=20;function se($e){return"touches"in $e?$e.touches[0].pageY:$e.pageY}var Ce=function($e){K(ve,$e);var tt=X(ve);function ve(){var _e;B(this,ve);for(var ke=arguments.length,rt=new Array(ke),Wt=0;Wt<ke;Wt++)rt[Wt]=arguments[Wt];return _e=tt.call.apply(tt,[this].concat(rt)),_e.moveRaf=null,_e.scrollbarRef=O.createRef(),_e.thumbRef=O.createRef(),_e.visibleTimeout=null,_e.state={dragging:!1,pageY:null,startTop:null,visible:!1},_e.delayHidden=function(){clearTimeout(_e.visibleTimeout),_e.setState({visible:!0}),_e.visibleTimeout=setTimeout(function(){_e.setState({visible:!1})},2e3)},_e.onScrollbarTouchStart=function(Bt){Bt.preventDefault()},_e.onContainerMouseDown=function(Bt){Bt.stopPropagation(),Bt.preventDefault()},_e.patchEvents=function(){window.addEventListener("mousemove",_e.onMouseMove),window.addEventListener("mouseup",_e.onMouseUp),_e.thumbRef.current.addEventListener("touchmove",_e.onMouseMove),_e.thumbRef.current.addEventListener("touchend",_e.onMouseUp)},_e.removeEvents=function(){window.removeEventListener("mousemove",_e.onMouseMove),window.removeEventListener("mouseup",_e.onMouseUp),_e.scrollbarRef.current.removeEventListener("touchstart",_e.onScrollbarTouchStart),_e.thumbRef.current.removeEventListener("touchstart",_e.onMouseDown),_e.thumbRef.current.removeEventListener("touchmove",_e.onMouseMove),_e.thumbRef.current.removeEventListener("touchend",_e.onMouseUp),U.a.cancel(_e.moveRaf)},_e.onMouseDown=function(Bt){var Gt=_e.props.onStartMove;_e.setState({dragging:!0,pageY:se(Bt),startTop:_e.getTop()}),Gt(),_e.patchEvents(),Bt.stopPropagation(),Bt.preventDefault()},_e.onMouseMove=function(Bt){var Gt=_e.state,Rr=Gt.dragging,Pr=Gt.pageY,cn=Gt.startTop,Ut=_e.props.onScroll;if(U.a.cancel(_e.moveRaf),Rr){var pt=se(Bt)-Pr,ct=cn+pt,Qt=_e.getEnableScrollRange(),Jt=_e.getEnableHeightRange(),yt=Jt?ct/Jt:0,Pt=Math.ceil(yt*Qt);_e.moveRaf=Object(U.a)(function(){Ut(Pt)})}},_e.onMouseUp=function(){var Bt=_e.props.onStopMove;_e.setState({dragging:!1}),Bt(),_e.removeEvents()},_e.getSpinHeight=function(){var Bt=_e.props,Gt=Bt.height,Rr=Bt.count,Pr=Gt/Rr*10;return Pr=Math.max(Pr,te),Pr=Math.min(Pr,Gt/2),Math.floor(Pr)},_e.getEnableScrollRange=function(){var Bt=_e.props,Gt=Bt.scrollHeight,Rr=Bt.height;return Gt-Rr||0},_e.getEnableHeightRange=function(){var Bt=_e.props.height,Gt=_e.getSpinHeight();return Bt-Gt||0},_e.getTop=function(){var Bt=_e.props.scrollTop,Gt=_e.getEnableScrollRange(),Rr=_e.getEnableHeightRange();if(Bt===0||Gt===0)return 0;var Pr=Bt/Gt;return Pr*Rr},_e.showScroll=function(){var Bt=_e.props,Gt=Bt.height,Rr=Bt.scrollHeight;return Rr>Gt},_e}return H(ve,[{key:"componentDidMount",value:function(){this.scrollbarRef.current.addEventListener("touchstart",this.onScrollbarTouchStart),this.thumbRef.current.addEventListener("touchstart",this.onMouseDown)}},{key:"componentDidUpdate",value:function(ke){ke.scrollTop!==this.props.scrollTop&&this.delayHidden()}},{key:"componentWillUnmount",value:function(){this.removeEvents(),clearTimeout(this.visibleTimeout)}},{key:"render",value:function(){var ke=this.state,rt=ke.dragging,Wt=ke.visible,Bt=this.props.prefixCls,Gt=this.getSpinHeight(),Rr=this.getTop(),Pr=this.showScroll(),cn=Pr&&Wt;return O.createElement("div",{ref:this.scrollbarRef,className:I()("".concat(Bt,"-scrollbar"),M({},"".concat(Bt,"-scrollbar-show"),Pr)),style:{width:8,top:0,bottom:0,right:0,position:"absolute",display:cn?null:"none"},onMouseDown:this.onContainerMouseDown,onMouseMove:this.delayHidden},O.createElement("div",{ref:this.thumbRef,className:I()("".concat(Bt,"-scrollbar-thumb"),M({},"".concat(Bt,"-scrollbar-thumb-moving"),rt)),style:{width:"100%",height:Gt,top:Rr,left:0,position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"},onMouseDown:this.onMouseDown}))}}]),ve}(O.Component);function he($e){var tt=$e.children,ve=$e.setRef,_e=O.useCallback(function(ke){ve(ke)},[]);return O.cloneElement(tt,{ref:_e})}function xe($e,tt,ve,_e,ke,rt){var Wt=rt.getKey;return $e.slice(tt,ve+1).map(function(Bt,Gt){var Rr=tt+Gt,Pr=ke(Bt,Rr,{}),cn=Wt(Bt);return O.createElement(he,{key:cn,setRef:function(pt){return _e(Bt,pt)}},Pr)})}function ie($e,tt){if(!($e instanceof tt))throw new TypeError("Cannot call a class as a function")}function ee($e,tt){for(var ve=0;ve<tt.length;ve++){var _e=tt[ve];_e.enumerable=_e.enumerable||!1,_e.configurable=!0,"value"in _e&&(_e.writable=!0),Object.defineProperty($e,_e.key,_e)}}function Ze($e,tt,ve){return tt&&ee($e.prototype,tt),ve&&ee($e,ve),$e}var Se=function(){function $e(){ie(this,$e),this.maps=void 0,this.maps=Object.create(null)}return Ze($e,[{key:"set",value:function(ve,_e){this.maps[ve]=_e}},{key:"get",value:function(ve){return this.maps[ve]}}]),$e}(),Ne=Se;function it($e,tt){return He($e)||et($e,tt)||nt($e,tt)||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 nt($e,tt){if(!$e)return;if(typeof $e=="string")return je($e,tt);var ve=Object.prototype.toString.call($e).slice(8,-1);if(ve==="Object"&&$e.constructor&&(ve=$e.constructor.name),ve==="Map"||ve==="Set")return Array.from($e);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return je($e,tt)}function je($e,tt){(tt==null||tt>$e.length)&&(tt=$e.length);for(var ve=0,_e=new Array(tt);ve<tt;ve++)_e[ve]=$e[ve];return _e}function et($e,tt){var ve=$e==null?null:typeof Symbol!="undefined"&&$e[Symbol.iterator]||$e["@@iterator"];if(ve==null)return;var _e=[],ke=!0,rt=!1,Wt,Bt;try{for(ve=ve.call($e);!(ke=(Wt=ve.next()).done)&&!(_e.push(Wt.value),tt&&_e.length===tt);ke=!0);}catch(Gt){rt=!0,Bt=Gt}finally{try{!ke&&ve.return!=null&&ve.return()}finally{if(rt)throw Bt}}return _e}function He($e){if(Array.isArray($e))return $e}function pe($e,tt,ve){var _e=O.useState(0),ke=it(_e,2),rt=ke[0],Wt=ke[1],Bt=Object(O.useRef)(new Map),Gt=Object(O.useRef)(new Ne),Rr=Object(O.useRef)(0);function Pr(){Rr.current+=1;var Ut=Rr.current;Promise.resolve().then(function(){if(Ut!==Rr.current)return;Bt.current.forEach(function(pt,ct){if(pt&&pt.offsetParent){var Qt=Object(o.a)(pt),Jt=Qt.offsetHeight;Gt.current.get(ct)!==Jt&&Gt.current.set(ct,Qt.offsetHeight)}}),Wt(function(pt){return pt+1})})}function cn(Ut,pt){var ct=$e(Ut),Qt=Bt.current.get(ct);pt?(Bt.current.set(ct,pt),Pr()):Bt.current.delete(ct),!Qt!==!pt&&(pt?tt==null||tt(Ut):ve==null||ve(Ut))}return[cn,Pr,Gt.current,rt]}function ae($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(ve){return typeof ve}:ae=function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},ae($e)}function re($e,tt,ve,_e,ke,rt,Wt,Bt){var Gt=O.useRef();return function(Rr){if(Rr==null){Bt();return}if(U.a.cancel(Gt.current),typeof Rr=="number")Wt(Rr);else if(Rr&&ae(Rr)==="object"){var Pr,cn=Rr.align;"index"in Rr?Pr=Rr.index:Pr=tt.findIndex(function(Qt){return ke(Qt)===Rr.key});var Ut=Rr.offset,pt=Ut===void 0?0:Ut,ct=function Qt(Jt,yt){if(Jt<0||!$e.current)return;var Pt=$e.current.clientHeight,At=!1,Ft=yt;if(Pt){for(var pr=yt||cn,or=0,ir=0,Yr=0,Jr=Math.min(tt.length,Pr),_n=0;_n<=Jr;_n+=1){var Nn=ke(tt[_n]);ir=or;var zn=ve.get(Nn);Yr=ir+(zn===void 0?_e:zn),or=Yr,_n===Pr&&zn===void 0&&(At=!0)}var ei=null;switch(pr){case"top":ei=ir-pt;break;case"bottom":ei=Yr-Pt+pt;break;default:{var vi=$e.current.scrollTop,Pi=vi+Pt;ir<vi?Ft="top":Yr>Pi&&(Ft="bottom")}}ei!==null&&ei!==$e.current.scrollTop&&Wt(ei)}Gt.current=Object(U.a)(function(){At&&rt(),Qt(Jt-1,Ft)})};ct(3)}}}function be($e,tt,ve,_e){var ke=ve-$e,rt=tt-ve,Wt=Math.min(ke,rt)*2;if(_e<=Wt){var Bt=Math.floor(_e/2);return _e%2?ve+Bt+1:ve-Bt}return ke>rt?ve-(_e-rt):ve+(_e-ke)}function ze($e,tt,ve){var _e=$e.length,ke=tt.length,rt,Wt;if(_e===0&&ke===0)return null;_e<ke?(rt=$e,Wt=tt):(rt=tt,Wt=$e);var Bt={__EMPTY_ITEM__:!0};function Gt(ct){return ct!==void 0?ve(ct):Bt}for(var Rr=null,Pr=Math.abs(_e-ke)!==1,cn=0;cn<Wt.length;cn+=1){var Ut=Gt(rt[cn]),pt=Gt(Wt[cn]);if(Ut!==pt){Rr=cn,Pr=Pr||Ut!==Gt(Wt[cn+1]);break}}return Rr===null?null:{index:Rr,multiple:Pr}}function Ke($e,tt){return wt($e)||bt($e,tt)||gt($e,tt)||Te()}function Te(){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 gt($e,tt){if(!$e)return;if(typeof $e=="string")return Ue($e,tt);var ve=Object.prototype.toString.call($e).slice(8,-1);if(ve==="Object"&&$e.constructor&&(ve=$e.constructor.name),ve==="Map"||ve==="Set")return Array.from($e);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return Ue($e,tt)}function Ue($e,tt){(tt==null||tt>$e.length)&&(tt=$e.length);for(var ve=0,_e=new Array(tt);ve<tt;ve++)_e[ve]=$e[ve];return _e}function bt($e,tt){var ve=$e==null?null:typeof Symbol!="undefined"&&$e[Symbol.iterator]||$e["@@iterator"];if(ve==null)return;var _e=[],ke=!0,rt=!1,Wt,Bt;try{for(ve=ve.call($e);!(ke=(Wt=ve.next()).done)&&!(_e.push(Wt.value),tt&&_e.length===tt);ke=!0);}catch(Gt){rt=!0,Bt=Gt}finally{try{!ke&&ve.return!=null&&ve.return()}finally{if(rt)throw Bt}}return _e}function wt($e){if(Array.isArray($e))return $e}function Et($e,tt,ve){var _e=O.useState($e),ke=Ke(_e,2),rt=ke[0],Wt=ke[1],Bt=O.useState(null),Gt=Ke(Bt,2),Rr=Gt[0],Pr=Gt[1];return O.useEffect(function(){var cn=ze(rt||[],$e||[],tt);(cn==null?void 0:cn.index)!==void 0&&(ve==null||ve(cn.index),Pr($e[cn.index])),Wt($e)},[$e]),[Rr]}function xt($e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xt=function(ve){return typeof ve}:xt=function(ve){return ve&&typeof Symbol=="function"&&ve.constructor===Symbol&&ve!==Symbol.prototype?"symbol":typeof ve},xt($e)}var Tt=(typeof navigator=="undefined"?"undefined":xt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Be=Tt,ce=function($e,tt){var ve=Object(O.useRef)(!1),_e=Object(O.useRef)(null);function ke(){clearTimeout(_e.current),ve.current=!0,_e.current=setTimeout(function(){ve.current=!1},50)}var rt=Object(O.useRef)({top:$e,bottom:tt});return rt.current.top=$e,rt.current.bottom=tt,function(Wt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gt=Wt<0&&rt.current.top||Wt>0&&rt.current.bottom;return Bt&&Gt?(clearTimeout(_e.current),ve.current=!1):(!Gt||ve.current)&&ke(),!ve.current&&Gt}};function q($e,tt,ve,_e){var ke=Object(O.useRef)(0),rt=Object(O.useRef)(null),Wt=Object(O.useRef)(null),Bt=Object(O.useRef)(!1),Gt=ce(tt,ve);function Rr(cn){if(!$e)return;U.a.cancel(rt.current);var Ut=cn.deltaY;if(ke.current+=Ut,Wt.current=Ut,Gt(Ut))return;Be||cn.preventDefault(),rt.current=Object(U.a)(function(){var pt=Bt.current?10:1;_e(ke.current*pt),ke.current=0})}function Pr(cn){if(!$e)return;Bt.current=cn.detail===Wt.current}return[Rr,Pr]}var dt=14/15;function Ve($e,tt,ve){var _e=Object(O.useRef)(!1),ke=Object(O.useRef)(0),rt=Object(O.useRef)(null),Wt=Object(O.useRef)(null),Bt,Gt=function(Ut){if(_e.current){var pt=Math.ceil(Ut.touches[0].pageY),ct=ke.current-pt;ke.current=pt,ve(ct)&&Ut.preventDefault(),clearInterval(Wt.current),Wt.current=setInterval(function(){ct*=dt,(!ve(ct,!0)||Math.abs(ct)<=.1)&&clearInterval(Wt.current)},16)}},Rr=function(){_e.current=!1,Bt()},Pr=function(Ut){Bt(),Ut.touches.length===1&&!_e.current&&(_e.current=!0,ke.current=Math.ceil(Ut.touches[0].pageY),rt.current=Ut.target,rt.current.addEventListener("touchmove",Gt),rt.current.addEventListener("touchend",Rr))};Bt=function(){rt.current&&(rt.current.removeEventListener("touchmove",Gt),rt.current.removeEventListener("touchend",Rr))},O.useLayoutEffect(function(){return $e&&tt.current.addEventListener("touchstart",Pr),function(){tt.current.removeEventListener("touchstart",Pr),Bt(),clearInterval(Wt.current)}},[$e])}var de=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","component","onScroll","onVisibleChange"];function Ht(){return Ht=Object.assign||function($e){for(var tt=1;tt<arguments.length;tt++){var ve=arguments[tt];for(var _e in ve)Object.prototype.hasOwnProperty.call(ve,_e)&&($e[_e]=ve[_e])}return $e},Ht.apply(this,arguments)}function tr($e,tt){var ve=Object.keys($e);if(Object.getOwnPropertySymbols){var _e=Object.getOwnPropertySymbols($e);tt&&(_e=_e.filter(function(ke){return Object.getOwnPropertyDescriptor($e,ke).enumerable})),ve.push.apply(ve,_e)}return ve}function lt($e){for(var tt=1;tt<arguments.length;tt++){var ve=arguments[tt]!=null?arguments[tt]:{};tt%2?tr(Object(ve),!0).forEach(function(_e){Xt($e,_e,ve[_e])}):Object.getOwnPropertyDescriptors?Object.defineProperties($e,Object.getOwnPropertyDescriptors(ve)):tr(Object(ve)).forEach(function(_e){Object.defineProperty($e,_e,Object.getOwnPropertyDescriptor(ve,_e))})}return $e}function Xt($e,tt,ve){return tt in $e?Object.defineProperty($e,tt,{value:ve,enumerable:!0,configurable:!0,writable:!0}):$e[tt]=ve,$e}function sr($e,tt){return ot($e)||Nt($e,tt)||rr($e,tt)||Kr()}function Kr(){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 rr($e,tt){if(!$e)return;if(typeof $e=="string")return nr($e,tt);var ve=Object.prototype.toString.call($e).slice(8,-1);if(ve==="Object"&&$e.constructor&&(ve=$e.constructor.name),ve==="Map"||ve==="Set")return Array.from($e);if(ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ve))return nr($e,tt)}function nr($e,tt){(tt==null||tt>$e.length)&&(tt=$e.length);for(var ve=0,_e=new Array(tt);ve<tt;ve++)_e[ve]=$e[ve];return _e}function Nt($e,tt){var ve=$e==null?null:typeof Symbol!="undefined"&&$e[Symbol.iterator]||$e["@@iterator"];if(ve==null)return;var _e=[],ke=!0,rt=!1,Wt,Bt;try{for(ve=ve.call($e);!(ke=(Wt=ve.next()).done)&&!(_e.push(Wt.value),tt&&_e.length===tt);ke=!0);}catch(Gt){rt=!0,Bt=Gt}finally{try{!ke&&ve.return!=null&&ve.return()}finally{if(rt)throw Bt}}return _e}function ot($e){if(Array.isArray($e))return $e}function Qe($e,tt){if($e==null)return{};var ve=qt($e,tt),_e,ke;if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols($e);for(ke=0;ke<rt.length;ke++){if(_e=rt[ke],tt.indexOf(_e)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call($e,_e))continue;ve[_e]=$e[_e]}}return ve}function qt($e,tt){if($e==null)return{};var ve={},_e=Object.keys($e),ke,rt;for(rt=0;rt<_e.length;rt++){if(ke=_e[rt],tt.indexOf(ke)>=0)continue;ve[ke]=$e[ke]}return ve}var xr=[],vr={overflowY:"auto",overflowAnchor:"none"};function fr($e,tt){var ve=$e.prefixCls,_e=ve===void 0?"rc-virtual-list":ve,ke=$e.className,rt=$e.height,Wt=$e.itemHeight,Bt=$e.fullHeight,Gt=Bt===void 0?!0:Bt,Rr=$e.style,Pr=$e.data,cn=$e.children,Ut=$e.itemKey,pt=$e.virtual,ct=$e.component,Qt=ct===void 0?"div":ct,Jt=$e.onScroll,yt=$e.onVisibleChange,Pt=Qe($e,de),At=!!(pt!==!1&&rt&&Wt),Ft=At&&Pr&&Wt*Pr.length>rt,pr=Object(O.useState)(0),or=sr(pr,2),ir=or[0],Yr=or[1],Jr=Object(O.useState)(!1),_n=sr(Jr,2),Nn=_n[0],zn=_n[1],ei=I()(_e,ke),vi=Pr||xr,Pi=Object(O.useRef)(),Ge=Object(O.useRef)(),we=Object(O.useRef)(),Le=O.useCallback(function(ri){return typeof Ut=="function"?Ut(ri):ri==null?void 0:ri[Ut]},[Ut]),De={getKey:Le};function We(ri){Yr(function(Mi){var dn;typeof ri=="function"?dn=ri(Mi):dn=ri;var Fr=ti(dn);return Pi.current.scrollTop=Fr,Fr})}var Fe=Object(O.useRef)({start:0,end:vi.length}),Je=Object(O.useRef)(),vt=Et(vi,Le),st=sr(vt,1),kt=st[0];Je.current=kt;var wr=pe(Le,null,null),hr=sr(wr,4),Nr=hr[0],Kt=hr[1],un=hr[2],ar=hr[3],Xr=O.useMemo(function(){if(!At)return{scrollHeight:void 0,start:0,end:vi.length-1,offset:void 0};if(!Ft){var ri;return{scrollHeight:((ri=Ge.current)===null||ri===void 0?void 0:ri.offsetHeight)||0,start:0,end:vi.length-1,offset:void 0}}for(var Mi=0,dn,Fr,bn,Mn=vi.length,Xn=0;Xn<Mn;Xn+=1){var $n=vi[Xn],hi=Le($n),fi=un.get(hi),gi=Mi+(fi===void 0?Wt:fi);gi>=ir&&dn===void 0&&(dn=Xn,Fr=Mi),gi>ir+rt&&bn===void 0&&(bn=Xn),Mi=gi}return dn===void 0&&(dn=0,Fr=0),bn===void 0&&(bn=vi.length-1),bn=Math.min(bn+1,vi.length),{scrollHeight:Mi,start:dn,end:bn,offset:Fr}},[Ft,At,ir,vi,ar,rt]),kr=Xr.scrollHeight,gr=Xr.start,Sn=Xr.end,Pn=Xr.offset;Fe.current.start=gr,Fe.current.end=Sn;var ii=kr-rt,oi=Object(O.useRef)(ii);oi.current=ii;function ti(ri){var Mi=ri;return Number.isNaN(oi.current)||(Mi=Math.min(Mi,oi.current)),Mi=Math.max(Mi,0),Mi}var bi=ir<=0,Bn=ir>=ii,_i=ce(bi,Bn);function gn(ri){var Mi=ri;We(Mi)}function Vr(ri){var Mi=ri.currentTarget.scrollTop;Mi!==ir&&We(Mi),Jt==null||Jt(ri)}var xn=q(At,bi,Bn,function(ri){We(function(Mi){var dn=Mi+ri;return dn})}),tn=sr(xn,2),ui=tn[0],qn=tn[1];Ve(At,Pi,function(ri,Mi){return _i(ri,Mi)?!1:(ui({preventDefault:function(){},deltaY:ri}),!0)}),Object(O.useLayoutEffect)(function(){function ri(Mi){At&&Mi.preventDefault()}return Pi.current.addEventListener("wheel",ui),Pi.current.addEventListener("DOMMouseScroll",qn),Pi.current.addEventListener("MozMousePixelScroll",ri),function(){Pi.current.removeEventListener("wheel",ui),Pi.current.removeEventListener("DOMMouseScroll",qn),Pi.current.removeEventListener("MozMousePixelScroll",ri)}},[At]);var wi=re(Pi,vi,un,Wt,Le,Kt,We,function(){var ri;(ri=we.current)===null||ri===void 0||ri.delayHidden()});O.useImperativeHandle(tt,function(){return{scrollTo:wi}}),Object(O.useLayoutEffect)(function(){if(yt){var ri=vi.slice(gr,Sn+1);yt(ri,vi)}},[gr,Sn,vi]);var Qn=xe(vi,gr,Sn,Nr,cn,De),Hi=null;return rt&&(Hi=lt(Xt({},Gt?"height":"maxHeight",rt),vr),At&&(Hi.overflowY="hidden",Nn&&(Hi.pointerEvents="none"))),O.createElement("div",Ht({style:lt(lt({},Rr),{},{position:"relative"}),className:ei},Pt),O.createElement(Qt,{className:"".concat(_e,"-holder"),style:Hi,ref:Pi,onScroll:Vr},O.createElement(k,{prefixCls:_e,height:kr,offset:Pn,onInnerResize:Kt,ref:Ge},Qn)),At&&O.createElement(Ce,{ref:we,prefixCls:_e,scrollTop:ir,height:rt,scrollHeight:kr,count:vi.length,onScroll:gn,onStartMove:function(){zn(!0)},onStopMove:function(){zn(!1)}}))}var An=O.forwardRef(fr);An.displayName="List";var $r=An,Ln=z.a=$r},"+rIm":function(ue,z,d){var O=d("bYtY"),_=O.retrieve,I=O.defaults,E=O.extend,C=O.each,t=d("7aKB"),p=d("IwbS"),h=d("Qxkt"),o=d("OELB"),r=o.isRadianAroundZero,s=o.remRadian,l=d("oVpE"),n=l.createSymbol,c=d("Fofx"),e=d("QBsz"),a=e.applyTransform,i=d("aX7z"),u=i.shouldShowAllLabels,f=Math.PI,m=function(D,M){this.opt=M,this.axisModel=D,I(M,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0}),this.group=new p.Group;var B=new p.Group({position:M.position.slice(),rotation:M.rotation});B.updateTransform(),this._transform=B.transform,this._dumbGroup=B};m.prototype={constructor:m,hasBuilder:function(D){return!!A[D]},add:function(D){A[D].call(this)},getGroup:function(){return this.group}};var A={axisLine:function(){var D=this.opt,M=this.axisModel;if(!M.get("axisLine.show"))return;var B=this.axisModel.axis.getExtent(),j=this._transform,H=[B[0],0],K=[B[1],0];j&&(a(H,H,j),a(K,K,j));var W=E({lineCap:"round"},M.getModel("axisLine.lineStyle").getLineStyle());this.group.add(new p.Line({anid:"line",subPixelOptimize:!0,shape:{x1:H[0],y1:H[1],x2:K[0],y2:K[1]},style:W,strokeContainThreshold:D.strokeContainThreshold||5,silent:!0,z2:1}));var X=M.get("axisLine.symbol"),V=M.get("axisLine.symbolSize"),Z=M.get("axisLine.symbolOffset")||0;if(typeof Z=="number"&&(Z=[Z,Z]),X!=null){typeof X=="string"&&(X=[X,X]),(typeof V=="string"||typeof V=="number")&&(V=[V,V]);var G=V[0],Y=V[1];C([{rotate:D.rotation+Math.PI/2,offset:Z[0],r:0},{rotate:D.rotation-Math.PI/2,offset:Z[1],r:Math.sqrt((H[0]-K[0])*(H[0]-K[0])+(H[1]-K[1])*(H[1]-K[1]))}],function(te,se){if(X[se]!=="none"&&X[se]!=null){var Ce=n(X[se],-G/2,-Y/2,G,Y,W.stroke,!0),he=te.r+te.offset,xe=[H[0]+he*Math.cos(D.rotation),H[1]-he*Math.sin(D.rotation)];Ce.attr({rotation:te.rotate,position:xe,silent:!0,z2:11}),this.group.add(Ce)}},this)}},axisTickLabel:function(){var D=this.axisModel,M=this.opt,B=R(this,D,M),j=k(this,D,M);y(D,j,B),P(this,D,M)},axisName:function(){var D=this.opt,M=this.axisModel,B=_(D.axisName,M.get("name"));if(!B)return;var j=M.get("nameLocation"),H=D.nameDirection,K=M.getModel("nameTextStyle"),W=M.get("nameGap")||0,X=this.axisModel.axis.getExtent(),V=X[0]>X[1]?-1:1,Z=[j==="start"?X[0]-V*W:j==="end"?X[1]+V*W:(X[0]+X[1])/2,T(j)?D.labelOffset+H*W:0],G,Y=M.get("nameRotate");Y!=null&&(Y=Y*f/180);var te;T(j)?G=v(D.rotation,Y!=null?Y:D.rotation,H):(G=b(D,j,Y||0,X),te=D.axisNameAvailableWidth,te!=null&&(te=Math.abs(te/Math.sin(G.rotation)),!isFinite(te)&&(te=null)));var se=K.getFont(),Ce=M.get("nameTruncate",!0)||{},he=Ce.ellipsis,xe=_(D.nameTruncateMaxWidth,Ce.maxWidth,te),ie=he!=null&&xe!=null?t.truncateText(B,xe,se,he,{minChar:2,placeholder:Ce.placeholder}):B,ee=M.get("tooltip",!0),Ze=M.mainType,Se={componentType:Ze,name:B,$vars:["name"]};Se[Ze+"Index"]=M.componentIndex;var Ne=new p.Text({anid:"name",__fullText:B,__truncatedText:ie,position:Z,rotation:G.rotation,silent:S(M),z2:1,tooltip:ee&&ee.show?E({content:B,formatter:function(){return B},formatterParams:Se},ee):null});p.setTextStyle(Ne.style,K,{text:ie,textFont:se,textFill:K.getTextColor()||M.get("axisLine.lineStyle.color"),textAlign:K.get("align")||G.textAlign,textVerticalAlign:K.get("verticalAlign")||G.textVerticalAlign}),M.get("triggerEvent")&&(Ne.eventData=g(M),Ne.eventData.targetType="axisName",Ne.eventData.name=B),this._dumbGroup.add(Ne),Ne.updateTransform(),this.group.add(Ne),Ne.decomposeTransform()}},g=m.makeAxisEventDataBase=function(D){var M={componentType:D.mainType,componentIndex:D.componentIndex};return M[D.mainType+"Index"]=D.componentIndex,M},v=m.innerTextLayout=function(D,M,B){var j=s(M-D),H,K;return r(j)?(K=B>0?"top":"bottom",H="center"):r(j-f)?(K=B>0?"bottom":"top",H="center"):(K="middle",j>0&&j<f?H=B>0?"right":"left":H=B>0?"left":"right"),{rotation:j,textAlign:H,textVerticalAlign:K}};function b(D,M,B,j){var H=s(B-D.rotation),K,W,X=j[0]>j[1],V=M==="start"&&!X||M!=="start"&&X;return r(H-f/2)?(W=V?"bottom":"top",K="center"):r(H-f*1.5)?(W=V?"top":"bottom",K="center"):(W="middle",H<f*1.5&&H>f/2?K=V?"left":"right":K=V?"right":"left"),{rotation:H,textAlign:K,textVerticalAlign:W}}var S=m.isLabelSilent=function(D){var M=D.get("tooltip");return D.get("silent")||!(D.get("triggerEvent")||M&&M.show)};function y(D,M,B){if(u(D.axis))return;var j=D.get("axisLabel.showMinLabel"),H=D.get("axisLabel.showMaxLabel");M=M||[],B=B||[];var K=M[0],W=M[1],X=M[M.length-1],V=M[M.length-2],Z=B[0],G=B[1],Y=B[B.length-1],te=B[B.length-2];j===!1?(w(K),w(Z)):x(K,W)&&(j?(w(W),w(G)):(w(K),w(Z))),H===!1?(w(X),w(Y)):x(V,X)&&(H?(w(V),w(te)):(w(X),w(Y)))}function w(D){D&&(D.ignore=!0)}function x(D,M,B){var j=D&&D.getBoundingRect().clone(),H=M&&M.getBoundingRect().clone();if(!j||!H)return;var K=c.identity([]);return c.rotate(K,K,-D.rotation),j.applyTransform(c.mul([],K,D.getLocalTransform())),H.applyTransform(c.mul([],K,M.getLocalTransform())),j.intersect(H)}function T(D){return D==="middle"||D==="center"}function L(D,M,B,j,H){for(var K=[],W=[],X=[],V=0;V<D.length;V++){var Z=D[V].coord;W[0]=Z,W[1]=0,X[0]=Z,X[1]=B,M&&(a(W,W,M),a(X,X,M));var G=new p.Line({anid:H+"_"+D[V].tickValue,subPixelOptimize:!0,shape:{x1:W[0],y1:W[1],x2:X[0],y2:X[1]},style:j,z2:2,silent:!0});K.push(G)}return K}function R(D,M,B){var j=M.axis,H=M.getModel("axisTick");if(!H.get("show")||j.scale.isBlank())return;for(var K=H.getModel("lineStyle"),W=B.tickDirection*H.get("length"),X=j.getTicksCoords(),V=L(X,D._transform,W,I(K.getLineStyle(),{stroke:M.get("axisLine.lineStyle.color")}),"ticks"),Z=0;Z<V.length;Z++)D.group.add(V[Z]);return V}function P(D,M,B){var j=M.axis,H=M.getModel("minorTick");if(!H.get("show")||j.scale.isBlank())return;var K=j.getMinorTicksCoords();if(!K.length)return;for(var W=H.getModel("lineStyle"),X=B.tickDirection*H.get("length"),V=I(W.getLineStyle(),I(M.getModel("axisTick").getLineStyle(),{stroke:M.get("axisLine.lineStyle.color")})),Z=0;Z<K.length;Z++)for(var G=L(K[Z],D._transform,X,V,"minorticks_"+Z),Y=0;Y<G.length;Y++)D.group.add(G[Y])}function k(D,M,B){var j=M.axis,H=_(B.axisLabelShow,M.get("axisLabel.show"));if(!H||j.scale.isBlank())return;var K=M.getModel("axisLabel"),W=K.get("margin"),X=j.getViewLabels(),V=(_(B.labelRotate,K.get("rotate"))||0)*f/180,Z=v(B.rotation,V,B.labelDirection),G=M.getCategories&&M.getCategories(!0),Y=[],te=S(M),se=M.get("triggerEvent");return C(X,function(Ce,he){var xe=Ce.tickValue,ie=Ce.formattedLabel,ee=Ce.rawLabel,Ze=K;G&&G[xe]&&G[xe].textStyle&&(Ze=new h(G[xe].textStyle,K,M.ecModel));var Se=Ze.getTextColor()||M.get("axisLine.lineStyle.color"),Ne=j.dataToCoord(xe),it=[Ne,B.labelOffset+B.labelDirection*W],Ye=new p.Text({anid:"label_"+xe,position:it,rotation:Z.rotation,silent:te,z2:10});p.setTextStyle(Ye.style,Ze,{text:ie,textAlign:Ze.getShallow("align",!0)||Z.textAlign,textVerticalAlign:Ze.getShallow("verticalAlign",!0)||Ze.getShallow("baseline",!0)||Z.textVerticalAlign,textFill:typeof Se=="function"?Se(j.type==="category"?ee:j.type==="value"?xe+"":xe,he):Se}),se&&(Ye.eventData=g(M),Ye.eventData.targetType="axisLabel",Ye.eventData.value=ee),D._dumbGroup.add(Ye),Ye.updateTransform(),Y.push(Ye),D.group.add(Ye),Ye.decomposeTransform()}),Y}var U=m;ue.exports=U},"+wW9":function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.isArray,E=O.isObject,C=d("JuEJ"),t=d("4NO4"),p=t.normalizeToArray;function h(c,e){e=e.split(",");for(var a=c,i=0;i<e.length&&!(a=a&&a[e[i]],a==null);i++);return a}function o(c,e,a,i){e=e.split(",");for(var u=c,f,m=0;m<e.length-1;m++)f=e[m],u[f]==null&&(u[f]={}),u=u[f];(i||u[e[m]]==null)&&(u[e[m]]=a)}function r(c){_(s,function(e){e[0]in c&&!(e[1]in c)&&(c[e[1]]=c[e[0]])})}var s=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],l=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"];function n(c,e){C(c,e),c.series=p(c.series),_(c.series,function(a){if(!E(a))return;var i=a.type;if(i==="line")a.clipOverflow!=null&&(a.clip=a.clipOverflow);else if(i==="pie"||i==="gauge")a.clockWise!=null&&(a.clockwise=a.clockWise);else if(i==="gauge"){var u=h(a,"pointer.color");u!=null&&o(a,"itemStyle.color",u)}r(a)}),c.dataRange&&(c.visualMap=c.dataRange),_(l,function(a){var i=c[a];i&&(I(i)||(i=[i]),_(i,function(u){r(u)}))})}ue.exports=n},"/IIm":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("H6uX"),C=d("IwbS"),t=d("pP6R"),p=d("gPAo"),h=I.curry,o=I.each,r=I.map,s=Math.min,l=Math.max,n=Math.pow,c=1e4,e=6,a=6,i="globalPan",u={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},f={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},m={brushStyle:{lineWidth:2,stroke:"rgba(0,0,0,0.3)",fill:"rgba(0,0,0,0.1)"},transformable:!0,brushMode:"single",removeOnClick:!1},A=0;function g(pe){E.call(this),this._zr=pe,this.group=new C.Group,this._brushType,this._brushOption,this._panels,this._track=[],this._dragging,this._covers=[],this._creatingCover,this._creatingPanel,this._enableGlobalPan,this._uid="brushController_"+A++,this._handlers={},o(it,function(ae,re){this._handlers[re]=I.bind(ae,this)},this)}g.prototype={constructor:g,enableBrush:function(pe){return this._brushType&&b(this),pe.brushType&&v(this,pe),this},setPanels:function(pe){if(pe&&pe.length){var ae=this._panels={};I.each(pe,function(re){ae[re.panelId]=I.clone(re)})}else this._panels=null;return this},mount:function(pe){pe=pe||{},this._enableGlobalPan=pe.enableGlobalPan;var ae=this.group;return this._zr.add(ae),ae.attr({position:pe.position||[0,0],rotation:pe.rotation||0,scale:pe.scale||[1,1]}),this._transform=ae.getLocalTransform(),this},eachCover:function(pe,ae){o(this._covers,pe,ae)},updateCovers:function(pe){pe=I.map(pe,function(wt){return I.merge(I.clone(m),wt,!0)});var ae="\0-brush-index-",re=this._covers,be=this._covers=[],ze=this,Ke=this._creatingCover;return new p(re,pe,gt,Te).add(Ue).update(Ue).remove(bt).execute(),this;function Te(wt,Et){return(wt.id!=null?wt.id:ae+Et)+"-"+wt.brushType}function gt(wt,Et){return Te(wt.__brushOption,Et)}function Ue(wt,Et){var xt=pe[wt];if(Et!=null&&re[Et]===Ke)be[wt]=re[Et];else{var Tt=be[wt]=Et!=null?(re[Et].__brushOption=xt,re[Et]):x(ze,w(ze,xt));R(ze,Tt)}}function bt(wt){re[wt]!==Ke&&ze.group.remove(re[wt])}},unmount:function(){return this.enableBrush(!1),D(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},I.mixin(g,E);function v(pe,ae){var re=pe._zr;pe._enableGlobalPan||t.take(re,i,pe._uid),S(re,pe._handlers),pe._brushType=ae.brushType,pe._brushOption=I.merge(I.clone(m),ae,!0)}function b(pe){var ae=pe._zr;t.release(ae,i,pe._uid),y(ae,pe._handlers),pe._brushType=pe._brushOption=null}function S(pe,ae){o(ae,function(re,be){pe.on(be,re)})}function y(pe,ae){o(ae,function(re,be){pe.off(be,re)})}function w(pe,ae){var re=je[ae.brushType].createCover(pe,ae);return re.__brushOption=ae,L(re,ae),pe.group.add(re),re}function x(pe,ae){var re=P(ae);return re.endCreating&&(re.endCreating(pe,ae),L(ae,ae.__brushOption)),ae}function T(pe,ae){var re=ae.__brushOption;P(ae).updateCoverShape(pe,ae,re.range,re)}function L(pe,ae){var re=ae.z;re==null&&(re=c),pe.traverse(function(be){be.z=re,be.z2=re})}function R(pe,ae){P(ae).updateCommon(pe,ae),T(pe,ae)}function P(pe){return je[pe.__brushOption.brushType]}function k(pe,ae,re){var be=pe._panels;if(!be)return!0;var ze,Ke=pe._transform;return o(be,function(Te){Te.isTargetByCursor(ae,re,Ke)&&(ze=Te)}),ze}function U(pe,ae){var re=pe._panels;if(!re)return!0;var be=ae.__brushOption.panelId;return be!=null?re[be]:!0}function D(pe){var ae=pe._covers,re=ae.length;return o(ae,function(be){pe.group.remove(be)},pe),ae.length=0,!!re}function M(pe,ae){var re=r(pe._covers,function(be){var ze=be.__brushOption,Ke=I.clone(ze.range);return{brushType:ze.brushType,panelId:ze.panelId,range:Ke}});pe.trigger("brush",re,{isEnd:!!ae.isEnd,removeOnClick:!!ae.removeOnClick})}function B(pe){var ae=pe._track;if(!ae.length)return!1;var re=ae[ae.length-1],be=ae[0],ze=re[0]-be[0],Ke=re[1]-be[1],Te=n(ze*ze+Ke*Ke,.5);return Te>e}function j(pe){var ae=pe.length-1;return ae<0&&(ae=0),[pe[0],pe[ae]]}function H(pe,ae,re,be){var ze=new C.Group;return ze.add(new C.Rect({name:"main",style:V(re),silent:!0,draggable:!0,cursor:"move",drift:h(pe,ae,ze,"nswe"),ondragend:h(M,ae,{isEnd:!0})})),o(be,function(Ke){ze.add(new C.Rect({name:Ke,style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:h(pe,ae,ze,Ke),ondragend:h(M,ae,{isEnd:!0})}))}),ze}function K(pe,ae,re,be){var ze=be.brushStyle.lineWidth||0,Ke=l(ze,a),Te=re[0][0],gt=re[1][0],Ue=Te-ze/2,bt=gt-ze/2,wt=re[0][1],Et=re[1][1],xt=wt-Ke+ze/2,Tt=Et-Ke+ze/2,Be=wt-Te,ce=Et-gt,q=Be+ze,dt=ce+ze;X(pe,ae,"main",Te,gt,Be,ce),be.transformable&&(X(pe,ae,"w",Ue,bt,Ke,dt),X(pe,ae,"e",xt,bt,Ke,dt),X(pe,ae,"n",Ue,bt,q,Ke),X(pe,ae,"s",Ue,Tt,q,Ke),X(pe,ae,"nw",Ue,bt,Ke,Ke),X(pe,ae,"ne",xt,bt,Ke,Ke),X(pe,ae,"sw",Ue,Tt,Ke,Ke),X(pe,ae,"se",xt,Tt,Ke,Ke))}function W(pe,ae){var re=ae.__brushOption,be=re.transformable,ze=ae.childAt(0);ze.useStyle(V(re)),ze.attr({silent:!be,cursor:be?"move":"default"}),o(["w","e","n","s","se","sw","ne","nw"],function(Ke){var Te=ae.childOfName(Ke),gt=Y(pe,Ke);Te&&Te.attr({silent:!be,invisible:!be,cursor:be?f[gt]+"-resize":null})})}function X(pe,ae,re,be,ze,Ke,Te){var gt=ae.childOfName(re);gt&&gt.setShape(xe(he(pe,ae,[[be,ze],[be+Ke,ze+Te]])))}function V(pe){return I.defaults({strokeNoScale:!0},pe.brushStyle)}function Z(pe,ae,re,be){var ze=[s(pe,re),s(ae,be)],Ke=[l(pe,re),l(ae,be)];return[[ze[0],Ke[0]],[ze[1],Ke[1]]]}function G(pe){return C.getTransform(pe.group)}function Y(pe,ae){if(ae.length>1){ae=ae.split("");var re=[Y(pe,ae[0]),Y(pe,ae[1])];return(re[0]==="e"||re[0]==="w")&&re.reverse(),re.join("")}else{var be={w:"left",e:"right",n:"top",s:"bottom"},ze={left:"w",right:"e",top:"n",bottom:"s"},re=C.transformDirection(be[ae],G(pe));return ze[re]}}function te(pe,ae,re,be,ze,Ke,Te,gt){var Ue=be.__brushOption,bt=pe(Ue.range),wt=Ce(re,Ke,Te);o(ze.split(""),function(Et){var xt=u[Et];bt[xt[0]][xt[1]]+=wt[xt[0]]}),Ue.range=ae(Z(bt[0][0],bt[1][0],bt[0][1],bt[1][1])),R(re,be),M(re,{isEnd:!1})}function se(pe,ae,re,be,ze){var Ke=ae.__brushOption.range,Te=Ce(pe,re,be);o(Ke,function(gt){gt[0]+=Te[0],gt[1]+=Te[1]}),R(pe,ae),M(pe,{isEnd:!1})}function Ce(pe,ae,re){var be=pe.group,ze=be.transformCoordToLocal(ae,re),Ke=be.transformCoordToLocal(0,0);return[ze[0]-Ke[0],ze[1]-Ke[1]]}function he(pe,ae,re){var be=U(pe,ae);return be&&be!==!0?be.clipPath(re,pe._transform):I.clone(re)}function xe(pe){var ae=s(pe[0][0],pe[1][0]),re=s(pe[0][1],pe[1][1]),be=l(pe[0][0],pe[1][0]),ze=l(pe[0][1],pe[1][1]);return{x:ae,y:re,width:be-ae,height:ze-re}}function ie(pe,ae,re){if(!pe._brushType||nt(pe,ae))return;var be=pe._zr,ze=pe._covers,Ke=k(pe,ae,re);if(!pe._dragging)for(var Te=0;Te<ze.length;Te++){var gt=ze[Te].__brushOption;if(Ke&&(Ke===!0||gt.panelId===Ke.panelId)&&je[gt.brushType].contain(ze[Te],re[0],re[1]))return}Ke&&be.setCursorStyle("crosshair")}function ee(pe){var ae=pe.event;ae.preventDefault&&ae.preventDefault()}function Ze(pe,ae,re){return pe.childOfName("main").contain(ae,re)}function Se(pe,ae,re,be){var ze=pe._creatingCover,Ke=pe._creatingPanel,Te=pe._brushOption,gt;if(pe._track.push(re.slice()),B(pe)||ze){if(Ke&&!ze){Te.brushMode==="single"&&D(pe);var Ue=I.clone(Te);Ue.brushType=Ne(Ue.brushType,Ke),Ue.panelId=Ke===!0?null:Ke.panelId,ze=pe._creatingCover=w(pe,Ue),pe._covers.push(ze)}if(ze){var bt=je[Ne(pe._brushType,Ke)],wt=ze.__brushOption;wt.range=bt.getCreatingRange(he(pe,ze,pe._track)),be&&(x(pe,ze),bt.updateCommon(pe,ze)),T(pe,ze),gt={isEnd:be}}}else be&&Te.brushMode==="single"&&Te.removeOnClick&&(k(pe,ae,re)&&D(pe)&&(gt={isEnd:be,removeOnClick:!0}));return gt}function Ne(pe,ae){return pe==="auto"?ae.defaultBrushType:pe}var it={mousedown:function(pe){if(this._dragging)Ye(this,pe);else if(!pe.target||!pe.target.draggable){ee(pe);var ae=this.group.transformCoordToLocal(pe.offsetX,pe.offsetY);this._creatingCover=null;var re=this._creatingPanel=k(this,pe,ae);re&&(this._dragging=!0,this._track=[ae.slice()])}},mousemove:function(pe){var ae=pe.offsetX,re=pe.offsetY,be=this.group.transformCoordToLocal(ae,re);if(ie(this,pe,be),this._dragging){ee(pe);var ze=Se(this,pe,be,!1);ze&&M(this,ze)}},mouseup:function(pe){Ye(this,pe)}};function Ye(pe,ae){if(pe._dragging){ee(ae);var re=ae.offsetX,be=ae.offsetY,ze=pe.group.transformCoordToLocal(re,be),Ke=Se(pe,ae,ze,!0);pe._dragging=!1,pe._track=[],pe._creatingCover=null,Ke&&M(pe,Ke)}}function nt(pe,ae,re){var be=pe._zr;return ae<0||ae>be.getWidth()||re<0||re>be.getHeight()}var je={lineX:et(0),lineY:et(1),rect:{createCover:function(pe,ae){return H(h(te,function(re){return re},function(re){return re}),pe,ae,["w","e","n","s","se","sw","ne","nw"])},getCreatingRange:function(pe){var ae=j(pe);return Z(ae[1][0],ae[1][1],ae[0][0],ae[0][1])},updateCoverShape:function(pe,ae,re,be){K(pe,ae,re,be)},updateCommon:W,contain:Ze},polygon:{createCover:function(pe,ae){var re=new C.Group;return re.add(new C.Polyline({name:"main",style:V(ae),silent:!0})),re},getCreatingRange:function(pe){return pe},endCreating:function(pe,ae){ae.remove(ae.childAt(0)),ae.add(new C.Polygon({name:"main",draggable:!0,drift:h(se,pe,ae),ondragend:h(M,pe,{isEnd:!0})}))},updateCoverShape:function(pe,ae,re,be){ae.childAt(0).setShape({points:he(pe,ae,re)})},updateCommon:W,contain:Ze}};function et(pe){return{createCover:function(ae,re){return H(h(te,function(be){var ze=[be,[0,100]];return pe&&ze.reverse(),ze},function(be){return be[pe]}),ae,re,[["w","e"],["n","s"]][pe])},getCreatingRange:function(ae){var re=j(ae),be=s(re[0][pe],re[1][pe]),ze=l(re[0][pe],re[1][pe]);return[be,ze]},updateCoverShape:function(ae,re,be,ze){var Ke,Te=U(ae,re);if(Te!==!0&&Te.getLinearBrushOtherExtent)Ke=Te.getLinearBrushOtherExtent(pe,ae._transform);else{var gt=ae._zr;Ke=[0,[gt.getWidth(),gt.getHeight()][1-pe]]}var Ue=[be,Ke];pe&&Ue.reverse(),K(ae,re,Ue,ze)},updateCommon:W,contain:Ze}}var He=g;ue.exports=He},"/MfK":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="DeleteOutlined";var p=z.a=_.forwardRef(t)},"/POA":function(ue,z,d){!function(O,_){if(!0)ue.exports=_();else var I,E}(window,function(){return function(O){var _={};function I(E){if(_[E])return _[E].exports;var C=_[E]={i:E,l:!1,exports:{}};return O[E].call(C.exports,C,C.exports,I),C.l=!0,C.exports}return I.m=O,I.c=_,I.d=function(E,C,t){I.o(E,C)||Object.defineProperty(E,C,{enumerable:!0,get:t})},I.r=function(E){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},I.t=function(E,C){if(1&C&&(E=I(E)),8&C)return E;if(4&C&&typeof E=="object"&&E&&E.__esModule)return E;var t=Object.create(null);if(I.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:E}),2&C&&typeof E!="string")for(var p in E)I.d(t,p,function(h){return E[h]}.bind(null,p));return t},I.n=function(E){var C=E&&E.__esModule?function(){return E.default}:function(){return E};return I.d(C,"a",C),C},I.o=function(E,C){return Object.prototype.hasOwnProperty.call(E,C)},I.p="",I(I.s=34)}([function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.forwardEvent=_.EventEmitter=void 0;var E=function(){function C(){this._listeners=[],this._disposed=!1}return Object.defineProperty(C.prototype,"event",{get:function(){var p=this;return this._event||(this._event=function(h){return p._listeners.push(h),{dispose:function(){if(!p._disposed){for(var r=0;r<p._listeners.length;r++)if(p._listeners[r]===h)return void p._listeners.splice(r,1)}}}}),this._event},enumerable:!1,configurable:!0}),C.prototype.fire=function(t,p){for(var h=[],o=0;o<this._listeners.length;o++)h.push(this._listeners[o]);for(o=0;o<h.length;o++)h[o].call(void 0,t,p)},C.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},C}();_.EventEmitter=E,_.forwardEvent=function(C,t){return C(function(p){return t.fire(p)})}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.IUnicodeService=_.IOptionsService=_.ILogService=_.IInstantiationService=_.IDirtyRowService=_.ICharsetService=_.ICoreService=_.ICoreMouseService=_.IBufferService=void 0;var E=I(14);_.IBufferService=E.createDecorator("BufferService"),_.ICoreMouseService=E.createDecorator("CoreMouseService"),_.ICoreService=E.createDecorator("CoreService"),_.ICharsetService=E.createDecorator("CharsetService"),_.IDirtyRowService=E.createDecorator("DirtyRowService"),_.IInstantiationService=E.createDecorator("InstantiationService"),_.ILogService=E.createDecorator("LogService"),_.IOptionsService=E.createDecorator("OptionsService"),_.IUnicodeService=E.createDecorator("UnicodeService")},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.getDisposeArrayDisposable=_.disposeArray=_.Disposable=void 0;var E=function(){function t(){this._disposables=[],this._isDisposed=!1}return t.prototype.dispose=function(){this._isDisposed=!0;for(var p=0,h=this._disposables;p<h.length;p++)h[p].dispose();this._disposables.length=0},t.prototype.register=function(p){return this._disposables.push(p),p},t.prototype.unregister=function(p){var h=this._disposables.indexOf(p);h!==-1&&this._disposables.splice(h,1)},t}();function C(t){for(var p=0,h=t;p<h.length;p++)h[p].dispose();t.length=0}_.Disposable=E,_.disposeArray=C,_.getDisposeArrayDisposable=function(t){return{dispose:function(){return C(t)}}}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.WHITESPACE_CELL_CODE=_.WHITESPACE_CELL_WIDTH=_.WHITESPACE_CELL_CHAR=_.NULL_CELL_CODE=_.NULL_CELL_WIDTH=_.NULL_CELL_CHAR=_.CHAR_DATA_CODE_INDEX=_.CHAR_DATA_WIDTH_INDEX=_.CHAR_DATA_CHAR_INDEX=_.CHAR_DATA_ATTR_INDEX=_.DEFAULT_ATTR=_.DEFAULT_COLOR=void 0,_.DEFAULT_COLOR=256,_.DEFAULT_ATTR=256|_.DEFAULT_COLOR<<9,_.CHAR_DATA_ATTR_INDEX=0,_.CHAR_DATA_CHAR_INDEX=1,_.CHAR_DATA_WIDTH_INDEX=2,_.CHAR_DATA_CODE_INDEX=3,_.NULL_CELL_CHAR="",_.NULL_CELL_WIDTH=1,_.NULL_CELL_CODE=0,_.WHITESPACE_CELL_CHAR=" ",_.WHITESPACE_CELL_WIDTH=1,_.WHITESPACE_CELL_CODE=32},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(s,l){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,c){n.__proto__=c}||function(n,c){for(var e in c)c.hasOwnProperty(e)&&(n[e]=c[e])})(s,l)},function(r,s){function l(){this.constructor=r}E(r,s),r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)});Object.defineProperty(_,"__esModule",{value:!0}),_.CellData=void 0;var t=I(8),p=I(3),h=I(6),o=function(r){function s(){var l=r!==null&&r.apply(this,arguments)||this;return l.content=0,l.fg=0,l.bg=0,l.extended=new h.ExtendedAttrs,l.combinedData="",l}return C(s,r),s.fromCharData=function(l){var n=new s;return n.setFromCharData(l),n},s.prototype.isCombined=function(){return 2097152&this.content},s.prototype.getWidth=function(){return this.content>>22},s.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?t.stringFromCodePoint(2097151&this.content):""},s.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},s.prototype.setFromCharData=function(l){this.fg=l[p.CHAR_DATA_ATTR_INDEX],this.bg=0;var n=!1;if(l[p.CHAR_DATA_CHAR_INDEX].length>2)n=!0;else if(l[p.CHAR_DATA_CHAR_INDEX].length===2){var c=l[p.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=c&&c<=56319){var e=l[p.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=e&&e<=57343?this.content=1024*(c-55296)+e-56320+65536|l[p.CHAR_DATA_WIDTH_INDEX]<<22:n=!0}else n=!0}else this.content=l[p.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|l[p.CHAR_DATA_WIDTH_INDEX]<<22;n&&(this.combinedData=l[p.CHAR_DATA_CHAR_INDEX],this.content=2097152|l[p.CHAR_DATA_WIDTH_INDEX]<<22)},s.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},s}(h.AttributeData);_.CellData=o},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ISoundService=_.ISelectionService=_.IRenderService=_.IMouseService=_.ICoreBrowserService=_.ICharSizeService=void 0;var E=I(14);_.ICharSizeService=E.createDecorator("CharSizeService"),_.ICoreBrowserService=E.createDecorator("CoreBrowserService"),_.IMouseService=E.createDecorator("MouseService"),_.IRenderService=E.createDecorator("RenderService"),_.ISelectionService=E.createDecorator("SelectionService"),_.ISoundService=E.createDecorator("SoundService")},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ExtendedAttrs=_.AttributeData=void 0;var E=function(){function t(){this.fg=0,this.bg=0,this.extended=new C}return t.toColorRGB=function(p){return[p>>>16&255,p>>>8&255,255&p]},t.fromColorRGB=function(p){return(255&p[0])<<16|(255&p[1])<<8|255&p[2]},t.prototype.clone=function(){var p=new t;return p.fg=this.fg,p.bg=this.bg,p.extended=this.extended.clone(),p},t.prototype.isInverse=function(){return 67108864&this.fg},t.prototype.isBold=function(){return 134217728&this.fg},t.prototype.isUnderline=function(){return 268435456&this.fg},t.prototype.isBlink=function(){return 536870912&this.fg},t.prototype.isInvisible=function(){return 1073741824&this.fg},t.prototype.isItalic=function(){return 67108864&this.bg},t.prototype.isDim=function(){return 134217728&this.bg},t.prototype.getFgColorMode=function(){return 50331648&this.fg},t.prototype.getBgColorMode=function(){return 50331648&this.bg},t.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},t.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},t.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},t.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},t.prototype.isFgDefault=function(){return(50331648&this.fg)==0},t.prototype.isBgDefault=function(){return(50331648&this.bg)==0},t.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},t.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},t.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},t.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},t.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},t.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()},t.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},t.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},t.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},t.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},t.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},t}();_.AttributeData=E;var C=function(){function t(p,h){p===void 0&&(p=0),h===void 0&&(h=-1),this.underlineStyle=p,this.underlineColor=h}return t.prototype.clone=function(){return new t(this.underlineStyle,this.underlineColor)},t.prototype.isEmpty=function(){return this.underlineStyle===0},t}();_.ExtendedAttrs=C},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.addDisposableDomListener=void 0,_.addDisposableDomListener=function(E,C,t,p){E.addEventListener(C,t,p);var h=!1;return{dispose:function(){h||(h=!0,E.removeEventListener(C,t,p))}}}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Utf8ToUtf32=_.StringToUtf32=_.utf32ToString=_.stringFromCodePoint=void 0,_.stringFromCodePoint=function(t){return t>65535?(t-=65536,String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):String.fromCharCode(t)},_.utf32ToString=function(t,p,h){p===void 0&&(p=0),h===void 0&&(h=t.length);for(var o="",r=p;r<h;++r){var s=t[r];s>65535?(s-=65536,o+=String.fromCharCode(55296+(s>>10))+String.fromCharCode(s%1024+56320)):o+=String.fromCharCode(s)}return o};var E=function(){function t(){this._interim=0}return t.prototype.clear=function(){this._interim=0},t.prototype.decode=function(p,h){var o=p.length;if(!o)return 0;var r=0,s=0;this._interim&&(56320<=(c=p.charCodeAt(s++))&&c<=57343?h[r++]=1024*(this._interim-55296)+c-56320+65536:(h[r++]=this._interim,h[r++]=c),this._interim=0);for(var l=s;l<o;++l){var n=p.charCodeAt(l);if(55296<=n&&n<=56319){if(++l>=o)return this._interim=n,r;var c;56320<=(c=p.charCodeAt(l))&&c<=57343?h[r++]=1024*(n-55296)+c-56320+65536:(h[r++]=n,h[r++]=c)}else h[r++]=n}return r},t}();_.StringToUtf32=E;var C=function(){function t(){this.interim=new Uint8Array(3)}return t.prototype.clear=function(){this.interim.fill(0)},t.prototype.decode=function(p,h){var o=p.length;if(!o)return 0;var r,s,l,n,c=0,e=0,a=0;if(this.interim[0]){var i=!1,u=this.interim[0];u&=(224&u)==192?31:(240&u)==224?15:7;for(var f=0,m=void 0;(m=63&this.interim[++f])&&f<4;)u<<=6,u|=m;for(var A=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,g=A-f;a<g;){if(a>=o)return 0;if((192&(m=p[a++]))!=128){a--,i=!0;break}this.interim[f++]=m,u<<=6,u|=63&m}i||(A===2?u<128?a--:h[c++]=u:A===3?u<2048||u>=55296&&u<=57343||(h[c++]=u):u<65536||u>1114111||(h[c++]=u)),this.interim.fill(0)}for(var v=o-4,b=a;b<o;){for(;!(!(b<v)||128&(r=p[b])||128&(s=p[b+1])||128&(l=p[b+2])||128&(n=p[b+3]));)h[c++]=r,h[c++]=s,h[c++]=l,h[c++]=n,b+=4;if((r=p[b++])<128)h[c++]=r;else if((224&r)==192){if(b>=o)return this.interim[0]=r,c;if((192&(s=p[b++]))!=128){b--;continue}if((e=(31&r)<<6|63&s)<128){b--;continue}h[c++]=e}else if((240&r)==224){if(b>=o)return this.interim[0]=r,c;if((192&(s=p[b++]))!=128){b--;continue}if(b>=o)return this.interim[0]=r,this.interim[1]=s,c;if((192&(l=p[b++]))!=128){b--;continue}if((e=(15&r)<<12|(63&s)<<6|63&l)<2048||e>=55296&&e<=57343)continue;h[c++]=e}else if((248&r)==240){if(b>=o)return this.interim[0]=r,c;if((192&(s=p[b++]))!=128){b--;continue}if(b>=o)return this.interim[0]=r,this.interim[1]=s,c;if((192&(l=p[b++]))!=128){b--;continue}if(b>=o)return this.interim[0]=r,this.interim[1]=s,this.interim[2]=l,c;if((192&(n=p[b++]))!=128){b--;continue}if((e=(7&r)<<18|(63&s)<<12|(63&l)<<6|63&n)<65536||e>1114111)continue;h[c++]=e}}return c},t}();_.Utf8ToUtf32=C},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CHAR_ATLAS_CELL_SPACING=_.DIM_OPACITY=_.INVERTED_DEFAULT_COLOR=void 0,_.INVERTED_DEFAULT_COLOR=257,_.DIM_OPACITY=.5,_.CHAR_ATLAS_CELL_SPACING=1},function(O,_,I){"use strict";var E,C,t,p;function h(r){var s=r.toString(16);return s.length<2?"0"+s:s}function o(r,s){return r<s?(s+.05)/(r+.05):(r+.05)/(s+.05)}Object.defineProperty(_,"__esModule",{value:!0}),_.contrastRatio=_.toPaddedHex=_.rgba=_.rgb=_.css=_.color=_.channels=void 0,function(r){r.toCss=function(s,l,n,c){return c!==void 0?"#"+h(s)+h(l)+h(n)+h(c):"#"+h(s)+h(l)+h(n)},r.toRgba=function(s,l,n,c){return c===void 0&&(c=255),(s<<24|l<<16|n<<8|c)>>>0}}(E=_.channels||(_.channels={})),(C=_.color||(_.color={})).blend=function(r,s){var l=(255&s.rgba)/255;if(l===1)return{css:s.css,rgba:s.rgba};var n=s.rgba>>24&255,c=s.rgba>>16&255,e=s.rgba>>8&255,a=r.rgba>>24&255,i=r.rgba>>16&255,u=r.rgba>>8&255,f=a+Math.round((n-a)*l),m=i+Math.round((c-i)*l),A=u+Math.round((e-u)*l);return{css:E.toCss(f,m,A),rgba:E.toRgba(f,m,A)}},C.isOpaque=function(r){return(255&r.rgba)==255},C.ensureContrastRatio=function(r,s,l){var n=p.ensureContrastRatio(r.rgba,s.rgba,l);if(n)return p.toColor(n>>24&255,n>>16&255,n>>8&255)},C.opaque=function(r){var s=(255|r.rgba)>>>0,l=p.toChannels(s),n=l[0],c=l[1],e=l[2];return{css:E.toCss(n,c,e),rgba:s}},C.opacity=function(r,s){var l=Math.round(255*s),n=p.toChannels(r.rgba),c=n[0],e=n[1],a=n[2];return{css:E.toCss(c,e,a,l),rgba:E.toRgba(c,e,a,l)}},(_.css||(_.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 s(l,n,c){var e=l/255,a=n/255,i=c/255;return .2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))}r.relativeLuminance=function(l){return s(l>>16&255,l>>8&255,255&l)},r.relativeLuminance2=s}(t=_.rgb||(_.rgb={})),function(r){function s(n,c,e){for(var a=n>>24&255,i=n>>16&255,u=n>>8&255,f=c>>24&255,m=c>>16&255,A=c>>8&255,g=o(t.relativeLuminance2(f,A,m),t.relativeLuminance2(a,i,u));g<e&&(f>0||m>0||A>0);)f-=Math.max(0,Math.ceil(.1*f)),m-=Math.max(0,Math.ceil(.1*m)),A-=Math.max(0,Math.ceil(.1*A)),g=o(t.relativeLuminance2(f,A,m),t.relativeLuminance2(a,i,u));return(f<<24|m<<16|A<<8|255)>>>0}function l(n,c,e){for(var a=n>>24&255,i=n>>16&255,u=n>>8&255,f=c>>24&255,m=c>>16&255,A=c>>8&255,g=o(t.relativeLuminance2(f,A,m),t.relativeLuminance2(a,i,u));g<e&&(f<255||m<255||A<255);)f=Math.min(255,f+Math.ceil(.1*(255-f))),m=Math.min(255,m+Math.ceil(.1*(255-m))),A=Math.min(255,A+Math.ceil(.1*(255-A))),g=o(t.relativeLuminance2(f,A,m),t.relativeLuminance2(a,i,u));return(f<<24|m<<16|A<<8|255)>>>0}r.ensureContrastRatio=function(n,c,e){var a=t.relativeLuminance(n>>8),i=t.relativeLuminance(c>>8);if(o(a,i)<e)return i<a?s(n,c,e):l(n,c,e)},r.reduceLuminance=s,r.increaseLuminance=l,r.toChannels=function(n){return[n>>24&255,n>>16&255,n>>8&255,255&n]},r.toColor=function(n,c,e){return{css:E.toCss(n,c,e),rgba:E.toRgba(n,c,e)}}}(p=_.rgba||(_.rgba={})),_.toPaddedHex=h,_.contrastRatio=o},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.isLinux=_.isWindows=_.isIphone=_.isIpad=_.isMac=_.isSafari=_.isFirefox=void 0;var E=typeof navigator=="undefined",C=E?"node":navigator.userAgent,t=E?"node":navigator.platform;function p(h,o){return h.indexOf(o)>=0}_.isFirefox=!!~C.indexOf("Firefox"),_.isSafari=/^((?!chrome|android).)*safari/i.test(C),_.isMac=p(["Macintosh","MacIntel","MacPPC","Mac68K"],t),_.isIpad=t==="iPad",_.isIphone=t==="iPhone",_.isWindows=p(["Windows","Win16","Win32","WinCE"],t),_.isLinux=t.indexOf("Linux")>=0},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.C1=_.C0=void 0,function(E){E.NUL="\0",E.SOH="",E.STX="",E.ETX="",E.EOT="",E.ENQ="",E.ACK="",E.BEL="\x07",E.BS="\b",E.HT=" ",E.LF=`
`,E.VT="\v",E.FF="\f",E.CR="\r",E.SO="",E.SI="",E.DLE="",E.DC1="",E.DC2="",E.DC3="",E.DC4="",E.NAK="",E.SYN="",E.ETB="",E.CAN="",E.EM="",E.SUB="",E.ESC="",E.FS="",E.GS="",E.RS="",E.US="",E.SP=" ",E.DEL="\x7F"}(_.C0||(_.C0={})),function(E){E.PAD="\x80",E.HOP="\x81",E.BPH="\x82",E.NBH="\x83",E.IND="\x84",E.NEL="\x85",E.SSA="\x86",E.ESA="\x87",E.HTS="\x88",E.HTJ="\x89",E.VTS="\x8A",E.PLD="\x8B",E.PLU="\x8C",E.RI="\x8D",E.SS2="\x8E",E.SS3="\x8F",E.DCS="\x90",E.PU1="\x91",E.PU2="\x92",E.STS="\x93",E.CCH="\x94",E.MW="\x95",E.SPA="\x96",E.EPA="\x97",E.SOS="\x98",E.SGCI="\x99",E.SCI="\x9A",E.CSI="\x9B",E.ST="\x9C",E.OSC="\x9D",E.PM="\x9E",E.APC="\x9F"}(_.C1||(_.C1={}))},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BaseRenderLayer=void 0;var E=I(3),C=I(9),t=I(25),p=I(6),h=I(28),o=I(10),r=I(17),s=function(){function l(n,c,e,a,i,u,f,m){this._container=n,this._alpha=a,this._colors=i,this._rendererId=u,this._bufferService=f,this._optionsService=m,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-"+c+"-layer"),this._canvas.style.zIndex=e.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return l.prototype.dispose=function(){var n;r.removeElementFromParent(this._canvas),(n=this._charAtlas)===null||n===void 0||n.dispose()},l.prototype._initCanvas=function(){this._ctx=h.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},l.prototype.onOptionsChanged=function(){},l.prototype.onBlur=function(){},l.prototype.onFocus=function(){},l.prototype.onCursorMove=function(){},l.prototype.onGridChanged=function(n,c){},l.prototype.onSelectionChanged=function(n,c,e){e===void 0&&(e=!1)},l.prototype.setColors=function(n){this._refreshCharAtlas(n)},l.prototype._setTransparency=function(n){if(n!==this._alpha){var c=this._canvas;this._alpha=n,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,c),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},l.prototype._refreshCharAtlas=function(n){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=t.acquireCharAtlas(this._optionsService.options,this._rendererId,n,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},l.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)},l.prototype._fillCells=function(n,c,e,a){this._ctx.fillRect(n*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight)},l.prototype._fillBottomLineAtCells=function(n,c,e){e===void 0&&(e=1),this._ctx.fillRect(n*this._scaledCellWidth,(c+1)*this._scaledCellHeight-window.devicePixelRatio-1,e*this._scaledCellWidth,window.devicePixelRatio)},l.prototype._fillLeftLineAtCell=function(n,c,e){this._ctx.fillRect(n*this._scaledCellWidth,c*this._scaledCellHeight,window.devicePixelRatio*e,this._scaledCellHeight)},l.prototype._strokeRectAtCell=function(n,c,e,a){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(n*this._scaledCellWidth+window.devicePixelRatio/2,c*this._scaledCellHeight+window.devicePixelRatio/2,e*this._scaledCellWidth-window.devicePixelRatio,a*this._scaledCellHeight-window.devicePixelRatio)},l.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))},l.prototype._clearCells=function(n,c,e,a){this._alpha?this._ctx.clearRect(n*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(n*this._scaledCellWidth,c*this._scaledCellHeight,e*this._scaledCellWidth,a*this._scaledCellHeight))},l.prototype._fillCharTrueColor=function(n,c,e){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(e),this._ctx.fillText(n.getChars(),c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},l.prototype._drawChars=function(n,c,e){var a,i,u=this._getContrastColor(n);u||n.isFgRGB()||n.isBgRGB()?this._drawUncachedChars(n,c,e,u):(n.isInverse()?(a=n.isBgDefault()?C.INVERTED_DEFAULT_COLOR:n.getBgColor(),i=n.isFgDefault()?C.INVERTED_DEFAULT_COLOR:n.getFgColor()):(i=n.isBgDefault()?E.DEFAULT_COLOR:n.getBgColor(),a=n.isFgDefault()?E.DEFAULT_COLOR:n.getFgColor()),a+=this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&a<8?8:0,this._currentGlyphIdentifier.chars=n.getChars()||E.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=n.getCode()||E.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=i,this._currentGlyphIdentifier.fg=a,this._currentGlyphIdentifier.bold=!!n.isBold(),this._currentGlyphIdentifier.dim=!!n.isDim(),this._currentGlyphIdentifier.italic=!!n.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(n,c,e))},l.prototype._drawUncachedChars=function(n,c,e,a){if(this._ctx.save(),this._ctx.font=this._getFont(!!n.isBold(),!!n.isItalic()),this._ctx.textBaseline="middle",n.isInverse())if(a)this._ctx.fillStyle=a.css;else if(n.isBgDefault())this._ctx.fillStyle=o.color.opaque(this._colors.background).css;else if(n.isBgRGB())this._ctx.fillStyle="rgb("+p.AttributeData.toColorRGB(n.getBgColor()).join(",")+")";else{var i=n.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&i<8&&(i+=8),this._ctx.fillStyle=this._colors.ansi[i].css}else if(a)this._ctx.fillStyle=a.css;else if(n.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(n.isFgRGB())this._ctx.fillStyle="rgb("+p.AttributeData.toColorRGB(n.getFgColor()).join(",")+")";else{var u=n.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&n.isBold()&&u<8&&(u+=8),this._ctx.fillStyle=this._colors.ansi[u].css}this._clipRow(e),n.isDim()&&(this._ctx.globalAlpha=C.DIM_OPACITY),this._ctx.fillText(n.getChars(),c*this._scaledCellWidth+this._scaledCharLeft,e*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},l.prototype._clipRow=function(n){this._ctx.beginPath(),this._ctx.rect(0,n*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},l.prototype._getFont=function(n,c){return(c?"italic":"")+" "+(n?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},l.prototype._getContrastColor=function(n){if(this._optionsService.options.minimumContrastRatio!==1){var c=this._colors.contrastCache.getColor(n.bg,n.fg);if(c!==void 0)return c||void 0;var e=n.getFgColor(),a=n.getFgColorMode(),i=n.getBgColor(),u=n.getBgColorMode(),f=!!n.isInverse(),m=!!n.isInverse();if(f){var A=e;e=i,i=A;var g=a;a=u,u=g}var v=this._resolveBackgroundRgba(u,i,f),b=this._resolveForegroundRgba(a,e,f,m),S=o.rgba.ensureContrastRatio(v,b,this._optionsService.options.minimumContrastRatio);if(S){var y={css:o.channels.toCss(S>>24&255,S>>16&255,S>>8&255),rgba:S};return this._colors.contrastCache.setColor(n.bg,n.fg,y),y}this._colors.contrastCache.setColor(n.bg,n.fg,null)}},l.prototype._resolveBackgroundRgba=function(n,c,e){switch(n){case 16777216:case 33554432:return this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.foreground.rgba:this._colors.background.rgba}},l.prototype._resolveForegroundRgba=function(n,c,e,a){switch(n){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&a&&c<8&&(c+=8),this._colors.ansi[c].rgba;case 50331648:return c<<8;case 0:default:return e?this._colors.background.rgba:this._colors.foreground.rgba}},l}();_.BaseRenderLayer=s},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.createDecorator=_.getServiceDependencies=_.serviceRegistry=void 0;function E(C,t,p){t.di$target===t?t.di$dependencies.push({id:C,index:p}):(t.di$dependencies=[{id:C,index:p}],t.di$target=t)}_.serviceRegistry=new Map,_.getServiceDependencies=function(C){return C.di$dependencies||[]},_.createDecorator=function(C){if(_.serviceRegistry.has(C))return _.serviceRegistry.get(C);var t=function p(h,o,r){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");E(p,h,r)};return t.toString=function(){return C},_.serviceRegistry.set(C,t),t}},function(O,_,I){"use strict";function E(C,t,p,h){if(p===void 0&&(p=0),h===void 0&&(h=C.length),p>=C.length)return C;p=(C.length+p)%C.length,h=h>=C.length?C.length:(C.length+h)%C.length;for(var o=p;o<h;++o)C[o]=t;return C}Object.defineProperty(_,"__esModule",{value:!0}),_.concat=_.fillFallback=_.fill=void 0,_.fill=function(C,t,p,h){return C.fill?C.fill(t,p,h):E(C,t,p,h)},_.fillFallback=E,_.concat=function(C,t){var p=new C.constructor(C.length+t.length);return p.set(C),p.set(t,C.length),p}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BufferLine=_.DEFAULT_ATTR_DATA=void 0;var E=I(8),C=I(3),t=I(4),p=I(6);_.DEFAULT_ATTR_DATA=Object.freeze(new p.AttributeData);var h=function(){function o(r,s,l){l===void 0&&(l=!1),this.isWrapped=l,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*r);for(var n=s||t.CellData.fromCharData([0,C.NULL_CELL_CHAR,C.NULL_CELL_WIDTH,C.NULL_CELL_CODE]),c=0;c<r;++c)this.setCell(c,n);this.length=r}return o.prototype.get=function(r){var s=this._data[3*r+0],l=2097151&s;return[this._data[3*r+1],2097152&s?this._combined[r]:l?E.stringFromCodePoint(l):"",s>>22,2097152&s?this._combined[r].charCodeAt(this._combined[r].length-1):l]},o.prototype.set=function(r,s){this._data[3*r+1]=s[C.CHAR_DATA_ATTR_INDEX],s[C.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[r]=s[1],this._data[3*r+0]=2097152|r|s[C.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*r+0]=s[C.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|s[C.CHAR_DATA_WIDTH_INDEX]<<22},o.prototype.getWidth=function(r){return this._data[3*r+0]>>22},o.prototype.hasWidth=function(r){return 12582912&this._data[3*r+0]},o.prototype.getFg=function(r){return this._data[3*r+1]},o.prototype.getBg=function(r){return this._data[3*r+2]},o.prototype.hasContent=function(r){return 4194303&this._data[3*r+0]},o.prototype.getCodePoint=function(r){var s=this._data[3*r+0];return 2097152&s?this._combined[r].charCodeAt(this._combined[r].length-1):2097151&s},o.prototype.isCombined=function(r){return 2097152&this._data[3*r+0]},o.prototype.getString=function(r){var s=this._data[3*r+0];return 2097152&s?this._combined[r]:2097151&s?E.stringFromCodePoint(2097151&s):""},o.prototype.loadCell=function(r,s){var l=3*r;return s.content=this._data[l+0],s.fg=this._data[l+1],s.bg=this._data[l+2],2097152&s.content&&(s.combinedData=this._combined[r]),268435456&s.bg&&(s.extended=this._extendedAttrs[r]),s},o.prototype.setCell=function(r,s){2097152&s.content&&(this._combined[r]=s.combinedData),268435456&s.bg&&(this._extendedAttrs[r]=s.extended),this._data[3*r+0]=s.content,this._data[3*r+1]=s.fg,this._data[3*r+2]=s.bg},o.prototype.setCellFromCodePoint=function(r,s,l,n,c,e){268435456&c&&(this._extendedAttrs[r]=e),this._data[3*r+0]=s|l<<22,this._data[3*r+1]=n,this._data[3*r+2]=c},o.prototype.addCodepointToCell=function(r,s){var l=this._data[3*r+0];2097152&l?this._combined[r]+=E.stringFromCodePoint(s):(2097151&l?(this._combined[r]=E.stringFromCodePoint(2097151&l)+E.stringFromCodePoint(s),l&=-2097152,l|=2097152):l=s|1<<22,this._data[3*r+0]=l)},o.prototype.insertCells=function(r,s,l,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 p.ExtendedAttrs),s<this.length-r){for(var c=new t.CellData,e=this.length-r-s-1;e>=0;--e)this.setCell(r+s+e,this.loadCell(r+e,c));for(e=0;e<s;++e)this.setCell(r+e,l)}else for(e=r;e<this.length;++e)this.setCell(e,l);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 p.ExtendedAttrs)},o.prototype.deleteCells=function(r,s,l,n){if(r%=this.length,s<this.length-r){for(var c=new t.CellData,e=0;e<this.length-r-s;++e)this.setCell(r+e,this.loadCell(r+s+e,c));for(e=this.length-s;e<this.length;++e)this.setCell(e,l)}else for(e=r;e<this.length;++e)this.setCell(e,l);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 p.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 p.ExtendedAttrs)},o.prototype.replaceCells=function(r,s,l,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 p.ExtendedAttrs),s<this.length&&this.getWidth(s-1)===2&&this.setCellFromCodePoint(s,0,1,(n==null?void 0:n.fg)||0,(n==null?void 0:n.bg)||0,(n==null?void 0:n.extended)||new p.ExtendedAttrs);r<s&&r<this.length;)this.setCell(r++,l)},o.prototype.resize=function(r,s){if(r!==this.length){if(r>this.length){var l=new Uint32Array(3*r);this.length&&(3*r<this._data.length?l.set(this._data.subarray(0,3*r)):l.set(this._data)),this._data=l;for(var n=this.length;n<r;++n)this.setCell(n,s)}else if(r){(l=new Uint32Array(3*r)).set(this._data.subarray(0,3*r)),this._data=l;var c=Object.keys(this._combined);for(n=0;n<c.length;n++){var e=parseInt(c[n],10);e>=r&&delete this._combined[e]}}else this._data=new Uint32Array(0),this._combined={};this.length=r}},o.prototype.fill=function(r){this._combined={},this._extendedAttrs={};for(var s=0;s<this.length;++s)this.setCell(s,r)},o.prototype.copyFrom=function(r){for(var s 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[s]=r._combined[s];for(var s in this._extendedAttrs={},r._extendedAttrs)this._extendedAttrs[s]=r._extendedAttrs[s];this.isWrapped=r.isWrapped},o.prototype.clone=function(){var r=new o(0);for(var s in r._data=new Uint32Array(this._data),r.length=this.length,this._combined)r._combined[s]=this._combined[s];for(var s in this._extendedAttrs)r._extendedAttrs[s]=this._extendedAttrs[s];return r.isWrapped=this.isWrapped,r},o.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},o.prototype.copyCellsFrom=function(r,s,l,n,c){var e=r._data;if(c)for(var a=n-1;a>=0;a--)for(var i=0;i<3;i++)this._data[3*(l+a)+i]=e[3*(s+a)+i];else for(a=0;a<n;a++)for(i=0;i<3;i++)this._data[3*(l+a)+i]=e[3*(s+a)+i];var u=Object.keys(r._combined);for(i=0;i<u.length;i++){var f=parseInt(u[i],10);f>=s&&(this._combined[f-s+l]=r._combined[f])}},o.prototype.translateToString=function(r,s,l){r===void 0&&(r=!1),s===void 0&&(s=0),l===void 0&&(l=this.length),r&&(l=Math.min(l,this.getTrimmedLength()));for(var n="";s<l;){var c=this._data[3*s+0],e=2097151&c;n+=2097152&c?this._combined[s]:e?E.stringFromCodePoint(e):C.WHITESPACE_CELL_CHAR,s+=c>>22||1}return n},o}();_.BufferLine=h},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeElementFromParent=void 0,_.removeElementFromParent=function(){for(var E,C=[],t=0;t<arguments.length;t++)C[t]=arguments[t];for(var p=0,h=C;p<h.length;p++){var o=h[p];(E=o==null?void 0:o.parentElement)===null||E===void 0||E.removeChild(o)}}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.tooMuchOutput=_.promptLabel=void 0,_.promptLabel="Terminal input",_.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(S,y){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,x){w.__proto__=x}||function(w,x){for(var T in x)x.hasOwnProperty(T)&&(w[T]=x[T])})(S,y)},function(b,S){function y(){this.constructor=b}E(b,S),b.prototype=S===null?Object.create(S):(y.prototype=S.prototype,new y)});Object.defineProperty(_,"__esModule",{value:!0}),_.InputHandler=_.WindowsOptionsReportType=void 0;var t,p=I(12),h=I(20),o=I(39),r=I(2),s=I(15),l=I(8),n=I(16),c=I(0),e=I(3),a=I(4),i=I(6),u=I(22),f=I(24),m={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function A(b,S){if(b>24)return S.setWinLines||!1;switch(b){case 1:return!!S.restoreWin;case 2:return!!S.minimizeWin;case 3:return!!S.setWinPosition;case 4:return!!S.setWinSizePixels;case 5:return!!S.raiseWin;case 6:return!!S.lowerWin;case 7:return!!S.refreshWin;case 8:return!!S.setWinSizeChars;case 9:return!!S.maximizeWin;case 10:return!!S.fullscreenWin;case 11:return!!S.getWinState;case 13:return!!S.getWinPosition;case 14:return!!S.getWinSizePixels;case 15:return!!S.getScreenSizePixels;case 16:return!!S.getCellSizePixels;case 18:return!!S.getWinSizeChars;case 19:return!!S.getScreenSizeChars;case 20:return!!S.getIconTitle;case 21:return!!S.getWinTitle;case 22:return!!S.pushTitle;case 23:return!!S.popTitle;case 24:return!!S.setWinLines}return!1}!function(b){b[b.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",b[b.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"}(t=_.WindowsOptionsReportType||(_.WindowsOptionsReportType={}));var g=function(){function b(S,y,w,x){this._bufferService=S,this._coreService=y,this._logService=w,this._optionsService=x,this._data=new Uint32Array(0)}return b.prototype.hook=function(S){this._data=new Uint32Array(0)},b.prototype.put=function(S,y,w){this._data=s.concat(this._data,S.subarray(y,w))},b.prototype.unhook=function(S){if(S){var y=l.utf32ToString(this._data);switch(this._data=new Uint32Array(0),y){case'"q':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r0"q'+p.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(p.C0.ESC+'P1$r61;1"p'+p.C0.ESC+"\\");case"r":var w=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+w+p.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(p.C0.ESC+"P1$r0m"+p.C0.ESC+"\\");case" q":var x={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return x-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(p.C0.ESC+"P1$r"+x+" q"+p.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",y),this._coreService.triggerDataEvent(p.C0.ESC+"P0$r"+p.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},b}(),v=function(b){function S(y,w,x,T,L,R,P,k,U){U===void 0&&(U=new o.EscapeSequenceParser);var D=b.call(this)||this;D._bufferService=y,D._charsetService=w,D._coreService=x,D._dirtyRowService=T,D._logService=L,D._optionsService=R,D._coreMouseService=P,D._unicodeService=k,D._parser=U,D._parseBuffer=new Uint32Array(4096),D._stringDecoder=new l.StringToUtf32,D._utf8Decoder=new l.Utf8ToUtf32,D._workCell=new a.CellData,D._windowTitle="",D._iconName="",D._windowTitleStack=[],D._iconNameStack=[],D._curAttrData=n.DEFAULT_ATTR_DATA.clone(),D._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone(),D._onRequestBell=new c.EventEmitter,D._onRequestRefreshRows=new c.EventEmitter,D._onRequestReset=new c.EventEmitter,D._onRequestScroll=new c.EventEmitter,D._onRequestSyncScrollBar=new c.EventEmitter,D._onRequestWindowsOptionsReport=new c.EventEmitter,D._onA11yChar=new c.EventEmitter,D._onA11yTab=new c.EventEmitter,D._onCursorMove=new c.EventEmitter,D._onLineFeed=new c.EventEmitter,D._onScroll=new c.EventEmitter,D._onTitleChange=new c.EventEmitter,D.register(D._parser),D._parser.setCsiHandlerFallback(function(H,K){D._logService.debug("Unknown CSI code: ",{identifier:D._parser.identToString(H),params:K.toArray()})}),D._parser.setEscHandlerFallback(function(H){D._logService.debug("Unknown ESC code: ",{identifier:D._parser.identToString(H)})}),D._parser.setExecuteHandlerFallback(function(H){D._logService.debug("Unknown EXECUTE code: ",{code:H})}),D._parser.setOscHandlerFallback(function(H,K,W){D._logService.debug("Unknown OSC code: ",{identifier:H,action:K,data:W})}),D._parser.setDcsHandlerFallback(function(H,K,W){K==="HOOK"&&(W=W.toArray()),D._logService.debug("Unknown DCS code: ",{identifier:D._parser.identToString(H),action:K,payload:W})}),D._parser.setPrintHandler(function(H,K,W){return D.print(H,K,W)}),D._parser.setCsiHandler({final:"@"},function(H){return D.insertChars(H)}),D._parser.setCsiHandler({intermediates:" ",final:"@"},function(H){return D.scrollLeft(H)}),D._parser.setCsiHandler({final:"A"},function(H){return D.cursorUp(H)}),D._parser.setCsiHandler({intermediates:" ",final:"A"},function(H){return D.scrollRight(H)}),D._parser.setCsiHandler({final:"B"},function(H){return D.cursorDown(H)}),D._parser.setCsiHandler({final:"C"},function(H){return D.cursorForward(H)}),D._parser.setCsiHandler({final:"D"},function(H){return D.cursorBackward(H)}),D._parser.setCsiHandler({final:"E"},function(H){return D.cursorNextLine(H)}),D._parser.setCsiHandler({final:"F"},function(H){return D.cursorPrecedingLine(H)}),D._parser.setCsiHandler({final:"G"},function(H){return D.cursorCharAbsolute(H)}),D._parser.setCsiHandler({final:"H"},function(H){return D.cursorPosition(H)}),D._parser.setCsiHandler({final:"I"},function(H){return D.cursorForwardTab(H)}),D._parser.setCsiHandler({final:"J"},function(H){return D.eraseInDisplay(H)}),D._parser.setCsiHandler({prefix:"?",final:"J"},function(H){return D.eraseInDisplay(H)}),D._parser.setCsiHandler({final:"K"},function(H){return D.eraseInLine(H)}),D._parser.setCsiHandler({prefix:"?",final:"K"},function(H){return D.eraseInLine(H)}),D._parser.setCsiHandler({final:"L"},function(H){return D.insertLines(H)}),D._parser.setCsiHandler({final:"M"},function(H){return D.deleteLines(H)}),D._parser.setCsiHandler({final:"P"},function(H){return D.deleteChars(H)}),D._parser.setCsiHandler({final:"S"},function(H){return D.scrollUp(H)}),D._parser.setCsiHandler({final:"T"},function(H){return D.scrollDown(H)}),D._parser.setCsiHandler({final:"X"},function(H){return D.eraseChars(H)}),D._parser.setCsiHandler({final:"Z"},function(H){return D.cursorBackwardTab(H)}),D._parser.setCsiHandler({final:"`"},function(H){return D.charPosAbsolute(H)}),D._parser.setCsiHandler({final:"a"},function(H){return D.hPositionRelative(H)}),D._parser.setCsiHandler({final:"b"},function(H){return D.repeatPrecedingCharacter(H)}),D._parser.setCsiHandler({final:"c"},function(H){return D.sendDeviceAttributesPrimary(H)}),D._parser.setCsiHandler({prefix:">",final:"c"},function(H){return D.sendDeviceAttributesSecondary(H)}),D._parser.setCsiHandler({final:"d"},function(H){return D.linePosAbsolute(H)}),D._parser.setCsiHandler({final:"e"},function(H){return D.vPositionRelative(H)}),D._parser.setCsiHandler({final:"f"},function(H){return D.hVPosition(H)}),D._parser.setCsiHandler({final:"g"},function(H){return D.tabClear(H)}),D._parser.setCsiHandler({final:"h"},function(H){return D.setMode(H)}),D._parser.setCsiHandler({prefix:"?",final:"h"},function(H){return D.setModePrivate(H)}),D._parser.setCsiHandler({final:"l"},function(H){return D.resetMode(H)}),D._parser.setCsiHandler({prefix:"?",final:"l"},function(H){return D.resetModePrivate(H)}),D._parser.setCsiHandler({final:"m"},function(H){return D.charAttributes(H)}),D._parser.setCsiHandler({final:"n"},function(H){return D.deviceStatus(H)}),D._parser.setCsiHandler({prefix:"?",final:"n"},function(H){return D.deviceStatusPrivate(H)}),D._parser.setCsiHandler({intermediates:"!",final:"p"},function(H){return D.softReset(H)}),D._parser.setCsiHandler({intermediates:" ",final:"q"},function(H){return D.setCursorStyle(H)}),D._parser.setCsiHandler({final:"r"},function(H){return D.setScrollRegion(H)}),D._parser.setCsiHandler({final:"s"},function(H){return D.saveCursor(H)}),D._parser.setCsiHandler({final:"t"},function(H){return D.windowOptions(H)}),D._parser.setCsiHandler({final:"u"},function(H){return D.restoreCursor(H)}),D._parser.setCsiHandler({intermediates:"'",final:"}"},function(H){return D.insertColumns(H)}),D._parser.setCsiHandler({intermediates:"'",final:"~"},function(H){return D.deleteColumns(H)}),D._parser.setExecuteHandler(p.C0.BEL,function(){return D.bell()}),D._parser.setExecuteHandler(p.C0.LF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(p.C0.VT,function(){return D.lineFeed()}),D._parser.setExecuteHandler(p.C0.FF,function(){return D.lineFeed()}),D._parser.setExecuteHandler(p.C0.CR,function(){return D.carriageReturn()}),D._parser.setExecuteHandler(p.C0.BS,function(){return D.backspace()}),D._parser.setExecuteHandler(p.C0.HT,function(){return D.tab()}),D._parser.setExecuteHandler(p.C0.SO,function(){return D.shiftOut()}),D._parser.setExecuteHandler(p.C0.SI,function(){return D.shiftIn()}),D._parser.setExecuteHandler(p.C1.IND,function(){return D.index()}),D._parser.setExecuteHandler(p.C1.NEL,function(){return D.nextLine()}),D._parser.setExecuteHandler(p.C1.HTS,function(){return D.tabSet()}),D._parser.setOscHandler(0,new u.OscHandler(function(H){D.setTitle(H),D.setIconName(H)})),D._parser.setOscHandler(1,new u.OscHandler(function(H){return D.setIconName(H)})),D._parser.setOscHandler(2,new u.OscHandler(function(H){return D.setTitle(H)})),D._parser.setEscHandler({final:"7"},function(){return D.saveCursor()}),D._parser.setEscHandler({final:"8"},function(){return D.restoreCursor()}),D._parser.setEscHandler({final:"D"},function(){return D.index()}),D._parser.setEscHandler({final:"E"},function(){return D.nextLine()}),D._parser.setEscHandler({final:"H"},function(){return D.tabSet()}),D._parser.setEscHandler({final:"M"},function(){return D.reverseIndex()}),D._parser.setEscHandler({final:"="},function(){return D.keypadApplicationMode()}),D._parser.setEscHandler({final:">"},function(){return D.keypadNumericMode()}),D._parser.setEscHandler({final:"c"},function(){return D.fullReset()}),D._parser.setEscHandler({final:"n"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"o"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"|"},function(){return D.setgLevel(3)}),D._parser.setEscHandler({final:"}"},function(){return D.setgLevel(2)}),D._parser.setEscHandler({final:"~"},function(){return D.setgLevel(1)}),D._parser.setEscHandler({intermediates:"%",final:"@"},function(){return D.selectDefaultCharset()}),D._parser.setEscHandler({intermediates:"%",final:"G"},function(){return D.selectDefaultCharset()});var M=function(K){B._parser.setEscHandler({intermediates:"(",final:K},function(){return D.selectCharset("("+K)}),B._parser.setEscHandler({intermediates:")",final:K},function(){return D.selectCharset(")"+K)}),B._parser.setEscHandler({intermediates:"*",final:K},function(){return D.selectCharset("*"+K)}),B._parser.setEscHandler({intermediates:"+",final:K},function(){return D.selectCharset("+"+K)}),B._parser.setEscHandler({intermediates:"-",final:K},function(){return D.selectCharset("-"+K)}),B._parser.setEscHandler({intermediates:".",final:K},function(){return D.selectCharset("."+K)}),B._parser.setEscHandler({intermediates:"/",final:K},function(){return D.selectCharset("/"+K)})},B=this;for(var j in h.CHARSETS)M(j);return D._parser.setEscHandler({intermediates:"#",final:"8"},function(){return D.screenAlignmentPattern()}),D._parser.setErrorHandler(function(H){return D._logService.error("Parsing error: ",H),H}),D._parser.setDcsHandler({intermediates:"$",final:"q"},new g(D._bufferService,D._coreService,D._logService,D._optionsService)),D}return C(S,b),Object.defineProperty(S.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(S.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),S.prototype.dispose=function(){b.prototype.dispose.call(this)},S.prototype.parse=function(y){var w=this._bufferService.buffer,x=w.x,T=w.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 L=0;L<y.length;L+=131072){var R=L+131072<y.length?L+131072:y.length,P=typeof y=="string"?this._stringDecoder.decode(y.substring(L,R),this._parseBuffer):this._utf8Decoder.decode(y.subarray(L,R),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);(w=this._bufferService.buffer).x===x&&w.y===T||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},S.prototype.print=function(y,w,x){var T,L,R=this._bufferService.buffer,P=this._charsetService.charset,k=this._optionsService.options.screenReaderMode,U=this._bufferService.cols,D=this._coreService.decPrivateModes.wraparound,M=this._coreService.modes.insertMode,B=this._curAttrData,j=R.lines.get(R.ybase+R.y);this._dirtyRowService.markDirty(R.y),R.x&&x-w>0&&j.getWidth(R.x-1)===2&&j.setCellFromCodePoint(R.x-1,0,1,B.fg,B.bg,B.extended);for(var H=w;H<x;++H){if(T=y[H],L=this._unicodeService.wcwidth(T),T<127&&P){var K=P[String.fromCharCode(T)];K&&(T=K.charCodeAt(0))}if(k&&this._onA11yChar.fire(l.stringFromCodePoint(T)),L||!R.x){if(R.x+L-1>=U){if(D){for(;R.x<U;)j.setCellFromCodePoint(R.x++,0,1,B.fg,B.bg,B.extended);R.x=0,R.y++,R.y===R.scrollBottom+1?(R.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(R.y>=this._bufferService.rows&&(R.y=this._bufferService.rows-1),R.lines.get(R.ybase+R.y).isWrapped=!0),j=R.lines.get(R.ybase+R.y)}else if(R.x=U-1,L===2)continue}if(M&&(j.insertCells(R.x,L,R.getNullCell(B),B),j.getWidth(U-1)===2&&j.setCellFromCodePoint(U-1,e.NULL_CELL_CODE,e.NULL_CELL_WIDTH,B.fg,B.bg,B.extended)),j.setCellFromCodePoint(R.x++,T,L,B.fg,B.bg,B.extended),L>0)for(;--L;)j.setCellFromCodePoint(R.x++,0,0,B.fg,B.bg,B.extended)}else j.getWidth(R.x-1)?j.addCodepointToCell(R.x-1,T):j.addCodepointToCell(R.x-2,T)}x-w>0&&(j.loadCell(R.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),R.x<U&&x-w>0&&j.getWidth(R.x)===0&&!j.hasContent(R.x)&&j.setCellFromCodePoint(R.x,0,1,B.fg,B.bg,B.extended),this._dirtyRowService.markDirty(R.y)},S.prototype.addCsiHandler=function(y,w){var x=this;return y.final!=="t"||y.prefix||y.intermediates?this._parser.addCsiHandler(y,w):this._parser.addCsiHandler(y,function(T){return!A(T.params[0],x._optionsService.options.windowOptions)||w(T)})},S.prototype.addDcsHandler=function(y,w){return this._parser.addDcsHandler(y,new f.DcsHandler(w))},S.prototype.addEscHandler=function(y,w){return this._parser.addEscHandler(y,w)},S.prototype.addOscHandler=function(y,w){return this._parser.addOscHandler(y,new u.OscHandler(w))},S.prototype.bell=function(){this._onRequestBell.fire()},S.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()},S.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},S.prototype.backspace=function(){var y,w=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(w.x>0&&w.x--);if(this._restrictCursor(this._bufferService.cols),w.x>0)w.x--;else if(w.x===0&&w.y>w.scrollTop&&w.y<=w.scrollBottom&&((y=w.lines.get(w.ybase+w.y))===null||y===void 0?void 0:y.isWrapped)){w.lines.get(w.ybase+w.y).isWrapped=!1,w.y--,w.x=this._bufferService.cols-1;var x=w.lines.get(w.ybase+w.y);x.hasWidth(w.x)&&!x.hasContent(w.x)&&w.x--}this._restrictCursor()},S.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)}},S.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},S.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},S.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)},S.prototype._setCursor=function(y,w){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=y,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+w):(this._bufferService.buffer.x=y,this._bufferService.buffer.y=w),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},S.prototype._moveCursor=function(y,w){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+y,this._bufferService.buffer.y+w)},S.prototype.cursorUp=function(y){var w=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;w>=0?this._moveCursor(0,-Math.min(w,y.params[0]||1)):this._moveCursor(0,-(y.params[0]||1))},S.prototype.cursorDown=function(y){var w=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;w>=0?this._moveCursor(0,Math.min(w,y.params[0]||1)):this._moveCursor(0,y.params[0]||1)},S.prototype.cursorForward=function(y){this._moveCursor(y.params[0]||1,0)},S.prototype.cursorBackward=function(y){this._moveCursor(-(y.params[0]||1),0)},S.prototype.cursorNextLine=function(y){this.cursorDown(y),this._bufferService.buffer.x=0},S.prototype.cursorPrecedingLine=function(y){this.cursorUp(y),this._bufferService.buffer.x=0},S.prototype.cursorCharAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},S.prototype.cursorPosition=function(y){this._setCursor(y.length>=2?(y.params[1]||1)-1:0,(y.params[0]||1)-1)},S.prototype.charPosAbsolute=function(y){this._setCursor((y.params[0]||1)-1,this._bufferService.buffer.y)},S.prototype.hPositionRelative=function(y){this._moveCursor(y.params[0]||1,0)},S.prototype.linePosAbsolute=function(y){this._setCursor(this._bufferService.buffer.x,(y.params[0]||1)-1)},S.prototype.vPositionRelative=function(y){this._moveCursor(0,y.params[0]||1)},S.prototype.hVPosition=function(y){this.cursorPosition(y)},S.prototype.tabClear=function(y){var w=y.params[0];w===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:w===3&&(this._bufferService.buffer.tabs={})},S.prototype.cursorForwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var w=y.params[0]||1;w--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},S.prototype.cursorBackwardTab=function(y){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var w=y.params[0]||1,x=this._bufferService.buffer;w--;)x.x=x.prevStop()},S.prototype._eraseInBufferLine=function(y,w,x,T){T===void 0&&(T=!1);var L=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);L.replaceCells(w,x,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),T&&(L.isWrapped=!1)},S.prototype._resetBufferLine=function(y){var w=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+y);w.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),w.isWrapped=!1},S.prototype.eraseInDisplay=function(y){var w;switch(this._restrictCursor(),y.params[0]){case 0:for(w=this._bufferService.buffer.y,this._dirtyRowService.markDirty(w),this._eraseInBufferLine(w++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);w<this._bufferService.rows;w++)this._resetBufferLine(w);this._dirtyRowService.markDirty(w);break;case 1:for(w=this._bufferService.buffer.y,this._dirtyRowService.markDirty(w),this._eraseInBufferLine(w,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(w+1).isWrapped=!1);w--;)this._resetBufferLine(w);this._dirtyRowService.markDirty(0);break;case 2:for(w=this._bufferService.rows,this._dirtyRowService.markDirty(w-1);w--;)this._resetBufferLine(w);this._dirtyRowService.markDirty(0);break;case 3:var x=this._bufferService.buffer.lines.length-this._bufferService.rows;x>0&&(this._bufferService.buffer.lines.trimStart(x),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-x,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-x,0),this._onScroll.fire(0))}},S.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)},S.prototype.insertLines=function(y){this._restrictCursor();var w=y.params[0]||1,x=this._bufferService.buffer;if(!(x.y>x.scrollBottom||x.y<x.scrollTop)){for(var T=x.ybase+x.y,L=this._bufferService.rows-1-x.scrollBottom,R=this._bufferService.rows-1+x.ybase-L+1;w--;)x.lines.splice(R-1,1),x.lines.splice(T,0,x.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(x.y,x.scrollBottom),x.x=0}},S.prototype.deleteLines=function(y){this._restrictCursor();var w=y.params[0]||1,x=this._bufferService.buffer;if(!(x.y>x.scrollBottom||x.y<x.scrollTop)){var T,L=x.ybase+x.y;for(T=this._bufferService.rows-1-x.scrollBottom,T=this._bufferService.rows-1+x.ybase-T;w--;)x.lines.splice(L,1),x.lines.splice(T,0,x.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(x.y,x.scrollBottom),x.x=0}},S.prototype.insertChars=function(y){this._restrictCursor();var w=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);w&&(w.insertCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},S.prototype.deleteChars=function(y){this._restrictCursor();var w=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);w&&(w.deleteCells(this._bufferService.buffer.x,y.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},S.prototype.scrollUp=function(y){for(var w=y.params[0]||1,x=this._bufferService.buffer;w--;)x.lines.splice(x.ybase+x.scrollTop,1),x.lines.splice(x.ybase+x.scrollBottom,0,x.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)},S.prototype.scrollDown=function(y){for(var w=y.params[0]||1,x=this._bufferService.buffer;w--;)x.lines.splice(x.ybase+x.scrollBottom,1),x.lines.splice(x.ybase+x.scrollTop,0,x.getBlankLine(n.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(x.scrollTop,x.scrollBottom)},S.prototype.scrollLeft=function(y){var w=this._bufferService.buffer;if(!(w.y>w.scrollBottom||w.y<w.scrollTop)){for(var x=y.params[0]||1,T=w.scrollTop;T<=w.scrollBottom;++T){var L=w.lines.get(w.ybase+T);L.deleteCells(0,x,w.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L.isWrapped=!1}this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}},S.prototype.scrollRight=function(y){var w=this._bufferService.buffer;if(!(w.y>w.scrollBottom||w.y<w.scrollTop)){for(var x=y.params[0]||1,T=w.scrollTop;T<=w.scrollBottom;++T){var L=w.lines.get(w.ybase+T);L.insertCells(0,x,w.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L.isWrapped=!1}this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}},S.prototype.insertColumns=function(y){var w=this._bufferService.buffer;if(!(w.y>w.scrollBottom||w.y<w.scrollTop)){for(var x=y.params[0]||1,T=w.scrollTop;T<=w.scrollBottom;++T){var L=this._bufferService.buffer.lines.get(w.ybase+T);L.insertCells(w.x,x,w.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L.isWrapped=!1}this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}},S.prototype.deleteColumns=function(y){var w=this._bufferService.buffer;if(!(w.y>w.scrollBottom||w.y<w.scrollTop)){for(var x=y.params[0]||1,T=w.scrollTop;T<=w.scrollBottom;++T){var L=w.lines.get(w.ybase+T);L.deleteCells(w.x,x,w.getNullCell(this._eraseAttrData()),this._eraseAttrData()),L.isWrapped=!1}this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom)}},S.prototype.eraseChars=function(y){this._restrictCursor();var w=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);w&&(w.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))},S.prototype.repeatPrecedingCharacter=function(y){if(this._parser.precedingCodepoint){for(var w=y.params[0]||1,x=new Uint32Array(w),T=0;T<w;++T)x[T]=this._parser.precedingCodepoint;this.print(x,0,x.length)}},S.prototype.sendDeviceAttributesPrimary=function(y){y.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(p.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(p.C0.ESC+"[?6c"))},S.prototype.sendDeviceAttributesSecondary=function(y){y.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(p.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(p.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(y.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(p.C0.ESC+"[>83;40003;0c"))},S.prototype._is=function(y){return(this._optionsService.options.termName+"").indexOf(y)===0},S.prototype.setMode=function(y){for(var w=0;w<y.length;w++)switch(y.params[w]){case 4:this._coreService.modes.insertMode=!0}},S.prototype.setModePrivate=function(y){for(var w=0;w<y.length;w++)switch(y.params[w]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,h.DEFAULT_CHARSET),this._charsetService.setgCharset(1,h.DEFAULT_CHARSET),this._charsetService.setgCharset(2,h.DEFAULT_CHARSET),this._charsetService.setgCharset(3,h.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}},S.prototype.resetMode=function(y){for(var w=0;w<y.length;w++)switch(y.params[w]){case 4:this._coreService.modes.insertMode=!1}},S.prototype.resetModePrivate=function(y){for(var w=0;w<y.length;w++)switch(y.params[w]){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[w]===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}},S.prototype._updateAttrColor=function(y,w,x,T,L){return w===2?(y|=50331648,y&=-16777216,y|=i.AttributeData.fromColorRGB([x,T,L])):w===5&&(y&=-50331904,y|=33554432|255&x),y},S.prototype._extractColor=function(y,w,x){var T=[0,0,-1,0,0,0],L=0,R=0;do{if(T[R+L]=y.params[w+R],y.hasSubParams(w+R)){var P=y.getSubParams(w+R),k=0;do T[1]===5&&(L=1),T[R+k+1+L]=P[k];while(++k<P.length&&k+R+1+L<T.length);break}if(T[1]===5&&R+L>=2||T[1]===2&&R+L>=5)break;T[1]&&(L=1)}while(++R+w<y.length&&R+L<T.length);for(k=2;k<T.length;++k)T[k]===-1&&(T[k]=0);switch(T[0]){case 38:x.fg=this._updateAttrColor(x.fg,T[1],T[3],T[4],T[5]);break;case 48:x.bg=this._updateAttrColor(x.bg,T[1],T[3],T[4],T[5]);break;case 58:x.extended=x.extended.clone(),x.extended.underlineColor=this._updateAttrColor(x.extended.underlineColor,T[1],T[3],T[4],T[5])}return R},S.prototype._processUnderline=function(y,w){w.extended=w.extended.clone(),(!~y||y>5)&&(y=1),w.extended.underlineStyle=y,w.fg|=268435456,y===0&&(w.fg&=-268435457),w.updateExtended()},S.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 w,x=y.length,T=this._curAttrData,L=0;L<x;L++)(w=y.params[L])>=30&&w<=37?(T.fg&=-50331904,T.fg|=16777216|w-30):w>=40&&w<=47?(T.bg&=-50331904,T.bg|=16777216|w-40):w>=90&&w<=97?(T.fg&=-50331904,T.fg|=16777224|w-90):w>=100&&w<=107?(T.bg&=-50331904,T.bg|=16777224|w-100):w===0?(T.fg=n.DEFAULT_ATTR_DATA.fg,T.bg=n.DEFAULT_ATTR_DATA.bg):w===1?T.fg|=134217728:w===3?T.bg|=67108864:w===4?(T.fg|=268435456,this._processUnderline(y.hasSubParams(L)?y.getSubParams(L)[0]:1,T)):w===5?T.fg|=536870912:w===7?T.fg|=67108864:w===8?T.fg|=1073741824:w===2?T.bg|=134217728:w===21?this._processUnderline(2,T):w===22?(T.fg&=-134217729,T.bg&=-134217729):w===23?T.bg&=-67108865:w===24?T.fg&=-268435457:w===25?T.fg&=-536870913:w===27?T.fg&=-67108865:w===28?T.fg&=-1073741825:w===39?(T.fg&=-67108864,T.fg|=16777215&n.DEFAULT_ATTR_DATA.fg):w===49?(T.bg&=-67108864,T.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):w===38||w===48||w===58?L+=this._extractColor(y,L,T):w===59?(T.extended=T.extended.clone(),T.extended.underlineColor=-1,T.updateExtended()):w===100?(T.fg&=-67108864,T.fg|=16777215&n.DEFAULT_ATTR_DATA.fg,T.bg&=-67108864,T.bg|=16777215&n.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",w)},S.prototype.deviceStatus=function(y){switch(y.params[0]){case 5:this._coreService.triggerDataEvent(p.C0.ESC+"[0n");break;case 6:var w=this._bufferService.buffer.y+1,x=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"["+w+";"+x+"R")}},S.prototype.deviceStatusPrivate=function(y){switch(y.params[0]){case 6:var w=this._bufferService.buffer.y+1,x=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(p.C0.ESC+"[?"+w+";"+x+"R")}},S.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},S.prototype.setCursorStyle=function(y){var w=y.params[0]||1;switch(w){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 x=w%2==1;this._optionsService.options.cursorBlink=x},S.prototype.setScrollRegion=function(y){var w,x=y.params[0]||1;(y.length<2||(w=y.params[1])>this._bufferService.rows||w===0)&&(w=this._bufferService.rows),w>x&&(this._bufferService.buffer.scrollTop=x-1,this._bufferService.buffer.scrollBottom=w-1,this._setCursor(0,0))},S.prototype.windowOptions=function(y){if(A(y.params[0],this._optionsService.options.windowOptions)){var w=y.length>1?y.params[1]:0;switch(y.params[0]){case 14:w!==2&&this._onRequestWindowsOptionsReport.fire(t.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(t.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(p.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:w!==0&&w!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),w!==0&&w!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:w!==0&&w!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),w!==0&&w!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},S.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},S.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()},S.prototype.setTitle=function(y){this._windowTitle=y,this._onTitleChange.fire(y)},S.prototype.setIconName=function(y){this._iconName=y},S.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},S.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},S.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},S.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,h.DEFAULT_CHARSET)},S.prototype.selectCharset=function(y){y.length===2?y[0]!=="/"&&this._charsetService.setgCharset(m[y[0]],h.CHARSETS[y[1]]||h.DEFAULT_CHARSET):this.selectDefaultCharset()},S.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()},S.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},S.prototype.reverseIndex=function(){this._restrictCursor();var y=this._bufferService.buffer;if(y.y===y.scrollTop){var w=y.scrollBottom-y.scrollTop;y.lines.shiftElements(y.ybase+y.y,w,1),y.lines.set(y.ybase+y.y,y.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(y.scrollTop,y.scrollBottom)}else y.y--,this._restrictCursor()},S.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},S.prototype.reset=function(){this._curAttrData=n.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=n.DEFAULT_ATTR_DATA.clone()},S.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},S.prototype.setgLevel=function(y){this._charsetService.setgLevel(y)},S.prototype.screenAlignmentPattern=function(){var y=new a.CellData;y.content=1<<22|"E".charCodeAt(0),y.fg=this._curAttrData.fg,y.bg=this._curAttrData.bg;var w=this._bufferService.buffer;this._setCursor(0,0);for(var x=0;x<this._bufferService.rows;++x){var T=w.ybase+w.y+x,L=w.lines.get(T);L&&(L.fill(y),L.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},S}(r.Disposable);_.InputHandler=v},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DEFAULT_CHARSET=_.CHARSETS=void 0,_.CHARSETS={},_.DEFAULT_CHARSET=_.CHARSETS.B,_.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"},_.CHARSETS.A={"#":"\xA3"},_.CHARSETS.B=void 0,_.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},_.CHARSETS.C=_.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},_.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},_.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},_.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},_.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},_.CHARSETS.E=_.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},_.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},_.CHARSETS.H=_.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},_.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Params=void 0;var E=function(){function C(t,p){if(t===void 0&&(t=32),p===void 0&&(p=32),this.maxLength=t,this.maxSubParamsLength=p,p>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(t),this.length=0,this._subParams=new Int32Array(p),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(t),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return C.fromArray=function(t){var p=new C;if(!t.length)return p;for(var h=t[0]instanceof Array?1:0;h<t.length;++h){var o=t[h];if(o instanceof Array)for(var r=0;r<o.length;++r)p.addSubParam(o[r]);else p.addParam(o)}return p},C.prototype.clone=function(){var t=new C(this.maxLength,this.maxSubParamsLength);return t.params.set(this.params),t.length=this.length,t._subParams.set(this._subParams),t._subParamsLength=this._subParamsLength,t._subParamsIdx.set(this._subParamsIdx),t._rejectDigits=this._rejectDigits,t._rejectSubDigits=this._rejectSubDigits,t._digitIsSub=this._digitIsSub,t},C.prototype.toArray=function(){for(var t=[],p=0;p<this.length;++p){t.push(this.params[p]);var h=this._subParamsIdx[p]>>8,o=255&this._subParamsIdx[p];o-h>0&&t.push(Array.prototype.slice.call(this._subParams,h,o))}return t},C.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},C.prototype.addParam=function(t){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(t<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=t>2147483647?2147483647:t}},C.prototype.addSubParam=function(t){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(t<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=t>2147483647?2147483647:t,this._subParamsIdx[this.length-1]++}},C.prototype.hasSubParams=function(t){return(255&this._subParamsIdx[t])-(this._subParamsIdx[t]>>8)>0},C.prototype.getSubParams=function(t){var p=this._subParamsIdx[t]>>8,h=255&this._subParamsIdx[t];return h-p>0?this._subParams.subarray(p,h):null},C.prototype.getSubParamsAll=function(){for(var t={},p=0;p<this.length;++p){var h=this._subParamsIdx[p]>>8,o=255&this._subParamsIdx[p];o-h>0&&(t[p]=this._subParams.slice(h,o))}return t},C.prototype.addDigit=function(t){var p;if(!(this._rejectDigits||!(p=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var h=this._digitIsSub?this._subParams:this.params,o=h[p-1];h[p-1]=~o?Math.min(10*o+t,2147483647):t}},C}();_.Params=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.OscHandler=_.OscParser=void 0;var E=I(23),C=I(8),t=function(){function h(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return h.prototype.addHandler=function(o,r){this._handlers[o]===void 0&&(this._handlers[o]=[]);var s=this._handlers[o];return s.push(r),{dispose:function(){var n=s.indexOf(r);n!==-1&&s.splice(n,1)}}},h.prototype.setHandler=function(o,r){this._handlers[o]=[r]},h.prototype.clearHandler=function(o){this._handlers[o]&&delete this._handlers[o]},h.prototype.setHandlerFallback=function(o){this._handlerFb=o},h.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},h.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},h.prototype._start=function(){var o=this._handlers[this._id];if(o)for(var r=o.length-1;r>=0;r--)o[r].start();else this._handlerFb(this._id,"START")},h.prototype._put=function(o,r,s){var l=this._handlers[this._id];if(l)for(var n=l.length-1;n>=0;n--)l[n].put(o,r,s);else this._handlerFb(this._id,"PUT",C.utf32ToString(o,r,s))},h.prototype._end=function(o){var r=this._handlers[this._id];if(r){for(var s=r.length-1;s>=0&&r[s].end(o)===!1;s--);for(s--;s>=0;s--)r[s].end(!1)}else this._handlerFb(this._id,"END",o)},h.prototype.start=function(){this.reset(),this._id=-1,this._state=1},h.prototype.put=function(o,r,s){if(this._state!==3){if(this._state===1)for(;r<s;){var l=o[r++];if(l===59){this._state=2,this._start();break}if(l<48||57<l)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+l-48}this._state===2&&s-r>0&&this._put(o,r,s)}},h.prototype.end=function(o){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(o)),this._id=-1,this._state=0)},h}();_.OscParser=t;var p=function(){function h(o){this._handler=o,this._data="",this._hitLimit=!1}return h.prototype.start=function(){this._data="",this._hitLimit=!1},h.prototype.put=function(o,r,s){this._hitLimit||(this._data+=C.utf32ToString(o,r,s),this._data.length>E.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},h.prototype.end=function(o){var r;return this._hitLimit?r=!1:o&&(r=this._handler(this._data)),this._data="",this._hitLimit=!1,r},h}();_.OscHandler=p},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.PAYLOAD_LIMIT=void 0,_.PAYLOAD_LIMIT=1e7},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DcsHandler=_.DcsParser=void 0;var E=I(8),C=I(21),t=I(23),p=[],h=function(){function r(){this._handlers=Object.create(null),this._active=p,this._ident=0,this._handlerFb=function(){}}return r.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},r.prototype.addHandler=function(s,l){this._handlers[s]===void 0&&(this._handlers[s]=[]);var n=this._handlers[s];return n.push(l),{dispose:function(){var e=n.indexOf(l);e!==-1&&n.splice(e,1)}}},r.prototype.setHandler=function(s,l){this._handlers[s]=[l]},r.prototype.clearHandler=function(s){this._handlers[s]&&delete this._handlers[s]},r.prototype.setHandlerFallback=function(s){this._handlerFb=s},r.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=p,this._ident=0},r.prototype.hook=function(s,l){if(this.reset(),this._ident=s,this._active=this._handlers[s]||p,this._active.length)for(var n=this._active.length-1;n>=0;n--)this._active[n].hook(l);else this._handlerFb(this._ident,"HOOK",l)},r.prototype.put=function(s,l,n){if(this._active.length)for(var c=this._active.length-1;c>=0;c--)this._active[c].put(s,l,n);else this._handlerFb(this._ident,"PUT",E.utf32ToString(s,l,n))},r.prototype.unhook=function(s){if(this._active.length){for(var l=this._active.length-1;l>=0&&this._active[l].unhook(s)===!1;l--);for(l--;l>=0;l--)this._active[l].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",s);this._active=p,this._ident=0},r}();_.DcsParser=h;var o=function(){function r(s){this._handler=s,this._data="",this._hitLimit=!1}return r.prototype.hook=function(s){this._params=s.clone(),this._data="",this._hitLimit=!1},r.prototype.put=function(s,l,n){this._hitLimit||(this._data+=E.utf32ToString(s,l,n),this._data.length>t.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},r.prototype.unhook=function(s){var l;return this._hitLimit?l=!1:s&&(l=this._handler(this._data,this._params||new C.Params)),this._params=void 0,this._data="",this._hitLimit=!1,l},r}();_.DcsHandler=o},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.removeTerminalFromCache=_.acquireCharAtlas=void 0;var E=I(26),C=I(43),t=[];_.acquireCharAtlas=function(p,h,o,r,s){for(var l=E.generateConfig(r,s,p,o),n=0;n<t.length;n++){var c=(e=t[n]).ownedBy.indexOf(h);if(c>=0){if(E.configEquals(e.config,l))return e.atlas;e.ownedBy.length===1?(e.atlas.dispose(),t.splice(n,1)):e.ownedBy.splice(c,1);break}}for(n=0;n<t.length;n++){var e=t[n];if(E.configEquals(e.config,l))return e.ownedBy.push(h),e.atlas}var a={atlas:new C.DynamicCharAtlas(document,l),config:l,ownedBy:[h]};return t.push(a),a.atlas},_.removeTerminalFromCache=function(p){for(var h=0;h<t.length;h++){var o=t[h].ownedBy.indexOf(p);if(o!==-1){t[h].ownedBy.length===1?(t[h].atlas.dispose(),t.splice(h,1)):t[h].ownedBy.splice(o,1);break}}}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.is256Color=_.configEquals=_.generateConfig=void 0;var E=I(3);_.generateConfig=function(C,t,p,h){var o={foreground:h.foreground,background:h.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:h.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:C,scaledCharHeight:t,fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,fontWeightBold:p.fontWeightBold,allowTransparency:p.allowTransparency,colors:o}},_.configEquals=function(C,t){for(var p=0;p<C.colors.ansi.length;p++)if(C.colors.ansi[p].rgba!==t.colors.ansi[p].rgba)return!1;return C.devicePixelRatio===t.devicePixelRatio&&C.fontFamily===t.fontFamily&&C.fontSize===t.fontSize&&C.fontWeight===t.fontWeight&&C.fontWeightBold===t.fontWeightBold&&C.allowTransparency===t.allowTransparency&&C.scaledCharWidth===t.scaledCharWidth&&C.scaledCharHeight===t.scaledCharHeight&&C.colors.foreground===t.colors.foreground&&C.colors.background===t.colors.background},_.is256Color=function(C){return C<E.DEFAULT_COLOR}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ColorManager=_.DEFAULT_ANSI_COLORS=void 0;var E=I(10),C=I(45),t=E.css.toColor("#ffffff"),p=E.css.toColor("#000000"),h=E.css.toColor("#ffffff"),o=E.css.toColor("#000000"),r={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};_.DEFAULT_ANSI_COLORS=function(){for(var l=[E.css.toColor("#2e3436"),E.css.toColor("#cc0000"),E.css.toColor("#4e9a06"),E.css.toColor("#c4a000"),E.css.toColor("#3465a4"),E.css.toColor("#75507b"),E.css.toColor("#06989a"),E.css.toColor("#d3d7cf"),E.css.toColor("#555753"),E.css.toColor("#ef2929"),E.css.toColor("#8ae234"),E.css.toColor("#fce94f"),E.css.toColor("#729fcf"),E.css.toColor("#ad7fa8"),E.css.toColor("#34e2e2"),E.css.toColor("#eeeeec")],n=[0,95,135,175,215,255],c=0;c<216;c++){var e=n[c/36%6|0],a=n[c/6%6|0],i=n[c%6];l.push({css:E.channels.toCss(e,a,i),rgba:E.channels.toRgba(e,a,i)})}for(c=0;c<24;c++){var u=8+10*c;l.push({css:E.channels.toCss(u,u,u),rgba:E.channels.toRgba(u,u,u)})}return l}();var s=function(){function l(n,c){this.allowTransparency=c;var e=n.createElement("canvas");e.width=1,e.height=1;var a=e.getContext("2d");if(!a)throw new Error("Could not get rendering context");this._ctx=a,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new C.ColorContrastCache,this.colors={foreground:t,background:p,cursor:h,cursorAccent:o,selectionTransparent:r,selectionOpaque:E.color.blend(p,r),ansi:_.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return l.prototype.onOptionsChange=function(n){n==="minimumContrastRatio"&&this._contrastCache.clear()},l.prototype.setTheme=function(n){(n===void 0&&(n={}),this.colors.foreground=this._parseColor(n.foreground,t),this.colors.background=this._parseColor(n.background,p),this.colors.cursor=this._parseColor(n.cursor,h,!0),this.colors.cursorAccent=this._parseColor(n.cursorAccent,o,!0),this.colors.selectionTransparent=this._parseColor(n.selection,r,!0),this.colors.selectionOpaque=E.color.blend(this.colors.background,this.colors.selectionTransparent),E.color.isOpaque(this.colors.selectionTransparent))&&(this.colors.selectionTransparent=E.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(n.black,_.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(n.red,_.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(n.green,_.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(n.yellow,_.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(n.blue,_.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(n.magenta,_.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(n.cyan,_.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(n.white,_.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(n.brightBlack,_.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(n.brightRed,_.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(n.brightGreen,_.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(n.brightYellow,_.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(n.brightBlue,_.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(n.brightMagenta,_.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(n.brightCyan,_.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(n.brightWhite,_.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},l.prototype._parseColor=function(n,c,e){if(e===void 0&&(e=this.allowTransparency),n===void 0)return c;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=n,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+n+" is invalid using fallback "+c.css),c;this._ctx.fillRect(0,0,1,1);var a=this._ctx.getImageData(0,0,1,1).data;if(a[3]!==255){if(!e)return console.warn("Color: "+n+" is using transparency, but allowTransparency is false. Using fallback "+c.css+"."),c;var i=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(v){return Number(v)}),u=i[0],f=i[1],m=i[2],A=i[3],g=Math.round(255*A);return{rgba:E.channels.toRgba(u,f,m,g),css:n}}return{css:this._ctx.fillStyle,rgba:E.channels.toRgba(a[0],a[1],a[2],a[3])}},l}();_.ColorManager=s},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.throwIfFalsy=void 0,_.throwIfFalsy=function(E){if(!E)throw new Error("value must not be falsy");return E}},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(l,n){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,e){c.__proto__=e}||function(c,e){for(var a in e)e.hasOwnProperty(a)&&(c[a]=e[a])})(l,n)},function(s,l){function n(){this.constructor=s}E(s,l),s.prototype=l===null?Object.create(l):(n.prototype=l.prototype,new n)});Object.defineProperty(_,"__esModule",{value:!0}),_.CharacterJoinerRegistry=_.JoinedCellData=void 0;var t=I(6),p=I(3),h=I(4),o=function(s){function l(n,c,e){var a=s.call(this)||this;return a.content=0,a.combinedData="",a.fg=n.fg,a.bg=n.bg,a.combinedData=c,a._width=e,a}return C(l,s),l.prototype.isCombined=function(){return 2097152},l.prototype.getWidth=function(){return this._width},l.prototype.getChars=function(){return this.combinedData},l.prototype.getCode=function(){return 2097151},l.prototype.setFromCharData=function(n){throw new Error("not implemented")},l.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},l}(t.AttributeData);_.JoinedCellData=o;var r=function(){function s(l){this._bufferService=l,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new h.CellData}return s.prototype.registerCharacterJoiner=function(l){var n={id:this._nextCharacterJoinerId++,handler:l};return this._characterJoiners.push(n),n.id},s.prototype.deregisterCharacterJoiner=function(l){for(var n=0;n<this._characterJoiners.length;n++)if(this._characterJoiners[n].id===l)return this._characterJoiners.splice(n,1),!0;return!1},s.prototype.getJoinedCharacters=function(l){if(this._characterJoiners.length===0)return[];var n=this._bufferService.buffer.lines.get(l);if(!n||n.length===0)return[];for(var c=[],e=n.translateToString(!0),a=0,i=0,u=0,f=n.getFg(0),m=n.getBg(0),A=0;A<n.getTrimmedLength();A++)if(n.loadCell(A,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==f||this._workCell.bg!==m){if(A-a>1)for(var g=this._getJoinedRanges(e,u,i,n,a),v=0;v<g.length;v++)c.push(g[v]);a=A,u=i,f=this._workCell.fg,m=this._workCell.bg}i+=this._workCell.getChars().length||p.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-a>1)for(g=this._getJoinedRanges(e,u,i,n,a),v=0;v<g.length;v++)c.push(g[v]);return c},s.prototype._getJoinedRanges=function(l,n,c,e,a){for(var i=l.substring(n,c),u=this._characterJoiners[0].handler(i),f=1;f<this._characterJoiners.length;f++)for(var m=this._characterJoiners[f].handler(i),A=0;A<m.length;A++)s._mergeRanges(u,m[A]);return this._stringRangesToCellRanges(u,e,a),u},s.prototype._stringRangesToCellRanges=function(l,n,c){var e=0,a=!1,i=0,u=l[e];if(u){for(var f=c;f<this._bufferService.cols;f++){var m=n.getWidth(f),A=n.getString(f).length||p.WHITESPACE_CELL_CHAR.length;if(m!==0){if(!a&&u[0]<=i&&(u[0]=f,a=!0),u[1]<=i){if(u[1]=f,!(u=l[++e]))break;u[0]<=i?(u[0]=f,a=!0):a=!1}i+=A}}u&&(u[1]=this._bufferService.cols)}},s._mergeRanges=function(l,n){for(var c=!1,e=0;e<l.length;e++){var a=l[e];if(c){if(n[1]<=a[0])return l[e-1][1]=n[1],l;if(n[1]<=a[1])return l[e-1][1]=Math.max(n[1],a[1]),l.splice(e,1),l;l.splice(e,1),e--}else{if(n[1]<=a[0])return l.splice(e,0,n),l;if(n[1]<=a[1])return a[0]=Math.min(n[0],a[0]),l;n[0]<a[1]&&(a[0]=Math.min(n[0],a[0]),c=!0)}}return c?l[l.length-1][1]=n[1]:l.push(n),l},s}();_.CharacterJoinerRegistry=r},function(O,_,I){"use strict";function E(C,t){var p=t.getBoundingClientRect();return[C.clientX-p.left,C.clientY-p.top]}Object.defineProperty(_,"__esModule",{value:!0}),_.getRawByteCoords=_.getCoords=_.getCoordsRelativeToElement=void 0,_.getCoordsRelativeToElement=E,_.getCoords=function(C,t,p,h,o,r,s,l){if(o){var n=E(C,t);if(n)return n[0]=Math.ceil((n[0]+(l?r/2:0))/r),n[1]=Math.ceil(n[1]/s),n[0]=Math.min(Math.max(n[0],1),p+(l?1:0)),n[1]=Math.min(Math.max(n[1],1),h),n}},_.getRawByteCoords=function(C){if(C)return{x:C[0]+32,y:C[1]+32}}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.RenderDebouncer=void 0;var E=function(){function C(t){this._renderCallback=t}return C.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},C.prototype.refresh=function(t,p,h){var o=this;this._rowCount=h,t=t!==void 0?t:0,p=p!==void 0?p:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,t):t,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,p):p,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return o._innerRefresh()}))},C.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var t=Math.max(this._rowStart,0),p=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(t,p)}},C}();_.RenderDebouncer=E},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(h,o){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var l in s)s.hasOwnProperty(l)&&(r[l]=s[l])})(h,o)},function(p,h){function o(){this.constructor=p}E(p,h),p.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(_,"__esModule",{value:!0}),_.ScreenDprMonitor=void 0;var t=function(p){function h(){var o=p!==null&&p.apply(this,arguments)||this;return o._currentDevicePixelRatio=window.devicePixelRatio,o}return C(h,p),h.prototype.setListener=function(o){var r=this;this._listener&&this.clearListener(),this._listener=o,this._outerListener=function(){r._listener&&(r._listener(window.devicePixelRatio,r._currentDevicePixelRatio),r._updateDpr())},this._updateDpr()},h.prototype.dispose=function(){p.prototype.dispose.call(this),this.clearListener()},h.prototype._updateDpr=function(){var o;this._outerListener&&((o=this._resolutionMediaMatchList)===null||o===void 0||o.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},h.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)},h}(I(2).Disposable);_.ScreenDprMonitor=t},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.clone=void 0,_.clone=function E(C,t){if(t===void 0&&(t=5),typeof C!="object")return C;var p=Array.isArray(C)?[]:{};for(var h in C)p[h]=t<=1?C[h]:C[h]?E(C[h],t-1):C[h];return p}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.Terminal=void 0;var E=I(4),C=I(35),t=I(18),p=I(0),h=I(83),o=function(){function e(a){this._core=new C.Terminal(a),this._addonManager=new h.AddonManager}return e.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(e.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new n(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"unicode",{get:function(){return this._checkProposedApi(),new c(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"buffer",{get:function(){return this._checkProposedApi(),new s(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),e.prototype.blur=function(){this._core.blur()},e.prototype.focus=function(){this._core.focus()},e.prototype.resize=function(a,i){this._verifyIntegers(a,i),this._core.resize(a,i)},e.prototype.open=function(a){this._core.open(a)},e.prototype.attachCustomKeyEventHandler=function(a){this._core.attachCustomKeyEventHandler(a)},e.prototype.registerLinkMatcher=function(a,i,u){return this._checkProposedApi(),this._core.registerLinkMatcher(a,i,u)},e.prototype.deregisterLinkMatcher=function(a){this._checkProposedApi(),this._core.deregisterLinkMatcher(a)},e.prototype.registerLinkProvider=function(a){return this._checkProposedApi(),this._core.registerLinkProvider(a)},e.prototype.registerCharacterJoiner=function(a){return this._checkProposedApi(),this._core.registerCharacterJoiner(a)},e.prototype.deregisterCharacterJoiner=function(a){this._checkProposedApi(),this._core.deregisterCharacterJoiner(a)},e.prototype.registerMarker=function(a){return this._checkProposedApi(),this._verifyIntegers(a),this._core.addMarker(a)},e.prototype.addMarker=function(a){return this.registerMarker(a)},e.prototype.hasSelection=function(){return this._core.hasSelection()},e.prototype.select=function(a,i,u){this._verifyIntegers(a,i,u),this._core.select(a,i,u)},e.prototype.getSelection=function(){return this._core.getSelection()},e.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},e.prototype.clearSelection=function(){this._core.clearSelection()},e.prototype.selectAll=function(){this._core.selectAll()},e.prototype.selectLines=function(a,i){this._verifyIntegers(a,i),this._core.selectLines(a,i)},e.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},e.prototype.scrollLines=function(a){this._verifyIntegers(a),this._core.scrollLines(a)},e.prototype.scrollPages=function(a){this._verifyIntegers(a),this._core.scrollPages(a)},e.prototype.scrollToTop=function(){this._core.scrollToTop()},e.prototype.scrollToBottom=function(){this._core.scrollToBottom()},e.prototype.scrollToLine=function(a){this._verifyIntegers(a),this._core.scrollToLine(a)},e.prototype.clear=function(){this._core.clear()},e.prototype.write=function(a,i){this._core.write(a,i)},e.prototype.writeUtf8=function(a,i){this._core.write(a,i)},e.prototype.writeln=function(a,i){this._core.write(a),this._core.write(`\r
`,i)},e.prototype.paste=function(a){this._core.paste(a)},e.prototype.getOption=function(a){return this._core.optionsService.getOption(a)},e.prototype.setOption=function(a,i){this._core.optionsService.setOption(a,i)},e.prototype.refresh=function(a,i){this._verifyIntegers(a,i),this._core.refresh(a,i)},e.prototype.reset=function(){this._core.reset()},e.prototype.loadAddon=function(a){return this._addonManager.loadAddon(this,a)},Object.defineProperty(e,"strings",{get:function(){return t},enumerable:!1,configurable:!0}),e.prototype._verifyIntegers=function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];for(var u=0,f=a;u<f.length;u++){var m=f[u];if(m===1/0||isNaN(m)||m%1!=0)throw new Error("This API only accepts integers")}},e}();_.Terminal=o;var r=function(){function e(a,i){this._buffer=a,this.type=i}return e.prototype.init=function(a){return this._buffer=a,this},Object.defineProperty(e.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),e.prototype.getLine=function(a){var i=this._buffer.lines.get(a);if(i)return new l(i)},e.prototype.getNullCell=function(){return new E.CellData},e}(),s=function(){function e(a){var i=this;this._buffers=a,this._onBufferChange=new p.EventEmitter,this._normal=new r(this._buffers.normal,"normal"),this._alternate=new r(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return i._onBufferChange.fire(i.active)})}return Object.defineProperty(e.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(e.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(e.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),e}(),l=function(){function e(a){this._line=a}return Object.defineProperty(e.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),e.prototype.getCell=function(a,i){if(!(a<0||a>=this._line.length))return i?(this._line.loadCell(a,i),i):this._line.loadCell(a,new E.CellData)},e.prototype.translateToString=function(a,i,u){return this._line.translateToString(a,i,u)},e}(),n=function(){function e(a){this._core=a}return e.prototype.registerCsiHandler=function(a,i){return this._core.addCsiHandler(a,function(u){return i(u.toArray())})},e.prototype.addCsiHandler=function(a,i){return this.registerCsiHandler(a,i)},e.prototype.registerDcsHandler=function(a,i){return this._core.addDcsHandler(a,function(u,f){return i(u,f.toArray())})},e.prototype.addDcsHandler=function(a,i){return this.registerDcsHandler(a,i)},e.prototype.registerEscHandler=function(a,i){return this._core.addEscHandler(a,i)},e.prototype.addEscHandler=function(a,i){return this.registerEscHandler(a,i)},e.prototype.registerOscHandler=function(a,i){return this._core.addOscHandler(a,i)},e.prototype.addOscHandler=function(a,i){return this.registerOscHandler(a,i)},e}(),c=function(){function e(a){this._core=a}return e.prototype.register=function(a){this._core.unicodeService.register(a)},Object.defineProperty(e.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(i){this._core.unicodeService.activeVersion=i},enumerable:!1,configurable:!0}),e}()},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(D,M){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,j){B.__proto__=j}||function(B,j){for(var H in j)j.hasOwnProperty(H)&&(B[H]=j[H])})(D,M)},function(U,D){function M(){this.constructor=U}E(U,D),U.prototype=D===null?Object.create(D):(M.prototype=D.prototype,new M)});Object.defineProperty(_,"__esModule",{value:!0}),_.Terminal=void 0;var t=I(36),p=I(37),h=I(38),o=I(12),r=I(19),s=I(40),l=I(50),n=I(51),c=I(11),e=I(7),a=I(18),i=I(54),u=I(55),f=I(56),m=I(57),A=I(59),g=I(0),v=I(16),b=I(27),S=I(60),y=I(5),w=I(61),x=I(62),T=I(63),L=I(64),R=I(65),P=typeof window!="undefined"?window.document:null,k=function(U){function D(M){M===void 0&&(M={});var B=U.call(this,M)||this;return B.browser=c,B._keyDownHandled=!1,B._onCursorMove=new g.EventEmitter,B._onKey=new g.EventEmitter,B._onRender=new g.EventEmitter,B._onSelectionChange=new g.EventEmitter,B._onTitleChange=new g.EventEmitter,B._onFocus=new g.EventEmitter,B._onBlur=new g.EventEmitter,B._onA11yCharEmitter=new g.EventEmitter,B._onA11yTabEmitter=new g.EventEmitter,B._setup(),B.linkifier=B._instantiationService.createInstance(l.Linkifier),B.linkifier2=B.register(B._instantiationService.createInstance(T.Linkifier2)),B.register(B._inputHandler.onRequestBell(function(){return B.bell()})),B.register(B._inputHandler.onRequestRefreshRows(function(j,H){return B.refresh(j,H)})),B.register(B._inputHandler.onRequestReset(function(){return B.reset()})),B.register(B._inputHandler.onRequestScroll(function(j,H){return B.scroll(j,H||void 0)})),B.register(B._inputHandler.onRequestWindowsOptionsReport(function(j){return B._reportWindowsOptions(j)})),B.register(g.forwardEvent(B._inputHandler.onCursorMove,B._onCursorMove)),B.register(g.forwardEvent(B._inputHandler.onTitleChange,B._onTitleChange)),B.register(g.forwardEvent(B._inputHandler.onA11yChar,B._onA11yCharEmitter)),B.register(g.forwardEvent(B._inputHandler.onA11yTab,B._onA11yTabEmitter)),B.register(B._bufferService.onResize(function(j){return B._afterResize(j.cols,j.rows)})),B}return C(D,U),Object.defineProperty(D.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(D.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),D.prototype.dispose=function(){var M,B,j;this._isDisposed||(U.prototype.dispose.call(this),(M=this._renderService)===null||M===void 0||M.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(j=(B=this.element)===null||B===void 0?void 0:B.parentNode)===null||j===void 0||j.removeChild(this.element))},D.prototype._setup=function(){U.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(D.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),D.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},D.prototype._updateOptions=function(M){var B,j,H,K;switch(U.prototype._updateOptions.call(this,M),M){case"fontFamily":case"fontSize":(B=this._renderService)===null||B===void 0||B.clear(),(j=this._charSizeService)===null||j===void 0||j.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":(H=this.viewport)===null||H===void 0||H.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new f.AccessibilityManager(this,this._renderService)):((K=this._accessibilityManager)===null||K===void 0||K.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},D.prototype._onTextAreaFocus=function(M){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[I"),this.updateCursorStyle(M),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},D.prototype.blur=function(){var M;return(M=this.textarea)===null||M===void 0?void 0:M.blur()},D.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(o.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},D.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var M=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),B=this._bufferService.buffer.y*M,j=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=j+"px",this.textarea.style.top=B+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=M+"px",this.textarea.style.lineHeight=M+"px",this.textarea.style.zIndex="-5"}},D.prototype._initGlobal=function(){var M=this;this._bindKeys(),this.register(e.addDisposableDomListener(this.element,"copy",function(j){M.hasSelection()&&h.copyHandler(j,M._selectionService)}));var B=function(H){return h.handlePasteEvent(H,M.textarea,M._coreService)};this.register(e.addDisposableDomListener(this.textarea,"paste",B)),this.register(e.addDisposableDomListener(this.element,"paste",B)),c.isFirefox?this.register(e.addDisposableDomListener(this.element,"mousedown",function(j){j.button===2&&h.rightClickHandler(j,M.textarea,M.screenElement,M._selectionService,M.options.rightClickSelectsWord)})):this.register(e.addDisposableDomListener(this.element,"contextmenu",function(j){h.rightClickHandler(j,M.textarea,M.screenElement,M._selectionService,M.options.rightClickSelectsWord)})),c.isLinux&&this.register(e.addDisposableDomListener(this.element,"auxclick",function(j){j.button===1&&h.moveTextAreaUnderMouseCursor(j,M.textarea,M.screenElement)}))},D.prototype._bindKeys=function(){var M=this;this.register(e.addDisposableDomListener(this.textarea,"keyup",function(B){return M._keyUp(B)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keydown",function(B){return M._keyDown(B)},!0)),this.register(e.addDisposableDomListener(this.textarea,"keypress",function(B){return M._keyPress(B)},!0)),this.register(e.addDisposableDomListener(this.textarea,"compositionstart",function(){return M._compositionHelper.compositionstart()})),this.register(e.addDisposableDomListener(this.textarea,"compositionupdate",function(B){return M._compositionHelper.compositionupdate(B)})),this.register(e.addDisposableDomListener(this.textarea,"compositionend",function(){return M._compositionHelper.compositionend()})),this.register(this.onRender(function(){return M._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(B){return M._queueLinkification(B.start,B.end)}))},D.prototype.open=function(M){var B=this;if(!M)throw new Error("Terminal requires a parent element.");P.body.contains(M)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=M.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"),M.appendChild(this.element);var j=P.createDocumentFragment();this._viewportElement=P.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),j.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),j.appendChild(this.screenElement),this.textarea=P.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",a.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(e.addDisposableDomListener(this.textarea,"focus",function(W){return B._onTextAreaFocus(W)})),this.register(e.addDisposableDomListener(this.textarea,"blur",function(){return B._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var H=this._instantiationService.createInstance(L.CoreBrowserService,this.textarea);this._instantiationService.setService(y.ICoreBrowserService,H),this._charSizeService=this._instantiationService.createInstance(w.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(t.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(j),this._theme=this.options.theme||this._theme,this._colorManager=new b.ColorManager(P,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(W){return B._colorManager.onOptionsChange(W)})),this._colorManager.setTheme(this._theme);var K=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(S.RenderService,K,this.rows,this.screenElement)),this._instantiationService.setService(y.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(W){return B._onRender.fire(W)})),this.onResize(function(W){return B._renderService.resize(W.cols,W.rows)}),this._soundService=this._instantiationService.createInstance(i.SoundService),this._instantiationService.setService(y.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(x.MouseService),this._instantiationService.setService(y.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(p.Viewport,function(W,X){return B.scrollLines(W,X)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return B.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){B._renderService.onCursorMove(),B._syncTextArea()})),this.register(this.onResize(function(){return B._renderService.onResize(B.cols,B.rows)})),this.register(this.onBlur(function(){return B._renderService.onBlur()})),this.register(this.onFocus(function(){return B._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return B.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 B.scrollLines(W.amount,W.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return B._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(W){return B._renderService.onSelectionChanged(W.start,W.end,W.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(W){B.textarea.value=W,B.textarea.focus(),B.textarea.select()})),this.register(this.onScroll(function(){B.viewport.syncScrollArea(),B._selectionService.refresh()})),this.register(e.addDisposableDomListener(this._viewportElement,"scroll",function(){return B._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(u.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return B._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(e.addDisposableDomListener(this.element,"mousedown",function(W){return B._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 f.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},D.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(s.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(m.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},D.prototype._setTheme=function(M){var B,j,H;this._theme=M,(B=this._colorManager)===null||B===void 0||B.setTheme(M),(j=this._renderService)===null||j===void 0||j.setColors(this._colorManager.colors),(H=this.viewport)===null||H===void 0||H.onThemeChange(this._colorManager.colors)},D.prototype.bindMouse=function(){var M=this,B=this,j=this.element;function H(G){var Y,te,se=B._mouseService.getRawByteCoords(G,B.screenElement,B.cols,B.rows);if(!se)return!1;switch(G.overrideType||G.type){case"mousemove":te=32,G.buttons===void 0?(Y=3,G.button!==void 0&&(Y=G.button<3?G.button:3)):Y=1&G.buttons?0:4&G.buttons?1:2&G.buttons?2:3;break;case"mouseup":te=0,Y=G.button<3?G.button:3;break;case"mousedown":te=1,Y=G.button<3?G.button:3;break;case"wheel":G.deltaY!==0&&(te=G.deltaY<0?0:1),Y=4;break;default:return!1}return!(te===void 0||Y===void 0||Y>4)&&B._coreMouseService.triggerMouseEvent({col:se.x-33,row:se.y-33,button:Y,action:te,ctrl:G.ctrlKey,alt:G.altKey,shift:G.shiftKey})}var K={mouseup:null,wheel:null,mousedrag:null,mousemove:null},W=function(Y){return H(Y),Y.buttons||(M._document.removeEventListener("mouseup",K.mouseup),K.mousedrag&&M._document.removeEventListener("mousemove",K.mousedrag)),M.cancel(Y)},X=function(Y){return H(Y),Y.preventDefault(),M.cancel(Y)},V=function(Y){Y.buttons&&H(Y)},Z=function(Y){Y.buttons||H(Y)};this.register(this._coreMouseService.onProtocolChange(function(G){G?(M.optionsService.options.logLevel==="debug"&&M._logService.debug("Binding to mouse events:",M._coreMouseService.explainEvents(G)),M.element.classList.add("enable-mouse-events"),M._selectionService.disable()):(M._logService.debug("Unbinding from mouse events."),M.element.classList.remove("enable-mouse-events"),M._selectionService.enable()),8&G?K.mousemove||(j.addEventListener("mousemove",Z),K.mousemove=Z):(j.removeEventListener("mousemove",K.mousemove),K.mousemove=null),16&G?K.wheel||(j.addEventListener("wheel",X,{passive:!1}),K.wheel=X):(j.removeEventListener("wheel",K.wheel),K.wheel=null),2&G?K.mouseup||(K.mouseup=W):(M._document.removeEventListener("mouseup",K.mouseup),K.mouseup=null),4&G?K.mousedrag||(K.mousedrag=V):(M._document.removeEventListener("mousemove",K.mousedrag),K.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(e.addDisposableDomListener(j,"mousedown",function(G){if(G.preventDefault(),M.focus(),M._coreMouseService.areMouseEventsActive&&!M._selectionService.shouldForceSelection(G))return H(G),K.mouseup&&M._document.addEventListener("mouseup",K.mouseup),K.mousedrag&&M._document.addEventListener("mousemove",K.mousedrag),M.cancel(G)})),this.register(e.addDisposableDomListener(j,"wheel",function(G){if(!K.wheel){if(!M.buffer.hasScrollback){var Y=M.viewport.getLinesScrolled(G);if(Y===0)return;for(var te=o.C0.ESC+(M._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(G.deltaY<0?"A":"B"),se="",Ce=0;Ce<Math.abs(Y);Ce++)se+=te;M._coreService.triggerDataEvent(se,!0)}}},{passive:!0})),this.register(e.addDisposableDomListener(j,"wheel",function(G){if(!K.wheel)return M.viewport.onWheel(G)?void 0:M.cancel(G)},{passive:!1})),this.register(e.addDisposableDomListener(j,"touchstart",function(G){if(!M._coreMouseService.areMouseEventsActive)return M.viewport.onTouchStart(G),M.cancel(G)},{passive:!0})),this.register(e.addDisposableDomListener(j,"touchmove",function(G){if(!M._coreMouseService.areMouseEventsActive)return M.viewport.onTouchMove(G)?void 0:M.cancel(G)},{passive:!1}))},D.prototype.refresh=function(M,B){var j;(j=this._renderService)===null||j===void 0||j.refreshRows(M,B)},D.prototype._queueLinkification=function(M,B){var j;(j=this.linkifier)===null||j===void 0||j.linkifyRows(M,B)},D.prototype.updateCursorStyle=function(M){this._selectionService&&this._selectionService.shouldColumnSelect(M)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},D.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},D.prototype.scrollLines=function(M,B){U.prototype.scrollLines.call(this,M,B),this.refresh(0,this.rows-1)},D.prototype.paste=function(M){h.paste(M,this.textarea,this._coreService)},D.prototype.attachCustomKeyEventHandler=function(M){this._customKeyEventHandler=M},D.prototype.registerLinkMatcher=function(M,B,j){var H=this.linkifier.registerLinkMatcher(M,B,j);return this.refresh(0,this.rows-1),H},D.prototype.deregisterLinkMatcher=function(M){this.linkifier.deregisterLinkMatcher(M)&&this.refresh(0,this.rows-1)},D.prototype.registerLinkProvider=function(M){return this.linkifier2.registerLinkProvider(M)},D.prototype.registerCharacterJoiner=function(M){var B=this._renderService.registerCharacterJoiner(M);return this.refresh(0,this.rows-1),B},D.prototype.deregisterCharacterJoiner=function(M){this._renderService.deregisterCharacterJoiner(M)&&this.refresh(0,this.rows-1)},Object.defineProperty(D.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),D.prototype.addMarker=function(M){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+M)},D.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},D.prototype.select=function(M,B,j){this._selectionService.setSelection(M,B,j)},D.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},D.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]}},D.prototype.clearSelection=function(){var M;(M=this._selectionService)===null||M===void 0||M.clearSelection()},D.prototype.selectAll=function(){var M;(M=this._selectionService)===null||M===void 0||M.selectAll()},D.prototype.selectLines=function(M,B){var j;(j=this._selectionService)===null||j===void 0||j.selectLines(M,B)},D.prototype._keyDown=function(M){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(M)===!1)return!1;if(!this._compositionHelper.keydown(M))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var B=A.evaluateKeyboardEvent(M,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(M),B.type===3||B.type===2){var j=this.rows-1;return this.scrollLines(B.type===2?-j:j),this.cancel(M,!0)}return B.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,M)||(B.cancel&&this.cancel(M,!0),!B.key||(B.key!==o.C0.ETX&&B.key!==o.C0.CR||(this.textarea.value=""),this._onKey.fire({key:B.key,domEvent:M}),this._showCursor(),this._coreService.triggerDataEvent(B.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(M,!0)))},D.prototype._isThirdLevelShift=function(M,B){var j=M.isMac&&!this.options.macOptionIsMeta&&B.altKey&&!B.ctrlKey&&!B.metaKey||M.isWindows&&B.altKey&&B.ctrlKey&&!B.metaKey;return B.type==="keypress"?j:j&&(!B.keyCode||B.keyCode>47)},D.prototype._keyUp=function(M){this._customKeyEventHandler&&this._customKeyEventHandler(M)===!1||(function(B){return B.keyCode===16||B.keyCode===17||B.keyCode===18}(M)||this.focus(),this.updateCursorStyle(M))},D.prototype._keyPress=function(M){var B;if(this._keyDownHandled)return!1;if(this._customKeyEventHandler&&this._customKeyEventHandler(M)===!1)return!1;if(this.cancel(M),M.charCode)B=M.charCode;else if(M.which===null||M.which===void 0)B=M.keyCode;else{if(M.which===0||M.charCode===0)return!1;B=M.which}return!(!B||(M.altKey||M.ctrlKey||M.metaKey)&&!this._isThirdLevelShift(this.browser,M))&&(B=String.fromCharCode(B),this._onKey.fire({key:B,domEvent:M}),this._showCursor(),this._coreService.triggerDataEvent(B,!0),!0)},D.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},D.prototype.resize=function(M,B){M!==this.cols||B!==this.rows?U.prototype.resize.call(this,M,B):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},D.prototype._afterResize=function(M,B){var j,H;(j=this._charSizeService)===null||j===void 0||j.measure(),(H=this.viewport)===null||H===void 0||H.syncScrollArea(!0)},D.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 M=1;M<this.rows;M++)this.buffer.lines.push(this.buffer.getBlankLine(v.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},D.prototype.reset=function(){var M,B;this.options.rows=this.rows,this.options.cols=this.cols;var j=this._customKeyEventHandler;this._setup(),U.prototype.reset.call(this),(M=this._selectionService)===null||M===void 0||M.reset(),this._customKeyEventHandler=j,this.refresh(0,this.rows-1),(B=this.viewport)===null||B===void 0||B.syncScrollArea()},D.prototype._reportWindowsOptions=function(M){if(this._renderService)switch(M){case r.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var B=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),j=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[4;"+j+";"+B+"t");break;case r.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var H=this._renderService.dimensions.scaledCellWidth.toFixed(0),K=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(o.C0.ESC+"[6;"+K+";"+H+"t")}},D.prototype.cancel=function(M,B){if(this.options.cancelEvents||B)return M.preventDefault(),M.stopPropagation(),!1},D.prototype._visualBell=function(){return!1},D.prototype._soundBell=function(){return this.options.bellStyle==="sound"},D}(R.CoreTerminal);_.Terminal=k},function(O,_,I){"use strict";var E=this&&this.__decorate||function(o,r,s,l){var n,c=arguments.length,e=c<3?r:l===null?l=Object.getOwnPropertyDescriptor(r,s):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,r,s,l);else for(var a=o.length-1;a>=0;a--)(n=o[a])&&(e=(c<3?n(e):c>3?n(r,s,e):n(r,s))||e);return c>3&&e&&Object.defineProperty(r,s,e),e},C=this&&this.__param||function(o,r){return function(s,l){r(s,l,o)}};Object.defineProperty(_,"__esModule",{value:!0}),_.CompositionHelper=void 0;var t=I(5),p=I(1),h=function(){function o(r,s,l,n,c,e){this._textarea=r,this._compositionView=s,this._bufferService=l,this._optionsService=n,this._charSizeService=c,this._coreService=e,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(o.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),o.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},o.prototype.compositionupdate=function(r){var s=this;this._compositionView.textContent=r.data,this.updateCompositionElements(),setTimeout(function(){s._compositionPosition.end=s._textarea.value.length},0)},o.prototype.compositionend=function(){this._finalizeComposition(!0)},o.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)},o.prototype._finalizeComposition=function(r){var s=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,r){var l={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(s._isSendingComposition){s._isSendingComposition=!1;var c=void 0;c=s._isComposing?s._textarea.value.substring(l.start,l.end):s._textarea.value.substring(l.start),s._coreService.triggerDataEvent(c,!0)}},0)}else{this._isSendingComposition=!1;var n=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(n,!0)}},o.prototype._handleAnyTextareaChanges=function(){var r=this,s=this._textarea.value;setTimeout(function(){if(!r._isComposing){var l=r._textarea.value.replace(s,"");l.length>0&&r._coreService.triggerDataEvent(l,!0)}},0)},o.prototype.updateCompositionElements=function(r){var s=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var l=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),n=this._bufferService.buffer.y*l,c=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=c+"px",this._compositionView.style.top=n+"px",this._compositionView.style.height=l+"px",this._compositionView.style.lineHeight=l+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var e=this._compositionView.getBoundingClientRect();this._textarea.style.left=c+"px",this._textarea.style.top=n+"px",this._textarea.style.width=e.width+"px",this._textarea.style.height=e.height+"px",this._textarea.style.lineHeight=e.height+"px"}r||setTimeout(function(){return s.updateCompositionElements(!0)},0)}},o=E([C(2,p.IBufferService),C(3,p.IOptionsService),C(4,t.ICharSizeService),C(5,p.ICoreService)],o)}();_.CompositionHelper=h},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),t=this&&this.__decorate||function(n,c,e,a){var i,u=arguments.length,f=u<3?c:a===null?a=Object.getOwnPropertyDescriptor(c,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,c,e,a);else for(var m=n.length-1;m>=0;m--)(i=n[m])&&(f=(u<3?i(f):u>3?i(c,e,f):i(c,e))||f);return u>3&&f&&Object.defineProperty(c,e,f),f},p=this&&this.__param||function(n,c){return function(e,a){c(e,a,n)}};Object.defineProperty(_,"__esModule",{value:!0}),_.Viewport=void 0;var h=I(2),o=I(7),r=I(5),s=I(1),l=function(n){function c(e,a,i,u,f,m,A){var g=n.call(this)||this;return g._scrollLines=e,g._viewportElement=a,g._scrollArea=i,g._bufferService=u,g._optionsService=f,g._charSizeService=m,g._renderService=A,g.scrollBarWidth=0,g._currentRowHeight=0,g._lastRecordedBufferLength=0,g._lastRecordedViewportHeight=0,g._lastRecordedBufferHeight=0,g._lastTouchY=0,g._lastScrollTop=0,g._wheelPartialScroll=0,g._refreshAnimationFrame=null,g._ignoreNextScrollEvent=!1,g.scrollBarWidth=g._viewportElement.offsetWidth-g._scrollArea.offsetWidth||15,g.register(o.addDisposableDomListener(g._viewportElement,"scroll",g._onScroll.bind(g))),setTimeout(function(){return g.syncScrollArea()},0),g}return C(c,n),c.prototype.onThemeChange=function(e){this._viewportElement.style.backgroundColor=e.background.css},c.prototype._refresh=function(e){var a=this;if(e)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return a._innerRefresh()}))},c.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var e=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==e&&(this._lastRecordedBufferHeight=e,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==a&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=a),this._refreshAnimationFrame=null},c.prototype.syncScrollArea=function(e){if(e===void 0&&(e=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(e);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var a=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===a&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(e)}else this._refresh(e)},c.prototype._onScroll=function(e){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var a=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(a,!0)}},c.prototype._bubbleScroll=function(e,a){var i=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(a<0&&this._viewportElement.scrollTop!==0||a>0&&i<this._lastRecordedBufferHeight)||(e.cancelable&&e.preventDefault(),!1)},c.prototype.onWheel=function(e){var a=this._getPixelsScrolled(e);return a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(e,a))},c.prototype._getPixelsScrolled=function(e){if(e.deltaY===0)return 0;var a=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_LINE?a*=this._currentRowHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._currentRowHeight*this._bufferService.rows),a},c.prototype.getLinesScrolled=function(e){if(e.deltaY===0)return 0;var a=this._applyScrollModifier(e.deltaY,e);return e.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(a/=this._currentRowHeight+0,this._wheelPartialScroll+=a,a=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(a*=this._bufferService.rows),a},c.prototype._applyScrollModifier=function(e,a){var i=this._optionsService.options.fastScrollModifier;return i==="alt"&&a.altKey||i==="ctrl"&&a.ctrlKey||i==="shift"&&a.shiftKey?e*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:e*this._optionsService.options.scrollSensitivity},c.prototype.onTouchStart=function(e){this._lastTouchY=e.touches[0].pageY},c.prototype.onTouchMove=function(e){var a=this._lastTouchY-e.touches[0].pageY;return this._lastTouchY=e.touches[0].pageY,a!==0&&(this._viewportElement.scrollTop+=a,this._bubbleScroll(e,a))},c=t([p(3,s.IBufferService),p(4,s.IOptionsService),p(5,r.ICharSizeService),p(6,r.IRenderService)],c)}(h.Disposable);_.Viewport=l},function(O,_,I){"use strict";function E(h){return h.replace(/\r?\n/g,"\r")}function C(h,o){return o?"[200~"+h+"[201~":h}function t(h,o,r){h=C(h=E(h),r.decPrivateModes.bracketedPasteMode),r.triggerDataEvent(h,!0),o.value=""}function p(h,o,r){var s=r.getBoundingClientRect(),l=h.clientX-s.left-10,n=h.clientY-s.top-10;o.style.width="20px",o.style.height="20px",o.style.left=l+"px",o.style.top=n+"px",o.style.zIndex="1000",o.focus()}Object.defineProperty(_,"__esModule",{value:!0}),_.rightClickHandler=_.moveTextAreaUnderMouseCursor=_.paste=_.handlePasteEvent=_.copyHandler=_.bracketTextForPaste=_.prepareTextForTerminal=void 0,_.prepareTextForTerminal=E,_.bracketTextForPaste=C,_.copyHandler=function(h,o){h.clipboardData&&h.clipboardData.setData("text/plain",o.selectionText),h.preventDefault()},_.handlePasteEvent=function(h,o,r){h.stopPropagation(),h.clipboardData&&t(h.clipboardData.getData("text/plain"),o,r)},_.paste=t,_.moveTextAreaUnderMouseCursor=p,_.rightClickHandler=function(h,o,r,s,l){p(h,o,r),l&&!s.isClickInSelection(h)&&s.selectWordAtCursor(h),o.value=s.selectionText,o.select()}},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(_,"__esModule",{value:!0}),_.EscapeSequenceParser=_.VT500_TRANSITION_TABLE=_.TransitionTable=void 0;var t=I(2),p=I(15),h=I(21),o=I(22),r=I(24),s=function(){function n(c){this.table=new Uint8Array(c)}return n.prototype.setDefault=function(c,e){p.fill(this.table,c<<4|e)},n.prototype.add=function(c,e,a,i){this.table[e<<8|c]=a<<4|i},n.prototype.addMany=function(c,e,a,i){for(var u=0;u<c.length;u++)this.table[e<<8|c[u]]=a<<4|i},n}();_.TransitionTable=s,_.VT500_TRANSITION_TABLE=function(){var n=new s(4095),c=Array.apply(null,Array(256)).map(function(m,A){return A}),e=function(A,g){return c.slice(A,g)},a=e(32,127),i=e(0,24);i.push(25),i.push.apply(i,e(28,32));var u,f=e(0,14);for(u in n.setDefault(1,0),n.addMany(a,0,2,0),f)n.addMany([24,26,153,154],u,3,0),n.addMany(e(128,144),u,3,0),n.addMany(e(144,152),u,3,0),n.add(156,u,0,0),n.add(27,u,11,1),n.add(157,u,4,8),n.addMany([152,158,159],u,0,7),n.add(155,u,11,3),n.add(144,u,11,9);return n.addMany(i,0,3,0),n.addMany(i,1,3,1),n.add(127,1,0,1),n.addMany(i,8,0,8),n.addMany(i,3,3,3),n.add(127,3,0,3),n.addMany(i,4,3,4),n.add(127,4,0,4),n.addMany(i,6,3,6),n.addMany(i,5,3,5),n.add(127,5,0,5),n.addMany(i,2,3,2),n.add(127,2,0,2),n.add(93,1,4,8),n.addMany(a,8,5,8),n.add(127,8,5,8),n.addMany([156,27,24,26,7],8,6,0),n.addMany(e(28,32),8,0,8),n.addMany([88,94,95],1,0,7),n.addMany(a,7,0,7),n.addMany(i,7,0,7),n.add(156,7,0,0),n.add(127,7,0,7),n.add(91,1,11,3),n.addMany(e(64,127),3,7,0),n.addMany(e(48,60),3,8,4),n.addMany([60,61,62,63],3,9,4),n.addMany(e(48,60),4,8,4),n.addMany(e(64,127),4,7,0),n.addMany([60,61,62,63],4,0,6),n.addMany(e(32,64),6,0,6),n.add(127,6,0,6),n.addMany(e(64,127),6,0,0),n.addMany(e(32,48),3,9,5),n.addMany(e(32,48),5,9,5),n.addMany(e(48,64),5,0,6),n.addMany(e(64,127),5,7,0),n.addMany(e(32,48),4,9,5),n.addMany(e(32,48),1,9,2),n.addMany(e(32,48),2,9,2),n.addMany(e(48,127),2,10,0),n.addMany(e(48,80),1,10,0),n.addMany(e(81,88),1,10,0),n.addMany([89,90,92],1,10,0),n.addMany(e(96,127),1,10,0),n.add(80,1,11,9),n.addMany(i,9,0,9),n.add(127,9,0,9),n.addMany(e(28,32),9,0,9),n.addMany(e(32,48),9,9,12),n.addMany(e(48,60),9,8,10),n.addMany([60,61,62,63],9,9,10),n.addMany(i,11,0,11),n.addMany(e(32,128),11,0,11),n.addMany(e(28,32),11,0,11),n.addMany(i,10,0,10),n.add(127,10,0,10),n.addMany(e(28,32),10,0,10),n.addMany(e(48,60),10,8,10),n.addMany([60,61,62,63],10,0,11),n.addMany(e(32,48),10,9,12),n.addMany(i,12,0,12),n.add(127,12,0,12),n.addMany(e(28,32),12,0,12),n.addMany(e(32,48),12,9,12),n.addMany(e(48,64),12,0,11),n.addMany(e(64,127),12,12,13),n.addMany(e(64,127),10,12,13),n.addMany(e(64,127),9,12,13),n.addMany(i,13,13,13),n.addMany(a,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 l=function(n){function c(e){e===void 0&&(e=_.VT500_TRANSITION_TABLE);var a=n.call(this)||this;return a._transitions=e,a.initialState=0,a.currentState=a.initialState,a._params=new h.Params,a._params.addParam(0),a._collect=0,a.precedingCodepoint=0,a._printHandlerFb=function(i,u,f){},a._executeHandlerFb=function(i){},a._csiHandlerFb=function(i,u){},a._escHandlerFb=function(i){},a._errorHandlerFb=function(i){return i},a._printHandler=a._printHandlerFb,a._executeHandlers=Object.create(null),a._csiHandlers=Object.create(null),a._escHandlers=Object.create(null),a._oscParser=new o.OscParser,a._dcsParser=new r.DcsParser,a._errorHandler=a._errorHandlerFb,a.setEscHandler({final:"\\"},function(){}),a}return C(c,n),c.prototype._identifier=function(e,a){a===void 0&&(a=[64,126]);var i=0;if(e.prefix){if(e.prefix.length>1)throw new Error("only one byte as prefix supported");if((i=e.prefix.charCodeAt(0))&&60>i||i>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(e.intermediates){if(e.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var u=0;u<e.intermediates.length;++u){var f=e.intermediates.charCodeAt(u);if(32>f||f>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");i<<=8,i|=f}}if(e.final.length!==1)throw new Error("final must be a single byte");var m=e.final.charCodeAt(0);if(a[0]>m||m>a[1])throw new Error("final must be in range "+a[0]+" .. "+a[1]);return i<<=8,i|=m},c.prototype.identToString=function(e){for(var a=[];e;)a.push(String.fromCharCode(255&e)),e>>=8;return a.reverse().join("")},c.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},c.prototype.setPrintHandler=function(e){this._printHandler=e},c.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},c.prototype.addEscHandler=function(e,a){var i=this._identifier(e,[48,126]);this._escHandlers[i]===void 0&&(this._escHandlers[i]=[]);var u=this._escHandlers[i];return u.push(a),{dispose:function(){var m=u.indexOf(a);m!==-1&&u.splice(m,1)}}},c.prototype.setEscHandler=function(e,a){this._escHandlers[this._identifier(e,[48,126])]=[a]},c.prototype.clearEscHandler=function(e){this._escHandlers[this._identifier(e,[48,126])]&&delete this._escHandlers[this._identifier(e,[48,126])]},c.prototype.setEscHandlerFallback=function(e){this._escHandlerFb=e},c.prototype.setExecuteHandler=function(e,a){this._executeHandlers[e.charCodeAt(0)]=a},c.prototype.clearExecuteHandler=function(e){this._executeHandlers[e.charCodeAt(0)]&&delete this._executeHandlers[e.charCodeAt(0)]},c.prototype.setExecuteHandlerFallback=function(e){this._executeHandlerFb=e},c.prototype.addCsiHandler=function(e,a){var i=this._identifier(e);this._csiHandlers[i]===void 0&&(this._csiHandlers[i]=[]);var u=this._csiHandlers[i];return u.push(a),{dispose:function(){var m=u.indexOf(a);m!==-1&&u.splice(m,1)}}},c.prototype.setCsiHandler=function(e,a){this._csiHandlers[this._identifier(e)]=[a]},c.prototype.clearCsiHandler=function(e){this._csiHandlers[this._identifier(e)]&&delete this._csiHandlers[this._identifier(e)]},c.prototype.setCsiHandlerFallback=function(e){this._csiHandlerFb=e},c.prototype.addDcsHandler=function(e,a){return this._dcsParser.addHandler(this._identifier(e),a)},c.prototype.setDcsHandler=function(e,a){this._dcsParser.setHandler(this._identifier(e),a)},c.prototype.clearDcsHandler=function(e){this._dcsParser.clearHandler(this._identifier(e))},c.prototype.setDcsHandlerFallback=function(e){this._dcsParser.setHandlerFallback(e)},c.prototype.addOscHandler=function(e,a){return this._oscParser.addHandler(e,a)},c.prototype.setOscHandler=function(e,a){this._oscParser.setHandler(e,a)},c.prototype.clearOscHandler=function(e){this._oscParser.clearHandler(e)},c.prototype.setOscHandlerFallback=function(e){this._oscParser.setHandlerFallback(e)},c.prototype.setErrorHandler=function(e){this._errorHandler=e},c.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},c.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},c.prototype.parse=function(e,a){for(var i=0,u=0,f=this.currentState,m=this._oscParser,A=this._dcsParser,g=this._collect,v=this._params,b=this._transitions.table,S=0;S<a;++S){switch((u=b[f<<8|((i=e[S])<160?i:160)])>>4){case 2:for(var y=S+1;;++y){if(y>=a||(i=e[y])<32||i>126&&i<160){this._printHandler(e,S,y),S=y-1;break}if(++y>=a||(i=e[y])<32||i>126&&i<160){this._printHandler(e,S,y),S=y-1;break}if(++y>=a||(i=e[y])<32||i>126&&i<160){this._printHandler(e,S,y),S=y-1;break}if(++y>=a||(i=e[y])<32||i>126&&i<160){this._printHandler(e,S,y),S=y-1;break}}break;case 3:this._executeHandlers[i]?this._executeHandlers[i]():this._executeHandlerFb(i),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:S,code:i,currentState:f,collect:g,params:v,abort:!1}).abort)return;break;case 7:for(var w=this._csiHandlers[g<<8|i],x=w?w.length-1:-1;x>=0&&w[x](v)===!1;x--);x<0&&this._csiHandlerFb(g<<8|i,v),this.precedingCodepoint=0;break;case 8:do switch(i){case 59:v.addParam(0);break;case 58:v.addSubParam(-1);break;default:v.addDigit(i-48)}while(++S<a&&(i=e[S])>47&&i<60);S--;break;case 9:g<<=8,g|=i;break;case 10:for(var T=this._escHandlers[g<<8|i],L=T?T.length-1:-1;L>=0&&T[L]()===!1;L--);L<0&&this._escHandlerFb(g<<8|i),this.precedingCodepoint=0;break;case 11:v.reset(),v.addParam(0),g=0;break;case 12:A.hook(g<<8|i,v);break;case 13:for(var R=S+1;;++R)if(R>=a||(i=e[R])===24||i===26||i===27||i>127&&i<160){A.put(e,S,R),S=R-1;break}break;case 14:A.unhook(i!==24&&i!==26),i===27&&(u|=1),v.reset(),v.addParam(0),g=0,this.precedingCodepoint=0;break;case 4:m.start();break;case 5:for(var P=S+1;;P++)if(P>=a||(i=e[P])<32||i>127&&i<=159){m.put(e,S,P),S=P-1;break}break;case 6:m.end(i!==24&&i!==26),i===27&&(u|=1),v.reset(),v.addParam(0),g=0,this.precedingCodepoint=0}f=15&u}this._collect=g,this.currentState=f},c}(t.Disposable);_.EscapeSequenceParser=l},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(A,g){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var S in b)b.hasOwnProperty(S)&&(v[S]=b[S])})(A,g)},function(m,A){function g(){this.constructor=m}E(m,A),m.prototype=A===null?Object.create(A):(g.prototype=A.prototype,new g)}),t=this&&this.__decorate||function(m,A,g,v){var b,S=arguments.length,y=S<3?A:v===null?v=Object.getOwnPropertyDescriptor(A,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(m,A,g,v);else for(var w=m.length-1;w>=0;w--)(b=m[w])&&(y=(S<3?b(y):S>3?b(A,g,y):b(A,g))||y);return S>3&&y&&Object.defineProperty(A,g,y),y},p=this&&this.__param||function(m,A){return function(g,v){A(g,v,m)}};Object.defineProperty(_,"__esModule",{value:!0}),_.Renderer=void 0;var h=I(41),o=I(47),r=I(48),s=I(49),l=I(29),n=I(2),c=I(5),e=I(1),a=I(25),i=I(0),u=1,f=function(m){function A(g,v,b,S,y,w,x,T,L){var R=m.call(this)||this;R._colors=g,R._screenElement=v,R._bufferService=y,R._charSizeService=w,R._optionsService=x,R._id=u++,R._onRequestRedraw=new i.EventEmitter;var P=R._optionsService.options.allowTransparency;return R._characterJoinerRegistry=new l.CharacterJoinerRegistry(R._bufferService),R._renderLayers=[new h.TextRenderLayer(R._screenElement,0,R._colors,R._characterJoinerRegistry,P,R._id,R._bufferService,x),new o.SelectionRenderLayer(R._screenElement,1,R._colors,R._id,R._bufferService,x),new s.LinkRenderLayer(R._screenElement,2,R._colors,R._id,b,S,R._bufferService,x),new r.CursorRenderLayer(R._screenElement,3,R._colors,R._id,R._onRequestRedraw,R._bufferService,x,T,L)],R.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},R._devicePixelRatio=window.devicePixelRatio,R._updateDimensions(),R.onOptionsChanged(),R}return C(A,m),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){for(var g=0,v=this._renderLayers;g<v.length;g++)v[g].dispose();m.prototype.dispose.call(this),a.removeTerminalFromCache(this._id)},A.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},A.prototype.setColors=function(g){this._colors=g;for(var v=0,b=this._renderLayers;v<b.length;v++){var S=b[v];S.setColors(this._colors),S.reset()}},A.prototype.onResize=function(g,v){this._updateDimensions();for(var b=0,S=this._renderLayers;b<S.length;b++)S[b].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},A.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},A.prototype.onBlur=function(){this._runOperation(function(g){return g.onBlur()})},A.prototype.onFocus=function(){this._runOperation(function(g){return g.onFocus()})},A.prototype.onSelectionChanged=function(g,v,b){b===void 0&&(b=!1),this._runOperation(function(S){return S.onSelectionChanged(g,v,b)})},A.prototype.onCursorMove=function(){this._runOperation(function(g){return g.onCursorMove()})},A.prototype.onOptionsChanged=function(){this._runOperation(function(g){return g.onOptionsChanged()})},A.prototype.clear=function(){this._runOperation(function(g){return g.reset()})},A.prototype._runOperation=function(g){for(var v=0,b=this._renderLayers;v<b.length;v++)g(b[v])},A.prototype.renderRows=function(g,v){for(var b=0,S=this._renderLayers;b<S.length;b++)S[b].onGridChanged(g,v)},A.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)},A.prototype.registerCharacterJoiner=function(g){return this._characterJoinerRegistry.registerCharacterJoiner(g)},A.prototype.deregisterCharacterJoiner=function(g){return this._characterJoinerRegistry.deregisterCharacterJoiner(g)},A=t([p(4,e.IBufferService),p(5,c.ICharSizeService),p(6,e.IOptionsService),p(7,e.ICoreService),p(8,c.ICoreBrowserService)],A)}(n.Disposable);_.Renderer=f},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)});Object.defineProperty(_,"__esModule",{value:!0}),_.TextRenderLayer=void 0;var t=I(42),p=I(13),h=I(6),o=I(3),r=I(29),s=I(4),l=function(n){function c(e,a,i,u,f,m,A,g){var v=n.call(this,e,"text",a,f,i,m,A,g)||this;return v._characterWidth=0,v._characterFont="",v._characterOverlapCache={},v._workCell=new s.CellData,v._state=new t.GridCache,v._characterJoinerRegistry=u,v}return C(c,n),c.prototype.resize=function(e){n.prototype.resize.call(this,e);var a=this._getFont(!1,!1);this._characterWidth===e.scaledCharWidth&&this._characterFont===a||(this._characterWidth=e.scaledCharWidth,this._characterFont=a,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},c.prototype.reset=function(){this._state.clear(),this._clearAll()},c.prototype._forEachCell=function(e,a,i,u){for(var f=e;f<=a;f++)for(var m=f+this._bufferService.buffer.ydisp,A=this._bufferService.buffer.lines.get(m),g=i?i.getJoinedCharacters(m):[],v=0;v<this._bufferService.cols;v++){A.loadCell(v,this._workCell);var b=this._workCell,S=!1,y=v;if(b.getWidth()!==0){if(g.length>0&&v===g[0][0]){S=!0;var w=g.shift();b=new r.JoinedCellData(this._workCell,A.translateToString(!0,w[0],w[1]),w[1]-w[0]),y=w[1]-1}!S&&this._isOverlapping(b)&&y<A.length-1&&A.getCodePoint(y+1)===o.NULL_CELL_CODE&&(b.content&=-12582913,b.content|=2<<22),u(b,v,f),v=y}}},c.prototype._drawBackground=function(e,a){var i=this,u=this._ctx,f=this._bufferService.cols,m=0,A=0,g=null;u.save(),this._forEachCell(e,a,null,function(v,b,S){var y=null;v.isInverse()?y=v.isFgDefault()?i._colors.foreground.css:v.isFgRGB()?"rgb("+h.AttributeData.toColorRGB(v.getFgColor()).join(",")+")":i._colors.ansi[v.getFgColor()].css:v.isBgRGB()?y="rgb("+h.AttributeData.toColorRGB(v.getBgColor()).join(",")+")":v.isBgPalette()&&(y=i._colors.ansi[v.getBgColor()].css),g===null&&(m=b,A=S),S!==A?(u.fillStyle=g||"",i._fillCells(m,A,f-m,1),m=b,A=S):g!==y&&(u.fillStyle=g||"",i._fillCells(m,A,b-m,1),m=b,A=S),g=y}),g!==null&&(u.fillStyle=g,this._fillCells(m,A,f-m,1)),u.restore()},c.prototype._drawForeground=function(e,a){var i=this;this._forEachCell(e,a,this._characterJoinerRegistry,function(u,f,m){if(!u.isInvisible()&&(i._drawChars(u,f,m),u.isUnderline())){if(i._ctx.save(),u.isInverse())if(u.isBgDefault())i._ctx.fillStyle=i._colors.background.css;else if(u.isBgRGB())i._ctx.fillStyle="rgb("+h.AttributeData.toColorRGB(u.getBgColor()).join(",")+")";else{var A=u.getBgColor();i._optionsService.options.drawBoldTextInBrightColors&&u.isBold()&&A<8&&(A+=8),i._ctx.fillStyle=i._colors.ansi[A].css}else if(u.isFgDefault())i._ctx.fillStyle=i._colors.foreground.css;else if(u.isFgRGB())i._ctx.fillStyle="rgb("+h.AttributeData.toColorRGB(u.getFgColor()).join(",")+")";else{var g=u.getFgColor();i._optionsService.options.drawBoldTextInBrightColors&&u.isBold()&&g<8&&(g+=8),i._ctx.fillStyle=i._colors.ansi[g].css}i._fillBottomLineAtCells(f,m,u.getWidth()),i._ctx.restore()}})},c.prototype.onGridChanged=function(e,a){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,e,this._bufferService.cols,a-e+1),this._drawBackground(e,a),this._drawForeground(e,a))},c.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},c.prototype._isOverlapping=function(e){if(e.getWidth()!==1)return!1;if(e.getCode()<256)return!1;var a=e.getChars();if(this._characterOverlapCache.hasOwnProperty(a))return this._characterOverlapCache[a];this._ctx.save(),this._ctx.font=this._characterFont;var i=Math.floor(this._ctx.measureText(a).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[a]=i,i},c}(p.BaseRenderLayer);_.TextRenderLayer=l},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.GridCache=void 0;var E=function(){function C(){this.cache=[]}return C.prototype.resize=function(t,p){for(var h=0;h<t;h++){this.cache.length<=h&&this.cache.push([]);for(var o=this.cache[h].length;o<p;o++)this.cache[h].push(void 0);this.cache[h].length=p}this.cache.length=t},C.prototype.clear=function(){for(var t=0;t<this.cache.length;t++)for(var p=0;p<this.cache[t].length;p++)this.cache[t][p]=void 0},C}();_.GridCache=E},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(u,f){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,A){m.__proto__=A}||function(m,A){for(var g in A)A.hasOwnProperty(g)&&(m[g]=A[g])})(u,f)},function(i,u){function f(){this.constructor=i}E(i,u),i.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)});Object.defineProperty(_,"__esModule",{value:!0}),_.NoneCharAtlas=_.DynamicCharAtlas=_.getGlyphCacheKey=void 0;var t=I(9),p=I(44),h=I(27),o=I(46),r=I(11),s=I(28),l=I(10),n={css:"rgba(0, 0, 0, 0)",rgba:0};function c(i){return i.code<<21|i.bg<<12|i.fg<<3|(i.bold?0:4)+(i.dim?0:2)+(i.italic?0:1)}_.getGlyphCacheKey=c;var e=function(i){function u(f,m){var A=i.call(this)||this;A._config=m,A._drawToCacheCount=0,A._glyphsWaitingOnBitmap=[],A._bitmapCommitTimeout=null,A._bitmap=null,A._cacheCanvas=f.createElement("canvas"),A._cacheCanvas.width=1024,A._cacheCanvas.height=1024,A._cacheCtx=s.throwIfFalsy(A._cacheCanvas.getContext("2d",{alpha:!0}));var g=f.createElement("canvas");g.width=A._config.scaledCharWidth,g.height=A._config.scaledCharHeight,A._tmpCtx=s.throwIfFalsy(g.getContext("2d",{alpha:A._config.allowTransparency})),A._width=Math.floor(1024/A._config.scaledCharWidth),A._height=Math.floor(1024/A._config.scaledCharHeight);var v=A._width*A._height;return A._cacheMap=new o.LRUMap(v),A._cacheMap.prealloc(v),A}return C(u,i),u.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},u.prototype.beginFrame=function(){this._drawToCacheCount=0},u.prototype.draw=function(f,m,A,g){if(m.code===32)return!0;if(!this._canCache(m))return!1;var v=c(m),b=this._cacheMap.get(v);if(b!=null)return this._drawFromCache(f,b,A,g),!0;if(this._drawToCacheCount<100){var S=void 0;S=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var y=this._drawToCache(m,S);return this._cacheMap.set(v,y),this._drawFromCache(f,y,A,g),!0}return!1},u.prototype._canCache=function(f){return f.code<256},u.prototype._toCoordinateX=function(f){return f%this._width*this._config.scaledCharWidth},u.prototype._toCoordinateY=function(f){return Math.floor(f/this._width)*this._config.scaledCharHeight},u.prototype._drawFromCache=function(f,m,A,g){if(!m.isEmpty){var v=this._toCoordinateX(m.index),b=this._toCoordinateY(m.index);f.drawImage(m.inBitmap?this._bitmap:this._cacheCanvas,v,b,this._config.scaledCharWidth,this._config.scaledCharHeight,A,g,this._config.scaledCharWidth,this._config.scaledCharHeight)}},u.prototype._getColorFromAnsiIndex=function(f){return f<this._config.colors.ansi.length?this._config.colors.ansi[f]:h.DEFAULT_ANSI_COLORS[f]},u.prototype._getBackgroundColor=function(f){return this._config.allowTransparency?n:f.bg===t.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:f.bg<256?this._getColorFromAnsiIndex(f.bg):this._config.colors.background},u.prototype._getForegroundColor=function(f){return f.fg===t.INVERTED_DEFAULT_COLOR?l.color.opaque(this._config.colors.background):f.fg<256?this._getColorFromAnsiIndex(f.fg):this._config.colors.foreground},u.prototype._drawToCache=function(f,m){this._drawToCacheCount++,this._tmpCtx.save();var A=this._getBackgroundColor(f);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=A.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var g=f.bold?this._config.fontWeightBold:this._config.fontWeight,v=f.italic?"italic":"";this._tmpCtx.font=v+" "+g+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(f).css,f.dim&&(this._tmpCtx.globalAlpha=t.DIM_OPACITY),this._tmpCtx.fillText(f.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var b=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),S=!1;this._config.allowTransparency||(S=function(T,L){for(var R=!0,P=L.rgba>>>24,k=L.rgba>>>16&255,U=L.rgba>>>8&255,D=0;D<T.data.length;D+=4)T.data[D]===P&&T.data[D+1]===k&&T.data[D+2]===U?T.data[D+3]=0:R=!1;return R}(b,A));var y=this._toCoordinateX(m),w=this._toCoordinateY(m);this._cacheCtx.putImageData(b,y,w);var x={index:m,isEmpty:S,inBitmap:!1};return this._addGlyphToBitmap(x),x},u.prototype._addGlyphToBitmap=function(f){var m=this;!("createImageBitmap"in window)||r.isFirefox||r.isSafari||(this._glyphsWaitingOnBitmap.push(f),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return m._generateBitmap()},100)))},u.prototype._generateBitmap=function(){var f=this,m=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(A){f._bitmap=A;for(var g=0;g<m.length;g++)m[g].inBitmap=!0}),this._bitmapCommitTimeout=null},u}(p.BaseCharAtlas);_.DynamicCharAtlas=e;var a=function(i){function u(f,m){return i.call(this)||this}return C(u,i),u.prototype.draw=function(f,m,A,g){return!1},u}(p.BaseCharAtlas);_.NoneCharAtlas=a},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BaseCharAtlas=void 0;var E=function(){function C(){this._didWarmUp=!1}return C.prototype.dispose=function(){},C.prototype.warmUp=function(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)},C.prototype._doWarmUp=function(){},C.prototype.beginFrame=function(){},C}();_.BaseCharAtlas=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.ColorContrastCache=void 0;var E=function(){function C(){this._color={},this._rgba={}}return C.prototype.clear=function(){this._color={},this._rgba={}},C.prototype.setCss=function(t,p,h){this._rgba[t]||(this._rgba[t]={}),this._rgba[t][p]=h},C.prototype.getCss=function(t,p){return this._rgba[t]?this._rgba[t][p]:void 0},C.prototype.setColor=function(t,p,h){this._color[t]||(this._color[t]={}),this._color[t][p]=h},C.prototype.getColor=function(t,p){return this._color[t]?this._color[t][p]:void 0},C}();_.ColorContrastCache=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.LRUMap=void 0;var E=function(){function C(t){this.capacity=t,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return C.prototype._unlinkNode=function(t){var p=t.prev,h=t.next;t===this._head&&(this._head=h),t===this._tail&&(this._tail=p),p!==null&&(p.next=h),h!==null&&(h.prev=p)},C.prototype._appendNode=function(t){var p=this._tail;p!==null&&(p.next=t),t.prev=p,t.next=null,this._tail=t,this._head===null&&(this._head=t)},C.prototype.prealloc=function(t){for(var p=this._nodePool,h=0;h<t;h++)p.push({prev:null,next:null,key:null,value:null})},C.prototype.get=function(t){var p=this._map[t];return p!==void 0?(this._unlinkNode(p),this._appendNode(p),p.value):null},C.prototype.peekValue=function(t){var p=this._map[t];return p!==void 0?p.value:null},C.prototype.peek=function(){var t=this._head;return t===null?null:t.value},C.prototype.set=function(t,p){var h=this._map[t];if(h!==void 0)h=this._map[t],this._unlinkNode(h),h.value=p;else if(this.size>=this.capacity)h=this._head,this._unlinkNode(h),delete this._map[h.key],h.key=t,h.value=p,this._map[t]=h;else{var o=this._nodePool;o.length>0?((h=o.pop()).key=t,h.value=p):h={prev:null,next:null,key:t,value:p},this._map[t]=h,this.size++}this._appendNode(h)},C}();_.LRUMap=E},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(h,o){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var l in s)s.hasOwnProperty(l)&&(r[l]=s[l])})(h,o)},function(p,h){function o(){this.constructor=p}E(p,h),p.prototype=h===null?Object.create(h):(o.prototype=h.prototype,new o)});Object.defineProperty(_,"__esModule",{value:!0}),_.SelectionRenderLayer=void 0;var t=function(p){function h(o,r,s,l,n,c){var e=p.call(this,o,"selection",r,!0,s,l,n,c)||this;return e._clearState(),e}return C(h,p),h.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},h.prototype.resize=function(o){p.prototype.resize.call(this,o),this._clearState()},h.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},h.prototype.onSelectionChanged=function(o,r,s){if(this._didStateChange(o,r,s,this._bufferService.buffer.ydisp))if(this._clearAll(),o&&r){var l=o[1]-this._bufferService.buffer.ydisp,n=r[1]-this._bufferService.buffer.ydisp,c=Math.max(l,0),e=Math.min(n,this._bufferService.rows-1);if(!(c>=this._bufferService.rows||e<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,s){var a=o[0],i=r[0]-a,u=e-c+1;this._fillCells(a,c,i,u)}else{a=l===c?o[0]:0;var f=c===e?r[0]:this._bufferService.cols;this._fillCells(a,c,f-a,1);var m=Math.max(e-c-1,0);if(this._fillCells(0,c+1,this._bufferService.cols,m),c!==e){var A=n===e?r[0]:this._bufferService.cols;this._fillCells(0,e,A,1)}}this._state.start=[o[0],o[1]],this._state.end=[r[0],r[1]],this._state.columnSelectMode=s,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},h.prototype._didStateChange=function(o,r,s,l){return!this._areCoordinatesEqual(o,this._state.start)||!this._areCoordinatesEqual(r,this._state.end)||s!==this._state.columnSelectMode||l!==this._state.ydisp},h.prototype._areCoordinatesEqual=function(o,r){return!(!o||!r)&&o[0]===r[0]&&o[1]===r[1]},h}(I(13).BaseRenderLayer);_.SelectionRenderLayer=t},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(s,l){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,c){n.__proto__=c}||function(n,c){for(var e in c)c.hasOwnProperty(e)&&(n[e]=c[e])})(s,l)},function(r,s){function l(){this.constructor=r}E(r,s),r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)});Object.defineProperty(_,"__esModule",{value:!0}),_.CursorRenderLayer=void 0;var t=I(13),p=I(4),h=function(r){function s(l,n,c,e,a,i,u,f,m){var A=r.call(this,l,"cursor",n,!0,c,e,i,u)||this;return A._onRequestRedraw=a,A._coreService=f,A._coreBrowserService=m,A._cell=new p.CellData,A._state={x:0,y:0,isFocused:!1,style:"",width:0},A._cursorRenderers={bar:A._renderBarCursor.bind(A),block:A._renderBlockCursor.bind(A),underline:A._renderUnderlineCursor.bind(A)},A}return C(s,r),s.prototype.resize=function(l){r.prototype.resize.call(this,l),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},s.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},s.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onOptionsChanged=function(){var l,n=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new o(this._coreBrowserService.isFocused,function(){n._render(!0)})):((l=this._cursorBlinkStateManager)===null||l===void 0||l.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},s.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype.onGridChanged=function(l,n){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},s.prototype._render=function(l){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var n=this._bufferService.buffer.ybase+this._bufferService.buffer.y,c=n-this._bufferService.buffer.ydisp;if(c<0||c>=this._bufferService.rows)this._clearCursor();else{var e=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(n).loadCell(e,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var a=this._optionsService.options.cursorStyle;return a&&a!=="block"?this._cursorRenderers[a](e,c,this._cell):this._renderBlurCursor(e,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,this._state.isFocused=!1,this._state.style=a,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===e&&this._state.y===c&&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"](e,c,this._cell),this._ctx.restore(),this._state.x=e,this._state.y=c,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},s.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})},s.prototype._renderBarCursor=function(l,n,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(l,n,this._optionsService.options.cursorWidth),this._ctx.restore()},s.prototype._renderBlockCursor=function(l,n,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(l,n,c.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(c,l,n),this._ctx.restore()},s.prototype._renderUnderlineCursor=function(l,n,c){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(l,n),this._ctx.restore()},s.prototype._renderBlurCursor=function(l,n,c){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(l,n,c.getWidth(),1),this._ctx.restore()},s}(t.BaseRenderLayer);_.CursorRenderLayer=h;var o=function(){function r(s,l){this._renderCallback=l,this.isCursorVisible=!0,s&&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 s=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){s._renderCallback(),s._animationFrame=void 0})))},r.prototype._restartInterval=function(s){var l=this;s===void 0&&(s=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(l._animationTimeRestarted){var n=600-(Date.now()-l._animationTimeRestarted);if(l._animationTimeRestarted=void 0,n>0)return void l._restartInterval(n)}l.isCursorVisible=!1,l._animationFrame=window.requestAnimationFrame(function(){l._renderCallback(),l._animationFrame=void 0}),l._blinkInterval=window.setInterval(function(){if(l._animationTimeRestarted){var c=600-(Date.now()-l._animationTimeRestarted);return l._animationTimeRestarted=void 0,void l._restartInterval(c)}l.isCursorVisible=!l.isCursorVisible,l._animationFrame=window.requestAnimationFrame(function(){l._renderCallback(),l._animationFrame=void 0})},600)},s)},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(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(s,l){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,c){n.__proto__=c}||function(n,c){for(var e in c)c.hasOwnProperty(e)&&(n[e]=c[e])})(s,l)},function(r,s){function l(){this.constructor=r}E(r,s),r.prototype=s===null?Object.create(s):(l.prototype=s.prototype,new l)});Object.defineProperty(_,"__esModule",{value:!0}),_.LinkRenderLayer=void 0;var t=I(13),p=I(9),h=I(26),o=function(r){function s(l,n,c,e,a,i,u,f){var m=r.call(this,l,"link",n,!0,c,e,u,f)||this;return a.onShowLinkUnderline(function(A){return m._onShowLinkUnderline(A)}),a.onHideLinkUnderline(function(A){return m._onHideLinkUnderline(A)}),i.onShowLinkUnderline(function(A){return m._onShowLinkUnderline(A)}),i.onHideLinkUnderline(function(A){return m._onHideLinkUnderline(A)}),m}return C(s,r),s.prototype.resize=function(l){r.prototype.resize.call(this,l),this._state=void 0},s.prototype.reset=function(){this._clearCurrentLink()},s.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var l=this._state.y2-this._state.y1-1;l>0&&this._clearCells(0,this._state.y1+1,this._state.cols,l),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},s.prototype._onShowLinkUnderline=function(l){if(l.fg===p.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:l.fg&&h.is256Color(l.fg)?this._ctx.fillStyle=this._colors.ansi[l.fg].css:this._ctx.fillStyle=this._colors.foreground.css,l.y1===l.y2)this._fillBottomLineAtCells(l.x1,l.y1,l.x2-l.x1);else{this._fillBottomLineAtCells(l.x1,l.y1,l.cols-l.x1);for(var n=l.y1+1;n<l.y2;n++)this._fillBottomLineAtCells(0,n,l.cols);this._fillBottomLineAtCells(0,l.y2,l.x2)}this._state=l},s.prototype._onHideLinkUnderline=function(l){this._clearCurrentLink()},s}(t.BaseRenderLayer);_.LinkRenderLayer=o},function(O,_,I){"use strict";var E=this&&this.__decorate||function(r,s,l,n){var c,e=arguments.length,a=e<3?s:n===null?n=Object.getOwnPropertyDescriptor(s,l):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,s,l,n);else for(var i=r.length-1;i>=0;i--)(c=r[i])&&(a=(e<3?c(a):e>3?c(s,l,a):c(s,l))||a);return e>3&&a&&Object.defineProperty(s,l,a),a},C=this&&this.__param||function(r,s){return function(l,n){s(l,n,r)}};Object.defineProperty(_,"__esModule",{value:!0}),_.MouseZone=_.Linkifier=void 0;var t=I(0),p=I(1),h=function(){function r(s,l,n){this._bufferService=s,this._logService=l,this._unicodeService=n,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new t.EventEmitter,this._onHideLinkUnderline=new t.EventEmitter,this._onLinkTooltip=new t.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(s,l){this._element=s,this._mouseZoneManager=l},r.prototype.linkifyRows=function(s,l){var n=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=s,this._rowsToLinkify.end=l):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,s),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,l)),this._mouseZoneManager.clearAll(s,l),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return n._linkifyRows()},r._timeBeforeLatency))},r.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var s=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var l=s.ydisp+this._rowsToLinkify.start;if(!(l>=s.lines.length)){for(var n=s.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,c=Math.ceil(2e3/this._bufferService.cols),e=this._bufferService.buffer.iterator(!1,l,n,c,c);e.hasNext();)for(var a=e.next(),i=0;i<this._linkMatchers.length;i++)this._doLinkifyRow(a.range.first,a.content,this._linkMatchers[i]);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(s,l,n){if(n===void 0&&(n={}),!l)throw new Error("handler must be defined");var c={id:this._nextLinkMatcherId++,regex:s,handler:l,matchIndex:n.matchIndex,validationCallback:n.validationCallback,hoverTooltipCallback:n.tooltipCallback,hoverLeaveCallback:n.leaveCallback,willLinkActivate:n.willLinkActivate,priority:n.priority||0};return this._addLinkMatcherToList(c),c.id},r.prototype._addLinkMatcherToList=function(s){if(this._linkMatchers.length!==0){for(var l=this._linkMatchers.length-1;l>=0;l--)if(s.priority<=this._linkMatchers[l].priority)return void this._linkMatchers.splice(l+1,0,s);this._linkMatchers.splice(0,0,s)}else this._linkMatchers.push(s)},r.prototype.deregisterLinkMatcher=function(s){for(var l=0;l<this._linkMatchers.length;l++)if(this._linkMatchers[l].id===s)return this._linkMatchers.splice(l,1),!0;return!1},r.prototype._doLinkifyRow=function(s,l,n){for(var c,e=this,a=new RegExp(n.regex.source,(n.regex.flags||"")+"g"),i=-1,u=function(){var A=c[typeof n.matchIndex!="number"?0:n.matchIndex];if(!A)return f._logService.debug("match found without corresponding matchIndex",c,n),"break";if(i=l.indexOf(A,i+1),a.lastIndex=i+A.length,i<0)return"break";var g=f._bufferService.buffer.stringIndexToBufferIndex(s,i);if(g[0]<0)return"break";var v=f._bufferService.buffer.lines.get(g[0]);if(!v)return"break";var b=v.getFg(g[1]),S=b?b>>9&511:void 0;n.validationCallback?n.validationCallback(A,function(y){e._rowsTimeoutId||y&&e._addLink(g[1],g[0]-e._bufferService.buffer.ydisp,A,n,S)}):f._addLink(g[1],g[0]-f._bufferService.buffer.ydisp,A,n,S)},f=this;(c=a.exec(l))!==null&&!(u()==="break"););},r.prototype._addLink=function(s,l,n,c,e){var a=this;if(this._mouseZoneManager&&this._element){var i=this._unicodeService.getStringCellWidth(n),u=s%this._bufferService.cols,f=l+Math.floor(s/this._bufferService.cols),m=(u+i)%this._bufferService.cols,A=f+Math.floor((u+i)/this._bufferService.cols);m===0&&(m=this._bufferService.cols,A--),this._mouseZoneManager.add(new o(u+1,f+1,m+1,A+1,function(g){if(c.handler)return c.handler(g,n);var v=window.open();v?(v.opener=null,v.location.href=n):console.warn("Opening link blocked as opener could not be cleared")},function(){a._onShowLinkUnderline.fire(a._createLinkHoverEvent(u,f,m,A,e)),a._element.classList.add("xterm-cursor-pointer")},function(g){a._onLinkTooltip.fire(a._createLinkHoverEvent(u,f,m,A,e)),c.hoverTooltipCallback&&c.hoverTooltipCallback(g,n,{start:{x:u,y:f},end:{x:m,y:A}})},function(){a._onHideLinkUnderline.fire(a._createLinkHoverEvent(u,f,m,A,e)),a._element.classList.remove("xterm-cursor-pointer"),c.hoverLeaveCallback&&c.hoverLeaveCallback()},function(g){return!c.willLinkActivate||c.willLinkActivate(g,n)}))}},r.prototype._createLinkHoverEvent=function(s,l,n,c,e){return{x1:s,y1:l,x2:n,y2:c,cols:this._bufferService.cols,fg:e}},r._timeBeforeLatency=200,r=E([C(0,p.IBufferService),C(1,p.ILogService),C(2,p.IUnicodeService)],r)}();_.Linkifier=h;var o=function(s,l,n,c,e,a,i,u,f){this.x1=s,this.y1=l,this.x2=n,this.y2=c,this.clickCallback=e,this.hoverCallback=a,this.tooltipCallback=i,this.leaveCallback=u,this.willLinkActivate=f};_.MouseZone=o},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(A,g){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,b){v.__proto__=b}||function(v,b){for(var S in b)b.hasOwnProperty(S)&&(v[S]=b[S])})(A,g)},function(m,A){function g(){this.constructor=m}E(m,A),m.prototype=A===null?Object.create(A):(g.prototype=A.prototype,new g)}),t=this&&this.__decorate||function(m,A,g,v){var b,S=arguments.length,y=S<3?A:v===null?v=Object.getOwnPropertyDescriptor(A,g):v;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")y=Reflect.decorate(m,A,g,v);else for(var w=m.length-1;w>=0;w--)(b=m[w])&&(y=(S<3?b(y):S>3?b(A,g,y):b(A,g))||y);return S>3&&y&&Object.defineProperty(A,g,y),y},p=this&&this.__param||function(m,A){return function(g,v){A(g,v,m)}};Object.defineProperty(_,"__esModule",{value:!0}),_.SelectionService=void 0;var h=I(11),o=I(52),r=I(4),s=I(0),l=I(5),n=I(1),c=I(30),e=I(53),a=I(2),i=String.fromCharCode(160),u=new RegExp(i,"g"),f=function(m){function A(g,v,b,S,y,w,x){var T=m.call(this)||this;return T._element=g,T._screenElement=v,T._bufferService=b,T._coreService=S,T._mouseService=y,T._optionsService=w,T._renderService=x,T._dragScrollAmount=0,T._enabled=!0,T._workCell=new r.CellData,T._mouseDownTimeStamp=0,T._onLinuxMouseSelection=T.register(new s.EventEmitter),T._onRedrawRequest=T.register(new s.EventEmitter),T._onSelectionChange=T.register(new s.EventEmitter),T._onRequestScrollLines=T.register(new s.EventEmitter),T._mouseMoveListener=function(L){return T._onMouseMove(L)},T._mouseUpListener=function(L){return T._onMouseUp(L)},T._coreService.onUserInput(function(){T.hasSelection&&T.clearSelection()}),T._trimListener=T._bufferService.buffer.lines.onTrim(function(L){return T._onTrim(L)}),T.register(T._bufferService.buffers.onBufferActivate(function(L){return T._onBufferActivate(L)})),T.enable(),T._model=new o.SelectionModel(T._bufferService),T._activeSelectionMode=0,T}return C(A,m),Object.defineProperty(A.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),A.prototype.dispose=function(){this._removeMouseDownListeners()},A.prototype.reset=function(){this.clearSelection()},A.prototype.disable=function(){this.clearSelection(),this._enabled=!1},A.prototype.enable=function(){this._enabled=!0},Object.defineProperty(A.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"hasSelection",{get:function(){var v=this._model.finalSelectionStart,b=this._model.finalSelectionEnd;return!(!v||!b)&&(v[0]!==b[0]||v[1]!==b[1])},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"selectionText",{get:function(){var v=this._model.finalSelectionStart,b=this._model.finalSelectionEnd;if(!v||!b)return"";var S=this._bufferService.buffer,y=[];if(this._activeSelectionMode===3){if(v[0]===b[0])return"";for(var w=v[1];w<=b[1];w++){var x=S.translateBufferLineToString(w,!0,v[0],b[0]);y.push(x)}}else{var T=v[1]===b[1]?b[0]:void 0;for(y.push(S.translateBufferLineToString(v[1],!0,v[0],T)),w=v[1]+1;w<=b[1]-1;w++){var L=S.lines.get(w);x=S.translateBufferLineToString(w,!0),L&&L.isWrapped?y[y.length-1]+=x:y.push(x)}v[1]!==b[1]&&(L=S.lines.get(b[1]),x=S.translateBufferLineToString(b[1],!0,0,b[0]),L&&L.isWrapped?y[y.length-1]+=x:y.push(x))}return y.map(function(R){return R.replace(u," ")}).join(h.isWindows?`\r
`:`
`)},enumerable:!1,configurable:!0}),A.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},A.prototype.refresh=function(g){var v=this;(this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return v._refresh()})),h.isLinux&&g)&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},A.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},A.prototype.isClickInSelection=function(g){var v=this._getMouseBufferCoords(g),b=this._model.finalSelectionStart,S=this._model.finalSelectionEnd;return!!(b&&S&&v)&&this._areCoordsInSelection(v,b,S)},A.prototype._areCoordsInSelection=function(g,v,b){return g[1]>v[1]&&g[1]<b[1]||v[1]===b[1]&&g[1]===v[1]&&g[0]>=v[0]&&g[0]<b[0]||v[1]<b[1]&&g[1]===b[1]&&g[0]<b[0]||v[1]<b[1]&&g[1]===v[1]&&g[0]>=v[0]},A.prototype.selectWordAtCursor=function(g){var v=this._getMouseBufferCoords(g);v&&(this._selectWordAt(v,!1),this._model.selectionEnd=void 0,this.refresh(!0))},A.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},A.prototype.selectLines=function(g,v){this._model.clearSelection(),g=Math.max(g,0),v=Math.min(v,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,g],this._model.selectionEnd=[this._bufferService.cols,v],this.refresh(),this._onSelectionChange.fire()},A.prototype._onTrim=function(g){this._model.onTrim(g)&&this.refresh()},A.prototype._getMouseBufferCoords=function(g){var v=this._mouseService.getCoords(g,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(v)return v[0]--,v[1]--,v[1]+=this._bufferService.buffer.ydisp,v},A.prototype._getMouseEventScrollAmount=function(g){var v=c.getCoordsRelativeToElement(g,this._screenElement)[1],b=this._renderService.dimensions.canvasHeight;return v>=0&&v<=b?0:(v>b&&(v-=b),v=Math.min(Math.max(v,-50),50),(v/=50)/Math.abs(v)+Math.round(14*v))},A.prototype.shouldForceSelection=function(g){return h.isMac?g.altKey&&this._optionsService.options.macOptionClickForcesSelection:g.shiftKey},A.prototype.onMouseDown=function(g){if(this._mouseDownTimeStamp=g.timeStamp,(g.button!==2||!this.hasSelection)&&g.button===0){if(!this._enabled){if(!this.shouldForceSelection(g))return;g.stopPropagation()}g.preventDefault(),this._dragScrollAmount=0,this._enabled&&g.shiftKey?this._onIncrementalClick(g):g.detail===1?this._onSingleClick(g):g.detail===2?this._onDoubleClick(g):g.detail===3&&this._onTripleClick(g),this._addMouseDownListeners(),this.refresh(!0)}},A.prototype._addMouseDownListeners=function(){var g=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return g._dragScroll()},50)},A.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},A.prototype._onIncrementalClick=function(g){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(g))},A.prototype._onSingleClick=function(g){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(g)?3:0,this._model.selectionStart=this._getMouseBufferCoords(g),this._model.selectionStart){this._model.selectionEnd=void 0;var v=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);v&&v.length!==this._model.selectionStart[0]&&v.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},A.prototype._onDoubleClick=function(g){var v=this._getMouseBufferCoords(g);v&&(this._activeSelectionMode=1,this._selectWordAt(v,!0))},A.prototype._onTripleClick=function(g){var v=this._getMouseBufferCoords(g);v&&(this._activeSelectionMode=2,this._selectLineAt(v[1]))},A.prototype.shouldColumnSelect=function(g){return g.altKey&&!(h.isMac&&this._optionsService.options.macOptionClickForcesSelection)},A.prototype._onMouseMove=function(g){if(g.stopImmediatePropagation(),this._model.selectionStart){var v=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(g),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(g),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var b=this._bufferService.buffer;if(this._model.selectionEnd[1]<b.lines.length){var S=b.lines.get(this._model.selectionEnd[1]);S&&S.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}v&&v[0]===this._model.selectionEnd[0]&&v[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},A.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var g=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(g.ydisp+this._bufferService.rows,g.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=g.ydisp),this.refresh()}},A.prototype._onMouseUp=function(g){var v=g.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&v<500&&g.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var b=this._mouseService.getCoords(g,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(b&&b[0]!==void 0&&b[1]!==void 0){var S=e.moveToCellSequence(b[0]-1,b[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(S,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},A.prototype._onBufferActivate=function(g){var v=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=g.activeBuffer.lines.onTrim(function(b){return v._onTrim(b)})},A.prototype._convertViewportColToCharacterIndex=function(g,v){for(var b=v[0],S=0;v[0]>=S;S++){var y=g.loadCell(S,this._workCell).getChars().length;this._workCell.getWidth()===0?b--:y>1&&v[0]!==S&&(b+=y-1)}return b},A.prototype.setSelection=function(g,v,b){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[g,v],this._model.selectionStartLength=b,this.refresh()},A.prototype._getWordAt=function(g,v,b,S){if(b===void 0&&(b=!0),S===void 0&&(S=!0),!(g[0]>=this._bufferService.cols)){var y=this._bufferService.buffer,w=y.lines.get(g[1]);if(w){var x=y.translateBufferLineToString(g[1],!1),T=this._convertViewportColToCharacterIndex(w,g),L=T,R=g[0]-T,P=0,k=0,U=0,D=0;if(x.charAt(T)===" "){for(;T>0&&x.charAt(T-1)===" ";)T--;for(;L<x.length&&x.charAt(L+1)===" ";)L++}else{var M=g[0],B=g[0];w.getWidth(M)===0&&(P++,M--),w.getWidth(B)===2&&(k++,B++);var j=w.getString(B).length;for(j>1&&(D+=j-1,L+=j-1);M>0&&T>0&&!this._isCharWordSeparator(w.loadCell(M-1,this._workCell));){w.loadCell(M-1,this._workCell);var H=this._workCell.getChars().length;this._workCell.getWidth()===0?(P++,M--):H>1&&(U+=H-1,T-=H-1),T--,M--}for(;B<w.length&&L+1<x.length&&!this._isCharWordSeparator(w.loadCell(B+1,this._workCell));){w.loadCell(B+1,this._workCell);var K=this._workCell.getChars().length;this._workCell.getWidth()===2?(k++,B++):K>1&&(D+=K-1,L+=K-1),L++,B++}}L++;var W=T+R-P+U,X=Math.min(this._bufferService.cols,L-T+P+k-U-D);if(v||x.slice(T,L).trim()!==""){if(b&&W===0&&w.getCodePoint(0)!==32){var V=y.lines.get(g[1]-1);if(V&&w.isWrapped&&V.getCodePoint(this._bufferService.cols-1)!==32){var Z=this._getWordAt([this._bufferService.cols-1,g[1]-1],!1,!0,!1);if(Z){var G=this._bufferService.cols-Z.start;W-=G,X+=G}}}if(S&&W+X===this._bufferService.cols&&w.getCodePoint(this._bufferService.cols-1)!==32){var Y=y.lines.get(g[1]+1);if(Y&&Y.isWrapped&&Y.getCodePoint(0)!==32){var te=this._getWordAt([0,g[1]+1],!1,!1,!0);te&&(X+=te.length)}}return{start:W,length:X}}}}},A.prototype._selectWordAt=function(g,v){var b=this._getWordAt(g,v);if(b){for(;b.start<0;)b.start+=this._bufferService.cols,g[1]--;this._model.selectionStart=[b.start,g[1]],this._model.selectionStartLength=b.length}},A.prototype._selectToWordAt=function(g){var v=this._getWordAt(g,!0);if(v){for(var b=g[1];v.start<0;)v.start+=this._bufferService.cols,b--;if(!this._model.areSelectionValuesReversed())for(;v.start+v.length>this._bufferService.cols;)v.length-=this._bufferService.cols,b++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?v.start:v.start+v.length,b]}},A.prototype._isCharWordSeparator=function(g){return g.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(g.getChars())>=0},A.prototype._selectLineAt=function(g){var v=this._bufferService.buffer.getWrappedRangeForLine(g);this._model.selectionStart=[0,v.first],this._model.selectionEnd=[this._bufferService.cols,v.last],this._model.selectionStartLength=0},A=t([p(2,n.IBufferService),p(3,n.ICoreService),p(4,l.IMouseService),p(5,n.IOptionsService),p(6,l.IRenderService)],A)}(a.Disposable);_.SelectionService=f},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.SelectionModel=void 0;var E=function(){function C(t){this._bufferService=t,this.isSelectAllActive=!1,this.selectionStartLength=0}return C.prototype.clearSelection=function(){this.selectionStart=void 0,this.selectionEnd=void 0,this.isSelectAllActive=!1,this.selectionStartLength=0},Object.defineProperty(C.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(C.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 p=this.selectionStart[0]+this.selectionStartLength;return p>this._bufferService.cols?[p%this._bufferService.cols,this.selectionStart[1]+Math.floor(p/this._bufferService.cols)]:[p,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}),C.prototype.areSelectionValuesReversed=function(){var t=this.selectionStart,p=this.selectionEnd;return!(!t||!p)&&(t[1]>p[1]||t[1]===p[1]&&t[0]>p[0])},C.prototype.onTrim=function(t){return this.selectionStart&&(this.selectionStart[1]-=t),this.selectionEnd&&(this.selectionEnd[1]-=t),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},C}();_.SelectionModel=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.moveToCellSequence=void 0;var E=I(12);function C(s,l,n,c){var e=s-t(n,s),a=l-t(n,l);return r(Math.abs(e-a)-function(i,u,f){for(var m=0,A=i-t(f,i),g=u-t(f,u),v=0;v<Math.abs(A-g);v++){var b=p(i,u)==="A"?-1:1,S=f.buffer.lines.get(A+b*v);S&&S.isWrapped&&m++}return m}(s,l,n),o(p(s,l),c))}function t(s,l){for(var n=0,c=s.buffer.lines.get(l),e=c&&c.isWrapped;e&&l>=0&&l<s.rows;)n++,e=(c=s.buffer.lines.get(--l))&&c.isWrapped;return n}function p(s,l){return s>l?"A":"B"}function h(s,l,n,c,e,a){for(var i=s,u=l,f="";i!==n||u!==c;)i+=e?1:-1,e&&i>a.cols-1?(f+=a.buffer.translateBufferLineToString(u,!1,s,i),i=0,s=0,u++):!e&&i<0&&(f+=a.buffer.translateBufferLineToString(u,!1,0,s+1),s=i=a.cols-1,u--);return f+a.buffer.translateBufferLineToString(u,!1,s,i)}function o(s,l){var n=l?"O":"[";return E.C0.ESC+n+s}function r(s,l){s=Math.floor(s);for(var n="",c=0;c<s;c++)n+=l;return n}_.moveToCellSequence=function(s,l,n,c){var e,a=n.buffer.x,i=n.buffer.y;if(!n.buffer.hasScrollback)return function(f,m,A,g,v,b){return C(m,g,v,b).length===0?"":r(h(f,m,f,m-t(v,m),!1,v).length,o("D",b))}(a,i,0,l,n,c)+C(i,l,n,c)+function(f,m,A,g,v,b){var S;S=C(m,g,v,b).length>0?g-t(v,g):m;var y=g,w=function(x,T,L,R,P,k){var U;return U=C(L,R,P,k).length>0?R-t(P,R):T,x<L&&U<=R||x>=L&&U<R?"C":"D"}(f,m,A,g,v,b);return r(h(f,S,A,y,w==="C",v).length,o(w,b))}(a,i,s,l,n,c);if(i===l)return e=a>s?"D":"C",r(Math.abs(a-s),o(e,c));e=i>l?"D":"C";var u=Math.abs(i-l);return r(function(f,m){return m.cols-f}(i>l?s:a,n)+(u-1)*n.cols+1+((i>l?a:s)-1),o(e,c))}},function(O,_,I){"use strict";var E=this&&this.__decorate||function(h,o,r,s){var l,n=arguments.length,c=n<3?o:s===null?s=Object.getOwnPropertyDescriptor(o,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(h,o,r,s);else for(var e=h.length-1;e>=0;e--)(l=h[e])&&(c=(n<3?l(c):n>3?l(o,r,c):l(o,r))||c);return n>3&&c&&Object.defineProperty(o,r,c),c},C=this&&this.__param||function(h,o){return function(r,s){o(r,s,h)}};Object.defineProperty(_,"__esModule",{value:!0}),_.SoundService=void 0;var t=I(1),p=function(){function h(o){this._optionsService=o}return Object.defineProperty(h,"audioContext",{get:function(){if(!h._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;h._audioContext=new r}return h._audioContext},enumerable:!1,configurable:!0}),h.prototype.playBellSound=function(){var o=h.audioContext;if(o){var r=o.createBufferSource();o.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(s){r.buffer=s,r.connect(o.destination),r.start(0)})}},h.prototype._base64ToArrayBuffer=function(o){for(var r=window.atob(o),s=r.length,l=new Uint8Array(s),n=0;n<s;n++)l[n]=r.charCodeAt(n);return l.buffer},h.prototype._removeMimeType=function(o){return o.split(",")[1]},h=E([C(0,t.IOptionsService)],h)}();_.SoundService=p},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),t=this&&this.__decorate||function(n,c,e,a){var i,u=arguments.length,f=u<3?c:a===null?a=Object.getOwnPropertyDescriptor(c,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,c,e,a);else for(var m=n.length-1;m>=0;m--)(i=n[m])&&(f=(u<3?i(f):u>3?i(c,e,f):i(c,e))||f);return u>3&&f&&Object.defineProperty(c,e,f),f},p=this&&this.__param||function(n,c){return function(e,a){c(e,a,n)}};Object.defineProperty(_,"__esModule",{value:!0}),_.MouseZoneManager=void 0;var h=I(2),o=I(7),r=I(5),s=I(1),l=function(n){function c(e,a,i,u,f,m){var A=n.call(this)||this;return A._element=e,A._screenElement=a,A._bufferService=i,A._mouseService=u,A._selectionService=f,A._optionsService=m,A._zones=[],A._areZonesActive=!1,A._lastHoverCoords=[void 0,void 0],A._initialSelectionLength=0,A.register(o.addDisposableDomListener(A._element,"mousedown",function(g){return A._onMouseDown(g)})),A._mouseMoveListener=function(g){return A._onMouseMove(g)},A._mouseLeaveListener=function(g){return A._onMouseLeave(g)},A._clickListener=function(g){return A._onClick(g)},A}return C(c,n),c.prototype.dispose=function(){n.prototype.dispose.call(this),this._deactivate()},c.prototype.add=function(e){this._zones.push(e),this._zones.length===1&&this._activate()},c.prototype.clearAll=function(e,a){if(this._zones.length!==0){e&&a||(e=0,a=this._bufferService.rows-1);for(var i=0;i<this._zones.length;i++){var u=this._zones[i];(u.y1>e&&u.y1<=a+1||u.y2>e&&u.y2<=a+1||u.y1<e&&u.y2>a+1)&&(this._currentZone&&this._currentZone===u&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(i--,1))}this._zones.length===0&&this._deactivate()}},c.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))},c.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))},c.prototype._onMouseMove=function(e){this._lastHoverCoords[0]===e.pageX&&this._lastHoverCoords[1]===e.pageY||(this._onHover(e),this._lastHoverCoords=[e.pageX,e.pageY])},c.prototype._onHover=function(e){var a=this,i=this._findZoneEventAt(e);i!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),i&&(this._currentZone=i,i.hoverCallback&&i.hoverCallback(e),this._tooltipTimeout=window.setTimeout(function(){return a._onTooltip(e)},this._optionsService.options.linkTooltipHoverDuration)))},c.prototype._onTooltip=function(e){this._tooltipTimeout=void 0;var a=this._findZoneEventAt(e);a&&a.tooltipCallback&&a.tooltipCallback(e)},c.prototype._onMouseDown=function(e){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var a=this._findZoneEventAt(e);(a==null?void 0:a.willLinkActivate(e))&&(e.preventDefault(),e.stopImmediatePropagation())}},c.prototype._onMouseLeave=function(e){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},c.prototype._onClick=function(e){var a=this._findZoneEventAt(e),i=this._getSelectionLength();a&&i===this._initialSelectionLength&&(a.clickCallback(e),e.preventDefault(),e.stopImmediatePropagation())},c.prototype._getSelectionLength=function(){var e=this._selectionService.selectionText;return e?e.length:0},c.prototype._findZoneEventAt=function(e){var a=this._mouseService.getCoords(e,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(a)for(var i=a[0],u=a[1],f=0;f<this._zones.length;f++){var m=this._zones[f];if(m.y1===m.y2){if(u===m.y1&&i>=m.x1&&i<m.x2)return m}else if(u===m.y1&&i>=m.x1||u===m.y2&&i<m.x2||u>m.y1&&u<m.y2)return m}},c=t([p(2,s.IBufferService),p(3,r.IMouseService),p(4,r.ISelectionService),p(5,s.IOptionsService)],c)}(h.Disposable);_.MouseZoneManager=l},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(e,a){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var f in u)u.hasOwnProperty(f)&&(i[f]=u[f])})(e,a)},function(c,e){function a(){this.constructor=c}E(c,e),c.prototype=e===null?Object.create(e):(a.prototype=e.prototype,new a)});Object.defineProperty(_,"__esModule",{value:!0}),_.AccessibilityManager=void 0;var t=I(18),p=I(11),h=I(31),o=I(7),r=I(2),s=I(32),l=I(17),n=function(c){function e(a,i){var u=c.call(this)||this;u._terminal=a,u._renderService=i,u._liveRegionLineCount=0,u._charsToConsume=[],u._charsToAnnounce="",u._accessibilityTreeRoot=document.createElement("div"),u._accessibilityTreeRoot.classList.add("xterm-accessibility"),u._rowContainer=document.createElement("div"),u._rowContainer.classList.add("xterm-accessibility-tree"),u._rowContainer.setAttribute("role","list"),u._rowElements=[];for(var f=0;f<u._terminal.rows;f++)u._rowElements[f]=u._createAccessibilityTreeNode(),u._rowContainer.appendChild(u._rowElements[f]);if(u._topBoundaryFocusListener=function(m){return u._onBoundaryFocus(m,0)},u._bottomBoundaryFocusListener=function(m){return u._onBoundaryFocus(m,1)},u._rowElements[0].addEventListener("focus",u._topBoundaryFocusListener),u._rowElements[u._rowElements.length-1].addEventListener("focus",u._bottomBoundaryFocusListener),u._refreshRowsDimensions(),u._accessibilityTreeRoot.appendChild(u._rowContainer),u._renderRowsDebouncer=new h.RenderDebouncer(u._renderRows.bind(u)),u._refreshRows(),u._liveRegion=document.createElement("div"),u._liveRegion.classList.add("live-region"),u._liveRegion.setAttribute("aria-live","assertive"),u._accessibilityTreeRoot.appendChild(u._liveRegion),!u._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return u._terminal.element.insertAdjacentElement("afterbegin",u._accessibilityTreeRoot),u.register(u._renderRowsDebouncer),u.register(u._terminal.onResize(function(m){return u._onResize(m.rows)})),u.register(u._terminal.onRender(function(m){return u._refreshRows(m.start,m.end)})),u.register(u._terminal.onScroll(function(){return u._refreshRows()})),u.register(u._terminal.onA11yChar(function(m){return u._onChar(m)})),u.register(u._terminal.onLineFeed(function(){return u._onChar(`
`)})),u.register(u._terminal.onA11yTab(function(m){return u._onTab(m)})),u.register(u._terminal.onKey(function(m){return u._onKey(m.key)})),u.register(u._terminal.onBlur(function(){return u._clearLiveRegion()})),u.register(u._renderService.onDimensionsChange(function(){return u._refreshRowsDimensions()})),u._screenDprMonitor=new s.ScreenDprMonitor,u.register(u._screenDprMonitor),u._screenDprMonitor.setListener(function(){return u._refreshRowsDimensions()}),u.register(o.addDisposableDomListener(window,"resize",function(){return u._refreshRowsDimensions()})),u}return C(e,c),e.prototype.dispose=function(){c.prototype.dispose.call(this),l.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},e.prototype._onBoundaryFocus=function(a,i){var u=a.target,f=this._rowElements[i===0?1:this._rowElements.length-2];if(u.getAttribute("aria-posinset")!==(i===0?"1":""+this._terminal.buffer.lines.length)&&a.relatedTarget===f){var m,A;if(i===0?(m=u,A=this._rowElements.pop(),this._rowContainer.removeChild(A)):(m=this._rowElements.shift(),A=u,this._rowContainer.removeChild(m)),m.removeEventListener("focus",this._topBoundaryFocusListener),A.removeEventListener("focus",this._bottomBoundaryFocusListener),i===0){var g=this._createAccessibilityTreeNode();this._rowElements.unshift(g),this._rowContainer.insertAdjacentElement("afterbegin",g)}else g=this._createAccessibilityTreeNode(),this._rowElements.push(g),this._rowContainer.appendChild(g);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(i===0?-1:1),this._rowElements[i===0?1:this._rowElements.length-2].focus(),a.preventDefault(),a.stopImmediatePropagation()}},e.prototype._onResize=function(a){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var i=this._rowContainer.children.length;i<this._terminal.rows;i++)this._rowElements[i]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[i]);for(;this._rowElements.length>a;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},e.prototype._createAccessibilityTreeNode=function(){var a=document.createElement("div");return a.setAttribute("role","listitem"),a.tabIndex=-1,this._refreshRowDimensions(a),a},e.prototype._onTab=function(a){for(var i=0;i<a;i++)this._onChar(" ")},e.prototype._onChar=function(a){var i=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==a&&(this._charsToAnnounce+=a):this._charsToAnnounce+=a,a===`
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=t.tooMuchOutput)),p.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){i._accessibilityTreeRoot.appendChild(i._liveRegion)},0))},e.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,p.isMac&&l.removeElementFromParent(this._liveRegion)},e.prototype._onKey=function(a){this._clearLiveRegion(),this._charsToConsume.push(a)},e.prototype._refreshRows=function(a,i){this._renderRowsDebouncer.refresh(a,i,this._terminal.rows)},e.prototype._renderRows=function(a,i){for(var u=this._terminal.buffer,f=u.lines.length.toString(),m=a;m<=i;m++){var A=u.translateBufferLineToString(u.ydisp+m,!0),g=(u.ydisp+m+1).toString(),v=this._rowElements[m];v&&(A.length===0?v.innerHTML="&nbsp;":v.textContent=A,v.setAttribute("aria-posinset",g),v.setAttribute("aria-setsize",f))}this._announceCharacters()},e.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var a=0;a<this._terminal.rows;a++)this._refreshRowDimensions(this._rowElements[a])}},e.prototype._refreshRowDimensions=function(a){a.style.height=this._renderService.dimensions.actualCellHeight+"px"},e.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},e}(r.Disposable);_.AccessibilityManager=n},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(f,m){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,g){A.__proto__=g}||function(A,g){for(var v in g)g.hasOwnProperty(v)&&(A[v]=g[v])})(f,m)},function(u,f){function m(){this.constructor=u}E(u,f),u.prototype=f===null?Object.create(f):(m.prototype=f.prototype,new m)}),t=this&&this.__decorate||function(u,f,m,A){var g,v=arguments.length,b=v<3?f:A===null?A=Object.getOwnPropertyDescriptor(f,m):A;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")b=Reflect.decorate(u,f,m,A);else for(var S=u.length-1;S>=0;S--)(g=u[S])&&(b=(v<3?g(b):v>3?g(f,m,b):g(f,m))||b);return v>3&&b&&Object.defineProperty(f,m,b),b},p=this&&this.__param||function(u,f){return function(m,A){f(m,A,u)}};Object.defineProperty(_,"__esModule",{value:!0}),_.DomRenderer=void 0;var h=I(58),o=I(9),r=I(2),s=I(5),l=I(1),n=I(0),c=I(10),e=I(17),a=1,i=function(u){function f(m,A,g,v,b,S,y,w,x){var T=u.call(this)||this;return T._colors=m,T._element=A,T._screenElement=g,T._viewportElement=v,T._linkifier=b,T._linkifier2=S,T._charSizeService=y,T._optionsService=w,T._bufferService=x,T._terminalClass=a++,T._rowElements=[],T._rowContainer=document.createElement("div"),T._rowContainer.classList.add("xterm-rows"),T._rowContainer.style.lineHeight="normal",T._rowContainer.setAttribute("aria-hidden","true"),T._refreshRowElements(T._bufferService.cols,T._bufferService.rows),T._selectionContainer=document.createElement("div"),T._selectionContainer.classList.add("xterm-selection"),T._selectionContainer.setAttribute("aria-hidden","true"),T.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},T._updateDimensions(),T._injectCss(),T._rowFactory=new h.DomRendererRowFactory(document,T._optionsService,T._colors),T._element.classList.add("xterm-dom-renderer-owner-"+T._terminalClass),T._screenElement.appendChild(T._rowContainer),T._screenElement.appendChild(T._selectionContainer),T._linkifier.onShowLinkUnderline(function(L){return T._onLinkHover(L)}),T._linkifier.onHideLinkUnderline(function(L){return T._onLinkLeave(L)}),T._linkifier2.onShowLinkUnderline(function(L){return T._onLinkHover(L)}),T._linkifier2.onHideLinkUnderline(function(L){return T._onLinkLeave(L)}),T}return C(f,u),Object.defineProperty(f.prototype,"onRequestRedraw",{get:function(){return new n.EventEmitter().event},enumerable:!1,configurable:!0}),f.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),e.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),u.prototype.dispose.call(this)},f.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 m=0,A=this._rowElements;m<A.length;m++){var g=A[m];g.style.width=this.dimensions.canvasWidth+"px",g.style.height=this.dimensions.actualCellHeight+"px",g.style.lineHeight=this.dimensions.actualCellHeight+"px",g.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var v=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=v,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},f.prototype.setColors=function(m){this._colors=m,this._injectCss()},f.prototype._injectCss=function(){var m=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var A=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";A+=this._terminalSelector+" span:not(."+h.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+h.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+h.ITALIC_CLASS+" { font-style: italic;}",A+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",A+="@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+"; }}",A+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+":not(."+h.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_BLINK_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+h.CURSOR_CLASS+"."+h.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",A+=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(g,v){A+=m._terminalSelector+" .xterm-fg-"+v+" { color: "+g.css+"; }"+m._terminalSelector+" .xterm-bg-"+v+" { background-color: "+g.css+"; }"}),A+=this._terminalSelector+" .xterm-fg-"+o.INVERTED_DEFAULT_COLOR+" { color: "+c.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+o.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=A},f.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},f.prototype._refreshRowElements=function(m,A){for(var g=this._rowElements.length;g<=A;g++){var v=document.createElement("div");this._rowContainer.appendChild(v),this._rowElements.push(v)}for(;this._rowElements.length>A;)this._rowContainer.removeChild(this._rowElements.pop())},f.prototype.onResize=function(m,A){this._refreshRowElements(m,A),this._updateDimensions()},f.prototype.onCharSizeChanged=function(){this._updateDimensions()},f.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},f.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},f.prototype.onSelectionChanged=function(m,A,g){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(m&&A){var v=m[1]-this._bufferService.buffer.ydisp,b=A[1]-this._bufferService.buffer.ydisp,S=Math.max(v,0),y=Math.min(b,this._bufferService.rows-1);if(!(S>=this._bufferService.rows||y<0)){var w=document.createDocumentFragment();if(g)w.appendChild(this._createSelectionElement(S,m[0],A[0],y-S+1));else{var x=v===S?m[0]:0,T=S===y?A[0]:this._bufferService.cols;w.appendChild(this._createSelectionElement(S,x,T));var L=y-S-1;if(w.appendChild(this._createSelectionElement(S+1,0,this._bufferService.cols,L)),S!==y){var R=b===y?A[0]:this._bufferService.cols;w.appendChild(this._createSelectionElement(y,0,R))}}this._selectionContainer.appendChild(w)}}},f.prototype._createSelectionElement=function(m,A,g,v){v===void 0&&(v=1);var b=document.createElement("div");return b.style.height=v*this.dimensions.actualCellHeight+"px",b.style.top=m*this.dimensions.actualCellHeight+"px",b.style.left=A*this.dimensions.actualCellWidth+"px",b.style.width=this.dimensions.actualCellWidth*(g-A)+"px",b},f.prototype.onCursorMove=function(){},f.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},f.prototype.clear=function(){for(var m=0,A=this._rowElements;m<A.length;m++)A[m].innerHTML=""},f.prototype.renderRows=function(m,A){for(var g=this._bufferService.buffer.ybase+this._bufferService.buffer.y,v=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),b=this._optionsService.options.cursorBlink,S=m;S<=A;S++){var y=this._rowElements[S];y.innerHTML="";var w=S+this._bufferService.buffer.ydisp,x=this._bufferService.buffer.lines.get(w),T=this._optionsService.options.cursorStyle;y.appendChild(this._rowFactory.createRow(x,w===g,T,v,b,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(f.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),f.prototype.registerCharacterJoiner=function(m){return-1},f.prototype.deregisterCharacterJoiner=function(m){return!1},f.prototype._onLinkHover=function(m){this._setCellUnderline(m.x1,m.x2,m.y1,m.y2,m.cols,!0)},f.prototype._onLinkLeave=function(m){this._setCellUnderline(m.x1,m.x2,m.y1,m.y2,m.cols,!1)},f.prototype._setCellUnderline=function(m,A,g,v,b,S){for(;m!==A||g!==v;){var y=this._rowElements[g];if(!y)return;var w=y.children[m];w&&(w.style.textDecoration=S?"underline":"none"),++m>=b&&(m=0,g++)}},f=t([p(6,s.ICharSizeService),p(7,l.IOptionsService),p(8,l.IBufferService)],f)}(r.Disposable);_.DomRenderer=i},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.DomRendererRowFactory=_.CURSOR_STYLE_UNDERLINE_CLASS=_.CURSOR_STYLE_BAR_CLASS=_.CURSOR_STYLE_BLOCK_CLASS=_.CURSOR_BLINK_CLASS=_.CURSOR_CLASS=_.UNDERLINE_CLASS=_.ITALIC_CLASS=_.DIM_CLASS=_.BOLD_CLASS=void 0;var E=I(9),C=I(3),t=I(4),p=I(10);_.BOLD_CLASS="xterm-bold",_.DIM_CLASS="xterm-dim",_.ITALIC_CLASS="xterm-italic",_.UNDERLINE_CLASS="xterm-underline",_.CURSOR_CLASS="xterm-cursor",_.CURSOR_BLINK_CLASS="xterm-cursor-blink",_.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",_.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",_.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var h=function(){function r(s,l,n){this._document=s,this._optionsService=l,this._colors=n,this._workCell=new t.CellData}return r.prototype.setColors=function(s){this._colors=s},r.prototype.createRow=function(s,l,n,c,e,a,i){for(var u=this._document.createDocumentFragment(),f=0,m=Math.min(s.length,i)-1;m>=0;m--)if(s.loadCell(m,this._workCell).getCode()!==C.NULL_CELL_CODE||l&&m===c){f=m+1;break}for(m=0;m<f;m++){s.loadCell(m,this._workCell);var A=this._workCell.getWidth();if(A!==0){var g=this._document.createElement("span");if(A>1&&(g.style.width=a*A+"px"),l&&m===c)switch(g.classList.add(_.CURSOR_CLASS),e&&g.classList.add(_.CURSOR_BLINK_CLASS),n){case"bar":g.classList.add(_.CURSOR_STYLE_BAR_CLASS);break;case"underline":g.classList.add(_.CURSOR_STYLE_UNDERLINE_CLASS);break;default:g.classList.add(_.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&g.classList.add(_.BOLD_CLASS),this._workCell.isItalic()&&g.classList.add(_.ITALIC_CLASS),this._workCell.isDim()&&g.classList.add(_.DIM_CLASS),this._workCell.isUnderline()&&g.classList.add(_.UNDERLINE_CLASS),this._workCell.isInvisible()?g.textContent=C.WHITESPACE_CELL_CHAR:g.textContent=this._workCell.getChars()||C.WHITESPACE_CELL_CHAR;var v=this._workCell.getFgColor(),b=this._workCell.getFgColorMode(),S=this._workCell.getBgColor(),y=this._workCell.getBgColorMode(),w=!!this._workCell.isInverse();if(w){var x=v;v=S,S=x;var T=b;b=y,y=T}switch(b){case 16777216:case 33554432:this._workCell.isBold()&&v<8&&this._optionsService.options.drawBoldTextInBrightColors&&(v+=8),this._applyMinimumContrast(g,this._colors.background,this._colors.ansi[v])||g.classList.add("xterm-fg-"+v);break;case 50331648:var L=p.rgba.toColor(v>>16&255,v>>8&255,255&v);this._applyMinimumContrast(g,this._colors.background,L)||this._addStyle(g,"color:#"+o(v.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(g,this._colors.background,this._colors.foreground)||w&&g.classList.add("xterm-fg-"+E.INVERTED_DEFAULT_COLOR)}switch(y){case 16777216:case 33554432:g.classList.add("xterm-bg-"+S);break;case 50331648:this._addStyle(g,"background-color:#"+o(S.toString(16),"0",6));break;case 0:default:w&&g.classList.add("xterm-bg-"+E.INVERTED_DEFAULT_COLOR)}u.appendChild(g)}}return u},r.prototype._applyMinimumContrast=function(s,l,n){if(this._optionsService.options.minimumContrastRatio===1)return!1;var c=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return c===void 0&&(c=p.color.ensureContrastRatio(l,n,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,c!=null?c:null)),!!c&&(this._addStyle(s,"color:"+c.css),!0)},r.prototype._addStyle=function(s,l){s.setAttribute("style",""+(s.getAttribute("style")||"")+l+";")},r}();function o(r,s,l){for(;r.length<l;)r=s+r;return r}_.DomRendererRowFactory=h},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.evaluateKeyboardEvent=void 0;var E=I(12),C={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:["'",'"']};_.evaluateKeyboardEvent=function(t,p,h,o){var r={type:0,cancel:!1,key:void 0},s=(t.shiftKey?1:0)|(t.altKey?2:0)|(t.ctrlKey?4:0)|(t.metaKey?8:0);switch(t.keyCode){case 0:t.key==="UIKeyInputUpArrow"?r.key=p?E.C0.ESC+"OA":E.C0.ESC+"[A":t.key==="UIKeyInputLeftArrow"?r.key=p?E.C0.ESC+"OD":E.C0.ESC+"[D":t.key==="UIKeyInputRightArrow"?r.key=p?E.C0.ESC+"OC":E.C0.ESC+"[C":t.key==="UIKeyInputDownArrow"&&(r.key=p?E.C0.ESC+"OB":E.C0.ESC+"[B");break;case 8:if(t.shiftKey){r.key=E.C0.BS;break}if(t.altKey){r.key=E.C0.ESC+E.C0.DEL;break}r.key=E.C0.DEL;break;case 9:if(t.shiftKey){r.key=E.C0.ESC+"[Z";break}r.key=E.C0.HT,r.cancel=!0;break;case 13:r.key=t.altKey?E.C0.ESC+E.C0.CR:E.C0.CR,r.cancel=!0;break;case 27:r.key=E.C0.ESC,t.altKey&&(r.key=E.C0.ESC+E.C0.ESC),r.cancel=!0;break;case 37:if(t.metaKey)break;s?(r.key=E.C0.ESC+"[1;"+(s+1)+"D",r.key===E.C0.ESC+"[1;3D"&&(r.key=E.C0.ESC+(h?"b":"[1;5D"))):r.key=p?E.C0.ESC+"OD":E.C0.ESC+"[D";break;case 39:if(t.metaKey)break;s?(r.key=E.C0.ESC+"[1;"+(s+1)+"C",r.key===E.C0.ESC+"[1;3C"&&(r.key=E.C0.ESC+(h?"f":"[1;5C"))):r.key=p?E.C0.ESC+"OC":E.C0.ESC+"[C";break;case 38:if(t.metaKey)break;s?(r.key=E.C0.ESC+"[1;"+(s+1)+"A",h||r.key!==E.C0.ESC+"[1;3A"||(r.key=E.C0.ESC+"[1;5A")):r.key=p?E.C0.ESC+"OA":E.C0.ESC+"[A";break;case 40:if(t.metaKey)break;s?(r.key=E.C0.ESC+"[1;"+(s+1)+"B",h||r.key!==E.C0.ESC+"[1;3B"||(r.key=E.C0.ESC+"[1;5B")):r.key=p?E.C0.ESC+"OB":E.C0.ESC+"[B";break;case 45:t.shiftKey||t.ctrlKey||(r.key=E.C0.ESC+"[2~");break;case 46:r.key=s?E.C0.ESC+"[3;"+(s+1)+"~":E.C0.ESC+"[3~";break;case 36:r.key=s?E.C0.ESC+"[1;"+(s+1)+"H":p?E.C0.ESC+"OH":E.C0.ESC+"[H";break;case 35:r.key=s?E.C0.ESC+"[1;"+(s+1)+"F":p?E.C0.ESC+"OF":E.C0.ESC+"[F";break;case 33:t.shiftKey?r.type=2:r.key=E.C0.ESC+"[5~";break;case 34:t.shiftKey?r.type=3:r.key=E.C0.ESC+"[6~";break;case 112:r.key=s?E.C0.ESC+"[1;"+(s+1)+"P":E.C0.ESC+"OP";break;case 113:r.key=s?E.C0.ESC+"[1;"+(s+1)+"Q":E.C0.ESC+"OQ";break;case 114:r.key=s?E.C0.ESC+"[1;"+(s+1)+"R":E.C0.ESC+"OR";break;case 115:r.key=s?E.C0.ESC+"[1;"+(s+1)+"S":E.C0.ESC+"OS";break;case 116:r.key=s?E.C0.ESC+"[15;"+(s+1)+"~":E.C0.ESC+"[15~";break;case 117:r.key=s?E.C0.ESC+"[17;"+(s+1)+"~":E.C0.ESC+"[17~";break;case 118:r.key=s?E.C0.ESC+"[18;"+(s+1)+"~":E.C0.ESC+"[18~";break;case 119:r.key=s?E.C0.ESC+"[19;"+(s+1)+"~":E.C0.ESC+"[19~";break;case 120:r.key=s?E.C0.ESC+"[20;"+(s+1)+"~":E.C0.ESC+"[20~";break;case 121:r.key=s?E.C0.ESC+"[21;"+(s+1)+"~":E.C0.ESC+"[21~";break;case 122:r.key=s?E.C0.ESC+"[23;"+(s+1)+"~":E.C0.ESC+"[23~";break;case 123:r.key=s?E.C0.ESC+"[24;"+(s+1)+"~":E.C0.ESC+"[24~";break;default:if(!t.ctrlKey||t.shiftKey||t.altKey||t.metaKey)if(h&&!o||!t.altKey||t.metaKey)h&&!t.altKey&&!t.ctrlKey&&t.metaKey?t.keyCode===65&&(r.type=1):t.key&&!t.ctrlKey&&!t.altKey&&!t.metaKey&&t.keyCode>=48&&t.key.length===1?r.key=t.key:t.key&&t.ctrlKey&&t.key==="_"&&(r.key=E.C0.US);else{var l=C[t.keyCode],n=l&&l[t.shiftKey?1:0];if(n)r.key=E.C0.ESC+n;else if(t.keyCode>=65&&t.keyCode<=90){var c=t.ctrlKey?t.keyCode-64:t.keyCode+32;r.key=E.C0.ESC+String.fromCharCode(c)}}else t.keyCode>=65&&t.keyCode<=90?r.key=String.fromCharCode(t.keyCode-64):t.keyCode===32?r.key=E.C0.NUL:t.keyCode>=51&&t.keyCode<=55?r.key=String.fromCharCode(t.keyCode-51+27):t.keyCode===56?r.key=E.C0.DEL:t.keyCode===219?r.key=E.C0.ESC:t.keyCode===220?r.key=E.C0.FS:t.keyCode===221&&(r.key=E.C0.GS)}return r}},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(i,u){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,m){f.__proto__=m}||function(f,m){for(var A in m)m.hasOwnProperty(A)&&(f[A]=m[A])})(i,u)},function(a,i){function u(){this.constructor=a}E(a,i),a.prototype=i===null?Object.create(i):(u.prototype=i.prototype,new u)}),t=this&&this.__decorate||function(a,i,u,f){var m,A=arguments.length,g=A<3?i:f===null?f=Object.getOwnPropertyDescriptor(i,u):f;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")g=Reflect.decorate(a,i,u,f);else for(var v=a.length-1;v>=0;v--)(m=a[v])&&(g=(A<3?m(g):A>3?m(i,u,g):m(i,u))||g);return A>3&&g&&Object.defineProperty(i,u,g),g},p=this&&this.__param||function(a,i){return function(u,f){i(u,f,a)}};Object.defineProperty(_,"__esModule",{value:!0}),_.RenderService=void 0;var h=I(31),o=I(0),r=I(2),s=I(32),l=I(7),n=I(1),c=I(5),e=function(a){function i(u,f,m,A,g,v){var b=a.call(this)||this;if(b._renderer=u,b._rowCount=f,b._isPaused=!1,b._needsFullRefresh=!1,b._isNextRenderRedrawOnly=!0,b._needsSelectionRefresh=!1,b._canvasWidth=0,b._canvasHeight=0,b._selectionState={start:void 0,end:void 0,columnSelectMode:!1},b._onDimensionsChange=new o.EventEmitter,b._onRender=new o.EventEmitter,b._onRefreshRequest=new o.EventEmitter,b.register({dispose:function(){return b._renderer.dispose()}}),b._renderDebouncer=new h.RenderDebouncer(function(y,w){return b._renderRows(y,w)}),b.register(b._renderDebouncer),b._screenDprMonitor=new s.ScreenDprMonitor,b._screenDprMonitor.setListener(function(){return b.onDevicePixelRatioChange()}),b.register(b._screenDprMonitor),b.register(v.onResize(function(y){return b._fullRefresh()})),b.register(A.onOptionChange(function(){return b._renderer.onOptionsChanged()})),b.register(g.onCharSizeChange(function(){return b.onCharSizeChanged()})),b._renderer.onRequestRedraw(function(y){return b.refreshRows(y.start,y.end,!0)}),b.register(l.addDisposableDomListener(window,"resize",function(){return b.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var S=new IntersectionObserver(function(y){return b._onIntersectionChange(y[y.length-1])},{threshold:0});S.observe(m),b.register({dispose:function(){return S.disconnect()}})}return b}return C(i,a),Object.defineProperty(i.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),i.prototype._onIntersectionChange=function(u){this._isPaused=u.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},i.prototype.refreshRows=function(u,f,m){m===void 0&&(m=!1),this._isPaused?this._needsFullRefresh=!0:(m||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(u,f,this._rowCount))},i.prototype._renderRows=function(u,f){this._renderer.renderRows(u,f),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:u,end:f}),this._isNextRenderRedrawOnly=!0},i.prototype.resize=function(u,f){this._rowCount=f,this._fireOnCanvasResize()},i.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},i.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},i.prototype.dispose=function(){a.prototype.dispose.call(this)},i.prototype.setRenderer=function(u){var f=this;this._renderer.dispose(),this._renderer=u,this._renderer.onRequestRedraw(function(m){return f.refreshRows(m.start,m.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},i.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},i.prototype.setColors=function(u){this._renderer.setColors(u),this._fullRefresh()},i.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},i.prototype.onResize=function(u,f){this._renderer.onResize(u,f),this._fullRefresh()},i.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},i.prototype.onBlur=function(){this._renderer.onBlur()},i.prototype.onFocus=function(){this._renderer.onFocus()},i.prototype.onSelectionChanged=function(u,f,m){this._selectionState.start=u,this._selectionState.end=f,this._selectionState.columnSelectMode=m,this._renderer.onSelectionChanged(u,f,m)},i.prototype.onCursorMove=function(){this._renderer.onCursorMove()},i.prototype.clear=function(){this._renderer.clear()},i.prototype.registerCharacterJoiner=function(u){return this._renderer.registerCharacterJoiner(u)},i.prototype.deregisterCharacterJoiner=function(u){return this._renderer.deregisterCharacterJoiner(u)},i=t([p(3,n.IOptionsService),p(4,c.ICharSizeService),p(5,n.IBufferService)],i)}(r.Disposable);_.RenderService=e},function(O,_,I){"use strict";var E=this&&this.__decorate||function(r,s,l,n){var c,e=arguments.length,a=e<3?s:n===null?n=Object.getOwnPropertyDescriptor(s,l):n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,s,l,n);else for(var i=r.length-1;i>=0;i--)(c=r[i])&&(a=(e<3?c(a):e>3?c(s,l,a):c(s,l))||a);return e>3&&a&&Object.defineProperty(s,l,a),a},C=this&&this.__param||function(r,s){return function(l,n){s(l,n,r)}};Object.defineProperty(_,"__esModule",{value:!0}),_.CharSizeService=void 0;var t=I(1),p=I(0),h=function(){function r(s,l,n){this._optionsService=n,this.width=0,this.height=0,this._onCharSizeChange=new p.EventEmitter,this._measureStrategy=new o(s,l,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 s=this._measureStrategy.measure();s.width===this.width&&s.height===this.height||(this.width=s.width,this.height=s.height,this._onCharSizeChange.fire())},r=E([C(2,t.IOptionsService)],r)}();_.CharSizeService=h;var o=function(){function r(s,l,n){this._document=s,this._parentElement=l,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 s=this._measureElement.getBoundingClientRect();return s.width!==0&&s.height!==0&&(this._result.width=s.width,this._result.height=Math.ceil(s.height)),this._result},r}()},function(O,_,I){"use strict";var E=this&&this.__decorate||function(o,r,s,l){var n,c=arguments.length,e=c<3?r:l===null?l=Object.getOwnPropertyDescriptor(r,s):l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,r,s,l);else for(var a=o.length-1;a>=0;a--)(n=o[a])&&(e=(c<3?n(e):c>3?n(r,s,e):n(r,s))||e);return c>3&&e&&Object.defineProperty(r,s,e),e},C=this&&this.__param||function(o,r){return function(s,l){r(s,l,o)}};Object.defineProperty(_,"__esModule",{value:!0}),_.MouseService=void 0;var t=I(5),p=I(30),h=function(){function o(r,s){this._renderService=r,this._charSizeService=s}return o.prototype.getCoords=function(r,s,l,n,c){return p.getCoords(r,s,l,n,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,c)},o.prototype.getRawByteCoords=function(r,s,l,n){var c=this.getCoords(r,s,l,n);return p.getRawByteCoords(c)},o=E([C(0,t.IRenderService),C(1,t.ICharSizeService)],o)}();_.MouseService=h},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),t=this&&this.__decorate||function(n,c,e,a){var i,u=arguments.length,f=u<3?c:a===null?a=Object.getOwnPropertyDescriptor(c,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,c,e,a);else for(var m=n.length-1;m>=0;m--)(i=n[m])&&(f=(u<3?i(f):u>3?i(c,e,f):i(c,e))||f);return u>3&&f&&Object.defineProperty(c,e,f),f},p=this&&this.__param||function(n,c){return function(e,a){c(e,a,n)}};Object.defineProperty(_,"__esModule",{value:!0}),_.Linkifier2=void 0;var h=I(1),o=I(0),r=I(2),s=I(7),l=function(n){function c(e){var a=n.call(this)||this;return a._bufferService=e,a._linkProviders=[],a._linkCacheDisposables=[],a._isMouseOut=!0,a._activeLine=-1,a._onShowLinkUnderline=a.register(new o.EventEmitter),a._onHideLinkUnderline=a.register(new o.EventEmitter),a.register(r.getDisposeArrayDisposable(a._linkCacheDisposables)),a}return C(c,n),Object.defineProperty(c.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),c.prototype.registerLinkProvider=function(e){var a=this;return this._linkProviders.push(e),{dispose:function(){var u=a._linkProviders.indexOf(e);u!==-1&&a._linkProviders.splice(u,1)}}},c.prototype.attachToDom=function(e,a,i){var u=this;this._element=e,this._mouseService=a,this._renderService=i,this.register(s.addDisposableDomListener(this._element,"mouseleave",function(){u._isMouseOut=!0,u._clearCurrentLink()})),this.register(s.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(s.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},c.prototype._onMouseMove=function(e){if(this._lastMouseEvent=e,this._element&&this._mouseService){var a=this._positionFromMouseEvent(e,this._element,this._mouseService);if(a){this._isMouseOut=!1;for(var i=e.composedPath(),u=0;u<i.length;u++){var f=i[u];if(f.classList.contains("xterm"))break;if(f.classList.contains("xterm-hover"))return}this._lastBufferCell&&a.x===this._lastBufferCell.x&&a.y===this._lastBufferCell.y||(this._onHover(a),this._lastBufferCell=a)}}},c.prototype._onHover=function(e){if(this._activeLine!==e.y)return this._clearCurrentLink(),void this._askForLink(e,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,e)||(this._clearCurrentLink(),this._askForLink(e,!0))},c.prototype._askForLink=function(e,a){var i=this;this._activeProviderReplies&&a||(this._activeProviderReplies=new Map,this._activeLine=e.y);var u=!1;this._linkProviders.forEach(function(f,m){var A;a?((A=i._activeProviderReplies)===null||A===void 0?void 0:A.get(m))&&(u=i._checkLinkProviderResult(m,e,u)):f.provideLinks(e.y,function(g){var v,b;if(!i._isMouseOut){var S=g==null?void 0:g.map(function(y){return{link:y}});(v=i._activeProviderReplies)===null||v===void 0||v.set(m,S),u=i._checkLinkProviderResult(m,e,u),((b=i._activeProviderReplies)===null||b===void 0?void 0:b.size)===i._linkProviders.length&&i._removeIntersectingLinks(e.y,i._activeProviderReplies)}})})},c.prototype._removeIntersectingLinks=function(e,a){for(var i=new Set,u=0;u<a.size;u++){var f=a.get(u);if(f)for(var m=0;m<f.length;m++)for(var A=f[m],g=A.link.range.start.y<e?0:A.link.range.start.x,v=A.link.range.end.y>e?this._bufferService.cols:A.link.range.end.x,b=g;b<=v;b++){if(i.has(b)){f.splice(m--,1);break}i.add(b)}}},c.prototype._checkLinkProviderResult=function(e,a,i){var u,f=this;if(!this._activeProviderReplies)return i;for(var m=this._activeProviderReplies.get(e),A=!1,g=0;g<e;g++)this._activeProviderReplies.has(g)&&!this._activeProviderReplies.get(g)||(A=!0);if(!A&&m){var v=m.find(function(S){return f._linkAtPosition(S.link,a)});v&&(i=!0,this._handleNewLink(v))}if(this._activeProviderReplies.size===this._linkProviders.length&&!i)for(g=0;g<this._activeProviderReplies.size;g++){var b=(u=this._activeProviderReplies.get(g))===null||u===void 0?void 0:u.find(function(S){return f._linkAtPosition(S.link,a)});if(b){i=!0,this._handleNewLink(b);break}}return i},c.prototype._onClick=function(e){if(this._element&&this._mouseService&&this._currentLink){var a=this._positionFromMouseEvent(e,this._element,this._mouseService);a&&this._linkAtPosition(this._currentLink.link,a)&&this._currentLink.link.activate(e,this._currentLink.link.text)}},c.prototype._clearCurrentLink=function(e,a){this._element&&this._currentLink&&this._lastMouseEvent&&(!e||!a||this._currentLink.link.range.start.y>=e&&this._currentLink.link.range.end.y<=a)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,r.disposeArray(this._linkCacheDisposables))},c.prototype._handleNewLink=function(e){var a=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var i=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);i&&this._linkAtPosition(e.link,i)&&(this._currentLink=e,this._currentLink.state={decorations:{underline:e.link.decorations===void 0||e.link.decorations.underline,pointerCursor:e.link.decorations===void 0||e.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,e.link,this._lastMouseEvent),e.link.decorations={},Object.defineProperties(e.link.decorations,{pointerCursor:{get:function(){var f,m;return(m=(f=a._currentLink)===null||f===void 0?void 0:f.state)===null||m===void 0?void 0:m.decorations.pointerCursor},set:function(f){var m,A;((m=a._currentLink)===null||m===void 0?void 0:m.state)&&a._currentLink.state.decorations.pointerCursor!==f&&(a._currentLink.state.decorations.pointerCursor=f,a._currentLink.state.isHovered&&((A=a._element)===null||A===void 0||A.classList.toggle("xterm-cursor-pointer",f)))}},underline:{get:function(){var f,m;return(m=(f=a._currentLink)===null||f===void 0?void 0:f.state)===null||m===void 0?void 0:m.decorations.underline},set:function(f){var m,A,g;((m=a._currentLink)===null||m===void 0?void 0:m.state)&&((g=(A=a._currentLink)===null||A===void 0?void 0:A.state)===null||g===void 0?void 0:g.decorations.underline)!==f&&(a._currentLink.state.decorations.underline=f,a._currentLink.state.isHovered&&a._fireUnderlineEvent(e.link,f))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(u){var f=u.start===0?0:u.start+1+a._bufferService.buffer.ydisp;a._clearCurrentLink(f,u.end+1+a._bufferService.buffer.ydisp)})))}},c.prototype._linkHover=function(e,a,i){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!0),this._currentLink.state.decorations.pointerCursor&&e.classList.add("xterm-cursor-pointer")),a.hover&&a.hover(i,a.text)},c.prototype._fireUnderlineEvent=function(e,a){var i=e.range,u=this._bufferService.buffer.ydisp,f=this._createLinkUnderlineEvent(i.start.x-1,i.start.y-u-1,i.end.x,i.end.y-u-1,void 0);(a?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(f)},c.prototype._linkLeave=function(e,a,i){var u;((u=this._currentLink)===null||u===void 0?void 0:u.state)&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(a,!1),this._currentLink.state.decorations.pointerCursor&&e.classList.remove("xterm-cursor-pointer")),a.leave&&a.leave(i,a.text)},c.prototype._linkAtPosition=function(e,a){var i=e.range.start.y===e.range.end.y,u=e.range.start.y<a.y,f=e.range.end.y>a.y;return(i&&e.range.start.x<=a.x&&e.range.end.x>=a.x||u&&e.range.end.x>=a.x||f&&e.range.start.x<=a.x||u&&f)&&e.range.start.y<=a.y&&e.range.end.y>=a.y},c.prototype._positionFromMouseEvent=function(e,a,i){var u=i.getCoords(e,a,this._bufferService.cols,this._bufferService.rows);if(u)return{x:u[0],y:u[1]+this._bufferService.buffer.ydisp}},c.prototype._createLinkUnderlineEvent=function(e,a,i,u,f){return{x1:e,y1:a,x2:i,y2:u,cols:this._bufferService.cols,fg:f}},c=t([p(0,h.IBufferService)],c)}(r.Disposable);_.Linkifier2=l},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CoreBrowserService=void 0;var E=function(){function C(t){this._textarea=t}return Object.defineProperty(C.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),C}();_.CoreBrowserService=E},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(v,b){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,y){S.__proto__=y}||function(S,y){for(var w in y)y.hasOwnProperty(w)&&(S[w]=y[w])})(v,b)},function(g,v){function b(){this.constructor=g}E(g,v),g.prototype=v===null?Object.create(v):(b.prototype=v.prototype,new b)});Object.defineProperty(_,"__esModule",{value:!0}),_.CoreTerminal=void 0;var t=I(2),p=I(1),h=I(66),o=I(67),r=I(68),s=I(74),l=I(75),n=I(0),c=I(76),e=I(77),a=I(78),i=I(80),u=I(81),f=I(19),m=I(82),A=function(g){function v(b){var S=g.call(this)||this;return S._onBinary=new n.EventEmitter,S._onData=new n.EventEmitter,S._onLineFeed=new n.EventEmitter,S._onResize=new n.EventEmitter,S._onScroll=new n.EventEmitter,S._instantiationService=new h.InstantiationService,S.optionsService=new s.OptionsService(b),S._instantiationService.setService(p.IOptionsService,S.optionsService),S._bufferService=S.register(S._instantiationService.createInstance(r.BufferService)),S._instantiationService.setService(p.IBufferService,S._bufferService),S._logService=S._instantiationService.createInstance(o.LogService),S._instantiationService.setService(p.ILogService,S._logService),S._coreService=S.register(S._instantiationService.createInstance(l.CoreService,function(){return S.scrollToBottom()})),S._instantiationService.setService(p.ICoreService,S._coreService),S._coreMouseService=S._instantiationService.createInstance(c.CoreMouseService),S._instantiationService.setService(p.ICoreMouseService,S._coreMouseService),S._dirtyRowService=S._instantiationService.createInstance(e.DirtyRowService),S._instantiationService.setService(p.IDirtyRowService,S._dirtyRowService),S.unicodeService=S._instantiationService.createInstance(a.UnicodeService),S._instantiationService.setService(p.IUnicodeService,S.unicodeService),S._charsetService=S._instantiationService.createInstance(i.CharsetService),S._instantiationService.setService(p.ICharsetService,S._charsetService),S._inputHandler=new f.InputHandler(S._bufferService,S._charsetService,S._coreService,S._dirtyRowService,S._logService,S.optionsService,S._coreMouseService,S.unicodeService),S.register(n.forwardEvent(S._inputHandler.onLineFeed,S._onLineFeed)),S.register(S._inputHandler),S.register(n.forwardEvent(S._bufferService.onResize,S._onResize)),S.register(n.forwardEvent(S._coreService.onData,S._onData)),S.register(n.forwardEvent(S._coreService.onBinary,S._onBinary)),S.register(S.optionsService.onOptionChange(function(y){return S._updateOptions(y)})),S._writeBuffer=new m.WriteBuffer(function(y){return S._inputHandler.parse(y)}),S}return C(v,g),Object.defineProperty(v.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(v.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),v.prototype.dispose=function(){var b;this._isDisposed||(g.prototype.dispose.call(this),(b=this._windowsMode)===null||b===void 0||b.dispose(),this._windowsMode=void 0)},v.prototype.write=function(b,S){this._writeBuffer.write(b,S)},v.prototype.writeSync=function(b){this._writeBuffer.writeSync(b)},v.prototype.resize=function(b,S){isNaN(b)||isNaN(S)||(b=Math.max(b,r.MINIMUM_COLS),S=Math.max(S,r.MINIMUM_ROWS),this._bufferService.resize(b,S))},v.prototype.scroll=function(b,S){S===void 0&&(S=!1);var y,w=this._bufferService.buffer;(y=this._cachedBlankLine)&&y.length===this.cols&&y.getFg(0)===b.fg&&y.getBg(0)===b.bg||(y=w.getBlankLine(b,S),this._cachedBlankLine=y),y.isWrapped=S;var x=w.ybase+w.scrollTop,T=w.ybase+w.scrollBottom;if(w.scrollTop===0){var L=w.lines.isFull;T===w.lines.length-1?L?w.lines.recycle().copyFrom(y):w.lines.push(y.clone()):w.lines.splice(T+1,0,y.clone()),L?this._bufferService.isUserScrolling&&(w.ydisp=Math.max(w.ydisp-1,0)):(w.ybase++,this._bufferService.isUserScrolling||w.ydisp++)}else{var R=T-x+1;w.lines.shiftElements(x+1,R-1,-1),w.lines.set(T,y.clone())}this._bufferService.isUserScrolling||(w.ydisp=w.ybase),this._dirtyRowService.markRangeDirty(w.scrollTop,w.scrollBottom),this._onScroll.fire(w.ydisp)},v.prototype.scrollLines=function(b,S){var y=this._bufferService.buffer;if(b<0){if(y.ydisp===0)return;this._bufferService.isUserScrolling=!0}else b+y.ydisp>=y.ybase&&(this._bufferService.isUserScrolling=!1);var w=y.ydisp;y.ydisp=Math.max(Math.min(y.ydisp+b,y.ybase),0),w!==y.ydisp&&(S||this._onScroll.fire(y.ydisp))},v.prototype.scrollPages=function(b){this.scrollLines(b*(this.rows-1))},v.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},v.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},v.prototype.scrollToLine=function(b){var S=b-this._bufferService.buffer.ydisp;S!==0&&this.scrollLines(S)},v.prototype.addEscHandler=function(b,S){return this._inputHandler.addEscHandler(b,S)},v.prototype.addDcsHandler=function(b,S){return this._inputHandler.addDcsHandler(b,S)},v.prototype.addCsiHandler=function(b,S){return this._inputHandler.addCsiHandler(b,S)},v.prototype.addOscHandler=function(b,S){return this._inputHandler.addOscHandler(b,S)},v.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},v.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},v.prototype._updateOptions=function(b){var S;switch(b){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((S=this._windowsMode)===null||S===void 0||S.dispose(),this._windowsMode=void 0)}},v.prototype._enableWindowsMode=function(){var b=this;if(!this._windowsMode){var S=[];S.push(this.onLineFeed(u.updateWindowsModeWrappedState.bind(null,this._bufferService))),S.push(this.addCsiHandler({final:"H"},function(){return u.updateWindowsModeWrappedState(b._bufferService),!1})),this._windowsMode={dispose:function(){for(var w=0,x=S;w<x.length;w++)x[w].dispose()}}}},v}(t.Disposable);_.CoreTerminal=A},function(O,_,I){"use strict";var E=this&&this.__spreadArrays||function(){for(var o=0,r=0,s=arguments.length;r<s;r++)o+=arguments[r].length;var l=Array(o),n=0;for(r=0;r<s;r++)for(var c=arguments[r],e=0,a=c.length;e<a;e++,n++)l[n]=c[e];return l};Object.defineProperty(_,"__esModule",{value:!0}),_.InstantiationService=_.ServiceCollection=void 0;var C=I(1),t=I(14),p=function(){function o(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];this._entries=new Map;for(var l=0,n=r;l<n.length;l++){var c=n[l],e=c[0],a=c[1];this.set(e,a)}}return o.prototype.set=function(r,s){var l=this._entries.get(r);return this._entries.set(r,s),l},o.prototype.forEach=function(r){this._entries.forEach(function(s,l){return r(l,s)})},o.prototype.has=function(r){return this._entries.has(r)},o.prototype.get=function(r){return this._entries.get(r)},o}();_.ServiceCollection=p;var h=function(){function o(){this._services=new p,this._services.set(C.IInstantiationService,this)}return o.prototype.setService=function(r,s){this._services.set(r,s)},o.prototype.getService=function(r){return this._services.get(r)},o.prototype.createInstance=function(r){for(var s=[],l=1;l<arguments.length;l++)s[l-1]=arguments[l];for(var n=t.getServiceDependencies(r).sort(function(m,A){return m.index-A.index}),c=[],e=0,a=n;e<a.length;e++){var i=a[e],u=this._services.get(i.id);if(!u)throw new Error("[createInstance] "+r.name+" depends on UNKNOWN service "+i.id+".");c.push(u)}var f=n.length>0?n[0].index:s.length;if(s.length!==f)throw new Error("[createInstance] First service dependency of "+r.name+" at position "+(f+1)+" conflicts with "+s.length+" static arguments");return new(r.bind.apply(r,E([void 0],E(s,c))))},o}();_.InstantiationService=h},function(O,_,I){"use strict";var E=this&&this.__decorate||function(s,l,n,c){var e,a=arguments.length,i=a<3?l:c===null?c=Object.getOwnPropertyDescriptor(l,n):c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(s,l,n,c);else for(var u=s.length-1;u>=0;u--)(e=s[u])&&(i=(a<3?e(i):a>3?e(l,n,i):e(l,n))||i);return a>3&&i&&Object.defineProperty(l,n,i),i},C=this&&this.__param||function(s,l){return function(n,c){l(n,c,s)}},t=this&&this.__spreadArrays||function(){for(var s=0,l=0,n=arguments.length;l<n;l++)s+=arguments[l].length;var c=Array(s),e=0;for(l=0;l<n;l++)for(var a=arguments[l],i=0,u=a.length;i<u;i++,e++)c[e]=a[i];return c};Object.defineProperty(_,"__esModule",{value:!0}),_.LogService=_.LogLevel=void 0;var p,h=I(1);!function(s){s[s.DEBUG=0]="DEBUG",s[s.INFO=1]="INFO",s[s.WARN=2]="WARN",s[s.ERROR=3]="ERROR",s[s.OFF=4]="OFF"}(p=_.LogLevel||(_.LogLevel={}));var o={debug:p.DEBUG,info:p.INFO,warn:p.WARN,error:p.ERROR,off:p.OFF},r=function(){function s(l){var n=this;this._optionsService=l,this._updateLogLevel(),this._optionsService.onOptionChange(function(c){c==="logLevel"&&n._updateLogLevel()})}return s.prototype._updateLogLevel=function(){this._logLevel=o[this._optionsService.options.logLevel]},s.prototype._evalLazyOptionalParams=function(l){for(var n=0;n<l.length;n++)typeof l[n]=="function"&&(l[n]=l[n]())},s.prototype._log=function(l,n,c){this._evalLazyOptionalParams(c),l.call.apply(l,t([console,"xterm.js: "+n],c))},s.prototype.debug=function(l){for(var n=[],c=1;c<arguments.length;c++)n[c-1]=arguments[c];this._logLevel<=p.DEBUG&&this._log(console.log,l,n)},s.prototype.info=function(l){for(var n=[],c=1;c<arguments.length;c++)n[c-1]=arguments[c];this._logLevel<=p.INFO&&this._log(console.info,l,n)},s.prototype.warn=function(l){for(var n=[],c=1;c<arguments.length;c++)n[c-1]=arguments[c];this._logLevel<=p.WARN&&this._log(console.warn,l,n)},s.prototype.error=function(l){for(var n=[],c=1;c<arguments.length;c++)n[c-1]=arguments[c];this._logLevel<=p.ERROR&&this._log(console.error,l,n)},s=E([C(0,h.IOptionsService)],s)}();_.LogService=r},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(c,e){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,i){a.__proto__=i}||function(a,i){for(var u in i)i.hasOwnProperty(u)&&(a[u]=i[u])})(c,e)},function(n,c){function e(){this.constructor=n}E(n,c),n.prototype=c===null?Object.create(c):(e.prototype=c.prototype,new e)}),t=this&&this.__decorate||function(n,c,e,a){var i,u=arguments.length,f=u<3?c:a===null?a=Object.getOwnPropertyDescriptor(c,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,c,e,a);else for(var m=n.length-1;m>=0;m--)(i=n[m])&&(f=(u<3?i(f):u>3?i(c,e,f):i(c,e))||f);return u>3&&f&&Object.defineProperty(c,e,f),f},p=this&&this.__param||function(n,c){return function(e,a){c(e,a,n)}};Object.defineProperty(_,"__esModule",{value:!0}),_.BufferService=_.MINIMUM_ROWS=_.MINIMUM_COLS=void 0;var h=I(1),o=I(69),r=I(0),s=I(2);_.MINIMUM_COLS=2,_.MINIMUM_ROWS=1;var l=function(n){function c(e){var a=n.call(this)||this;return a._optionsService=e,a.isUserScrolling=!1,a._onResize=new r.EventEmitter,a.cols=Math.max(e.options.cols,_.MINIMUM_COLS),a.rows=Math.max(e.options.rows,_.MINIMUM_ROWS),a.buffers=new o.BufferSet(e,a),a}return C(c,n),Object.defineProperty(c.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),c.prototype.dispose=function(){n.prototype.dispose.call(this),this.buffers.dispose()},c.prototype.resize=function(e,a){this.cols=e,this.rows=a,this.buffers.resize(e,a),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:e,rows:a})},c.prototype.reset=function(){this.buffers.dispose(),this.buffers=new o.BufferSet(this._optionsService,this),this.isUserScrolling=!1},c=t([p(0,h.IOptionsService)],c)}(s.Disposable);_.BufferService=l},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(r,s){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,n){l.__proto__=n}||function(l,n){for(var c in n)n.hasOwnProperty(c)&&(l[c]=n[c])})(r,s)},function(o,r){function s(){this.constructor=o}E(o,r),o.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)});Object.defineProperty(_,"__esModule",{value:!0}),_.BufferSet=void 0;var t=I(70),p=I(0),h=function(o){function r(s,l){var n=o.call(this)||this;return n._onBufferActivate=n.register(new p.EventEmitter),n._normal=new t.Buffer(!0,s,l),n._normal.fillViewportRows(),n._alt=new t.Buffer(!1,s,l),n._activeBuffer=n._normal,n.setupTabStops(),n}return C(r,o),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(s){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(s),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(s,l){this._normal.resize(s,l),this._alt.resize(s,l)},r.prototype.setupTabStops=function(s){this._normal.setupTabStops(s),this._alt.setupTabStops(s)},r}(I(2).Disposable);_.BufferSet=h},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.BufferStringIterator=_.Buffer=_.MAX_BUFFER_SIZE=void 0;var E=I(71),C=I(16),t=I(4),p=I(3),h=I(72),o=I(73),r=I(20),s=I(6);_.MAX_BUFFER_SIZE=4294967295;var l=function(){function c(e,a,i){this._hasScrollback=e,this._optionsService=a,this._bufferService=i,this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.savedY=0,this.savedX=0,this.savedCurAttrData=C.DEFAULT_ATTR_DATA.clone(),this.savedCharset=r.DEFAULT_CHARSET,this.markers=[],this._nullCell=t.CellData.fromCharData([0,p.NULL_CELL_CHAR,p.NULL_CELL_WIDTH,p.NULL_CELL_CODE]),this._whitespaceCell=t.CellData.fromCharData([0,p.WHITESPACE_CELL_CHAR,p.WHITESPACE_CELL_WIDTH,p.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new E.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return c.prototype.getNullCell=function(e){return e?(this._nullCell.fg=e.fg,this._nullCell.bg=e.bg,this._nullCell.extended=e.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new s.ExtendedAttrs),this._nullCell},c.prototype.getWhitespaceCell=function(e){return e?(this._whitespaceCell.fg=e.fg,this._whitespaceCell.bg=e.bg,this._whitespaceCell.extended=e.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new s.ExtendedAttrs),this._whitespaceCell},c.prototype.getBlankLine=function(e,a){return new C.BufferLine(this._bufferService.cols,this.getNullCell(e),a)},Object.defineProperty(c.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"isCursorInViewport",{get:function(){var a=this.ybase+this.y-this.ydisp;return a>=0&&a<this._rows},enumerable:!1,configurable:!0}),c.prototype._getCorrectBufferLength=function(e){if(!this._hasScrollback)return e;var a=e+this._optionsService.options.scrollback;return a>_.MAX_BUFFER_SIZE?_.MAX_BUFFER_SIZE:a},c.prototype.fillViewportRows=function(e){if(this.lines.length===0){e===void 0&&(e=C.DEFAULT_ATTR_DATA);for(var a=this._rows;a--;)this.lines.push(this.getBlankLine(e))}},c.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new E.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},c.prototype.resize=function(e,a){var i=this.getNullCell(C.DEFAULT_ATTR_DATA),u=this._getCorrectBufferLength(a);if(u>this.lines.maxLength&&(this.lines.maxLength=u),this.lines.length>0){if(this._cols<e)for(var f=0;f<this.lines.length;f++)this.lines.get(f).resize(e,i);var m=0;if(this._rows<a)for(var A=this._rows;A<a;A++)this.lines.length<a+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new C.BufferLine(e,i)):this.ybase>0&&this.lines.length<=this.ybase+this.y+m+1?(this.ybase--,m++,this.ydisp>0&&this.ydisp--):this.lines.push(new C.BufferLine(e,i)));else for(A=this._rows;A>a;A--)this.lines.length>a+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(u<this.lines.maxLength){var g=this.lines.length-u;g>0&&(this.lines.trimStart(g),this.ybase=Math.max(this.ybase-g,0),this.ydisp=Math.max(this.ydisp-g,0),this.savedY=Math.max(this.savedY-g,0)),this.lines.maxLength=u}this.x=Math.min(this.x,e-1),this.y=Math.min(this.y,a-1),m&&(this.y+=m),this.savedX=Math.min(this.savedX,e-1),this.scrollTop=0}if(this.scrollBottom=a-1,this._isReflowEnabled&&(this._reflow(e,a),this._cols>e))for(f=0;f<this.lines.length;f++)this.lines.get(f).resize(e,i);this._cols=e,this._rows=a},Object.defineProperty(c.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),c.prototype._reflow=function(e,a){this._cols!==e&&(e>this._cols?this._reflowLarger(e,a):this._reflowSmaller(e,a))},c.prototype._reflowLarger=function(e,a){var i=h.reflowLargerGetLinesToRemove(this.lines,this._cols,e,this.ybase+this.y,this.getNullCell(C.DEFAULT_ATTR_DATA));if(i.length>0){var u=h.reflowLargerCreateNewLayout(this.lines,i);h.reflowLargerApplyNewLayout(this.lines,u.layout),this._reflowLargerAdjustViewport(e,a,u.countRemoved)}},c.prototype._reflowLargerAdjustViewport=function(e,a,i){for(var u=this.getNullCell(C.DEFAULT_ATTR_DATA),f=i;f-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<a&&this.lines.push(new C.BufferLine(e,u))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-i,0)},c.prototype._reflowSmaller=function(e,a){for(var i=this.getNullCell(C.DEFAULT_ATTR_DATA),u=[],f=0,m=this.lines.length-1;m>=0;m--){var A=this.lines.get(m);if(!(!A||!A.isWrapped&&A.getTrimmedLength()<=e)){for(var g=[A];A.isWrapped&&m>0;)A=this.lines.get(--m),g.unshift(A);var v=this.ybase+this.y;if(!(v>=m&&v<m+g.length)){var b=g[g.length-1].getTrimmedLength(),S=h.reflowSmallerGetNewLineLengths(g,this._cols,e),y=S.length-g.length,w=void 0;w=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 x=[],T=0;T<y;T++){var L=this.getBlankLine(C.DEFAULT_ATTR_DATA,!0);x.push(L)}x.length>0&&(u.push({start:m+g.length+f,newLines:x}),f+=x.length),g.push.apply(g,x);var R=S.length-1,P=S[R];P===0&&(P=S[--R]);for(var k=g.length-y-1,U=b;k>=0;){var D=Math.min(U,P);if(g[R].copyCellsFrom(g[k],U-D,P-D,D,!0),(P-=D)===0&&(P=S[--R]),(U-=D)===0){k--;var M=Math.max(k,0);U=h.getWrappedLineTrimmedLength(g,M,this._cols)}}for(T=0;T<g.length;T++)S[T]<e&&g[T].setCell(S[T],i);for(var B=y-w;B-- >0;)this.ybase===0?this.y<a-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+f)-a&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+y,this.ybase+a-1)}}}if(u.length>0){var j=[],H=[];for(T=0;T<this.lines.length;T++)H.push(this.lines.get(T));var K=this.lines.length,W=K-1,X=0,V=u[X];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+f);var Z=0;for(T=Math.min(this.lines.maxLength-1,K+f-1);T>=0;T--)if(V&&V.start>W+Z){for(var G=V.newLines.length-1;G>=0;G--)this.lines.set(T--,V.newLines[G]);T++,j.push({index:W+1,amount:V.newLines.length}),Z+=V.newLines.length,V=u[++X]}else this.lines.set(T,H[W--]);var Y=0;for(T=j.length-1;T>=0;T--)j[T].index+=Y,this.lines.onInsertEmitter.fire(j[T]),Y+=j[T].amount;var te=Math.max(0,K+f-this.lines.maxLength);te>0&&this.lines.onTrimEmitter.fire(te)}},c.prototype.stringIndexToBufferIndex=function(e,a,i){for(i===void 0&&(i=!1);a;){var u=this.lines.get(e);if(!u)return[-1,-1];for(var f=i?u.getTrimmedLength():u.length,m=0;m<f;++m)if(u.get(m)[p.CHAR_DATA_WIDTH_INDEX]&&(a-=u.get(m)[p.CHAR_DATA_CHAR_INDEX].length||1),a<0)return[e,m];e++}return[e,0]},c.prototype.translateBufferLineToString=function(e,a,i,u){i===void 0&&(i=0);var f=this.lines.get(e);return f?f.translateToString(a,i,u):""},c.prototype.getWrappedRangeForLine=function(e){for(var a=e,i=e;a>0&&this.lines.get(a).isWrapped;)a--;for(;i+1<this.lines.length&&this.lines.get(i+1).isWrapped;)i++;return{first:a,last:i}},c.prototype.setupTabStops=function(e){for(e!=null?this.tabs[e]||(e=this.prevStop(e)):(this.tabs={},e=0);e<this._cols;e+=this._optionsService.options.tabStopWidth)this.tabs[e]=!0},c.prototype.prevStop=function(e){for(e==null&&(e=this.x);!this.tabs[--e]&&e>0;);return e>=this._cols?this._cols-1:e<0?0:e},c.prototype.nextStop=function(e){for(e==null&&(e=this.x);!this.tabs[++e]&&e<this._cols;);return e>=this._cols?this._cols-1:e<0?0:e},c.prototype.addMarker=function(e){var a=this,i=new o.Marker(e);return this.markers.push(i),i.register(this.lines.onTrim(function(u){i.line-=u,i.line<0&&i.dispose()})),i.register(this.lines.onInsert(function(u){i.line>=u.index&&(i.line+=u.amount)})),i.register(this.lines.onDelete(function(u){i.line>=u.index&&i.line<u.index+u.amount&&i.dispose(),i.line>u.index&&(i.line-=u.amount)})),i.register(i.onDispose(function(){return a._removeMarker(i)})),i},c.prototype._removeMarker=function(e){this.markers.splice(this.markers.indexOf(e),1)},c.prototype.iterator=function(e,a,i,u,f){return new n(this,e,a,i,u,f)},c}();_.Buffer=l;var n=function(){function c(e,a,i,u,f,m){i===void 0&&(i=0),u===void 0&&(u=e.lines.length),f===void 0&&(f=0),m===void 0&&(m=0),this._buffer=e,this._trimRight=a,this._startIndex=i,this._endIndex=u,this._startOverscan=f,this._endOverscan=m,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return c.prototype.hasNext=function(){return this._current<this._endIndex},c.prototype.next=function(){var e=this._buffer.getWrappedRangeForLine(this._current);e.first<this._startIndex-this._startOverscan&&(e.first=this._startIndex-this._startOverscan),e.last>this._endIndex+this._endOverscan&&(e.last=this._endIndex+this._endOverscan),e.first=Math.max(e.first,0),e.last=Math.min(e.last,this._buffer.lines.length);for(var a="",i=e.first;i<=e.last;++i)a+=this._buffer.translateBufferLineToString(i,this._trimRight);return this._current=e.last+1,{range:e,content:a}},c}();_.BufferStringIterator=n},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CircularList=void 0;var E=I(0),C=function(){function t(p){this._maxLength=p,this.onDeleteEmitter=new E.EventEmitter,this.onInsertEmitter=new E.EventEmitter,this.onTrimEmitter=new E.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(t.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this._maxLength},set:function(h){if(this._maxLength!==h){for(var o=new Array(h),r=0;r<Math.min(h,this.length);r++)o[r]=this._array[this._getCyclicIndex(r)];this._array=o,this._maxLength=h,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},set:function(h){if(h>this._length)for(var o=this._length;o<h;o++)this._array[o]=void 0;this._length=h},enumerable:!1,configurable:!0}),t.prototype.get=function(p){return this._array[this._getCyclicIndex(p)]},t.prototype.set=function(p,h){this._array[this._getCyclicIndex(p)]=h},t.prototype.push=function(p){this._array[this._getCyclicIndex(this._length)]=p,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},t.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(t.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),t.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},t.prototype.splice=function(p,h){for(var o=[],r=2;r<arguments.length;r++)o[r-2]=arguments[r];if(h){for(var s=p;s<this._length-h;s++)this._array[this._getCyclicIndex(s)]=this._array[this._getCyclicIndex(s+h)];this._length-=h}for(s=this._length-1;s>=p;s--)this._array[this._getCyclicIndex(s+o.length)]=this._array[this._getCyclicIndex(s)];for(s=0;s<o.length;s++)this._array[this._getCyclicIndex(p+s)]=o[s];if(this._length+o.length>this._maxLength){var l=this._length+o.length-this._maxLength;this._startIndex+=l,this._length=this._maxLength,this.onTrimEmitter.fire(l)}else this._length+=o.length},t.prototype.trimStart=function(p){p>this._length&&(p=this._length),this._startIndex+=p,this._length-=p,this.onTrimEmitter.fire(p)},t.prototype.shiftElements=function(p,h,o){if(!(h<=0)){if(p<0||p>=this._length)throw new Error("start argument out of range");if(p+o<0)throw new Error("Cannot shift elements in list beyond index 0");if(o>0){for(var r=h-1;r>=0;r--)this.set(p+r+o,this.get(p+r));var s=p+h+o-this._length;if(s>0)for(this._length+=s;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(r=0;r<h;r++)this.set(p+r+o,this.get(p+r))}},t.prototype._getCyclicIndex=function(p){return(this._startIndex+p)%this._maxLength},t}();_.CircularList=C},function(O,_,I){"use strict";function E(C,t,p){if(t===C.length-1)return C[t].getTrimmedLength();var h=!C[t].hasContent(p-1)&&C[t].getWidth(p-1)===1,o=C[t+1].getWidth(0)===2;return h&&o?p-1:p}Object.defineProperty(_,"__esModule",{value:!0}),_.getWrappedLineTrimmedLength=_.reflowSmallerGetNewLineLengths=_.reflowLargerApplyNewLayout=_.reflowLargerCreateNewLayout=_.reflowLargerGetLinesToRemove=void 0,_.reflowLargerGetLinesToRemove=function(C,t,p,h,o){for(var r=[],s=0;s<C.length-1;s++){var l=s,n=C.get(++l);if(n.isWrapped){for(var c=[C.get(s)];l<C.length&&n.isWrapped;)c.push(n),n=C.get(++l);if(h>=s&&h<l)s+=c.length-1;else{for(var e=0,a=E(c,e,t),i=1,u=0;i<c.length;){var f=E(c,i,t),m=f-u,A=p-a,g=Math.min(m,A);c[e].copyCellsFrom(c[i],u,a,g,!1),(a+=g)===p&&(e++,a=0),(u+=g)===f&&(i++,u=0),a===0&&e!==0&&c[e-1].getWidth(p-1)===2&&(c[e].copyCellsFrom(c[e-1],p-1,a++,1,!1),c[e-1].setCell(p-1,o))}c[e].replaceCells(a,p,o);for(var v=0,b=c.length-1;b>0&&(b>e||c[b].getTrimmedLength()===0);b--)v++;v>0&&(r.push(s+c.length-v),r.push(v)),s+=c.length-1}}}return r},_.reflowLargerCreateNewLayout=function(C,t){for(var p=[],h=0,o=t[h],r=0,s=0;s<C.length;s++)if(o===s){var l=t[++h];C.onDeleteEmitter.fire({index:s-r,amount:l}),s+=l-1,r+=l,o=t[++h]}else p.push(s);return{layout:p,countRemoved:r}},_.reflowLargerApplyNewLayout=function(C,t){for(var p=[],h=0;h<t.length;h++)p.push(C.get(t[h]));for(h=0;h<p.length;h++)C.set(h,p[h]);C.length=t.length},_.reflowSmallerGetNewLineLengths=function(C,t,p){for(var h=[],o=C.map(function(a,i){return E(C,i,t)}).reduce(function(a,i){return a+i}),r=0,s=0,l=0;l<o;){if(o-l<p){h.push(o-l);break}r+=p;var n=E(C,s,t);r>n&&(r-=n,s++);var c=C[s].getWidth(r-1)===2;c&&r--;var e=c?p-1:p;h.push(e),l+=e}return h},_.getWrappedLineTrimmedLength=E},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(o,r){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,l){s.__proto__=l}||function(s,l){for(var n in l)l.hasOwnProperty(n)&&(s[n]=l[n])})(o,r)},function(h,o){function r(){this.constructor=h}E(h,o),h.prototype=o===null?Object.create(o):(r.prototype=o.prototype,new r)});Object.defineProperty(_,"__esModule",{value:!0}),_.Marker=void 0;var t=I(0),p=function(h){function o(r){var s=h.call(this)||this;return s.line=r,s._id=o._nextId++,s.isDisposed=!1,s._onDispose=new t.EventEmitter,s}return C(o,h),Object.defineProperty(o.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),o.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},o._nextId=1,o}(I(2).Disposable);_.Marker=p},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.OptionsService=_.DEFAULT_OPTIONS=_.DEFAULT_BELL_SOUND=void 0;var E=I(0),C=I(11),t=I(33);_.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",_.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:_.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:C.isMac,rendererType:"canvas",windowOptions:{},windowsMode:!1,wordSeparator:" ()[]{}',\"`",convertEol:!1,termName:"xterm",cancelEvents:!1});var p=["cols","rows"],h=function(){function o(r){this._onOptionChange=new E.EventEmitter,this.options=t.clone(_.DEFAULT_OPTIONS);for(var s=0,l=Object.keys(r);s<l.length;s++){var n=l[s];if(n in this.options){var c=r[n];this.options[n]=c}}}return Object.defineProperty(o.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),o.prototype.setOption=function(r,s){if(!(r in _.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');if(p.indexOf(r)!==-1)throw new Error('Option "'+r+'" can only be set in the constructor');this.options[r]!==s&&(s=this._sanitizeAndValidateOption(r,s),this.options[r]!==s&&(this.options[r]=s,this._onOptionChange.fire(r)))},o.prototype._sanitizeAndValidateOption=function(r,s){switch(r){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":s||(s=_.DEFAULT_OPTIONS[r]);break;case"cursorWidth":s=Math.floor(s);case"lineHeight":case"tabStopWidth":if(s<1)throw new Error(r+" cannot be less than 1, value: "+s);break;case"minimumContrastRatio":s=Math.max(1,Math.min(21,Math.round(10*s)/10));break;case"scrollback":if((s=Math.min(s,4294967295))<0)throw new Error(r+" cannot be less than 0, value: "+s);break;case"fastScrollSensitivity":case"scrollSensitivity":if(s<=0)throw new Error(r+" cannot be less than or equal to 0, value: "+s)}return s},o.prototype.getOption=function(r){if(!(r in _.DEFAULT_OPTIONS))throw new Error('No option with key "'+r+'"');return this.options[r]},o}();_.OptionsService=h},function(O,_,I){"use strict";var E,C=this&&this.__extends||(E=function(a,i){return(E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,f){u.__proto__=f}||function(u,f){for(var m in f)f.hasOwnProperty(m)&&(u[m]=f[m])})(a,i)},function(e,a){function i(){this.constructor=e}E(e,a),e.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}),t=this&&this.__decorate||function(e,a,i,u){var f,m=arguments.length,A=m<3?a:u===null?u=Object.getOwnPropertyDescriptor(a,i):u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")A=Reflect.decorate(e,a,i,u);else for(var g=e.length-1;g>=0;g--)(f=e[g])&&(A=(m<3?f(A):m>3?f(a,i,A):f(a,i))||A);return m>3&&A&&Object.defineProperty(a,i,A),A},p=this&&this.__param||function(e,a){return function(i,u){a(i,u,e)}};Object.defineProperty(_,"__esModule",{value:!0}),_.CoreService=void 0;var h=I(1),o=I(0),r=I(33),s=I(2),l=Object.freeze({insertMode:!1}),n=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),c=function(e){function a(i,u,f,m){var A=e.call(this)||this;return A._bufferService=u,A._logService=f,A._optionsService=m,A.isCursorInitialized=!1,A.isCursorHidden=!1,A._onData=A.register(new o.EventEmitter),A._onUserInput=A.register(new o.EventEmitter),A._onBinary=A.register(new o.EventEmitter),A._scrollToBottom=i,A.register({dispose:function(){return A._scrollToBottom=void 0}}),A.modes=r.clone(l),A.decPrivateModes=r.clone(n),A}return C(a,e),Object.defineProperty(a.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),a.prototype.reset=function(){this.modes=r.clone(l),this.decPrivateModes=r.clone(n)},a.prototype.triggerDataEvent=function(i,u){if(u===void 0&&(u=!1),!this._optionsService.options.disableStdin){var f=this._bufferService.buffer;f.ybase!==f.ydisp&&this._scrollToBottom(),u&&this._onUserInput.fire(),this._logService.debug('sending data "'+i+'"',function(){return i.split("").map(function(m){return m.charCodeAt(0)})}),this._onData.fire(i)}},a.prototype.triggerBinaryEvent=function(i){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+i+'"',function(){return i.split("").map(function(u){return u.charCodeAt(0)})}),this._onBinary.fire(i))},a=t([p(1,h.IBufferService),p(2,h.ILogService),p(3,h.IOptionsService)],a)}(s.Disposable);_.CoreService=c},function(O,_,I){"use strict";var E=this&&this.__decorate||function(n,c,e,a){var i,u=arguments.length,f=u<3?c:a===null?a=Object.getOwnPropertyDescriptor(c,e):a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")f=Reflect.decorate(n,c,e,a);else for(var m=n.length-1;m>=0;m--)(i=n[m])&&(f=(u<3?i(f):u>3?i(c,e,f):i(c,e))||f);return u>3&&f&&Object.defineProperty(c,e,f),f},C=this&&this.__param||function(n,c){return function(e,a){c(e,a,n)}};Object.defineProperty(_,"__esModule",{value:!0}),_.CoreMouseService=void 0;var t=I(1),p=I(0),h={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(c){return c.button!==4&&c.action===1&&(c.ctrl=!1,c.alt=!1,c.shift=!1,!0)}},VT200:{events:19,restrict:function(c){return c.action!==32}},DRAG:{events:23,restrict:function(c){return c.action!==32||c.button!==3}},ANY:{events:31,restrict:function(c){return!0}}};function o(n,c){var e=(n.ctrl?16:0)|(n.shift?4:0)|(n.alt?8:0);return n.button===4?(e|=64,e|=n.action):(e|=3&n.button,4&n.button&&(e|=64),8&n.button&&(e|=128),n.action===32?e|=32:n.action!==0||c||(e|=3)),e}var r=String.fromCharCode,s={DEFAULT:function(c){var e=[o(c,!1)+32,c.col+32,c.row+32];return e[0]>255||e[1]>255||e[2]>255?"":""+r(e[0])+r(e[1])+r(e[2])},SGR:function(c){var e=c.action===0&&c.button!==4?"m":"M";return"[<"+o(c,!0)+";"+c.col+";"+c.row+e}},l=function(){function n(c,e){this._bufferService=c,this._coreService=e,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new p.EventEmitter,this._lastEvent=null;for(var a=0,i=Object.keys(h);a<i.length;a++){var u=i[a];this.addProtocol(u,h[u])}for(var f=0,m=Object.keys(s);f<m.length;f++){var A=m[f];this.addEncoding(A,s[A])}this.reset()}return n.prototype.addProtocol=function(c,e){this._protocols[c]=e},n.prototype.addEncoding=function(c,e){this._encodings[c]=e},Object.defineProperty(n.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(e){if(!this._protocols[e])throw new Error('unknown protocol "'+e+'"');this._activeProtocol=e,this._onProtocolChange.fire(this._protocols[e].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(e){if(!this._encodings[e])throw new Error('unknown encoding "'+e+'"');this._activeEncoding=e},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(c){if(c.col<0||c.col>=this._bufferService.cols||c.row<0||c.row>=this._bufferService.rows)return!1;if(c.button===4&&c.action===32)return!1;if(c.button===3&&c.action!==32)return!1;if(c.button!==4&&(c.action===2||c.action===3))return!1;if(c.col++,c.row++,c.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,c))return!1;if(!this._protocols[this._activeProtocol].restrict(c))return!1;var e=this._encodings[this._activeEncoding](c);return e&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(e):this._coreService.triggerDataEvent(e,!0)),this._lastEvent=c,!0},n.prototype.explainEvents=function(c){return{down:!!(1&c),up:!!(2&c),drag:!!(4&c),move:!!(8&c),wheel:!!(16&c)}},n.prototype._compareEvents=function(c,e){return c.col===e.col&&c.row===e.row&&c.button===e.button&&c.action===e.action&&c.ctrl===e.ctrl&&c.alt===e.alt&&c.shift===e.shift},n=E([C(0,t.IBufferService),C(1,t.ICoreService)],n)}();_.CoreMouseService=l},function(O,_,I){"use strict";var E=this&&this.__decorate||function(h,o,r,s){var l,n=arguments.length,c=n<3?o:s===null?s=Object.getOwnPropertyDescriptor(o,r):s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(h,o,r,s);else for(var e=h.length-1;e>=0;e--)(l=h[e])&&(c=(n<3?l(c):n>3?l(o,r,c):l(o,r))||c);return n>3&&c&&Object.defineProperty(o,r,c),c},C=this&&this.__param||function(h,o){return function(r,s){o(r,s,h)}};Object.defineProperty(_,"__esModule",{value:!0}),_.DirtyRowService=void 0;var t=I(1),p=function(){function h(o){this._bufferService=o,this.clearRange()}return Object.defineProperty(h.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(h.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),h.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},h.prototype.markDirty=function(o){o<this._start?this._start=o:o>this._end&&(this._end=o)},h.prototype.markRangeDirty=function(o,r){if(o>r){var s=o;o=r,r=s}o<this._start&&(this._start=o),r>this._end&&(this._end=r)},h.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},h=E([C(0,t.IBufferService)],h)}();_.DirtyRowService=p},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.UnicodeService=void 0;var E=I(0),C=I(79),t=function(){function p(){this._providers=Object.create(null),this._active="",this._onChange=new E.EventEmitter;var h=new C.UnicodeV6;this.register(h),this._active=h.version,this._activeProvider=h}return Object.defineProperty(p.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"activeVersion",{get:function(){return this._active},set:function(o){if(!this._providers[o])throw new Error('unknown Unicode version "'+o+'"');this._active=o,this._activeProvider=this._providers[o],this._onChange.fire(o)},enumerable:!1,configurable:!0}),p.prototype.register=function(h){this._providers[h.version]=h},p.prototype.wcwidth=function(h){return this._activeProvider.wcwidth(h)},p.prototype.getStringCellWidth=function(h){for(var o=0,r=h.length,s=0;s<r;++s){var l=h.charCodeAt(s);if(55296<=l&&l<=56319){if(++s>=r)return o+this.wcwidth(l);var n=h.charCodeAt(s);56320<=n&&n<=57343?l=1024*(l-55296)+n-56320+65536:o+=this.wcwidth(n)}o+=this.wcwidth(l)}return o},p}();_.UnicodeService=t},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.UnicodeV6=void 0;var E,C=I(15),t=[[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]],p=[[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]],h=function(){function o(){if(this.version="6",!E){E=new Uint8Array(65536),C.fill(E,1),E[0]=0,C.fill(E,0,1,32),C.fill(E,0,127,160),C.fill(E,2,4352,4448),E[9001]=2,E[9002]=2,C.fill(E,2,11904,42192),E[12351]=1,C.fill(E,2,44032,55204),C.fill(E,2,63744,64256),C.fill(E,2,65040,65050),C.fill(E,2,65072,65136),C.fill(E,2,65280,65377),C.fill(E,2,65504,65511);for(var r=0;r<t.length;++r)C.fill(E,0,t[r][0],t[r][1]+1)}}return o.prototype.wcwidth=function(r){return r<32?0:r<127?1:r<65536?E[r]:function(s,l){var n,c=0,e=l.length-1;if(s<l[0][0]||s>l[e][1])return!1;for(;e>=c;)if(s>l[n=c+e>>1][1])c=n+1;else{if(!(s<l[n][0]))return!0;e=n-1}return!1}(r,p)?0:r>=131072&&r<=196605||r>=196608&&r<=262141?2:1},o}();_.UnicodeV6=h},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.CharsetService=void 0;var E=function(){function C(){this.glevel=0,this._charsets=[]}return C.prototype.reset=function(){this.charset=void 0,this._charsets=[],this.glevel=0},C.prototype.setgLevel=function(t){this.glevel=t,this.charset=this._charsets[t]},C.prototype.setgCharset=function(t,p){this._charsets[t]=p,this.glevel===t&&(this.charset=p)},C}();_.CharsetService=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.updateWindowsModeWrappedState=void 0;var E=I(3);_.updateWindowsModeWrappedState=function(C){var t=C.buffer.lines.get(C.buffer.ybase+C.buffer.y-1),p=t==null?void 0:t.get(C.cols-1),h=C.buffer.lines.get(C.buffer.ybase+C.buffer.y);h&&p&&(h.isWrapped=p[E.CHAR_DATA_CODE_INDEX]!==E.NULL_CELL_CODE&&p[E.CHAR_DATA_CODE_INDEX]!==E.WHITESPACE_CELL_CODE)}},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.WriteBuffer=void 0;var E=function(){function C(t){this._action=t,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return C.prototype.writeSync=function(t){if(this._writeBuffer.length){for(var p=this._bufferOffset;p<this._writeBuffer.length;++p){var h=this._writeBuffer[p],o=this._callbacks[p];this._action(h),o&&o()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(t)},C.prototype.write=function(t,p){var h=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 h._innerWrite()})),this._pendingData+=t.length,this._writeBuffer.push(t),this._callbacks.push(p)},C.prototype._innerWrite=function(){for(var t=this,p=Date.now();this._writeBuffer.length>this._bufferOffset;){var h=this._writeBuffer[this._bufferOffset],o=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(h),this._pendingData-=h.length,o&&o(),Date.now()-p>=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 t._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},C}();_.WriteBuffer=E},function(O,_,I){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.AddonManager=void 0;var E=function(){function C(){this._addons=[]}return C.prototype.dispose=function(){for(var t=this._addons.length-1;t>=0;t--)this._addons[t].instance.dispose()},C.prototype.loadAddon=function(t,p){var h=this,o={instance:p,dispose:p.dispose,isDisposed:!1};this._addons.push(o),p.dispose=function(){return h._wrappedAddonDispose(o)},p.activate(t)},C.prototype._wrappedAddonDispose=function(t){if(!t.isDisposed){for(var p=-1,h=0;h<this._addons.length;h++)if(this._addons[h]===t){p=h;break}if(p===-1)throw new Error("Could not dispose an addon that has not been loaded");t.isDisposed=!0,t.dispose.apply(t.instance),this._addons.splice(p,1)}},C}();_.AddonManager=E}])})},"/SeX":function(ue,z,d){var O=d("knOB"),_=d("qZFw"),I=function(C){this.name=C||"",this.cx=0,this.cy=0,this._radiusAxis=new O,this._angleAxis=new _,this._radiusAxis.polar=this._angleAxis.polar=this};I.prototype={type:"polar",axisPointerEnabled:!0,constructor:I,dimensions:["radius","angle"],model:null,containPoint:function(C){var t=this.pointToCoord(C);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},containData:function(C){return this._radiusAxis.containData(C[0])&&this._angleAxis.containData(C[1])},getAxis:function(C){return this["_"+C+"Axis"]},getAxes:function(){return[this._radiusAxis,this._angleAxis]},getAxesByScale:function(C){var t=[],p=this._angleAxis,h=this._radiusAxis;return p.scale.type===C&&t.push(p),h.scale.type===C&&t.push(h),t},getAngleAxis:function(){return this._angleAxis},getRadiusAxis:function(){return this._radiusAxis},getOtherAxis:function(C){var t=this._angleAxis;return C===t?this._radiusAxis:t},getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},getTooltipAxes:function(C){var t=C!=null&&C!=="auto"?this.getAxis(C):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},dataToPoint:function(C,t){return this.coordToPoint([this._radiusAxis.dataToRadius(C[0],t),this._angleAxis.dataToAngle(C[1],t)])},pointToData:function(C,t){var p=this.pointToCoord(C);return[this._radiusAxis.radiusToData(p[0],t),this._angleAxis.angleToData(p[1],t)]},pointToCoord:function(C){var t=C[0]-this.cx,p=C[1]-this.cy,h=this.getAngleAxis(),o=h.getExtent(),r=Math.min(o[0],o[1]),s=Math.max(o[0],o[1]);h.inverse?r=s-360:s=r+360;var l=Math.sqrt(t*t+p*p);t/=l,p/=l;for(var n=Math.atan2(-p,t)/Math.PI*180,c=n<r?1:-1;n<r||n>s;)n+=c*360;return[l,n]},coordToPoint:function(C){var t=C[0],p=C[1]/180*Math.PI,h=Math.cos(p)*t+this.cx,o=-Math.sin(p)*t+this.cy;return[h,o]},getArea:function(){var C=this.getAngleAxis(),t=this.getRadiusAxis(),p=t.getExtent().slice();p[0]>p[1]&&p.reverse();var h=C.getExtent(),o=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:p[0],r:p[1],startAngle:-h[0]*o,endAngle:-h[1]*o,clockwise:C.inverse,contain:function(r,s){var l=r-this.cx,n=s-this.cy,c=l*l+n*n,e=this.r,a=this.r0;return c<=e*e&&c>=a*a}}}};var E=I;ue.exports=E},"/WM3":function(ue,z,d){var O=d("QuXc"),_=d("bYtY"),I=_.isFunction,E={createOnAllSeries:!0,performRawSeries:!0,reset:function(C,t){var p=C.getData(),h=(C.visualColorAccessPath||"itemStyle.color").split("."),o=C.get(h),r=I(o)&&!(o instanceof O)?o:null;(!o||r)&&(o=C.getColorFromPalette(C.name,null,t.getSeriesCount())),p.setVisual("color",o);var s=(C.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),l=C.get(s);if(p.setVisual("borderColor",l),!t.isSeriesFiltered(C)){r&&p.each(function(c){p.setItemVisual(c,"color",r(C.getDataParams(c)))});var n=function(c,e){var a=c.getItemModel(e),i=a.get(h,!0),u=a.get(s,!0);i!=null&&c.setItemVisual(e,"color",i),u!=null&&c.setItemVisual(e,"borderColor",u)};return{dataEach:p.hasItemOption?n:null}}}};ue.exports=E},"/d5a":function(ue,z){var d={average:function(I){for(var E=0,C=0,t=0;t<I.length;t++)isNaN(I[t])||(E+=I[t],C++);return C===0?NaN:E/C},sum:function(I){for(var E=0,C=0;C<I.length;C++)E+=I[C]||0;return E},max:function(I){for(var E=-Infinity,C=0;C<I.length;C++)I[C]>E&&(E=I[C]);return isFinite(E)?E:NaN},min:function(I){for(var E=Infinity,C=0;C<I.length;C++)I[C]<E&&(E=I[C]);return isFinite(E)?E:NaN},nearest:function(I){return I[0]}},O=function(I,E){return Math.round(I.length/2)};function _(I){return{seriesType:I,modifyOutputEnd:!0,reset:function(E,C,t){var p=E.getData(),h=E.get("sampling"),o=E.coordinateSystem;if(o.type==="cartesian2d"&&h){var r=o.getBaseAxis(),s=o.getOtherAxis(r),l=r.getExtent(),n=l[1]-l[0],c=Math.round(p.count()/n);if(c>1){var e;typeof h=="string"?e=d[h]:typeof h=="function"&&(e=h),e&&E.setData(p.downSample(p.mapDimension(s.dim),1/c,e,O))}}}}}ue.exports=_},"/ezw":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("cDf5"),t=d.n(C),p=d("q1tI"),h=d("TSYQ"),o=d.n(h),r=function(B){var j=B.prefixCls,H=B.className,K=B.width,W=B.style;return p.createElement("h3",{className:o()(j,H),style:E()({width:K},W)})},s=r,l=d("RIqP"),n=d.n(l),c=function(B){var j=function(G){var Y=B.width,te=B.rows,se=te===void 0?2:te;return Array.isArray(Y)?Y[G]:se-1===G?Y:void 0},H=B.prefixCls,K=B.className,W=B.style,X=B.rows,V=n()(Array(X)).map(function(Z,G){return p.createElement("li",{key:G,style:{width:j(G)}})});return p.createElement("ul",{className:o()(H,K),style:W},V)},e=c,a=d("H84U"),i=function(B){var j,H,K=B.prefixCls,W=B.className,X=B.style,V=B.size,Z=B.shape,G=o()((j={},_()(j,"".concat(K,"-lg"),V==="large"),_()(j,"".concat(K,"-sm"),V==="small"),j)),Y=o()((H={},_()(H,"".concat(K,"-circle"),Z==="circle"),_()(H,"".concat(K,"-square"),Z==="square"),_()(H,"".concat(K,"-round"),Z==="round"),H)),te=typeof V=="number"?{width:V,height:V,lineHeight:"".concat(V,"px")}:{};return p.createElement("span",{className:o()(K,W,G,Y),style:E()(E()({},te),X)})},u=i,f=d("BGR+"),m=function(B){var j=function(K){var W=K.getPrefixCls,X=B.prefixCls,V=B.className,Z=B.active,G=W("skeleton",X),Y=Object(f.default)(B,["prefixCls"]),te=o()(G,V,"".concat(G,"-element"),_()({},"".concat(G,"-active"),Z));return p.createElement("div",{className:te},p.createElement(u,E()({prefixCls:"".concat(G,"-avatar")},Y)))};return p.createElement(a.a,null,j)};m.defaultProps={size:"default",shape:"circle"};var A=m,g=function(B){var j=function(K){var W=K.getPrefixCls,X=B.prefixCls,V=B.className,Z=B.active,G=W("skeleton",X),Y=Object(f.default)(B,["prefixCls"]),te=o()(G,V,"".concat(G,"-element"),_()({},"".concat(G,"-active"),Z));return p.createElement("div",{className:te},p.createElement(u,E()({prefixCls:"".concat(G,"-button")},Y)))};return p.createElement(a.a,null,j)};g.defaultProps={size:"default"};var v=g,b=function(B){var j=function(K){var W=K.getPrefixCls,X=B.prefixCls,V=B.className,Z=B.active,G=W("skeleton",X),Y=Object(f.default)(B,["prefixCls"]),te=o()(G,V,"".concat(G,"-element"),_()({},"".concat(G,"-active"),Z));return p.createElement("div",{className:te},p.createElement(u,E()({prefixCls:"".concat(G,"-input")},Y)))};return p.createElement(a.a,null,j)};b.defaultProps={size:"default"};var S=b,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",w=function(B){var j=function(K){var W=K.getPrefixCls,X=B.prefixCls,V=B.className,Z=B.style,G=W("skeleton",X),Y=o()(G,V,"".concat(G,"-element"));return p.createElement("div",{className:Y},p.createElement("div",{className:o()("".concat(G,"-image"),V),style:Z},p.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(G,"-image-svg")},p.createElement("path",{d:y,className:"".concat(G,"-image-path")}))))};return p.createElement(a.a,null,j)},x=w;function T(M){return M&&t()(M)==="object"?M:{}}function L(M,B){return M&&!B?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function R(M,B){return!M&&B?{width:"38%"}:M&&B?{width:"50%"}:{}}function P(M,B){var j={};return(!M||!B)&&(j.width="61%"),!M&&B?j.rows=3:j.rows=2,j}var k=function(B){var j=function(K){var W=K.getPrefixCls,X=K.direction,V=B.prefixCls,Z=B.loading,G=B.className,Y=B.children,te=B.avatar,se=B.title,Ce=B.paragraph,he=B.active,xe=B.round,ie=W("skeleton",V);if(Z||!("loading"in B)){var ee,Ze=!!te,Se=!!se,Ne=!!Ce,it;if(Ze){var Ye=E()(E()({prefixCls:"".concat(ie,"-avatar")},L(Se,Ne)),T(te));it=p.createElement("div",{className:"".concat(ie,"-header")},p.createElement(u,Ye))}var nt;if(Se||Ne){var je;if(Se){var et=E()(E()({prefixCls:"".concat(ie,"-title")},R(Ze,Ne)),T(se));je=p.createElement(s,et)}var He;if(Ne){var pe=E()(E()({prefixCls:"".concat(ie,"-paragraph")},P(Ze,Se)),T(Ce));He=p.createElement(e,pe)}nt=p.createElement("div",{className:"".concat(ie,"-content")},je,He)}var ae=o()(ie,G,(ee={},_()(ee,"".concat(ie,"-with-avatar"),Ze),_()(ee,"".concat(ie,"-active"),he),_()(ee,"".concat(ie,"-rtl"),X==="rtl"),_()(ee,"".concat(ie,"-round"),xe),ee));return p.createElement("div",{className:ae},it,nt)}return Y};return p.createElement(a.a,null,j)};k.defaultProps={avatar:!1,title:!0,paragraph:!0},k.Button=v,k.Avatar=A,k.Input=S,k.Image=x;var U=k,D=z.a=U},"/iHx":function(ue,z,d){var O=d("6GrX"),_=d("IwbS"),I=["textStyle","color"],E={getTextColor:function(C){var t=this.ecModel;return this.getShallow("color")||(!C&&t?t.get(I):null)},getFont:function(){return _.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(C){return O.getBoundingRect(C,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};ue.exports=E},"/kpp":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("cDf5"),t=d.n(C),p=d("q1tI"),h=d.n(p),o=d("TSYQ"),r=d.n(o),s=d("o/2+"),l=d("H84U"),n=function(a,i){var u={};for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&i.indexOf(f)<0&&(u[f]=a[f]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,f=Object.getOwnPropertySymbols(a);m<f.length;m++)i.indexOf(f[m])<0&&Object.prototype.propertyIsEnumerable.call(a,f[m])&&(u[f[m]]=a[f[m]]);return u};function c(a){return typeof a=="number"?"".concat(a," ").concat(a," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(a)?"0 0 ".concat(a):a}var e=p.forwardRef(function(a,i){var u=function(m){var A,g=m.getPrefixCls,v=m.direction,b=a.prefixCls,S=a.span,y=a.order,w=a.offset,x=a.push,T=a.pull,L=a.className,R=a.children,P=a.flex,k=a.style,U=n(a,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),D=g("col",b),M={};["xs","sm","md","lg","xl","xxl"].forEach(function(j){var H,K={},W=a[j];typeof W=="number"?K.span=W:t()(W)==="object"&&(K=W||{}),delete U[j],M=E()(E()({},M),(H={},_()(H,"".concat(D,"-").concat(j,"-").concat(K.span),K.span!==void 0),_()(H,"".concat(D,"-").concat(j,"-order-").concat(K.order),K.order||K.order===0),_()(H,"".concat(D,"-").concat(j,"-offset-").concat(K.offset),K.offset||K.offset===0),_()(H,"".concat(D,"-").concat(j,"-push-").concat(K.push),K.push||K.push===0),_()(H,"".concat(D,"-").concat(j,"-pull-").concat(K.pull),K.pull||K.pull===0),_()(H,"".concat(D,"-rtl"),v==="rtl"),H))});var B=r()(D,(A={},_()(A,"".concat(D,"-").concat(S),S!==void 0),_()(A,"".concat(D,"-order-").concat(y),y),_()(A,"".concat(D,"-offset-").concat(w),w),_()(A,"".concat(D,"-push-").concat(x),x),_()(A,"".concat(D,"-pull-").concat(T),T),A),L,M);return p.createElement(s.a.Consumer,null,function(j){var H=j.gutter,K=E()({},k);return H&&(K=E()(E()(E()({},H[0]>0?{paddingLeft:H[0]/2,paddingRight:H[0]/2}:{}),H[1]>0?{paddingTop:H[1]/2,paddingBottom:H[1]/2}:{}),K)),P&&(K.flex=c(P)),p.createElement("div",E()({},U,{style:K,className:B,ref:i}),R)})};return p.createElement(l.a,null,u)});e.displayName="Col",z.a=e},"/ry/":function(ue,z,d){var O=d("bYtY"),_=d("T4UG"),I=d("5GhG"),E=I.seriesModelMixin,C=_.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}});O.mixin(C,E,!0);var t=C;ue.exports=t},"/stD":function(ue,z,d){var O=d("bYtY"),_=d("IUWy"),I=d("Kagy"),E=I.toolbox.brush;function C(h,o,r){this.model=h,this.ecModel=o,this.api=r,this._brushType,this._brushMode}C.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:O.clone(E.title)};var t=C.prototype;t.render=t.updateView=function(h,o,r){var s,l,n;o.eachComponent({mainType:"brush"},function(c){s=c.brushType,l=c.brushOption.brushMode||"single",n|=c.areas.length}),this._brushType=s,this._brushMode=l,O.each(h.get("type",!0),function(c){h.setIconStatus(c,(c==="keep"?l==="multiple":c==="clear"?n:c===s)?"emphasis":"normal")})},t.getIcons=function(){var h=this.model,o=h.get("icon",!0),r={};return O.each(h.get("type",!0),function(s){o[s]&&(r[s]=o[s])}),r},t.onclick=function(h,o,r){var s=this._brushType,l=this._brushMode;r==="clear"?(o.dispatchAction({type:"axisAreaSelect",intervals:[]}),o.dispatchAction({type:"brush",command:"clear",areas:[]})):o.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:r==="keep"?s:s===r?!1:r,brushMode:r==="keep"?l==="multiple"?"single":"multiple":l}})},_.register("brush",C);var p=C;ue.exports=p},"/wGt":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("PJYZ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d("Ff2n"),i=d("1OyB"),u=d("vuIU"),f=d("Ji7U"),m=d("md7G"),A=d("foSv"),g=d("1W/9"),v=d("rePB"),b=d("JX7q"),S=d("TSYQ"),y=d.n(S),w=d("qx4F"),x=d("4IlW");function T(je){return Array.isArray(je)?je:[je]}var L={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},R=Object.keys(L).filter(function(je){if(typeof document=="undefined")return!1;var et=document.getElementsByTagName("html")[0];return je in(et?et.style:{})})[0],P=L[R];function k(je,et,He,pe){je.addEventListener?je.addEventListener(et,He,pe):je.attachEvent&&je.attachEvent("on".concat(et),He)}function U(je,et,He,pe){je.removeEventListener?je.removeEventListener(et,He,pe):je.attachEvent&&je.detachEvent("on".concat(et),He)}function D(je,et){var He=typeof je=="function"?je(et):je;return Array.isArray(He)?He.length===2?He:[He[0],He[1]]:[He]}var M=function(et){return!isNaN(parseFloat(et))&&isFinite(et)},B=!(typeof window!="undefined"&&window.document&&window.document.createElement),j=function je(et,He,pe,ae){if(!He||He===document||He instanceof Document)return!1;if(He===et.parentNode)return!0;var re=Math.max(Math.abs(pe),Math.abs(ae))===Math.abs(ae),be=Math.max(Math.abs(pe),Math.abs(ae))===Math.abs(pe),ze=He.scrollHeight-He.clientHeight,Ke=He.scrollWidth-He.clientWidth,Te=document.defaultView.getComputedStyle(He),gt=Te.overflowY==="auto"||Te.overflowY==="scroll",Ue=Te.overflowX==="auto"||Te.overflowX==="scroll",bt=ze&&gt,wt=Ke&&Ue;return re&&(!bt||bt&&(He.scrollTop>=ze&&ae<0||He.scrollTop<=0&&ae>0))||be&&(!wt||wt&&(He.scrollLeft>=Ke&&pe<0||He.scrollLeft<=0&&pe>0))?je(et,He.parentNode,pe,ae):!1};function H(je){var et=K();return function(){var pe=Object(A.a)(je),ae;if(et){var re=Object(A.a)(this).constructor;ae=Reflect.construct(pe,arguments,re)}else ae=pe.apply(this,arguments);return Object(m.a)(this,ae)}}function K(){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(je){return!1}}var W={},X=function(je){Object(f.a)(He,je);var et=H(He);function He(pe){var ae;return Object(i.a)(this,He),ae=et.call(this,pe),ae.domFocus=function(){ae.dom&&ae.dom.focus()},ae.removeStartHandler=function(re){if(re.touches.length>1)return;ae.startPos={x:re.touches[0].clientX,y:re.touches[0].clientY}},ae.removeMoveHandler=function(re){if(re.changedTouches.length>1)return;var be=re.currentTarget,ze=re.changedTouches[0].clientX-ae.startPos.x,Ke=re.changedTouches[0].clientY-ae.startPos.y;(be===ae.maskDom||be===ae.handlerDom||be===ae.contentDom&&j(be,re.target,ze,Ke))&&re.cancelable&&re.preventDefault()},ae.transitionEnd=function(re){var be=re.target;U(be,P,ae.transitionEnd),be.style.transition=""},ae.onKeyDown=function(re){if(re.keyCode===x.a.ESC){var be=ae.props.onClose;re.stopPropagation(),be&&be(re)}},ae.onWrapperTransitionEnd=function(re){var be=ae.props,ze=be.open,Ke=be.afterVisibleChange;re.target===ae.contentWrapper&&re.propertyName.match(/transform$/)&&(ae.dom.style.transition="",!ze&&ae.getCurrentDrawerSome()&&(document.body.style.overflowX="",ae.maskDom&&(ae.maskDom.style.left="",ae.maskDom.style.width="")),Ke&&Ke(!!ze))},ae.openLevelTransition=function(){var re=ae.props,be=re.open,ze=re.width,Ke=re.height,Te=ae.getHorizontalBoolAndPlacementName(),gt=Te.isHorizontal,Ue=Te.placementName,bt=ae.contentDom?ae.contentDom.getBoundingClientRect()[gt?"width":"height"]:0,wt=(gt?ze:Ke)||bt;ae.setLevelAndScrolling(be,Ue,wt)},ae.setLevelTransform=function(re,be,ze,Ke){var Te=ae.props,gt=Te.placement,Ue=Te.levelMove,bt=Te.duration,wt=Te.ease,Et=Te.showMask;ae.levelDom.forEach(function(xt){xt.style.transition="transform ".concat(bt," ").concat(wt),k(xt,P,ae.transitionEnd);var Tt=re?ze:0;if(Ue){var Be=D(Ue,{target:xt,open:re});Tt=re?Be[0]:Be[1]||0}var ce=typeof Tt=="number"?"".concat(Tt,"px"):Tt,q=gt==="left"||gt==="top"?ce:"-".concat(ce);q=Et&&gt==="right"&&Ke?"calc(".concat(q," + ").concat(Ke,"px)"):q,xt.style.transform=Tt?"".concat(be,"(").concat(q,")"):""})},ae.setLevelAndScrolling=function(re,be,ze){var Ke=ae.props.onChange;if(!B){var Te=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?Object(w.a)(!0):0;ae.setLevelTransform(re,be,ze,Te),ae.toggleScrollingToDrawerAndBody(Te)}Ke&&Ke(re)},ae.toggleScrollingToDrawerAndBody=function(re){var be=ae.props,ze=be.getOpenCount,Ke=be.getContainer,Te=be.showMask,gt=be.open,Ue=Ke&&Ke(),bt=ze&&ze();if(Ue&&Ue.parentNode===document.body&&Te){var wt=["touchstart"],Et=[document.body,ae.maskDom,ae.handlerDom,ae.contentDom];gt&&document.body.style.overflow!=="hidden"?(re&&ae.addScrollingEffect(re),bt===1&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",Et.forEach(function(xt,Tt){if(!xt)return;k(xt,wt[Tt]||"touchmove",Tt?ae.removeMoveHandler:ae.removeStartHandler,ae.passive)})):ae.getCurrentDrawerSome()&&(bt||(document.body.style.overflow=""),document.body.style.touchAction="",re&&ae.remScrollingEffect(re),Et.forEach(function(xt,Tt){if(!xt)return;U(xt,wt[Tt]||"touchmove",Tt?ae.removeMoveHandler:ae.removeStartHandler,ae.passive)}))}},ae.addScrollingEffect=function(re){var be=ae.props,ze=be.placement,Ke=be.duration,Te=be.ease,gt=be.getOpenCount,Ue=be.switchScrollingEffect,bt=gt&&gt();bt===1&&Ue();var wt="width ".concat(Ke," ").concat(Te),Et="transform ".concat(Ke," ").concat(Te);ae.dom.style.transition="none";switch(ze){case"right":ae.dom.style.transform="translateX(-".concat(re,"px)");break;case"top":case"bottom":ae.dom.style.width="calc(100% - ".concat(re,"px)"),ae.dom.style.transform="translateZ(0)";break;default:break}clearTimeout(ae.timeout),ae.timeout=setTimeout(function(){ae.dom&&(ae.dom.style.transition="".concat(Et,",").concat(wt),ae.dom.style.width="",ae.dom.style.transform="")})},ae.remScrollingEffect=function(re){var be=ae.props,ze=be.placement,Ke=be.duration,Te=be.ease,gt=be.getOpenCount,Ue=be.switchScrollingEffect,bt=gt&&gt();bt||Ue(!0),R&&(document.body.style.overflowX="hidden"),ae.dom.style.transition="none";var wt,Et="width ".concat(Ke," ").concat(Te),xt="transform ".concat(Ke," ").concat(Te);switch(ze){case"left":{ae.dom.style.width="100%",Et="width 0s ".concat(Te," ").concat(Ke);break}case"right":{ae.dom.style.transform="translateX(".concat(re,"px)"),ae.dom.style.width="100%",Et="width 0s ".concat(Te," ").concat(Ke),ae.maskDom&&(ae.maskDom.style.left="-".concat(re,"px"),ae.maskDom.style.width="calc(100% + ".concat(re,"px)"));break}case"top":case"bottom":{ae.dom.style.width="calc(100% + ".concat(re,"px)"),ae.dom.style.height="100%",ae.dom.style.transform="translateZ(0)",wt="height 0s ".concat(Te," ").concat(Ke);break}default:break}clearTimeout(ae.timeout),ae.timeout=setTimeout(function(){ae.dom&&(ae.dom.style.transition="".concat(xt,",").concat(wt?"".concat(wt,","):"").concat(Et),ae.dom.style.transform="",ae.dom.style.width="",ae.dom.style.height="")})},ae.getCurrentDrawerSome=function(){return!Object.keys(W).some(function(re){return W[re]})},ae.getLevelDom=function(re){var be=re.level,ze=re.getContainer;if(B)return;var Ke=ze&&ze(),Te=Ke?Ke.parentNode:null;if(ae.levelDom=[],be==="all"){var gt=Te?Array.prototype.slice.call(Te.children):[];gt.forEach(function(Ue){Ue.nodeName!=="SCRIPT"&&Ue.nodeName!=="STYLE"&&Ue.nodeName!=="LINK"&&Ue!==Ke&&ae.levelDom.push(Ue)})}else be&&T(be).forEach(function(Ue){document.querySelectorAll(Ue).forEach(function(bt){ae.levelDom.push(bt)})})},ae.getHorizontalBoolAndPlacementName=function(){var re=ae.props.placement,be=re==="left"||re==="right",ze="translate".concat(be?"X":"Y");return{isHorizontal:be,placementName:ze}},ae.state={_self:Object(b.a)(ae)},ae}return Object(u.a)(He,[{key:"componentDidMount",value:function(){var ae=this;if(!B){var re=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return re=!0,null}}))}catch(gt){}this.passive=re?{passive:!1}:!1}var be=this.props,ze=be.open,Ke=be.getContainer,Te=Ke&&Ke();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&&(Te&&Te.parentNode===document.body&&(W[this.drawerId]=ze),this.openLevelTransition(),this.forceUpdate(function(){ae.domFocus()}))}},{key:"componentDidUpdate",value:function(ae){var re=this.props,be=re.open,ze=re.getContainer,Ke=ze&&ze();be!==ae.open&&(be&&this.domFocus(),Ke&&Ke.parentNode===document.body&&(W[this.drawerId]=!!be),this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var ae=this.props,re=ae.getOpenCount,be=ae.open,ze=ae.switchScrollingEffect,Ke=typeof re=="function"&&re();delete W[this.drawerId],be&&(this.setLevelTransform(!1),document.body.style.touchAction=""),Ke||(document.body.style.overflow="",ze(!0))}},{key:"render",value:function(){var ae,re=this,be=this.props,ze=be.className,Ke=be.children,Te=be.style,gt=be.width,Ue=be.height,bt=be.defaultOpen,wt=be.open,Et=be.prefixCls,xt=be.placement,Tt=be.level,Be=be.levelMove,ce=be.ease,q=be.duration,dt=be.getContainer,Ve=be.handler,de=be.onChange,Ht=be.afterVisibleChange,tr=be.showMask,lt=be.maskClosable,Xt=be.maskStyle,sr=be.onClose,Kr=be.onHandleClick,rr=be.keyboard,nr=be.getOpenCount,Nt=be.switchScrollingEffect,ot=Object(a.a)(be,["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"]),Qe=this.dom?wt:!1,qt=y()(Et,(ae={},Object(v.a)(ae,"".concat(Et,"-").concat(xt),!0),Object(v.a)(ae,"".concat(Et,"-open"),Qe),Object(v.a)(ae,ze||"",!!ze),Object(v.a)(ae,"no-mask",!tr),ae)),xr=this.getHorizontalBoolAndPlacementName(),vr=xr.placementName,fr=xt==="left"||xt==="top"?"-100%":"100%",An=Qe?"":"".concat(vr,"(").concat(fr,")"),$r=Ve&&e.cloneElement(Ve,{onClick:function($e){Ve.props.onClick&&Ve.props.onClick(),Kr&&Kr($e)},ref:function($e){re.handlerDom=$e}});return e.createElement("div",Object.assign({},ot,{tabIndex:-1,className:qt,style:Te,ref:function($e){re.dom=$e},onKeyDown:Qe&&rr?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),tr&&e.createElement("div",{className:"".concat(Et,"-mask"),onClick:lt?sr:void 0,style:Xt,ref:function($e){re.maskDom=$e}}),e.createElement("div",{className:"".concat(Et,"-content-wrapper"),style:{transform:An,msTransform:An,width:M(gt)?"".concat(gt,"px"):gt,height:M(Ue)?"".concat(Ue,"px"):Ue},ref:function($e){re.contentWrapper=$e}},e.createElement("div",{className:"".concat(Et,"-content"),ref:function($e){re.contentDom=$e},onTouchStart:Qe&&tr?this.removeStartHandler:void 0,onTouchMove:Qe&&tr?this.removeMoveHandler:void 0},Ke),$r))}}],[{key:"getDerivedStateFromProps",value:function(ae,re){var be=re.prevProps,ze=re._self,Ke={prevProps:ae};if(be!==void 0){var Te=ae.placement,gt=ae.level;Te!==be.placement&&(ze.contentDom=null),gt!==be.level&&ze.getLevelDom(ae)}return Ke}}]),He}(e.Component);X.defaultProps={switchScrollingEffect:function(){}};var V=X;function Z(je){var et=G();return function(){var pe=Object(A.a)(je),ae;if(et){var re=Object(A.a)(this).constructor;ae=Reflect.construct(pe,arguments,re)}else ae=pe.apply(this,arguments);return Object(m.a)(this,ae)}}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(je){return!1}}var Y=function(je){Object(f.a)(He,je);var et=Z(He);function He(pe){var ae;Object(i.a)(this,He),ae=et.call(this,pe),ae.onHandleClick=function(be){var ze=ae.props,Ke=ze.onHandleClick,Te=ze.open;if(Ke&&Ke(be),typeof Te=="undefined"){var gt=ae.state.open;ae.setState({open:!gt})}},ae.onClose=function(be){var ze=ae.props,Ke=ze.onClose,Te=ze.open;Ke&&Ke(be),typeof Te=="undefined"&&ae.setState({open:!1})};var re=typeof pe.open!="undefined"?pe.open:!!pe.defaultOpen;return ae.state={open:re},"onMaskClick"in pe&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),ae}return Object(u.a)(He,[{key:"render",value:function(){var ae=this,re=this.props,be=re.defaultOpen,ze=re.getContainer,Ke=re.wrapperClassName,Te=re.forceRender,gt=re.handler,Ue=Object(a.a)(re,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),bt=this.state.open;if(!ze)return e.createElement("div",{className:Ke,ref:function(xt){ae.dom=xt}},e.createElement(V,Object.assign({},Ue,{open:bt,handler:gt,getContainer:function(){return ae.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var wt=!!gt||Te;return e.createElement(g.a,{visible:bt,forceRender:wt,getContainer:ze,wrapperClassName:Ke},function(Et){var xt=Et.visible,Tt=Et.afterClose,Be=Object(a.a)(Et,["visible","afterClose"]);return e.createElement(V,Object.assign({},Ue,Be,{open:xt!==void 0?xt:bt,afterVisibleChange:Tt!==void 0?Tt:Ue.afterVisibleChange,handler:gt,onClose:ae.onClose,onHandleClick:ae.onHandleClick}))})}}],[{key:"getDerivedStateFromProps",value:function(ae,re){var be=re.prevProps,ze={prevProps:ae};return typeof be!="undefined"&&ae.open!==be.open&&(ze.open=ae.open),ze}}]),He}(e.Component);Y.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:e.createElement("div",{className:"drawer-handle"},e.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var te=Y,se=te,Ce=d("V/uB"),he=d.n(Ce),xe=d("BGR+"),ie=d("H84U"),ee=d("CWQg"),Ze=function(je,et){var He={};for(var pe in je)Object.prototype.hasOwnProperty.call(je,pe)&&et.indexOf(pe)<0&&(He[pe]=je[pe]);if(je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,pe=Object.getOwnPropertySymbols(je);ae<pe.length;ae++)et.indexOf(pe[ae])<0&&Object.prototype.propertyIsEnumerable.call(je,pe[ae])&&(He[pe[ae]]=je[pe[ae]]);return He},Se=e.createContext(null),Ne=Object(ee.a)("top","right","bottom","left"),it={distance:180},Ye=function(je){l()(He,je);var et=c()(He);function He(){var pe;return t()(this,He),pe=et.apply(this,arguments),pe.state={push:!1},pe.push=function(){pe.props.push&&pe.setState({push:!0})},pe.pull=function(){pe.props.push&&pe.setState({push:!1})},pe.onDestroyTransitionEnd=function(){var ae=pe.getDestroyOnClose();if(!ae)return;pe.props.visible||(pe.destroyClose=!0,pe.forceUpdate())},pe.getDestroyOnClose=function(){return pe.props.destroyOnClose&&!pe.props.visible},pe.getPushDistance=function(){var ae=pe.props.push,re;return typeof ae=="boolean"?re=ae?it.distance:0:re=ae.distance,parseFloat(String(re||0))},pe.getPushTransform=function(ae){var re=pe.getPushDistance();if(ae==="left"||ae==="right")return"translateX(".concat(ae==="left"?re:-re,"px)");if(ae==="top"||ae==="bottom")return"translateY(".concat(ae==="top"?re:-re,"px)")},pe.getRcDrawerStyle=function(){var ae=pe.props,re=ae.zIndex,be=ae.placement,ze=ae.mask,Ke=ae.style,Te=pe.state.push,gt=ze?{}:pe.getOffsetStyle();return E()(E()({zIndex:re,transform:Te?pe.getPushTransform(be):void 0},gt),Ke)},pe.renderBody=function(){var ae=pe.props,re=ae.bodyStyle,be=ae.drawerStyle,ze=ae.prefixCls,Ke=ae.visible;if(pe.destroyClose&&!Ke)return null;pe.destroyClose=!1;var Te={},gt=pe.getDestroyOnClose();return gt&&(Te.opacity=0,Te.transition="opacity .3s"),e.createElement("div",{className:"".concat(ze,"-wrapper-body"),style:E()(E()({},Te),be),onTransitionEnd:pe.onDestroyTransitionEnd},pe.renderHeader(),e.createElement("div",{className:"".concat(ze,"-body"),style:re},pe.props.children),pe.renderFooter())},pe.renderProvider=function(ae){return pe.parentDrawer=ae,e.createElement(ie.a,null,function(re){var be=re.getPopupContainer,ze=re.getPrefixCls,Ke=pe.props,Te=Ke.prefixCls,gt=Ke.placement,Ue=Ke.className,bt=Ke.mask,wt=Ke.direction,Et=Ke.visible,xt=Ze(Ke,["prefixCls","placement","className","mask","direction","visible"]),Tt=ze("select",Te),Be=y()(Ue,_()({"no-mask":!bt},"".concat(Tt,"-rtl"),wt==="rtl")),ce=bt?pe.getOffsetStyle():{};return e.createElement(Se.Provider,{value:r()(pe)},e.createElement(se,E()({handler:!1},Object(xe.default)(xt,["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:xt.getContainer===void 0&&be?function(){return be(document.body)}:xt.getContainer},ce,{prefixCls:Tt,open:Et,showMask:bt,placement:gt,style:pe.getRcDrawerStyle(),className:Be}),pe.renderBody()))})},pe}return h()(He,[{key:"componentDidMount",value:function(){var ae=this.props.visible;ae&&this.parentDrawer&&this.parentDrawer.push()}},{key:"componentDidUpdate",value:function(ae){var re=this.props.visible;ae.visible!==re&&this.parentDrawer&&(re?this.parentDrawer.push():this.parentDrawer.pull())}},{key:"componentWillUnmount",value:function(){this.parentDrawer&&(this.parentDrawer.pull(),this.parentDrawer=null)}},{key:"getOffsetStyle",value:function(){var ae=this.props,re=ae.placement,be=ae.width,ze=ae.height,Ke=ae.visible,Te=ae.mask;if(!Ke&&!Te)return{};var gt={};return re==="left"||re==="right"?gt.width=be:gt.height=ze,gt}},{key:"renderHeader",value:function(){var ae=this.props,re=ae.title,be=ae.prefixCls,ze=ae.closable,Ke=ae.headerStyle;if(!re&&!ze)return null;var Te=re?"".concat(be,"-header"):"".concat(be,"-header-no-title");return e.createElement("div",{className:Te,style:Ke},re&&e.createElement("div",{className:"".concat(be,"-title")},re),ze&&this.renderCloseIcon())}},{key:"renderFooter",value:function(){var ae=this.props,re=ae.footer,be=ae.footerStyle,ze=ae.prefixCls;if(!re)return null;var Ke="".concat(ze,"-footer");return e.createElement("div",{className:Ke,style:be},re)}},{key:"renderCloseIcon",value:function(){var ae=this.props,re=ae.closable,be=ae.closeIcon,ze=be===void 0?e.createElement(he.a,null):be,Ke=ae.prefixCls,Te=ae.onClose;return re&&e.createElement("button",{onClick:Te,"aria-label":"Close",className:"".concat(Ke,"-close"),style:{"--scroll-bar":"".concat(Object(w.a)(),"px")}},ze)}},{key:"render",value:function(){return e.createElement(Se.Consumer,null,this.renderProvider)}}]),He}(e.Component);Ye.defaultProps={width:256,height:256,closable:!0,placement:"right",maskClosable:!0,mask:!0,level:null,keyboard:!0,push:it};var nt=z.a=Object(ie.c)({prefixCls:"drawer"})(Ye)},"/y7N":function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("6GrX"),E=d("7aKB"),C=d("Fofx"),t=d("aX7z"),p=d("+rIm");function h(i){var u=i.get("type"),f=i.getModel(u+"Style"),m;return u==="line"?(m=f.getLineStyle(),m.fill=null):u==="shadow"&&(m=f.getAreaStyle(),m.stroke=null),m}function o(i,u,f,m,A){var g=f.get("value"),v=s(g,u.axis,u.ecModel,f.get("seriesDataIndices"),{precision:f.get("label.precision"),formatter:f.get("label.formatter")}),b=f.getModel("label"),S=E.normalizeCssArray(b.get("padding")||0),y=b.getFont(),w=I.getBoundingRect(v,y),x=A.position,T=w.width+S[1]+S[3],L=w.height+S[0]+S[2],R=A.align;R==="right"&&(x[0]-=T),R==="center"&&(x[0]-=T/2);var P=A.verticalAlign;P==="bottom"&&(x[1]-=L),P==="middle"&&(x[1]-=L/2),r(x,T,L,m);var k=b.get("backgroundColor");(!k||k==="auto")&&(k=u.get("axisLine.lineStyle.color")),i.label={shape:{x:0,y:0,width:T,height:L,r:b.get("borderRadius")},position:x.slice(),style:{text:v,textFont:y,textFill:b.getTextColor(),textPosition:"inside",textPadding:S,fill:k,stroke:b.get("borderColor")||"transparent",lineWidth:b.get("borderWidth")||0,shadowBlur:b.get("shadowBlur"),shadowColor:b.get("shadowColor"),shadowOffsetX:b.get("shadowOffsetX"),shadowOffsetY:b.get("shadowOffsetY")},z2:10}}function r(i,u,f,m){var A=m.getWidth(),g=m.getHeight();i[0]=Math.min(i[0]+u,A)-u,i[1]=Math.min(i[1]+f,g)-f,i[0]=Math.max(i[0],0),i[1]=Math.max(i[1],0)}function s(i,u,f,m,A){i=u.scale.parse(i);var g=u.scale.getLabel(i,{precision:A.precision}),v=A.formatter;if(v){var b={value:t.getAxisRawValue(u,i),axisDimension:u.dim,axisIndex:u.index,seriesData:[]};O.each(m,function(S){var y=f.getSeriesByIndex(S.seriesIndex),w=S.dataIndexInside,x=y&&y.getDataParams(w);x&&b.seriesData.push(x)}),O.isString(v)?g=v.replace("{value}",g):O.isFunction(v)&&(g=v(b))}return g}function l(i,u,f){var m=C.create();return C.rotate(m,m,f.rotation),C.translate(m,m,f.position),_.applyTransform([i.dataToCoord(u),(f.labelOffset||0)+(f.labelDirection||1)*(f.labelMargin||0)],m)}function n(i,u,f,m,A,g){var v=p.innerTextLayout(f.rotation,0,f.labelDirection);f.labelMargin=A.get("label.margin"),o(u,m,A,g,{position:l(m.axis,i,f),align:v.textAlign,verticalAlign:v.textVerticalAlign})}function c(i,u,f){return f=f||0,{x1:i[f],y1:i[1-f],x2:u[f],y2:u[1-f]}}function e(i,u,f){return f=f||0,{x:i[f],y:i[1-f],width:u[f],height:u[1-f]}}function a(i,u,f,m,A,g){return{cx:i,cy:u,r0:f,r:m,startAngle:A,endAngle:g,clockwise:!0}}z.buildElStyle=h,z.buildLabelElOption=o,z.getValueLabel=s,z.getTransformedPosition=l,z.buildCartesianSingleLabelElOption=n,z.makeLineShape=c,z.makeRectShape=e,z.makeSectorShape=a},"/zsF":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("bE4E"),E=d.n(I)},"0/Rx":function(ue,z){function d(O){return{seriesType:O,reset:function(_,I){var E=I.findComponents({mainType:"legend"});if(!E||!E.length)return;var C=_.getData();C.filterSelf(function(t){for(var p=C.getName(t),h=0;h<E.length;h++)if(!E[h].isSelected(p))return!1;return!0})}}}ue.exports=d},"01d+":function(ue,z,d){var O=d("bYtY"),_=O.each,I=d("HF/U"),E=I.simpleLayout,C=I.simpleLayoutEdge;function t(p,h){p.eachSeriesByType("graph",function(o){var r=o.get("layout"),s=o.coordinateSystem;if(s&&s.type!=="view"){var l=o.getData(),n=[];_(s.dimensions,function(f){n=n.concat(l.mapDimension(f,!0))});for(var c=0;c<l.count();c++){for(var e=[],a=!1,i=0;i<n.length;i++){var u=l.get(n[i],c);isNaN(u)||(a=!0),e.push(u)}a?l.setItemLayout(c,s.dataToPoint(e)):l.setItemLayout(c,[NaN,NaN])}C(l.graph)}else(!r||r==="none")&&E(o)})}ue.exports=t},"06DH":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("Kagy"),E=d("IUWy"),C=I.toolbox.magicType,t="__ec_magicType_stack__";function p(l){this.model=l}p.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:_.clone(C.title),option:{},seriesIndex:{}};var h=p.prototype;h.getIcons=function(){var l=this.model,n=l.get("icon"),c={};return _.each(l.get("type"),function(e){n[e]&&(c[e]=n[e])}),c};var o={line:function(l,n,c,e){if(l==="bar")return _.merge({id:n,type:"line",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.line")||{},!0)},bar:function(l,n,c,e){if(l==="line")return _.merge({id:n,type:"bar",data:c.get("data"),stack:c.get("stack"),markPoint:c.get("markPoint"),markLine:c.get("markLine")},e.get("option.bar")||{},!0)},stack:function(l,n,c,e){var a=c.get("stack")===t;if(l==="line"||l==="bar")return e.setIconStatus("stack",a?"normal":"emphasis"),_.merge({id:n,stack:a?"":t},e.get("option.stack")||{},!0)}},r=[["line","bar"],["stack"]];h.onclick=function(l,n,c){var e=this.model,a=e.get("seriesIndex."+c);if(!o[c])return;var i={series:[]},u=function(A){var g=A.subType,v=A.id,b=o[c](g,v,A,e);b&&(_.defaults(b,A.option),i.series.push(b));var S=A.coordinateSystem;if(S&&S.type==="cartesian2d"&&(c==="line"||c==="bar")){var y=S.getAxesByScale("ordinal")[0];if(y){var w=y.dim,x=w+"Axis",T=l.queryComponents({mainType:x,index:A.get(name+"Index"),id:A.get(name+"Id")})[0],L=T.componentIndex;i[x]=i[x]||[];for(var R=0;R<=L;R++)i[x][L]=i[x][L]||{};i[x][L].boundaryGap=c==="bar"}}};_.each(r,function(A){_.indexOf(A,c)>=0&&_.each(A,function(g){e.setIconStatus(g,"normal")})}),e.setIconStatus(c,"emphasis"),l.eachComponent({mainType:"series",query:a==null?null:{seriesIndex:a}},u);var f;if(c==="stack"){var m=i.series&&i.series[0]&&i.series[0].stack===t;f=m?_.merge({stack:C.title.tiled},C.title):_.clone(C.title)}n.dispatchAction({type:"changeMagicType",currentType:c,newOption:i,newTitle:f,featureName:"magicType"})},O.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(l,n){n.mergeOption(l.newOption)}),E.register("magicType",p);var s=p;ue.exports=s},"06Qe":function(ue,z,d){var O=d("ItGF"),_="urn:schemas-microsoft-com:vml",I=typeof window=="undefined"?null:window,E=!1,C=I&&I.document;function t(o){return p(o)}var p;if(C&&!O.canvasSupported)try{!C.namespaces.zrvml&&C.namespaces.add("zrvml",_),p=function(r){return C.createElement("<zrvml:"+r+' class="zrvml">')}}catch(o){p=function(s){return C.createElement("<"+s+' xmlns="'+_+'" class="zrvml">')}}function h(){if(E||!C)return;E=!0;var o=C.styleSheets;o.length<31?C.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):o[0].addRule(".zrvml","behavior:url(#default#VML)")}z.doc=C,z.createNode=t,z.initVML=h},"09Wf":function(ue,z,d){"use strict";d.d(z,"b",function(){return _}),d.d(z,"a",function(){return I});var O=d("CWQg"),_=Object(O.a)("success","processing","error","default","warning"),I=Object(O.a)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},"0Bwj":function(ue,z,d){var O=d("T4UG"),_=d("I3/A"),I=d("7aKB"),E=I.encodeHTML,C=d("Qxkt"),t=d("Tghj"),p=t.__DEV__,h=O.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(r,s){for(var l=r.edges||r.links,n=r.data||r.nodes,c=r.levels,e=this.levelModels={},a=0;a<c.length;a++)c[a].depth!=null&&c[a].depth>=0&&(e[c[a].depth]=new C(c[a],this,s));if(n&&l){var i=_(n,l,this,!0,u);return i.data}function u(f,m){f.wrapMethod("getItemModel",function(A,g){return A.customizeGetParent(function(v){var b=this.parentModel,S=b.getData().getItemLayout(g).depth,y=b.levelModels[S];return y||this.parentModel}),A}),m.wrapMethod("getItemModel",function(A,g){return A.customizeGetParent(function(v){var b=this.parentModel,S=b.getGraph().getEdgeByIndex(g),y=S.node1.getLayout().depth,w=b.levelModels[y];return w||this.parentModel}),A})}},setNodePosition:function(r,s){var l=this.option.data[r];l.localX=s[0],l.localY=s[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(r,s,l){if(l==="edge"){var n=this.getDataParams(r,l),c=n.data,e=c.source+" -- "+c.target;return n.value&&(e+=" : "+n.value),E(e)}else if(l==="node"){var a=this.getGraph().getNodeByIndex(r),i=a.getLayout().value,u=this.getDataParams(r,l).data.name;if(i)var e=u+" : "+i;return E(e)}return h.superCall(this,"formatTooltip",r,s)},optionUpdated:function(){var r=this.option;r.focusNodeAdjacency===!0&&(r.focusNodeAdjacency="allEdges")},getDataParams:function(r,s){var l=h.superCall(this,"getDataParams",r,s);if(l.value==null&&s==="node"){var n=this.getGraph().getNodeByIndex(r),c=n.getLayout().value;l.value=c}return l},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}}),o=h;ue.exports=o},"0HBW":function(ue,z,d){var O=d("ProS"),_=d("bYtY");d("Hxpc"),d("7uqq"),d("dmGj"),d("SehX");function I(E,C){C.update="updateView",O.registerAction(C,function(t,p){var h={};return p.eachComponent({mainType:"geo",query:t},function(o){o[E](t.name);var r=o.coordinateSystem;_.each(r.regions,function(s){h[s.name]=o.isSelected(s.name)||!1})}),{selected:h,name:t.name}})}I("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),I("select",{type:"geoSelect",event:"geoselected"}),I("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(ue,z,d){var O=d("bYtY"),_=d("+TT/"),I=d("OELB"),E=d("IDmD"),C=864e5;function t(o,r,s){this._model=o}t.prototype={constructor:t,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(o){o=I.parseDate(o);var r=o.getFullYear(),s=o.getMonth()+1;s=s<10?"0"+s:s;var l=o.getDate();l=l<10?"0"+l:l;var n=o.getDay();return n=Math.abs((n+7-this.getFirstDayOfWeek())%7),{y:r,m:s,d:l,day:n,time:o.getTime(),formatedDate:r+"-"+s+"-"+l,date:o}},getNextNDay:function(o,r){return r=r||0,r===0?this.getDateInfo(o):(o=new Date(this.getDateInfo(o).time),o.setDate(o.getDate()+r),this.getDateInfo(o))},update:function(o,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 s=this._rangeInfo.weeks||1,l=["width","height"],n=this._model.get("cellSize").slice(),c=this._model.getBoxLayoutParams(),e=this._orient==="horizontal"?[s,7]:[7,s];O.each([0,1],function(f){u(n,f)&&(c[l[f]]=n[f]*e[f])});var a={width:r.getWidth(),height:r.getHeight()},i=this._rect=_.getLayoutRect(c,a);O.each([0,1],function(f){u(n,f)||(n[f]=i[l[f]]/e[f])});function u(f,m){return f[m]!=null&&f[m]!=="auto"}this._sw=n[0],this._sh=n[1]},dataToPoint:function(o,r){O.isArray(o)&&(o=o[0]),r==null&&(r=!0);var s=this.getDateInfo(o),l=this._rangeInfo,n=s.formatedDate;if(r&&!(s.time>=l.start.time&&s.time<l.end.time+C))return[NaN,NaN];var c=s.day,e=this._getRangeInfo([l.start.time,n]).nthWeek;return this._orient==="vertical"?[this._rect.x+c*this._sw+this._sw/2,this._rect.y+e*this._sh+this._sh/2]:[this._rect.x+e*this._sw+this._sw/2,this._rect.y+c*this._sh+this._sh/2]},pointToData:function(o){var r=this.pointToDate(o);return r&&r.time},dataToRect:function(o,r){var s=this.dataToPoint(o,r);return{contentShape:{x:s[0]-(this._sw-this._lineWidth)/2,y:s[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:s,tl:[s[0]-this._sw/2,s[1]-this._sh/2],tr:[s[0]+this._sw/2,s[1]-this._sh/2],br:[s[0]+this._sw/2,s[1]+this._sh/2],bl:[s[0]-this._sw/2,s[1]+this._sh/2]}},pointToDate:function(o){var r=Math.floor((o[0]-this._rect.x)/this._sw)+1,s=Math.floor((o[1]-this._rect.y)/this._sh)+1,l=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(s,r-1,l):this._getDateByWeeksAndDay(r,s-1,l)},convertToPixel:O.curry(p,"dataToPoint"),convertFromPixel:O.curry(p,"pointToData"),_initRangeOption:function(){var o=this._model.get("range"),r=o;if(O.isArray(r)&&r.length===1&&(r=r[0]),/^\d{4}$/.test(r)&&(o=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var s=this.getDateInfo(r),l=s.date;l.setMonth(l.getMonth()+1);var n=this.getNextNDay(l,-1);o=[s.formatedDate,n.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(o=[r,r]);var c=this._getRangeInfo(o);return c.start.time>c.end.time&&o.reverse(),o},_getRangeInfo:function(o){o=[this.getDateInfo(o[0]),this.getDateInfo(o[1])];var r;o[0].time>o[1].time&&(r=!0,o.reverse());var s=Math.floor(o[1].time/C)-Math.floor(o[0].time/C)+1,l=new Date(o[0].time),n=l.getDate(),c=o[1].date.getDate();l.setDate(n+s-1);var e=l.getDate();if(e!==c)for(var a=l.getTime()-o[1].time>0?1:-1;(e=l.getDate())!==c&&(l.getTime()-o[1].time)*a>0;)s-=a,l.setDate(e-a);var i=Math.floor((s+o[0].day+6)/7),u=r?-i+1:i-1;return r&&o.reverse(),{range:[o[0].formatedDate,o[1].formatedDate],start:o[0],end:o[1],allDay:s,weeks:i,nthWeek:u,fweek:o[0].day,lweek:o[1].day}},_getDateByWeeksAndDay:function(o,r,s){var l=this._getRangeInfo(s);if(o>l.weeks||o===0&&r<l.fweek||o===l.weeks&&r>l.lweek)return!1;var n=(o-1)*7-l.fweek+r,c=new Date(l.start.time);return c.setDate(l.start.d+n),this.getDateInfo(c)}},t.dimensions=t.prototype.dimensions,t.getDimensionsInfo=t.prototype.getDimensionsInfo,t.create=function(o,r){var s=[];return o.eachComponent("calendar",function(l){var n=new t(l,o,r);s.push(n),l.coordinateSystem=n}),o.eachSeries(function(l){l.get("coordinateSystem")==="calendar"&&(l.coordinateSystem=s[l.get("calendarIndex")||0])}),s};function p(o,r,s,l){var n=s.calendarModel,c=s.seriesModel,e=n?n.coordinateSystem:c?c.coordinateSystem:null;return e===this?e[o](l):null}E.register("calendar",t);var h=t;ue.exports=h},"0JQy":function(ue,z){var d="\\ud800-\\udfff",O="\\u0300-\\u036f",_="\\ufe20-\\ufe2f",I="\\u20d0-\\u20ff",E=O+_+I,C="\\ufe0e\\ufe0f",t="["+d+"]",p="["+E+"]",h="\\ud83c[\\udffb-\\udfff]",o="(?:"+p+"|"+h+")",r="[^"+d+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",c=o+"?",e="["+C+"]?",a="(?:"+n+"(?:"+[r,s,l].join("|")+")"+e+c+")*",i=e+c+a,u="(?:"+[r+p+"?",p,s,l,t].join("|")+")",f=RegExp(h+"(?="+h+")|"+u+i,"g");function m(A){return A.match(f)||[]}ue.exports=m},"0NbB":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CaretDownOutlined";var p=z.a=_.forwardRef(t)},"0V0F":function(ue,z,d){var O=d("bYtY"),_=O.createHashMap,I=O.each;function E(t){var p=_();t.eachSeries(function(h){var o=h.get("stack");if(o){var r=p.get(o)||p.set(o,[]),s=h.getData(),l={stackResultDimension:s.getCalculationInfo("stackResultDimension"),stackedOverDimension:s.getCalculationInfo("stackedOverDimension"),stackedDimension:s.getCalculationInfo("stackedDimension"),stackedByDimension:s.getCalculationInfo("stackedByDimension"),isStackedByIndex:s.getCalculationInfo("isStackedByIndex"),data:s,seriesModel:h};if(!l.stackedDimension||!(l.isStackedByIndex||l.stackedByDimension))return;r.length&&s.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(l)}}),p.each(C)}function C(t){I(t,function(p,h){var o=[],r=[NaN,NaN],s=[p.stackResultDimension,p.stackedOverDimension],l=p.data,n=p.isStackedByIndex,c=l.map(s,function(e,a,i){var u=l.get(p.stackedDimension,i);if(isNaN(u))return r;var f,m;n?m=l.getRawIndex(i):f=l.get(p.stackedByDimension,i);for(var A=NaN,g=h-1;g>=0;g--){var v=t[g];if(n||(m=v.data.rawIndexOf(v.stackedByDimension,f)),m>=0){var b=v.data.getByRawIndex(v.stackResultDimension,m);if(u>=0&&b>0||u<=0&&b<0){u+=b,A=b;break}}}return o[0]=u,o[1]=A,o});l.hostModel.setData(c),p.data=c})}ue.exports=E},"0XgM":function(ue,z,d){},"0fbx":function(ue,z,d){},"0o9m":function(ue,z,d){var O=d("ProS");d("hNWo"),d("RlCK"),d("XpcN");var _=d("kDyi"),I=d("bLfw");O.registerProcessor(O.PRIORITY.PROCESSOR.SERIES_FILTER,_),I.registerSubTypeDefaulter("legend",function(){return"plain"})},"0qV/":function(ue,z,d){var O=d("ProS");O.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},function(){}),O.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},function(){})},"0r65":function(ue,z){var d=arguments[3],O=arguments[4],_=arguments[5],I=JSON.stringify;ue.exports=function(E,C){for(var t,p=Object.keys(_),h=0,o=p.length;h<o;h++){var r=p[h],s=_[r].exports;if(s===E||s&&s.default===E){t=r;break}}if(!t){t=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var l={},h=0,o=p.length;h<o;h++){var r=p[h];l[r]=r}O[t]=["function(require,module,exports){"+E+"(self); }",l]}var n=Math.floor(Math.pow(16,8)*Math.random()).toString(16),c={};c[t]=t,O[n]=["function(require,module,exports){var f = require("+I(t)+");(f.default ? f.default : f)(self);}",c];var e={};a(n);function a(g){e[g]=!0;for(var v in O[g][1]){var b=O[g][1][v];e[b]||a(b)}}var i="("+d+")({"+Object.keys(e).map(function(g){return I(g)+":["+O[g][0]+","+I(O[g][1])+"]"}).join(",")+"},{},["+I(n)+"])",u=window.URL||window.webkitURL||window.mozURL||window.msURL,f=new Blob([i],{type:"text/javascript"});if(C&&C.bare)return f;var m=u.createObjectURL(f),A=new Worker(m);return A.objectURL=m,A}},"0s+r":function(ue,z,d){var O=d("bYtY"),_=d("QBsz"),I=d("y23F"),E=d("H6uX"),C=d("YH21"),t=d("C0SR"),p="silent";function h(a,i,u){return{type:a,event:u,target:i.target,topTarget:i.topTarget,cancelBubble:!1,offsetX:u.zrX,offsetY:u.zrY,gestureEvent:u.gestureEvent,pinchX:u.pinchX,pinchY:u.pinchY,pinchScale:u.pinchScale,wheelDelta:u.zrDelta,zrByTouch:u.zrByTouch,which:u.which,stop:o}}function o(){C.stop(this.event)}function r(){}r.prototype.dispose=function(){};var s=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],l=function(i,u,f,m){E.call(this),this.storage=i,this.painter=u,this.painterRoot=m,f=f||new r,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,I.call(this),this.setHandlerProxy(f)};l.prototype={constructor:l,setHandlerProxy:function(i){this.proxy&&this.proxy.dispose(),i&&(O.each(s,function(u){i.on&&i.on(u,this[u],this)},this),i.handler=this),this.proxy=i},mousemove:function(i){var u=i.zrX,f=i.zrY,m=c(this,u,f),A=this._hovered,g=A.target;g&&!g.__zr&&(A=this.findHover(A.x,A.y),g=A.target);var v=this._hovered=m?{x:u,y:f}:this.findHover(u,f),b=v.target,S=this.proxy;S.setCursor&&S.setCursor(b?b.cursor:"default"),g&&b!==g&&this.dispatchToElement(A,"mouseout",i),this.dispatchToElement(v,"mousemove",i),b&&b!==g&&this.dispatchToElement(v,"mouseover",i)},mouseout:function(i){var u=i.zrEventControl,f=i.zrIsToLocalDOM;u!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",i),u!=="no_globalout"&&(!f&&this.trigger("globalout",{type:"globalout",event:i}))},resize:function(i){this._hovered={}},dispatch:function(i,u){var f=this[i];f&&f.call(this,u)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(i){var u=this.proxy;u.setCursor&&u.setCursor(i)},dispatchToElement:function(i,u,f){i=i||{};var m=i.target;if(m&&m.silent)return;for(var A="on"+u,g=h(u,i,f);m&&!(m[A]&&(g.cancelBubble=m[A].call(m,g)),m.trigger(u,g),m=m.parent,g.cancelBubble););g.cancelBubble||(this.trigger(u,g),this.painter&&this.painter.eachOtherLayer(function(v){typeof v[A]=="function"&&v[A].call(v,g),v.trigger&&v.trigger(u,g)}))},findHover:function(i,u,f){for(var m=this.storage.getDisplayList(),A={x:i,y:u},g=m.length-1;g>=0;g--){var v;if(m[g]!==f&&!m[g].ignore&&(v=n(m[g],i,u))&&(!A.topTarget&&(A.topTarget=m[g]),v!==p)){A.target=m[g];break}}return A},processGesture:function(i,u){this._gestureMgr||(this._gestureMgr=new t);var f=this._gestureMgr;u==="start"&&f.clear();var m=f.recognize(i,this.findHover(i.zrX,i.zrY,null).target,this.proxy.dom);if(u==="end"&&f.clear(),m){var A=m.type;i.gestureEvent=A,this.dispatchToElement({target:m.target},A,m.event)}}},O.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(a){l.prototype[a]=function(i){var u=i.zrX,f=i.zrY,m=c(this,u,f),A,g;if((a!=="mouseup"||!m)&&(A=this.findHover(u,f),g=A.target),a==="mousedown")this._downEl=g,this._downPoint=[i.zrX,i.zrY],this._upEl=g;else if(a==="mouseup")this._upEl=g;else if(a==="click"){if(this._downEl!==this._upEl||!this._downPoint||_.dist(this._downPoint,[i.zrX,i.zrY])>4)return;this._downPoint=null}this.dispatchToElement(A,a,i)}});function n(a,i,u){if(a[a.rectHover?"rectContain":"contain"](i,u)){for(var f=a,m;f;){if(f.clipPath&&!f.clipPath.contain(i,u))return!1;f.silent&&(m=!0),f=f.parent}return m?p:!0}return!1}function c(a,i,u){var f=a.painter;return i<0||i>f.getWidth()||u<0||u>f.getHeight()}O.mixin(l,E),O.mixin(l,I);var e=l;ue.exports=e},"10cm":function(ue,z,d){var O=d("ProS"),_=d("2B6p"),I=_.updateCenterAndZoom;d("0qV/");var E={type:"graphRoam",event:"graphRoam",update:"none"};O.registerAction(E,function(C,t){t.eachComponent({mainType:"series",query:C},function(p){var h=p.coordinateSystem,o=I(h,C);p.setCenter&&p.setCenter(o.center),p.setZoom&&p.setZoom(o.zoom)})})},"14J3":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("1GLa")},"15/o":function(ue,z,d){},"19Vz":function(ue,z,d){(function(O){O(d("VrN/"))})(function(O){O.defineOption("placeholder","",function(h,o,r){var s=r&&r!=O.Init;if(o&&!s)h.on("blur",C),h.on("change",t),h.on("swapDoc",t),O.on(h.getInputField(),"compositionupdate",h.state.placeholderCompose=function(){E(h)}),t(h);else if(!o&&s){h.off("blur",C),h.off("change",t),h.off("swapDoc",t),O.off(h.getInputField(),"compositionupdate",h.state.placeholderCompose),_(h);var l=h.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!h.hasFocus()&&C(h)});function _(h){h.state.placeholder&&(h.state.placeholder.parentNode.removeChild(h.state.placeholder),h.state.placeholder=null)}function I(h){_(h);var o=h.state.placeholder=document.createElement("pre");o.style.cssText="height: 0; overflow: visible",o.style.direction=h.getOption("direction"),o.className="CodeMirror-placeholder CodeMirror-line-like";var r=h.getOption("placeholder");typeof r=="string"&&(r=document.createTextNode(r)),o.appendChild(r),h.display.lineSpace.insertBefore(o,h.display.lineSpace.firstChild)}function E(h){setTimeout(function(){var o=!1,r=h.getInputField();r.nodeName=="TEXTAREA"?o=!r.value:h.lineCount()==1&&(o=!/[^\u200b]/.test(r.querySelector(".CodeMirror-line").textContent)),o?I(h):_(h)},20)}function C(h){p(h)&&I(h)}function t(h){var o=h.getWrapperElement(),r=p(h);o.className=o.className.replace(" CodeMirror-empty","")+(r?" CodeMirror-empty":""),r?I(h):_(h)}function p(h){return h.lineCount()===1&&h.getLine(0)===""}})},"1GLa":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("FIfw"),E=d.n(I)},"1Jh7":function(ue,z,d){var O=d("y+Vt"),_=d("T6xi"),I=O.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(C,t){_.buildPath(C,t,!1)}});ue.exports=I},"1LEl":function(ue,z,d){var O=d("ProS"),_=d("F9bG"),I=O.extendComponentView({type:"axisPointer",render:function(C,t,p){var h=t.getComponent("tooltip"),o=C.get("triggerOn")||h&&h.get("triggerOn")||"mousemove|click";_.register("axisPointer",p,function(r,s,l){o!=="none"&&(r==="leave"||o.indexOf(r)>=0)&&l({type:"updateAxisPointer",currTrigger:r,x:s&&s.offsetX,y:s&&s.offsetY})})},remove:function(C,t){_.unregister(t.getZr(),"axisPointer"),I.superApply(this._model,"remove",arguments)},dispose:function(C,t){_.unregister("axisPointer",t),I.superApply(this._model,"dispose",arguments)}}),E=I;ue.exports=E},"1MYJ":function(ue,z,d){var O=d("y+Vt"),_=O.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var E=this.__dirtyPath,C=this.shape.paths,t=0;t<C.length;t++)E=E||C[t].__dirtyPath;this.__dirtyPath=E,this.__dirty=this.__dirty||E},beforeBrush:function(){this._updatePathDirty();for(var E=this.shape.paths||[],C=this.getGlobalScale(),t=0;t<E.length;t++)E[t].path||E[t].createPathProxy(),E[t].path.setScale(C[0],C[1],E[t].segmentIgnoreThreshold)},buildPath:function(E,C){for(var t=C.paths||[],p=0;p<t.length;p++)t[p].buildPath(E,t[p].shape,!0)},afterBrush:function(){for(var E=this.shape.paths||[],C=0;C<E.length;C++)E[C].__dirtyPath=!1},getBoundingRect:function(){return this._updatePathDirty(),O.prototype.getBoundingRect.call(this)}});ue.exports=_},"1NG9":function(ue,z,d){var O=d("y+Vt"),_=d("QBsz"),I=d("iXp4"),E=_.min,C=_.max,t=_.scaleAndAdd,p=_.copy,h=[],o=[],r=[];function s(u){return isNaN(u[0])||isNaN(u[1])}function l(u,f,m,A,g,v,b,S,y,w,x){return w==="none"||!w?c.apply(this,arguments):n.apply(this,arguments)}function n(u,f,m,A,g,v,b,S,y,w,x){for(var T=0,L=m,R=0;R<A;R++){var P=f[L];if(L>=g||L<0)break;if(s(P)){if(x){L+=v;continue}break}if(L===m)u[v>0?"moveTo":"lineTo"](P[0],P[1]);else if(y>0){var k=f[T],U=w==="y"?1:0,D=(P[U]-k[U])*y;p(o,k),o[U]=k[U]+D,p(r,P),r[U]=P[U]-D,u.bezierCurveTo(o[0],o[1],r[0],r[1],P[0],P[1])}else u.lineTo(P[0],P[1]);T=L,L+=v}return R}function c(u,f,m,A,g,v,b,S,y,w,x){for(var T=0,L=m,R=0;R<A;R++){var P=f[L];if(L>=g||L<0)break;if(s(P)){if(x){L+=v;continue}break}if(L===m)u[v>0?"moveTo":"lineTo"](P[0],P[1]),p(o,P);else if(y>0){var k=L+v,U=f[k];if(x)for(;U&&s(f[k]);)k+=v,U=f[k];var D=.5,M=f[T],U=f[k];if(!U||s(U))p(r,P);else{s(U)&&!x&&(U=P),_.sub(h,U,M);var B,j;if(w==="x"||w==="y"){var H=w==="x"?0:1;B=Math.abs(P[H]-M[H]),j=Math.abs(P[H]-U[H])}else B=_.dist(P,M),j=_.dist(P,U);D=j/(j+B),t(r,P,h,-y*(1-D))}E(o,o,S),C(o,o,b),E(r,r,S),C(r,r,b),u.bezierCurveTo(o[0],o[1],r[0],r[1],P[0],P[1]),t(o,P,h,y*D)}else u.lineTo(P[0],P[1]);T=L,L+=v}return R}function e(u,f){var m=[Infinity,Infinity],A=[-Infinity,-Infinity];if(f)for(var g=0;g<u.length;g++){var v=u[g];v[0]<m[0]&&(m[0]=v[0]),v[1]<m[1]&&(m[1]=v[1]),v[0]>A[0]&&(A[0]=v[0]),v[1]>A[1]&&(A[1]=v[1])}return{min:f?m:A,max:f?A:m}}var a=O.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:I(O.prototype.brush),buildPath:function(u,f){var m=f.points,A=0,g=m.length,v=e(m,f.smoothConstraint);if(f.connectNulls){for(;g>0&&s(m[g-1]);g--);for(;A<g&&s(m[A]);A++);}for(;A<g;)A+=l(u,m,A,g,g,1,v.min,v.max,f.smooth,f.smoothMonotone,f.connectNulls)+1}}),i=O.extend({type:"ec-polygon",shape:{points:[],stackedOnPoints:[],smooth:0,stackedOnSmooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},brush:I(O.prototype.brush),buildPath:function(u,f){var m=f.points,A=f.stackedOnPoints,g=0,v=m.length,b=f.smoothMonotone,S=e(m,f.smoothConstraint),y=e(A,f.smoothConstraint);if(f.connectNulls){for(;v>0&&s(m[v-1]);v--);for(;g<v&&s(m[g]);g++);}for(;g<v;){var w=l(u,m,g,v,v,1,S.min,S.max,f.smooth,b,f.connectNulls);l(u,A,g+w-1,w,v,-1,y.min,y.max,f.stackedOnSmooth,b,f.connectNulls),g+=w+1,u.closePath()}}});z.Polyline=a,z.Polygon=i},"1RvN":function(ue,z){var d=function(){this.head=null,this.tail=null,this._len=0},O=d.prototype;O.insert=function(t){var p=new _(t);return this.insertEntry(p),p},O.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},O.remove=function(t){var p=t.prev,h=t.next;p?p.next=h:this.head=h,h?h.prev=p:this.tail=p,t.next=t.prev=null,this._len--},O.len=function(){return this._len},O.clear=function(){this.head=this.tail=null,this._len=0};var _=function(p){this.value=p,this.next,this.prev},I=function(p){this._list=new d,this._map={},this._maxSize=p||10,this._lastRemovedEntry=null},E=I.prototype;E.put=function(t,p){var h=this._list,o=this._map,r=null;if(o[t]==null){var s=h.len(),l=this._lastRemovedEntry;if(s>=this._maxSize&&s>0){var n=h.head;h.remove(n),delete o[n.key],r=n.value,this._lastRemovedEntry=n}l?l.value=p:l=new _(p),l.key=t,h.insertEntry(l),o[t]=l}return r},E.get=function(t){var p=this._map[t],h=this._list;if(p!=null)return p!==h.tail&&(h.remove(p),h.insertEntry(p)),p.value},E.clear=function(){this._list.clear(),this._map={}};var C=I;ue.exports=C},"1YHl":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("15/o"),E=d.n(I)},"1bdT":function(ue,z,d){var O=d("3gBT"),_=d("H6uX"),I=d("DN4a"),E=d("vWvF"),C=d("bYtY"),t=function(o){I.call(this,o),_.call(this,o),E.call(this,o),this.id=o.id||O()};t.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(o,r){switch(this.draggable){case"horizontal":r=0;break;case"vertical":o=0;break}var s=this.transform;s||(s=this.transform=[1,0,0,1,0,0]),s[4]+=o,s[5]+=r,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(o,r){},attrKV:function(o,r){if(o==="position"||o==="scale"||o==="origin"){if(r){var s=this[o];s||(s=this[o]=[]),s[0]=r[0],s[1]=r[1]}}else this[o]=r},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(o,r){if(typeof o=="string")this.attrKV(o,r);else if(C.isObject(o))for(var s in o)o.hasOwnProperty(s)&&this.attrKV(s,o[s]);return this.dirty(!1),this},setClipPath:function(o){var r=this.__zr;r&&o.addSelfToZr(r),this.clipPath&&this.clipPath!==o&&this.removeClipPath(),this.clipPath=o,o.__zr=r,o.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var o=this.clipPath;o&&(o.__zr&&o.removeSelfFromZr(o.__zr),o.__zr=null,o.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(o){this.__zr=o;var r=this.animators;if(r)for(var s=0;s<r.length;s++)o.animation.addAnimator(r[s]);this.clipPath&&this.clipPath.addSelfToZr(o)},removeSelfFromZr:function(o){this.__zr=null;var r=this.animators;if(r)for(var s=0;s<r.length;s++)o.animation.removeAnimator(r[s]);this.clipPath&&this.clipPath.removeSelfFromZr(o)}},C.mixin(t,E),C.mixin(t,I),C.mixin(t,_);var p=t;ue.exports=p},"1dTM":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=d("GQ8N"),_=w(d("Lo0S")),I=d("VSMT"),E=d("GdRQ"),C=d("SZEN"),t=d("vewr"),p=S(d("YJ9k")),h=S(d("MZdM")),o=S(d("ItS6")),r=S(d("whVF")),s=S(d("Fv0C")),l=S(d("LCi9")),n=S(d("rwxt")),c=S(d("Mmt2")),e=S(d("iUHT")),a=S(d("mHUz")),i=S(d("P2ho")),u=d("NBmB");d("mdZa");var f=S(d("34/K")),m=S(d("hXwI")),A=S(d("SgaC")),g=S(d("3690")),v=S(d("8K/p")),b=S(d("xO64"));function S(nt){return nt&&nt.__esModule?nt:{default:nt}}function y(){if(typeof WeakMap!="function")return null;var nt=new WeakMap;return y=function(){return nt},nt}function w(nt){if(nt&&nt.__esModule)return nt;if(nt===null||x(nt)!=="object"&&typeof nt!="function")return{default:nt};var je=y();if(je&&je.has(nt))return je.get(nt);var et={},He=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var pe in nt)if(Object.prototype.hasOwnProperty.call(nt,pe)){var ae=He?Object.getOwnPropertyDescriptor(nt,pe):null;ae&&(ae.get||ae.set)?Object.defineProperty(et,pe,ae):et[pe]=nt[pe]}return et.default=nt,je&&je.set(nt,et),et}function x(nt){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(et){return typeof et}:x=function(et){return et&&typeof Symbol=="function"&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},x(nt)}function T(nt,je){if(!(nt instanceof je))throw new TypeError("Cannot call a class as a function")}function L(nt,je){for(var et=0;et<je.length;et++){var He=je[et];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(nt,He.key,He)}}function R(nt,je,et){return je&&L(nt.prototype,je),et&&L(nt,et),nt}function P(nt,je){if(typeof je!="function"&&je!==null)throw new TypeError("Super expression must either be null or a function");nt.prototype=Object.create(je&&je.prototype,{constructor:{value:nt,writable:!0,configurable:!0}}),je&&k(nt,je)}function k(nt,je){return k=Object.setPrototypeOf||function(He,pe){return He.__proto__=pe,He},k(nt,je)}function U(nt){var je=B();return function(){var He=j(nt),pe;if(je){var ae=j(this).constructor;pe=Reflect.construct(He,arguments,ae)}else pe=He.apply(this,arguments);return D(this,pe)}}function D(nt,je){return je&&(x(je)==="object"||typeof je=="function")?je:M(nt)}function M(nt){if(nt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nt}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(nt){return!1}}function j(nt){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(et){return et.__proto__||Object.getPrototypeOf(et)},j(nt)}var H=3,K="rgb(40, 40, 40)",W=17,X=50,V=19,Z=75,G=50,Y=1e3,te=50,se=1,Ce=1<<1,he=1<<2,xe=1<<3,ie=1<<4,ee=1<<24,Ze=1<<25,Se=1<<26,Ne=1<<27,it=1<<28,Ye=function(nt){P(et,nt);var je=U(et);function et(He,pe,ae){var re;if(T(this,et),!He)throw new Error("Must specify target");if(!pe)throw new Error("Must specify URL");re=je.call(this),re._target=He,re._url=pe,ae=ae||{},re._rfbCredentials=ae.credentials||{},re._shared="shared"in ae?!!ae.shared:!0,re._repeaterID=ae.repeaterID||"",re._wsProtocols=ae.wsProtocols||[],re._rfbConnectionState="",re._rfbInitState="",re._rfbAuthScheme=-1,re._rfbCleanDisconnect=!0,re._rfbVersion=0,re._rfbMaxVersion=3.8,re._rfbTightVNC=!1,re._rfbVeNCryptState=0,re._rfbXvpVer=0,re._fbWidth=0,re._fbHeight=0,re._fbName="",re._capabilities={power:!1},re._supportsFence=!1,re._supportsContinuousUpdates=!1,re._enabledContinuousUpdates=!1,re._supportsSetDesktopSize=!1,re._screenID=0,re._screenFlags=0,re._qemuExtKeyEventSupported=!1,re._clipboardText=null,re._clipboardServerCapabilitiesActions={},re._clipboardServerCapabilitiesFormats={},re._sock=null,re._display=null,re._flushing=!1,re._keyboard=null,re._gestures=null,re._disconnTimer=null,re._resizeTimeout=null,re._mouseMoveTimer=null,re._decoders={},re._FBU={rects:0,x:0,y:0,width:0,height:0,encoding:null},re._mousePos={},re._mouseButtonMask=0,re._mouseLastMoveTime=0,re._viewportDragging=!1,re._viewportDragPos={},re._viewportHasMoved=!1,re._accumulatedWheelDeltaX=0,re._accumulatedWheelDeltaY=0,re._gestureLastTapTime=null,re._gestureFirstDoubleTapEv=null,re._gestureLastMagnitudeX=0,re._gestureLastMagnitudeY=0,re._eventHandlers={focusCanvas:re._focusCanvas.bind(M(re)),windowResize:re._windowResize.bind(M(re)),handleMouse:re._handleMouse.bind(M(re)),handleWheel:re._handleWheel.bind(M(re)),handleGesture:re._handleGesture.bind(M(re))},_.Debug(">> RFB.constructor"),re._screen=document.createElement("div"),re._screen.style.display="flex",re._screen.style.width="100%",re._screen.style.height="100%",re._screen.style.overflow="auto",re._screen.style.background=K,re._canvas=document.createElement("canvas"),re._canvas.style.margin="auto",re._canvas.style.outline="none",re._canvas.style.flexShrink="0",re._canvas.width=0,re._canvas.height=0,re._canvas.tabIndex=-1,re._screen.appendChild(re._canvas),re._cursor=new n.default,re._cursorImage=et.cursors.none,re._decoders[u.encodings.encodingRaw]=new f.default,re._decoders[u.encodings.encodingCopyRect]=new m.default,re._decoders[u.encodings.encodingRRE]=new A.default,re._decoders[u.encodings.encodingHextile]=new g.default,re._decoders[u.encodings.encodingTight]=new v.default,re._decoders[u.encodings.encodingTightPNG]=new b.default;try{re._display=new h.default(re._canvas)}catch(be){throw _.Error("Display exception: "+be),be}return re._display.onflush=re._onFlush.bind(M(re)),re._keyboard=new s.default(re._canvas),re._keyboard.onkeyevent=re._handleKeyEvent.bind(M(re)),re._gestures=new l.default,re._sock=new c.default,re._sock.on("message",function(){re._handleMessage()}),re._sock.on("open",function(){re._rfbConnectionState==="connecting"&&re._rfbInitState===""?(re._rfbInitState="ProtocolVersion",_.Debug("Starting VNC handshake")):re._fail("Unexpected server connection while "+re._rfbConnectionState)}),re._sock.on("close",function(be){_.Debug("WebSocket on-close event");var ze="";be.code&&(ze="(code: "+be.code,be.reason&&(ze+=", reason: "+be.reason),ze+=")");switch(re._rfbConnectionState){case"connecting":re._fail("Connection closed "+ze);break;case"connected":re._updateConnectionState("disconnecting"),re._updateConnectionState("disconnected");break;case"disconnecting":re._updateConnectionState("disconnected");break;case"disconnected":re._fail("Unexpected server disconnect when already disconnected "+ze);break;default:re._fail("Unexpected server disconnect before connecting "+ze);break}re._sock.off("close")}),re._sock.on("error",function(be){return _.Warn("WebSocket on-error event")}),setTimeout(re._updateConnectionState.bind(M(re),"connecting")),_.Debug("<< RFB.constructor"),re.dragViewport=!1,re.focusOnClick=!0,re._viewOnly=!1,re._clipViewport=!1,re._scaleViewport=!1,re._resizeSession=!1,re._showDotCursor=!1,ae.showDotCursor!==void 0&&(_.Warn("Specifying showDotCursor as a RFB constructor argument is deprecated"),re._showDotCursor=ae.showDotCursor),re._qualityLevel=6,re._compressionLevel=2,re}return R(et,[{key:"disconnect",value:function(){this._updateConnectionState("disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")}},{key:"sendCredentials",value:function(pe){this._rfbCredentials=pe,setTimeout(this._initMsg.bind(this),0)}},{key:"sendCtrlAltDel",value:function(){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;_.Info("Sending Ctrl-Alt-Del"),this.sendKey(a.default.XK_Control_L,"ControlLeft",!0),this.sendKey(a.default.XK_Alt_L,"AltLeft",!0),this.sendKey(a.default.XK_Delete,"Delete",!0),this.sendKey(a.default.XK_Delete,"Delete",!1),this.sendKey(a.default.XK_Alt_L,"AltLeft",!1),this.sendKey(a.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(pe,ae,re){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(re===void 0){this.sendKey(pe,ae,!0),this.sendKey(pe,ae,!1);return}var be=i.default[ae];if(this._qemuExtKeyEventSupported&&be)pe=pe||0,_.Info("Sending key ("+(re?"down":"up")+"): keysym "+pe+", scancode "+be),et.messages.QEMUExtendedKeyEvent(this._sock,pe,re,be);else{if(!pe)return;_.Info("Sending keysym ("+(re?"down":"up")+"): "+pe),et.messages.keyEvent(this._sock,pe,re?1:0)}}},{key:"focus",value:function(){this._canvas.focus()}},{key:"blur",value:function(){this._canvas.blur()}},{key:"clipboardPasteFrom",value:function(pe){if(this._rfbConnectionState!=="connected"||this._viewOnly)return;if(this._clipboardServerCapabilitiesFormats[se]&&this._clipboardServerCapabilitiesActions[Ne])this._clipboardText=pe,et.messages.extendedClipboardNotify(this._sock,[se]);else{for(var ae=new Uint8Array(pe.length),re=0;re<pe.length;re++)ae[re]=pe.charCodeAt(re);et.messages.clientCutText(this._sock,ae)}}},{key:"_connect",value:function(){_.Debug(">> RFB.connect"),_.Info("connecting to "+this._url);try{this._sock.open(this._url,this._wsProtocols)}catch(pe){pe.name==="SyntaxError"?this._fail("Invalid host or port ("+pe+")"):this._fail("Error when opening socket ("+pe+")")}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),_.Debug("<< RFB.connect")}},{key:"_disconnect",value:function(){_.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(pe){if(!(pe.name==="NotFoundError"))throw pe}clearTimeout(this._resizeTimeout),clearTimeout(this._mouseMoveTimer),_.Debug("<< RFB.disconnect")}},{key:"_focusCanvas",value:function(pe){if(!this.focusOnClick)return;this.focus()}},{key:"_setDesktopName",value:function(pe){this._fbName=pe,this.dispatchEvent(new CustomEvent("desktopname",{detail:{name:this._fbName}}))}},{key:"_windowResize",value:function(pe){var ae=this;window.requestAnimationFrame(function(){ae._updateClip(),ae._updateScale()}),this._resizeSession&&(clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout(this._requestRemoteResize.bind(this),500))}},{key:"_updateClip",value:function(){var pe=this._display.clipViewport,ae=this._clipViewport;if(this._scaleViewport&&(ae=!1),pe!==ae&&(this._display.clipViewport=ae),ae){var re=this._screenSize();this._display.viewportChangeSize(re.w,re.h),this._fixScrollbars()}}},{key:"_updateScale",value:function(){if(!this._scaleViewport)this._display.scale=1;else{var pe=this._screenSize();this._display.autoscale(pe.w,pe.h)}this._fixScrollbars()}},{key:"_requestRemoteResize",value:function(){if(clearTimeout(this._resizeTimeout),this._resizeTimeout=null,!this._resizeSession||this._viewOnly||!this._supportsSetDesktopSize)return;var pe=this._screenSize();et.messages.setDesktopSize(this._sock,Math.floor(pe.w),Math.floor(pe.h),this._screenID,this._screenFlags),_.Debug("Requested new desktop size: "+pe.w+"x"+pe.h)}},{key:"_screenSize",value:function(){var pe=this._screen.getBoundingClientRect();return{w:pe.width,h:pe.height}}},{key:"_fixScrollbars",value:function(){var pe=this._screen.style.overflow;this._screen.style.overflow="hidden",this._screen.getBoundingClientRect(),this._screen.style.overflow=pe}},{key:"_updateConnectionState",value:function(pe){var ae=this,re=this._rfbConnectionState;if(pe===re){_.Debug("Already in state '"+pe+"', ignoring");return}if(re==="disconnected"){_.Error("Tried changing state of a disconnected RFB object");return}switch(pe){case"connected":if(re!=="connecting"){_.Error("Bad transition to connected state, previous connection state: "+re);return}break;case"disconnected":if(re!=="disconnecting"){_.Error("Bad transition to disconnected state, previous connection state: "+re);return}break;case"connecting":if(re!==""){_.Error("Bad transition to connecting state, previous connection state: "+re);return}break;case"disconnecting":if(re!=="connected"&&re!=="connecting"){_.Error("Bad transition to disconnecting state, previous connection state: "+re);return}break;default:_.Error("Unknown connection state: "+pe);return}this._rfbConnectionState=pe,_.Debug("New state '"+pe+"', was '"+re+"'."),this._disconnTimer&&pe!=="disconnecting"&&(_.Debug("Clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close"));switch(pe){case"connecting":this._connect();break;case"connected":this.dispatchEvent(new CustomEvent("connect",{detail:{}}));break;case"disconnecting":this._disconnect(),this._disconnTimer=setTimeout(function(){_.Error("Disconnection timed out."),ae._updateConnectionState("disconnected")},H*1e3);break;case"disconnected":this.dispatchEvent(new CustomEvent("disconnect",{detail:{clean:this._rfbCleanDisconnect}}));break}}},{key:"_fail",value:function(pe){switch(this._rfbConnectionState){case"disconnecting":_.Error("Failed when disconnecting: "+pe);break;case"connected":_.Error("Failed while connected: "+pe);break;case"connecting":_.Error("Failed when connecting: "+pe);break;default:_.Error("RFB failure: "+pe);break}return this._rfbCleanDisconnect=!1,this._updateConnectionState("disconnecting"),this._updateConnectionState("disconnected"),!1}},{key:"_setCapability",value:function(pe,ae){this._capabilities[pe]=ae,this.dispatchEvent(new CustomEvent("capabilities",{detail:{capabilities:this._capabilities}}))}},{key:"_handleMessage",value:function(){if(this._sock.rQlen===0){_.Warn("handleMessage called on an empty receive queue");return}switch(this._rfbConnectionState){case"disconnected":_.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(pe,ae,re){this.sendKey(pe,ae,re)}},{key:"_handleMouse",value:function(pe){if(pe.type==="click"&&pe.target!==this._canvas)return;if(pe.stopPropagation(),pe.preventDefault(),pe.type==="click"||pe.type==="contextmenu")return;var ae=(0,C.clientToElement)(pe.clientX,pe.clientY,this._canvas);switch(pe.type){case"mousedown":(0,t.setCapture)(this._canvas),this._handleMouseButton(ae.x,ae.y,!0,1<<pe.button);break;case"mouseup":this._handleMouseButton(ae.x,ae.y,!1,1<<pe.button);break;case"mousemove":this._handleMouseMove(ae.x,ae.y);break}}},{key:"_handleMouseButton",value:function(pe,ae,re,be){if(this.dragViewport)if(re&&!this._viewportDragging){this._viewportDragging=!0,this._viewportDragPos={x:pe,y:ae},this._viewportHasMoved=!1;return}else{if(this._viewportDragging=!1,this._viewportHasMoved)return;this._sendMouse(pe,ae,be)}this._mouseMoveTimer!==null&&(clearTimeout(this._mouseMoveTimer),this._mouseMoveTimer=null,this._sendMouse(pe,ae,this._mouseButtonMask)),re?this._mouseButtonMask|=be:this._mouseButtonMask&=~be,this._sendMouse(pe,ae,this._mouseButtonMask)}},{key:"_handleMouseMove",value:function(pe,ae){var re=this;if(this._viewportDragging){var be=this._viewportDragPos.x-pe,ze=this._viewportDragPos.y-ae;(this._viewportHasMoved||Math.abs(be)>E.dragThreshold||Math.abs(ze)>E.dragThreshold)&&(this._viewportHasMoved=!0,this._viewportDragPos={x:pe,y:ae},this._display.viewportChangePos(be,ze));return}if(this._mousePos={x:pe,y:ae},this._mouseMoveTimer==null){var Ke=Date.now()-this._mouseLastMoveTime;Ke>W?(this._sendMouse(pe,ae,this._mouseButtonMask),this._mouseLastMoveTime=Date.now()):this._mouseMoveTimer=setTimeout(function(){re._handleDelayedMouseMove()},W-Ke)}}},{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(pe,ae,re){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;et.messages.pointerEvent(this._sock,this._display.absX(pe),this._display.absY(ae),re)}},{key:"_handleWheel",value:function(pe){if(this._rfbConnectionState!=="connected")return;if(this._viewOnly)return;pe.stopPropagation(),pe.preventDefault();var ae=(0,C.clientToElement)(pe.clientX,pe.clientY,this._canvas),re=pe.deltaX,be=pe.deltaY;pe.deltaMode!==0&&(re*=V,be*=V),this._accumulatedWheelDeltaX+=re,this._accumulatedWheelDeltaY+=be,Math.abs(this._accumulatedWheelDeltaX)>=X&&(this._accumulatedWheelDeltaX<0?(this._handleMouseButton(ae.x,ae.y,!0,1<<5),this._handleMouseButton(ae.x,ae.y,!1,1<<5)):this._accumulatedWheelDeltaX>0&&(this._handleMouseButton(ae.x,ae.y,!0,1<<6),this._handleMouseButton(ae.x,ae.y,!1,1<<6)),this._accumulatedWheelDeltaX=0),Math.abs(this._accumulatedWheelDeltaY)>=X&&(this._accumulatedWheelDeltaY<0?(this._handleMouseButton(ae.x,ae.y,!0,1<<3),this._handleMouseButton(ae.x,ae.y,!1,1<<3)):this._accumulatedWheelDeltaY>0&&(this._handleMouseButton(ae.x,ae.y,!0,1<<4),this._handleMouseButton(ae.x,ae.y,!1,1<<4)),this._accumulatedWheelDeltaY=0)}},{key:"_fakeMouseMove",value:function(pe,ae,re){this._handleMouseMove(ae,re),this._cursor.move(pe.detail.clientX,pe.detail.clientY)}},{key:"_handleTapEvent",value:function(pe,ae){var re=(0,C.clientToElement)(pe.detail.clientX,pe.detail.clientY,this._canvas);if(this._gestureLastTapTime!==null&&Date.now()-this._gestureLastTapTime<Y&&this._gestureFirstDoubleTapEv.detail.type===pe.detail.type){var be=this._gestureFirstDoubleTapEv.detail.clientX-pe.detail.clientX,ze=this._gestureFirstDoubleTapEv.detail.clientY-pe.detail.clientY,Ke=Math.hypot(be,ze);Ke<te?re=(0,C.clientToElement)(this._gestureFirstDoubleTapEv.detail.clientX,this._gestureFirstDoubleTapEv.detail.clientY,this._canvas):this._gestureFirstDoubleTapEv=pe}else this._gestureFirstDoubleTapEv=pe;this._gestureLastTapTime=Date.now(),this._fakeMouseMove(this._gestureFirstDoubleTapEv,re.x,re.y),this._handleMouseButton(re.x,re.y,!0,ae),this._handleMouseButton(re.x,re.y,!1,ae)}},{key:"_handleGesture",value:function(pe){var ae,re=(0,C.clientToElement)(pe.detail.clientX,pe.detail.clientY,this._canvas);switch(pe.type){case"gesturestart":switch(pe.detail.type){case"onetap":this._handleTapEvent(pe,1);break;case"twotap":this._handleTapEvent(pe,4);break;case"threetap":this._handleTapEvent(pe,2);break;case"drag":this._fakeMouseMove(pe,re.x,re.y),this._handleMouseButton(re.x,re.y,!0,1);break;case"longpress":this._fakeMouseMove(pe,re.x,re.y),this._handleMouseButton(re.x,re.y,!0,4);break;case"twodrag":this._gestureLastMagnitudeX=pe.detail.magnitudeX,this._gestureLastMagnitudeY=pe.detail.magnitudeY,this._fakeMouseMove(pe,re.x,re.y);break;case"pinch":this._gestureLastMagnitudeX=Math.hypot(pe.detail.magnitudeX,pe.detail.magnitudeY),this._fakeMouseMove(pe,re.x,re.y);break}break;case"gesturemove":switch(pe.detail.type){case"onetap":case"twotap":case"threetap":break;case"drag":case"longpress":this._fakeMouseMove(pe,re.x,re.y);break;case"twodrag":for(this._fakeMouseMove(pe,re.x,re.y);pe.detail.magnitudeY-this._gestureLastMagnitudeY>G;)this._handleMouseButton(re.x,re.y,!0,8),this._handleMouseButton(re.x,re.y,!1,8),this._gestureLastMagnitudeY+=G;for(;pe.detail.magnitudeY-this._gestureLastMagnitudeY<-G;)this._handleMouseButton(re.x,re.y,!0,16),this._handleMouseButton(re.x,re.y,!1,16),this._gestureLastMagnitudeY-=G;for(;pe.detail.magnitudeX-this._gestureLastMagnitudeX>G;)this._handleMouseButton(re.x,re.y,!0,32),this._handleMouseButton(re.x,re.y,!1,32),this._gestureLastMagnitudeX+=G;for(;pe.detail.magnitudeX-this._gestureLastMagnitudeX<-G;)this._handleMouseButton(re.x,re.y,!0,64),this._handleMouseButton(re.x,re.y,!1,64),this._gestureLastMagnitudeX-=G;break;case"pinch":if(this._fakeMouseMove(pe,re.x,re.y),ae=Math.hypot(pe.detail.magnitudeX,pe.detail.magnitudeY),Math.abs(ae-this._gestureLastMagnitudeX)>Z){for(this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!0);ae-this._gestureLastMagnitudeX>Z;)this._handleMouseButton(re.x,re.y,!0,8),this._handleMouseButton(re.x,re.y,!1,8),this._gestureLastMagnitudeX+=Z;for(;ae-this._gestureLastMagnitudeX<-Z;)this._handleMouseButton(re.x,re.y,!0,16),this._handleMouseButton(re.x,re.y,!1,16),this._gestureLastMagnitudeX-=Z}this._handleKeyEvent(a.default.XK_Control_L,"ControlLeft",!1);break}break;case"gestureend":switch(pe.detail.type){case"onetap":case"twotap":case"threetap":case"pinch":case"twodrag":break;case"drag":this._fakeMouseMove(pe,re.x,re.y),this._handleMouseButton(re.x,re.y,!1,1);break;case"longpress":this._fakeMouseMove(pe,re.x,re.y),this._handleMouseButton(re.x,re.y,!1,4);break}break}}},{key:"_negotiateProtocolVersion",value:function(){if(this._sock.rQwait("version",12))return!1;var pe=this._sock.rQshiftStr(12).substr(4,7);_.Info("Server ProtocolVersion: "+pe);var ae=0;switch(pe){case"000.000":ae=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 "+pe)}if(ae){for(var re="ID:"+this._repeaterID;re.length<250;)re+="\0";return this._sock.sendString(re),!0}this._rfbVersion>this._rfbMaxVersion&&(this._rfbVersion=this._rfbMaxVersion);var be="00"+parseInt(this._rfbVersion,10)+".00"+this._rfbVersion*10%10;this._sock.sendString("RFB "+be+`
`),_.Debug("Sent ProtocolVersion: "+be),this._rfbInitState="Security"}},{key:"_negotiateSecurity",value:function(){function pe(be,ze){for(var Ke=0;Ke<ze.length;Ke++)if(ze[Ke]===be)return!0;return!1}if(this._rfbVersion>=3.7){var ae=this._sock.rQshift8();if(this._sock.rQwait("security type",ae,1))return!1;if(ae===0)return this._rfbInitState="SecurityReason",this._securityContext="no security types",this._securityStatus=1,this._initMsg();var re=this._sock.rQshiftBytes(ae);if(_.Debug("Server security types: "+re),pe(1,re))this._rfbAuthScheme=1;else if(pe(22,re))this._rfbAuthScheme=22;else if(pe(16,re))this._rfbAuthScheme=16;else if(pe(2,re))this._rfbAuthScheme=2;else if(pe(19,re))this._rfbAuthScheme=19;else return this._fail("Unsupported security types (types: "+re+")");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",_.Debug("Authenticating using scheme: "+this._rfbAuthScheme),this._initMsg()}},{key:"_handleSecurityReason",value:function(){if(this._sock.rQwait("reason length",4))return!1;var pe=this._sock.rQshift32(),ae="";if(pe>0){if(this._sock.rQwait("reason",pe,4))return!1;ae=this._sock.rQshiftStr(pe)}return ae!==""?(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:this._securityStatus,reason:ae}})),this._fail("Security negotiation failed on "+this._securityContext+" (reason: "+ae+")")):(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 pe=String.fromCharCode(this._rfbCredentials.username.length)+String.fromCharCode(this._rfbCredentials.target.length)+this._rfbCredentials.username+this._rfbCredentials.target;return this._sock.sendString(pe),this._rfbAuthScheme=2,this._negotiateAuthentication()}},{key:"_negotiateVeNCryptAuth",value:function(){if(this._rfbVeNCryptState==0){if(this._sock.rQwait("vencrypt version",2))return!1;var pe=this._sock.rQshift8(),ae=this._sock.rQshift8();if(!(pe==0&&ae==2))return this._fail("Unsupported VeNCrypt version "+pe+"."+ae);this._sock.send([0,2]),this._rfbVeNCryptState=1}if(this._rfbVeNCryptState==1){if(this._sock.rQwait("vencrypt ack",1))return!1;var re=this._sock.rQshift8();if(re!=0)return this._fail("VeNCrypt failure "+re);this._rfbVeNCryptState=2}if(this._rfbVeNCryptState==2){if(this._sock.rQwait("vencrypt subtypes length",1))return!1;var be=this._sock.rQshift8();if(be<1)return this._fail("VeNCrypt subtypes empty");this._rfbVeNCryptSubtypesLength=be,this._rfbVeNCryptState=3}if(this._rfbVeNCryptState==3){if(this._sock.rQwait("vencrypt subtypes",4*this._rfbVeNCryptSubtypesLength))return!1;for(var ze=[],Ke=0;Ke<this._rfbVeNCryptSubtypesLength;Ke++)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 Te=(0,I.encodeUTF8)(this._rfbCredentials.username),gt=(0,I.encodeUTF8)(this._rfbCredentials.password);return this._sock.send([0,0,0,Te.length]),this._sock.send([0,0,0,gt.length]),this._sock.sendString(Te),this._sock.sendString(gt),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 pe=Array.prototype.slice.call(this._sock.rQshiftBytes(16)),ae=et.genDES(this._rfbCredentials.password,pe);return this._sock.send(ae),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(pe){for(var ae={0:{vendor:"TGHT",signature:"NOTUNNEL"}},re={},be=0;be<pe;be++){var ze=this._sock.rQshift32(),Ke=this._sock.rQshiftStr(4),Te=this._sock.rQshiftStr(8);re[ze]={vendor:Ke,signature:Te}}return _.Debug("Server Tight tunnel types: "+re),re[1]&&re[1].vendor==="SICR"&&re[1].signature==="SCHANNEL"&&(_.Debug("Detected Siemens server. Assuming NOTUNNEL support."),re[0]={vendor:"TGHT",signature:"NOTUNNEL"}),re[0]?re[0].vendor!=ae[0].vendor||re[0].signature!=ae[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(_.Debug("Selected tunnel type: "+ae[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 pe=this._sock.rQshift32();if(pe>0&&this._sock.rQwait("tunnel capabilities",16*pe,4))return!1;if(this._rfbTightVNC=!0,pe>0)return this._negotiateTightTunnels(pe),!1}if(this._sock.rQwait("sub auth count",4))return!1;var ae=this._sock.rQshift32();if(ae===0)return this._rfbInitState="SecurityResult",!0;if(this._sock.rQwait("sub auth capabilities",16*ae,4))return!1;for(var re={STDVNOAUTH__:1,STDVVNCAUTH_:2,TGHTULGNAUTH:129},be=[],ze=0;ze<ae;ze++){this._sock.rQshift32();var Ke=this._sock.rQshiftStr(12);be.push(Ke)}_.Debug("Server Tight authentication types: "+be);for(var Te in re)if(be.indexOf(Te)!=-1){this._sock.send([0,0,0,re[Te]]),_.Debug("Selected authentication type: "+Te);switch(Te){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: "+Te+")")}}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 pe=this._sock.rQshift32();return pe===0?(this._rfbInitState="ClientInitialisation",_.Debug("Authentication OK"),this._initMsg()):this._rfbVersion>=3.8?(this._rfbInitState="SecurityReason",this._securityContext="security result",this._securityStatus=pe,this._initMsg()):(this.dispatchEvent(new CustomEvent("securityfailure",{detail:{status:pe}})),this._fail("Security handshake failed"))}},{key:"_negotiateServerInit",value:function(){if(this._sock.rQwait("server initialization",24))return!1;var pe=this._sock.rQshift16(),ae=this._sock.rQshift16(),re=this._sock.rQshift8(),be=this._sock.rQshift8(),ze=this._sock.rQshift8(),Ke=this._sock.rQshift8(),Te=this._sock.rQshift16(),gt=this._sock.rQshift16(),Ue=this._sock.rQshift16(),bt=this._sock.rQshift8(),wt=this._sock.rQshift8(),Et=this._sock.rQshift8();this._sock.rQskipBytes(3);var xt=this._sock.rQshift32();if(this._sock.rQwait("server init name",xt,24))return!1;var Tt=this._sock.rQshiftStr(xt);if(Tt=(0,I.decodeUTF8)(Tt,!0),this._rfbTightVNC){if(this._sock.rQwait("TightVNC extended server init header",8,24+xt))return!1;var Be=this._sock.rQshift16(),ce=this._sock.rQshift16(),q=this._sock.rQshift16();this._sock.rQskipBytes(2);var dt=(Be+ce+q)*16;if(this._sock.rQwait("TightVNC extended server init header",dt,32+xt))return!1;this._sock.rQskipBytes(16*Be),this._sock.rQskipBytes(16*ce),this._sock.rQskipBytes(16*q)}return _.Info("Screen: "+pe+"x"+ae+", bpp: "+re+", depth: "+be+", bigEndian: "+ze+", trueColor: "+Ke+", redMax: "+Te+", greenMax: "+gt+", blueMax: "+Ue+", redShift: "+bt+", greenShift: "+wt+", blueShift: "+Et),this._setDesktopName(Tt),this._resize(pe,ae),this._viewOnly||this._keyboard.grab(),this._fbDepth=24,this._fbName==="Intel(r) AMT KVM"&&(_.Warn("Intel AMT KVM only supports 8/16 bit depths. Using low color mode."),this._fbDepth=8),et.messages.pixelFormat(this._sock,this._fbDepth,!0),this._sendEncodings(),et.messages.fbUpdateRequest(this._sock,!1,0,0,this._fbWidth,this._fbHeight),this._updateConnectionState("connected"),!0}},{key:"_sendEncodings",value:function(){var pe=[];pe.push(u.encodings.encodingCopyRect),this._fbDepth==24&&(pe.push(u.encodings.encodingTight),pe.push(u.encodings.encodingTightPNG),pe.push(u.encodings.encodingHextile),pe.push(u.encodings.encodingRRE)),pe.push(u.encodings.encodingRaw),pe.push(u.encodings.pseudoEncodingQualityLevel0+this._qualityLevel),pe.push(u.encodings.pseudoEncodingCompressLevel0+this._compressionLevel),pe.push(u.encodings.pseudoEncodingDesktopSize),pe.push(u.encodings.pseudoEncodingLastRect),pe.push(u.encodings.pseudoEncodingQEMUExtendedKeyEvent),pe.push(u.encodings.pseudoEncodingExtendedDesktopSize),pe.push(u.encodings.pseudoEncodingXvp),pe.push(u.encodings.pseudoEncodingFence),pe.push(u.encodings.pseudoEncodingContinuousUpdates),pe.push(u.encodings.pseudoEncodingDesktopName),pe.push(u.encodings.pseudoEncodingExtendedClipboard),this._fbDepth==24&&(pe.push(u.encodings.pseudoEncodingVMwareCursor),pe.push(u.encodings.pseudoEncodingCursor)),et.messages.clientEncodings(this._sock,pe)}},{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 _.Debug("SetColorMapEntries"),this._fail("Unexpected SetColorMapEntries message")}},{key:"_handleServerCutText",value:function(){if(_.Debug("ServerCutText"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var pe=this._sock.rQshift32();if(pe=(0,O.toSigned32bit)(pe),this._sock.rQwait("ServerCutText content",Math.abs(pe),8))return!1;if(pe>=0){var ae=this._sock.rQshiftStr(pe);if(this._viewOnly)return!0;this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:ae}}))}else{pe=Math.abs(pe);var re=this._sock.rQshift32(),be=re&65535,ze=re&4278190080,Ke=!!(ze&ee);if(Ke){this._clipboardServerCapabilitiesFormats={},this._clipboardServerCapabilitiesActions={};for(var Te=0;Te<=15;Te++){var gt=1<<Te;be&gt&&(this._clipboardServerCapabilitiesFormats[gt]=!0,this._sock.rQshift32())}for(var Ue=24;Ue<=31;Ue++){var bt=1<<Ue;this._clipboardServerCapabilitiesActions[bt]=!!(ze&bt)}var wt=[ee,Ze,Se,Ne,it];et.messages.extendedClipboardCaps(this._sock,wt,{extendedClipboardFormatText:0})}else if(ze===Ze){if(this._viewOnly)return!0;this._clipboardText!=null&&this._clipboardServerCapabilitiesActions[it]&&(be&se&&et.messages.extendedClipboardProvide(this._sock,[se],[this._clipboardText]))}else if(ze===Se){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ne]&&(this._clipboardText!=null?et.messages.extendedClipboardNotify(this._sock,[se]):et.messages.extendedClipboardNotify(this._sock,[]))}else if(ze===Ne){if(this._viewOnly)return!0;this._clipboardServerCapabilitiesActions[Ze]&&(be&se&&et.messages.extendedClipboardRequest(this._sock,[se]))}else if(ze===it){if(this._viewOnly)return!0;if(!(be&se))return!0;this._clipboardText=null;var Et=this._sock.rQshiftBytes(pe-4),xt=new o.default,Tt=null;xt.setInput(Et);for(var Be=0;Be<=15;Be++){var ce=1<<Be;if(be&ce){var q=0,dt=xt.inflate(4);q|=dt[0]<<24,q|=dt[1]<<16,q|=dt[2]<<8,q|=dt[3];var Ve=xt.inflate(q);ce===se&&(Tt=Ve)}}if(xt.setInput(null),Tt!==null){for(var de="",Ht=0;Ht<Tt.length;Ht++)de+=String.fromCharCode(Tt[Ht]);Tt=de,Tt=(0,I.decodeUTF8)(Tt),Tt.length>0&&Tt.charAt(Tt.length-1)==="\0"&&(Tt=Tt.slice(0,-1)),Tt=Tt.replace(`\r
`,`
`),this.dispatchEvent(new CustomEvent("clipboard",{detail:{text:Tt}}))}}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 pe=this._sock.rQshift32(),ae=this._sock.rQshift8();if(this._sock.rQwait("ServerFence payload",ae,9))return!1;ae>64&&(_.Warn("Bad payload length ("+ae+") in fence response"),ae=64);var re=this._sock.rQshiftStr(ae);return this._supportsFence=!0,pe&1<<31?(pe&=1<<0|1<<1,et.messages.clientFence(this._sock,pe,re),!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 pe=this._sock.rQshift8(),ae=this._sock.rQshift8();switch(ae){case 0:_.Error("XVP Operation Failed");break;case 1:this._rfbXvpVer=pe,_.Info("XVP extensions enabled (version "+this._rfbXvpVer+")"),this._setCapability("power",!0);break;default:this._fail("Illegal server XVP message (msg: "+ae+")");break}return!0}},{key:"_normalMsg",value:function(){var pe;this._FBU.rects>0?pe=0:pe=this._sock.rQshift8();var ae,re;switch(pe){case 0:return re=this._framebufferUpdate(),re&&!this._enabledContinuousUpdates&&et.messages.fbUpdateRequest(this._sock,!0,0,0,this._fbWidth,this._fbHeight),re;case 1:return this._handleSetColourMapMsg();case 2:return _.Debug("Bell"),this.dispatchEvent(new CustomEvent("bell",{detail:{}})),!0;case 3:return this._handleServerCutText();case 150:return ae=!this._supportsContinuousUpdates,this._supportsContinuousUpdates=!0,this._enabledContinuousUpdates=!1,ae&&(this._enabledContinuousUpdates=!0,this._updateContinuousUpdates(),_.Info("Enabling continuous updates.")),!0;case 248:return this._handleServerFenceMsg();case 250:return this._handleXvpMsg();default:return this._fail("Unexpected server message (type "+pe+")"),_.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 pe=this._sock.rQshiftBytes(12);this._FBU.x=(pe[0]<<8)+pe[1],this._FBU.y=(pe[2]<<8)+pe[3],this._FBU.width=(pe[4]<<8)+pe[5],this._FBU.height=(pe[6]<<8)+pe[7],this._FBU.encoding=parseInt((pe[8]<<24)+(pe[9]<<16)+(pe[10]<<8)+pe[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 u.encodings.pseudoEncodingLastRect:return this._FBU.rects=1,!0;case u.encodings.pseudoEncodingVMwareCursor:return this._handleVMwareCursor();case u.encodings.pseudoEncodingCursor:return this._handleCursor();case u.encodings.pseudoEncodingQEMUExtendedKeyEvent:try{var pe=document.createEvent("keyboardEvent");pe.code!==void 0&&(this._qemuExtKeyEventSupported=!0)}catch(ae){}return!0;case u.encodings.pseudoEncodingDesktopName:return this._handleDesktopName();case u.encodings.pseudoEncodingDesktopSize:return this._resize(this._FBU.width,this._FBU.height),!0;case u.encodings.pseudoEncodingExtendedDesktopSize:return this._handleExtendedDesktopSize();default:return this._handleDataRect()}}},{key:"_handleVMwareCursor",value:function(){var pe=this._FBU.x,ae=this._FBU.y,re=this._FBU.width,be=this._FBU.height;if(this._sock.rQwait("VMware cursor encoding",1))return!1;var ze=this._sock.rQshift8();this._sock.rQshift8();var Ke,Te=4;if(ze==0){var gt=4294967040|0;if(Ke=new Array(re*be*Te),this._sock.rQwait("VMware cursor classic encoding",re*be*Te*2,2))return!1;for(var Ue=new Array(re*be),bt=0;bt<re*be;bt++)Ue[bt]=this._sock.rQshift32();for(var wt=new Array(re*be),Et=0;Et<re*be;Et++)wt[Et]=this._sock.rQshift32();for(var xt=0;xt<re*be;xt++)if(Ue[xt]==0){var Tt=wt[xt],Be=Tt>>8&255,ce=Tt>>16&255,q=Tt>>24&255;Ke[xt*Te]=Be,Ke[xt*Te+1]=ce,Ke[xt*Te+2]=q,Ke[xt*Te+3]=255}else(Ue[xt]&gt)==gt?wt[xt]==0?(Ke[xt*Te]=0,Ke[xt*Te+1]=0,Ke[xt*Te+2]=0,Ke[xt*Te+3]=0):((wt[xt]&gt)==gt,Ke[xt*Te]=0,Ke[xt*Te+1]=0,Ke[xt*Te+2]=0,Ke[xt*Te+3]=255):(Ke[xt*Te]=0,Ke[xt*Te+1]=0,Ke[xt*Te+2]=0,Ke[xt*Te+3]=255)}else if(ze==1){if(this._sock.rQwait("VMware cursor alpha encoding",re*be*4,2))return!1;Ke=new Array(re*be*Te);for(var dt=0;dt<re*be;dt++){var Ve=this._sock.rQshift32();Ke[dt*4]=Ve>>24&255,Ke[dt*4+1]=Ve>>16&255,Ke[dt*4+2]=Ve>>8&255,Ke[dt*4+3]=Ve&255}}else return _.Warn("The given cursor type is not supported: "+ze+" given."),!1;return this._updateCursor(Ke,pe,ae,re,be),!0}},{key:"_handleCursor",value:function(){var pe=this._FBU.x,ae=this._FBU.y,re=this._FBU.width,be=this._FBU.height,ze=re*be*4,Ke=Math.ceil(re/8)*be,Te=ze+Ke;if(this._sock.rQwait("cursor encoding",Te))return!1;for(var gt=this._sock.rQshiftBytes(ze),Ue=this._sock.rQshiftBytes(Ke),bt=new Uint8Array(re*be*4),wt=0,Et=0;Et<be;Et++)for(var xt=0;xt<re;xt++){var Tt=Et*Math.ceil(re/8)+Math.floor(xt/8),Be=Ue[Tt]<<xt%8&128?255:0;bt[wt]=gt[wt+2],bt[wt+1]=gt[wt+1],bt[wt+2]=gt[wt],bt[wt+3]=Be,wt+=4}return this._updateCursor(bt,pe,ae,re,be),!0}},{key:"_handleDesktopName",value:function(){if(this._sock.rQwait("DesktopName",4))return!1;var pe=this._sock.rQshift32();if(this._sock.rQwait("DesktopName",pe,4))return!1;var ae=this._sock.rQshiftStr(pe);return ae=(0,I.decodeUTF8)(ae,!0),this._setDesktopName(ae),!0}},{key:"_handleExtendedDesktopSize",value:function(){if(this._sock.rQwait("ExtendedDesktopSize",4))return!1;var pe=this._sock.rQpeek8(),ae=4+pe*16;if(this._sock.rQwait("ExtendedDesktopSize",ae))return!1;var re=!this._supportsSetDesktopSize;this._supportsSetDesktopSize=!0,re&&this._requestRemoteResize(),this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var be=0;be<pe;be+=1)be===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}_.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 pe=this._decoders[this._FBU.encoding];if(!pe)return this._fail("Unsupported encoding (encoding: "+this._FBU.encoding+")"),!1;try{return pe.decodeRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,this._sock,this._display,this._fbDepth)}catch(ae){return this._fail("Error decoding rect: "+ae),!1}}},{key:"_updateContinuousUpdates",value:function(){if(!this._enabledContinuousUpdates)return;et.messages.enableContinuousUpdates(this._sock,!0,0,0,this._fbWidth,this._fbHeight)}},{key:"_resize",value:function(pe,ae){this._fbWidth=pe,this._fbHeight=ae,this._display.resize(this._fbWidth,this._fbHeight),this._updateClip(),this._updateScale(),this._updateContinuousUpdates()}},{key:"_xvpOp",value:function(pe,ae){if(this._rfbXvpVer<pe)return;_.Info("Sending XVP operation "+ae+" (version "+pe+")"),et.messages.xvpOp(this._sock,pe,ae)}},{key:"_updateCursor",value:function(pe,ae,re,be,ze){this._cursorImage={rgbaPixels:pe,hotx:ae,hoty:re,w:be,h:ze},this._refreshCursor()}},{key:"_shouldShowDotCursor",value:function(){if(!this._showDotCursor)return!1;for(var pe=3;pe<this._cursorImage.rgbaPixels.length;pe+=4)if(this._cursorImage.rgbaPixels[pe])return!1;return!0}},{key:"_refreshCursor",value:function(){if(this._rfbConnectionState!=="connecting"&&this._rfbConnectionState!=="connected")return;var pe=this._shouldShowDotCursor()?et.cursors.dot:this._cursorImage;this._cursor.change(pe.rgbaPixels,pe.hotx,pe.hoty,pe.w,pe.h)}},{key:"viewOnly",get:function(){return this._viewOnly},set:function(pe){this._viewOnly=pe,(this._rfbConnectionState==="connecting"||this._rfbConnectionState==="connected")&&(pe?this._keyboard.ungrab():this._keyboard.grab())}},{key:"capabilities",get:function(){return this._capabilities}},{key:"touchButton",get:function(){return 0},set:function(pe){_.Warn("Using old API!")}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(pe){this._clipViewport=pe,this._updateClip()}},{key:"scaleViewport",get:function(){return this._scaleViewport},set:function(pe){this._scaleViewport=pe,pe&&this._clipViewport&&this._updateClip(),this._updateScale(),!pe&&this._clipViewport&&this._updateClip()}},{key:"resizeSession",get:function(){return this._resizeSession},set:function(pe){this._resizeSession=pe,pe&&this._requestRemoteResize()}},{key:"showDotCursor",get:function(){return this._showDotCursor},set:function(pe){this._showDotCursor=pe,this._refreshCursor()}},{key:"background",get:function(){return this._screen.style.background},set:function(pe){this._screen.style.background=pe}},{key:"qualityLevel",get:function(){return this._qualityLevel},set:function(pe){if(!Number.isInteger(pe)||pe<0||pe>9){_.Error("qualityLevel must be an integer between 0 and 9");return}if(this._qualityLevel===pe)return;this._qualityLevel=pe,this._rfbConnectionState==="connected"&&this._sendEncodings()}},{key:"compressionLevel",get:function(){return this._compressionLevel},set:function(pe){if(!Number.isInteger(pe)||pe<0||pe>9){_.Error("compressionLevel must be an integer between 0 and 9");return}if(this._compressionLevel===pe)return;this._compressionLevel=pe,this._rfbConnectionState==="connected"&&this._sendEncodings()}}],[{key:"genDES",value:function(pe,ae){var re=pe.split("").map(function(be){return be.charCodeAt(0)});return new e.default(re).encrypt(ae)}}]),et}(p.default);z.default=Ye,Ye.messages={keyEvent:function(je,et,He){var pe=je._sQ,ae=je._sQlen;pe[ae]=4,pe[ae+1]=He,pe[ae+2]=0,pe[ae+3]=0,pe[ae+4]=et>>24,pe[ae+5]=et>>16,pe[ae+6]=et>>8,pe[ae+7]=et,je._sQlen+=8,je.flush()},QEMUExtendedKeyEvent:function(je,et,He,pe){function ae(Ke){var Te=pe>>8,gt=pe&255;return Te===224&&gt<127?gt|128:Ke}var re=je._sQ,be=je._sQlen;re[be]=255,re[be+1]=0,re[be+2]=He>>8,re[be+3]=He,re[be+4]=et>>24,re[be+5]=et>>16,re[be+6]=et>>8,re[be+7]=et;var ze=ae(pe);re[be+8]=ze>>24,re[be+9]=ze>>16,re[be+10]=ze>>8,re[be+11]=ze,je._sQlen+=12,je.flush()},pointerEvent:function(je,et,He,pe){var ae=je._sQ,re=je._sQlen;ae[re]=5,ae[re+1]=pe,ae[re+2]=et>>8,ae[re+3]=et,ae[re+4]=He>>8,ae[re+5]=He,je._sQlen+=6,je.flush()},_buildExtendedClipboardFlags:function(je,et){for(var He=new Uint8Array(4),pe=0,ae=0,re=0;re<je.length;re++)ae|=je[re];for(var be=0;be<et.length;be++)pe|=et[be];return He[0]=ae>>24,He[1]=0,He[2]=0,He[3]=pe,He},extendedClipboardProvide:function(je,et,He){for(var pe=new r.default,ae=[],re=0;re<et.length;re++){if(et[re]!=se)throw new Error("Unsupported extended clipboard format for Provide message.");He[re]=He[re].replace(/\r\n|\r|\n/gm,`\r
`);var be=(0,I.encodeUTF8)(He[re]+"\0");ae.push(be.length>>24&255,be.length>>16&255,be.length>>8&255,be.length&255);for(var ze=0;ze<be.length;ze++)ae.push(be.charCodeAt(ze))}var Ke=pe.deflate(new Uint8Array(ae)),Te=new Uint8Array(4+Ke.length);Te.set(Ye.messages._buildExtendedClipboardFlags([it],et)),Te.set(Ke,4),Ye.messages.clientCutText(je,Te,!0)},extendedClipboardNotify:function(je,et){var He=Ye.messages._buildExtendedClipboardFlags([Ne],et);Ye.messages.clientCutText(je,He,!0)},extendedClipboardRequest:function(je,et){var He=Ye.messages._buildExtendedClipboardFlags([Ze],et);Ye.messages.clientCutText(je,He,!0)},extendedClipboardCaps:function(je,et,He){var pe=Object.keys(He),ae=new Uint8Array(4+4*pe.length);pe.map(function(ze){return parseInt(ze)}),pe.sort(function(ze,Ke){return ze-Ke}),ae.set(Ye.messages._buildExtendedClipboardFlags(et,[]));for(var re=4,be=0;be<pe.length;be++)ae[re]=He[pe[be]]>>24,ae[re+1]=He[pe[be]]>>16,ae[re+2]=He[pe[be]]>>8,ae[re+3]=He[pe[be]]>>0,re+=4,ae[3]|=1<<pe[be];Ye.messages.clientCutText(je,ae,!0)},clientCutText:function(je,et){var He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,pe=je._sQ,ae=je._sQlen;pe[ae]=6,pe[ae+1]=0,pe[ae+2]=0,pe[ae+3]=0;var re;He?re=(0,O.toUnsigned32bit)(-et.length):re=et.length,pe[ae+4]=re>>24,pe[ae+5]=re>>16,pe[ae+6]=re>>8,pe[ae+7]=re,je._sQlen+=8;for(var be=0,ze=et.length;ze>0;){for(var Ke=Math.min(ze,je._sQbufferSize-je._sQlen),Te=0;Te<Ke;Te++)pe[je._sQlen+Te]=et[be+Te];je._sQlen+=Ke,je.flush(),ze-=Ke,be+=Ke}},setDesktopSize:function(je,et,He,pe,ae){var re=je._sQ,be=je._sQlen;re[be]=251,re[be+1]=0,re[be+2]=et>>8,re[be+3]=et,re[be+4]=He>>8,re[be+5]=He,re[be+6]=1,re[be+7]=0,re[be+8]=pe>>24,re[be+9]=pe>>16,re[be+10]=pe>>8,re[be+11]=pe,re[be+12]=0,re[be+13]=0,re[be+14]=0,re[be+15]=0,re[be+16]=et>>8,re[be+17]=et,re[be+18]=He>>8,re[be+19]=He,re[be+20]=ae>>24,re[be+21]=ae>>16,re[be+22]=ae>>8,re[be+23]=ae,je._sQlen+=24,je.flush()},clientFence:function(je,et,He){var pe=je._sQ,ae=je._sQlen;pe[ae]=248,pe[ae+1]=0,pe[ae+2]=0,pe[ae+3]=0,pe[ae+4]=et>>24,pe[ae+5]=et>>16,pe[ae+6]=et>>8,pe[ae+7]=et;var re=He.length;pe[ae+8]=re;for(var be=0;be<re;be++)pe[ae+9+be]=He.charCodeAt(be);je._sQlen+=9+re,je.flush()},enableContinuousUpdates:function(je,et,He,pe,ae,re){var be=je._sQ,ze=je._sQlen;be[ze]=150,be[ze+1]=et,be[ze+2]=He>>8,be[ze+3]=He,be[ze+4]=pe>>8,be[ze+5]=pe,be[ze+6]=ae>>8,be[ze+7]=ae,be[ze+8]=re>>8,be[ze+9]=re,je._sQlen+=10,je.flush()},pixelFormat:function(je,et,He){var pe=je._sQ,ae=je._sQlen,re;et>16?re=32:et>8?re=16:re=8;var be=Math.floor(et/3);pe[ae]=0,pe[ae+1]=0,pe[ae+2]=0,pe[ae+3]=0,pe[ae+4]=re,pe[ae+5]=et,pe[ae+6]=0,pe[ae+7]=He?1:0,pe[ae+8]=0,pe[ae+9]=(1<<be)-1,pe[ae+10]=0,pe[ae+11]=(1<<be)-1,pe[ae+12]=0,pe[ae+13]=(1<<be)-1,pe[ae+14]=be*2,pe[ae+15]=be*1,pe[ae+16]=be*0,pe[ae+17]=0,pe[ae+18]=0,pe[ae+19]=0,je._sQlen+=20,je.flush()},clientEncodings:function(je,et){var He=je._sQ,pe=je._sQlen;He[pe]=2,He[pe+1]=0,He[pe+2]=et.length>>8,He[pe+3]=et.length;for(var ae=pe+4,re=0;re<et.length;re++){var be=et[re];He[ae]=be>>24,He[ae+1]=be>>16,He[ae+2]=be>>8,He[ae+3]=be,ae+=4}je._sQlen+=ae-pe,je.flush()},fbUpdateRequest:function(je,et,He,pe,ae,re){var be=je._sQ,ze=je._sQlen;typeof He=="undefined"&&(He=0),typeof pe=="undefined"&&(pe=0),be[ze]=3,be[ze+1]=et?1:0,be[ze+2]=He>>8&255,be[ze+3]=He&255,be[ze+4]=pe>>8&255,be[ze+5]=pe&255,be[ze+6]=ae>>8&255,be[ze+7]=ae&255,be[ze+8]=re>>8&255,be[ze+9]=re&255,je._sQlen+=10,je.flush()},xvpOp:function(je,et,He){var pe=je._sQ,ae=je._sQlen;pe[ae]=250,pe[ae+1]=0,pe[ae+2]=et,pe[ae+3]=He,je._sQlen+=4,je.flush()}},Ye.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(ue,z,d){(function(O){O(d("VrN/"))})(function(O){"use strict";var _={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},I={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};O.defineMode("xml",function(E,C){var t=E.indentUnit,p={},h=C.htmlMode?_:I;for(var o in h)p[o]=h[o];for(var o in C)p[o]=C[o];var r,s;function l(T,L){function R(U){return L.tokenize=U,U(T,L)}var P=T.next();if(P=="<")return T.eat("!")?T.eat("[")?T.match("CDATA[")?R(e("atom","]]>")):null:T.match("--")?R(e("comment","-->")):T.match("DOCTYPE",!0,!0)?(T.eatWhile(/[\w\._\-]/),R(a(1))):null:T.eat("?")?(T.eatWhile(/[\w\._\-]/),L.tokenize=e("meta","?>"),"meta"):(r=T.eat("/")?"closeTag":"openTag",L.tokenize=n,"tag bracket");if(P=="&"){var k;return T.eat("#")?T.eat("x")?k=T.eatWhile(/[a-fA-F\d]/)&&T.eat(";"):k=T.eatWhile(/[\d]/)&&T.eat(";"):k=T.eatWhile(/[\w\.\-:]/)&&T.eat(";"),k?"atom":"error"}else return T.eatWhile(/[^&<]/),null}l.isInText=!0;function n(T,L){var R=T.next();if(R==">"||R=="/"&&T.eat(">"))return L.tokenize=l,r=R==">"?"endTag":"selfcloseTag","tag bracket";if(R=="=")return r="equals",null;if(R=="<"){L.tokenize=l,L.state=m,L.tagName=L.tagStart=null;var P=L.tokenize(T,L);return P?P+" tag error":"tag error"}else return/[\'\"]/.test(R)?(L.tokenize=c(R),L.stringStartCol=T.column(),L.tokenize(T,L)):(T.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function c(T){var L=function(P,k){for(;!P.eol();)if(P.next()==T){k.tokenize=n;break}return"string"};return L.isInAttribute=!0,L}function e(T,L){return function(R,P){for(;!R.eol();){if(R.match(L)){P.tokenize=l;break}R.next()}return T}}function a(T){return function(L,R){for(var P;(P=L.next())!=null;){if(P=="<")return R.tokenize=a(T+1),R.tokenize(L,R);if(P==">")if(T==1){R.tokenize=l;break}else return R.tokenize=a(T-1),R.tokenize(L,R)}return"meta"}}function i(T,L,R){this.prev=T.context,this.tagName=L,this.indent=T.indented,this.startOfLine=R,(p.doNotIndent.hasOwnProperty(L)||T.context&&T.context.noIndent)&&(this.noIndent=!0)}function u(T){T.context&&(T.context=T.context.prev)}function f(T,L){for(var R;;){if(!T.context)return;if(R=T.context.tagName,!p.contextGrabbers.hasOwnProperty(R)||!p.contextGrabbers[R].hasOwnProperty(L))return;u(T)}}function m(T,L,R){return T=="openTag"?(R.tagStart=L.column(),A):T=="closeTag"?g:m}function A(T,L,R){return T=="word"?(R.tagName=L.current(),s="tag",S):p.allowMissingTagName&&T=="endTag"?(s="tag bracket",S(T,L,R)):(s="error",A)}function g(T,L,R){if(T=="word"){var P=L.current();return R.context&&R.context.tagName!=P&&p.implicitlyClosed.hasOwnProperty(R.context.tagName)&&u(R),R.context&&R.context.tagName==P||p.matchClosing===!1?(s="tag",v):(s="tag error",b)}else return p.allowMissingTagName&&T=="endTag"?(s="tag bracket",v(T,L,R)):(s="error",b)}function v(T,L,R){return T!="endTag"?(s="error",v):(u(R),m)}function b(T,L,R){return s="error",v(T,L,R)}function S(T,L,R){if(T=="word")return s="attribute",y;if(T=="endTag"||T=="selfcloseTag"){var P=R.tagName,k=R.tagStart;return R.tagName=R.tagStart=null,T=="selfcloseTag"||p.autoSelfClosers.hasOwnProperty(P)?f(R,P):(f(R,P),R.context=new i(R,P,k==R.indented)),m}return s="error",S}function y(T,L,R){return T=="equals"?w:(p.allowMissing||(s="error"),S(T,L,R))}function w(T,L,R){return T=="string"?x:T=="word"&&p.allowUnquoted?(s="string",S):(s="error",S(T,L,R))}function x(T,L,R){return T=="string"?x:S(T,L,R)}return{startState:function(L){var R={tokenize:l,state:m,indented:L||0,tagName:null,tagStart:null,context:null};return L!=null&&(R.baseIndent=L),R},token:function(L,R){if(!R.tagName&&L.sol()&&(R.indented=L.indentation()),L.eatSpace())return null;r=null;var P=R.tokenize(L,R);return(P||r)&&P!="comment"&&(s=null,R.state=R.state(r||P,L,R),s&&(P=s=="error"?P+" error":s)),P},indent:function(L,R,P){var k=L.context;if(L.tokenize.isInAttribute)return L.tagStart==L.indented?L.stringStartCol+1:L.indented+t;if(k&&k.noIndent)return O.Pass;if(L.tokenize!=n&&L.tokenize!=l)return P?P.match(/^(\s*)/)[0].length:0;if(L.tagName)return p.multilineTagIndentPastTag!==!1?L.tagStart+L.tagName.length+2:L.tagStart+t*(p.multilineTagIndentFactor||1);if(p.alignCDATA&&/<!\[CDATA\[/.test(R))return 0;var U=R&&/^<(\/)?([\w_:\.-]*)/.exec(R);if(U&&U[1])for(;k;)if(k.tagName==U[2]){k=k.prev;break}else if(p.implicitlyClosed.hasOwnProperty(k.tagName))k=k.prev;else break;else if(U)for(;k;){var D=p.contextGrabbers[k.tagName];if(D&&D.hasOwnProperty(U[2]))k=k.prev;else break}for(;k&&k.prev&&!k.startOfLine;)k=k.prev;return k?k.indent+t:L.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:p.htmlMode?"html":"xml",helperType:p.htmlMode?"html":"xml",skipAttribute:function(L){L.state==w&&(L.state=S)},xmlCurrentTag:function(L){return L.tagName?{name:L.tagName,close:L.type=="closeTag"}:null},xmlCurrentContext:function(L){for(var R=[],P=L.context;P;P=P.prev)P.tagName&&R.push(P.tagName);return R.reverse()}}}),O.defineMIME("text/xml","xml"),O.defineMIME("application/xml","xml"),O.mimeModes.hasOwnProperty("text/html")||O.defineMIME("text/html",{name:"xml",htmlMode:!0})})},"1n7x":function(ue,z,d){(function(O,_){/*!
* html2pdf.js v0.10.1
* Copyright (c) 2021 Erik Koopmans
* Released under the MIT License.
*/(function(E,C){ue.exports=C(d("dtIV"),d("wOnQ"))})(self,function(I,E){return function(){var C={"./src/plugin/hyperlinks.js":function(r,s,l){"use strict";l.r(s);var n=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),c=l.n(n),e=l("./node_modules/core-js/modules/es.string.link.js"),a=l.n(e),i=l("./src/worker.js"),u=l("./src/utils.js"),f=[],m={toContainer:i.default.prototype.toContainer,toPdf:i.default.prototype.toPdf};i.default.prototype.toContainer=function(){return m.toContainer.call(this).then(function(){if(this.opt.enableLinks){var v=this.prop.container,b=v.querySelectorAll("a"),S=(0,u.unitConvert)(v.getBoundingClientRect(),this.prop.pageSize.k);f=[],Array.prototype.forEach.call(b,function(y){for(var w=y.getClientRects(),x=0;x<w.length;x++){var T=(0,u.unitConvert)(w[x],this.prop.pageSize.k);T.left-=S.left,T.top-=S.top;var L=Math.floor(T.top/this.prop.pageSize.inner.height)+1,R=this.opt.margin[0]+T.top%this.prop.pageSize.inner.height,P=this.opt.margin[1]+T.left;f.push({page:L,top:R,left:P,clientRect:T,link:y})}},this)}})},i.default.prototype.toPdf=function(){return m.toPdf.call(this).then(function(){if(this.opt.enableLinks){f.forEach(function(b){this.prop.pdf.setPage(b.page),this.prop.pdf.link(b.left,b.top,b.clientRect.width,b.clientRect.height,{url:b.link.href})},this);var v=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(v)}})}},"./src/plugin/jspdf-plugin.js":function(r,s,l){"use strict";l.r(s);var n=l("./node_modules/core-js/modules/es.symbol.js"),c=l.n(n),e=l("./node_modules/core-js/modules/es.symbol.description.js"),a=l.n(e),i=l("./node_modules/core-js/modules/es.object.to-string.js"),u=l.n(i),f=l("./node_modules/core-js/modules/es.symbol.iterator.js"),m=l.n(f),A=l("./node_modules/core-js/modules/es.array.iterator.js"),g=l.n(A),v=l("./node_modules/core-js/modules/es.string.iterator.js"),b=l.n(v),S=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),y=l.n(S),w=l("jspdf"),x=l.n(w);function T(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(P){return typeof P}:T=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},T(L)}w.jsPDF.getPageSize=function(L,R,P){if(T(L)==="object"){var k=L;L=k.orientation,R=k.unit||R,P=k.format||P}R=R||"mm",P=P||"a4",L=(""+(L||"P")).toLowerCase();var U=(""+P).toLowerCase(),D={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(R){case"pt":var M=1;break;case"mm":var M=72/25.4;break;case"cm":var M=72/2.54;break;case"in":var M=72;break;case"px":var M=72/96;break;case"pc":var M=12;break;case"em":var M=12;break;case"ex":var M=6;break;default:throw"Invalid unit: "+R}if(D.hasOwnProperty(U))var B=D[U][1]/M,j=D[U][0]/M;else try{var B=P[1],j=P[0]}catch(W){throw new Error("Invalid format: "+P)}if(L==="p"||L==="portrait"){if(L="p",j>B){var H=j;j=B,B=H}}else if(L==="l"||L==="landscape"){if(L="l",B>j){var H=j;j=B,B=H}}else throw"Invalid orientation: "+L;var K={width:j,height:B,unit:R,k:M};return K},s.default=w.jsPDF},"./src/plugin/pagebreaks.js":function(r,s,l){"use strict";l.r(s);var n=l("./node_modules/core-js/modules/es.array.concat.js"),c=l.n(n),e=l("./node_modules/core-js/modules/es.array.slice.js"),a=l.n(e),i=l("./node_modules/core-js/modules/es.array.join.js"),u=l.n(i),f=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),m=l.n(f),A=l("./node_modules/core-js/modules/es.object.keys.js"),g=l.n(A),v=l("./src/worker.js"),b=l("./src/utils.js"),S={toContainer:v.default.prototype.toContainer};v.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},v.default.prototype.toContainer=function(){return S.toContainer.call(this).then(function(){var x=this.prop.container,T=this.prop.pageSize.inner.px.height,L=[].concat(this.opt.pagebreak.mode),R={avoidAll:L.indexOf("avoid-all")!==-1,css:L.indexOf("css")!==-1,legacy:L.indexOf("legacy")!==-1},P={},k=this;["before","after","avoid"].forEach(function(M){var B=R.avoidAll&&M==="avoid";P[M]=B?[]:[].concat(k.opt.pagebreak[M]||[]),P[M].length>0&&(P[M]=Array.prototype.slice.call(x.querySelectorAll(P[M].join(", "))))});var U=x.querySelectorAll(".html2pdf__page-break");U=Array.prototype.slice.call(U);var D=x.querySelectorAll("*");Array.prototype.forEach.call(D,function(B){var j={before:!1,after:R.legacy&&U.indexOf(B)!==-1,avoid:R.avoidAll};if(R.css){var H=window.getComputedStyle(B),K=["always","page","left","right"],W=["avoid","avoid-page"];j={before:j.before||K.indexOf(H.breakBefore||H.pageBreakBefore)!==-1,after:j.after||K.indexOf(H.breakAfter||H.pageBreakAfter)!==-1,avoid:j.avoid||W.indexOf(H.breakInside||H.pageBreakInside)!==-1}}Object.keys(j).forEach(function(te){j[te]=j[te]||P[te].indexOf(B)!==-1});var X=B.getBoundingClientRect();if(j.avoid&&!j.before){var V=Math.floor(X.top/T),Z=Math.floor(X.bottom/T),G=Math.abs(X.bottom-X.top)/T;Z!==V&&G<=1&&(j.before=!0)}if(j.before){var Y=(0,b.createElement)("div",{style:{display:"block",height:T-X.top%T+"px"}});B.parentNode.insertBefore(Y,B)}if(j.after){var Y=(0,b.createElement)("div",{style:{display:"block",height:T-X.bottom%T+"px"}});B.parentNode.insertBefore(Y,B.nextSibling)}})})}},"./src/utils.js":function(r,s,l){"use strict";l.r(s),l.d(s,{objType:function(){return L},createElement:function(){return R},cloneNode:function(){return P},unitConvert:function(){return k},toPx:function(){return U}});var n=l("./node_modules/core-js/modules/es.number.constructor.js"),c=l.n(n),e=l("./node_modules/core-js/modules/es.symbol.js"),a=l.n(e),i=l("./node_modules/core-js/modules/es.symbol.description.js"),u=l.n(i),f=l("./node_modules/core-js/modules/es.object.to-string.js"),m=l.n(f),A=l("./node_modules/core-js/modules/es.symbol.iterator.js"),g=l.n(A),v=l("./node_modules/core-js/modules/es.array.iterator.js"),b=l.n(v),S=l("./node_modules/core-js/modules/es.string.iterator.js"),y=l.n(S),w=l("./node_modules/core-js/modules/web.dom-collections.iterator.js"),x=l.n(w);function T(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(B){return typeof B}:T=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},T(D)}var L=function(M){var B=T(M);return B==="undefined"?"undefined":B==="string"||M instanceof String?"string":B==="number"||M instanceof Number?"number":B==="function"||M instanceof Function?"function":!!M&&M.constructor===Array?"array":M&&M.nodeType===1?"element":B==="object"?"object":"unknown"},R=function(M,B){var j=document.createElement(M);if(B.className&&(j.className=B.className),B.innerHTML){j.innerHTML=B.innerHTML;for(var H=j.getElementsByTagName("script"),K=H.length;K-- >0;null)H[K].parentNode.removeChild(H[K])}for(var W in B.style)j.style[W]=B.style[W];return j},P=function D(M,B){for(var j=M.nodeType===3?document.createTextNode(M.nodeValue):M.cloneNode(!1),H=M.firstChild;H;H=H.nextSibling)(B===!0||H.nodeType!==1||H.nodeName!=="SCRIPT")&&j.appendChild(D(H,B));return M.nodeType===1&&(M.nodeName==="CANVAS"?(j.width=M.width,j.height=M.height,j.getContext("2d").drawImage(M,0,0)):(M.nodeName==="TEXTAREA"||M.nodeName==="SELECT")&&(j.value=M.value),j.addEventListener("load",function(){j.scrollTop=M.scrollTop,j.scrollLeft=M.scrollLeft},!0)),j},k=function(M,B){if(L(M)==="number")return M*72/96/B;var j={};for(var H in M)j[H]=M[H]*72/96/B;return j},U=function(M,B){return Math.floor(M*B/72*96)}},"./src/worker.js":function(r,s,l){"use strict";l.r(s);var n=l("./node_modules/core-js/modules/es.object.assign.js"),c=l.n(n),e=l("./node_modules/core-js/modules/es.array.map.js"),a=l.n(e),i=l("./node_modules/core-js/modules/es.object.keys.js"),u=l.n(i),f=l("./node_modules/core-js/modules/es.array.concat.js"),m=l.n(f),A=l("./node_modules/core-js/modules/es.object.to-string.js"),g=l.n(A),v=l("./node_modules/core-js/modules/es.regexp.to-string.js"),b=l.n(v),S=l("./node_modules/core-js/modules/es.function.name.js"),y=l.n(S),w=l("./node_modules/core-js/modules/web.dom-collections.for-each.js"),x=l.n(w),T=l("jspdf"),L=l.n(T),R=l("html2canvas"),P=l.n(R),k=l("./src/utils.js"),U=l("./node_modules/es6-promise/dist/es6-promise.js"),D=l.n(U),M=D().Promise,B=function j(H){var K=Object.assign(j.convert(M.resolve()),JSON.parse(JSON.stringify(j.template))),W=j.convert(M.resolve(),K);return W=W.setProgress(1,j,1,[j]),W=W.set(H),W};B.prototype=Object.create(M.prototype),B.prototype.constructor=B,B.convert=function(H,K){return H.__proto__=K||B.prototype,H},B.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:{}}},B.prototype.from=function(H,K){function W(X){switch((0,k.objType)(X)){case"string":return"string";case"element":return X.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){K=K||W(H);switch(K){case"string":return this.set({src:(0,k.createElement)("div",{innerHTML:H})});case"element":return this.set({src:H});case"canvas":return this.set({canvas:H});case"img":return this.set({img:H});default:return this.error("Unknown source type.")}})},B.prototype.to=function(H){switch(H){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.")}},B.prototype.toContainer=function(){var H=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(H).then(function(){var W={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},X={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};W.opacity=0;var V=(0,k.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,k.createElement)("div",{className:"html2pdf__overlay",style:W}),this.prop.container=(0,k.createElement)("div",{className:"html2pdf__container",style:X}),this.prop.container.appendChild(V),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},B.prototype.toCanvas=function(){var H=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(H).then(function(){var W=Object.assign({},this.opt.html2canvas);return delete W.onrendered,R(this.prop.container,W)}).then(function(W){var X=this.opt.html2canvas.onrendered||function(){};X(W),this.prop.canvas=W,document.body.removeChild(this.prop.overlay)})},B.prototype.toImg=function(){var H=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(H).then(function(){var W=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=W})},B.prototype.toPdf=function(){var H=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(H).then(function(){var W=this.prop.canvas,X=this.opt,V=W.height,Z=Math.floor(W.width*this.prop.pageSize.inner.ratio),G=Math.ceil(V/Z),Y=this.prop.pageSize.inner.height,te=document.createElement("canvas"),se=te.getContext("2d");te.width=W.width,te.height=Z,this.prop.pdf=this.prop.pdf||new T.jsPDF(X.jsPDF);for(var Ce=0;Ce<G;Ce++){Ce===G-1&&V%Z!==0&&(te.height=V%Z,Y=te.height*this.prop.pageSize.inner.width/te.width);var he=te.width,xe=te.height;se.fillStyle="white",se.fillRect(0,0,he,xe),se.drawImage(W,0,Ce*Z,he,xe,0,0,he,xe),Ce&&this.prop.pdf.addPage();var ie=te.toDataURL("image/"+X.image.type,X.image.quality);this.prop.pdf.addImage(ie,X.image.type,X.margin[1],X.margin[0],this.prop.pageSize.inner.width,Y)}})},B.prototype.output=function(H,K,W){return W=W||"pdf",W.toLowerCase()==="img"||W.toLowerCase()==="image"?this.outputImg(H,K):this.outputPdf(H,K)},B.prototype.outputPdf=function(H,K){var W=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(W).then(function(){return this.prop.pdf.output(H,K)})},B.prototype.outputImg=function(H,K){var W=[function(){return this.prop.img||this.toImg()}];return this.thenList(W).then(function(){switch(H){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 "'+H+'" is not supported.'}})},B.prototype.save=function(H){var K=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(K).set(H?{filename:H}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},B.prototype.set=function(H){if((0,k.objType)(H)!=="object")return this;var K=Object.keys(H||{}).map(function(W){switch(W){case"margin":return this.setMargin.bind(this,H.margin);case"jsPDF":return function(){return this.opt.jsPDF=H.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,H.pageSize);default:return W in B.template.prop?function(){this.prop[W]=H[W]}:function(){this.opt[W]=H[W]}}},this);return this.then(function(){return this.thenList(K)})},B.prototype.get=function(H,K){return this.then(function(){var X=H in B.template.prop?this.prop[H]:this.opt[H];return K?K(X):X})},B.prototype.setMargin=function(H){return this.then(function(){switch((0,k.objType)(H)){case"number":H=[H,H,H,H];case"array":if(H.length===2&&(H=[H[0],H[1],H[0],H[1]]),H.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=H}).then(this.setPageSize)},B.prototype.setPageSize=function(H){return this.then(function(){H=H||T.jsPDF.getPageSize(this.opt.jsPDF),H.hasOwnProperty("inner")||(H.inner={width:H.width-this.opt.margin[1]-this.opt.margin[3],height:H.height-this.opt.margin[0]-this.opt.margin[2]},H.inner.px={width:(0,k.toPx)(H.inner.width,H.k),height:(0,k.toPx)(H.inner.height,H.k)},H.inner.ratio=H.inner.height/H.inner.width),this.prop.pageSize=H})},B.prototype.setProgress=function(H,K,W,X){return H!=null&&(this.progress.val=H),K!=null&&(this.progress.state=K),W!=null&&(this.progress.n=W),X!=null&&(this.progress.stack=X),this.progress.ratio=this.progress.val/this.progress.state,this},B.prototype.updateProgress=function(H,K,W,X){return this.setProgress(H?this.progress.val+H:null,K||null,W?this.progress.n+W:null,X?this.progress.stack.concat(X):null)},B.prototype.then=function(H,K){var W=this;return this.thenCore(H,K,function(V,Z){return W.updateProgress(null,null,1,[V]),M.prototype.then.call(this,function(Y){return W.updateProgress(null,V),Y}).then(V,Z).then(function(Y){return W.updateProgress(1),Y})})},B.prototype.thenCore=function(H,K,W){W=W||M.prototype.then;var X=this;H&&(H=H.bind(X)),K&&(K=K.bind(X));var V=M.toString().indexOf("[native code]")!==-1&&M.name==="Promise",Z=V?X:B.convert(Object.assign({},X),M.prototype),G=W.call(Z,H,K);return B.convert(G,X.__proto__)},B.prototype.thenExternal=function(H,K){return M.prototype.then.call(this,H,K)},B.prototype.thenList=function(H){var K=this;return H.forEach(function(X){K=K.thenCore(X)}),K},B.prototype.catch=function(j){j&&(j=j.bind(this));var H=M.prototype.catch.call(this,j);return B.convert(H,this)},B.prototype.catchExternal=function(H){return M.prototype.catch.call(this,H)},B.prototype.error=function(H){return this.then(function(){throw new Error(H)})},B.prototype.using=B.prototype.set,B.prototype.saveAs=B.prototype.save,B.prototype.export=B.prototype.output,B.prototype.run=B.prototype.then,s.default=B},"./node_modules/core-js/internals/a-function.js":function(r){r.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"./node_modules/core-js/internals/a-possible-prototype.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js");r.exports=function(c){if(!n(c)&&c!==null)throw TypeError("Can't set "+String(c)+" as a prototype");return c}},"./node_modules/core-js/internals/add-to-unscopables.js":function(r,s,l){var n=l("./node_modules/core-js/internals/well-known-symbol.js"),c=l("./node_modules/core-js/internals/object-create.js"),e=l("./node_modules/core-js/internals/object-define-property.js"),a=n("unscopables"),i=Array.prototype;i[a]==null&&e.f(i,a,{configurable:!0,value:c(null)}),r.exports=function(u){i[a][u]=!0}},"./node_modules/core-js/internals/an-object.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js");r.exports=function(c){if(!n(c))throw TypeError(String(c)+" is not an object");return c}},"./node_modules/core-js/internals/array-for-each.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/array-iteration.js").forEach,c=l("./node_modules/core-js/internals/array-method-is-strict.js"),e=c("forEach");r.exports=e?[].forEach:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-indexed-object.js"),c=l("./node_modules/core-js/internals/to-length.js"),e=l("./node_modules/core-js/internals/to-absolute-index.js"),a=function(u){return function(f,m,A){var g=n(f),v=c(g.length),b=e(A,v),S;if(u&&m!=m){for(;v>b;)if(S=g[b++],S!=S)return!0}else for(;v>b;b++)if((u||b in g)&&g[b]===m)return u||b||0;return!u&&-1}};r.exports={includes:a(!0),indexOf:a(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(r,s,l){var n=l("./node_modules/core-js/internals/function-bind-context.js"),c=l("./node_modules/core-js/internals/indexed-object.js"),e=l("./node_modules/core-js/internals/to-object.js"),a=l("./node_modules/core-js/internals/to-length.js"),i=l("./node_modules/core-js/internals/array-species-create.js"),u=[].push,f=function(A){var g=A==1,v=A==2,b=A==3,S=A==4,y=A==6,w=A==7,x=A==5||y;return function(T,L,R,P){for(var k=e(T),U=c(k),D=n(L,R,3),M=a(U.length),B=0,j=P||i,H=g?j(T,M):v||w?j(T,0):void 0,K,W;M>B;B++)if((x||B in U)&&(K=U[B],W=D(K,B,k),A))if(g)H[B]=W;else if(W)switch(A){case 3:return!0;case 5:return K;case 6:return B;case 2:u.call(H,K)}else switch(A){case 4:return!1;case 7:u.call(H,K)}return y?-1:b||S?S:H}};r.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js"),c=l("./node_modules/core-js/internals/well-known-symbol.js"),e=l("./node_modules/core-js/internals/engine-v8-version.js"),a=c("species");r.exports=function(i){return e>=51||!n(function(){var u=[],f=u.constructor={};return f[a]=function(){return{foo:1}},u[i](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/fails.js");r.exports=function(c,e){var a=[][c];return!!a&&n(function(){a.call(null,e||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js"),c=l("./node_modules/core-js/internals/is-array.js"),e=l("./node_modules/core-js/internals/well-known-symbol.js"),a=e("species");r.exports=function(i){var u;return c(i)&&(u=i.constructor,typeof u=="function"&&(u===Array||c(u.prototype))?u=void 0:n(u)&&(u=u[a],u===null&&(u=void 0))),u===void 0?Array:u}},"./node_modules/core-js/internals/array-species-create.js":function(r,s,l){var n=l("./node_modules/core-js/internals/array-species-constructor.js");r.exports=function(c,e){return new(n(c))(e===0?0:e)}},"./node_modules/core-js/internals/classof-raw.js":function(r){var s={}.toString;r.exports=function(l){return s.call(l).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-string-tag-support.js"),c=l("./node_modules/core-js/internals/classof-raw.js"),e=l("./node_modules/core-js/internals/well-known-symbol.js"),a=e("toStringTag"),i=c(function(){return arguments}())=="Arguments",u=function(m,A){try{return m[A]}catch(g){}};r.exports=n?c:function(f){var m,A,g;return f===void 0?"Undefined":f===null?"Null":typeof(A=u(m=Object(f),a))=="string"?A:i?c(m):(g=c(m))=="Object"&&typeof m.callee=="function"?"Arguments":g}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(r,s,l){var n=l("./node_modules/core-js/internals/has.js"),c=l("./node_modules/core-js/internals/own-keys.js"),e=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=l("./node_modules/core-js/internals/object-define-property.js");r.exports=function(i,u){for(var f=c(u),m=a.f,A=e.f,g=0;g<f.length;g++){var v=f[g];n(i,v)||m(i,v,A(u,v))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js");r.exports=!n(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},"./node_modules/core-js/internals/create-html.js":function(r,s,l){var n=l("./node_modules/core-js/internals/require-object-coercible.js"),c=l("./node_modules/core-js/internals/to-string.js"),e=/"/g;r.exports=function(a,i,u,f){var m=c(n(a)),A="<"+i;return u!==""&&(A+=" "+u+'="'+c(f).replace(e,"&quot;")+'"'),A+">"+m+"</"+i+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,c=l("./node_modules/core-js/internals/object-create.js"),e=l("./node_modules/core-js/internals/create-property-descriptor.js"),a=l("./node_modules/core-js/internals/set-to-string-tag.js"),i=l("./node_modules/core-js/internals/iterators.js"),u=function(){return this};r.exports=function(f,m,A){var g=m+" Iterator";return f.prototype=c(n,{next:e(1,A)}),a(f,g,!1,!0),i[g]=u,f}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/object-define-property.js"),e=l("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=n?function(a,i,u){return c.f(a,i,e(1,u))}:function(a,i,u){return a[i]=u,a}},"./node_modules/core-js/internals/create-property-descriptor.js":function(r){r.exports=function(s,l){return{enumerable:!(s&1),configurable:!(s&2),writable:!(s&4),value:l}}},"./node_modules/core-js/internals/create-property.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/to-property-key.js"),c=l("./node_modules/core-js/internals/object-define-property.js"),e=l("./node_modules/core-js/internals/create-property-descriptor.js");r.exports=function(a,i,u){var f=n(i);f in a?c.f(a,f,e(0,u)):a[f]=u}},"./node_modules/core-js/internals/define-iterator.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/create-iterator-constructor.js"),e=l("./node_modules/core-js/internals/object-get-prototype-of.js"),a=l("./node_modules/core-js/internals/object-set-prototype-of.js"),i=l("./node_modules/core-js/internals/set-to-string-tag.js"),u=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),f=l("./node_modules/core-js/internals/redefine.js"),m=l("./node_modules/core-js/internals/well-known-symbol.js"),A=l("./node_modules/core-js/internals/is-pure.js"),g=l("./node_modules/core-js/internals/iterators.js"),v=l("./node_modules/core-js/internals/iterators-core.js"),b=v.IteratorPrototype,S=v.BUGGY_SAFARI_ITERATORS,y=m("iterator"),w="keys",x="values",T="entries",L=function(){return this};r.exports=function(R,P,k,U,D,M,B){c(k,P,U);var j=function(Ce){if(Ce===D&&V)return V;if(!S&&Ce in W)return W[Ce];switch(Ce){case w:return function(){return new k(this,Ce)};case x:return function(){return new k(this,Ce)};case T:return function(){return new k(this,Ce)}}return function(){return new k(this)}},H=P+" Iterator",K=!1,W=R.prototype,X=W[y]||W["@@iterator"]||D&&W[D],V=!S&&X||j(D),Z=P=="Array"&&W.entries||X,G,Y,te;if(Z&&(G=e(Z.call(new R)),b!==Object.prototype&&G.next&&(!A&&e(G)!==b&&(a?a(G,b):typeof G[y]!="function"&&u(G,y,L)),i(G,H,!0,!0),A&&(g[H]=L))),D==x&&X&&X.name!==x&&(K=!0,V=function(){return X.call(this)}),(!A||B)&&W[y]!==V&&u(W,y,V),g[P]=V,D)if(Y={values:j(x),keys:M?V:j(w),entries:j(T)},B)for(te in Y)(S||K||!(te in W))&&f(W,te,Y[te]);else n({target:P,proto:!0,forced:S||K},Y);return Y}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(r,s,l){var n=l("./node_modules/core-js/internals/path.js"),c=l("./node_modules/core-js/internals/has.js"),e=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),a=l("./node_modules/core-js/internals/object-define-property.js").f;r.exports=function(i){var u=n.Symbol||(n.Symbol={});c(u,i)||a(u,i,{value:e.f(i)})}},"./node_modules/core-js/internals/descriptors.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js");r.exports=!n(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/is-object.js"),e=n.document,a=c(e)&&c(e.createElement);r.exports=function(i){return a?e.createElement(i):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(r,s,l){var n=l("./node_modules/core-js/internals/get-built-in.js");r.exports=n("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/engine-user-agent.js"),e=n.process,a=n.Deno,i=e&&e.versions||a&&a.version,u=i&&i.v8,f,m;u?(f=u.split("."),m=f[0]<4?1:f[0]+f[1]):c&&(f=c.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=c.match(/Chrome\/(\d+)/),f&&(m=f[1]))),r.exports=m&&+m},"./node_modules/core-js/internals/enum-bug-keys.js":function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,e=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=l("./node_modules/core-js/internals/redefine.js"),i=l("./node_modules/core-js/internals/set-global.js"),u=l("./node_modules/core-js/internals/copy-constructor-properties.js"),f=l("./node_modules/core-js/internals/is-forced.js");r.exports=function(m,A){var g=m.target,v=m.global,b=m.stat,S,y,w,x,T,L;if(v?y=n:b?y=n[g]||i(g,{}):y=(n[g]||{}).prototype,y)for(w in A){if(T=A[w],m.noTargetGet?(L=c(y,w),x=L&&L.value):x=y[w],S=f(v?w:g+(b?".":"#")+w,m.forced),!S&&x!==void 0){if(typeof T===typeof x)continue;u(T,x)}(m.sham||x&&x.sham)&&e(T,"sham",!0),a(y,w,T,m)}}},"./node_modules/core-js/internals/fails.js":function(r){r.exports=function(s){try{return!!s()}catch(l){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(r,s,l){var n=l("./node_modules/core-js/internals/a-function.js");r.exports=function(c,e,a){if(n(c),e===void 0)return c;switch(a){case 0:return function(){return c.call(e)};case 1:return function(i){return c.call(e,i)};case 2:return function(i,u){return c.call(e,i,u)};case 3:return function(i,u,f){return c.call(e,i,u,f)}}return function(){return c.apply(e,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=function(a){return typeof a=="function"?a:void 0};r.exports=function(e,a){return arguments.length<2?c(n[e]):n[e]&&n[e][a]}},"./node_modules/core-js/internals/global.js":function(r){var s=function(n){return n&&n.Math==Math&&n};r.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof O=="object"&&O)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-object.js"),c={}.hasOwnProperty;r.exports=Object.hasOwn||function(a,i){return c.call(n(a),i)}},"./node_modules/core-js/internals/hidden-keys.js":function(r){r.exports={}},"./node_modules/core-js/internals/html.js":function(r,s,l){var n=l("./node_modules/core-js/internals/get-built-in.js");r.exports=n("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/fails.js"),e=l("./node_modules/core-js/internals/document-create-element.js");r.exports=!n&&!c(function(){return Object.defineProperty(e("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js"),c=l("./node_modules/core-js/internals/classof-raw.js"),e="".split;r.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(a){return c(a)=="String"?e.call(a,""):Object(a)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js"),c=l("./node_modules/core-js/internals/object-set-prototype-of.js");r.exports=function(e,a,i){var u,f;return c&&typeof(u=a.constructor)=="function"&&u!==i&&n(f=u.prototype)&&f!==i.prototype&&c(e,f),e}},"./node_modules/core-js/internals/inspect-source.js":function(r,s,l){var n=l("./node_modules/core-js/internals/shared-store.js"),c=Function.toString;typeof n.inspectSource!="function"&&(n.inspectSource=function(e){return c.call(e)}),r.exports=n.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(r,s,l){var n=l("./node_modules/core-js/internals/native-weak-map.js"),c=l("./node_modules/core-js/internals/global.js"),e=l("./node_modules/core-js/internals/is-object.js"),a=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=l("./node_modules/core-js/internals/has.js"),u=l("./node_modules/core-js/internals/shared-store.js"),f=l("./node_modules/core-js/internals/shared-key.js"),m=l("./node_modules/core-js/internals/hidden-keys.js"),A="Object already initialized",g=c.WeakMap,v,b,S,y=function(U){return S(U)?b(U):v(U,{})},w=function(U){return function(D){var M;if(!e(D)||(M=b(D)).type!==U)throw TypeError("Incompatible receiver, "+U+" required");return M}};if(n||u.state){var x=u.state||(u.state=new g),T=x.get,L=x.has,R=x.set;v=function(U,D){if(L.call(x,U))throw new TypeError(A);return D.facade=U,R.call(x,U,D),D},b=function(U){return T.call(x,U)||{}},S=function(U){return L.call(x,U)}}else{var P=f("state");m[P]=!0,v=function(U,D){if(i(U,P))throw new TypeError(A);return D.facade=U,a(U,P,D),D},b=function(U){return i(U,P)?U[P]:{}},S=function(U){return i(U,P)}}r.exports={set:v,get:b,has:S,enforce:y,getterFor:w}},"./node_modules/core-js/internals/is-array.js":function(r,s,l){var n=l("./node_modules/core-js/internals/classof-raw.js");r.exports=Array.isArray||function(e){return n(e)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js"),c=/#|\.prototype\./,e=function(A,g){var v=i[a(A)];return v==f?!0:v==u?!1:typeof g=="function"?n(g):!!g},a=e.normalize=function(m){return String(m).replace(c,".").toLowerCase()},i=e.data={},u=e.NATIVE="N",f=e.POLYFILL="P";r.exports=e},"./node_modules/core-js/internals/is-object.js":function(r){r.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},"./node_modules/core-js/internals/is-pure.js":function(r){r.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(r,s,l){var n=l("./node_modules/core-js/internals/get-built-in.js"),c=l("./node_modules/core-js/internals/use-symbol-as-uid.js");r.exports=c?function(e){return typeof e=="symbol"}:function(e){var a=n("Symbol");return typeof a=="function"&&Object(e)instanceof a}},"./node_modules/core-js/internals/iterators-core.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/fails.js"),c=l("./node_modules/core-js/internals/object-get-prototype-of.js"),e=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=l("./node_modules/core-js/internals/has.js"),i=l("./node_modules/core-js/internals/well-known-symbol.js"),u=l("./node_modules/core-js/internals/is-pure.js"),f=i("iterator"),m=!1,A=function(){return this},g,v,b;[].keys&&(b=[].keys(),"next"in b?(v=c(c(b)),v!==Object.prototype&&(g=v)):m=!0);var S=g==null||n(function(){var y={};return g[f].call(y)!==y});S&&(g={}),(!u||S)&&!a(g,f)&&e(g,f,A),r.exports={IteratorPrototype:g,BUGGY_SAFARI_ITERATORS:m}},"./node_modules/core-js/internals/iterators.js":function(r){r.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(r,s,l){var n=l("./node_modules/core-js/internals/engine-v8-version.js"),c=l("./node_modules/core-js/internals/fails.js");r.exports=!!Object.getOwnPropertySymbols&&!c(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},"./node_modules/core-js/internals/native-weak-map.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/inspect-source.js"),e=n.WeakMap;r.exports=typeof e=="function"&&/native code/.test(c(e))},"./node_modules/core-js/internals/object-assign.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/fails.js"),e=l("./node_modules/core-js/internals/object-keys.js"),a=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),i=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),u=l("./node_modules/core-js/internals/to-object.js"),f=l("./node_modules/core-js/internals/indexed-object.js"),m=Object.assign,A=Object.defineProperty;r.exports=!m||c(function(){if(n&&m({b:1},m(A({},"a",{enumerable:!0,get:function(){A(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var g={},v={},b=Symbol(),S="abcdefghijklmnopqrst";return g[b]=7,S.split("").forEach(function(y){v[y]=y}),m({},g)[b]!=7||e(m({},v)).join("")!=S})?function(v,b){for(var S=u(v),y=arguments.length,w=1,x=a.f,T=i.f;y>w;)for(var L=f(arguments[w++]),R=x?e(L).concat(x(L)):e(L),P=R.length,k=0,U;P>k;)U=R[k++],(!n||T.call(L,U))&&(S[U]=L[U]);return S}:m},"./node_modules/core-js/internals/object-create.js":function(r,s,l){var n=l("./node_modules/core-js/internals/an-object.js"),c=l("./node_modules/core-js/internals/object-define-properties.js"),e=l("./node_modules/core-js/internals/enum-bug-keys.js"),a=l("./node_modules/core-js/internals/hidden-keys.js"),i=l("./node_modules/core-js/internals/html.js"),u=l("./node_modules/core-js/internals/document-create-element.js"),f=l("./node_modules/core-js/internals/shared-key.js"),m=">",A="<",g="prototype",v="script",b=f("IE_PROTO"),S=function(){},y=function(P){return A+v+m+P+A+"/"+v+m},w=function(P){P.write(y("")),P.close();var k=P.parentWindow.Object;return P=null,k},x=function(){var P=u("iframe"),k="java"+v+":",U;if(P.style)return P.style.display="none",i.appendChild(P),P.src=String(k),U=P.contentWindow.document,U.open(),U.write(y("document.F=Object")),U.close(),U.F},T,L=function(){try{T=new ActiveXObject("htmlfile")}catch(k){}L=document.domain&&T?w(T):x()||w(T);for(var P=e.length;P--;)delete L[g][e[P]];return L()};a[b]=!0,r.exports=Object.create||function(P,k){var U;return P!==null?(S[g]=n(P),U=new S,S[g]=null,U[b]=P):U=L(),k===void 0?U:c(U,k)}},"./node_modules/core-js/internals/object-define-properties.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/object-define-property.js"),e=l("./node_modules/core-js/internals/an-object.js"),a=l("./node_modules/core-js/internals/object-keys.js");r.exports=n?Object.defineProperties:function(u,f){e(u);for(var m=a(f),A=m.length,g=0,v;A>g;)c.f(u,v=m[g++],f[v]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/ie8-dom-define.js"),e=l("./node_modules/core-js/internals/an-object.js"),a=l("./node_modules/core-js/internals/to-property-key.js"),i=Object.defineProperty;s.f=n?i:function(f,m,A){if(e(f),m=a(m),e(A),c)try{return i(f,m,A)}catch(g){}if("get"in A||"set"in A)throw TypeError("Accessors not supported");return"value"in A&&(f[m]=A.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),e=l("./node_modules/core-js/internals/create-property-descriptor.js"),a=l("./node_modules/core-js/internals/to-indexed-object.js"),i=l("./node_modules/core-js/internals/to-property-key.js"),u=l("./node_modules/core-js/internals/has.js"),f=l("./node_modules/core-js/internals/ie8-dom-define.js"),m=Object.getOwnPropertyDescriptor;s.f=n?m:function(g,v){if(g=a(g),v=i(v),f)try{return m(g,v)}catch(b){}if(u(g,v))return e(!c.f.call(g,v),g[v])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-indexed-object.js"),c=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,e={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(f){try{return c(f)}catch(m){return a.slice()}};r.exports.f=function(f){return a&&e.call(f)=="[object Window]"?i(f):c(n(f))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(r,s,l){var n=l("./node_modules/core-js/internals/object-keys-internal.js"),c=l("./node_modules/core-js/internals/enum-bug-keys.js"),e=c.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(i){return n(i,e)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(r,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(r,s,l){var n=l("./node_modules/core-js/internals/has.js"),c=l("./node_modules/core-js/internals/to-object.js"),e=l("./node_modules/core-js/internals/shared-key.js"),a=l("./node_modules/core-js/internals/correct-prototype-getter.js"),i=e("IE_PROTO"),u=Object.prototype;r.exports=a?Object.getPrototypeOf:function(f){return f=c(f),n(f,i)?f[i]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(r,s,l){var n=l("./node_modules/core-js/internals/has.js"),c=l("./node_modules/core-js/internals/to-indexed-object.js"),e=l("./node_modules/core-js/internals/array-includes.js").indexOf,a=l("./node_modules/core-js/internals/hidden-keys.js");r.exports=function(i,u){var f=c(i),m=0,A=[],g;for(g in f)!n(a,g)&&n(f,g)&&A.push(g);for(;u.length>m;)n(f,g=u[m++])&&(~e(A,g)||A.push(g));return A}},"./node_modules/core-js/internals/object-keys.js":function(r,s,l){var n=l("./node_modules/core-js/internals/object-keys-internal.js"),c=l("./node_modules/core-js/internals/enum-bug-keys.js");r.exports=Object.keys||function(a){return n(a,c)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(r,s){"use strict";var l={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,c=n&&!l.call({1:2},1);s.f=c?function(a){var i=n(this,a);return!!i&&i.enumerable}:l},"./node_modules/core-js/internals/object-set-prototype-of.js":function(r,s,l){var n=l("./node_modules/core-js/internals/an-object.js"),c=l("./node_modules/core-js/internals/a-possible-prototype.js");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,a={},i;try{i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,i.call(a,[]),e=a instanceof Array}catch(u){}return function(f,m){return n(f),c(m),e?i.call(f,m):f.__proto__=m,f}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/to-string-tag-support.js"),c=l("./node_modules/core-js/internals/classof.js");r.exports=n?{}.toString:function(){return"[object "+c(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js");r.exports=function(c,e){var a,i;if(e==="string"&&typeof(a=c.toString)=="function"&&!n(i=a.call(c)))return i;if(typeof(a=c.valueOf)=="function"&&!n(i=a.call(c)))return i;if(e!=="string"&&typeof(a=c.toString)=="function"&&!n(i=a.call(c)))return i;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(r,s,l){var n=l("./node_modules/core-js/internals/get-built-in.js"),c=l("./node_modules/core-js/internals/object-get-own-property-names.js"),e=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=l("./node_modules/core-js/internals/an-object.js");r.exports=n("Reflect","ownKeys")||function(u){var f=c.f(a(u)),m=e.f;return m?f.concat(m(u)):f}},"./node_modules/core-js/internals/path.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js");r.exports=n},"./node_modules/core-js/internals/redefine.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),e=l("./node_modules/core-js/internals/has.js"),a=l("./node_modules/core-js/internals/set-global.js"),i=l("./node_modules/core-js/internals/inspect-source.js"),u=l("./node_modules/core-js/internals/internal-state.js"),f=u.get,m=u.enforce,A=String(String).split("String");(r.exports=function(g,v,b,S){var y=S?!!S.unsafe:!1,w=S?!!S.enumerable:!1,x=S?!!S.noTargetGet:!1,T;if(typeof b=="function"&&(typeof v=="string"&&!e(b,"name")&&c(b,"name",v),T=m(b),T.source||(T.source=A.join(typeof v=="string"?v:""))),g===n){w?g[v]=b:a(v,b);return}else y?!x&&g[v]&&(w=!0):delete g[v];w?g[v]=b:c(g,v,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||i(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/an-object.js");r.exports=function(){var c=n(this),e="";return c.global&&(e+="g"),c.ignoreCase&&(e+="i"),c.multiline&&(e+="m"),c.dotAll&&(e+="s"),c.unicode&&(e+="u"),c.sticky&&(e+="y"),e}},"./node_modules/core-js/internals/require-object-coercible.js":function(r){r.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js");r.exports=function(c,e){try{Object.defineProperty(n,c,{value:e,configurable:!0,writable:!0})}catch(a){n[c]=e}return e}},"./node_modules/core-js/internals/set-to-string-tag.js":function(r,s,l){var n=l("./node_modules/core-js/internals/object-define-property.js").f,c=l("./node_modules/core-js/internals/has.js"),e=l("./node_modules/core-js/internals/well-known-symbol.js"),a=e("toStringTag");r.exports=function(i,u,f){i&&!c(i=f?i:i.prototype,a)&&n(i,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(r,s,l){var n=l("./node_modules/core-js/internals/shared.js"),c=l("./node_modules/core-js/internals/uid.js"),e=n("keys");r.exports=function(a){return e[a]||(e[a]=c(a))}},"./node_modules/core-js/internals/shared-store.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/set-global.js"),e="__core-js_shared__",a=n[e]||c(e,{});r.exports=a},"./node_modules/core-js/internals/shared.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-pure.js"),c=l("./node_modules/core-js/internals/shared-store.js");(r.exports=function(e,a){return c[e]||(c[e]=a!==void 0?a:{})})("versions",[]).push({version:"3.16.0",mode:n?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(r,s,l){var n=l("./node_modules/core-js/internals/fails.js");r.exports=function(c){return n(function(){var e=""[c]('"');return e!==e.toLowerCase()||e.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-integer.js"),c=l("./node_modules/core-js/internals/to-string.js"),e=l("./node_modules/core-js/internals/require-object-coercible.js"),a=function(u){return function(f,m){var A=c(e(f)),g=n(m),v=A.length,b,S;return g<0||g>=v?u?"":void 0:(b=A.charCodeAt(g),b<55296||b>56319||g+1===v||(S=A.charCodeAt(g+1))<56320||S>57343?u?A.charAt(g):b:u?A.slice(g,g+2):(b-55296<<10)+(S-56320)+65536)}};r.exports={codeAt:a(!1),charAt:a(!0)}},"./node_modules/core-js/internals/string-trim.js":function(r,s,l){var n=l("./node_modules/core-js/internals/require-object-coercible.js"),c=l("./node_modules/core-js/internals/to-string.js"),e=l("./node_modules/core-js/internals/whitespaces.js"),a="["+e+"]",i=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),f=function(A){return function(g){var v=c(n(g));return A&1&&(v=v.replace(i,"")),A&2&&(v=v.replace(u,"")),v}};r.exports={start:f(1),end:f(2),trim:f(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-integer.js"),c=Math.max,e=Math.min;r.exports=function(a,i){var u=n(a);return u<0?c(u+i,0):e(u,i)}},"./node_modules/core-js/internals/to-indexed-object.js":function(r,s,l){var n=l("./node_modules/core-js/internals/indexed-object.js"),c=l("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(e){return n(c(e))}},"./node_modules/core-js/internals/to-integer.js":function(r){var s=Math.ceil,l=Math.floor;r.exports=function(n){return isNaN(n=+n)?0:(n>0?l:s)(n)}},"./node_modules/core-js/internals/to-length.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-integer.js"),c=Math.min;r.exports=function(e){return e>0?c(n(e),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(r,s,l){var n=l("./node_modules/core-js/internals/require-object-coercible.js");r.exports=function(c){return Object(n(c))}},"./node_modules/core-js/internals/to-primitive.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-object.js"),c=l("./node_modules/core-js/internals/is-symbol.js"),e=l("./node_modules/core-js/internals/ordinary-to-primitive.js"),a=l("./node_modules/core-js/internals/well-known-symbol.js"),i=a("toPrimitive");r.exports=function(u,f){if(!n(u)||c(u))return u;var m=u[i],A;if(m!==void 0){if(f===void 0&&(f="default"),A=m.call(u,f),!n(A)||c(A))return A;throw TypeError("Can't convert object to primitive value")}return f===void 0&&(f="number"),e(u,f)}},"./node_modules/core-js/internals/to-property-key.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-primitive.js"),c=l("./node_modules/core-js/internals/is-symbol.js");r.exports=function(e){var a=n(e,"string");return c(a)?a:String(a)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(r,s,l){var n=l("./node_modules/core-js/internals/well-known-symbol.js"),c=n("toStringTag"),e={};e[c]="z",r.exports=String(e)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(r,s,l){var n=l("./node_modules/core-js/internals/is-symbol.js");r.exports=function(c){if(n(c))throw TypeError("Cannot convert a Symbol value to a string");return String(c)}},"./node_modules/core-js/internals/uid.js":function(r){var s=0,l=Math.random();r.exports=function(n){return"Symbol("+String(n===void 0?"":n)+")_"+(++s+l).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(r,s,l){var n=l("./node_modules/core-js/internals/native-symbol.js");r.exports=n&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(r,s,l){var n=l("./node_modules/core-js/internals/well-known-symbol.js");s.f=n},"./node_modules/core-js/internals/well-known-symbol.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/shared.js"),e=l("./node_modules/core-js/internals/has.js"),a=l("./node_modules/core-js/internals/uid.js"),i=l("./node_modules/core-js/internals/native-symbol.js"),u=l("./node_modules/core-js/internals/use-symbol-as-uid.js"),f=c("wks"),m=n.Symbol,A=u?m:m&&m.withoutSetter||a;r.exports=function(g){return(!e(f,g)||!(i||typeof f[g]=="string"))&&(i&&e(m,g)?f[g]=m[g]:f[g]=A("Symbol."+g)),f[g]}},"./node_modules/core-js/internals/whitespaces.js":function(r){r.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/fails.js"),e=l("./node_modules/core-js/internals/is-array.js"),a=l("./node_modules/core-js/internals/is-object.js"),i=l("./node_modules/core-js/internals/to-object.js"),u=l("./node_modules/core-js/internals/to-length.js"),f=l("./node_modules/core-js/internals/create-property.js"),m=l("./node_modules/core-js/internals/array-species-create.js"),A=l("./node_modules/core-js/internals/array-method-has-species-support.js"),g=l("./node_modules/core-js/internals/well-known-symbol.js"),v=l("./node_modules/core-js/internals/engine-v8-version.js"),b=g("isConcatSpreadable"),S=9007199254740991,y="Maximum allowed index exceeded",w=v>=51||!c(function(){var R=[];return R[b]=!1,R.concat()[0]!==R}),x=A("concat"),T=function(P){if(!a(P))return!1;var k=P[b];return k!==void 0?!!k:e(P)},L=!w||!x;n({target:"Array",proto:!0,forced:L},{concat:function(P){var k=i(this),U=m(k,0),D=0,M,B,j,H,K;for(M=-1,j=arguments.length;M<j;M++)if(K=M===-1?k:arguments[M],T(K)){if(H=u(K.length),D+H>S)throw TypeError(y);for(B=0;B<H;B++,D++)B in K&&f(U,D,K[B])}else{if(D>=S)throw TypeError(y);f(U,D++,K)}return U.length=D,U}})},"./node_modules/core-js/modules/es.array.iterator.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/to-indexed-object.js"),c=l("./node_modules/core-js/internals/add-to-unscopables.js"),e=l("./node_modules/core-js/internals/iterators.js"),a=l("./node_modules/core-js/internals/internal-state.js"),i=l("./node_modules/core-js/internals/define-iterator.js"),u="Array Iterator",f=a.set,m=a.getterFor(u);r.exports=i(Array,"Array",function(A,g){f(this,{type:u,target:n(A),index:0,kind:g})},function(){var A=m(this),g=A.target,v=A.kind,b=A.index++;return!g||b>=g.length?(A.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:b,done:!1}:v=="values"?{value:g[b],done:!1}:{value:[b,g[b]],done:!1}},"values"),e.Arguments=e.Array,c("keys"),c("values"),c("entries")},"./node_modules/core-js/modules/es.array.join.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/indexed-object.js"),e=l("./node_modules/core-js/internals/to-indexed-object.js"),a=l("./node_modules/core-js/internals/array-method-is-strict.js"),i=[].join,u=c!=Object,f=a("join",",");n({target:"Array",proto:!0,forced:u||!f},{join:function(A){return i.call(e(this),A===void 0?",":A)}})},"./node_modules/core-js/modules/es.array.map.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/array-iteration.js").map,e=l("./node_modules/core-js/internals/array-method-has-species-support.js"),a=e("map");n({target:"Array",proto:!0,forced:!a},{map:function(u){return c(this,u,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/is-object.js"),e=l("./node_modules/core-js/internals/is-array.js"),a=l("./node_modules/core-js/internals/to-absolute-index.js"),i=l("./node_modules/core-js/internals/to-length.js"),u=l("./node_modules/core-js/internals/to-indexed-object.js"),f=l("./node_modules/core-js/internals/create-property.js"),m=l("./node_modules/core-js/internals/well-known-symbol.js"),A=l("./node_modules/core-js/internals/array-method-has-species-support.js"),g=A("slice"),v=m("species"),b=[].slice,S=Math.max;n({target:"Array",proto:!0,forced:!g},{slice:function(w,x){var T=u(this),L=i(T.length),R=a(w,L),P=a(x===void 0?L:x,L),k,U,D;if(e(T)&&(k=T.constructor,typeof k=="function"&&(k===Array||e(k.prototype))?k=void 0:c(k)&&(k=k[v],k===null&&(k=void 0)),k===Array||k===void 0))return b.call(T,R,P);for(U=new(k===void 0?Array:k)(S(P-R,0)),D=0;R<P;R++,D++)R in T&&f(U,D,T[R]);return U.length=D,U}})},"./node_modules/core-js/modules/es.function.name.js":function(r,s,l){var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/object-define-property.js").f,e=Function.prototype,a=e.toString,i=/^\s*function ([^ (]*)/,u="name";n&&!(u in e)&&c(e,u,{configurable:!0,get:function(){try{return a.call(this).match(i)[1]}catch(m){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/descriptors.js"),c=l("./node_modules/core-js/internals/global.js"),e=l("./node_modules/core-js/internals/is-forced.js"),a=l("./node_modules/core-js/internals/redefine.js"),i=l("./node_modules/core-js/internals/has.js"),u=l("./node_modules/core-js/internals/classof-raw.js"),f=l("./node_modules/core-js/internals/inherit-if-required.js"),m=l("./node_modules/core-js/internals/is-symbol.js"),A=l("./node_modules/core-js/internals/to-primitive.js"),g=l("./node_modules/core-js/internals/fails.js"),v=l("./node_modules/core-js/internals/object-create.js"),b=l("./node_modules/core-js/internals/object-get-own-property-names.js").f,S=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,y=l("./node_modules/core-js/internals/object-define-property.js").f,w=l("./node_modules/core-js/internals/string-trim.js").trim,x="Number",T=c[x],L=T.prototype,R=u(v(L))==x,P=function(j){if(m(j))throw TypeError("Cannot convert a Symbol value to a number");var H=A(j,"number"),K,W,X,V,Z,G,Y,te;if(typeof H=="string"&&H.length>2){if(H=w(H),K=H.charCodeAt(0),K===43||K===45){if(W=H.charCodeAt(2),W===88||W===120)return NaN}else if(K===48){switch(H.charCodeAt(1)){case 66:case 98:X=2,V=49;break;case 79:case 111:X=8,V=55;break;default:return+H}for(Z=H.slice(2),G=Z.length,Y=0;Y<G;Y++)if(te=Z.charCodeAt(Y),te<48||te>V)return NaN;return parseInt(Z,X)}}return+H};if(e(x,!T(" 0o1")||!T("0b1")||T("+0x1"))){for(var k=function(j){var H=arguments.length<1?0:j,K=this;return K instanceof k&&(R?g(function(){L.valueOf.call(K)}):u(K)!=x)?f(new T(P(H)),K,k):P(H)},U=n?b(T):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),D=0,M;U.length>D;D++)i(T,M=U[D])&&!i(k,M)&&y(k,M,S(T,M));k.prototype=L,L.constructor=k,a(c,x,k)}},"./node_modules/core-js/modules/es.object.assign.js":function(r,s,l){var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/object-assign.js");n({target:"Object",stat:!0,forced:Object.assign!==c},{assign:c})},"./node_modules/core-js/modules/es.object.keys.js":function(r,s,l){var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/to-object.js"),e=l("./node_modules/core-js/internals/object-keys.js"),a=l("./node_modules/core-js/internals/fails.js"),i=a(function(){e(1)});n({target:"Object",stat:!0,forced:i},{keys:function(f){return e(c(f))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(r,s,l){var n=l("./node_modules/core-js/internals/to-string-tag-support.js"),c=l("./node_modules/core-js/internals/redefine.js"),e=l("./node_modules/core-js/internals/object-to-string.js");n||c(Object.prototype,"toString",e,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/redefine.js"),c=l("./node_modules/core-js/internals/an-object.js"),e=l("./node_modules/core-js/internals/to-string.js"),a=l("./node_modules/core-js/internals/fails.js"),i=l("./node_modules/core-js/internals/regexp-flags.js"),u="toString",f=RegExp.prototype,m=f[u],A=a(function(){return m.call({source:"a",flags:"b"})!="/a/b"}),g=m.name!=u;(A||g)&&n(RegExp.prototype,u,function(){var b=c(this),S=e(b.source),y=b.flags,w=e(y===void 0&&b instanceof RegExp&&!("flags"in f)?i.call(b):y);return"/"+S+"/"+w},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/string-multibyte.js").charAt,c=l("./node_modules/core-js/internals/to-string.js"),e=l("./node_modules/core-js/internals/internal-state.js"),a=l("./node_modules/core-js/internals/define-iterator.js"),i="String Iterator",u=e.set,f=e.getterFor(i);a(String,"String",function(m){u(this,{type:i,string:c(m),index:0})},function(){var A=f(this),g=A.string,v=A.index,b;return v>=g.length?{value:void 0,done:!0}:(b=n(g,v),A.index+=b.length,{value:b,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/create-html.js"),e=l("./node_modules/core-js/internals/string-html-forced.js");n({target:"String",proto:!0,forced:e("link")},{link:function(i){return c(this,"a","href",i)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/descriptors.js"),e=l("./node_modules/core-js/internals/global.js"),a=l("./node_modules/core-js/internals/has.js"),i=l("./node_modules/core-js/internals/is-object.js"),u=l("./node_modules/core-js/internals/object-define-property.js").f,f=l("./node_modules/core-js/internals/copy-constructor-properties.js"),m=e.Symbol;if(c&&typeof m=="function"&&(!("description"in m.prototype)||m().description!==void 0)){var A={},g=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),T=this instanceof g?new m(x):x===void 0?m():m(x);return x===""&&(A[T]=!0),T};f(g,m);var v=g.prototype=m.prototype;v.constructor=g;var b=v.toString,S=String(m("test"))=="Symbol(test)",y=/^Symbol\((.*)\)[^)]+$/;u(v,"description",{configurable:!0,get:function(){var x=i(this)?this.valueOf():this,T=b.call(x);if(a(A,x))return"";var L=S?T.slice(7,-1):T.replace(y,"$1");return L===""?void 0:L}}),n({global:!0,forced:!0},{Symbol:g})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(r,s,l){var n=l("./node_modules/core-js/internals/define-well-known-symbol.js");n("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(r,s,l){"use strict";var n=l("./node_modules/core-js/internals/export.js"),c=l("./node_modules/core-js/internals/global.js"),e=l("./node_modules/core-js/internals/get-built-in.js"),a=l("./node_modules/core-js/internals/is-pure.js"),i=l("./node_modules/core-js/internals/descriptors.js"),u=l("./node_modules/core-js/internals/native-symbol.js"),f=l("./node_modules/core-js/internals/fails.js"),m=l("./node_modules/core-js/internals/has.js"),A=l("./node_modules/core-js/internals/is-array.js"),g=l("./node_modules/core-js/internals/is-object.js"),v=l("./node_modules/core-js/internals/is-symbol.js"),b=l("./node_modules/core-js/internals/an-object.js"),S=l("./node_modules/core-js/internals/to-object.js"),y=l("./node_modules/core-js/internals/to-indexed-object.js"),w=l("./node_modules/core-js/internals/to-property-key.js"),x=l("./node_modules/core-js/internals/to-string.js"),T=l("./node_modules/core-js/internals/create-property-descriptor.js"),L=l("./node_modules/core-js/internals/object-create.js"),R=l("./node_modules/core-js/internals/object-keys.js"),P=l("./node_modules/core-js/internals/object-get-own-property-names.js"),k=l("./node_modules/core-js/internals/object-get-own-property-names-external.js"),U=l("./node_modules/core-js/internals/object-get-own-property-symbols.js"),D=l("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),M=l("./node_modules/core-js/internals/object-define-property.js"),B=l("./node_modules/core-js/internals/object-property-is-enumerable.js"),j=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),H=l("./node_modules/core-js/internals/redefine.js"),K=l("./node_modules/core-js/internals/shared.js"),W=l("./node_modules/core-js/internals/shared-key.js"),X=l("./node_modules/core-js/internals/hidden-keys.js"),V=l("./node_modules/core-js/internals/uid.js"),Z=l("./node_modules/core-js/internals/well-known-symbol.js"),G=l("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),Y=l("./node_modules/core-js/internals/define-well-known-symbol.js"),te=l("./node_modules/core-js/internals/set-to-string-tag.js"),se=l("./node_modules/core-js/internals/internal-state.js"),Ce=l("./node_modules/core-js/internals/array-iteration.js").forEach,he=W("hidden"),xe="Symbol",ie="prototype",ee=Z("toPrimitive"),Ze=se.set,Se=se.getterFor(xe),Ne=Object[ie],it=c.Symbol,Ye=e("JSON","stringify"),nt=D.f,je=M.f,et=k.f,He=B.f,pe=K("symbols"),ae=K("op-symbols"),re=K("string-to-symbol-registry"),be=K("symbol-to-string-registry"),ze=K("wks"),Ke=c.QObject,Te=!Ke||!Ke[ie]||!Ke[ie].findChild,gt=i&&f(function(){return L(je({},"a",{get:function(){return je(this,"a",{value:7}).a}})).a!=7})?function(dt,Ve,de){var Ht=nt(Ne,Ve);Ht&&delete Ne[Ve],je(dt,Ve,de),Ht&&dt!==Ne&&je(Ne,Ve,Ht)}:je,Ue=function(Ve,de){var Ht=pe[Ve]=L(it[ie]);return Ze(Ht,{type:xe,tag:Ve,description:de}),i||(Ht.description=de),Ht},bt=function(Ve,de,Ht){Ve===Ne&&bt(ae,de,Ht),b(Ve);var tr=w(de);return b(Ht),m(pe,tr)?(Ht.enumerable?(m(Ve,he)&&Ve[he][tr]&&(Ve[he][tr]=!1),Ht=L(Ht,{enumerable:T(0,!1)})):(m(Ve,he)||je(Ve,he,T(1,{})),Ve[he][tr]=!0),gt(Ve,tr,Ht)):je(Ve,tr,Ht)},wt=function(Ve,de){b(Ve);var Ht=y(de),tr=R(Ht).concat(ce(Ht));return Ce(tr,function(lt){(!i||xt.call(Ht,lt))&&bt(Ve,lt,Ht[lt])}),Ve},Et=function(Ve,de){return de===void 0?L(Ve):wt(L(Ve),de)},xt=function(Ve){var de=w(Ve),Ht=He.call(this,de);return this===Ne&&m(pe,de)&&!m(ae,de)?!1:Ht||!m(this,de)||!m(pe,de)||m(this,he)&&this[he][de]?Ht:!0},Tt=function(Ve,de){var Ht=y(Ve),tr=w(de);if(Ht===Ne&&m(pe,tr)&&!m(ae,tr))return;var lt=nt(Ht,tr);return lt&&m(pe,tr)&&!(m(Ht,he)&&Ht[he][tr])&&(lt.enumerable=!0),lt},Be=function(Ve){var de=et(y(Ve)),Ht=[];return Ce(de,function(tr){!m(pe,tr)&&!m(X,tr)&&Ht.push(tr)}),Ht},ce=function(Ve){var de=Ve===Ne,Ht=et(de?ae:y(Ve)),tr=[];return Ce(Ht,function(lt){m(pe,lt)&&(!de||m(Ne,lt))&&tr.push(pe[lt])}),tr};if(u||(it=function(){if(this instanceof it)throw TypeError("Symbol is not a constructor");var Ve=!arguments.length||arguments[0]===void 0?void 0:x(arguments[0]),de=V(Ve),Ht=function tr(lt){this===Ne&&tr.call(ae,lt),m(this,he)&&m(this[he],de)&&(this[he][de]=!1),gt(this,de,T(1,lt))};return i&&Te&&gt(Ne,de,{configurable:!0,set:Ht}),Ue(de,Ve)},H(it[ie],"toString",function(){return Se(this).tag}),H(it,"withoutSetter",function(dt){return Ue(V(dt),dt)}),B.f=xt,M.f=bt,D.f=Tt,P.f=k.f=Be,U.f=ce,G.f=function(dt){return Ue(Z(dt),dt)},i&&(je(it[ie],"description",{configurable:!0,get:function(){return Se(this).description}}),a||H(Ne,"propertyIsEnumerable",xt,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:it}),Ce(R(ze),function(dt){Y(dt)}),n({target:xe,stat:!0,forced:!u},{for:function(Ve){var de=x(Ve);if(m(re,de))return re[de];var Ht=it(de);return re[de]=Ht,be[Ht]=de,Ht},keyFor:function(Ve){if(!v(Ve))throw TypeError(Ve+" is not a symbol");if(m(be,Ve))return be[Ve]},useSetter:function(){Te=!0},useSimple:function(){Te=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!i},{create:Et,defineProperty:bt,defineProperties:wt,getOwnPropertyDescriptor:Tt}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:Be,getOwnPropertySymbols:ce}),n({target:"Object",stat:!0,forced:f(function(){U.f(1)})},{getOwnPropertySymbols:function(Ve){return U.f(S(Ve))}}),Ye){var q=!u||f(function(){var dt=it();return Ye([dt])!="[null]"||Ye({a:dt})!="{}"||Ye(Object(dt))!="{}"});n({target:"JSON",stat:!0,forced:q},{stringify:function(Ve,de,Ht){for(var tr=[Ve],lt=1,Xt;arguments.length>lt;)tr.push(arguments[lt++]);return Xt=de,!g(de)&&Ve===void 0||v(Ve)?void 0:(A(de)||(de=function(Kr,rr){if(typeof Xt=="function"&&(rr=Xt.call(this,Kr,rr)),!v(rr))return rr}),tr[1]=de,Ye.apply(null,tr))}})}it[ie][ee]||j(it[ie],ee,it[ie].valueOf),te(it,xe),X[he]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/dom-iterables.js"),e=l("./node_modules/core-js/internals/array-for-each.js"),a=l("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var i in c){var u=n[i],f=u&&u.prototype;if(f&&f.forEach!==e)try{a(f,"forEach",e)}catch(m){f.forEach=e}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(r,s,l){var n=l("./node_modules/core-js/internals/global.js"),c=l("./node_modules/core-js/internals/dom-iterables.js"),e=l("./node_modules/core-js/modules/es.array.iterator.js"),a=l("./node_modules/core-js/internals/create-non-enumerable-property.js"),i=l("./node_modules/core-js/internals/well-known-symbol.js"),u=i("iterator"),f=i("toStringTag"),m=e.values;for(var A in c){var g=n[A],v=g&&g.prototype;if(v){if(v[u]!==m)try{a(v,u,m)}catch(S){v[u]=m}if(v[f]||a(v,f,A),c[A]){for(var b in e)if(v[b]!==e[b])try{a(v,b,e[b])}catch(S){v[b]=e[b]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(r){/*!
* @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(s,l){r.exports=l()})(this,function(){"use strict";function s(Ke){var Te=typeof Ke;return Ke!==null&&(Te==="object"||Te==="function")}function l(Ke){return typeof Ke=="function"}var n=void 0;Array.isArray?n=Array.isArray:n=function(Te){return Object.prototype.toString.call(Te)==="[object Array]"};var c=n,e=0,a=void 0,i=void 0,u=function(Te,gt){R[e]=Te,R[e+1]=gt,e+=2,e===2&&(i?i(P):U())};function f(Ke){i=Ke}function m(Ke){u=Ke}var A=typeof window!="undefined"?window:void 0,g=A||{},v=g.MutationObserver||g.WebKitMutationObserver,b=typeof self=="undefined"&&typeof _!="undefined"&&{}.toString.call(_)==="[object process]",S=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function y(){return function(){return _.nextTick(P)}}function w(){return typeof a!="undefined"?function(){a(P)}:L()}function x(){var Ke=0,Te=new v(P),gt=document.createTextNode("");return Te.observe(gt,{characterData:!0}),function(){gt.data=Ke=++Ke%2}}function T(){var Ke=new MessageChannel;return Ke.port1.onmessage=P,function(){return Ke.port2.postMessage(0)}}function L(){var Ke=setTimeout;return function(){return Ke(P,1)}}var R=new Array(1e3);function P(){for(var Ke=0;Ke<e;Ke+=2){var Te=R[Ke],gt=R[Ke+1];Te(gt),R[Ke]=void 0,R[Ke+1]=void 0}e=0}function k(){try{var Ke=Function("return this")().require("vertx");return a=Ke.runOnLoop||Ke.runOnContext,w()}catch(Te){return L()}}var U=void 0;b?U=y():v?U=x():S?U=T():A===void 0&&!0?U=k():U=L();function D(Ke,Te){var gt=this,Ue=new this.constructor(j);Ue[B]===void 0&&Ye(Ue);var bt=gt._state;if(bt){var wt=arguments[bt-1];u(function(){return Ze(bt,Ue,wt,gt._result)})}else ie(gt,Ue,Ke,Te);return Ue}function M(Ke){var Te=this;if(Ke&&typeof Ke=="object"&&Ke.constructor===Te)return Ke;var gt=new Te(j);return se(gt,Ke),gt}var B=Math.random().toString(36).substring(2);function j(){}var H=void 0,K=1,W=2;function X(){return new TypeError("You cannot resolve a promise with itself")}function V(){return new TypeError("A promises callback cannot return that same promise.")}function Z(Ke,Te,gt,Ue){try{Ke.call(Te,gt,Ue)}catch(bt){return bt}}function G(Ke,Te,gt){u(function(Ue){var bt=!1,wt=Z(gt,Te,function(Et){if(bt)return;bt=!0,Te!==Et?se(Ue,Et):he(Ue,Et)},function(Et){if(bt)return;bt=!0,xe(Ue,Et)},"Settle: "+(Ue._label||" unknown promise"));!bt&&wt&&(bt=!0,xe(Ue,wt))},Ke)}function Y(Ke,Te){Te._state===K?he(Ke,Te._result):Te._state===W?xe(Ke,Te._result):ie(Te,void 0,function(gt){return se(Ke,gt)},function(gt){return xe(Ke,gt)})}function te(Ke,Te,gt){Te.constructor===Ke.constructor&&gt===D&&Te.constructor.resolve===M?Y(Ke,Te):gt===void 0?he(Ke,Te):l(gt)?G(Ke,Te,gt):he(Ke,Te)}function se(Ke,Te){if(Ke===Te)xe(Ke,X());else if(s(Te)){var gt=void 0;try{gt=Te.then}catch(Ue){xe(Ke,Ue);return}te(Ke,Te,gt)}else he(Ke,Te)}function Ce(Ke){Ke._onerror&&Ke._onerror(Ke._result),ee(Ke)}function he(Ke,Te){if(Ke._state!==H)return;Ke._result=Te,Ke._state=K,Ke._subscribers.length!==0&&u(ee,Ke)}function xe(Ke,Te){if(Ke._state!==H)return;Ke._state=W,Ke._result=Te,u(Ce,Ke)}function ie(Ke,Te,gt,Ue){var bt=Ke._subscribers,wt=bt.length;Ke._onerror=null,bt[wt]=Te,bt[wt+K]=gt,bt[wt+W]=Ue,wt===0&&Ke._state&&u(ee,Ke)}function ee(Ke){var Te=Ke._subscribers,gt=Ke._state;if(Te.length===0)return;for(var Ue=void 0,bt=void 0,wt=Ke._result,Et=0;Et<Te.length;Et+=3)Ue=Te[Et],bt=Te[Et+gt],Ue?Ze(gt,Ue,bt,wt):bt(wt);Ke._subscribers.length=0}function Ze(Ke,Te,gt,Ue){var bt=l(gt),wt=void 0,Et=void 0,xt=!0;if(bt){try{wt=gt(Ue)}catch(Tt){xt=!1,Et=Tt}if(Te===wt){xe(Te,V());return}}else wt=Ue;Te._state!==H||(bt&&xt?se(Te,wt):xt===!1?xe(Te,Et):Ke===K?he(Te,wt):Ke===W&&xe(Te,wt))}function Se(Ke,Te){try{Te(function(Ue){se(Ke,Ue)},function(Ue){xe(Ke,Ue)})}catch(gt){xe(Ke,gt)}}var Ne=0;function it(){return Ne++}function Ye(Ke){Ke[B]=Ne++,Ke._state=void 0,Ke._result=void 0,Ke._subscribers=[]}function nt(){return new Error("Array Methods must be provided an Array")}var je=function(){function Ke(Te,gt){this._instanceConstructor=Te,this.promise=new Te(j),this.promise[B]||Ye(this.promise),c(gt)?(this.length=gt.length,this._remaining=gt.length,this._result=new Array(this.length),this.length===0?he(this.promise,this._result):(this.length=this.length||0,this._enumerate(gt),this._remaining===0&&he(this.promise,this._result))):xe(this.promise,nt())}return Ke.prototype._enumerate=function(gt){for(var Ue=0;this._state===H&&Ue<gt.length;Ue++)this._eachEntry(gt[Ue],Ue)},Ke.prototype._eachEntry=function(gt,Ue){var bt=this._instanceConstructor,wt=bt.resolve;if(wt===M){var Et=void 0,xt=void 0,Tt=!1;try{Et=gt.then}catch(ce){Tt=!0,xt=ce}if(Et===D&&gt._state!==H)this._settledAt(gt._state,Ue,gt._result);else if(typeof Et!="function")this._remaining--,this._result[Ue]=gt;else if(bt===be){var Be=new bt(j);Tt?xe(Be,xt):te(Be,gt,Et),this._willSettleAt(Be,Ue)}else this._willSettleAt(new bt(function(ce){return ce(gt)}),Ue)}else this._willSettleAt(wt(gt),Ue)},Ke.prototype._settledAt=function(gt,Ue,bt){var wt=this.promise;wt._state===H&&(this._remaining--,gt===W?xe(wt,bt):this._result[Ue]=bt),this._remaining===0&&he(wt,this._result)},Ke.prototype._willSettleAt=function(gt,Ue){var bt=this;ie(gt,void 0,function(wt){return bt._settledAt(K,Ue,wt)},function(wt){return bt._settledAt(W,Ue,wt)})},Ke}();function et(Ke){return new je(this,Ke).promise}function He(Ke){var Te=this;return c(Ke)?new Te(function(gt,Ue){for(var bt=Ke.length,wt=0;wt<bt;wt++)Te.resolve(Ke[wt]).then(gt,Ue)}):new Te(function(gt,Ue){return Ue(new TypeError("You must pass an array to race."))})}function pe(Ke){var Te=this,gt=new Te(j);return xe(gt,Ke),gt}function ae(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function re(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var be=function(){function Ke(Te){this[B]=it(),this._result=this._state=void 0,this._subscribers=[],j!==Te&&(typeof Te!="function"&&ae(),this instanceof Ke?Se(this,Te):re())}return Ke.prototype.catch=function(gt){return this.then(null,gt)},Ke.prototype.finally=function(gt){var Ue=this,bt=Ue.constructor;return l(gt)?Ue.then(function(wt){return bt.resolve(gt()).then(function(){return wt})},function(wt){return bt.resolve(gt()).then(function(){throw wt})}):Ue.then(gt,gt)},Ke}();be.prototype.then=D,be.all=et,be.race=He,be.resolve=M,be.reject=pe,be._setScheduler=f,be._setAsap=m,be._asap=u;function ze(){var Ke=void 0;if(typeof O!="undefined")Ke=O;else if(typeof self!="undefined")Ke=self;else try{Ke=Function("return this")()}catch(Ue){throw new Error("polyfill failed because global object is unavailable in this environment")}var Te=Ke.Promise;if(Te){var gt=null;try{gt=Object.prototype.toString.call(Te.resolve())}catch(Ue){}if(gt==="[object Promise]"&&!Te.cast)return}Ke.Promise=be}return be.polyfill=ze,be.Promise=be,be})},html2canvas:function(r){"use strict";r.exports=E},jspdf:function(r){"use strict";r.exports=I}},t={};function p(o){var r=t[o];if(r!==void 0)return r.exports;var s=t[o]={exports:{}};return C[o].call(s.exports,s,s.exports,p),s.exports}!function(){p.n=function(o){var r=o&&o.__esModule?function(){return o.default}:function(){return o};return p.d(r,{a:r}),r}}(),!function(){p.d=function(o,r){for(var s in r)p.o(r,s)&&!p.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:r[s]})}}(),!function(){p.o=function(o,r){return Object.prototype.hasOwnProperty.call(o,r)}}(),!function(){p.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}}();var h={};return!function(){"use strict";/*!**********************!*\
!*** ./src/index.js ***!
\**********************/p.r(h);var o=p("./src/worker.js"),r=p("./src/plugin/jspdf-plugin.js"),s=p("./src/plugin/pagebreaks.js"),l=p("./src/plugin/hyperlinks.js"),n=function c(e,a){var i=new c.Worker(a);return e?i.from(e).save():i};n.Worker=o.default,h.default=n}(),h=h.default,h}()})}).call(this,d("yLpj"),d("Q2Ig"))},"1q3G":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=O;function O(){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(ue,z,d){var O=d("MBQ8"),_=O.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(E){return E.stack=null,_.superApply(this,"getInitialData",arguments)}}),I=_;ue.exports=I},"1u/T":function(ue,z,d){var O=d("ProS"),_={type:"selectDataRange",event:"dataRangeSelected",update:"update"};O.registerAction(_,function(I,E){E.eachComponent({mainType:"visualMap",query:I},function(C){C.setSelected(I.selected)})})},"1vzs":function(ue,z,d){"use strict";d.d(z,"a",function(){return e});var O=d("q1tI"),_=d.n(O),I=d("HQEm"),E=d.n(I),C=d("gZBC"),t=d.n(C),p=d("NAnI"),h=d.n(p),o=d("V/uB"),r=d.n(o),s=d("kbBi"),l=d.n(s),n=d("w6Tc"),c=d.n(n);function e(a){var i=a.suffixIcon,u=a.clearIcon,f=a.menuItemSelectedIcon,m=a.removeIcon,A=a.loading,g=a.multiple,v=a.prefixCls,b=u;u||(b=O.createElement(l.a,null));var S=null;if(i!==void 0)S=i;else if(A)S=O.createElement(t.a,{spin:!0});else{var y="".concat(v,"-suffix");S=function(L){var R=L.open,P=L.showSearch;return R&&P?O.createElement(c.a,{className:y}):O.createElement(E.a,{className:y})}}var w=null;f!==void 0?w=f:g?w=O.createElement(h.a,null):w=null;var x=null;return m!==void 0?x=m:x=O.createElement(r.a,null),{clearIcon:b,suffixIcon:S,itemIcon:w,removeIcon:x}}},"1xaR":function(ue,z,d){var O=d("ProS"),_=d("bYtY");d("qgGe"),d("NA0q"),d("RPvy");var I=d("mOdp"),E=d("y3NT"),C=d("0/Rx");O.registerVisual(_.curry(I,"sunburst")),O.registerLayout(_.curry(E,"sunburst")),O.registerProcessor(_.curry(C,"sunburst"))},"24YM":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.SensorTabIndex=z.SensorClassName=z.SizeSensorId=void 0;var O="size-sensor-id";z.SizeSensorId=O;var _="size-sensor-object";z.SensorClassName=_;var I="-1";z.SensorTabIndex=I},"2548":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("6GrX"),E=d("IUWy"),C=d("IwbS"),t=d("Qxkt"),p=d("gPAo"),h=d("eRkO"),o=O.extendComponentView({type:"toolbox",render:function(s,l,n,c){var e=this.group;if(e.removeAll(),!s.get("show"))return;var a=+s.get("itemSize"),i=s.get("feature")||{},u=this._features||(this._features={}),f=[];_.each(i,function(g,v){f.push(v)}),new p(this._featureNames||[],f).add(m).update(m).remove(_.curry(m,null)).execute(),this._featureNames=f;function m(g,v){var b=f[g],S=f[v],y=i[b],w=new t(y,s,s.ecModel),x;if(c&&c.newTitle!=null&&c.featureName===b&&(y.title=c.newTitle),b&&!S){if(r(b))x={model:w,onclick:w.option.onclick,featureName:b};else{var T=E.get(b);if(!T)return;x=new T(w,l,n)}u[b]=x}else{if(x=u[S],!x)return;x.model=w,x.ecModel=l,x.api=n}if(!b&&S){x.dispose&&x.dispose(l,n);return}if(!w.get("show")||x.unusable){x.remove&&x.remove(l,n);return}A(w,x,b),w.setIconStatus=function(L,R){var P=this.option,k=this.iconPaths;P.iconStatus=P.iconStatus||{},P.iconStatus[L]=R,k[L]&&k[L].trigger(R)},x.render&&x.render(w,l,n,c)}function A(g,v,b){var S=g.getModel("iconStyle"),y=g.getModel("emphasis.iconStyle"),w=v.getIcons?v.getIcons():g.get("icon"),x=g.get("title")||{};if(typeof w=="string"){var T=w,L=x;w={},x={},w[b]=T,x[b]=L}var R=g.iconPaths={};_.each(w,function(P,k){var U=C.createIcon(P,{},{x:-a/2,y:-a/2,width:a,height:a});U.setStyle(S.getItemStyle()),U.hoverStyle=y.getItemStyle(),U.setStyle({text:x[k],textAlign:y.get("textAlign"),textBorderRadius:y.get("textBorderRadius"),textPadding:y.get("textPadding"),textFill:null});var D=s.getModel("tooltip");D&&D.get("show")&&U.attr("tooltip",_.extend({content:x[k],formatter:D.get("formatter",!0)||function(){return x[k]},formatterParams:{componentType:"toolbox",name:k,title:x[k],$vars:["name","title"]},position:D.get("position",!0)||"bottom"},D.option)),C.setHoverStyle(U),s.get("showTitle")&&(U.__title=x[k],U.on("mouseover",function(){var M=y.getItemStyle(),B=s.get("orient")==="vertical"?s.get("right")==null?"right":"left":s.get("bottom")==null?"bottom":"top";U.setStyle({textFill:y.get("textFill")||M.fill||M.stroke||"#000",textBackgroundColor:y.get("textBackgroundColor"),textPosition:y.get("textPosition")||B})}).on("mouseout",function(){U.setStyle({textFill:null,textBackgroundColor:null})})),U.trigger(g.get("iconStatus."+k)||"normal"),e.add(U),U.on("click",_.bind(v.onclick,v,l,n,k)),R[k]=U})}h.layout(e,s,n),e.add(h.makeBackground(e.getBoundingRect(),s)),e.eachChild(function(g){var v=g.__title,b=g.hoverStyle;if(b&&v){var S=I.getBoundingRect(v,I.makeFont(b)),y=g.position[0]+e.position[0],w=g.position[1]+e.position[1]+a,x=!1;w+S.height>n.getHeight()&&(b.textPosition="top",x=!0);var T=x?-5-S.height:a+8;y+S.width/2>n.getWidth()?(b.textPosition=["100%",T],b.textAlign="right"):y-S.width/2<0&&(b.textPosition=[0,T],b.textAlign="left")}})},updateView:function(s,l,n,c){_.each(this._features,function(e){e.updateView&&e.updateView(e.model,l,n,c)})},remove:function(s,l){_.each(this._features,function(n){n.remove&&n.remove(s,l)}),this.group.removeAll()},dispose:function(s,l){_.each(this._features,function(n){n.dispose&&n.dispose(s,l)})}});function r(s){return s.indexOf("my")===0}ue.exports=o},"2B6p":function(ue,z){function d(O,_,I){var E=O.getZoom(),C=O.getCenter(),t=_.zoom,p=O.dataToPoint(C);if(_.dx!=null&&_.dy!=null){p[0]-=_.dx,p[1]-=_.dy;var C=O.pointToData(p);O.setCenter(C)}if(t!=null){if(I){var h=I.min||0,o=I.max||Infinity;t=Math.max(Math.min(E*t,o),h)/E}O.scale[0]*=t,O.scale[1]*=t;var r=O.position,s=(_.originX-r[0])*(t-1),l=(_.originY-r[1])*(t-1);r[0]-=s,r[1]-=l,O.updateTransform();var C=O.pointToData(p);O.setCenter(C),O.setZoom(t*E)}return{center:O.getCenter(),zoom:O.getZoom()}}z.updateCenterAndZoom=d},"2BaD":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CloseCircleOutlined";var p=z.a=_.forwardRef(t)},"2DNl":function(ue,z,d){var O=d("IMiH"),_=d("loD1"),I=d("59Ip"),E=d("aKvl"),C=d("n1HI"),t=d("hX1E"),p=t.normalizeRadian,h=d("Sj9i"),o=d("hyiK"),r=O.CMD,s=Math.PI*2,l=1e-4;function n(v,b){return Math.abs(v-b)<l}var c=[-1,-1,-1],e=[-1,-1];function a(){var v=e[0];e[0]=e[1],e[1]=v}function i(v,b,S,y,w,x,T,L,R,P){if(P>b&&P>y&&P>x&&P>L||P<b&&P<y&&P<x&&P<L)return 0;var k=h.cubicRootAt(b,y,x,L,P,c);if(k===0)return 0;for(var U=0,D=-1,M,B,j=0;j<k;j++){var H=c[j],K=H===0||H===1?.5:1,W=h.cubicAt(v,S,w,T,H);if(W<R)continue;D<0&&(D=h.cubicExtrema(b,y,x,L,e),e[1]<e[0]&&D>1&&a(),M=h.cubicAt(b,y,x,L,e[0]),D>1&&(B=h.cubicAt(b,y,x,L,e[1]))),D===2?H<e[0]?U+=M<b?K:-K:H<e[1]?U+=B<M?K:-K:U+=L<B?K:-K:H<e[0]?U+=M<b?K:-K:U+=L<M?K:-K}return U}function u(v,b,S,y,w,x,T,L){if(L>b&&L>y&&L>x||L<b&&L<y&&L<x)return 0;var R=h.quadraticRootAt(b,y,x,L,c);if(R===0)return 0;var P=h.quadraticExtremum(b,y,x);if(P>=0&&P<=1){for(var k=0,U=h.quadraticAt(b,y,x,P),D=0;D<R;D++){var M=c[D]===0||c[D]===1?.5:1,B=h.quadraticAt(v,S,w,c[D]);if(B<T)continue;c[D]<P?k+=U<b?M:-M:k+=x<U?M:-M}return k}else{var M=c[0]===0||c[0]===1?.5:1,B=h.quadraticAt(v,S,w,c[0]);return B<T?0:x<b?M:-M}}function f(v,b,S,y,w,x,T,L){if(L-=b,L>S||L<-S)return 0;var R=Math.sqrt(S*S-L*L);c[0]=-R,c[1]=R;var P=Math.abs(y-w);if(P<1e-4)return 0;if(P%s<1e-4){y=0,w=s;var k=x?1:-1;return T>=c[0]+v&&T<=c[1]+v?k:0}if(x){var R=y;y=p(w),w=p(R)}else y=p(y),w=p(w);y>w&&(w+=s);for(var U=0,D=0;D<2;D++){var M=c[D];if(M+v>T){var B=Math.atan2(L,M),k=x?1:-1;B<0&&(B=s+B),(B>=y&&B<=w||B+s>=y&&B+s<=w)&&(B>Math.PI/2&&B<Math.PI*1.5&&(k=-k),U+=k)}}return U}function m(v,b,S,y,w){for(var x=0,T=0,L=0,R=0,P=0,k=0;k<v.length;){var U=v[k++];U===r.M&&k>1&&(S||(x+=o(T,L,R,P,y,w))),k===1&&(T=v[k],L=v[k+1],R=T,P=L);switch(U){case r.M:R=v[k++],P=v[k++],T=R,L=P;break;case r.L:if(S){if(_.containStroke(T,L,v[k],v[k+1],b,y,w))return!0}else x+=o(T,L,v[k],v[k+1],y,w)||0;T=v[k++],L=v[k++];break;case r.C:if(S){if(I.containStroke(T,L,v[k++],v[k++],v[k++],v[k++],v[k],v[k+1],b,y,w))return!0}else x+=i(T,L,v[k++],v[k++],v[k++],v[k++],v[k],v[k+1],y,w)||0;T=v[k++],L=v[k++];break;case r.Q:if(S){if(E.containStroke(T,L,v[k++],v[k++],v[k],v[k+1],b,y,w))return!0}else x+=u(T,L,v[k++],v[k++],v[k],v[k+1],y,w)||0;T=v[k++],L=v[k++];break;case r.A:var D=v[k++],M=v[k++],B=v[k++],j=v[k++],H=v[k++],K=v[k++];k+=1;var W=1-v[k++],X=Math.cos(H)*B+D,V=Math.sin(H)*j+M;k>1?x+=o(T,L,X,V,y,w):(R=X,P=V);var Z=(y-D)*j/B+D;if(S){if(C.containStroke(D,M,j,H,H+K,W,b,Z,w))return!0}else x+=f(D,M,j,H,H+K,W,Z,w);T=Math.cos(H+K)*B+D,L=Math.sin(H+K)*j+M;break;case r.R:R=T=v[k++],P=L=v[k++];var G=v[k++],Y=v[k++],X=R+G,V=P+Y;if(S){if(_.containStroke(R,P,X,P,b,y,w)||_.containStroke(X,P,X,V,b,y,w)||_.containStroke(X,V,R,V,b,y,w)||_.containStroke(R,V,R,P,b,y,w))return!0}else x+=o(X,P,X,V,y,w),x+=o(R,V,R,P,y,w);break;case r.Z:if(S){if(_.containStroke(T,L,R,P,b,y,w))return!0}else x+=o(T,L,R,P,y,w);T=R,L=P;break}}return!S&&!n(L,P)&&(x+=o(T,L,R,P,y,w)||0),x!==0}function A(v,b,S){return m(v,0,!1,b,S)}function g(v,b,S,y){return m(v,b,!0,S,y)}z.contain=A,z.containStroke=g},"2Qr1":function(ue,z,d){"use strict";d.d(z,"d",function(){return o}),d.d(z,"c",function(){return s}),d.d(z,"e",function(){return l}),d.d(z,"b",function(){return e}),d.d(z,"f",function(){return a}),d.d(z,"g",function(){return i}),d.d(z,"a",function(){return u});var O=d("rePB"),_=d("KQm4"),I=d("T5bk"),E=d("U8pU"),C=d("VTBJ"),t=d("Kwbf"),p=d("WKfj");function h(f,m){var A=f.key,g;return"value"in f&&(g=f.value),A!=null?A:g!==void 0?g:"rc-index-key-".concat(m)}function o(f){var m=[];function A(g,v){g.forEach(function(b){v||!("options"in b)?m.push({key:h(b,m.length),groupOption:v,data:b}):(m.push({key:h(b,m.length),group:!0,data:b}),A(b.options,!0))})}return A(f,!1),m}function r(f){var m=Object(C.a)({},f);return"props"in m||Object.defineProperty(m,"props",{get:function(){return Object(t.a)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),m}}),m}function s(f,m){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=A.prevValueOptions,v=g===void 0?[]:g,b=new Map;return m.forEach(function(S){if(!S.group){var y=S.data;b.set(y.value,y)}}),f.map(function(S){var y=b.get(S);return y||(y=Object(C.a)({},v.find(function(w){return w._INTERNAL_OPTION_VALUE_===S}))),r(y)})}var l=function(m,A){var g=A.options,v=A.prevValue,b=A.labelInValue,S=A.optionLabelProp,y=s([m],g)[0],w={value:m},x,T=Object(p.d)(v);return b&&(x=T.find(function(L){return Object(E.a)(L)==="object"&&"value"in L?L.value===m:L.key===m})),x&&Object(E.a)(x)==="object"&&"label"in x?(w.label=x.label,y&&typeof x.label=="string"&&typeof y[S]=="string"&&x.label.trim()!==y[S].trim()&&Object(t.a)(!1,"`label` of `value` is not same as `label` in Select options.")):y&&S in y?w.label=y[S]:w.label=m,w.key=w.value,w};function n(f){return Object(p.d)(f).join("")}function c(f){return function(m,A){var g=m.toLowerCase();if("options"in A)return n(A.label).toLowerCase().includes(g);var v=A[f],b=n(v).toLowerCase();return b.includes(g)}}function e(f,m,A){var g=A.optionFilterProp,v=A.filterOption,b=[],S;return v===!1?m:(typeof v=="function"?S=v:S=c(g),m.forEach(function(y){if("options"in y){var w=S(f,y);if(w)b.push(y);else{var x=y.options.filter(function(T){return S(f,T)});x.length&&b.push(Object(C.a)(Object(C.a)({},y),{},{options:x}))}return}S(f,r(y))&&b.push(y)}),b)}function a(f,m){if(!m||!m.length)return null;var A=!1;function g(b,S){var y=Object(I.a)(S),w=y[0],x=y.slice(1);if(!w)return[b];var T=b.split(w);return A=A||T.length>1,T.reduce(function(L,R){return[].concat(Object(_.a)(L),Object(_.a)(g(R,x)))},[]).filter(function(L){return L})}var v=g(f,m);return A?v:null}function i(f,m){var A=s([f],m)[0];return A.disabled}function u(f,m,A,g){var v=Object(p.d)(m).slice().sort(),b=Object(_.a)(f),S=new Set;return f.forEach(function(y){y.options?y.options.forEach(function(w){S.add(w.value)}):S.add(y.value)}),v.forEach(function(y){var w=g?y.value:y;if(!S.has(w)){var x;b.push(g?(x={},Object(O.a)(x,A,y.label),Object(O.a)(x,"value",w),x):{value:w})}}),b}},"2dDv":function(ue,z,d){var O=d("bYtY"),_=d("Fofx"),I=d("+TT/"),E=d("aX7z"),C=d("D1WM"),t=d("IwbS"),p=d("OELB"),h=d("72pK"),o=O.each,r=Math.min,s=Math.max,l=Math.floor,n=Math.ceil,c=p.round,e=Math.PI;function a(A,g,v){this._axesMap=O.createHashMap(),this._axesLayout={},this.dimensions=A.dimensions,this._rect,this._model=A,this._init(A,g,v)}a.prototype={type:"parallel",constructor:a,_init:function(A,g,v){var b=A.dimensions,S=A.parallelAxisIndex;o(b,function(y,w){var x=S[w],T=g.getComponent("parallelAxis",x),L=this._axesMap.set(y,new C(y,E.createScaleByModel(T),[0,0],T.get("type"),x)),R=L.type==="category";L.onBand=R&&T.get("boundaryGap"),L.inverse=T.get("inverse"),T.axis=L,L.model=T,L.coordinateSystem=T.coordinateSystem=this},this)},update:function(A,g){this._updateAxesFromSeries(this._model,A)},containPoint:function(A){var g=this._makeLayoutInfo(),v=g.axisBase,b=g.layoutBase,S=g.pixelDimIndex,y=A[1-S],w=A[S];return y>=v&&y<=v+g.axisLength&&w>=b&&w<=b+g.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(A,g){g.eachSeries(function(v){if(!A.contains(v,g))return;var b=v.getData();o(this.dimensions,function(S){var y=this._axesMap.get(S);y.scale.unionExtentFromData(b,b.mapDimension(S)),E.niceScaleExtent(y.scale,y.model)},this)},this)},resize:function(A,g){this._rect=I.getLayoutRect(A.getBoxLayoutParams(),{width:g.getWidth(),height:g.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var A=this._model,g=this._rect,v=["x","y"],b=["width","height"],S=A.get("layout"),y=S==="horizontal"?0:1,w=g[b[y]],x=[0,w],T=this.dimensions.length,L=i(A.get("axisExpandWidth"),x),R=i(A.get("axisExpandCount")||0,[0,T]),P=A.get("axisExpandable")&&T>3&&T>R&&R>1&&L>0&&w>0,k=A.get("axisExpandWindow"),U;if(k)U=i(k[1]-k[0],x),k[1]=k[0]+U;else{U=i(L*(R-1),x);var D=A.get("axisExpandCenter")||l(T/2);k=[L*D-U/2],k[1]=k[0]+U}var M=(w-U)/(T-R);M<3&&(M=0);var B=[l(c(k[0]/L,1))+1,n(c(k[1]/L,1))-1],j=M/L*k[0];return{layout:S,pixelDimIndex:y,layoutBase:g[v[y]],layoutLength:w,axisBase:g[v[1-y]],axisLength:g[b[1-y]],axisExpandable:P,axisExpandWidth:L,axisCollapseWidth:M,axisExpandWindow:k,axisCount:T,winInnerIndices:B,axisExpandWindow0Pos:j}},_layoutAxes:function(){var A=this._rect,g=this._axesMap,v=this.dimensions,b=this._makeLayoutInfo(),S=b.layout;g.each(function(y){var w=[0,b.axisLength],x=y.inverse?1:0;y.setExtent(w[x],w[1-x])}),o(v,function(y,w){var x=(b.axisExpandable?f:u)(w,b),T={horizontal:{x:x.position,y:b.axisLength},vertical:{x:0,y:x.position}},L={horizontal:e/2,vertical:0},R=[T[S].x+A.x,T[S].y+A.y],P=L[S],k=_.create();_.rotate(k,k,P),_.translate(k,k,R),this._axesLayout[y]={position:R,rotation:P,transform:k,axisNameAvailableWidth:x.axisNameAvailableWidth,axisLabelShow:x.axisLabelShow,nameTruncateMaxWidth:x.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},getAxis:function(A){return this._axesMap.get(A)},dataToPoint:function(A,g){return this.axisCoordToPoint(this._axesMap.get(g).dataToCoord(A),g)},eachActiveState:function(A,g,v,b){v==null&&(v=0),b==null&&(b=A.count());var S=this._axesMap,y=this.dimensions,w=[],x=[];O.each(y,function(M){w.push(A.mapDimension(M)),x.push(S.get(M).model)});for(var T=this.hasAxisBrushed(),L=v;L<b;L++){var R;if(!T)R="normal";else{R="active";for(var P=A.getValues(w,L),k=0,U=y.length;k<U;k++){var D=x[k].getActiveState(P[k]);if(D==="inactive"){R="inactive";break}}}g(R,L)}},hasAxisBrushed:function(){for(var A=this.dimensions,g=this._axesMap,v=!1,b=0,S=A.length;b<S;b++)g.get(A[b]).model.getActiveState()!=="normal"&&(v=!0);return v},axisCoordToPoint:function(A,g){var v=this._axesLayout[g];return t.applyTransform([A,0],v.transform)},getAxisLayout:function(A){return O.clone(this._axesLayout[A])},getSlidedAxisExpandWindow:function(A){var g=this._makeLayoutInfo(),v=g.pixelDimIndex,b=g.axisExpandWindow.slice(),S=b[1]-b[0],y=[0,g.axisExpandWidth*(g.axisCount-1)];if(!this.containPoint(A))return{behavior:"none",axisExpandWindow:b};var w=A[v]-g.layoutBase-g.axisExpandWindow0Pos,x,T="slide",L=g.axisCollapseWidth,R=this._model.get("axisExpandSlideTriggerArea"),P=R[0]!=null;if(L)P&&L&&w<S*R[0]?(T="jump",x=w-S*R[2]):P&&L&&w>S*(1-R[0])?(T="jump",x=w-S*(1-R[2])):(x=w-S*R[1])>=0&&(x=w-S*(1-R[1]))<=0&&(x=0),x*=g.axisExpandWidth/L,x?h(x,b,y,"all"):T="none";else{var S=b[1]-b[0],k=y[1]*w/S;b=[s(0,k-S/2)],b[1]=r(y[1],b[0]+S),b[0]=b[1]-S}return{axisExpandWindow:b,behavior:T}}};function i(A,g){return r(s(A,g[0]),g[1])}function u(A,g){var v=g.layoutLength/(g.axisCount-1);return{position:v*A,axisNameAvailableWidth:v,axisLabelShow:!0}}function f(A,g){var v=g.layoutLength,b=g.axisExpandWidth,S=g.axisCount,y=g.axisCollapseWidth,w=g.winInnerIndices,x,T=y,L=!1,R;return A<w[0]?(x=A*y,R=y):A<=w[1]?(x=g.axisExpandWindow0Pos+A*b-g.axisExpandWindow[0],T=b,L=!0):(x=v-(S-1-A)*y,R=y),{position:x,axisNameAvailableWidth:T,axisLabelShow:L,nameTruncateMaxWidth:R}}var m=a;ue.exports=m},"2fGM":function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("nkfE"),E=d("ICMv"),C=_.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});O.merge(C.prototype,E);var t={angle:{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}},radius:{splitNumber:5}};function p(h,o){return o.type||(o.data?"category":"value")}I("angle",C,p,t.angle),I("radius",C,p,t.radius)},"2fM7":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("q1tI"),c=d("BGR+"),e=d("TSYQ"),a=d.n(e),i=d("1OyB"),u=d("vuIU"),f=d("Ji7U"),m=d("LK+K"),A=d("rePB"),g=d("Ff2n"),v=d("ODXe"),b=d("4IlW"),S=d("bX4T"),y=d("YrtM"),w=d("+nKL"),x=d("8OUc"),T=function(it,Ye){var nt=it.prefixCls,je=it.id,et=it.flattenOptions,He=it.childrenAsData,pe=it.values,ae=it.searchValue,re=it.multiple,be=it.defaultActiveFirstOption,ze=it.height,Ke=it.itemHeight,Te=it.notFoundContent,gt=it.open,Ue=it.menuItemSelectedIcon,bt=it.virtual,wt=it.onSelect,Et=it.onToggleOpen,xt=it.onActiveValue,Tt=it.onScroll,Be=it.onMouseEnter,ce="".concat(nt,"-item"),q=Object(y.a)(function(){return et},[gt,et],function(Nt,ot){return ot[0]&&Nt[1]!==ot[1]}),dt=n.useRef(null),Ve=function(ot){ot.preventDefault()},de=function(ot){dt.current&&dt.current.scrollTo({index:ot})},Ht=function(ot){for(var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,qt=q.length,xr=0;xr<qt;xr+=1){var vr=(ot+xr*Qe+qt)%qt,fr=q[vr],An=fr.group,$r=fr.data;if(!An&&!$r.disabled)return vr}return-1},tr=n.useState(function(){return Ht(0)}),lt=Object(v.a)(tr,2),Xt=lt[0],sr=lt[1],Kr=function(ot){sr(ot);var Qe=q[ot];if(!Qe){xt(null,-1);return}xt(Qe.data.value,ot)};n.useEffect(function(){Kr(be!==!1?Ht(0):-1)},[q.length,ae]),n.useEffect(function(){var Nt=setTimeout(function(){if(!re&&gt&&pe.size===1){var ot=Array.from(pe)[0],Qe=q.findIndex(function(qt){var xr=qt.data;return xr.value===ot});Kr(Qe),de(Qe)}});return function(){return clearTimeout(Nt)}},[gt]);var rr=function(ot){ot!==void 0&&wt(ot,{selected:!pe.has(ot)}),re||Et(!1)};if(n.useImperativeHandle(Ye,function(){return{onKeyDown:function(ot){var Qe=ot.which;switch(Qe){case b.a.UP:case b.a.DOWN:{var qt=0;if(Qe===b.a.UP?qt=-1:Qe===b.a.DOWN&&(qt=1),qt!==0){var xr=Ht(Xt+qt,qt);de(xr),Kr(xr)}break}case b.a.ENTER:{var vr=q[Xt];vr&&!vr.data.disabled?rr(vr.data.value):rr(void 0),gt&&ot.preventDefault();break}case b.a.ESC:Et(!1)}},onKeyUp:function(){},scrollTo:function(ot){de(ot)}}}),q.length===0)return n.createElement("div",{role:"listbox",id:"".concat(je,"_list"),className:"".concat(ce,"-empty"),onMouseDown:Ve},Te);function nr(Nt){var ot=q[Nt];if(!ot)return null;var Qe=ot.data||{},qt=Qe.value,xr=Qe.label,vr=Qe.children,fr=Object(S.a)(Qe,!0),An=He?vr:xr;return ot?n.createElement("div",Object.assign({"aria-label":typeof An=="string"?An:null},fr,{key:Nt,role:"option",id:"".concat(je,"_list_").concat(Nt),"aria-selected":pe.has(qt)}),qt):null}return n.createElement(n.Fragment,null,n.createElement("div",{role:"listbox",id:"".concat(je,"_list"),style:{height:0,width:0,overflow:"hidden"}},nr(Xt-1),nr(Xt),nr(Xt+1)),n.createElement(w.a,{itemKey:"key",ref:dt,data:q,height:ze,itemHeight:Ke,fullHeight:!1,onMouseDown:Ve,onScroll:Tt,virtual:bt,onMouseEnter:Be},function(Nt,ot){var Qe,qt=Nt.group,xr=Nt.groupOption,vr=Nt.data,fr=vr.label,An=vr.key;if(qt)return n.createElement("div",{className:a()(ce,"".concat(ce,"-group"))},fr!==void 0?fr:An);var $r=vr.disabled,Ln=vr.value,$e=vr.title,tt=vr.children,ve=vr.style,_e=vr.className,ke=Object(g.a)(vr,["disabled","value","title","children","style","className"]),rt=pe.has(Ln),Wt="".concat(ce,"-option"),Bt=a()(ce,Wt,_e,(Qe={},Object(A.a)(Qe,"".concat(Wt,"-grouped"),xr),Object(A.a)(Qe,"".concat(Wt,"-active"),Xt===ot&&!$r),Object(A.a)(Qe,"".concat(Wt,"-disabled"),$r),Object(A.a)(Qe,"".concat(Wt,"-selected"),rt),Qe)),Gt=He?tt:fr,Rr=!Ue||typeof Ue=="function"||rt;return n.createElement("div",Object.assign({},ke,{"aria-selected":rt,className:Bt,title:$e,onMouseMove:function(){if(Xt===ot||$r)return;Kr(ot)},onClick:function(){$r||rr(Ln)},style:ve}),n.createElement("div",{className:"".concat(Wt,"-content")},Gt||Ln),n.isValidElement(Ue)||rt,Rr&&n.createElement(x.a,{className:"".concat(ce,"-option-state"),customizeIcon:Ue,customizeIconProps:{isSelected:rt}},rt?"\u2713":null))}))},L=n.forwardRef(T);L.displayName="OptionList";var R=L,P=function(){return null};P.isSelectOption=!0;var k=P,U=function(){return null};U.isSelectOptGroup=!0;var D=U,M=d("VTBJ"),B=d("Zm9Q");function j(Ne){var it=Ne.key,Ye=Ne.props,nt=Ye.children,je=Ye.value,et=Object(g.a)(Ye,["children","value"]);return Object(M.a)({key:it,value:je!==void 0?je:it,children:nt},et)}function H(Ne){var it=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object(B.a)(Ne).map(function(Ye,nt){if(!n.isValidElement(Ye)||!Ye.type)return null;var je=Ye.type.isSelectOptGroup,et=Ye.key,He=Ye.props,pe=He.children,ae=Object(g.a)(He,["children"]);return it||!je?j(Ye):Object(M.a)(Object(M.a)({key:"__RC_SELECT_GRP__".concat(et===null?nt:et,"__"),label:et},ae),{},{options:H(pe)})}).filter(function(Ye){return Ye})}var K=d("2Qr1"),W=d("qNPg"),X=d("U8pU"),V=d("Kwbf"),Z=d("WKfj");function G(Ne){var it=Ne.mode,Ye=Ne.options,nt=Ne.children,je=Ne.backfill,et=Ne.allowClear,He=Ne.placeholder,pe=Ne.getInputElement,ae=Ne.showSearch,re=Ne.onSearch,be=Ne.defaultOpen,ze=Ne.autoFocus,Ke=Ne.labelInValue,Te=Ne.value,gt=Ne.inputValue,Ue=Ne.optionLabelProp,bt=it==="multiple"||it==="tags",wt=ae!==void 0?ae:bt||it==="combobox",Et=Ye||H(nt);if(Object(V.a)(it!=="tags"||Et.every(function(ce){return!ce.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),it==="tags"||it==="combobox"){var xt=Et.some(function(ce){return ce.options?ce.options.some(function(q){return typeof("value"in q?q.value:q.key)=="number"}):typeof("value"in ce?ce.value:ce.key)=="number"});Object(V.a)(!xt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(V.a)(it!=="combobox"||!Ue,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(V.a)(it==="combobox"||!je,"`backfill` only works with `combobox` mode."),Object(V.a)(it==="combobox"||!pe,"`getInputElement` only work with `combobox` mode."),Object(V.b)(it!=="combobox"||!pe||!et||!He,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),re&&!wt&&it!=="combobox"&&it!=="tags"&&Object(V.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(V.b)(!be||ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Te!=null){var Tt=Object(Z.d)(Te);Object(V.a)(!Ke||Tt.every(function(ce){return Object(X.a)(ce)==="object"&&("key"in ce||"value"in ce)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(V.a)(!bt||Array.isArray(Te),"`value` should be array when `mode` is `multiple` or `tags`")}if(nt){var Be=null;Object(B.a)(nt).some(function(ce){if(!n.isValidElement(ce)||!ce.type)return!1;var q=ce.type;if(q.isSelectOption)return!1;if(q.isSelectOptGroup){var dt=Object(B.a)(ce.props.children).every(function(Ve){return!n.isValidElement(Ve)||!ce.type||Ve.type.isSelectOption?!0:(Be=Ve.type,!1)});return!dt}return Be=q,!0}),Be&&Object(V.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Be.displayName||Be.name||Be,"`.")),Object(V.a)(gt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var Y=G,te=Object(W.a)({prefixCls:"rc-select",components:{optionList:R},convertChildrenToData:H,flattenOptions:K.d,getLabeledValue:K.e,filterOptions:K.b,isValueDisabled:K.g,findValueOption:K.c,warningProps:Y,fillOptionsWithMissingValue:K.a}),se=function(Ne){Object(f.a)(Ye,Ne);var it=Object(m.a)(Ye);function Ye(){var nt;return Object(i.a)(this,Ye),nt=it.apply(this,arguments),nt.selectRef=n.createRef(),nt.focus=function(){nt.selectRef.current.focus()},nt.blur=function(){nt.selectRef.current.blur()},nt}return Object(u.a)(Ye,[{key:"render",value:function(){return n.createElement(te,Object.assign({ref:this.selectRef},this.props))}}]),Ye}(n.Component);se.Option=k,se.OptGroup=D;var Ce=se,he=Ce,xe=d("H84U"),ie=d("1vzs"),ee=d("3Nzz"),Ze=function(Ne){r()(Ye,Ne);var it=l()(Ye);function Ye(){var nt;return t()(this,Ye),nt=it.apply(this,arguments),nt.selectRef=n.createRef(),nt.focus=function(){nt.selectRef.current&&nt.selectRef.current.focus()},nt.blur=function(){nt.selectRef.current&&nt.selectRef.current.blur()},nt.getMode=function(){var je=nt.props.mode;return je==="combobox"?void 0:je===Ye.SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":je},nt.renderSelect=function(je){var et=je.getPopupContainer,He=je.getPrefixCls,pe=je.renderEmpty,ae=je.direction,re=je.virtual,be=je.dropdownMatchSelectWidth,ze=nt.props,Ke=ze.prefixCls,Te=ze.notFoundContent,gt=ze.className,Ue=ze.size,bt=ze.listHeight,wt=bt===void 0?256:bt,Et=ze.listItemHeight,xt=Et===void 0?24:Et,Tt=ze.getPopupContainer,Be=ze.dropdownClassName,ce=ze.bordered,q=He("select",Ke),dt=nt.getMode(),Ve=dt==="multiple"||dt==="tags",de;Te!==void 0?de=Te:dt==="combobox"?de=null:de=pe("Select");var Ht=Object(ie.a)(E()(E()({},nt.props),{multiple:Ve,prefixCls:q})),tr=Ht.suffixIcon,lt=Ht.itemIcon,Xt=Ht.removeIcon,sr=Ht.clearIcon,Kr=Object(c.default)(nt.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","size","bordered"]),rr=a()(Be,_()({},"".concat(q,"-dropdown-").concat(ae),ae==="rtl"));return n.createElement(ee.b.Consumer,null,function(nr){var Nt,ot=Ue||nr,Qe=a()(gt,(Nt={},_()(Nt,"".concat(q,"-lg"),ot==="large"),_()(Nt,"".concat(q,"-sm"),ot==="small"),_()(Nt,"".concat(q,"-rtl"),ae==="rtl"),_()(Nt,"".concat(q,"-borderless"),!ce),Nt));return n.createElement(he,E()({ref:nt.selectRef,virtual:re,dropdownMatchSelectWidth:be},Kr,{listHeight:wt,listItemHeight:xt,mode:dt,prefixCls:q,direction:ae,inputIcon:tr,menuItemSelectedIcon:lt,removeIcon:Xt,clearIcon:sr,notFoundContent:de,className:Qe,getPopupContainer:Tt||et,dropdownClassName:rr}))})},nt}return h()(Ye,[{key:"render",value:function(){return n.createElement(xe.a,null,this.renderSelect)}}]),Ye}(n.Component);Ze.Option=k,Ze.OptGroup=D,Ze.SECRET_COMBOBOX_MODE_DO_NOT_USE="SECRET_COMBOBOX_MODE_DO_NOT_USE",Ze.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var Se=z.a=Ze},"2fw6":function(ue,z,d){var O=d("y+Vt"),_=O.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(E,C,t){t&&E.moveTo(C.cx+C.r,C.cy),E.arc(C.cx,C.cy,C.r,0,Math.PI*2,!0)}});ue.exports=_},"2jpz":function(ue,z,d){"use strict";d.d(z,"a",function(){return u});var O=d("cDf5"),_=d.n(O),I=d("q1tI"),E=d.n(I),C=d("TSYQ"),t=d.n(C),p=d("gZBC"),h=d.n(p),o=d("vk+C"),r=d.n(o),s=d("pG52"),l=d.n(s),n=d("Csr3"),c=d.n(n),e=d("e5VY"),a=d.n(e),i=d("0n0R");function u(f,m,A,g){var v=g.isLeaf,b=g.expanded,S=g.loading;if(S)return I.createElement(h.a,{className:"".concat(f,"-switcher-loading-icon")});var y;if(A&&_()(A)==="object"&&(y=A.showLeafIcon),v)return A?_()(A)==="object"&&!y?I.createElement("span",{className:"".concat(f,"-switcher-leaf-line")}):I.createElement(r.a,{className:"".concat(f,"-switcher-line-icon")}):null;var w="".concat(f,"-switcher-icon");return Object(i.b)(m)?Object(i.a)(m,{className:t()(m.props.className||"",w)}):m||(A?b?I.createElement(l.a,{className:"".concat(f,"-switcher-line-icon")}):I.createElement(c.a,{className:"".concat(f,"-switcher-line-icon")}):I.createElement(a.a,{className:w}))}},"2oIt":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"2uGb":function(ue,z,d){var O=d("ProS");d("ko1b"),d("s2lz"),d("RBEP");var _=d("kMLO"),I=d("nKiI");O.registerVisual(_),O.registerLayout(I)},"2w7y":function(ue,z,d){var O=d("ProS");d("qMZE"),d("g0SD"),O.registerPreprocessor(function(_){_.markPoint=_.markPoint||{}})},"33Ds":function(ue,z,d){var O=d("ProS"),_=d("b9oc"),I=d("Kagy"),E=d("IUWy"),C=I.toolbox.restore;function t(o){this.model=o}t.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:C.title};var p=t.prototype;p.onclick=function(o,r,s){_.clear(o),r.dispatchAction({type:"restore",from:this.uid})},E.register("restore",t),O.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},function(o,r){r.resetOption("recreate")});var h=t;ue.exports=h},"34/K":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(C,t){if(!(C instanceof t))throw new TypeError("Cannot call a class as a function")}function _(C,t){for(var p=0;p<t.length;p++){var h=t[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(C,h.key,h)}}function I(C,t,p){return t&&_(C.prototype,t),p&&_(C,p),C}var E=function(){function C(){O(this,C),this._lines=0}return I(C,[{key:"decodeRect",value:function(p,h,o,r,s,l,n){this._lines===0&&(this._lines=r);var c=n==8?1:4,e=o*c;if(s.rQwait("RAW",e))return!1;var a=h+(r-this._lines),i=Math.min(this._lines,Math.floor(s.rQlen/e)),u=s.rQ,f=s.rQi;if(n==8){for(var m=o*i,A=new Uint8Array(m*4),g=0;g<m;g++)A[g*4+0]=(u[f+g]>>0&3)*255/3,A[g*4+1]=(u[f+g]>>2&3)*255/3,A[g*4+2]=(u[f+g]>>4&3)*255/3,A[g*4+4]=0;u=A,f=0}return l.blitImage(p,a,o,i,u,f),s.rQskipBytes(i*e),this._lines-=i,!(this._lines>0)}}]),C}();z.default=E},"3690":function(ue,z,d){"use strict";function O(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(s){return typeof s}:O=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},O(o)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=E(d("Lo0S"));function I(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return I=function(){return o},o}function E(o){if(o&&o.__esModule)return o;if(o===null||O(o)!=="object"&&typeof o!="function")return{default:o};var r=I();if(r&&r.has(o))return r.get(o);var s={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in o)if(Object.prototype.hasOwnProperty.call(o,n)){var c=l?Object.getOwnPropertyDescriptor(o,n):null;c&&(c.get||c.set)?Object.defineProperty(s,n,c):s[n]=o[n]}return s.default=o,r&&r.set(o,s),s}function C(o,r){if(!(o instanceof r))throw new TypeError("Cannot call a class as a function")}function t(o,r){for(var s=0;s<r.length;s++){var l=r[s];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(o,l.key,l)}}function p(o,r,s){return r&&t(o.prototype,r),s&&t(o,s),o}var h=function(){function o(){C(this,o),this._tiles=0,this._lastsubencoding=0}return p(o,[{key:"decodeRect",value:function(s,l,n,c,e,a,i){for(this._tiles===0&&(this._tilesX=Math.ceil(n/16),this._tilesY=Math.ceil(c/16),this._totalTiles=this._tilesX*this._tilesY,this._tiles=this._totalTiles);this._tiles>0;){var u=1;if(e.rQwait("HEXTILE",u))return!1;var f=e.rQ,m=e.rQi,A=f[m];if(A>30)throw new Error("Illegal hextile subencoding (subencoding: "+A+")");var g=this._totalTiles-this._tiles,v=g%this._tilesX,b=Math.floor(g/this._tilesX),S=s+v*16,y=l+b*16,w=Math.min(16,s+n-S),x=Math.min(16,l+c-y);if(A&1)u+=w*x*4;else if(A&2&&(u+=4),A&4&&(u+=4),A&8){if(u++,e.rQwait("HEXTILE",u))return!1;var T=f[m+u-1];A&16?u+=T*(4+2):u+=T*2}if(e.rQwait("HEXTILE",u))return!1;if(m++,A===0)this._lastsubencoding&1?_.Debug(" Ignoring blank after RAW"):a.fillRect(S,y,w,x,this._background);else if(A&1)a.blitImage(S,y,w,x,f,m),m+=u-1;else{if(A&2&&(this._background=[f[m],f[m+1],f[m+2],f[m+3]],m+=4),A&4&&(this._foreground=[f[m],f[m+1],f[m+2],f[m+3]],m+=4),a.startTile(S,y,w,x,this._background),A&8){var L=f[m];m++;for(var R=0;R<L;R++){var P=void 0;A&16?(P=[f[m],f[m+1],f[m+2],f[m+3]],m+=4):P=this._foreground;var k=f[m];m++;var U=k>>4,D=k&15,M=f[m];m++;var B=(M>>4)+1,j=(M&15)+1;a.subTile(U,D,B,j,P)}}a.finishTile()}e.rQi=m,this._lastsubencoding=A,this._tiles--}return!0}}]),o}();z.default=h},"3C/r":function(ue,z){var d=function(I,E){this.image=I,this.repeat=E,this.type="pattern"};d.prototype.getCanvasPattern=function(_){return _.createPattern(this.image,this.repeat||"repeat")};var O=d;ue.exports=O},"3CBa":function(ue,z,d){var O=d("hydK"),_=O.createElement,I=d("bYtY"),E=d("SUKs"),C=d("y+Vt"),t=d("Dagg"),p=d("dqUG"),h=d("DBLp"),o=d("sW+o"),r=d("n6Mw"),s=d("vKoX"),l=d("P47w"),n=l.path,c=l.image,e=l.text;function a(w){return parseInt(w,10)}function i(w){return w instanceof C?n:w instanceof t?c:w instanceof p?e:n}function u(w,x){return x&&w&&x.parentNode!==w}function f(w,x,T){if(u(w,x)&&T){var L=T.nextSibling;L?w.insertBefore(x,L):w.appendChild(x)}}function m(w,x){if(u(w,x)){var T=w.firstChild;T?w.insertBefore(x,T):w.appendChild(x)}}function A(w,x){x&&w&&x.parentNode===w&&w.removeChild(x)}function g(w){return w.__textSvgEl}function v(w){return w.__svgEl}var b=function(x,T,L,R){this.root=x,this.storage=T,this._opts=L=I.extend({},L||{});var P=_("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 k=_("g");P.appendChild(k);var U=_("g");P.appendChild(U),this.gradientManager=new o(R,U),this.clipPathManager=new r(R,U),this.shadowManager=new s(R,U);var D=document.createElement("div");D.style.cssText="overflow:hidden;position:relative",this._svgDom=P,this._svgRoot=U,this._backgroundRoot=k,this._viewport=D,x.appendChild(D),D.appendChild(P),this.resize(L.width,L.height),this._visibleList=[]};b.prototype={constructor:b,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getSvgDom:function(){return this._svgDom},getSvgRoot:function(){return this._svgRoot},getViewportRootOffset:function(){var x=this.getViewportRoot();if(x)return{offsetLeft:x.offsetLeft||0,offsetTop:x.offsetTop||0}},refresh:function(){var x=this.storage.getDisplayList(!0);this._paintList(x)},setBackgroundColor:function(x){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var T=_("rect");T.setAttribute("width",this.getWidth()),T.setAttribute("height",this.getHeight()),T.setAttribute("x",0),T.setAttribute("y",0),T.setAttribute("id",0),T.style.fill=x,this._backgroundRoot.appendChild(T),this._backgroundNode=T},_paintList:function(x){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var T=this._svgRoot,L=this._visibleList,R=x.length,P=[],k;for(k=0;k<R;k++){var U=x[k],D=i(U),M=v(U)||g(U);U.invisible||(U.__dirty&&(D&&D.brush(U),this.clipPathManager.update(U),U.style&&(this.gradientManager.update(U.style.fill),this.gradientManager.update(U.style.stroke),this.shadowManager.update(M,U)),U.__dirty=!1),P.push(U))}var B=h(L,P),j;for(k=0;k<B.length;k++){var H=B[k];if(H.removed)for(var K=0;K<H.count;K++){var U=L[H.indices[K]],M=v(U),W=g(U);A(T,M),A(T,W)}}for(k=0;k<B.length;k++){var H=B[k];if(H.added)for(var K=0;K<H.count;K++){var U=P[H.indices[K]],M=v(U),W=g(U);j?f(T,M,j):m(T,M),M?f(T,W,M):j?f(T,W,j):m(T,W),f(T,W,M),j=W||M||j,this.gradientManager.addWithoutUpdate(M||W,U),this.shadowManager.addWithoutUpdate(M||W,U),this.clipPathManager.markUsed(U)}else if(!H.removed)for(var K=0;K<H.count;K++){var U=P[H.indices[K]],M=v(U),W=g(U),M=v(U),W=g(U);this.gradientManager.markUsed(U),this.gradientManager.addWithoutUpdate(M||W,U),this.shadowManager.markUsed(U),this.shadowManager.addWithoutUpdate(M||W,U),this.clipPathManager.markUsed(U),W&&f(T,W,M),j=M||W||j}}this.gradientManager.removeUnused(),this.clipPathManager.removeUnused(),this.shadowManager.removeUnused(),this._visibleList=P},_getDefs:function(x){var T=this._svgDom,L=T.getElementsByTagName("defs");if(L.length===0)if(x){var L=T.insertBefore(_("defs"),T.firstChild);return L.contains||(L.contains=function(P){var k=L.children;if(!k)return!1;for(var U=k.length-1;U>=0;--U)if(k[U]===P)return!0;return!1}),L}else return null;else return L[0]},resize:function(x,T){var L=this._viewport;L.style.display="none";var R=this._opts;if(x!=null&&(R.width=x),T!=null&&(R.height=T),x=this._getSize(0),T=this._getSize(1),L.style.display="",this._width!==x||this._height!==T){this._width=x,this._height=T;var P=L.style;P.width=x+"px",P.height=T+"px";var k=this._svgDom;k.setAttribute("width",x),k.setAttribute("height",T)}this._backgroundNode&&(this._backgroundNode.setAttribute("width",x),this._backgroundNode.setAttribute("height",T))},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(x){var T=this._opts,L=["width","height"][x],R=["clientWidth","clientHeight"][x],P=["paddingLeft","paddingTop"][x],k=["paddingRight","paddingBottom"][x];if(T[L]!=null&&T[L]!=="auto")return parseFloat(T[L]);var U=this.root,D=document.defaultView.getComputedStyle(U);return(U[R]||a(D[L])||a(U.style[L]))-(a(D[P])||0)-(a(D[k])||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 x=encodeURIComponent(this._svgDom.outerHTML.replace(/></g,`>
\r<`));return"data:image/svg+xml;charset=UTF-8,"+x}};function S(w){return function(){E('In SVG mode painter not support method "'+w+'"')}}I.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","pathToImage"],function(w){b.prototype[w]=S(w)});var y=b;ue.exports=y},"3LNs":function(ue,z,d){var O=d("bYtY"),_=d("Yl7c"),I=d("IwbS"),E=d("zTMp"),C=d("YH21"),t=d("iLNv"),p=d("4NO4"),h=p.makeInner,o=h(),r=O.clone,s=O.bind;function l(){}l.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(f,m,A,g){var v=m.get("value"),b=m.get("status");if(this._axisModel=f,this._axisPointerModel=m,this._api=A,!g&&this._lastValue===v&&this._lastStatus===b)return;this._lastValue=v,this._lastStatus=b;var S=this._group,y=this._handle;if(!b||b==="hide"){S&&S.hide(),y&&y.hide();return}S&&S.show(),y&&y.show();var w={};this.makeElOption(w,v,f,m,A);var x=w.graphicKey;x!==this._lastGraphicKey&&this.clear(A),this._lastGraphicKey=x;var T=this._moveAnimation=this.determineAnimation(f,m);if(!S)S=this._group=new I.Group,this.createPointerEl(S,w,f,m),this.createLabelEl(S,w,f,m),A.getZr().add(S);else{var L=O.curry(n,m,T);this.updatePointerEl(S,w,L,m),this.updateLabelEl(S,w,L,m)}i(S,m,!0),this._renderHandle(v)},remove:function(f){this.clear(f)},dispose:function(f){this.clear(f)},determineAnimation:function(f,m){var A=m.get("animation"),g=f.axis,v=g.type==="category",b=m.get("snap");if(!b&&!v)return!1;if(A==="auto"||A==null){var S=this.animationThreshold;if(v&&g.getBandWidth()>S)return!0;if(b){var y=E.getAxisInfo(f).seriesDataCount,w=g.getExtent();return Math.abs(w[0]-w[1])/y>S}return!1}return A===!0},makeElOption:function(f,m,A,g,v){},createPointerEl:function(f,m,A,g){var v=m.pointer;if(v){var b=o(f).pointerEl=new I[v.type](r(m.pointer));f.add(b)}},createLabelEl:function(f,m,A,g){if(m.label){var v=o(f).labelEl=new I.Rect(r(m.label));f.add(v),e(v,g)}},updatePointerEl:function(f,m,A){var g=o(f).pointerEl;g&&m.pointer&&(g.setStyle(m.pointer.style),A(g,{shape:m.pointer.shape}))},updateLabelEl:function(f,m,A,g){var v=o(f).labelEl;v&&(v.setStyle(m.label.style),A(v,{shape:m.label.shape,position:m.label.position}),e(v,g))},_renderHandle:function(f){if(this._dragging||!this.updateHandleTransform)return;var m=this._axisPointerModel,A=this._api.getZr(),g=this._handle,v=m.getModel("handle"),b=m.get("status");if(!v.get("show")||!b||b==="hide"){g&&A.remove(g),this._handle=null;return}var S;this._handle||(S=!0,g=this._handle=I.createIcon(v.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(x){C.stop(x.event)},onmousedown:s(this._onHandleDragMove,this,0,0),drift:s(this._onHandleDragMove,this),ondragend:s(this._onHandleDragEnd,this)}),A.add(g)),i(g,m,!1);var y=["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];g.setStyle(v.getItemStyle(null,y));var w=v.get("size");O.isArray(w)||(w=[w,w]),g.attr("scale",[w[0]/2,w[1]/2]),t.createOrUpdate(this,"_doDispatchAxisPointer",v.get("throttle")||0,"fixRate"),this._moveHandleToValue(f,S)},_moveHandleToValue:function(f,m){n(this._axisPointerModel,!m&&this._moveAnimation,this._handle,a(this.getHandleTransform(f,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(f,m){var A=this._handle;if(!A)return;this._dragging=!0;var g=this.updateHandleTransform(a(A),[f,m],this._axisModel,this._axisPointerModel);this._payloadInfo=g,A.stopAnimation(),A.attr(a(g)),o(A).lastProp=null,this._doDispatchAxisPointer()},_doDispatchAxisPointer:function(){var f=this._handle;if(!f)return;var m=this._payloadInfo,A=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:m.cursorPoint[0],y:m.cursorPoint[1],tooltipOption:m.tooltipOption,axesInfo:[{axisDim:A.axis.dim,axisIndex:A.componentIndex}]})},_onHandleDragEnd:function(f){this._dragging=!1;var m=this._handle;if(!m)return;var A=this._axisPointerModel.get("value");this._moveHandleToValue(A),this._api.dispatchAction({type:"hideTip"})},getHandleTransform:null,updateHandleTransform:null,clear:function(f){this._lastValue=null,this._lastStatus=null;var m=f.getZr(),A=this._group,g=this._handle;m&&A&&(this._lastGraphicKey=null,A&&m.remove(A),g&&m.remove(g),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(f,m,A){return A=A||0,{x:f[A],y:f[1-A],width:m[A],height:m[1-A]}}},l.prototype.constructor=l;function n(f,m,A,g){c(o(A).lastProp,g)||(o(A).lastProp=g,m?I.updateProps(A,g,f):(A.stopAnimation(),A.attr(g)))}function c(f,m){if(O.isObject(f)&&O.isObject(m)){var A=!0;return O.each(m,function(g,v){A=A&&c(f[v],g)}),!!A}else return f===m}function e(f,m){f[m.get("label.show")?"show":"hide"]()}function a(f){return{position:f.position.slice(),rotation:f.rotation||0}}function i(f,m,A){var g=m.get("z"),v=m.get("zlevel");f&&f.traverse(function(b){b.type!=="group"&&(g!=null&&(b.z=g),v!=null&&(b.zlevel=v),b.silent=A)})}_.enableClassExtend(l);var u=l;ue.exports=u},"3OrL":function(ue,z,d){var O=d("bYtY"),_=d("6Ic6"),I=d("IwbS"),E=d("y+Vt"),C=["itemStyle"],t=["emphasis","itemStyle"],p=_.extend({type:"boxplot",render:function(n,c,e){var a=n.getData(),i=this.group,u=this._data;this._data||i.removeAll();var f=n.get("layout")==="horizontal"?1:0;a.diff(u).add(function(m){if(a.hasValue(m)){var A=a.getItemLayout(m),g=o(A,a,m,f,!0);a.setItemGraphicEl(m,g),i.add(g)}}).update(function(m,A){var g=u.getItemGraphicEl(A);if(!a.hasValue(m)){i.remove(g);return}var v=a.getItemLayout(m);g?r(v,g,a,m):g=o(v,a,m,f),i.add(g),a.setItemGraphicEl(m,g)}).remove(function(m){var A=u.getItemGraphicEl(m);A&&i.remove(A)}).execute(),this._data=a},remove:function(n){var c=this.group,e=this._data;this._data=null,e&&e.eachItemGraphicEl(function(a){a&&c.remove(a)})},dispose:O.noop}),h=E.extend({type:"boxplotBoxPath",shape:{},buildPath:function(n,c){var e=c.points,a=0;for(n.moveTo(e[a][0],e[a][1]),a++;a<4;a++)n.lineTo(e[a][0],e[a][1]);for(n.closePath();a<e.length;a++)n.moveTo(e[a][0],e[a][1]),a++,n.lineTo(e[a][0],e[a][1])}});function o(n,c,e,a,i){var u=n.ends,f=new h({shape:{points:i?s(u,a,n):u}});return r(n,f,c,e,i),f}function r(n,c,e,a,i){var u=e.hostModel,f=I[i?"initProps":"updateProps"];f(c,{shape:{points:n.ends}},u,a);var m=e.getItemModel(a),A=m.getModel(C),g=e.getItemVisual(a,"color"),v=A.getItemStyle(["borderColor"]);v.stroke=g,v.strokeNoScale=!0,c.useStyle(v),c.z2=100;var b=m.getModel(t).getItemStyle();I.setHoverStyle(c,b)}function s(n,c,e){return O.map(n,function(a){return a=a.slice(),a[c]=e.initBaseline,a})}var l=p;ue.exports=l},"3S7+":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("J4zp"),E=d.n(I),C=d("pVnL"),t=d.n(C),p=d("q1tI"),h=d("U8pU"),o=d("VTBJ"),r=d("Ff2n"),s=d("uciX"),l={adjustX:1,adjustY:1},n=[0,0],c={left:{points:["cr","cl"],overflow:l,offset:[-4,0],targetOffset:n},right:{points:["cl","cr"],overflow:l,offset:[4,0],targetOffset:n},top:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:n},bottom:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:n},topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:n},leftTop:{points:["tr","tl"],overflow:l,offset:[-4,0],targetOffset:n},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:n},rightTop:{points:["tl","tr"],overflow:l,offset:[4,0],targetOffset:n},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:n},rightBottom:{points:["bl","br"],overflow:l,offset:[4,0],targetOffset:n},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:n},leftBottom:{points:["br","bl"],overflow:l,offset:[-4,0],targetOffset:n}},e=c,a=function(B){var j=B.overlay,H=B.prefixCls,K=B.id,W=B.overlayInnerStyle;return p.createElement("div",{className:"".concat(H,"-inner"),id:K,role:"tooltip",style:W},typeof j=="function"?j():j)},i=a,u=function(B,j){var H=B.overlayClassName,K=B.trigger,W=K===void 0?["hover"]:K,X=B.mouseEnterDelay,V=X===void 0?0:X,Z=B.mouseLeaveDelay,G=Z===void 0?.1:Z,Y=B.overlayStyle,te=B.prefixCls,se=te===void 0?"rc-tooltip":te,Ce=B.children,he=B.onVisibleChange,xe=B.afterVisibleChange,ie=B.transitionName,ee=B.animation,Ze=B.placement,Se=Ze===void 0?"right":Ze,Ne=B.align,it=Ne===void 0?{}:Ne,Ye=B.destroyTooltipOnHide,nt=Ye===void 0?!1:Ye,je=B.defaultVisible,et=B.getTooltipContainer,He=B.overlayInnerStyle,pe=Object(r.a)(B,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),ae=Object(p.useRef)(null);Object(p.useImperativeHandle)(j,function(){return ae.current});var re=Object(o.a)({},pe);"visible"in B&&(re.popupVisible=B.visible);var be=function(){var Ue=B.arrowContent,bt=Ue===void 0?null:Ue,wt=B.overlay,Et=B.id;return[p.createElement("div",{className:"".concat(se,"-arrow"),key:"arrow"},bt),p.createElement(i,{key:"content",prefixCls:se,id:Et,overlay:wt,overlayInnerStyle:He})]},ze=!1,Ke=!1;if(typeof nt=="boolean")ze=nt;else if(nt&&Object(h.a)(nt)==="object"){var Te=nt.keepParent;ze=Te===!0,Ke=Te===!1}return p.createElement(s.a,Object.assign({popupClassName:H,prefixCls:se,popup:be,action:W,builtinPlacements:c,popupPlacement:Se,ref:ae,popupAlign:it,getPopupContainer:et,onPopupVisibleChange:he,afterPopupVisibleChange:xe,popupTransitionName:ie,popupAnimation:ee,defaultPopupVisible:je,destroyPopupOnHide:ze,autoDestroy:Ke,mouseLeaveDelay:G,popupStyle:Y,mouseEnterDelay:V},re),Ce)},f=Object(p.forwardRef)(u),m=f,A=d("TSYQ"),g=d.n(A),v={adjustX:1,adjustY:1},b={adjustX:0,adjustY:0},S=[0,0];function y(M){return typeof M=="boolean"?M?v:b:t()(t()({},b),M)}function w(M){var B=M.arrowWidth,j=B===void 0?5:B,H=M.horizontalArrowShift,K=H===void 0?16:H,W=M.verticalArrowShift,X=W===void 0?8:W,V=M.autoAdjustOverflow,Z={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:[-(K+j),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(X+j)]},topRight:{points:["br","tc"],offset:[K+j,-4]},rightTop:{points:["tl","cr"],offset:[4,-(X+j)]},bottomRight:{points:["tr","bc"],offset:[K+j,4]},rightBottom:{points:["bl","cr"],offset:[4,X+j]},bottomLeft:{points:["tl","bc"],offset:[-(K+j),4]},leftBottom:{points:["br","cl"],offset:[-4,X+j]}};return Object.keys(Z).forEach(function(G){Z[G]=M.arrowPointAtCenter?t()(t()({},Z[G]),{overflow:y(V),targetOffset:S}):t()(t()({},c[G]),{overflow:y(V)}),Z[G].ignoreShake=!0}),Z}var x=d("0n0R"),T=d("H84U"),L=d("09Wf"),R=function(B,j){var H={},K=t()({},B);return j.forEach(function(W){B&&W in B&&(H[W]=B[W],delete K[W])}),{picked:H,omitted:K}},P=new RegExp("^(".concat(L.a.join("|"),")(-inverse)?$"));function k(M,B){var j=M.type;if((j.__ANT_BUTTON===!0||j.__ANT_SWITCH===!0||j.__ANT_CHECKBOX===!0||M.type==="button")&&M.props.disabled){var H=R(M.props.style,["position","left","right","top","bottom","float","display","zIndex"]),K=H.picked,W=H.omitted,X=t()(t()({display:"inline-block"},K),{cursor:"not-allowed",width:M.props.block?"100%":null}),V=t()(t()({},W),{pointerEvents:"none"}),Z=Object(x.a)(M,{style:V,className:null});return p.createElement("span",{style:X,className:g()(M.props.className,"".concat(B,"-disabled-compatible-wrapper"))},Z)}return M}var U=p.forwardRef(function(M,B){var j,H=p.useContext(T.b),K=H.getPopupContainer,W=H.getPrefixCls,X=H.direction,V=p.useState(!!M.visible||!!M.defaultVisible),Z=E()(V,2),G=Z[0],Y=Z[1];p.useEffect(function(){"visible"in M&&Y(M.visible)},[M.visible]);var te=function(){var Te=M.title,gt=M.overlay;return!Te&&!gt&&Te!==0},se=function(Te){"visible"in M||Y(te()?!1:Te),M.onVisibleChange&&!te()&&M.onVisibleChange(Te)},Ce=function(){var Te=M.builtinPlacements,gt=M.arrowPointAtCenter,Ue=M.autoAdjustOverflow;return Te||w({arrowPointAtCenter:gt,autoAdjustOverflow:Ue})},he=function(Te,gt){var Ue=Ce(),bt=Object.keys(Ue).filter(function(xt){return Ue[xt].points[0]===gt.points[0]&&Ue[xt].points[1]===gt.points[1]})[0];if(!bt)return;var wt=Te.getBoundingClientRect(),Et={top:"50%",left:"50%"};bt.indexOf("top")>=0||bt.indexOf("Bottom")>=0?Et.top="".concat(wt.height-gt.offset[1],"px"):(bt.indexOf("Top")>=0||bt.indexOf("bottom")>=0)&&(Et.top="".concat(-gt.offset[1],"px")),bt.indexOf("left")>=0||bt.indexOf("Right")>=0?Et.left="".concat(wt.width-gt.offset[0],"px"):(bt.indexOf("right")>=0||bt.indexOf("Left")>=0)&&(Et.left="".concat(-gt.offset[0],"px")),Te.style.transformOrigin="".concat(Et.left," ").concat(Et.top)},xe=function(){var Te=M.title,gt=M.overlay;return Te===0?Te:gt||Te||""},ie=M.prefixCls,ee=M.openClassName,Ze=M.getPopupContainer,Se=M.getTooltipContainer,Ne=M.overlayClassName,it=M.color,Ye=M.overlayInnerStyle,nt=M.children,je=W("tooltip",ie),et=G;!("visible"in M)&&te()&&(et=!1);var He=k(Object(x.b)(nt)?nt:p.createElement("span",null,nt),je),pe=He.props,ae=g()(pe.className,_()({},ee||"".concat(je,"-open"),!0)),re=g()(Ne,(j={},_()(j,"".concat(je,"-rtl"),X==="rtl"),_()(j,"".concat(je,"-").concat(it),it&&P.test(it)),j)),be,ze;return it&&!P.test(it)&&(be=t()(t()({},Ye),{background:it}),ze={background:it}),p.createElement(m,t()({},M,{prefixCls:je,overlayClassName:re,getTooltipContainer:Ze||Se||K,ref:B,builtinPlacements:Ce(),overlay:xe(),visible:et,onVisibleChange:se,onPopupAlign:he,overlayInnerStyle:be,arrowContent:p.createElement("span",{className:"".concat(je,"-arrow-content"),style:ze})}),et?Object(x.a)(He,{className:ae}):He)});U.displayName="Tooltip",U.defaultProps={placement:"top",transitionName:"zoom-big-fast",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var D=z.a=U},"3TkU":function(ue,z,d){d("aTJb"),d("OlYY"),d("fc+c"),d("QUw5"),d("Swgg"),d("LBfv"),d("noeP")},"3X6L":function(ue,z,d){var O=d("bYtY"),_=d("7a+S"),I=d("OKJ2"),E=_.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:[]}});O.mixin(E,I);var C=E;ue.exports=C},"3e3G":function(ue,z,d){var O=d("bYtY"),_=d("QuXc"),I=function(t,p,h,o,r){this.x=t==null?.5:t,this.y=p==null?.5:p,this.r=h==null?.5:h,this.type="radial",this.global=r||!1,_.call(this,o)};I.prototype={constructor:I},O.inherits(I,_);var E=I;ue.exports=E},"3gBT":function(ue,z){var d=2311;function O(){return d++}ue.exports=O},"3hzK":function(ue,z){var d={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")}}};ue.exports=d},"3m61":function(ue,z){function d(_){return _ instanceof Array||(_=[_,_]),_}function O(_){_.eachSeriesByType("graph",function(I){var E=I.getGraph(),C=I.getEdgeData(),t=d(I.get("edgeSymbol")),p=d(I.get("edgeSymbolSize")),h="lineStyle.color".split("."),o="lineStyle.opacity".split(".");C.setVisual("fromSymbol",t&&t[0]),C.setVisual("toSymbol",t&&t[1]),C.setVisual("fromSymbolSize",p&&p[0]),C.setVisual("toSymbolSize",p&&p[1]),C.setVisual("color",I.get(h)),C.setVisual("opacity",I.get(o)),C.each(function(r){var s=C.getItemModel(r),l=E.getEdgeByIndex(r),n=d(s.getShallow("symbol",!0)),c=d(s.getShallow("symbolSize",!0)),e=s.get(h),a=s.get(o);switch(e){case"source":e=l.node1.getVisual("color");break;case"target":e=l.node2.getVisual("color");break}n[0]&&l.setVisual("fromSymbol",n[0]),n[1]&&l.setVisual("toSymbol",n[1]),c[0]&&l.setVisual("fromSymbolSize",c[0]),c[1]&&l.setVisual("toSymbolSize",c[1]),l.setVisual("color",e),l.setVisual("opacity",a)})})}ue.exports=O},"3ouR":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CloseSquareOutlined";var p=z.a=_.forwardRef(t)},"3zoK":function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("KCsZ"),E=d("nkfE"),C=d("OELB"),t=d("ICMv"),p=_.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return I([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(s){var l=this.activeIntervals=O.clone(s);if(l)for(var n=l.length-1;n>=0;n--)C.asc(l[n])},getActiveState:function(s){var l=this.activeIntervals;if(!l.length)return"normal";if(s==null||isNaN(s))return"inactive";if(l.length===1){var n=l[0];if(n[0]<=s&&s<=n[1])return"active"}else for(var c=0,e=l.length;c<e;c++)if(l[c][0]<=s&&s<=l[c][1])return"active";return"inactive"}}),h={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};O.merge(p.prototype,t);function o(s,l){return l.type||(l.data?"category":"value")}E("parallel",p,o,h);var r=p;ue.exports=r},"4Feb":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("IwbS"),C=d("x3X8"),t=C.getDefaultLabel,p=d("MwEJ"),h=d("nVfU"),o=h.getLayoutOnAxis,r=d("gPAo"),s=d("T4UG"),l=d("Qxkt"),n=d("6Ic6"),c=d("sK/D"),e=c.createClipPath,a=d("qj72"),i=d("ANjR"),u=d("MHtr"),f=d("6usn"),m=d("Rx6q"),A=E.CACHED_LABEL_STYLE_PROPERTIES,g=["itemStyle"],v=["emphasis","itemStyle"],b=["label"],S=["emphasis","label"],y="e\0\0",w={cartesian2d:a,geo:i,singleAxis:u,polar:f,calendar:m};s.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,Y){return p(this.getSource(),this)},getDataParams:function(G,Y,te){var se=s.prototype.getDataParams.apply(this,arguments);return te&&(se.info=te.info),se}}),n.extend({type:"custom",_data:null,render:function(G,Y,te,se){var Ce=this._data,he=G.getData(),xe=this.group,ie=R(G,he,Y,te);he.diff(Ce).add(function(Ze){k(null,Ze,ie(Ze,se),G,xe,he)}).update(function(Ze,Se){var Ne=Ce.getItemGraphicEl(Se);k(Ne,Ze,ie(Ze,se),G,xe,he)}).remove(function(Ze){var Se=Ce.getItemGraphicEl(Ze);Se&&xe.remove(Se)}).execute();var ee=G.get("clip",!0)?e(G.coordinateSystem,!1,G):null;ee?xe.setClipPath(ee):xe.removeClipPath(),this._data=he},incrementalPrepareRender:function(G,Y,te){this.group.removeAll(),this._data=null},incrementalRender:function(G,Y,te,se,Ce){var he=Y.getData(),xe=R(Y,he,te,se);function ie(Se){Se.isGroup||(Se.incremental=!0,Se.useHoverLayer=!0)}for(var ee=G.start;ee<G.end;ee++){var Ze=k(null,ee,xe(ee,Ce),Y,this.group,he);Ze.traverse(ie)}},dispose:I.noop,filterForExposedEvent:function(G,Y,te,se){var Ce=Y.element;if(Ce==null||te.name===Ce)return!0;for(;(te=te.parent)&&te!==this.group;)if(te.name===Ce)return!0;return!1}});function x(G){var Y=G.type,te;if(Y==="path"){var se=G.shape,Ce=se.width!=null&&se.height!=null?{x:se.x||0,y:se.y||0,width:se.width,height:se.height}:null,he=X(se);te=E.makePath(he,null,Ce,se.layout||"center"),te.__customPathData=he}else if(Y==="image")te=new E.Image({}),te.__customImagePath=G.style.image;else if(Y==="text")te=new E.Text({}),te.__customText=G.style.text;else if(Y==="group")te=new E.Group;else{if(Y==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var xe=E.getShapeClass(Y);te=new xe}return te.__customGraphicType=Y,te.name=G.name,te}function T(G,Y,te,se,Ce,he,xe){var ie={},ee=te.style||{};if(te.shape&&(ie.shape=I.clone(te.shape)),te.position&&(ie.position=te.position.slice()),te.scale&&(ie.scale=te.scale.slice()),te.origin&&(ie.origin=te.origin.slice()),te.rotation&&(ie.rotation=te.rotation),G.type==="image"&&te.style){var Ze=ie.style={};I.each(["x","y","width","height"],function(it){L(it,Ze,ee,G.style,he)})}if(G.type==="text"&&te.style){var Ze=ie.style={};I.each(["x","y"],function(Ye){L(Ye,Ze,ee,G.style,he)}),!ee.hasOwnProperty("textFill")&&ee.fill&&(ee.textFill=ee.fill),!ee.hasOwnProperty("textStroke")&&ee.stroke&&(ee.textStroke=ee.stroke)}if(G.type!=="group"&&(G.useStyle(ee),he)){G.style.opacity=0;var Se=ee.opacity;Se==null&&(Se=1),E.initProps(G,{style:{opacity:Se}},se,Y)}he?G.attr(ie):E.updateProps(G,ie,se,Y),te.hasOwnProperty("z2")&&G.attr("z2",te.z2||0),te.hasOwnProperty("silent")&&G.attr("silent",te.silent),te.hasOwnProperty("invisible")&&G.attr("invisible",te.invisible),te.hasOwnProperty("ignore")&&G.attr("ignore",te.ignore),te.hasOwnProperty("info")&&G.attr("info",te.info);var Ne=te.styleEmphasis;E.setElementHoverStyle(G,Ne),xe&&E.setAsHighDownDispatcher(G,Ne!==!1)}function L(G,Y,te,se,Ce){te[G]!=null&&!Ce&&(Y[G]=te[G],te[G]=se[G])}function R(G,Y,te,se){var Ce=G.get("renderItem"),he=G.coordinateSystem,xe={};he&&(xe=he.prepareCustoms?he.prepareCustoms():w[he.type](he));var ie=I.defaults({getWidth:se.getWidth,getHeight:se.getHeight,getZr:se.getZr,getDevicePixelRatio:se.getDevicePixelRatio,value:et,style:He,styleEmphasis:pe,visual:ae,barLayout:re,currentSeriesIndices:be,font:ze},xe.api||{}),ee={context:{},seriesId:G.id,seriesName:G.name,seriesIndex:G.seriesIndex,coordSys:xe.coordSys,dataInsideLength:Y.count(),encode:P(G.getData())},Ze,Se=!0,Ne,it,Ye,nt;return function(Ke,Te){return Ze=Ke,Se=!0,Ce&&Ce(I.defaults({dataIndexInside:Ke,dataIndex:Y.getRawIndex(Ke),actionType:Te?Te.type:null},ee),ie)};function je(Ke){Ke==null&&(Ke=Ze),Se&&(Ne=Y.getItemModel(Ke),it=Ne.getModel(b),Ye=Ne.getModel(S),nt=Y.getItemVisual(Ke,"color"),Se=!1)}function et(Ke,Te){return Te==null&&(Te=Ze),Y.get(Y.getDimension(Ke||0),Te)}function He(Ke,Te){Te==null&&(Te=Ze),je(Te);var gt=Ne.getModel(g).getItemStyle();nt!=null&&(gt.fill=nt);var Ue=Y.getItemVisual(Te,"opacity");Ue!=null&&(gt.opacity=Ue);var bt=Ke?H(Ke,it):it;return E.setTextStyle(gt,bt,null,{autoColor:nt,isRectText:!0}),gt.text=bt.getShallow("show")?I.retrieve2(G.getFormattedLabel(Te,"normal"),t(Y,Te)):null,Ke&&K(gt,Ke),gt}function pe(Ke,Te){Te==null&&(Te=Ze),je(Te);var gt=Ne.getModel(v).getItemStyle(),Ue=Ke?H(Ke,Ye):Ye;return E.setTextStyle(gt,Ue,null,{isRectText:!0},!0),gt.text=Ue.getShallow("show")?I.retrieve3(G.getFormattedLabel(Te,"emphasis"),G.getFormattedLabel(Te,"normal"),t(Y,Te)):null,Ke&&K(gt,Ke),gt}function ae(Ke,Te){return Te==null&&(Te=Ze),Y.getItemVisual(Te,Ke)}function re(Ke){if(he.getBaseAxis){var Te=he.getBaseAxis();return o(I.defaults({axis:Te},Ke),se)}}function be(){return te.getCurrentSeriesIndices()}function ze(Ke){return E.getFont(Ke,te)}}function P(G){var Y={};return I.each(G.dimensions,function(te,se){var Ce=G.getDimensionInfo(te);if(!Ce.isExtraCoord){var he=Ce.coordDim,xe=Y[he]=Y[he]||[];xe[Ce.coordDimIndex]=se}}),Y}function k(G,Y,te,se,Ce,he){return G=U(G,Y,te,se,Ce,he,!0),G&&he.setItemGraphicEl(Y,G),G}function U(G,Y,te,se,Ce,he,xe){var ie=!te;te=te||{};var ee=te.type,Ze=te.shape,Se=te.style;if(G&&(ie||ee!=null&&ee!==G.__customGraphicType||ee==="path"&&V(Ze)&&X(Ze)!==G.__customPathData||ee==="image"&&Z(Se,"image")&&Se.image!==G.__customImagePath||ee==="text"&&Z(Ze,"text")&&Se.text!==G.__customText)&&(Ce.remove(G),G=null),ie)return;var Ne=!G;return!G&&(G=x(te)),T(G,Y,te,se,he,Ne,xe),ee==="group"&&D(G,Y,te,se,he),Ce.add(G),G}function D(G,Y,te,se,Ce){var he=te.children,xe=he?he.length:0,ie=te.$mergeChildren,ee=ie==="byName"||te.diffChildrenByName,Ze=ie===!1;if(!xe&&!ee&&!Ze)return;if(ee){M({oldChildren:G.children()||[],newChildren:he||[],dataIndex:Y,animatableModel:se,group:G,data:Ce});return}Ze&&G.removeAll();for(var Se=0;Se<xe;Se++)he[Se]&&U(G.childAt(Se),Y,he[Se],se,G,Ce)}function M(G){new r(G.oldChildren,G.newChildren,B,B,G).add(j).update(j).remove(W).execute()}function B(G,Y){var te=G&&G.name;return te!=null?te:y+Y}function j(G,Y){var te=this.context,se=G!=null?te.newChildren[G]:null,Ce=Y!=null?te.oldChildren[Y]:null;U(Ce,te.dataIndex,se,te.animatableModel,te.group,te.data)}function H(G,Y){var te=new l({},Y);return I.each(A,function(se,Ce){G.hasOwnProperty(se)&&(te.option[Ce]=G[se])}),te}function K(G,Y){for(var te in Y)(Y.hasOwnProperty(te)||!A.hasOwnProperty(te))&&(G[te]=Y[te])}function W(G){var Y=this.context,te=Y.oldChildren[G];te&&Y.group.remove(te)}function X(G){return G&&(G.pathData||G.d)}function V(G){return G&&(G.hasOwnProperty("pathData")||G.hasOwnProperty("d"))}function Z(G,Y){return G&&G.hasOwnProperty(Y)}},"4HMb":function(ue,z,d){var O=d("bYtY"),_=d("6GrX"),I=d("4NO4"),E=I.makeInner,C=d("aX7z"),t=C.makeLabelFormatter,p=C.getOptionCategoryInterval,h=C.shouldShowAllLabels,o=E();function r(b){return b.type==="category"?l(b):e(b)}function s(b,S){return b.type==="category"?c(b,S):{ticks:b.scale.getTicks()}}function l(b){var S=b.getLabelModel(),y=n(b,S);return!S.get("show")||b.scale.isBlank()?{labels:[],labelCategoryInterval:y.labelCategoryInterval}:y}function n(b,S){var y=a(b,"labels"),w=p(S),x=i(y,w);if(x)return x;var T,L;return O.isFunction(w)?T=v(b,w):(L=w==="auto"?f(b):w,T=g(b,L)),u(y,w,{labels:T,labelCategoryInterval:L})}function c(b,S){var y=a(b,"ticks"),w=p(S),x=i(y,w);if(x)return x;var T,L;if((!S.get("show")||b.scale.isBlank())&&(T=[]),O.isFunction(w))T=v(b,w,!0);else if(w==="auto"){var R=n(b,b.getLabelModel());L=R.labelCategoryInterval,T=O.map(R.labels,function(P){return P.tickValue})}else L=w,T=g(b,L,!0);return u(y,w,{ticks:T,tickCategoryInterval:L})}function e(b){var S=b.scale.getTicks(),y=t(b);return{labels:O.map(S,function(w,x){return{formattedLabel:y(w,x),rawLabel:b.scale.getLabel(w),tickValue:w}})}}function a(b,S){return o(b)[S]||(o(b)[S]=[])}function i(b,S){for(var y=0;y<b.length;y++)if(b[y].key===S)return b[y].value}function u(b,S,y){return b.push({key:S,value:y}),y}function f(b){var S=o(b).autoInterval;return S!=null?S:o(b).autoInterval=b.calculateCategoryInterval()}function m(b){var S=A(b),y=t(b),w=(S.axisRotate-S.labelRotate)/180*Math.PI,x=b.scale,T=x.getExtent(),L=x.count();if(T[1]-T[0]<1)return 0;var R=1;L>40&&(R=Math.max(1,Math.floor(L/40)));for(var P=T[0],k=b.dataToCoord(P+1)-b.dataToCoord(P),U=Math.abs(k*Math.cos(w)),D=Math.abs(k*Math.sin(w)),M=0,B=0;P<=T[1];P+=R){var j=0,H=0,K=_.getBoundingRect(y(P),S.font,"center","top");j=K.width*1.3,H=K.height*1.3,M=Math.max(M,j,7),B=Math.max(B,H,7)}var W=M/U,X=B/D;isNaN(W)&&(W=Infinity),isNaN(X)&&(X=Infinity);var V=Math.max(0,Math.floor(Math.min(W,X))),Z=o(b.model),G=b.getExtent(),Y=Z.lastAutoInterval,te=Z.lastTickCount;return Y!=null&&te!=null&&Math.abs(Y-V)<=1&&Math.abs(te-L)<=1&&Y>V&&Z.axisExtend0===G[0]&&Z.axisExtend1===G[1]?V=Y:(Z.lastTickCount=L,Z.lastAutoInterval=V,Z.axisExtend0=G[0],Z.axisExtend1=G[1]),V}function A(b){var S=b.getLabelModel();return{axisRotate:b.getRotate?b.getRotate():b.isHorizontal&&!b.isHorizontal()?90:0,labelRotate:S.get("rotate")||0,font:S.getFont()}}function g(b,S,y){var w=t(b),x=b.scale,T=x.getExtent(),L=b.getLabelModel(),R=[],P=Math.max((S||0)+1,1),k=T[0],U=x.count();k!==0&&P>1&&U/P>2&&(k=Math.round(Math.ceil(k/P)*P));var D=h(b),M=L.get("showMinLabel")||D,B=L.get("showMaxLabel")||D;M&&k!==T[0]&&H(T[0]);for(var j=k;j<=T[1];j+=P)H(j);B&&j-P!==T[1]&&H(T[1]);function H(K){R.push(y?K:{formattedLabel:w(K),rawLabel:x.getLabel(K),tickValue:K})}return R}function v(b,S,y){var w=b.scale,x=t(b),T=[];return O.each(w.getTicks(),function(L){var R=w.getLabel(L);S(L,R)&&T.push(y?L:{formattedLabel:x(L),rawLabel:R,tickValue:L})}),T}z.createAxisLabels=r,z.createAxisTicks=s,z.calculateCategoryInterval=m},"4NO4":function(ue,z,d){var O=d("bYtY"),_=d("ItGF"),I=O.each,E=O.isObject,C=O.isArray,t="series\0";function p(y){return y instanceof Array?y:y==null?[]:[y]}function h(y,w,x){if(y){y[w]=y[w]||{},y.emphasis=y.emphasis||{},y.emphasis[w]=y.emphasis[w]||{};for(var T=0,L=x.length;T<L;T++){var R=x[T];!y.emphasis[w].hasOwnProperty(R)&&y[w].hasOwnProperty(R)&&(y.emphasis[w][R]=y[w][R])}}}var o=["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 E(y)&&!C(y)&&!(y instanceof Date)?y.value:y}function s(y){return E(y)&&!(y instanceof Array)}function l(y,w){w=(w||[]).slice();var x=O.map(y||[],function(T,L){return{exist:T}});return I(w,function(T,L){if(!E(T))return;for(var R=0;R<x.length;R++)if(!x[R].option&&T.id!=null&&x[R].exist.id===T.id+""){x[R].option=T,w[L]=null;return}for(var R=0;R<x.length;R++){var P=x[R].exist;if(!x[R].option&&(P.id==null||T.id==null)&&T.name!=null&&!e(T)&&!e(P)&&P.name===T.name+""){x[R].option=T,w[L]=null;return}}}),I(w,function(T,L){if(!E(T))return;for(var R=0;R<x.length;R++){var P=x[R].exist;if(!x[R].option&&!e(P)&&T.id==null){x[R].option=T;break}}R>=x.length&&x.push({option:T})}),x}function n(y){var w=O.createHashMap();I(y,function(x,T){var L=x.exist;L&&w.set(L.id,x)}),I(y,function(x,T){var L=x.option;O.assert(!L||L.id==null||!w.get(L.id)||w.get(L.id)===x,"id duplicates: "+(L&&L.id)),L&&L.id!=null&&w.set(L.id,x),!x.keyInfo&&(x.keyInfo={})}),I(y,function(x,T){var L=x.exist,R=x.option,P=x.keyInfo;if(!E(R))return;if(P.name=R.name!=null?R.name+"":L?L.name:t+T,L)P.id=L.id;else if(R.id!=null)P.id=R.id+"";else{var k=0;do P.id="\0"+P.name+"\0"+k++;while(w.get(P.id))}w.set(P.id,x)})}function c(y){var w=y.name;return!!(w&&w.indexOf(t))}function e(y){return E(y)&&y.id&&(y.id+"").indexOf("\0_ec_\0")===0}function a(y,w){var x={},T={};return L(y||[],x),L(w||[],T,x),[R(x),R(T)];function L(P,k,U){for(var D=0,M=P.length;D<M;D++)for(var B=P[D].seriesId,j=p(P[D].dataIndex),H=U&&U[B],K=0,W=j.length;K<W;K++){var X=j[K];H&&H[X]?H[X]=null:(k[B]||(k[B]={}))[X]=1}}function R(P,k){var U=[];for(var D in P)if(P.hasOwnProperty(D)&&P[D]!=null)if(k)U.push(+D);else{var M=R(P[D],!0);M.length&&U.push({seriesId:D,dataIndex:M})}return U}}function i(y,w){if(w.dataIndexInside!=null)return w.dataIndexInside;if(w.dataIndex!=null)return O.isArray(w.dataIndex)?O.map(w.dataIndex,function(x){return y.indexOfRawIndex(x)}):y.indexOfRawIndex(w.dataIndex);if(w.name!=null)return O.isArray(w.name)?O.map(w.name,function(x){return y.indexOfName(x)}):y.indexOfName(w.name)}function u(){var y="__\0ec_inner_"+f+++"_"+Math.random().toFixed(5);return function(w){return w[y]||(w[y]={})}}var f=0;function m(y,w,x){if(O.isString(w)){var T={};T[w+"Index"]=0,w=T}var L=x&&x.defaultMainType;L&&!A(w,L+"Index")&&!A(w,L+"Id")&&!A(w,L+"Name")&&(w[L+"Index"]=0);var R={};return I(w,function(P,k){var P=w[k];if(k==="dataIndex"||k==="dataIndexInside"){R[k]=P;return}var U=k.match(/^(\w+)(Index|Id|Name)$/)||[],D=U[1],M=(U[2]||"").toLowerCase();if(!D||!M||P==null||M==="index"&&P==="none"||x&&x.includeMainTypes&&O.indexOf(x.includeMainTypes,D)<0)return;var B={mainType:D};(M!=="index"||P!=="all")&&(B[M]=P);var j=y.queryComponents(B);R[D+"Models"]=j,R[D+"Model"]=j[0]}),R}function A(y,w){return y&&y.hasOwnProperty(w)}function g(y,w,x){y.setAttribute?y.setAttribute(w,x):y[w]=x}function v(y,w){return y.getAttribute?y.getAttribute(w):y[w]}function b(y){return y==="auto"?_.domSupported?"html":"richText":y||"html"}function S(y,w){var x=O.createHashMap(),T=[];return O.each(y,function(L){var R=w(L);(x.get(R)||(T.push(R),x.set(R,[]))).push(L)}),{keys:T,buckets:x}}z.normalizeToArray=p,z.defaultEmphasis=h,z.TEXT_STYLE_OPTIONS=o,z.getDataItemValue=r,z.isDataItemOption=s,z.mappingToExists=l,z.makeIdAndName=n,z.isNameSpecified=c,z.isIdInner=e,z.compressBatches=a,z.queryDataIndex=i,z.makeInner=u,z.parseFinder=m,z.setAttribute=g,z.getAttribute=v,z.getTooltipRenderMode=b,z.groupData=S},"4NgU":function(ue,z,d){var O=d("Yl7c");function _(E){this._setting=E||{},this._extent=[Infinity,-Infinity],this._interval=0,this.init&&this.init.apply(this,arguments)}_.prototype.parse=function(E){return E},_.prototype.getSetting=function(E){return this._setting[E]},_.prototype.contain=function(E){var C=this._extent;return E>=C[0]&&E<=C[1]},_.prototype.normalize=function(E){var C=this._extent;return C[1]===C[0]?.5:(E-C[0])/(C[1]-C[0])},_.prototype.scale=function(E){var C=this._extent;return E*(C[1]-C[0])+C[0]},_.prototype.unionExtent=function(E){var C=this._extent;E[0]<C[0]&&(C[0]=E[0]),E[1]>C[1]&&(C[1]=E[1])},_.prototype.unionExtentFromData=function(E,C){this.unionExtent(E.getApproximateExtent(C))},_.prototype.getExtent=function(){return this._extent.slice()},_.prototype.setExtent=function(E,C){var t=this._extent;isNaN(E)||(t[0]=E),isNaN(C)||(t[1]=C)},_.prototype.isBlank=function(){return this._isBlank},_.prototype.setBlank=function(E){this._isBlank=E},_.prototype.getLabel=null,O.enableClassExtend(_),O.enableClassManagement(_,{registerWhenExtend:!0});var I=_;ue.exports=I},"4fz+":function(ue,z,d){var O=d("bYtY"),_=d("1bdT"),I=d("mFDi"),E=function(p){p=p||{},_.call(this,p);for(var h in p)p.hasOwnProperty(h)&&(this[h]=p[h]);this._children=[],this.__storage=null,this.__dirty=!0};E.prototype={constructor:E,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(p){return this._children[p]},childOfName:function(p){for(var h=this._children,o=0;o<h.length;o++)if(h[o].name===p)return h[o]},childCount:function(){return this._children.length},add:function(p){return p&&p!==this&&p.parent!==this&&(this._children.push(p),this._doAdd(p)),this},addBefore:function(p,h){if(p&&p!==this&&p.parent!==this&&h&&h.parent===this){var o=this._children,r=o.indexOf(h);r>=0&&(o.splice(r,0,p),this._doAdd(p))}return this},_doAdd:function(p){p.parent&&p.parent.remove(p),p.parent=this;var h=this.__storage,o=this.__zr;h&&h!==p.__storage&&(h.addToStorage(p),p instanceof E&&p.addChildrenToStorage(h)),o&&o.refresh()},remove:function(p){var h=this.__zr,o=this.__storage,r=this._children,s=O.indexOf(r,p);return s<0?this:(r.splice(s,1),p.parent=null,o&&(o.delFromStorage(p),p instanceof E&&p.delChildrenFromStorage(o)),h&&h.refresh(),this)},removeAll:function(){var p=this._children,h=this.__storage,o,r;for(r=0;r<p.length;r++)o=p[r],h&&(h.delFromStorage(o),o instanceof E&&o.delChildrenFromStorage(h)),o.parent=null;return p.length=0,this},eachChild:function(p,h){for(var o=this._children,r=0;r<o.length;r++){var s=o[r];p.call(h,s,r)}return this},traverse:function(p,h){for(var o=0;o<this._children.length;o++){var r=this._children[o];p.call(h,r),r.type==="group"&&r.traverse(p,h)}return this},addChildrenToStorage:function(p){for(var h=0;h<this._children.length;h++){var o=this._children[h];p.addToStorage(o),o instanceof E&&o.addChildrenToStorage(p)}},delChildrenFromStorage:function(p){for(var h=0;h<this._children.length;h++){var o=this._children[h];p.delFromStorage(o),o instanceof E&&o.delChildrenFromStorage(p)}},dirty:function(){return this.__dirty=!0,this.__zr&&this.__zr.refresh(),this},getBoundingRect:function(p){for(var h=null,o=new I(0,0,0,0),r=p||this._children,s=[],l=0;l<r.length;l++){var n=r[l];if(n.ignore||n.invisible)continue;var c=n.getBoundingRect(),e=n.getLocalTransform(s);e?(o.copy(c),o.applyTransform(e),h=h||o.clone(),h.union(o)):(h=h||c.clone(),h.union(c))}return h||o}},O.inherits(E,_);var C=E;ue.exports=C},"4i/N":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CloseOutlined";var p=z.a=_.forwardRef(t)},"4mN7":function(ue,z,d){var O=d("QBsz"),_=d("Sj9i"),I=Math.min,E=Math.max,C=Math.sin,t=Math.cos,p=Math.PI*2,h=O.create(),o=O.create(),r=O.create();function s(u,f,m){if(u.length===0)return;var A=u[0],g=A[0],v=A[0],b=A[1],S=A[1],y;for(y=1;y<u.length;y++)A=u[y],g=I(g,A[0]),v=E(v,A[0]),b=I(b,A[1]),S=E(S,A[1]);f[0]=g,f[1]=b,m[0]=v,m[1]=S}function l(u,f,m,A,g,v){g[0]=I(u,m),g[1]=I(f,A),v[0]=E(u,m),v[1]=E(f,A)}var n=[],c=[];function e(u,f,m,A,g,v,b,S,y,w){var x=_.cubicExtrema,T=_.cubicAt,L,R=x(u,m,g,b,n);for(y[0]=Infinity,y[1]=Infinity,w[0]=-Infinity,w[1]=-Infinity,L=0;L<R;L++){var P=T(u,m,g,b,n[L]);y[0]=I(P,y[0]),w[0]=E(P,w[0])}for(R=x(f,A,v,S,c),L=0;L<R;L++){var k=T(f,A,v,S,c[L]);y[1]=I(k,y[1]),w[1]=E(k,w[1])}y[0]=I(u,y[0]),w[0]=E(u,w[0]),y[0]=I(b,y[0]),w[0]=E(b,w[0]),y[1]=I(f,y[1]),w[1]=E(f,w[1]),y[1]=I(S,y[1]),w[1]=E(S,w[1])}function a(u,f,m,A,g,v,b,S){var y=_.quadraticExtremum,w=_.quadraticAt,x=E(I(y(u,m,g),1),0),T=E(I(y(f,A,v),1),0),L=w(u,m,g,x),R=w(f,A,v,T);b[0]=I(u,g,L),b[1]=I(f,v,R),S[0]=E(u,g,L),S[1]=E(f,v,R)}function i(u,f,m,A,g,v,b,S,y){var w=O.min,x=O.max,T=Math.abs(g-v);if(T%p<1e-4&&T>1e-4){S[0]=u-m,S[1]=f-A,y[0]=u+m,y[1]=f+A;return}if(h[0]=t(g)*m+u,h[1]=C(g)*A+f,o[0]=t(v)*m+u,o[1]=C(v)*A+f,w(S,h,o),x(y,h,o),g=g%p,g<0&&(g=g+p),v=v%p,v<0&&(v=v+p),g>v&&!b?v+=p:g<v&&b&&(g+=p),b){var L=v;v=g,g=L}for(var R=0;R<v;R+=Math.PI/2)R>g&&(r[0]=t(R)*m+u,r[1]=C(R)*A+f,w(S,r,S),x(y,r,y))}z.fromPoints=s,z.fromLine=l,z.fromCubic=e,z.fromQuadratic=a,z.fromArc=i},"4vCz":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("X2/X")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="PlusSquareOutlined";var h=E.forwardRef(p);z.default=h},"4xFK":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"56rv":function(ue,z,d){var O=d("IwbS"),_=d("x3X8"),I=_.getDefaultLabel;function E(t,p,h,o,r,s,l){var n=h.getModel("label"),c=h.getModel("emphasis.label");O.setLabelStyle(t,p,n,c,{labelFetcher:r,labelDataIndex:s,defaultText:I(r.getData(),s),isRectText:!0,autoColor:o}),C(t),C(p)}function C(t,p){t.textPosition==="outside"&&(t.textPosition=p)}z.setLabel=E},"59Ip":function(ue,z,d){var O=d("Sj9i");function _(I,E,C,t,p,h,o,r,s,l,n){if(s===0)return!1;var c=s;if(n>E+c&&n>t+c&&n>h+c&&n>r+c||n<E-c&&n<t-c&&n<h-c&&n<r-c||l>I+c&&l>C+c&&l>p+c&&l>o+c||l<I-c&&l<C-c&&l<p-c&&l<o-c)return!1;var e=O.cubicProjectPoint(I,E,C,t,p,h,o,r,l,n,null);return e<=c/2}z.containStroke=_},"5Dmo":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("5YgA"),E=d.n(I)},"5GOC":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("b56q"),E=d.n(I),C=d("1YHl")},"5GhG":function(ue,z,d){var O=d("5GtS"),_=d("bYtY"),I=d("L0Ub"),E=I.getDimensionTypeByAxis,C=d("D5nY"),t=C.makeSeriesEncodeForAxisCoordSys,p={_baseAxisDim:null,getInitialData:function(h,o){var r,s=o.getComponent("xAxis",this.get("xAxisIndex")),l=o.getComponent("yAxis",this.get("yAxisIndex")),n=s.get("type"),c=l.get("type"),e;n==="category"?(h.layout="horizontal",r=s.getOrdinalMeta(),e=!0):c==="category"?(h.layout="vertical",r=l.getOrdinalMeta(),e=!0):h.layout=h.layout||"horizontal";var a=["x","y"],i=h.layout==="horizontal"?0:1,u=this._baseAxisDim=a[i],f=a[1-i],m=[s,l],A=m[i].get("type"),g=m[1-i].get("type"),v=h.data;if(v&&e){var b=[];_.each(v,function(w,x){var T;w.value&&_.isArray(w.value)?(T=w.value.slice(),w.value.unshift(x)):_.isArray(w)?(T=w.slice(),w.unshift(x)):T=w,b.push(T)}),h.data=b}var S=this.defaultValueDimensions,y=[{name:u,type:E(A),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:f,type:E(g),dimsDef:S.slice()}];return O(this,{coordDimensions:y,dimensionsCount:S.length+1,encodeDefaulter:_.curry(t,y,this)})},getBaseAxis:function(){var h=this._baseAxisDim;return this.ecModel.getComponent(h+"Axis",this.get(h+"AxisIndex")).axis}};z.seriesModelMixin=p},"5GtS":function(ue,z,d){var O=d("sdST"),_=d("YXkt"),I=d("bYtY"),E=I.extend,C=I.isArray;function t(p,h,o){h=C(h)&&{coordDimensions:h}||E({},h);var r=p.getSource(),s=O(r,h),l=new _(s,p);return l.initData(r,o),l}ue.exports=t},"5Hur":function(ue,z,d){var O=d("4NO4"),_=O.makeInner,I=O.normalizeToArray,E=_();function C(p,h){for(var o=p.length,r=0;r<o;r++)if(p[r].length>h)return p[r];return p[o-1]}var t={clearColorPalette:function(){E(this).colorIdx=0,E(this).colorNameMap={}},getColorFromPalette:function(p,h,o){h=h||this;var r=E(h),s=r.colorIdx||0,l=r.colorNameMap=r.colorNameMap||{};if(l.hasOwnProperty(p))return l[p];var n=I(this.get("color",!0)),c=this.get("colorLayer",!0),e=o==null||!c?n:C(c,o);if(e=e||n,!e||!e.length)return;var a=e[s];return p&&(l[p]=a),r.colorIdx=(s+1)%e.length,a}};ue.exports=t},"5NDa":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("OnYD"),E=d.n(I),C=d("+L6B")},"5NHt":function(ue,z,d){d("aTJb"),d("OlYY"),d("fc+c"),d("N5BQ"),d("IyUQ"),d("LBfv"),d("noeP")},"5OYt":function(ue,z,d){"use strict";var O=d("J4zp"),_=d.n(O),I=d("q1tI"),E=d.n(I),C=d("ACnJ");function t(){var p=Object(I.useState)({}),h=_()(p,2),o=h[0],r=h[1];return Object(I.useEffect)(function(){var s=C.a.subscribe(function(l){r(l)});return function(){return C.a.unsubscribe(s)}},[]),o}z.a=t},"5RzL":function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("q1tI"),c=d("1OyB"),e=d("vuIU"),a=d("Ji7U"),i=d("LK+K"),u=d("KQm4"),f=d("U8pU"),m=d("ODXe"),A=d("VTBJ"),g=d("qNPg"),v=d("2Qr1"),b=d("815F"),S=d("NvD2"),y=d("wPlo"),w=d("6cGi"),x=d("Kwbf"),T=d("4IlW"),L=d("YrtM"),R=d("fAei"),P=n.createContext(null);function k(lt,Xt){if(!lt)return!0;var sr=lt.data,Kr=sr.disabled,rr=sr.disableCheckbox;switch(Xt){case"select":return Kr;case"checkbox":return Kr||rr}return!1}function U(lt,Xt){var sr=n.useCallback(function(rr){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Nt=arguments.length>2?arguments[2]:void 0,ot=lt.get(rr);return!Nt&&k(ot,nr)?null:ot},[lt]),Kr=n.useCallback(function(rr){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"select",Nt=arguments.length>2?arguments[2]:void 0,ot=Xt.get(rr);return!Nt&&k(ot,nr)?null:ot},[Xt]);return[sr,Kr]}function D(lt){return n.useMemo(function(){var Xt=new Map,sr=new Map;return lt.forEach(function(Kr){Xt.set(Kr.key,Kr),sr.set(Kr.data.value,Kr)}),[Xt,sr]},[lt])}var M={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},B=function(Xt,sr){var Kr=Xt.prefixCls,rr=Xt.height,nr=Xt.itemHeight,Nt=Xt.virtual,ot=Xt.options,Qe=Xt.flattenOptions,qt=Xt.multiple,xr=Xt.searchValue,vr=Xt.onSelect,fr=Xt.onToggleOpen,An=Xt.open,$r=Xt.notFoundContent,Ln=Xt.onMouseEnter,$e=n.useContext(P),tt=$e.checkable,ve=$e.checkedKeys,_e=$e.halfCheckedKeys,ke=$e.treeExpandedKeys,rt=$e.treeDefaultExpandAll,Wt=$e.treeDefaultExpandedKeys,Bt=$e.onTreeExpand,Gt=$e.treeIcon,Rr=$e.showTreeIcon,Pr=$e.switcherIcon,cn=$e.treeLine,Ut=$e.treeNodeFilterProp,pt=$e.loadData,ct=$e.treeLoadedKeys,Qt=$e.treeMotion,Jt=$e.onTreeLoad,yt=n.useRef(),Pt=Object(L.a)(function(){return ot},[An,ot],function(kr,gr){return gr[0]&&kr[1]!==gr[1]}),At=D(Qe),Ft=Object(m.a)(At,2),pr=Ft[0],or=Ft[1],ir=U(pr,or),Yr=Object(m.a)(ir,2),Jr=Yr[0],_n=Yr[1],Nn=n.useMemo(function(){return ve.map(function(kr){var gr=_n(kr);return gr?gr.key:null})},[ve]),zn=n.useMemo(function(){return tt?{checked:Nn,halfChecked:_e}:null},[Nn,_e,tt]);n.useEffect(function(){if(An&&!qt&&Nn.length){var kr;(kr=yt.current)===null||kr===void 0||kr.scrollTo({key:Nn[0]})}},[An]);var ei=String(xr).toLowerCase(),vi=function(gr){return ei?String(gr[Ut]).toLowerCase().includes(ei):!1},Pi=n.useState(Wt),Ge=Object(m.a)(Pi,2),we=Ge[0],Le=Ge[1],De=n.useState(null),We=Object(m.a)(De,2),Fe=We[0],Je=We[1],vt=n.useMemo(function(){return ke?Object(u.a)(ke):xr?Fe:we},[we,Fe,ei,ke]);n.useEffect(function(){xr&&Je(Qe.map(function(kr){return kr.key}))},[xr]);var st=function(gr){Le(gr),Je(gr),Bt&&Bt(gr)},kt=function(gr){gr.preventDefault()},wr=function(gr,Sn){var Pn=Sn.node.key,ii=Jr(Pn,tt?"checkbox":"select");ii!==null&&vr(ii.data.value,{selected:!ve.includes(ii.data.value)}),qt||fr(!1)},hr=n.useState(null),Nr=Object(m.a)(hr,2),Kt=Nr[0],un=Nr[1],ar=Jr(Kt);if(n.useImperativeHandle(sr,function(){return{onKeyDown:function(gr){var Sn,Pn=gr.which;switch(Pn){case T.a.UP:case T.a.DOWN:case T.a.LEFT:case T.a.RIGHT:(Sn=yt.current)===null||Sn===void 0||Sn.onKeyDown(gr);break;case T.a.ENTER:{ar!==null&&wr(null,{node:{key:Kt},selected:!ve.includes(ar.data.value)});break}case T.a.ESC:fr(!1)}},onKeyUp:function(){}}}),Pt.length===0)return n.createElement("div",{role:"listbox",className:"".concat(Kr,"-empty"),onMouseDown:kt},$r);var Xr={};return ct&&(Xr.loadedKeys=ct),vt&&(Xr.expandedKeys=vt),n.createElement("div",{onMouseDown:kt,onMouseEnter:Ln},ar&&An&&n.createElement("span",{style:M,"aria-live":"assertive"},ar.data.value),n.createElement(R.b,Object.assign({ref:yt,focusable:!1,prefixCls:"".concat(Kr,"-tree"),treeData:Pt,height:rr,itemHeight:nr,virtual:Nt,multiple:qt,icon:Gt,showIcon:Rr,switcherIcon:Pr,showLine:cn,loadData:xr?null:pt,motion:Qt,checkable:tt,checkStrictly:!0,checkedKeys:zn,selectedKeys:tt?[]:Nn,defaultExpandAll:rt},Xr,{onActiveChange:un,onSelect:wr,onCheck:wr,onExpand:st,onLoad:Jt,filterTreeNode:vi})))},j=n.forwardRef(B);j.displayName="OptionList";var H=j,K=function(){return null},W=K,X=d("Ff2n"),V=d("Zm9Q");function Z(lt){return Object(V.a)(lt).map(function(Xt){if(!n.isValidElement(Xt)||!Xt.type)return null;var sr=Xt.key,Kr=Xt.props,rr=Kr.children,nr=Kr.value,Nt=Object(X.a)(Kr,["children","value"]),ot=Object(A.a)({key:sr,value:nr},Nt),Qe=Z(rr);return Qe.length&&(ot.children=Qe),ot}).filter(function(Xt){return Xt})}function G(lt){if(!lt)return lt;var Xt=Object(A.a)({},lt);return"props"in Xt||Object.defineProperty(Xt,"props",{get:function(){return Object(x.a)(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),Xt}}),Xt}function Y(lt,Xt,sr,Kr,rr){var nr=null,Nt=null;function ot(){function Qe(qt){var xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return qt.map(function(fr,An){var $r="".concat(xr,"-").concat(An),Ln=sr.includes(fr.value),$e=Qe(fr.children||[],$r,Ln),tt=n.createElement(W,Object.assign({},fr),$e.map(function(_e){return _e.node}));if(Xt===fr.value&&(nr=tt),Ln){var ve={pos:$r,node:tt,children:$e};return vr||Nt.push(ve),ve}return null}).filter(function(fr){return fr})}Nt||(Nt=[],Qe(Kr),Nt.sort(function(qt,xr){var vr=qt.node.props.value,fr=xr.node.props.value,An=sr.indexOf(vr),$r=sr.indexOf(fr);return An-$r}))}Object.defineProperty(lt,"triggerNode",{get:function(){return Object(x.a)(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),ot(),nr}}),Object.defineProperty(lt,"allCheckedNodes",{get:function(){return Object(x.a)(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),ot(),rr?Nt:Nt.map(function(qt){var xr=qt.node;return xr})}})}function te(lt){return Array.isArray(lt)?lt:lt!==void 0?[lt]:[]}function se(lt,Xt){var sr=new Map;return Xt.forEach(function(Kr){var rr=Kr.data;sr.set(rr.value,rr)}),lt.map(function(Kr){return G(sr.get(Kr))})}function Ce(lt,Xt){var sr=se([lt],Xt)[0];return sr?sr.disabled:!1}function he(lt){return lt.disabled||lt.disableCheckbox||lt.checkable===!1}function xe(lt){for(var Xt=lt.parent,sr=0,Kr=Xt;Kr;)Kr=Kr.parent,sr+=1;return sr}function ie(lt){function Xt(Kr){return(Kr||[]).map(function(rr){var nr=rr.value,Nt=rr.key,ot=rr.children,Qe=Object(A.a)(Object(A.a)({},rr),{},{key:"key"in rr?Nt:nr});return ot&&(Qe.children=Xt(ot)),Qe})}var sr=Object(b.d)(Xt(lt),!0);return sr.map(function(Kr){return{key:Kr.data.key,data:Kr.data,level:xe(Kr)}})}function ee(lt){return function(Xt,sr){var Kr=sr[lt];return String(Kr).toLowerCase().includes(String(Xt).toLowerCase())}}function Ze(lt,Xt,sr){var Kr=sr.optionFilterProp,rr=sr.filterOption;if(rr===!1)return Xt;var nr;typeof rr=="function"?nr=rr:nr=ee(Kr);function Nt(ot){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ot.map(function(qt){var xr=qt.children,vr=Qe||nr(lt,G(qt)),fr=Nt(xr||[],vr);return vr||fr.length?Object(A.a)(Object(A.a)({},qt),{},{children:fr}):null}).filter(function(qt){return qt})}return Nt(Xt)}function Se(lt,Xt,sr,Kr){var rr=new Map;return te(Xt).forEach(function(nr){nr&&Object(f.a)(nr)==="object"&&"value"in nr&&rr.set(nr.value,nr)}),lt.map(function(nr){var Nt={value:nr},ot=sr(nr,"select",!0),Qe=ot?Kr(ot.data):nr;if(rr.has(nr)){var qt=rr.get(nr);Nt.label="label"in qt?qt.label:Qe,"halfChecked"in qt&&(Nt.halfChecked=qt.halfChecked)}else Nt.label=Qe;return Nt})}function Ne(lt,Xt){var sr=new Set(lt);return sr.add(Xt),Array.from(sr)}function it(lt,Xt){var sr=new Set(lt);return sr.delete(Xt),Array.from(sr)}function Ye(lt){var Xt=lt.searchPlaceholder,sr=lt.treeCheckStrictly,Kr=lt.treeCheckable,rr=lt.labelInValue,nr=lt.value,Nt=lt.multiple;Object(x.a)(!Xt,"`searchPlaceholder` has been removed."),sr&&rr===!1&&Object(x.a)(!1,"`treeCheckStrictly` will force set `labelInValue` to `true`."),(rr||sr)&&Object(x.a)(te(nr).every(function(ot){return ot&&Object(f.a)(ot)==="object"&&"value"in ot}),"Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."),sr||Nt||Kr?Object(x.a)(!nr||Array.isArray(nr),"`value` should be an array when `TreeSelect` is checkable or multiple."):Object(x.a)(!Array.isArray(nr),"`value` should not be array when `TreeSelect` is single mode.")}var nt=Ye,je=10;function et(lt,Xt){var sr=Xt.id,Kr=Xt.pId,rr=Xt.rootPId,nr={},Nt=[],ot=lt.map(function(Qe){var qt=Object(A.a)({},Qe),xr=qt[sr];return nr[xr]=qt,qt.key=qt.key||xr,qt});return ot.forEach(function(Qe){var qt=Qe[Kr],xr=nr[qt];xr&&(xr.children=xr.children||[],xr.children.push(Qe)),(qt===rr||!xr&&rr===null)&&Nt.push(Qe)}),Nt}function He(lt,Xt){var sr=0,Kr=new Set;function rr(nr){return(nr||[]).map(function(Nt){var ot=Nt.key,Qe=Nt.value,qt=Nt.children,xr=Object(X.a)(Nt,["key","value","children"]),vr="value"in Nt?Qe:ot,fr=Object(A.a)(Object(A.a)({},xr),{},{key:ot!=null?ot:vr,value:vr,title:Xt(Nt)});return"children"in Nt&&(fr.children=rr(qt)),fr})}return rr(lt)}function pe(lt,Xt,sr){var Kr=sr.getLabelProp,rr=sr.simpleMode,nr=n.useRef({});return lt?(nr.current.formatTreeData=nr.current.treeData===lt?nr.current.formatTreeData:He(rr?et(lt,Object(A.a)({id:"id",pId:"pId",rootPId:null},rr!==!0?rr:{})):lt,Kr),nr.current.treeData=lt):nr.current.formatTreeData=nr.current.children===Xt?nr.current.formatTreeData:He(Z(Xt),Kr),nr.current.formatTreeData}var ae="SHOW_ALL",re="SHOW_PARENT",be="SHOW_CHILD";function ze(lt,Xt,sr){var Kr=new Set(lt);return Xt===be?lt.filter(function(rr){var nr=sr[rr];return!(nr&&nr.children&&nr.children.every(function(Nt){var ot=Nt.node;return he(ot)||Kr.has(ot.key)}))}):Xt===re?lt.filter(function(rr){var nr=sr[rr],Nt=nr?nr.parent:null;return!(Nt&&!he(Nt.node)&&Kr.has(Nt.node.key))}):lt}function Ke(lt,Xt){var sr=Xt.value,Kr=Xt.getEntityByValue,rr=Xt.getEntityByKey,nr=Xt.treeConduction,Nt=Xt.showCheckedStrategy,ot=Xt.conductKeyEntities,Qe=Xt.getLabelProp;return n.useMemo(function(){var qt=lt;if(nr){var xr=ze(lt.map(function(vr){var fr=Kr(vr);return fr?fr.key:vr}),Nt,ot);qt=xr.map(function(vr){var fr=rr(vr);return fr?fr.data.value:vr})}return Se(qt,sr,Kr,Qe)},[lt,sr,nr,Nt,Kr])}var Te=["expandedKeys","treeData","treeCheckable","showCheckedStrategy","searchPlaceholder","treeLine","treeIcon","showTreeIcon","switcherIcon","treeNodeFilterProp","filterTreeNode","dropdownPopupAlign","treeDefaultExpandAll","treeCheckStrictly","treeExpandedKeys","treeLoadedKeys","treeMotion","onTreeExpand","onTreeLoad","loadData","treeDataSimpleMode","treeNodeLabelProp","treeDefaultExpandedKeys"],gt=Object(g.a)({prefixCls:"rc-tree-select",components:{optionList:H},convertChildrenToData:function(){return null},flattenOptions:ie,getLabeledValue:v.e,filterOptions:Ze,isValueDisabled:Ce,findValueOption:se,omitDOMProps:function(Xt){var sr=Object(A.a)({},Xt);return Te.forEach(function(Kr){delete sr[Kr]}),sr}});gt.displayName="Select";var Ue=n.forwardRef(function(lt,Xt){var sr=lt.multiple,Kr=lt.treeCheckable,rr=lt.treeCheckStrictly,nr=lt.showCheckedStrategy,Nt=nr===void 0?"SHOW_CHILD":nr,ot=lt.labelInValue,Qe=lt.loadData,qt=lt.treeLoadedKeys,xr=lt.treeNodeFilterProp,vr=xr===void 0?"value":xr,fr=lt.treeNodeLabelProp,An=lt.treeDataSimpleMode,$r=lt.treeData,Ln=lt.treeExpandedKeys,$e=lt.treeDefaultExpandedKeys,tt=lt.treeDefaultExpandAll,ve=lt.children,_e=lt.treeIcon,ke=lt.showTreeIcon,rt=lt.switcherIcon,Wt=lt.treeLine,Bt=lt.treeMotion,Gt=lt.filterTreeNode,Rr=lt.dropdownPopupAlign,Pr=lt.onChange,cn=lt.onTreeExpand,Ut=lt.onTreeLoad,pt=lt.onDropdownVisibleChange,ct=lt.onSelect,Qt=lt.onDeselect,Jt=Kr||rr,yt=sr||Jt,Pt=Kr&&!rr,At=rr||ot,Ft=n.useRef(null);n.useImperativeHandle(Xt,function(){return{focus:Ft.current.focus,blur:Ft.current.blur}});var pr=function(Pn){return $r&&Pn.label||Pn.title},or=function(Pn){return fr?Pn[fr]:pr(Pn)},ir=pe($r,ve,{getLabelProp:pr,simpleMode:An}),Yr=Object(n.useMemo)(function(){return ie(ir)},[ir]),Jr=D(Yr),_n=Object(m.a)(Jr,2),Nn=_n[0],zn=_n[1],ei=U(Nn,zn),vi=Object(m.a)(ei,2),Pi=vi[0],Ge=vi[1],we=Object(n.useMemo)(function(){return Pt?Object(b.a)(ir):{keyEntities:null}},[ir,Kr,rr]),Le=we.keyEntities,De=Object(w.a)(lt.defaultValue,{value:lt.value}),We=Object(m.a)(De,2),Fe=We[0],Je=We[1],vt=function(Pn){var ii=[],oi=[];return Pn.forEach(function(ti){Ge(ti)?oi.push(ti):ii.push(ti)}),{missingRawValues:ii,existRawValues:oi}},st=Object(n.useMemo)(function(){var Sn=[],Pn=[];if(te(Fe).forEach(function(Vr){if(Vr&&Object(f.a)(Vr)==="object"&&"value"in Vr)if(Vr.halfChecked&&rr){var xn=Ge(Vr.value);Sn.push(xn?xn.key:Vr.value)}else Pn.push(Vr.value);else Pn.push(Vr)}),Pt){var ii=vt(Pn),oi=ii.missingRawValues,ti=ii.existRawValues,bi=ti.map(function(Vr){return Ge(Vr).key}),Bn=Object(S.a)(bi,!0,Le),_i=Bn.checkedKeys,gn=Bn.halfCheckedKeys;return[[].concat(Object(u.a)(oi),Object(u.a)(_i.map(function(Vr){return Pi(Vr).data.value}))),gn]}return[Pn,Sn]},[Fe,yt,At,Kr,rr]),kt=Object(m.a)(st,2),wr=kt[0],hr=kt[1],Nr=Ke(wr,{treeConduction:Pt,value:Fe,showCheckedStrategy:Nt,conductKeyEntities:Le,getEntityByValue:Ge,getEntityByKey:Pi,getLabelProp:or}),Kt=function(Pn,ii,oi){if(Je(yt?Pn:Pn[0]),Pr){var ti=Pn;if(Pt&&Nt!=="SHOW_ALL"){var bi=Pn.map(function(wi){var Qn=Ge(wi);return Qn?Qn.key:wi}),Bn=ze(bi,Nt,Le);ti=Bn.map(function(wi){var Qn=Pi(wi);return Qn?Qn.data.value:wi})}var _i=ii||{triggerValue:void 0,selected:void 0},gn=_i.triggerValue,Vr=_i.selected,xn=At?Se(ti,Fe,Ge,or):ti;if(rr){var tn=hr.map(function(wi){var Qn=Pi(wi);return Qn?Qn.data.value:wi}).filter(function(wi){return!ti.includes(wi)});xn=[].concat(Object(u.a)(xn),Object(u.a)(Se(tn,Fe,Ge,or)))}var ui={preValue:Nr,triggerValue:gn},qn=!0;(rr||oi==="selection"&&!Vr)&&(qn=!1),Y(ui,gn,Pn,ir,qn),Jt?ui.checked=Vr:ui.selected=Vr,Pr(yt?xn:xn[0],At?null:ti.map(function(wi){var Qn=Ge(wi);return Qn?or(Qn.data):null}),ui)}},un=function(Pn,ii,oi){var ti=Pn;if(!yt)Kt([Pn],{selected:!0,triggerValue:Pn},oi);else{var bi=Ne(wr,Pn);if(Pt){var Bn=vt(bi),_i=Bn.missingRawValues,gn=Bn.existRawValues,Vr=gn.map(function(ui){return Ge(ui).key}),xn=Object(S.a)(Vr,!0,Le),tn=xn.checkedKeys;bi=[].concat(Object(u.a)(_i),Object(u.a)(tn.map(function(ui){return Pi(ui).data.value})))}Kt(bi,{selected:!0,triggerValue:Pn},oi)}ct&&ct(ti,ii)},ar=function(Pn,ii,oi){var ti=Pn,bi=it(wr,Pn);if(Pt){var Bn=vt(bi),_i=Bn.missingRawValues,gn=Bn.existRawValues,Vr=gn.map(function(ui){return Ge(ui).key}),xn=Object(S.a)(Vr,{checked:!1,halfCheckedKeys:hr},Le),tn=xn.checkedKeys;bi=[].concat(Object(u.a)(_i),Object(u.a)(tn.map(function(ui){return Pi(ui).data.value})))}Kt(bi,{selected:!1,triggerValue:Pn},oi),Qt&&Qt(ti,ii)},Xr=function(){Kt([],null,"clear")},kr=n.useCallback(function(Sn){if(pt){var Pn={};Object.defineProperty(Pn,"documentClickClose",{get:function(){return Object(x.a)(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),pt(Sn,Pn)}},[pt]),gr={optionLabelProp:null,optionFilterProp:vr,dropdownAlign:Rr,internalProps:{mark:y.a,onClear:Xr,skipTriggerChange:!0,skipTriggerSelect:!0,onRawSelect:un,onRawDeselect:ar}};return"filterTreeNode"in lt&&(gr.filterOption=Gt),n.createElement(P.Provider,{value:{checkable:Jt,loadData:Qe,treeLoadedKeys:qt,onTreeLoad:Ut,checkedKeys:wr,halfCheckedKeys:hr,treeDefaultExpandAll:tt,treeExpandedKeys:Ln,treeDefaultExpandedKeys:$e,onTreeExpand:cn,treeIcon:_e,treeMotion:Bt,showTreeIcon:ke,switcherIcon:rt,treeLine:Wt,treeNodeFilterProp:vr}},n.createElement(gt,Object.assign({ref:Ft,mode:yt?"multiple":null},lt,gr,{value:Nr,labelInValue:!0,options:ir,onChange:null,onSelect:null,onDeselect:null,onDropdownVisibleChange:kr})))}),bt=function(lt){Object(a.a)(sr,lt);var Xt=Object(i.a)(sr);function sr(){var Kr;return Object(c.a)(this,sr),Kr=Xt.apply(this,arguments),Kr.selectRef=n.createRef(),Kr.focus=function(){Kr.selectRef.current.focus()},Kr.blur=function(){Kr.selectRef.current.blur()},Kr}return Object(e.a)(sr,[{key:"render",value:function(){return n.createElement(Ue,Object.assign({ref:this.selectRef},this.props))}}]),sr}(n.Component);bt.TreeNode=W,bt.SHOW_ALL=ae,bt.SHOW_PARENT=re,bt.SHOW_CHILD=be;var wt=bt,Et=wt,xt=d("TSYQ"),Tt=d.n(xt),Be=d("BGR+"),ce=d("H84U"),q=d("uaoM"),dt=d("1vzs"),Ve=d("2jpz"),de=d("3Nzz"),Ht=function(lt){r()(sr,lt);var Xt=l()(sr);function sr(Kr){var rr;return t()(this,sr),rr=Xt.call(this,Kr),rr.selectRef=n.createRef(),rr.renderTreeSelect=function(nr){var Nt=nr.getPopupContainer,ot=nr.getPrefixCls,Qe=nr.renderEmpty,qt=nr.direction,xr=nr.virtual,vr=nr.dropdownMatchSelectWidth,fr=rr.props,An=fr.prefixCls,$r=fr.size,Ln=fr.className,$e=fr.treeCheckable,tt=fr.multiple,ve=fr.listHeight,_e=ve===void 0?256:ve,ke=fr.listItemHeight,rt=ke===void 0?26:ke,Wt=fr.notFoundContent,Bt=fr.switcherIcon,Gt=fr.treeLine,Rr=fr.getPopupContainer,Pr=fr.dropdownClassName,cn=fr.bordered,Ut=fr.treeIcon,pt=Ut===void 0?!1:Ut,ct=ot("select",An),Qt=ot("select-tree",An),Jt=ot("tree-select",An),yt=Tt()(Pr,"".concat(Jt,"-dropdown"),E()({},"".concat(Jt,"-dropdown-rtl"),qt==="rtl")),Pt=!!($e||tt),At=Object(dt.a)(_()(_()({},rr.props),{multiple:Pt,prefixCls:ct})),Ft=At.suffixIcon,pr=At.itemIcon,or=At.removeIcon,ir=At.clearIcon,Yr;Wt!==void 0?Yr=Wt:Yr=Qe("Select");var Jr=Object(Be.default)(rr.props,["prefixCls","suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon","size","bordered"]);return n.createElement(de.b.Consumer,null,function(_n){var Nn,zn=$r||_n,ei=Tt()(!An&&Jt,(Nn={},E()(Nn,"".concat(ct,"-lg"),zn==="large"),E()(Nn,"".concat(ct,"-sm"),zn==="small"),E()(Nn,"".concat(ct,"-rtl"),qt==="rtl"),E()(Nn,"".concat(ct,"-borderless"),!cn),Nn),Ln);return n.createElement(Et,_()({virtual:xr,dropdownMatchSelectWidth:vr},Jr,{ref:rr.selectRef,prefixCls:ct,className:ei,listHeight:_e,listItemHeight:rt,treeCheckable:$e&&n.createElement("span",{className:"".concat(ct,"-tree-checkbox-inner")}),inputIcon:Ft,menuItemSelectedIcon:pr,removeIcon:or,clearIcon:ir,switcherIcon:function(Pi){return Object(Ve.a)(Qt,Bt,Gt,Pi)},showTreeIcon:pt,notFoundContent:Yr,getPopupContainer:Rr||Nt,treeMotion:null,dropdownClassName:yt}))})},Object(q.a)(Kr.multiple!==!1||!Kr.treeCheckable,"TreeSelect","`multiple` will alway be `true` when `treeCheckable` is true"),rr}return h()(sr,[{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(ce.a,null,this.renderTreeSelect)}}]),sr}(n.Component);Ht.TreeNode=W,Ht.SHOW_ALL=ae,Ht.SHOW_PARENT=re,Ht.SHOW_CHILD=be,Ht.defaultProps={transitionName:"slide-up",choiceTransitionName:"",bordered:!0};var tr=z.a=Ht},"5Uyt":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("KmBX"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"5YOS":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("xb2K"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"5YgA":function(ue,z,d){},"5bA4":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="LeftOutlined";var p=z.a=_.forwardRef(t)},"5nXd":function(ue,z,d){var O=d("MFOe"),_=O.slice,I=O.pluck,E=O.each,C=O.bind,t=O.create,p=O.isList,h=O.isFunction,o=O.isObject;ue.exports={createStore:l};var r={version:"2.0.12",enabled:!1,get:function(c,e){var a=this.storage.read(this._namespacePrefix+c);return this._deserialize(a,e)},set:function(c,e){return e===void 0?this.remove(c):(this.storage.write(this._namespacePrefix+c,this._serialize(e)),e)},remove:function(c){this.storage.remove(this._namespacePrefix+c)},each:function(c){var e=this;this.storage.each(function(a,i){c.call(e,e._deserialize(a),(i||"").replace(e._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(c){return this._namespacePrefix=="__storejs_"+c+"_"},createStore:function(){return l.apply(this,arguments)},addPlugin:function(c){this._addPlugin(c)},namespace:function(c){return l(this.storage,this.plugins,c)}};function s(){var n=typeof console=="undefined"?null:console;if(!n)return;var c=n.warn?n.warn:n.log;c.apply(n,arguments)}function l(n,c,e){e||(e=""),n&&!p(n)&&(n=[n]),c&&!p(c)&&(c=[c]);var a=e?"__storejs_"+e+"_":"",i=e?new RegExp("^"+a):null,u=/^[a-zA-Z0-9_\-]*$/;if(!u.test(e))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var f={_namespacePrefix:a,_namespaceRegexp:i,_testStorage:function(g){try{var v="__storejs__test__";g.write(v,v);var b=g.read(v)===v;return g.remove(v),b}catch(S){return!1}},_assignPluginFnProp:function(g,v){var b=this[v];this[v]=function(){var y=_(arguments,0),w=this;function x(){return b?(E(arguments,function(L,R){y[R]=L}),b.apply(w,y)):void 0}var T=[x].concat(y);return g.apply(w,T)}},_serialize:function(g){return JSON.stringify(g)},_deserialize:function(g,v){if(!g)return v;var b="";try{b=JSON.parse(g)}catch(S){b=g}return b!==void 0?b:v},_addStorage:function(g){if(this.enabled)return;this._testStorage(g)&&(this.storage=g,this.enabled=!0)},_addPlugin:function(g){var v=this;if(p(g)){E(g,function(y){v._addPlugin(y)});return}var b=I(this.plugins,function(y){return g===y});if(b)return;if(this.plugins.push(g),!h(g))throw new Error("Plugins must be function values that return objects");var S=g.call(this);if(!o(S))throw new Error("Plugins must return an object of function properties");E(S,function(y,w){if(!h(y))throw new Error("Bad plugin property: "+w+" from plugin "+g.name+". Plugins should only return functions.");v._assignPluginFnProp(y,w)})},addStorage:function(g){s("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(g)}},m=t(f,r,{plugins:[]});return m.raw={},E(m,function(A,g){h(A)&&(m.raw[g]=C(m,A))}),E(n,function(A){m._addStorage(A)}),E(c,function(A){m._addPlugin(A)}),m}},"5rEg":function(ue,z,d){"use strict";var O=d("mh/l"),_=d("lSNA"),I=d.n(_),E=d("q1tI"),C=d("TSYQ"),t=d.n(C),p=d("H84U"),h=function(B){return E.createElement(p.a,null,function(j){var H,K=j.getPrefixCls,W=j.direction,X=B.prefixCls,V=B.className,Z=V===void 0?"":V,G=K("input-group",X),Y=t()(G,(H={},I()(H,"".concat(G,"-lg"),B.size==="large"),I()(H,"".concat(G,"-sm"),B.size==="small"),I()(H,"".concat(G,"-compact"),B.compact),I()(H,"".concat(G,"-rtl"),W==="rtl"),H),Z);return E.createElement("span",{className:Y,style:B.style,onMouseEnter:B.onMouseEnter,onMouseLeave:B.onMouseLeave,onFocus:B.onFocus,onBlur:B.onBlur},B.children)})},o=h,r=d("pVnL"),s=d.n(r),l=d("c+Xe"),n=d("w6Tc"),c=d.n(n),e=d("gZBC"),a=d.n(e),i=d("2/Rp"),u=d("3Nzz"),f=d("0n0R"),m=function(M,B){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&B.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,H=Object.getOwnPropertySymbols(M);K<H.length;K++)B.indexOf(H[K])<0&&Object.prototype.propertyIsEnumerable.call(M,H[K])&&(j[H[K]]=M[H[K]]);return j},A=E.forwardRef(function(M,B){var j=E.useRef(null),H=function(te){var se=M.onChange,Ce=M.onSearch;te&&te.target&&te.type==="click"&&Ce&&Ce(te.target.value,te),se&&se(te)},K=function(te){var se;document.activeElement===((se=j.current)===null||se===void 0?void 0:se.input)&&te.preventDefault()},W=function(te){var se,Ce=M.onSearch,he=M.loading,xe=M.disabled;if(he||xe)return;Ce&&Ce((se=j.current)===null||se===void 0?void 0:se.input.value,te)},X=function(te){var se=M.enterButton,Ce=M.size;return se?E.createElement(u.b.Consumer,{key:"enterButton"},function(he){return E.createElement(i.a,{className:"".concat(te,"-button"),type:"primary",size:Ce||he},E.createElement(a.a,null))}):E.createElement(a.a,{className:"".concat(te,"-icon"),key:"loadingIcon"})},V=function(te){var se=M.suffix,Ce=M.enterButton,he=M.loading;if(he&&!Ce)return[se,X(te)];if(Ce)return se;var xe=E.createElement(c.a,{className:"".concat(te,"-icon"),key:"searchIcon",onClick:W});return se?[Object(f.c)(se,null,{key:"suffix"}),xe]:xe},Z=function(te,se){var Ce=M.enterButton,he=M.disabled,xe=M.addonAfter,ie=M.loading,ee="".concat(te,"-button");if(ie&&Ce)return[X(te),xe];if(!Ce)return xe;var Ze,Se=Ce,Ne=Se.type&&Se.type.__ANT_BUTTON===!0;return Ne||Se.type==="button"?Ze=Object(f.a)(Se,s()({onMouseDown:K,onClick:W,key:"enterButton"},Ne?{className:ee,size:se}:{})):Ze=E.createElement(i.a,{className:ee,type:"primary",size:se,disabled:he,key:"enterButton",onMouseDown:K,onClick:W},Ce===!0?E.createElement(c.a,null):Ce),xe?[Ze,Object(f.c)(xe,null,{key:"addonAfter"})]:Ze},G=function(te){var se=te.getPrefixCls,Ce=te.direction,he=M.prefixCls,xe=M.inputPrefixCls,ie=M.enterButton,ee=M.className,Ze=M.size,Se=m(M,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete Se.onSearch,delete Se.loading;var Ne=se("input-search",he),it=se("input",xe),Ye=function(je){var et;if(ie){var He;et=t()(Ne,ee,(He={},I()(He,"".concat(Ne,"-rtl"),Ce==="rtl"),I()(He,"".concat(Ne,"-enter-button"),!!ie),I()(He,"".concat(Ne,"-").concat(je),!!je),He))}else et=t()(Ne,ee,I()({},"".concat(Ne,"-rtl"),Ce==="rtl"));return et};return E.createElement(u.b.Consumer,null,function(nt){return E.createElement(O.a,s()({ref:Object(l.a)(j,B),onPressEnter:W},Se,{size:Ze||nt,prefixCls:it,addonAfter:Z(Ne,Ze||nt),suffix:V(Ne),onChange:H,className:Ye(Ze||nt)}))})};return E.createElement(p.a,null,G)});A.defaultProps={enterButton:!1},A.displayName="Search";var g=A,v=d("whJP"),b=d("J4zp"),S=d.n(b),y=d("BGR+"),w=d("qPY4"),x=d.n(w),T=d("fUL4"),L=d.n(T),R=function(M,B){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&B.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,H=Object.getOwnPropertySymbols(M);K<H.length;K++)B.indexOf(H[K])<0&&Object.prototype.propertyIsEnumerable.call(M,H[K])&&(j[H[K]]=M[H[K]]);return j},P={click:"onClick",hover:"onMouseOver"},k=E.forwardRef(function(M,B){var j=Object(E.useState)(!1),H=S()(j,2),K=H[0],W=H[1],X=function(){var Y=M.disabled;if(Y)return;W(!K)},V=function(Y){var te,se=M.action,Ce=M.iconRender,he=Ce===void 0?function(){return null}:Ce,xe=P[se]||"",ie=he(K),ee=(te={},I()(te,xe,X),I()(te,"className","".concat(Y,"-icon")),I()(te,"key","passwordIcon"),I()(te,"onMouseDown",function(Se){Se.preventDefault()}),I()(te,"onMouseUp",function(Se){Se.preventDefault()}),te);return E.cloneElement(E.isValidElement(ie)?ie:E.createElement("span",null,ie),ee)},Z=function(Y){var te=Y.getPrefixCls,se=M.className,Ce=M.prefixCls,he=M.inputPrefixCls,xe=M.size,ie=M.visibilityToggle,ee=R(M,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),Ze=te("input",he),Se=te("input-password",Ce),Ne=ie&&V(Se),it=t()(Se,se,I()({},"".concat(Se,"-").concat(xe),!!xe)),Ye=s()(s()({},Object(y.default)(ee,["suffix","iconRender"])),{type:K?"text":"password",className:it,prefixCls:Ze,suffix:Ne});return xe&&(Ye.size=xe),E.createElement(O.a,s()({ref:B},Ye))};return E.createElement(p.a,null,Z)});k.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(B){return B?E.createElement(x.a,null):E.createElement(L.a,null)}},k.displayName="Password";var U=k;O.a.Group=o,O.a.Search=g,O.a.TextArea=v.a,O.a.Password=U;var D=z.a=O.a},"5s0K":function(ue,z,d){var O=d("bYtY");function _(){var I=[],E={},C;return{add:function(t,p,h,o,r){return O.isString(o)&&(r=o,o=0),E[t.id]?!1:(E[t.id]=1,I.push({el:t,target:p,time:h,delay:o,easing:r}),!0)},done:function(t){return C=t,this},start:function(){for(var t=I.length,p=0,h=I.length;p<h;p++){var o=I[p];o.el.animateTo(o.target,o.time,o.delay,o.easing,r)}return this;function r(){t--,t||(I.length=0,E={},C&&C())}}}}z.createWrap=_},"5yev":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"6/nd":function(ue,z,d){var O=d("ProS");O.registerAction("legendScroll","legendscroll",function(_,I){var E=_.scrollDataIndex;E!=null&&I.eachComponent({mainType:"legend",subType:"scroll",query:_},function(C){C.setScrollDataIndex(E)})})},"62sa":function(ue,z,d){var O=d("bYtY"),_=d("4NO4"),I=_.makeInner,E=d("zTMp"),C=d("Ez2D"),t=O.each,p=O.curry,h=I();function o(m,A,g){var v=m.currTrigger,b=[m.x,m.y],S=m,y=m.dispatchAction||O.bind(g.dispatchAction,g),w=A.getComponent("axisPointer").coordSysAxesInfo;if(!w)return;f(b)&&(b=C({seriesIndex:S.seriesIndex,dataIndex:S.dataIndex},A).point);var x=f(b),T=S.axesInfo,L=w.axesInfo,R=v==="leave"||f(b),P={},k={},U={list:[],map:{}},D={showPointer:p(l,k),showTooltip:p(n,U)};t(w.coordSysMap,function(B,j){var H=x||B.containPoint(b);t(w.coordSysAxesInfo[j],function(K,W){var X=K.axis,V=i(T,K);if(!R&&H&&(!T||V)){var Z=V&&V.value;Z==null&&!x&&(Z=X.pointToData(b)),Z!=null&&r(K,Z,D,!1,P)}})});var M={};return t(L,function(B,j){var H=B.linkGroup;H&&!k[j]&&t(H.axesInfo,function(K,W){var X=k[W];if(K!==B&&X){var V=X.value;H.mapper&&(V=B.axis.scale.parse(H.mapper(V,u(K),u(B)))),M[B.key]=V}})}),t(M,function(B,j){r(L[j],B,D,!0,P)}),c(k,L,P),e(U,b,m,y),a(L,y,g),P}function r(m,A,g,v,b){var S=m.axis;if(S.scale.isBlank()||!S.containData(A))return;if(!m.involveSeries){g.showPointer(m,A);return}var y=s(A,m),w=y.payloadBatch,x=y.snapToValue;w[0]&&b.seriesIndex==null&&O.extend(b,w[0]),!v&&m.snap&&(S.containData(x)&&x!=null&&(A=x)),g.showPointer(m,A,w,b),g.showTooltip(m,y,x)}function s(m,A){var g=A.axis,v=g.dim,b=m,S=[],y=Number.MAX_VALUE,w=-1;return t(A.seriesModels,function(x,T){var L=x.getData().mapDimension(v,!0),R,P;if(x.getAxisTooltipData){var k=x.getAxisTooltipData(L,m,g);P=k.dataIndices,R=k.nestestValue}else{if(P=x.getData().indicesOfNearest(L[0],m,g.type==="category"?.5:null),!P.length)return;R=x.getData().get(L[0],P[0])}if(R==null||!isFinite(R))return;var U=m-R,D=Math.abs(U);D<=y&&((D<y||U>=0&&w<0)&&(y=D,w=U,b=R,S.length=0),t(P,function(M){S.push({seriesIndex:x.seriesIndex,dataIndexInside:M,dataIndex:x.getData().getRawIndex(M)})}))}),{payloadBatch:S,snapToValue:b}}function l(m,A,g,v){m[A.key]={value:g,payloadBatch:v}}function n(m,A,g,v){var b=g.payloadBatch,S=A.axis,y=S.model,w=A.axisPointerModel;if(!A.triggerTooltip||!b.length)return;var x=A.coordSys.model,T=E.makeKey(x),L=m.map[T];L||(L=m.map[T]={coordSysId:x.id,coordSysIndex:x.componentIndex,coordSysType:x.type,coordSysMainType:x.mainType,dataByAxis:[]},m.list.push(L)),L.dataByAxis.push({axisDim:S.dim,axisIndex:y.componentIndex,axisType:y.type,axisId:y.id,value:v,valueLabelOpt:{precision:w.get("label.precision"),formatter:w.get("label.formatter")},seriesDataIndices:b.slice()})}function c(m,A,g){var v=g.axesInfo=[];t(A,function(b,S){var y=b.axisPointerModel.option,w=m[S];w?(!b.useHandle&&(y.status="show"),y.value=w.value,y.seriesDataIndices=(w.payloadBatch||[]).slice()):!b.useHandle&&(y.status="hide"),y.status==="show"&&v.push({axisDim:b.axis.dim,axisIndex:b.axis.model.componentIndex,value:y.value})})}function e(m,A,g,v){if(f(A)||!m.list.length){v({type:"hideTip"});return}var b=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};v({type:"showTip",escapeConnect:!0,x:A[0],y:A[1],tooltipOption:g.tooltipOption,position:g.position,dataIndexInside:b.dataIndexInside,dataIndex:b.dataIndex,seriesIndex:b.seriesIndex,dataByCoordSys:m.list})}function a(m,A,g){var v=g.getZr(),b="axisPointerLastHighlights",S=h(v)[b]||{},y=h(v)[b]={};t(m,function(T,L){var R=T.axisPointerModel.option;R.status==="show"&&t(R.seriesDataIndices,function(P){var k=P.seriesIndex+" | "+P.dataIndex;y[k]=P})});var w=[],x=[];O.each(S,function(T,L){!y[L]&&x.push(T)}),O.each(y,function(T,L){!S[L]&&w.push(T)}),x.length&&g.dispatchAction({type:"downplay",escapeConnect:!0,batch:x}),w.length&&g.dispatchAction({type:"highlight",escapeConnect:!0,batch:w})}function i(m,A){for(var g=0;g<(m||[]).length;g++){var v=m[g];if(A.axis.dim===v.axisDim&&A.axis.model.componentIndex===v.axisIndex)return v}}function u(m){var A=m.axis.model,g={},v=g.axisDim=m.axis.dim;return g.axisIndex=g[v+"AxisIndex"]=A.componentIndex,g.axisName=g[v+"AxisName"]=A.name,g.axisId=g[v+"AxisId"]=A.id,g}function f(m){return!m||m[0]==null||isNaN(m[0])||m[1]==null||isNaN(m[1])}ue.exports=o},"6BzB":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.shrinkBuf=O,z.arraySet=_,z.flattenChunks=I,z.Buf32=z.Buf16=z.Buf8=void 0;function O(p,h){return p.length===h?p:p.subarray?p.subarray(0,h):(p.length=h,p)}function _(p,h,o,r,s){if(h.subarray&&p.subarray){p.set(h.subarray(o,o+r),s);return}for(var l=0;l<r;l++)p[s+l]=h[o+l]}function I(p){var h,o,r,s,l,n;for(r=0,h=0,o=p.length;h<o;h++)r+=p[h].length;for(n=new Uint8Array(r),s=0,h=0,o=p.length;h<o;h++)l=p[h],n.set(l,s),s+=l.length;return n}var E=Uint8Array;z.Buf8=E;var C=Uint16Array;z.Buf16=C;var t=Int32Array;z.Buf32=t},"6D9b":function(ue,z,d){},"6GrX":function(ue,z,d){var O=d("mFDi"),_=d("Xnb7"),I=d("bYtY"),E=I.getContext,C=I.extend,t=I.retrieve2,p=I.retrieve3,h=I.trim,o={},r=0,s=5e3,l=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,n="12px sans-serif",c={};function e(U,D){c[U]=D}function a(U,D){D=D||n;var M=U+":"+D;if(o[M])return o[M];for(var B=(U+"").split(`
`),j=0,H=0,K=B.length;H<K;H++)j=Math.max(T(B[H],D).width,j);return r>s&&(r=0,o={}),r++,o[M]=j,j}function i(U,D,M,B,j,H,K,W){return K?f(U,D,M,B,j,H,K,W):u(U,D,M,B,j,H,W)}function u(U,D,M,B,j,H,K){var W=L(U,D,j,H,K),X=a(U,D);j&&(X+=j[1]+j[3]);var V=W.outerHeight,Z=m(0,X,M),G=A(0,V,B),Y=new O(Z,G,X,V);return Y.lineHeight=W.lineHeight,Y}function f(U,D,M,B,j,H,K,W){var X=R(U,{rich:K,truncate:W,font:D,textAlign:M,textPadding:j,textLineHeight:H}),V=X.outerWidth,Z=X.outerHeight,G=m(0,V,M),Y=A(0,Z,B);return new O(G,Y,V,Z)}function m(U,D,M){return M==="right"?U-=D:M==="center"&&(U-=D/2),U}function A(U,D,M){return M==="middle"?U-=D/2:M==="bottom"&&(U-=D),U}function g(U,D,M){var B=D.textPosition,j=D.textDistance,H=M.x,K=M.y;j=j||0;var W=M.height,X=M.width,V=W/2,Z="left",G="top";switch(B){case"left":H-=j,K+=V,Z="right",G="middle";break;case"right":H+=j+X,K+=V,G="middle";break;case"top":H+=X/2,K-=j,Z="center",G="bottom";break;case"bottom":H+=X/2,K+=W+j,Z="center";break;case"inside":H+=X/2,K+=V,Z="center",G="middle";break;case"insideLeft":H+=j,K+=V,G="middle";break;case"insideRight":H+=X-j,K+=V,Z="right",G="middle";break;case"insideTop":H+=X/2,K+=j,Z="center";break;case"insideBottom":H+=X/2,K+=W-j,Z="center",G="bottom";break;case"insideTopLeft":H+=j,K+=j;break;case"insideTopRight":H+=X-j,K+=j,Z="right";break;case"insideBottomLeft":H+=j,K+=W-j,G="bottom";break;case"insideBottomRight":H+=X-j,K+=W-j,Z="right",G="bottom";break}return U=U||{},U.x=H,U.y=K,U.textAlign=Z,U.textVerticalAlign=G,U}function v(U,D,M){var B={textPosition:U,textDistance:M};return g({},B,D)}function b(U,D,M,B,j){if(!D)return"";var H=(U+"").split(`
`);j=S(D,M,B,j);for(var K=0,W=H.length;K<W;K++)H[K]=y(H[K],j);return H.join(`
`)}function S(U,D,M,B){B=C({},B),B.font=D;var M=t(M,"...");B.maxIterations=t(B.maxIterations,2);var j=B.minChar=t(B.minChar,0);B.cnCharWidth=a("\u56FD",D);var H=B.ascCharWidth=a("a",D);B.placeholder=t(B.placeholder,"");for(var K=U=Math.max(0,U-1),W=0;W<j&&K>=H;W++)K-=H;var X=a(M,D);return X>K&&(M="",X=0),K=U-X,B.ellipsis=M,B.ellipsisWidth=X,B.contentWidth=K,B.containerWidth=U,B}function y(U,D){var M=D.containerWidth,B=D.font,j=D.contentWidth;if(!M)return"";var H=a(U,B);if(H<=M)return U;for(var K=0;;K++){if(H<=j||K>=D.maxIterations){U+=D.ellipsis;break}var W=K===0?w(U,j,D.ascCharWidth,D.cnCharWidth):H>0?Math.floor(U.length*j/H):0;U=U.substr(0,W),H=a(U,B)}return U===""&&(U=D.placeholder),U}function w(U,D,M,B){for(var j=0,H=0,K=U.length;H<K&&j<D;H++){var W=U.charCodeAt(H);j+=0<=W&&W<=127?M:B}return H}function x(U){return a("\u56FD",U)}function T(U,D){return c.measureText(U,D)}c.measureText=function(U,D){var M=E();return M.font=D||n,M.measureText(U)};function L(U,D,M,B,j){U!=null&&(U+="");var H=t(B,x(D)),K=U?U.split(`
`):[],W=K.length*H,X=W,V=!0;if(M&&(X+=M[0]+M[2]),U&&j){V=!1;var Z=j.outerHeight,G=j.outerWidth;if(Z!=null&&X>Z)U="",K=[];else if(G!=null)for(var Y=S(G-(M?M[1]+M[3]:0),D,j.ellipsis,{minChar:j.minChar,placeholder:j.placeholder}),te=0,se=K.length;te<se;te++)K[te]=y(K[te],Y)}return{lines:K,height:W,outerHeight:X,lineHeight:H,canCacheByTextString:V}}function R(U,D){var M={lines:[],width:0,height:0};if(U!=null&&(U+=""),!U)return M;for(var B=l.lastIndex=0,j;(j=l.exec(U))!=null;){var H=j.index;H>B&&P(M,U.substring(B,H)),P(M,j[2],j[1]),B=l.lastIndex}B<U.length&&P(M,U.substring(B,U.length));var K=M.lines,W=0,X=0,V=[],Z=D.textPadding,G=D.truncate,Y=G&&G.outerWidth,te=G&&G.outerHeight;Z&&(Y!=null&&(Y-=Z[1]+Z[3]),te!=null&&(te-=Z[0]+Z[2]));for(var se=0;se<K.length;se++){for(var Ce=K[se],he=0,xe=0,ie=0;ie<Ce.tokens.length;ie++){var ee=Ce.tokens[ie],Ze=ee.styleName&&D.rich[ee.styleName]||{},Se=ee.textPadding=Ze.textPadding,Ne=ee.font=Ze.font||D.font,it=ee.textHeight=t(Ze.textHeight,x(Ne));if(Se&&(it+=Se[0]+Se[2]),ee.height=it,ee.lineHeight=p(Ze.textLineHeight,D.textLineHeight,it),ee.textAlign=Ze&&Ze.textAlign||D.textAlign,ee.textVerticalAlign=Ze&&Ze.textVerticalAlign||"middle",te!=null&&W+ee.lineHeight>te)return{lines:[],width:0,height:0};ee.textWidth=a(ee.text,Ne);var Ye=Ze.textWidth,nt=Ye==null||Ye==="auto";if(typeof Ye=="string"&&Ye.charAt(Ye.length-1)==="%")ee.percentWidth=Ye,V.push(ee),Ye=0;else{if(nt){Ye=ee.textWidth;var je=Ze.textBackgroundColor,et=je&&je.image;et&&(et=_.findExistImage(et),_.isImageReady(et)&&(Ye=Math.max(Ye,et.width*it/et.height)))}var He=Se?Se[1]+Se[3]:0;Ye+=He;var pe=Y!=null?Y-xe:null;pe!=null&&pe<Ye&&(!nt||pe<He?(ee.text="",ee.textWidth=Ye=0):(ee.text=b(ee.text,pe-He,Ne,G.ellipsis,{minChar:G.minChar}),ee.textWidth=a(ee.text,Ne),Ye=ee.textWidth+He))}xe+=ee.width=Ye,Ze&&(he=Math.max(he,ee.lineHeight))}Ce.width=xe,Ce.lineHeight=he,W+=he,X=Math.max(X,xe)}M.outerWidth=M.width=t(D.textWidth,X),M.outerHeight=M.height=t(D.textHeight,W),Z&&(M.outerWidth+=Z[1]+Z[3],M.outerHeight+=Z[0]+Z[2]);for(var se=0;se<V.length;se++){var ee=V[se],ae=ee.percentWidth;ee.width=parseInt(ae,10)/100*X}return M}function P(U,D,M){for(var B=D==="",j=D.split(`
`),H=U.lines,K=0;K<j.length;K++){var W=j[K],X={styleName:M,text:W,isLineHolder:!W&&!B};if(K)H.push({tokens:[X]});else{var V=(H[H.length-1]||(H[0]={tokens:[]})).tokens,Z=V.length;Z===1&&V[0].isLineHolder?V[0]=X:(W||!Z||B)&&V.push(X)}}}function k(U){var D=(U.fontSize||U.fontFamily)&&[U.fontStyle,U.fontWeight,(U.fontSize||12)+"px",U.fontFamily||"sans-serif"].join(" ");return D&&h(D)||U.textFont||U.font}z.DEFAULT_FONT=n,z.$override=e,z.getWidth=a,z.getBoundingRect=i,z.adjustTextX=m,z.adjustTextY=A,z.calculateTextPosition=g,z.adjustTextPositionOnRect=v,z.truncateText=b,z.getLineHeight=x,z.measureText=T,z.parsePlainText=L,z.parseRichText=R,z.makeFont=k},"6Hfg":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("FhB9")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="SwapRightOutlined";var h=E.forwardRef(p);z.default=h},"6Ic6":function(ue,z,d){var O=d("bYtY"),_=O.each,I=d("4fz+"),E=d("iRjW"),C=d("Yl7c"),t=d("4NO4"),p=d("IwbS"),h=d("9H2F"),o=h.createTask,r=d("zM3Q"),s=t.makeInner(),l=r();function n(){this.group=new I,this.uid=E.getUID("viewChart"),this.renderTask=o({plan:i,reset:u}),this.renderTask.context={view:this}}n.prototype={type:"chart",init:function(A,g){},render:function(A,g,v,b){},highlight:function(A,g,v,b){a(A.getData(),b,"emphasis")},downplay:function(A,g,v,b){a(A.getData(),b,"normal")},remove:function(A,g){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var c=n.prototype;c.updateView=c.updateLayout=c.updateVisual=function(A,g,v,b){this.render(A,g,v,b)};function e(A,g,v){if(A&&(A.trigger(g,v),A.isGroup&&!p.isHighDownDispatcher(A)))for(var b=0,S=A.childCount();b<S;b++)e(A.childAt(b),g,v)}function a(A,g,v){var b=t.queryDataIndex(A,g),S=g&&g.highlightKey!=null?p.getHighlightDigit(g.highlightKey):null;b!=null?_(t.normalizeToArray(b),function(y){e(A.getItemGraphicEl(y),v,S)}):A.eachItemGraphicEl(function(y){e(y,v,S)})}C.enableClassExtend(n,["dispose"]),C.enableClassManagement(n,{registerWhenExtend:!0}),n.markUpdateMethod=function(A,g){s(A).updateMethod=g};function i(A){return l(A.model)}function u(A){var g=A.model,v=A.ecModel,b=A.api,S=A.payload,y=g.pipelineContext.progressiveRender,w=A.view,x=S&&s(S).updateMethod,T=y?"incrementalPrepareRender":x&&w[x]?x:"render";return T!=="render"&&w[T](g,v,b,S),f[T]}var f={incrementalPrepareRender:{progress:function(A,g){g.view.incrementalRender(A,g.model,g.ecModel,g.api,g.payload)}},render:{forceFirstProgress:!0,progress:function(A,g){g.view.render(g.model,g.ecModel,g.api,g.payload)}}},m=n;ue.exports=m},"6MrE":function(ue,z,d){},"6Qwc":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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"};z.default=O},"6SEX":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("qWUW"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"6UJt":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("v56E"),E=d.n(I),C=d("R9oj"),t=d("5NDa")},"6VBw":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("ODXe"),I=d("rePB"),E=d("Ff2n"),C=d("q1tI"),t=d("TSYQ"),p=d.n(t),h=d("Pw59"),o=d("Qi1f"),r=["icon","className","onClick","style","primaryColor","secondaryColor"],s={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function l(A){var g=A.primaryColor,v=A.secondaryColor;s.primaryColor=g,s.secondaryColor=v||Object(o.b)(g),s.calculated=!!v}function n(){return Object(O.a)({},s)}var c=function(g){var v=g.icon,b=g.className,S=g.onClick,y=g.style,w=g.primaryColor,x=g.secondaryColor,T=Object(E.a)(g,r),L=s;if(w&&(L={primaryColor:w,secondaryColor:x||Object(o.b)(w)}),Object(o.f)(),Object(o.g)(Object(o.c)(v),"icon should be icon definiton, but got ".concat(v)),!Object(o.c)(v))return null;var R=v;return R&&typeof R.icon=="function"&&(R=Object(O.a)(Object(O.a)({},R),{},{icon:R.icon(L.primaryColor,L.secondaryColor)})),Object(o.a)(R.icon,"svg-".concat(R.name),Object(O.a)({className:b,onClick:S,style:y,"data-icon":R.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},T))};c.displayName="IconReact",c.getTwoToneColors=n,c.setTwoToneColors=l;var e=c;function a(A){var g=Object(o.d)(A),v=Object(_.a)(g,2),b=v[0],S=v[1];return e.setTwoToneColors({primaryColor:b,secondaryColor:S})}function i(){var A=e.getTwoToneColors();return A.calculated?[A.primaryColor,A.secondaryColor]:A.primaryColor}var u=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];a("#1890ff");var f=C.forwardRef(function(A,g){var v,b=A.className,S=A.icon,y=A.spin,w=A.rotate,x=A.tabIndex,T=A.onClick,L=A.twoToneColor,R=Object(E.a)(A,u),P=C.useContext(h.a),k=P.prefixCls,U=k===void 0?"anticon":k,D=p()(U,(v={},Object(I.a)(v,"".concat(U,"-").concat(S.name),!!S.name),Object(I.a)(v,"".concat(U,"-spin"),!!y||S.name==="loading"),v),b),M=x;M===void 0&&T&&(M=-1);var B=w?{msTransform:"rotate(".concat(w,"deg)"),transform:"rotate(".concat(w,"deg)")}:void 0,j=Object(o.d)(L),H=Object(_.a)(j,2),K=H[0],W=H[1];return C.createElement("span",Object(O.a)(Object(O.a)({role:"img","aria-label":S.name},R),{},{ref:g,tabIndex:M,onClick:T,className:D}),C.createElement(e,{icon:S,primaryColor:K,secondaryColor:W,style:B}))});f.displayName="AntdIcon",f.getTwoToneColor=i,f.setTwoToneColor=a;var m=z.a=f},"6cGi":function(ue,z,d){"use strict";d.d(z,"a",function(){return E});var O=d("ODXe"),_=d("q1tI"),I=d.n(_);function E(C,t){var p=t||{},h=p.defaultValue,o=p.value,r=p.onChange,s=p.postState,l=_.useState(function(){return o!==void 0?o:h!==void 0?typeof h=="function"?h():h:typeof C=="function"?C():C}),n=Object(O.a)(l,2),c=n[0],e=n[1],a=o!==void 0?o:c;s&&(a=s(a));var i=_.useRef(r);i.current=r;var u=_.useCallback(function(m){e(m),a!==m&&i.current&&i.current(m,a)},[a,i]),f=_.useRef(!0);return _.useEffect(function(){if(f.current){f.current=!1;return}o===void 0&&e(o)},[o]),[a,u]}},"6fms":function(ue,z,d){var O=d("SUKs"),_=d("06Qe"),I=d("bYtY"),E=I.each;function C(o){return parseInt(o,10)}function t(o,r){_.initVML(),this.root=o,this.storage=r;var s=document.createElement("div"),l=document.createElement("div");s.style.cssText="display:inline-block;overflow:hidden;position:relative;width:300px;height:150px;",l.style.cssText="position:absolute;left:0;top:0;",o.appendChild(s),this._vmlRoot=l,this._vmlViewport=s,this.resize();var n=r.delFromStorage,c=r.addToStorage;r.delFromStorage=function(e){n.call(r,e),e&&(e.onRemove&&e.onRemove(l))},r.addToStorage=function(e){e.onAdd&&e.onAdd(l),c.call(r,e)},this._firstPaint=!0}t.prototype={constructor:t,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 s=this._vmlRoot,l=0;l<r.length;l++){var n=r[l];n.invisible||n.ignore?(n.__alreadyNotVisible||n.onRemove(s),n.__alreadyNotVisible=!0):(n.__alreadyNotVisible&&n.onAdd(s),n.__alreadyNotVisible=!1,n.__dirty&&(n.beforeBrush&&n.beforeBrush(),(n.brushVML||n.brush).call(n,s),n.afterBrush&&n.afterBrush())),n.__dirty=!1}this._firstPaint&&(this._vmlViewport.appendChild(s),this._firstPaint=!1)},resize:function(r,s){var r=r==null?this._getWidth():r,s=s==null?this._getHeight():s;if(this._width!==r||this._height!==s){this._width=r,this._height=s;var l=this._vmlViewport.style;l.width=r+"px",l.height=s+"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,s=r.currentStyle;return(r.clientWidth||C(s.width))-C(s.paddingLeft)-C(s.paddingRight)|0},_getHeight:function(){var r=this.root,s=r.currentStyle;return(r.clientHeight||C(s.height))-C(s.paddingTop)-C(s.paddingBottom)|0}};function p(o){return function(){O('In IE8.0 VML mode painter not support method "'+o+'"')}}E(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],function(o){t.prototype[o]=p(o)});var h=t;ue.exports=h},"6r85":function(ue,z,d){var O=d("bYtY");function _(I){if(!I||!O.isArray(I.series))return;O.each(I.series,function(E){O.isObject(E)&&E.type==="k"&&(E.type="candlestick")})}ue.exports=_},"6uqw":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("ItGF"),E=d("YOMW"),C=d("XxSj"),t=d("K4ya"),p=d("4NO4"),h=d("OELB"),o=C.mapVisual,r=C.eachVisual,s=_.isArray,l=_.each,n=h.asc,c=h.linearMap,e=_.noop,a=O.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(u,f,m){this._dataExtent,this.targetVisuals={},this.controllerVisuals={},this.textStyleModel,this.itemSize,this.mergeDefaultAndTheme(u,m)},optionUpdated:function(u,f){var m=this.option;I.canvasSupported||(m.realtime=!1),!f&&t.replaceVisualOption(m,u,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},resetVisual:function(u){var f=this.stateList;u=_.bind(u,this),this.controllerVisuals=t.createVisualMappings(this.option.controller,f,u),this.targetVisuals=t.createVisualMappings(this.option.target,f,u)},getTargetSeriesIndices:function(){var u=this.option.seriesIndex,f=[];return u==null||u==="all"?this.ecModel.eachSeries(function(m,A){f.push(A)}):f=p.normalizeToArray(u),f},eachTargetSeries:function(u,f){_.each(this.getTargetSeriesIndices(),function(m){u.call(f,this.ecModel.getSeriesByIndex(m))},this)},isTargetSeries:function(u){var f=!1;return this.eachTargetSeries(function(m){m===u&&(f=!0)}),f},formatValueText:function(u,f,m){var A=this.option,g=A.precision,v=this.dataBound,b=A.formatter,S,y;if(m=m||["<",">"],_.isArray(u)&&(u=u.slice(),S=!0),y=f?u:S?[w(u[0]),w(u[1])]:w(u),_.isString(b))return b.replace("{value}",S?y[0]:y).replace("{value2}",S?y[1]:y);if(_.isFunction(b))return S?b(u[0],u[1]):b(u);if(S)return u[0]===v[0]?m[0]+" "+y[1]:u[1]===v[1]?m[1]+" "+y[0]:y[0]+" - "+y[1];return y;function w(x){return x===v[0]?"min":x===v[1]?"max":(+x).toFixed(Math.min(g,20))}},resetExtent:function(){var u=this.option,f=n([u.min,u.max]);this._dataExtent=f},getDataDimension:function(u){var f=this.option.dimension,m=u.dimensions;if(f==null&&!m.length)return;if(f!=null)return u.getDimension(f);for(var A=u.dimensions,g=A.length-1;g>=0;g--){var v=A[g],b=u.getDimensionInfo(v);if(!b.isCalculationCoord)return v}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var u=this.ecModel,f=this.option,m={inRange:f.inRange,outOfRange:f.outOfRange},A=f.target||(f.target={}),g=f.controller||(f.controller={});_.merge(A,m),_.merge(g,m);var v=this.isCategory();b.call(this,A),b.call(this,g),S.call(this,A,"inRange","outOfRange"),y.call(this,g);function b(w){s(f.color)&&!w.inRange&&(w.inRange={color:f.color.slice().reverse()}),w.inRange=w.inRange||{color:u.get("gradientColor")},l(this.stateList,function(x){var T=w[x];if(_.isString(T)){var L=E.get(T,"active",v);L?(w[x]={},w[x][T]=L):delete w[x]}},this)}function S(w,x,T){var L=w[x],R=w[T];L&&!R&&(R=w[T]={},l(L,function(P,k){if(!C.isValidType(k))return;var U=E.get(k,"inactive",v);U!=null&&(R[k]=U,k==="color"&&!R.hasOwnProperty("opacity")&&!R.hasOwnProperty("colorAlpha")&&(R.opacity=[0,0]))}))}function y(w){var x=(w.inRange||{}).symbol||(w.outOfRange||{}).symbol,T=(w.inRange||{}).symbolSize||(w.outOfRange||{}).symbolSize,L=this.get("inactiveColor");l(this.stateList,function(R){var P=this.itemSize,k=w[R];k||(k=w[R]={color:v?L:[L]}),k.symbol==null&&(k.symbol=x&&_.clone(x)||(v?"roundRect":["roundRect"])),k.symbolSize==null&&(k.symbolSize=T&&_.clone(T)||(v?P[0]:[P[0],P[0]])),k.symbol=o(k.symbol,function(M){return M==="none"||M==="square"?"roundRect":M});var U=k.symbolSize;if(U!=null){var D=-Infinity;r(U,function(M){M>D&&(D=M)}),k.symbolSize=o(U,function(M){return c(M,[0,D],[0,P[0]],!0)})}},this)}},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:e,getValueState:e,getVisualMeta:e}),i=a;ue.exports=i},"6usn":function(ue,z,d){var O=d("bYtY");function _(E,C){return O.map(["Radius","Angle"],function(t,p){var h=this["get"+t+"Axis"](),o=C[p],r=E[p]/2,s="dataTo"+t,l=h.type==="category"?h.getBandWidth():Math.abs(h[s](o-r)-h[s](o+r));return t==="Angle"&&(l=l*Math.PI/180),l},this)}function I(E){var C=E.getRadiusAxis(),t=E.getAngleAxis(),p=C.getExtent();return p[0]>p[1]&&p.reverse(),{coordSys:{type:"polar",cx:E.cx,cy:E.cy,r:p[1],r0:p[0]},api:{coord:O.bind(function(h){var o=C.dataToRadius(h[0]),r=t.dataToAngle(h[1]),s=E.coordToPoint([o,r]);return s.push(o,r*Math.PI/180),s}),size:O.bind(_,E)}}}ue.exports=I},"6xvX":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("V7ic"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"711d":function(ue,z){function d(O){return function(_){return _==null?void 0:_[O]}}ue.exports=d},"72pK":function(ue,z){function d(I,E,C,t,p,h){I=I||0;var o=C[1]-C[0];if(p!=null&&(p=_(p,[0,o])),h!=null&&(h=Math.max(h,p!=null?p:0)),t==="all"){var r=Math.abs(E[1]-E[0]);r=_(r,[0,o]),p=h=_(r,[p,h]),t=0}E[0]=_(E[0],C),E[1]=_(E[1],C);var s=O(E,t);E[t]+=I;var l=p||0,n=C.slice();s.sign<0?n[0]+=l:n[1]-=l,E[t]=_(E[t],n);var c=O(E,t);p!=null&&(c.sign!==s.sign||c.span<p)&&(E[1-t]=E[t]+s.sign*p);var c=O(E,t);return h!=null&&c.span>h&&(E[1-t]=E[t]+c.sign*h),E}function O(I,E){var C=I[E]-I[1-E];return{span:Math.abs(C),sign:C>0?-1:C<0?1:E?-1:1}}function _(I,E){return Math.min(E[1]!=null?E[1]:Infinity,Math.max(E[0]!=null?E[0]:-Infinity,I))}ue.exports=d},"75ce":function(ue,z,d){var O=d("ProS");d("IXuL"),d("8X+K");var _=d("f5Yq"),I=d("h8O9"),E=d("/d5a");d("Ae16"),O.registerVisual(_("line","circle","line")),O.registerLayout(I("line")),O.registerProcessor(O.PRIORITY.PROCESSOR.STATISTIC,E("line"))},"75ev":function(ue,z,d){var O=d("ProS");d("IWNH"),d("bNin"),d("v5uJ");var _=d("f5Yq"),I=d("yik8");O.registerVisual(_("tree","circle")),O.registerLayout(I)},"7AJT":function(ue,z,d){var O=d("bYtY"),_=d("hM6l"),I=function(C,t,p,h,o){_.call(this,C,t,p),this.type=h||"value",this.position=o||"bottom"};I.prototype={constructor:I,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var C=this.position;return C==="top"||C==="bottom"},getGlobalExtent:function(C){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),C&&t[0]>t[1]&&t.reverse(),t},getOtherAxis:function(){this.grid.getOtherAxis()},pointToData:function(C,t){return this.coordToData(this.toLocalCoord(C[this.dim==="x"?0:1]),t)},toLocalCoord:null,toGlobalCoord:null},O.inherits(I,_);var E=I;ue.exports=E},"7DRL":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.createHashMap,C=I.isString,t=I.isArray,p=I.each,h=I.assert,o=d("MEGo"),r=o.parseXML,s=E(),l={registerMap:function(c,e,a){var i;return t(e)?i=e:e.svg?i=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(a=e.specialAreas,e=e.geoJson),i=[{type:"geoJSON",source:e,specialAreas:a}]),p(i,function(u){var f=u.type;f==="geoJson"&&(f=u.type="geoJSON");var m=n[f];m(u)}),s.set(c,i)},retrieveMap:function(c){return s.get(c)}},n={geoJSON:function(c){var e=c.source;c.geoJSON=C(e)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(c){c.svgXML=r(c.source)}};ue.exports=l},"7G+c":function(ue,z,d){var O=d("bYtY"),_=O.createHashMap,I=O.isTypedArray,E=d("Yl7c"),C=E.enableClassCheck,t=d("k9D9"),p=t.SOURCE_FORMAT_ORIGINAL,h=t.SERIES_LAYOUT_BY_COLUMN,o=t.SOURCE_FORMAT_UNKNOWN,r=t.SOURCE_FORMAT_TYPED_ARRAY,s=t.SOURCE_FORMAT_KEYED_COLUMNS;function l(c){this.fromDataset=c.fromDataset,this.data=c.data||(c.sourceFormat===s?{}:[]),this.sourceFormat=c.sourceFormat||o,this.seriesLayoutBy=c.seriesLayoutBy||h,this.dimensionsDefine=c.dimensionsDefine,this.encodeDefine=c.encodeDefine&&_(c.encodeDefine),this.startIndex=c.startIndex||0,this.dimensionsDetectCount=c.dimensionsDetectCount}l.seriesDataToSource=function(c){return new l({data:c,sourceFormat:I(c)?r:p,fromDataset:!1})},C(l);var n=l;ue.exports=n},"7Kak":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("KPFz"),E=d.n(I)},"7Phj":function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=_.parsePercent,E=O.each;function C(o){var r=t(o);E(r,function(s){var l=s.seriesModels;if(!l.length)return;p(s),E(l,function(n,c){h(n,s.boxOffsetList[c],s.boxWidthList[c])})})}function t(o){var r=[],s=[];return o.eachSeriesByType("boxplot",function(l){var n=l.getBaseAxis(),c=O.indexOf(s,n);c<0&&(c=s.length,s[c]=n,r[c]={axis:n,seriesModels:[]}),r[c].seriesModels.push(l)}),r}function p(o){var r,s=o.axis,l=o.seriesModels,n=l.length,c=o.boxWidthList=[],e=o.boxOffsetList=[],a=[],i;if(s.type==="category")i=s.getBandWidth();else{var u=0;E(l,function(v){u=Math.max(u,v.getData().count())}),r=s.getExtent(),Math.abs(r[1]-r[0])/u}E(l,function(v){var b=v.get("boxWidth");O.isArray(b)||(b=[b,b]),a.push([I(b[0],i)||0,I(b[1],i)||0])});var f=i*.8-2,m=f/n*.3,A=(f-m*(n-1))/n,g=A/2-f/2;E(l,function(v,b){e.push(g),g+=m+A,c.push(Math.min(Math.max(A,a[b][0]),a[b][1]))})}function h(o,r,s){var l=o.coordinateSystem,n=o.getData(),c=s/2,e=o.get("layout")==="horizontal"?0:1,a=1-e,i=["x","y"],u=n.mapDimension(i[e]),f=n.mapDimension(i[a],!0);if(u==null||f.length<5)return;for(var m=0;m<n.count();m++){var A=n.get(u,m),g=x(A,f[2],m),v=x(A,f[0],m),b=x(A,f[1],m),S=x(A,f[3],m),y=x(A,f[4],m),w=[];T(w,b,0),T(w,S,1),w.push(v,b,y,S),L(w,v),L(w,y),L(w,g),n.setItemLayout(m,{initBaseline:g[a],ends:w})}function x(R,P,k){var U=n.get(P,k),D=[];D[e]=R,D[a]=U;var M;return isNaN(R)||isNaN(U)?M=[NaN,NaN]:(M=l.dataToPoint(D),M[e]+=r),M}function T(R,P,k){var U=P.slice(),D=P.slice();U[e]+=c,D[e]-=c,k?R.push(U,D):R.push(D,U)}function L(R,P){var k=P.slice(),U=P.slice();k[e]-=c,U[e]+=c,R.push(k,U)}}ue.exports=C},"7SHv":function(ue,z,d){var O=d("LPTA"),_=O.devicePixelRatio,I=d("bYtY"),E=d("SUKs"),C=d("mFDi"),t=d("BPZU"),p=d("Xmg4"),h=d("mLcG"),o=d("Dagg"),r=d("ItGF"),s=1e5,l=314159,n=.01,c=.001;function e(S){return parseInt(S,10)}function a(S){return S?S.__builtin__?!0:!(typeof S.resize!="function"||typeof S.refresh!="function"):!1}var i=new C(0,0,0,0),u=new C(0,0,0,0);function f(S,y,w){return i.copy(S.getBoundingRect()),S.transform&&i.applyTransform(S.transform),u.width=y,u.height=w,!i.intersect(u)}function m(S,y){if(S===y)return!1;if(!S||!y||S.length!==y.length)return!0;for(var w=0;w<S.length;w++)if(S[w]!==y[w])return!0;return!1}function A(S,y){for(var w=0;w<S.length;w++){var x=S[w];x.setTransform(y),y.beginPath(),x.buildPath(y,x.shape),y.clip(),x.restoreTransform(y)}}function g(S,y){var w=document.createElement("div");return w.style.cssText=["position:relative","width:"+S+"px","height:"+y+"px","padding:0","margin:0","border-width:0"].join(";")+";",w}var v=function(y,w,x){this.type="canvas";var T=!y.nodeName||y.nodeName.toUpperCase()==="CANVAS";this._opts=x=I.extend({},x||{}),this.dpr=x.devicePixelRatio||_,this._singleCanvas=T,this.root=y;var L=y.style;L&&(L["-webkit-tap-highlight-color"]="transparent",L["-webkit-user-select"]=L["user-select"]=L["-webkit-touch-callout"]="none",y.innerHTML=""),this.storage=w;var R=this._zlevelList=[],P=this._layers={};if(this._layerConfig={},this._needsManuallyCompositing=!1,T){var U=y.width,D=y.height;x.width!=null&&(U=x.width),x.height!=null&&(D=x.height),this.dpr=x.devicePixelRatio||1,y.width=U*this.dpr,y.height=D*this.dpr,this._width=U,this._height=D;var M=new p(y,this,this.dpr);M.__builtin__=!0,M.initContext(),P[l]=M,M.zlevel=l,R.push(l),this._domRoot=y}else{this._width=this._getSize(0),this._height=this._getSize(1);var k=this._domRoot=g(this._width,this._height);y.appendChild(k)}this._hoverlayer=null,this._hoverElements=[]};v.prototype={constructor:v,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 w=this.storage.getDisplayList(!0),x=this._zlevelList;this._redrawId=Math.random(),this._paintList(w,y,this._redrawId);for(var T=0;T<x.length;T++){var L=x[T],R=this._layers[L];if(!R.__builtin__&&R.refresh){var P=T===0?this._backgroundColor:null;R.refresh(P)}}return this.refreshHover(),this},addHover:function(y,w){if(y.__hoverMir)return;var x=new y.constructor({style:y.style,shape:y.shape,z:y.z,z2:y.z2,silent:y.silent});return x.__from=y,y.__hoverMir=x,w&&x.setStyle(w),this._hoverElements.push(x),x},removeHover:function(y){var w=y.__hoverMir,x=this._hoverElements,T=I.indexOf(x,w);T>=0&&x.splice(T,1),y.__hoverMir=null},clearHover:function(y){for(var w=this._hoverElements,x=0;x<w.length;x++){var T=w[x].__from;T&&(T.__hoverMir=null)}w.length=0},refreshHover:function(){var y=this._hoverElements,w=y.length,x=this._hoverlayer;if(x&&x.clear(),!w)return;t(y,this.storage.displayableSortFunc),x||(x=this._hoverlayer=this.getLayer(s));var T={};x.ctx.save();for(var L=0;L<w;){var R=y[L],P=R.__from;if(!(P&&P.__zr)){y.splice(L,1),P.__hoverMir=null,w--;continue}L++,P.invisible||(R.transform=P.transform,R.invTransform=P.invTransform,R.__clipPaths=P.__clipPaths,this._doPaintEl(R,x,!0,T))}x.ctx.restore()},getHoverLayer:function(){return this.getLayer(s)},_paintList:function(y,w,x){if(this._redrawId!==x)return;w=w||!1,this._updateLayerStatus(y);var T=this._doPaintList(y,w);if(this._needsManuallyCompositing&&this._compositeManually(),!T){var L=this;h(function(){L._paintList(y,w,x)})}},_compositeManually:function(){var y=this.getLayer(l).ctx,w=this._domRoot.width,x=this._domRoot.height;y.clearRect(0,0,w,x),this.eachBuiltinLayer(function(T){T.virtual&&y.drawImage(T.dom,0,0,w,x)})},_doPaintList:function(y,w){for(var x=[],T=0;T<this._zlevelList.length;T++){var L=this._zlevelList[T],R=this._layers[L];R.__builtin__&&R!==this._hoverlayer&&(R.__dirty||w)&&x.push(R)}for(var P=!0,k=0;k<x.length;k++){var R=x[k],U=R.ctx,D={};U.save();var M=w?R.__startIndex:R.__drawIndex,B=!w&&R.incremental&&Date.now,j=B&&Date.now(),H=R.zlevel===this._zlevelList[0]?this._backgroundColor:null;if(R.__startIndex===R.__endIndex)R.clear(!1,H);else if(M===R.__startIndex){var K=y[M];(!K.incremental||!K.notClear||w)&&R.clear(!1,H)}M===-1&&(console.error("For some unknown reason. drawIndex is -1"),M=R.__startIndex);for(var W=M;W<R.__endIndex;W++){var X=y[W];if(this._doPaintEl(X,R,w,D),X.__dirty=X.__dirtyText=!1,B){var V=Date.now()-j;if(V>15)break}}R.__drawIndex=W,R.__drawIndex<R.__endIndex&&(P=!1),D.prevElClipPaths&&U.restore(),U.restore()}return r.wxa&&I.each(this._layers,function(Z){Z&&Z.ctx&&Z.ctx.draw&&Z.ctx.draw()}),P},_doPaintEl:function(y,w,x,T){var L=w.ctx,R=y.transform;if((w.__dirty||x)&&!y.invisible&&y.style.opacity!==0&&!(R&&!R[0]&&!R[3])&&!(y.culling&&f(y,this._width,this._height))){var P=y.__clipPaths,k=T.prevElClipPaths;(!k||m(P,k))&&(k&&(L.restore(),T.prevElClipPaths=null,T.prevEl=null),P&&(L.save(),A(P,L),T.prevElClipPaths=P)),y.beforeBrush&&y.beforeBrush(L),y.brush(L,T.prevEl||null),T.prevEl=y,y.afterBrush&&y.afterBrush(L)}},getLayer:function(y,w){this._singleCanvas&&!this._needsManuallyCompositing&&(y=l);var x=this._layers[y];return x||(x=new p("zr_"+y,this,this.dpr),x.zlevel=y,x.__builtin__=!0,this._layerConfig[y]?I.merge(x,this._layerConfig[y],!0):this._layerConfig[y-n]&&I.merge(x,this._layerConfig[y-n],!0),w&&(x.virtual=w),this.insertLayer(y,x),x.initContext()),x},insertLayer:function(y,w){var x=this._layers,T=this._zlevelList,L=T.length,R=null,P=-1,k=this._domRoot;if(x[y]){E("ZLevel "+y+" has been used already");return}if(!a(w)){E("Layer of zlevel "+y+" is not valid");return}if(L>0&&y>T[0]){for(P=0;P<L-1&&!(T[P]<y&&T[P+1]>y);P++);R=x[T[P]]}if(T.splice(P+1,0,y),x[y]=w,!w.virtual)if(R){var U=R.dom;U.nextSibling?k.insertBefore(w.dom,U.nextSibling):k.appendChild(w.dom)}else k.firstChild?k.insertBefore(w.dom,k.firstChild):k.appendChild(w.dom)},eachLayer:function(y,w){var x=this._zlevelList,T,L;for(L=0;L<x.length;L++)T=x[L],y.call(w,this._layers[T],T)},eachBuiltinLayer:function(y,w){var x=this._zlevelList,T,L,R;for(R=0;R<x.length;R++)L=x[R],T=this._layers[L],T.__builtin__&&y.call(w,T,L)},eachOtherLayer:function(y,w){var x=this._zlevelList,T,L,R;for(R=0;R<x.length;R++)L=x[R],T=this._layers[L],T.__builtin__||y.call(w,T,L)},getLayers:function(){return this._layers},_updateLayerStatus:function(y){this.eachBuiltinLayer(function(D,M){D.__dirty=D.__used=!1});function w(D){L&&(L.__endIndex!==D&&(L.__dirty=!0),L.__endIndex=D)}if(this._singleCanvas)for(var x=1;x<y.length;x++){var T=y[x];if(T.zlevel!==y[x-1].zlevel||T.incremental){this._needsManuallyCompositing=!0;break}}for(var L=null,R=0,P,x=0;x<y.length;x++){var T=y[x],k=T.zlevel,U;P!==k&&(P=k,R=0),T.incremental?(U=this.getLayer(k+c,this._needsManuallyCompositing),U.incremental=!0,R=1):U=this.getLayer(k+(R>0?n:0),this._needsManuallyCompositing),U.__builtin__||E("ZLevel "+k+" has been used by unkown layer "+U.id),U!==L&&(U.__used=!0,U.__startIndex!==x&&(U.__dirty=!0),U.__startIndex=x,U.incremental?U.__drawIndex=-1:U.__drawIndex=x,w(x),L=U),T.__dirty&&(U.__dirty=!0,U.incremental&&U.__drawIndex<0&&(U.__drawIndex=x))}w(x),this.eachBuiltinLayer(function(D,M){!D.__used&&D.getElementCount()>0&&(D.__dirty=!0,D.__startIndex=D.__endIndex=D.__drawIndex=0),D.__dirty&&D.__drawIndex<0&&(D.__drawIndex=D.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(y){y.clear()},setBackgroundColor:function(y){this._backgroundColor=y},configLayer:function(y,w){if(w){var x=this._layerConfig;x[y]?I.merge(x[y],w,!0):x[y]=w;for(var T=0;T<this._zlevelList.length;T++){var L=this._zlevelList[T];if(L===y||L===y+n){var R=this._layers[L];I.merge(R,x[y],!0)}}}},delLayer:function(y){var w=this._layers,x=this._zlevelList,T=w[y];if(!T)return;T.dom.parentNode.removeChild(T.dom),delete w[y],x.splice(I.indexOf(x,y),1)},resize:function(y,w){if(this._domRoot.style){var x=this._domRoot;x.style.display="none";var T=this._opts;if(y!=null&&(T.width=y),w!=null&&(T.height=w),y=this._getSize(0),w=this._getSize(1),x.style.display="",this._width!==y||w!==this._height){x.style.width=y+"px",x.style.height=w+"px";for(var L in this._layers)this._layers.hasOwnProperty(L)&&this._layers[L].resize(y,w);I.each(this._progressiveLayers,function(R){R.resize(y,w)}),this.refresh(!0)}this._width=y,this._height=w}else{if(y==null||w==null)return;this._width=y,this._height=w,this.getLayer(l).resize(y,w)}return this},clearLayer:function(y){var w=this._layers[y];w&&w.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[l].dom;var w=new p("image",this,y.pixelRatio||this.dpr);if(w.initContext(),w.clear(!1,y.backgroundColor||this._backgroundColor),y.pixelRatio<=this.dpr){this.refresh();var x=w.dom.width,T=w.dom.height,L=w.ctx;this.eachLayer(function(D){D.__builtin__?L.drawImage(D.dom,0,0,x,T):D.renderToCanvas&&(w.ctx.save(),D.renderToCanvas(w.ctx),w.ctx.restore())})}else for(var R={},P=this.storage.getDisplayList(!0),k=0;k<P.length;k++){var U=P[k];this._doPaintEl(U,w,!0,R)}return w.dom},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(y){var w=this._opts,x=["width","height"][y],T=["clientWidth","clientHeight"][y],L=["paddingLeft","paddingTop"][y],R=["paddingRight","paddingBottom"][y];if(w[x]!=null&&w[x]!=="auto")return parseFloat(w[x]);var P=this.root,k=document.defaultView.getComputedStyle(P);return(P[T]||e(k[x])||e(P.style[x]))-(e(k[L])||0)-(e(k[R])||0)|0},pathToImage:function(y,w){w=w||this.dpr;var x=document.createElement("canvas"),T=x.getContext("2d"),L=y.getBoundingRect(),R=y.style,P=R.shadowBlur*w,k=R.shadowOffsetX*w,U=R.shadowOffsetY*w,D=R.hasStroke()?R.lineWidth:0,M=Math.max(D/2,-k+P),B=Math.max(D/2,k+P),j=Math.max(D/2,-U+P),H=Math.max(D/2,U+P),K=L.width+M+B,W=L.height+j+H;x.width=K*w,x.height=W*w,T.scale(w,w),T.clearRect(0,0,K,W),T.dpr=w;var X={position:y.position,rotation:y.rotation,scale:y.scale};y.position=[M-L.x,j-L.y],y.rotation=0,y.scale=[1,1],y.updateTransform(),y&&y.brush(T);var V=o,Z=new V({style:{x:0,y:0,image:x}});return X.position!=null&&(Z.position=y.position=X.position),X.rotation!=null&&(Z.rotation=y.rotation=X.rotation),X.scale!=null&&(Z.scale=y.scale=X.scale),Z}};var b=v;ue.exports=b},"7a+S":function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("YXkt"),E=d("4NO4"),C=_.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(p,h,o){this._data,this._names,this.mergeDefaultAndTheme(p,o),this._initData()},mergeOption:function(p){C.superApply(this,"mergeOption",arguments),this._initData()},setCurrentIndex:function(p){p==null&&(p=this.option.currentIndex);var h=this._data.count();this.option.loop?p=(p%h+h)%h:(p>=h&&(p=h-1),p<0&&(p=0)),this.option.currentIndex=p},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(p){this.option.autoPlay=!!p},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var p=this.option,h=p.data||[],o=p.axisType,r=this._names=[];if(o==="category"){var s=[];O.each(h,function(c,e){var a=E.getDataItemValue(c),i;O.isObject(c)?(i=O.clone(c),i.value=e):i=e,s.push(i),!O.isString(a)&&(a==null||isNaN(a))&&(a=""),r.push(a+"")}),h=s}var l={category:"ordinal",time:"time"}[o]||"number",n=this._data=new I([{name:"value",type:l}],this);n.initData(h,r)},getData:function(){return this._data},getCategories:function(){if(this.get("axisType")==="category")return this._names.slice()}}),t=C;ue.exports=t},"7aKB":function(ue,z,d){var O=d("bYtY"),_=d("6GrX"),I=d("OELB");function E(g){return isNaN(g)?"-":(g=(g+"").split("."),g[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(g.length>1?"."+g[1]:""))}function C(g,v){return g=(g||"").toLowerCase().replace(/-(.)/g,function(b,S){return S.toUpperCase()}),v&&g&&(g=g.charAt(0).toUpperCase()+g.slice(1)),g}var t=O.normalizeCssArray,p=/([&<>"'])/g,h={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function o(g){return g==null?"":(g+"").replace(p,function(v,b){return h[b]})}var r=["a","b","c","d","e","f","g"],s=function(g,v){return"{"+g+(v==null?"":v)+"}"};function l(g,v,b){O.isArray(v)||(v=[v]);var S=v.length;if(!S)return"";for(var y=v[0].$vars||[],w=0;w<y.length;w++){var x=r[w];g=g.replace(s(x),s(x,0))}for(var T=0;T<S;T++)for(var L=0;L<y.length;L++){var R=v[T][y[L]];g=g.replace(s(r[L],T),b?o(R):R)}return g}function n(g,v,b){return O.each(v,function(S,y){g=g.replace("{"+y+"}",b?o(S):S)}),g}function c(g,v){g=O.isString(g)?{color:g,extraCssText:v}:g||{};var b=g.color,S=g.type,v=g.extraCssText,y=g.renderMode||"html",w=g.markerId||"X";return b?y==="html"?S==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+o(b)+";"+(v||"")+'"></span>':'<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:'+o(b)+";"+(v||"")+'"></span>':{renderMode:y,content:"{marker"+w+"|} ",style:{color:b}}:""}function e(g,v){return g+="","0000".substr(0,v-g.length)+g}function a(g,v,b){(g==="week"||g==="month"||g==="quarter"||g==="half-year"||g==="year")&&(g=`MM-dd
yyyy`);var S=I.parseDate(v),y=b?"UTC":"",w=S["get"+y+"FullYear"](),x=S["get"+y+"Month"]()+1,T=S["get"+y+"Date"](),L=S["get"+y+"Hours"](),R=S["get"+y+"Minutes"](),P=S["get"+y+"Seconds"](),k=S["get"+y+"Milliseconds"]();return g=g.replace("MM",e(x,2)).replace("M",x).replace("yyyy",w).replace("yy",w%100).replace("dd",e(T,2)).replace("d",T).replace("hh",e(L,2)).replace("h",L).replace("mm",e(R,2)).replace("m",R).replace("ss",e(P,2)).replace("s",P).replace("SSS",e(k,3)),g}function i(g){return g&&g.charAt(0).toUpperCase()+g.substr(1)}var u=_.truncateText;function f(g){return _.getBoundingRect(g.text,g.font,g.textAlign,g.textVerticalAlign,g.textPadding,g.textLineHeight,g.rich,g.truncate)}function m(g,v,b,S,y,w,x,T){return _.getBoundingRect(g,v,b,S,y,T,w,x)}function A(g,v){if(v==="_blank"||v==="blank"){var b=window.open();b.opener=null,b.location=g}else window.open(g,v)}z.addCommas=E,z.toCamelCase=C,z.normalizeCssArray=t,z.encodeHTML=o,z.formatTpl=l,z.formatTplSimple=n,z.getTooltipMarker=c,z.formatTime=a,z.capitalFirst=i,z.truncateText=u,z.getTextBoundingRect=f,z.getTextRect=m,z.windowOpen=A},"7bkD":function(ue,z,d){var O=d("bYtY");function _(I,E){E=E||{};var C=I.coordinateSystem,t=I.axis,p={},h=t.position,o=t.orient,r=C.getRect(),s=[r.x,r.x+r.width,r.y,r.y+r.height],l={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};p.position=[o==="vertical"?l.vertical[h]:s[0],o==="horizontal"?l.horizontal[h]:s[3]];var n={horizontal:0,vertical:1};p.rotation=Math.PI/2*n[o];var c={top:-1,bottom:1,right:1,left:-1};p.labelDirection=p.tickDirection=p.nameDirection=c[h],I.get("axisTick.inside")&&(p.tickDirection=-p.tickDirection),O.retrieve(E.labelInside,I.get("axisLabel.inside"))&&(p.labelDirection=-p.labelDirection);var e=E.rotate;return e==null&&(e=I.get("axisLabel.rotate")),p.labelRotation=h==="top"?-e:e,p.z2=1,p}z.layout=_},"7hqr":function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.isString;function E(p,h,o){o=o||{};var r=o.byIndex,s=o.stackedCoordDimension,l=!!(p&&p.get("stack")),n,c,e,a;if(_(h,function(m,A){I(m)&&(h[A]=m={name:m}),l&&!m.isExtraCoord&&(!r&&!n&&m.ordinalMeta&&(n=m),!c&&m.type!=="ordinal"&&m.type!=="time"&&(!s||s===m.coordDim)&&(c=m))}),c&&!r&&!n&&(r=!0),c){e="__\0ecstackresult",a="__\0ecstackedover",n&&(n.createInvertedIndices=!0);var i=c.coordDim,u=c.type,f=0;_(h,function(m){m.coordDim===i&&f++}),h.push({name:e,coordDim:i,coordDimIndex:f,type:u,isExtraCoord:!0,isCalculationCoord:!0}),f++,h.push({name:a,coordDim:a,coordDimIndex:f,type:u,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:c&&c.name,stackedByDimension:n&&n.name,isStackedByIndex:r,stackedOverDimension:a,stackResultDimension:e}}function C(p,h){return!!h&&h===p.getCalculationInfo("stackedDimension")}function t(p,h){return C(p,h)?p.getCalculationInfo("stackResultDimension"):h}z.enableDataStack=E,z.isDimensionStacked=C,z.getStackedDimension=t},"7mYs":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS"),E=d("7aKB"),C=d("OELB"),t={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"]},p={EN:["S","M","T","W","T","F","S"],CN:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},h=O.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(o,r,s){var l=this.group;l.removeAll();var n=o.coordinateSystem,c=n.getRangeInfo(),e=n.getOrient();this._renderDayRect(o,c,l),this._renderLines(o,c,e,l),this._renderYearText(o,c,e,l),this._renderMonthText(o,e,l),this._renderWeekText(o,c,e,l)},_renderDayRect:function(o,r,s){for(var l=o.coordinateSystem,n=o.getModel("itemStyle").getItemStyle(),c=l.getCellWidth(),e=l.getCellHeight(),a=r.start.time;a<=r.end.time;a=l.getNextNDay(a,1).time){var i=l.dataToRect([a],!1).tl,u=new I.Rect({shape:{x:i[0],y:i[1],width:c,height:e},cursor:"default",style:n});s.add(u)}},_renderLines:function(o,r,s,l){var n=this,c=o.coordinateSystem,e=o.getModel("splitLine.lineStyle").getLineStyle(),a=o.get("splitLine.show"),i=e.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=r.start,f=0;u.time<=r.end.time;f++){A(u.formatedDate),f===0&&(u=c.getDateInfo(r.start.y+"-"+r.start.m));var m=u.date;m.setMonth(m.getMonth()+1),u=c.getDateInfo(m)}A(c.getNextNDay(r.end.time,1).formatedDate);function A(g){n._firstDayOfMonth.push(c.getDateInfo(g)),n._firstDayPoints.push(c.dataToRect([g],!1).tl);var v=n._getLinePointsOfOneWeek(o,g,s);n._tlpoints.push(v[0]),n._blpoints.push(v[v.length-1]),a&&n._drawSplitline(v,e,l)}a&&this._drawSplitline(n._getEdgesPoints(n._tlpoints,i,s),e,l),a&&this._drawSplitline(n._getEdgesPoints(n._blpoints,i,s),e,l)},_getEdgesPoints:function(o,r,s){var l=[o[0].slice(),o[o.length-1].slice()],n=s==="horizontal"?0:1;return l[0][n]=l[0][n]-r/2,l[1][n]=l[1][n]+r/2,l},_drawSplitline:function(o,r,s){var l=new I.Polyline({z2:20,shape:{points:o},style:r});s.add(l)},_getLinePointsOfOneWeek:function(o,r,s){var l=o.coordinateSystem;r=l.getDateInfo(r);for(var n=[],c=0;c<7;c++){var e=l.getNextNDay(r.time,c),a=l.dataToRect([e.time],!1);n[2*e.day]=a.tl,n[2*e.day+1]=a[s==="horizontal"?"bl":"tr"]}return n},_formatterLabel:function(o,r){return typeof o=="string"&&o?E.formatTplSimple(o,r):typeof o=="function"?o(r):r.nameMap},_yearTextPositionControl:function(o,r,s,l,n){r=r.slice();var c=["center","bottom"];l==="bottom"?(r[1]+=n,c=["center","top"]):l==="left"?r[0]-=n:l==="right"?(r[0]+=n,c=["center","top"]):r[1]-=n;var e=0;return(l==="left"||l==="right")&&(e=Math.PI/2),{rotation:e,position:r,style:{textAlign:c[0],textVerticalAlign:c[1]}}},_renderYearText:function(o,r,s,l){var n=o.getModel("yearLabel");if(!n.get("show"))return;var c=n.get("margin"),e=n.get("position");e||(e=s!=="horizontal"?"top":"left");var a=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],i=(a[0][0]+a[1][0])/2,u=(a[0][1]+a[1][1])/2,f=s==="horizontal"?0:1,m={top:[i,a[f][1]],bottom:[i,a[1-f][1]],left:[a[1-f][0],u],right:[a[f][0],u]},A=r.start.y;+r.end.y>+r.start.y&&(A=A+"-"+r.end.y);var g=n.get("formatter"),v={start:r.start.y,end:r.end.y,nameMap:A},b=this._formatterLabel(g,v),S=new I.Text({z2:30});I.setTextStyle(S.style,n,{text:b}),S.attr(this._yearTextPositionControl(S,m[e],s,e,c)),l.add(S)},_monthTextPositionControl:function(o,r,s,l,n){var c="left",e="top",a=o[0],i=o[1];return s==="horizontal"?(i=i+n,r&&(c="center"),l==="start"&&(e="bottom")):(a=a+n,r&&(e="middle"),l==="start"&&(c="right")),{x:a,y:i,textAlign:c,textVerticalAlign:e}},_renderMonthText:function(o,r,s){var l=o.getModel("monthLabel");if(!l.get("show"))return;var n=l.get("nameMap"),c=l.get("margin"),e=l.get("position"),a=l.get("align"),i=[this._tlpoints,this._blpoints];_.isString(n)&&(n=t[n.toUpperCase()]||[]);var u=e==="start"?0:1,f=r==="horizontal"?0:1;c=e==="start"?-c:c;for(var m=a==="center",A=0;A<i[u].length-1;A++){var g=i[u][A].slice(),v=this._firstDayOfMonth[A];if(m){var b=this._firstDayPoints[A];g[f]=(b[f]+i[0][A+1][f])/2}var S=l.get("formatter"),y=n[+v.m-1],w={yyyy:v.y,yy:(v.y+"").slice(2),MM:v.m,M:+v.m,nameMap:y},x=this._formatterLabel(S,w),T=new I.Text({z2:30});_.extend(I.setTextStyle(T.style,l,{text:x}),this._monthTextPositionControl(g,m,r,e,c)),s.add(T)}},_weekTextPositionControl:function(o,r,s,l,n){var c="center",e="middle",a=o[0],i=o[1],u=s==="start";return r==="horizontal"?(a=a+l+(u?1:-1)*n[0]/2,c=u?"right":"left"):(i=i+l+(u?1:-1)*n[1]/2,e=u?"bottom":"top"),{x:a,y:i,textAlign:c,textVerticalAlign:e}},_renderWeekText:function(o,r,s,l){var n=o.getModel("dayLabel");if(!n.get("show"))return;var c=o.coordinateSystem,e=n.get("position"),a=n.get("nameMap"),i=n.get("margin"),u=c.getFirstDayOfWeek();_.isString(a)&&(a=p[a.toUpperCase()]||[]);var f=c.getNextNDay(r.end.time,7-r.lweek).time,m=[c.getCellWidth(),c.getCellHeight()];i=C.parsePercent(i,m[s==="horizontal"?0:1]),e==="start"&&(f=c.getNextNDay(r.start.time,-(7+r.fweek)).time,i=-i);for(var A=0;A<7;A++){var g=c.getNextNDay(f,A),v=c.dataToRect([g.time],!1).center,b=A;b=Math.abs((A+u)%7);var S=new I.Text({z2:30});_.extend(I.setTextStyle(S.style,n,{text:a[b]}),this._weekTextPositionControl(v,s,e,i,m)),l.add(S)}}});ue.exports=h},"7oTu":function(ue,z,d){var O=d("IMiH"),_=d("QBsz"),I=_.applyTransform,E=O.CMD,C=[[],[],[]],t=Math.sqrt,p=Math.atan2;function h(o,r){var s=o.data,l,n,c,e,a,i,u=E.M,f=E.C,m=E.L,A=E.R,g=E.A,v=E.Q;for(c=0,e=0;c<s.length;){l=s[c++],e=c,n=0;switch(l){case u:n=1;break;case m:n=1;break;case f:n=3;break;case v:n=2;break;case g:var b=r[4],S=r[5],y=t(r[0]*r[0]+r[1]*r[1]),w=t(r[2]*r[2]+r[3]*r[3]),x=p(-r[1]/w,r[0]/y);s[c]*=y,s[c++]+=b,s[c]*=w,s[c++]+=S,s[c++]*=y,s[c++]*=w,s[c++]+=x,s[c++]+=x,c+=2,e=c;break;case A:i[0]=s[c++],i[1]=s[c++],I(i,i,r),s[e++]=i[0],s[e++]=i[1],i[0]+=s[c++],i[1]+=s[c++],I(i,i,r),s[e++]=i[0],s[e++]=i[1]}for(a=0;a<n;a++){var i=C[a];i[0]=s[c++],i[1]=s[c++],I(i,i,r),s[e++]=i[0],s[e++]=i[1]}}}ue.exports=h},"7pVf":function(ue,z,d){var O=d("ProS"),_=d("ZqQs");d("oE7X"),d("OUJF"),d("3X6L"),d("NH9N"),O.registerPreprocessor(_)},"7ph2":function(ue,z){function d(I){return I instanceof Array||(I=[I,I]),I}var O="lineStyle.opacity".split("."),_={seriesType:"lines",reset:function(I,E,C){var t=d(I.get("symbol")),p=d(I.get("symbolSize")),h=I.getData();h.setVisual("fromSymbol",t&&t[0]),h.setVisual("toSymbol",t&&t[1]),h.setVisual("fromSymbolSize",p&&p[0]),h.setVisual("toSymbolSize",p&&p[1]),h.setVisual("opacity",I.get(O));function o(r,s){var l=r.getItemModel(s),n=d(l.getShallow("symbol",!0)),c=d(l.getShallow("symbolSize",!0)),e=l.get(O);n[0]&&r.setItemVisual(s,"fromSymbol",n[0]),n[1]&&r.setItemVisual(s,"toSymbol",n[1]),c[0]&&r.setItemVisual(s,"fromSymbolSize",c[0]),c[1]&&r.setItemVisual(s,"toSymbolSize",c[1]),r.setItemVisual(s,"opacity",e)}return{dataEach:h.hasItemOption?o:null}}};ue.exports=_},"7uqq":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("AUH6"),t=d("+TT/"),p=d("OELB"),h=d("W4dC"),o=d("7DRL");function r(c,e){var a=c.get("boundingCoords");if(a!=null){var i=a[0],u=a[1];isNaN(i[0])||isNaN(i[1])||isNaN(u[0])||isNaN(u[1])||this.setBoundingRect(i[0],i[1],u[0]-i[0],u[1]-i[1])}var f=this.getBoundingRect(),m,A=c.get("layoutCenter"),g=c.get("layoutSize"),v=e.getWidth(),b=e.getHeight(),S=f.width/f.height*this.aspectScale,y=!1;A&&g&&(A=[p.parsePercent(A[0],v),p.parsePercent(A[1],b)],g=p.parsePercent(g,Math.min(v,b)),!isNaN(A[0])&&!isNaN(A[1])&&!isNaN(g)&&(y=!0));var w;if(y){var w={};S>1?(w.width=g,w.height=g/S):(w.height=g,w.width=g*S),w.y=A[1]-w.height/2,w.x=A[0]-w.width/2}else m=c.getBoxLayoutParams(),m.aspect=S,w=t.getLayoutRect(m,{width:v,height:b});this.setViewRect(w.x,w.y,w.width,w.height),this.setCenter(c.get("center")),this.setZoom(c.get("zoom"))}function s(c,e){E.each(e.get("geoCoord"),function(a,i){c.addGeoCoord(i,a)})}var l={dimensions:C.prototype.dimensions,create:function(c,e){var a=[];c.eachComponent("geo",function(u,f){var m=u.get("map"),A=u.get("aspectScale"),g=!0,v=o.retrieveMap(m);v&&v[0]&&v[0].type==="svg"?(A==null&&(A=1),g=!1):A==null&&(A=.75);var b=new C(m+f,m,u.get("nameMap"),g);b.aspectScale=A,b.zoomLimit=u.get("scaleLimit"),a.push(b),s(b,u),u.coordinateSystem=b,b.model=u,b.resize=r,b.resize(u,e)}),c.eachSeries(function(u){var f=u.get("coordinateSystem");if(f==="geo"){var m=u.get("geoIndex")||0;u.coordinateSystem=a[m]}});var i={};return c.eachSeriesByType("map",function(u){if(!u.getHostGeoModel()){var f=u.getMapType();i[f]=i[f]||[],i[f].push(u)}}),E.each(i,function(u,f){var m=E.map(u,function(g){return g.get("nameMap")}),A=new C(f,f,E.mergeAll(m));A.zoomLimit=E.retrieve.apply(null,E.map(u,function(g){return g.get("scaleLimit")})),a.push(A),A.resize=r,A.aspectScale=u[0].get("aspectScale"),A.resize(u[0],e),E.each(u,function(g){g.coordinateSystem=A,s(A,g)})}),a},getFilledRegions:function(c,e,a){for(var i=(c||[]).slice(),u=E.createHashMap(),f=0;f<i.length;f++)u.set(i[f].name,i[f]);var m=h.load(e,a);return E.each(m.regions,function(A){var g=A.name;!u.get(g)&&i.push({name:g})}),i}};I.registerCoordinateSystem("geo",l);var n=l;ue.exports=n},"7yuC":function(ue,z,d){var O=d("QBsz"),_=O.scaleAndAdd;function I(E,C,t){for(var p=t.rect,h=p.width,o=p.height,r=[p.x+h/2,p.y+o/2],s=t.gravity==null?.1:t.gravity,l=0;l<E.length;l++){var n=E[l];n.p||(n.p=O.create(h*(Math.random()-.5)+r[0],o*(Math.random()-.5)+r[1])),n.pp=O.clone(n.p),n.edges=null}var c=t.friction==null?.6:t.friction,e=c;return{warmUp:function(){e=c*.8},setFixed:function(a){E[a].fixed=!0},setUnfixed:function(a){E[a].fixed=!1},step:function(a){for(var i=[],u=E.length,f=0;f<C.length;f++){var m=C[f];if(m.ignoreForceLayout)continue;var A=m.n1,g=m.n2;O.sub(i,g.p,A.p);var v=O.len(i)-m.d,b=g.w/(A.w+g.w);isNaN(b)&&(b=0),O.normalize(i,i),!A.fixed&&_(A.p,A.p,i,b*v*e),!g.fixed&&_(g.p,g.p,i,-(1-b)*v*e)}for(var f=0;f<u;f++){var S=E[f];S.fixed||(O.sub(i,r,S.p),_(S.p,S.p,i,s*e))}for(var f=0;f<u;f++)for(var A=E[f],y=f+1;y<u;y++){var g=E[y];O.sub(i,g.p,A.p);var v=O.len(i);v===0&&(O.set(i,Math.random()-.5,Math.random()-.5),v=1);var w=(A.rep+g.rep)/v/v;!A.fixed&&_(A.pp,A.pp,i,w),!g.fixed&&_(g.pp,g.pp,i,-w)}for(var x=[],f=0;f<u;f++){var S=E[f];S.fixed||(O.sub(x,S.p,S.pp),_(S.p,S.p,x,e),O.copy(S.pp,S.p))}e=e*.992,a&&a(E,C,e<.01)}}}z.forceLayout=I},"8+yF":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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},_={lookup:function(E){if(E>=32&&E<=255)return E;var C=O[E];return C!==void 0?C:16777216|E}};z.default=_},"815F":function(ue,z,d){"use strict";d.d(z,"e",function(){return p}),d.d(z,"c",function(){return o}),d.d(z,"d",function(){return r}),d.d(z,"a",function(){return l}),d.d(z,"f",function(){return n}),d.d(z,"b",function(){return c});var O=d("KQm4"),_=d("VTBJ"),I=d("Ff2n"),E=d("Zm9Q"),C=d("Kwbf"),t=d("OZM5");function p(e,a){return e!=null?e:a}function h(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=new Map;function i(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(u||[]).forEach(function(m){var A=m.key,g=m.children;Object(C.a)(A!=null,"Tree node must have a certain key: [".concat(f).concat(A,"]"));var v=String(A);Object(C.a)(!a.has(v)||A===null||A===void 0,"Same 'key' exist in the Tree: ".concat(v)),a.set(v,!0),i(g,"".concat(f).concat(v," > "))})}i(e)}function o(e){function a(i){var u=Object(E.a)(i);return u.map(function(f){if(!Object(t.i)(f))return Object(C.a)(!f,"Tree/TreeNode can only accept TreeNode as children."),null;var m=f.key,A=f.props,g=A.children,v=Object(I.a)(A,["children"]),b=Object(_.a)({key:m},v),S=a(g);return S.length&&(b.children=S),b}).filter(function(f){return f})}return a(e)}function r(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],i=new Set(a===!0?[]:a),u=[];function f(m){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return m.map(function(g,v){var b=Object(t.h)(A?A.pos:"0",v),S=p(g.key,b),y=Object(_.a)(Object(_.a)({},g),{},{parent:A,pos:b,children:null,data:g,isStart:[].concat(Object(O.a)(A?A.isStart:[]),[v===0]),isEnd:[].concat(Object(O.a)(A?A.isEnd:[]),[v===m.length-1])});return u.push(y),a===!0||i.has(S)?y.children=f(g.children||[],y):y.children=[],y})}return f(e),u}function s(e,a,i){var u;i?typeof i=="string"?u=function(A){return A[i]}:typeof i=="function"&&(u=function(A){return i(A)}):u=function(A,g){return p(A.key,g)};function f(m,A,g){var v=m?m.children:e,b=m?Object(t.h)(g.pos,A):"0";if(m){var S=u(m,b),y={node:m,index:A,pos:b,key:S,parentPos:g.node?g.pos:null,level:g.level+1};a(y)}v&&v.forEach(function(w,x){f(w,x,{node:m,pos:b,level:g?g.level+1:-1})})}f(null)}function l(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=a.initWrapper,u=a.processEntity,f=a.onProcessFinished,m=arguments.length>2?arguments[2]:void 0,A={},g={},v={posEntities:A,keyEntities:g};return i&&(v=i(v)||v),s(e,function(b){var S=b.node,y=b.index,w=b.pos,x=b.key,T=b.parentPos,L=b.level,R={node:S,index:y,key:x,pos:w,level:L},P=p(x,w);A[w]=R,g[P]=R,R.parent=A[T],R.parent&&(R.parent.children=R.parent.children||[],R.parent.children.push(R)),u&&u(R,v)},m),f&&f(v),v}function n(e,a){var i=a.expandedKeys,u=a.selectedKeys,f=a.loadedKeys,m=a.loadingKeys,A=a.checkedKeys,g=a.halfCheckedKeys,v=a.dragOverNodeKey,b=a.dropPosition,S=a.keyEntities,y=S[e],w={eventKey:e,expanded:i.indexOf(e)!==-1,selected:u.indexOf(e)!==-1,loaded:f.indexOf(e)!==-1,loading:m.indexOf(e)!==-1,checked:A.indexOf(e)!==-1,halfChecked:g.indexOf(e)!==-1,pos:String(y?y.pos:""),dragOver:v===e&&b===0,dragOverGapTop:v===e&&b===-1,dragOverGapBottom:v===e&&b===1};return w}function c(e){var a=e.data,i=e.expanded,u=e.selected,f=e.checked,m=e.loaded,A=e.loading,g=e.halfChecked,v=e.dragOver,b=e.dragOverGapTop,S=e.dragOverGapBottom,y=e.pos,w=e.active,x=Object(_.a)(Object(_.a)({},a),{},{expanded:i,selected:u,checked:f,loaded:m,loading:A,halfChecked:g,dragOver:v,dragOverGapTop:b,dragOverGapBottom:S,pos:y,active:w});return"props"in x||Object.defineProperty(x,"props",{get:function(){return Object(C.a)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),x}},"8CQX":function(ue,z,d){"use strict";function O(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(a){return typeof a}:O=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},O(c)}Object.defineProperty(z,"__esModule",{value:!0}),z.getKeycode=s,z.getKey=l,z.getKeysym=n;var _=r(d("mHUz")),I=r(d("8+yF")),E=r(d("6Qwc")),C=r(d("gIYZ")),t=r(d("mTgk")),p=o(d("GdRQ"));function h(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return h=function(){return c},c}function o(c){if(c&&c.__esModule)return c;if(c===null||O(c)!=="object"&&typeof c!="function")return{default:c};var e=h();if(e&&e.has(c))return e.get(c);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in c)if(Object.prototype.hasOwnProperty.call(c,u)){var f=i?Object.getOwnPropertyDescriptor(c,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=c[u]}return a.default=c,e&&e.set(c,a),a}function r(c){return c&&c.__esModule?c:{default:c}}function s(c){if(c.code){switch(c.code){case"OSLeft":return"MetaLeft";case"OSRight":return"MetaRight"}return c.code}if(c.type!=="keypress"&&c.keyCode in E.default){var e=E.default[c.keyCode];if(p.isMac()&&e==="ContextMenu"&&(e="MetaRight"),c.location===2)switch(e){case"ShiftLeft":return"ShiftRight";case"ControlLeft":return"ControlRight";case"AltLeft":return"AltRight"}if(c.location===3)switch(e){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 e}return"Unidentified"}function l(c){if(c.key!==void 0){switch(c.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 c.char}switch(c.key){case"OS":return"Meta";case"LaunchMyComputer":return"LaunchApplication1";case"LaunchCalculator":return"LaunchApplication2"}switch(c.key){case"UIKeyInputUpArrow":return"ArrowUp";case"UIKeyInputDownArrow":return"ArrowDown";case"UIKeyInputLeftArrow":return"ArrowLeft";case"UIKeyInputRightArrow":return"ArrowRight";case"UIKeyInputEscape":return"Escape"}if(c.key==="\0"&&c.code==="NumpadDecimal")return"Delete";if(!p.isIE()&&!p.isEdge())return c.key;if(c.key.length!==1&&c.key!=="Unidentified")return c.key}var e=s(c);return e in C.default?C.default[e]:c.charCode?String.fromCharCode(c.charCode):"Unidentified"}function n(c){var e=l(c);if(e==="Unidentified")return null;if(e in t.default){var a=c.location;if(e==="Meta"&&a===0&&(a=2),e==="Clear"&&a===3){var i=s(c);i==="NumLock"&&(a=0)}if((a===void 0||a>3)&&(a=0),e==="Meta"){var u=s(c);if(u==="AltLeft")return _.default.XK_Meta_L;if(u==="AltRight")return _.default.XK_Meta_R}if(e==="Clear"){var f=s(c);if(f==="NumLock")return _.default.XK_Num_Lock}return t.default[e][a]}if(e.length!==1)return null;var m=e.charCodeAt();return m?I.default.lookup(m):null}},"8EBN":function(ue,z,d){(function(O){O(d("VrN/"))})(function(O){"use strict";O.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 _=0;_<O.modeInfo.length;_++){var I=O.modeInfo[_];I.mimes&&(I.mime=I.mimes[0])}O.findModeByMIME=function(E){E=E.toLowerCase();for(var C=0;C<O.modeInfo.length;C++){var t=O.modeInfo[C];if(t.mime==E)return t;if(t.mimes){for(var p=0;p<t.mimes.length;p++)if(t.mimes[p]==E)return t}}if(/\+xml$/.test(E))return O.findModeByMIME("application/xml");if(/\+json$/.test(E))return O.findModeByMIME("application/json")},O.findModeByExtension=function(E){E=E.toLowerCase();for(var C=0;C<O.modeInfo.length;C++){var t=O.modeInfo[C];if(t.ext){for(var p=0;p<t.ext.length;p++)if(t.ext[p]==E)return t}}},O.findModeByFileName=function(E){for(var C=0;C<O.modeInfo.length;C++){var t=O.modeInfo[C];if(t.file&&t.file.test(E))return t}var p=E.lastIndexOf("."),h=p>-1&&E.substring(p+1,E.length);if(h)return O.findModeByExtension(h)},O.findModeByName=function(E){E=E.toLowerCase();for(var C=0;C<O.modeInfo.length;C++){var t=O.modeInfo[C];if(t.name.toLowerCase()==E)return t;if(t.alias){for(var p=0;p<t.alias.length;p++)if(t.alias[p].toLowerCase()==E)return t}}}})},"8IMR":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"8ISB":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("6Hfg"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},"8K/p":function(ue,z,d){"use strict";function O(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(s)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=t(d("Lo0S")),I=E(d("ItS6"));function E(s){return s&&s.__esModule?s:{default:s}}function C(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return C=function(){return s},s}function t(s){if(s&&s.__esModule)return s;if(s===null||O(s)!=="object"&&typeof s!="function")return{default:s};var l=C();if(l&&l.has(s))return l.get(s);var n={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in s)if(Object.prototype.hasOwnProperty.call(s,e)){var a=c?Object.getOwnPropertyDescriptor(s,e):null;a&&(a.get||a.set)?Object.defineProperty(n,e,a):n[e]=s[e]}return n.default=s,l&&l.set(s,n),n}function p(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function h(s,l){for(var n=0;n<l.length;n++){var c=l[n];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function o(s,l,n){return l&&h(s.prototype,l),n&&h(s,n),s}var r=function(){function s(){p(this,s),this._ctl=null,this._filter=null,this._numColors=0,this._palette=new Uint8Array(1024),this._len=0,this._zlibs=[];for(var l=0;l<4;l++)this._zlibs[l]=new I.default}return o(s,[{key:"decodeRect",value:function(n,c,e,a,i,u,f){if(this._ctl===null){if(i.rQwait("TIGHT compression-control",1))return!1;this._ctl=i.rQshift8();for(var m=0;m<4;m++)this._ctl>>m&1&&(this._zlibs[m].reset(),_.Info("Reset zlib stream "+m));this._ctl=this._ctl>>4}var A;if(this._ctl===8)A=this._fillRect(n,c,e,a,i,u,f);else if(this._ctl===9)A=this._jpegRect(n,c,e,a,i,u,f);else if(this._ctl===10)A=this._pngRect(n,c,e,a,i,u,f);else if((this._ctl&128)==0)A=this._basicRect(this._ctl,n,c,e,a,i,u,f);else throw new Error("Illegal tight compression received (ctl: "+this._ctl+")");return A&&(this._ctl=null),A}},{key:"_fillRect",value:function(n,c,e,a,i,u,f){if(i.rQwait("TIGHT",3))return!1;var m=i.rQi,A=i.rQ;return u.fillRect(n,c,e,a,[A[m+2],A[m+1],A[m]],!1),i.rQskipBytes(3),!0}},{key:"_jpegRect",value:function(n,c,e,a,i,u,f){var m=this._readData(i);return m===null?!1:(u.imageRect(n,c,e,a,"image/jpeg",m),!0)}},{key:"_pngRect",value:function(n,c,e,a,i,u,f){throw new Error("PNG received in standard Tight rect")}},{key:"_basicRect",value:function(n,c,e,a,i,u,f,m){if(this._filter===null)if(n&4){if(u.rQwait("TIGHT",1))return!1;this._filter=u.rQshift8()}else this._filter=0;var A=n&3,g;switch(this._filter){case 0:g=this._copyFilter(A,c,e,a,i,u,f,m);break;case 1:g=this._paletteFilter(A,c,e,a,i,u,f,m);break;case 2:g=this._gradientFilter(A,c,e,a,i,u,f,m);break;default:throw new Error("Illegal tight filter received (ctl: "+this._filter+")")}return g&&(this._filter=null),g}},{key:"_copyFilter",value:function(n,c,e,a,i,u,f,m){var A=a*i*3,g;if(A<12){if(u.rQwait("TIGHT",A))return!1;g=u.rQshiftBytes(A)}else{if(g=this._readData(u),g===null)return!1;this._zlibs[n].setInput(g),g=this._zlibs[n].inflate(A),this._zlibs[n].setInput(null)}return f.blitRgbImage(c,e,a,i,g,0,!1),!0}},{key:"_paletteFilter",value:function(n,c,e,a,i,u,f,m){if(this._numColors===0){if(u.rQwait("TIGHT palette",1))return!1;var A=u.rQpeek8()+1,g=A*3;if(u.rQwait("TIGHT palette",1+g))return!1;this._numColors=A,u.rQskipBytes(1),u.rQshiftTo(this._palette,g)}var v=this._numColors<=2?1:8,b=Math.floor((a*v+7)/8),S=b*i,y;if(S<12){if(u.rQwait("TIGHT",S))return!1;y=u.rQshiftBytes(S)}else{if(y=this._readData(u),y===null)return!1;this._zlibs[n].setInput(y),y=this._zlibs[n].inflate(S),this._zlibs[n].setInput(null)}return this._numColors==2?this._monoRect(c,e,a,i,y,this._palette,f):this._paletteRect(c,e,a,i,y,this._palette,f),this._numColors=0,!0}},{key:"_monoRect",value:function(n,c,e,a,i,u,f){for(var m=this._getScratchBuffer(e*a*4),A=Math.floor((e+7)/8),g=Math.floor(e/8),v=0;v<a;v++){var b=void 0,S=void 0,y=void 0;for(y=0;y<g;y++)for(var w=7;w>=0;w--)b=(v*e+y*8+7-w)*4,S=(i[v*A+y]>>w&1)*3,m[b]=u[S],m[b+1]=u[S+1],m[b+2]=u[S+2],m[b+3]=255;for(var x=7;x>=8-e%8;x--)b=(v*e+y*8+7-x)*4,S=(i[v*A+y]>>x&1)*3,m[b]=u[S],m[b+1]=u[S+1],m[b+2]=u[S+2],m[b+3]=255}f.blitRgbxImage(n,c,e,a,m,0,!1)}},{key:"_paletteRect",value:function(n,c,e,a,i,u,f){for(var m=this._getScratchBuffer(e*a*4),A=e*a*4,g=0,v=0;g<A;g+=4,v++){var b=i[v]*3;m[g]=u[b],m[g+1]=u[b+1],m[g+2]=u[b+2],m[g+3]=255}f.blitRgbxImage(n,c,e,a,m,0,!1)}},{key:"_gradientFilter",value:function(n,c,e,a,i,u,f,m){throw new Error("Gradient filter not implemented")}},{key:"_readData",value:function(n){if(this._len===0){if(n.rQwait("TIGHT",3))return null;var c;c=n.rQshift8(),this._len=c&127,c&128&&(c=n.rQshift8(),this._len|=(c&127)<<7,c&128&&(c=n.rQshift8(),this._len|=c<<14))}if(n.rQwait("TIGHT",this._len))return null;var e=n.rQshiftBytes(this._len);return this._len=0,e}},{key:"_getScratchBuffer",value:function(n){return(!this._scratchBuffer||this._scratchBuffer.length<n)&&(this._scratchBuffer=new Uint8Array(n)),this._scratchBuffer}}]),s}();z.default=r},"8OUc":function(ue,z,d){"use strict";var O=d("q1tI"),_=d.n(O),I=d("TSYQ"),E=d.n(I),C=function(p){var h=p.className,o=p.customizeIcon,r=p.customizeIconProps,s=p.onMouseDown,l=p.onClick,n=p.children,c;return typeof o=="function"?c=o(r):c=o,O.createElement("span",{className:h,onMouseDown:function(a){a.preventDefault(),s&&s(a)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:l,"aria-hidden":!0},c!==void 0?c:O.createElement("span",{className:E()(h.split(/\s+/).map(function(e){return"".concat(e,"-icon")}))},n))};z.a=C},"8SMY":function(ue,z,d){var O=d("n4Lv"),_=O.prepareDataCoordInfo,I=O.getStackedOnPoint;function E(t,p){var h=[];return p.diff(t).add(function(o){h.push({cmd:"+",idx:o})}).update(function(o,r){h.push({cmd:"=",idx:r,idx1:o})}).remove(function(o){h.push({cmd:"-",idx:o})}).execute(),h}function C(t,p,h,o,r,s,l,n){for(var c=E(t,p),e=[],a=[],i=[],u=[],f=[],m=[],A=[],g=_(r,p,l),v=_(s,t,n),b=0;b<c.length;b++){var S=c[b],y=!0;switch(S.cmd){case"=":var w=t.getItemLayout(S.idx),x=p.getItemLayout(S.idx1);(isNaN(w[0])||isNaN(w[1]))&&(w=x.slice()),e.push(w),a.push(x),i.push(h[S.idx]),u.push(o[S.idx1]),A.push(p.getRawIndex(S.idx1));break;case"+":var T=S.idx;e.push(r.dataToPoint([p.get(g.dataDimsForPoint[0],T),p.get(g.dataDimsForPoint[1],T)])),a.push(p.getItemLayout(T).slice()),i.push(I(g,r,p,T)),u.push(o[T]),A.push(p.getRawIndex(T));break;case"-":var T=S.idx,L=t.getRawIndex(T);L!==T?(e.push(t.getItemLayout(T)),a.push(s.dataToPoint([t.get(v.dataDimsForPoint[0],T),t.get(v.dataDimsForPoint[1],T)])),i.push(h[T]),u.push(I(v,s,t,T)),A.push(L)):y=!1}y&&(f.push(S),m.push(m.length))}m.sort(function(M,B){return A[M]-A[B]});for(var R=[],P=[],k=[],U=[],D=[],b=0;b<m.length;b++){var T=m[b];R[b]=e[T],P[b]=a[T],k[b]=i[T],U[b]=u[T],D[b]=f[T]}return{current:R,next:P,stackedOnCurrent:k,stackedOnNext:U,status:D}}ue.exports=C},"8Skl":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="DownOutlined";var p=z.a=_.forwardRef(t)},"8Th4":function(ue,z,d){var O=d("3LNs"),_=d("/y7N"),I=d("7bkD"),E=d("Znkb"),C=["x","y"],t=["width","height"],p=O.extend({makeElOption:function(l,n,c,e,a){var i=c.axis,u=i.coordinateSystem,f=r(u,1-o(i)),m=u.dataToPoint(n)[0],A=e.get("type");if(A&&A!=="none"){var g=_.buildElStyle(e),v=h[A](i,m,f);v.style=g,l.graphicKey=v.type,l.pointer=v}var b=I.layout(c);_.buildCartesianSingleLabelElOption(n,l,b,c,e,a)},getHandleTransform:function(l,n,c){var e=I.layout(n,{labelInside:!1});return e.labelMargin=c.get("handle.margin"),{position:_.getTransformedPosition(n.axis,l,e),rotation:e.rotation+(e.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(l,n,c,e){var a=c.axis,i=a.coordinateSystem,u=o(a),f=r(i,u),m=l.position;m[u]+=n[u],m[u]=Math.min(f[1],m[u]),m[u]=Math.max(f[0],m[u]);var A=r(i,1-u),g=(A[1]+A[0])/2,v=[g,g];return v[u]=m[u],{position:m,rotation:l.rotation,cursorPoint:v,tooltipOption:{verticalAlign:"middle"}}}}),h={line:function(l,n,c){var e=_.makeLineShape([n,c[0]],[n,c[1]],o(l));return{type:"Line",subPixelOptimize:!0,shape:e}},shadow:function(l,n,c){var e=l.getBandWidth(),a=c[1]-c[0];return{type:"Rect",shape:_.makeRectShape([n-e/2,c[0]],[e,a],o(l))}}};function o(l){return l.isHorizontal()?0:1}function r(l,n){var c=l.getRect();return[c[C[n]],c[C[n]]+c[t[n]]]}E.registerAxisPointerClass("SingleAxisPointer",p);var s=p;ue.exports=s},"8Uz6":function(ue,z,d){var O=d("hNWo"),_=d("+TT/"),I=_.mergeLayoutParam,E=_.getLayoutParams,C=O.extend({type:"legend.scroll",setScrollDataIndex:function(h){this.option.scrollDataIndex=h},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(h,o,r,s){var l=E(h);C.superCall(this,"init",h,o,r,s),t(this,h,l)},mergeOption:function(h,o){C.superCall(this,"mergeOption",h,o),t(this,this.option,h)}});function t(h,o,r){var s=h.getOrient(),l=[1,1];l[s.index]=0,I(o,r,{type:"box",ignoreSize:l})}var p=C;ue.exports=p},"8X+K":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("4mN7"),C=E.fromPoints,t=d("9wZj"),p=d("FBjb"),h=d("8SMY"),o=d("IwbS"),r=d("4NO4"),s=d("1NG9"),l=s.Polyline,n=s.Polygon,c=d("6Ic6"),e=d("n4Lv"),a=e.prepareDataCoordInfo,i=e.getStackedOnPoint,u=d("sK/D"),f=u.createGridClipPath,m=u.createPolarClipPath;function A(R,P){if(R.length!==P.length)return;for(var k=0;k<R.length;k++){var U=R[k],D=P[k];if(U[0]!==D[0]||U[1]!==D[1])return}return!0}function g(R,P){var k=[],U=[],D=[],M=[];return C(R,k,U),C(P,D,M),Math.max(Math.abs(k[0]-D[0]),Math.abs(k[1]-D[1]),Math.abs(U[0]-M[0]),Math.abs(U[1]-M[1]))}function v(R){return typeof R=="number"?R:R?.5:0}function b(R,P,k){if(!k.valueDim)return[];for(var U=[],D=0,M=P.count();D<M;D++)U.push(i(k,R,P,D));return U}function S(R,P,k){for(var U=P.getBaseAxis(),D=U.dim==="x"||U.dim==="radius"?0:1,M=[],B=0;B<R.length-1;B++){var j=R[B+1],H=R[B];M.push(H);var K=[];switch(k){case"end":K[D]=j[D],K[1-D]=H[1-D],M.push(K);break;case"middle":var W=(H[D]+j[D])/2,X=[];K[D]=X[D]=W,K[1-D]=H[1-D],X[1-D]=j[1-D],M.push(K),M.push(X);break;default:K[D]=H[D],K[1-D]=j[1-D],M.push(K)}}return R[B]&&M.push(R[B]),M}function y(R,P){var k=R.getVisual("visualMeta");if(!k||!k.length||!R.count())return;if(P.type!=="cartesian2d")return;for(var U,D,M=k.length-1;M>=0;M--){var B=k[M].dimension,j=R.dimensions[B],H=R.getDimensionInfo(j);if(U=H&&H.coordDim,U==="x"||U==="y"){D=k[M];break}}if(!D)return;var K=P.getAxis(U),W=I.map(D.stops,function(Ce){return{coord:K.toGlobalCoord(K.dataToCoord(Ce.value)),color:Ce.color}}),X=W.length,V=D.outerColors.slice();X&&W[0].coord>W[X-1].coord&&(W.reverse(),V.reverse());var Z=10,G=W[0].coord-Z,Y=W[X-1].coord+Z,te=Y-G;if(te<.001)return"transparent";I.each(W,function(Ce){Ce.offset=(Ce.coord-G)/te}),W.push({offset:X?W[X-1].offset:.5,color:V[1]||"transparent"}),W.unshift({offset:X?W[0].offset:.5,color:V[0]||"transparent"});var se=new o.LinearGradient(0,0,0,0,W,!0);return se[U]=G,se[U+"2"]=Y,se}function w(R,P,k){var U=R.get("showAllSymbol"),D=U==="auto";if(U&&!D)return;var M=k.getAxesByScale("ordinal")[0];if(!M)return;if(D&&x(M,P))return;var B=P.mapDimension(M.dim),j={};return I.each(M.getViewLabels(),function(H){j[H.tickValue]=1}),function(H){return!j.hasOwnProperty(P.get(B,H))}}function x(R,P){var k=R.getExtent(),U=Math.abs(k[1]-k[0])/R.scale.count();isNaN(U)&&(U=0);for(var D=P.count(),M=Math.max(1,Math.round(D/5)),B=0;B<D;B+=M)if(p.getSymbolSize(P,B)[R.isHorizontal()?1:0]*1.5>U)return!1;return!0}function T(R,P,k){if(R.type==="cartesian2d"){var U=R.getBaseAxis().isHorizontal(),D=f(R,P,k);if(!k.get("clip",!0)){var M=D.shape,B=Math.max(M.width,M.height);U?(M.y-=B,M.height+=B*2):(M.x-=B,M.width+=B*2)}return D}else return m(R,P,k)}var L=c.extend({type:"line",init:function(){var R=new o.Group,P=new t;this.group.add(P.group),this._symbolDraw=P,this._lineGroup=R},render:function(R,P,k){var U=R.coordinateSystem,D=this.group,M=R.getData(),B=R.getModel("lineStyle"),j=R.getModel("areaStyle"),H=M.mapArray(M.getItemLayout),K=U.type==="polar",W=this._coordSys,X=this._symbolDraw,V=this._polyline,Z=this._polygon,G=this._lineGroup,Y=R.get("animation"),te=!j.isEmpty(),se=j.get("origin"),Ce=a(U,M,se),he=b(U,M,Ce),xe=R.get("showSymbol"),ie=xe&&!K&&w(R,M,U),ee=this._data;ee&&ee.eachItemGraphicEl(function(je,et){je.__temp&&(D.remove(je),ee.setItemGraphicEl(et,null))}),xe||X.remove(),D.add(G);var Ze=!K&&R.get("step"),Se;U&&U.getArea&&R.get("clip",!0)&&(Se=U.getArea(),Se.width!=null?(Se.x-=.1,Se.y-=.1,Se.width+=.2,Se.height+=.2):Se.r0&&(Se.r0-=.5,Se.r1+=.5)),this._clipShapeForSymbol=Se,V&&W.type===U.type&&Ze===this._step?(te&&!Z?Z=this._newPolygon(H,he,U,Y):Z&&!te&&(G.remove(Z),Z=this._polygon=null),G.setClipPath(T(U,!1,R)),xe&&X.updateData(M,{isIgnore:ie,clipShape:Se}),M.eachItemGraphicEl(function(je){je.stopAnimation(!0)}),(!A(this._stackedOnPoints,he)||!A(this._points,H))&&(Y?this._updateAnimation(M,he,U,k,Ze,se):(Ze&&(H=S(H,U,Ze),he=S(he,U,Ze)),V.setShape({points:H}),Z&&Z.setShape({points:H,stackedOnPoints:he})))):(xe&&X.updateData(M,{isIgnore:ie,clipShape:Se}),Ze&&(H=S(H,U,Ze),he=S(he,U,Ze)),V=this._newPolyline(H,U,Y),te&&(Z=this._newPolygon(H,he,U,Y)),G.setClipPath(T(U,!0,R)));var Ne=y(M,U)||M.getVisual("color");V.useStyle(I.defaults(B.getLineStyle(),{fill:"none",stroke:Ne,lineJoin:"bevel"}));var it=R.get("smooth");if(it=v(R.get("smooth")),V.setShape({smooth:it,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")}),Z){var Ye=M.getCalculationInfo("stackedOnSeries"),nt=0;Z.useStyle(I.defaults(j.getAreaStyle(),{fill:Ne,opacity:.7,lineJoin:"bevel"})),Ye&&(nt=v(Ye.get("smooth"))),Z.setShape({smooth:it,stackedOnSmooth:nt,smoothMonotone:R.get("smoothMonotone"),connectNulls:R.get("connectNulls")})}this._data=M,this._coordSys=U,this._stackedOnPoints=he,this._points=H,this._step=Ze,this._valueOrigin=se},dispose:function(){},highlight:function(R,P,k,U){var D=R.getData(),M=r.queryDataIndex(D,U);if(!(M instanceof Array)&&M!=null&&M>=0){var B=D.getItemGraphicEl(M);if(!B){var j=D.getItemLayout(M);if(!j)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(j[0],j[1]))return;B=new p(D,M),B.position=j,B.setZ(R.get("zlevel"),R.get("z")),B.ignore=isNaN(j[0])||isNaN(j[1]),B.__temp=!0,D.setItemGraphicEl(M,B),B.stopSymbolAnimation(!0),this.group.add(B)}B.highlight()}else c.prototype.highlight.call(this,R,P,k,U)},downplay:function(R,P,k,U){var D=R.getData(),M=r.queryDataIndex(D,U);if(M!=null&&M>=0){var B=D.getItemGraphicEl(M);B&&(B.__temp?(D.setItemGraphicEl(M,null),this.group.remove(B)):B.downplay())}else c.prototype.downplay.call(this,R,P,k,U)},_newPolyline:function(R){var P=this._polyline;return P&&this._lineGroup.remove(P),P=new l({shape:{points:R},silent:!0,z2:10}),this._lineGroup.add(P),this._polyline=P,P},_newPolygon:function(R,P){var k=this._polygon;return k&&this._lineGroup.remove(k),k=new n({shape:{points:R,stackedOnPoints:P},silent:!0}),this._lineGroup.add(k),this._polygon=k,k},_updateAnimation:function(R,P,k,U,D,M){var B=this._polyline,j=this._polygon,H=R.hostModel,K=h(this._data,R,this._stackedOnPoints,P,this._coordSys,k,this._valueOrigin,M),W=K.current,X=K.stackedOnCurrent,V=K.next,Z=K.stackedOnNext;if(D&&(W=S(K.current,k,D),X=S(K.stackedOnCurrent,k,D),V=S(K.next,k,D),Z=S(K.stackedOnNext,k,D)),g(W,V)>3e3||j&&g(X,Z)>3e3){B.setShape({points:V}),j&&j.setShape({points:V,stackedOnPoints:Z});return}B.shape.__points=K.current,B.shape.points=W,o.updateProps(B,{shape:{points:V}},H),j&&(j.setShape({points:W,stackedOnPoints:X}),o.updateProps(j,{shape:{points:V,stackedOnPoints:Z}},H));for(var G=[],Y=K.status,te=0;te<Y.length;te++){var se=Y[te].cmd;if(se==="="){var Ce=R.getItemGraphicEl(Y[te].idx1);Ce&&G.push({el:Ce,ptIdx:te})}}B.animators&&B.animators.length&&B.animators[0].during(function(){for(var he=0;he<G.length;he++){var xe=G[he].el;xe.attr("position",B.shape.__points[G[he].ptIdx])}})},remove:function(R){var P=this.group,k=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),k&&k.eachItemGraphicEl(function(U,D){U.__temp&&(P.remove(U),k.setItemGraphicEl(D,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._data=null}});ue.exports=L},"8XDt":function(ue,z,d){d("qH13");var O=d("aX58"),_=O.registerPainter,I=d("6fms");_("vml",I)},"8hn6":function(ue,z){var d="#eee",O=function(){return{axisLine:{lineStyle:{color:d}},axisTick:{lineStyle:{color:d}},axisLabel:{textStyle:{color:d}},splitLine:{lineStyle:{type:"dashed",color:"#aaa"}},splitArea:{areaStyle:{color:d}}}},_=["#dd6b66","#759aa0","#e69d87","#8dc1a9","#ea7e53","#eedd78","#73a373","#73b9bc","#7289ab","#91ca8c","#f49f42"],I={color:_,backgroundColor:"#333",tooltip:{axisPointer:{lineStyle:{color:d},crossStyle:{color:d},label:{color:"#000"}}},legend:{textStyle:{color:d}},textStyle:{color:d},title:{textStyle:{color:d}},toolbox:{iconStyle:{normal:{borderColor:d}}},dataZoom:{textStyle:{color:d}},visualMap:{textStyle:{color:d}},timeline:{lineStyle:{color:d},itemStyle:{normal:{color:_[1]}},label:{normal:{textStyle:{color:d}}},controlStyle:{normal:{color:d,borderColor:d}}},timeAxis:O(),logAxis:O(),valueAxis:O(),categoryAxis:O(),line:{symbol:"circle"},graph:{color:_},gauge:{title:{textStyle:{color:d}}},candlestick:{itemStyle:{normal:{color:"#FD1050",color0:"#0CF49B",borderColor:"#FD1050",borderColor0:"#0CF49B"}}}};I.categoryAxis.splitLine.show=!1;var E=I;ue.exports=E},"8nMs":function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("+rIm"),E=d("Znkb"),C=d("AVZG"),t=d("WN+l"),p=t.rectCoordAxisBuildSplitArea,h=t.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine","minorSplitLine"],s=E.extend({type:"cartesianAxis",axisPointerClass:"CartesianAxisPointer",render:function(l,n,c,e){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new _.Group,this.group.add(this._axisGroup),!l.get("show"))return;var i=l.getCoordSysModel(),u=C.layout(i,l),f=new I(l,u);O.each(o,f.add,f),this._axisGroup.add(f.getGroup()),O.each(r,function(m){l.get(m+".show")&&this["_"+m](l,i)},this),_.groupTransition(a,this._axisGroup,l),s.superCall(this,"render",l,n,c,e)},remove:function(){h(this)},_splitLine:function(l,n){var c=l.axis;if(c.scale.isBlank())return;var e=l.getModel("splitLine"),a=e.getModel("lineStyle"),i=a.get("color");i=O.isArray(i)?i:[i];for(var u=n.coordinateSystem.getRect(),f=c.isHorizontal(),m=0,A=c.getTicksCoords({tickModel:e}),g=[],v=[],b=a.getLineStyle(),S=0;S<A.length;S++){var y=c.toGlobalCoord(A[S].coord);f?(g[0]=y,g[1]=u.y,v[0]=y,v[1]=u.y+u.height):(g[0]=u.x,g[1]=y,v[0]=u.x+u.width,v[1]=y);var w=m++%i.length,x=A[S].tickValue;this._axisGroup.add(new _.Line({anid:x!=null?"line_"+A[S].tickValue:null,subPixelOptimize:!0,shape:{x1:g[0],y1:g[1],x2:v[0],y2:v[1]},style:O.defaults({stroke:i[w]},b),silent:!0}))}},_minorSplitLine:function(l,n){var c=l.axis,e=l.getModel("minorSplitLine"),a=e.getModel("lineStyle"),i=n.coordinateSystem.getRect(),u=c.isHorizontal(),f=c.getMinorTicksCoords();if(!f.length)return;for(var m=[],A=[],g=a.getLineStyle(),v=0;v<f.length;v++)for(var b=0;b<f[v].length;b++){var S=c.toGlobalCoord(f[v][b].coord);u?(m[0]=S,m[1]=i.y,A[0]=S,A[1]=i.y+i.height):(m[0]=i.x,m[1]=S,A[0]=i.x+i.width,A[1]=S),this._axisGroup.add(new _.Line({anid:"minor_line_"+f[v][b].tickValue,subPixelOptimize:!0,shape:{x1:m[0],y1:m[1],x2:A[0],y2:A[1]},style:g,silent:!0}))}},_splitArea:function(l,n){p(this,this._axisGroup,l,n)}});s.extend({type:"xAxis"}),s.extend({type:"yAxis"})},"8nly":function(ue,z,d){var O=d("mFDi"),_=d("4mN7"),I=d("QBsz"),E=d("BlVb");function C(p,h,o){if(this.name=p,this.geometries=h,o)o=[o[0],o[1]];else{var r=this.getBoundingRect();o=[r.x+r.width/2,r.y+r.height/2]}this.center=o}C.prototype={constructor:C,properties:null,getBoundingRect:function(){var p=this._rect;if(p)return p;for(var h=Number.MAX_VALUE,o=[h,h],r=[-h,-h],s=[],l=[],n=this.geometries,c=0;c<n.length;c++){if(n[c].type!=="polygon")continue;var e=n[c].exterior;_.fromPoints(e,s,l),I.min(o,o,s),I.max(r,r,l)}return c===0&&(o[0]=o[1]=r[0]=r[1]=0),this._rect=new O(o[0],o[1],r[0]-o[0],r[1]-o[1])},contain:function(p){var h=this.getBoundingRect(),o=this.geometries;if(!h.contain(p[0],p[1]))return!1;e:for(var r=0,s=o.length;r<s;r++){if(o[r].type!=="polygon")continue;var l=o[r].exterior,n=o[r].interiors;if(E.contain(l,p[0],p[1])){for(var c=0;c<(n?n.length:0);c++)if(E.contain(n[c]))continue e;return!0}}return!1},transformTo:function(p,h,o,r){var s=this.getBoundingRect(),l=s.width/s.height;o?r||(r=o/l):o=l*r;for(var n=new O(p,h,o,r),c=s.calculateTransform(n),e=this.geometries,a=0;a<e.length;a++){if(e[a].type!=="polygon")continue;for(var i=e[a].exterior,u=e[a].interiors,f=0;f<i.length;f++)I.applyTransform(i[f],i[f],c);for(var m=0;m<(u?u.length:0);m++)for(var f=0;f<u[m].length;f++)I.applyTransform(u[m][f],u[m][f],c)}s=this._rect,s.copy(n),this.center=[s.x+s.width/2,s.y+s.height/2]},cloneShallow:function(p){p==null&&(p=this.name);var h=new C(p,this.geometries,this.center);return h._rect=this._rect,h.transformTo=null,h}};var t=C;ue.exports=t},"8waO":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("iLNv"),E=d("ZWlE");d("hJvP"),d("IXyC"),d("xRUu");var C=5;O.extendComponentView({type:"parallel",render:function(h,o,r){this._model=h,this._api=r,this._handlers||(this._handlers={},_.each(t,function(s,l){r.getZr().on(l,this._handlers[l]=_.bind(s,this))},this)),I.createOrUpdate(this,"_throttledDispatchExpand",h.get("axisExpandRate"),"fixRate")},dispose:function(h,o){_.each(this._handlers,function(r,s){o.getZr().off(s,r)}),this._handlers=null},_throttledDispatchExpand:function(h){this._dispatchExpand(h)},_dispatchExpand:function(h){h&&this._api.dispatchAction(_.extend({type:"parallelAxisExpand"},h))}});var t={mousedown:function(h){p(this,"click")&&(this._mouseDownPoint=[h.offsetX,h.offsetY])},mouseup:function(h){var o=this._mouseDownPoint;if(p(this,"click")&&o){var r=[h.offsetX,h.offsetY],s=Math.pow(o[0]-r[0],2)+Math.pow(o[1]-r[1],2);if(s>C)return;var l=this._model.coordinateSystem.getSlidedAxisExpandWindow([h.offsetX,h.offsetY]);l.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:l.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(h){if(this._mouseDownPoint||!p(this,"mousemove"))return;var o=this._model,r=o.coordinateSystem.getSlidedAxisExpandWindow([h.offsetX,h.offsetY]),s=r.behavior;s==="jump"&&this._throttledDispatchExpand.debounceNextCall(o.get("axisExpandDebounce")),this._throttledDispatchExpand(s==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:s==="jump"?null:!1})}};function p(h,o){var r=h._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===o}O.registerPreprocessor(E)},"8x+h":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("K4ya"),t=d("Qxkt"),p=["#ddd"],h=I.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(s,l){var n=this.option;!l&&C.replaceVisualOption(n,s,["inBrush","outOfBrush"]);var c=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:p},c.hasOwnProperty("liftZ")||(c.liftZ=5)},setAreas:function(s){if(!s)return;this.areas=E.map(s,function(l){return o(this.option,l)},this)},setBrushOption:function(s){this.brushOption=o(this.option,s),this.brushType=this.brushOption.brushType}});function o(s,l){return E.merge({brushType:s.brushType,brushMode:s.brushMode,transformable:s.transformable,brushStyle:new t(s.brushStyle).getItemStyle(),removeOnClick:s.removeOnClick,z:s.z},l,!0)}var r=h;ue.exports=r},"8z0m":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("RIqP"),E=d.n(I),C=d("pVnL"),t=d.n(C),p=d("J4zp"),h=d.n(p),o=d("q1tI"),r=d.n(o),s=d("TSYQ"),l=d.n(s);function n(rr,nr){var Nt="cannot "+rr.method+" "+rr.action+" "+nr.status+"'",ot=new Error(Nt);return ot.status=nr.status,ot.method=rr.method,ot.url=rr.action,ot}function c(rr){var nr=rr.responseText||rr.response;if(!nr)return nr;try{return JSON.parse(nr)}catch(Nt){return nr}}function e(rr){var nr=new XMLHttpRequest;rr.onProgress&&nr.upload&&(nr.upload.onprogress=function(qt){qt.total>0&&(qt.percent=qt.loaded/qt.total*100),rr.onProgress(qt)});var Nt=new FormData;rr.data&&Object.keys(rr.data).forEach(function(Qe){var qt=rr.data[Qe];if(Array.isArray(qt)){qt.forEach(function(xr){Nt.append(Qe+"[]",xr)});return}Nt.append(Qe,rr.data[Qe])}),rr.file instanceof Blob?Nt.append(rr.filename,rr.file,rr.file.name):Nt.append(rr.filename,rr.file),nr.onerror=function(qt){rr.onError(qt)},nr.onload=function(){return nr.status<200||nr.status>=300?rr.onError(n(rr,nr),c(nr)):rr.onSuccess(c(nr),nr)},nr.open(rr.method,rr.action,!0),rr.withCredentials&&"withCredentials"in nr&&(nr.withCredentials=!0);var ot=rr.headers||{};return ot["X-Requested-With"]!==null&&nr.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(ot).forEach(function(Qe){ot[Qe]!==null&&nr.setRequestHeader(Qe,ot[Qe])}),nr.send(Nt),{abort:function(){nr.abort()}}}var a=+new Date,i=0;function u(){return"rc-upload-"+a+"-"+ ++i}function f(rr,nr){return rr.indexOf(nr,rr.length-nr.length)!==-1}var m=function(rr,nr){if(rr&&nr){var Nt=Array.isArray(nr)?nr:nr.split(","),ot=rr.name||"",Qe=rr.type||"",qt=Qe.replace(/\/.*$/,"");return Nt.some(function(xr){var vr=xr.trim();return vr.charAt(0)==="."?f(ot.toLowerCase(),vr.toLowerCase()):/\/\*$/.test(vr)?qt===vr.replace(/\/.*$/,""):Qe===vr})}return!0};function A(rr,nr){var Nt=rr.createReader(),ot=[];function Qe(){Nt.readEntries(function(qt){var xr=Array.prototype.slice.apply(qt);ot=ot.concat(xr);var vr=!xr.length;vr?nr(ot):Qe()})}Qe()}var g=function(nr,Nt,ot){var Qe=function qt(xr,vr){vr=vr||"",xr.isFile?xr.file(function(fr){ot(fr)&&(xr.fullPath&&!fr.webkitRelativePath&&(Object.defineProperties(fr,{webkitRelativePath:{writable:!0}}),fr.webkitRelativePath=xr.fullPath.replace(/^\//,""),Object.defineProperties(fr,{webkitRelativePath:{writable:!1}})),Nt([fr]))}):xr.isDirectory&&A(xr,function(fr){fr.forEach(function(An){qt(An,""+vr+xr.name+"/")})})};nr.forEach(function(qt){Qe(qt.webkitGetAsEntry())})},v=g,b=Object.assign||function(rr){for(var nr=1;nr<arguments.length;nr++){var Nt=arguments[nr];for(var ot in Nt)Object.prototype.hasOwnProperty.call(Nt,ot)&&(rr[ot]=Nt[ot])}return rr},S=function(){function rr(nr,Nt){var ot=[],Qe=!0,qt=!1,xr=void 0;try{for(var vr=nr[Symbol.iterator](),fr;!(Qe=(fr=vr.next()).done)&&!(ot.push(fr.value),Nt&&ot.length===Nt);Qe=!0);}catch(An){qt=!0,xr=An}finally{try{!Qe&&vr.return&&vr.return()}finally{if(qt)throw xr}}return ot}return function(nr,Nt){if(Array.isArray(nr))return nr;if(Symbol.iterator in Object(nr))return rr(nr,Nt);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),y=function(){function rr(nr,Nt){for(var ot=0;ot<Nt.length;ot++){var Qe=Nt[ot];Qe.enumerable=Qe.enumerable||!1,Qe.configurable=!0,"value"in Qe&&(Qe.writable=!0),Object.defineProperty(nr,Qe.key,Qe)}}return function(nr,Nt,ot){return Nt&&rr(nr.prototype,Nt),ot&&rr(nr,ot),nr}}();function w(rr,nr,Nt){return nr in rr?Object.defineProperty(rr,nr,{value:Nt,enumerable:!0,configurable:!0,writable:!0}):rr[nr]=Nt,rr}function x(rr,nr){var Nt={};for(var ot in rr){if(nr.indexOf(ot)>=0)continue;if(!Object.prototype.hasOwnProperty.call(rr,ot))continue;Nt[ot]=rr[ot]}return Nt}function T(rr,nr){if(!(rr instanceof nr))throw new TypeError("Cannot call a class as a function")}function L(rr,nr){if(!rr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nr&&(typeof nr=="object"||typeof nr=="function")?nr:rr}function R(rr,nr){if(typeof nr!="function"&&nr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof nr);rr.prototype=Object.create(nr&&nr.prototype,{constructor:{value:rr,enumerable:!1,writable:!0,configurable:!0}}),nr&&(Object.setPrototypeOf?Object.setPrototypeOf(rr,nr):rr.__proto__=nr)}var P=function(nr){return Object.keys(nr).reduce(function(Nt,ot){return(ot.substr(0,5)==="data-"||ot.substr(0,5)==="aria-"||ot==="role")&&(Nt[ot]=nr[ot]),Nt},{})},k=function(rr){R(nr,rr);function nr(){var Nt,ot,Qe,qt;T(this,nr);for(var xr=arguments.length,vr=Array(xr),fr=0;fr<xr;fr++)vr[fr]=arguments[fr];return qt=(ot=(Qe=L(this,(Nt=nr.__proto__||Object.getPrototypeOf(nr)).call.apply(Nt,[this].concat(vr))),Qe),Qe.state={uid:u()},Qe.reqs={},Qe.onChange=function(An){var $r=An.target.files;Qe.uploadFiles($r),Qe.reset()},Qe.onClick=function(An){var $r=Qe.fileInput;if(!$r)return;var Ln=Qe.props,$e=Ln.children,tt=Ln.onClick;$e&&$e.type==="button"&&($r.parentNode.focus(),$r.parentNode.querySelector("button").blur()),$r.click(),tt&&tt(An)},Qe.onKeyDown=function(An){An.key==="Enter"&&Qe.onClick()},Qe.onFileDrop=function(An){var $r=Qe.props.multiple;if(An.preventDefault(),An.type==="dragover")return;if(Qe.props.directory)v(Array.prototype.slice.call(An.dataTransfer.items),Qe.uploadFiles,function($e){return m($e,Qe.props.accept)});else{var Ln=Array.prototype.slice.call(An.dataTransfer.files).filter(function($e){return m($e,Qe.props.accept)});$r===!1&&(Ln=Ln.slice(0,1)),Qe.uploadFiles(Ln)}},Qe.uploadFiles=function(An){var $r=Array.prototype.slice.call(An);$r.map(function(Ln){return Ln.uid=u(),Ln}).forEach(function(Ln){Qe.upload(Ln,$r)})},Qe.saveFileInput=function(An){Qe.fileInput=An},ot),L(Qe,qt)}return y(nr,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(ot,Qe){var qt=this,xr=this.props;if(!xr.beforeUpload)return setTimeout(function(){return qt.post(ot)},0);var vr=xr.beforeUpload(ot,Qe);vr&&vr.then?vr.then(function(fr){var An=Object.prototype.toString.call(fr);return An==="[object File]"||An==="[object Blob]"?qt.post(fr):qt.post(ot)}).catch(function(fr){console.log(fr)}):vr!==!1&&setTimeout(function(){return qt.post(ot)},0);return}},{key:"post",value:function(ot){var Qe=this;if(!this._isMounted)return;var qt=this.props,xr=qt.onStart,vr=qt.onProgress,fr=qt.transformFile,An=fr===void 0?function($r){return $r}:fr;new Promise(function($r){var Ln=qt.action;return typeof Ln=="function"&&(Ln=Ln(ot)),$r(Ln)}).then(function($r){var Ln=ot.uid,$e=qt.customRequest||e,tt=Promise.resolve(An(ot)).then(function(ve){var _e=qt.data;return typeof _e=="function"&&(_e=_e(ve)),Promise.all([ve,_e])}).catch(function(ve){console.error(ve)});tt.then(function(ve){var _e=S(ve,2),ke=_e[0],rt=_e[1],Wt={action:$r,filename:qt.name,data:rt,file:ke,headers:qt.headers,withCredentials:qt.withCredentials,method:qt.method||"post",onProgress:vr?function(Bt){vr(Bt,ot)}:null,onSuccess:function(Gt,Rr){delete Qe.reqs[Ln],qt.onSuccess(Gt,ot,Rr)},onError:function(Gt,Rr){delete Qe.reqs[Ln],qt.onError(Gt,Rr,ot)}};xr(ot),Qe.reqs[Ln]=$e(Wt)})})}},{key:"reset",value:function(){this.setState({uid:u()})}},{key:"abort",value:function(ot){var Qe=this.reqs;if(ot){var qt=ot;ot&&ot.uid&&(qt=ot.uid),Qe[qt]&&Qe[qt].abort&&Qe[qt].abort(),delete Qe[qt]}else Object.keys(Qe).forEach(function(xr){Qe[xr]&&Qe[xr].abort&&Qe[xr].abort(),delete Qe[xr]})}},{key:"render",value:function(){var ot,Qe=this.props,qt=Qe.component,xr=Qe.prefixCls,vr=Qe.className,fr=Qe.disabled,An=Qe.id,$r=Qe.style,Ln=Qe.multiple,$e=Qe.accept,tt=Qe.children,ve=Qe.directory,_e=Qe.openFileDialogOnClick,ke=Qe.onMouseEnter,rt=Qe.onMouseLeave,Wt=x(Qe,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),Bt=l()((ot={},w(ot,xr,!0),w(ot,xr+"-disabled",fr),w(ot,vr,vr),ot)),Gt=fr?{}:{onClick:_e?this.onClick:function(){},onKeyDown:_e?this.onKeyDown:function(){},onMouseEnter:ke,onMouseLeave:rt,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return r.a.createElement(qt,b({},Gt,{className:Bt,role:"button",style:$r}),r.a.createElement("input",b({},P(Wt),{id:An,type:"file",ref:this.saveFileInput,onClick:function(Pr){return Pr.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:$e,directory:ve?"directory":null,webkitdirectory:ve?"webkitdirectory":null,multiple:Ln,onChange:this.onChange})),tt)}}]),nr}(o.Component),U=k,D=Object.assign||function(rr){for(var nr=1;nr<arguments.length;nr++){var Nt=arguments[nr];for(var ot in Nt)Object.prototype.hasOwnProperty.call(Nt,ot)&&(rr[ot]=Nt[ot])}return rr},M=function(){function rr(nr,Nt){for(var ot=0;ot<Nt.length;ot++){var Qe=Nt[ot];Qe.enumerable=Qe.enumerable||!1,Qe.configurable=!0,"value"in Qe&&(Qe.writable=!0),Object.defineProperty(nr,Qe.key,Qe)}}return function(nr,Nt,ot){return Nt&&rr(nr.prototype,Nt),ot&&rr(nr,ot),nr}}();function B(rr,nr){if(!(rr instanceof nr))throw new TypeError("Cannot call a class as a function")}function j(rr,nr){if(!rr)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nr&&(typeof nr=="object"||typeof nr=="function")?nr:rr}function H(rr,nr){if(typeof nr!="function"&&nr!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof nr);rr.prototype=Object.create(nr&&nr.prototype,{constructor:{value:rr,enumerable:!1,writable:!0,configurable:!0}}),nr&&(Object.setPrototypeOf?Object.setPrototypeOf(rr,nr):rr.__proto__=nr)}function K(){}var W=function(rr){H(nr,rr);function nr(){var Nt,ot,Qe,qt;B(this,nr);for(var xr=arguments.length,vr=Array(xr),fr=0;fr<xr;fr++)vr[fr]=arguments[fr];return qt=(ot=(Qe=j(this,(Nt=nr.__proto__||Object.getPrototypeOf(nr)).call.apply(Nt,[this].concat(vr))),Qe),Qe.saveUploader=function(An){Qe.uploader=An},ot),j(Qe,qt)}return M(nr,[{key:"abort",value:function(ot){this.uploader.abort(ot)}},{key:"render",value:function(){return r.a.createElement(U,D({},this.props,{ref:this.saveUploader}))}}]),nr}(o.Component);W.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:K,onError:K,onSuccess:K,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var X=W,V=X,Z=function(rr,nr){var Nt={};for(var ot in rr)Object.prototype.hasOwnProperty.call(rr,ot)&&nr.indexOf(ot)<0&&(Nt[ot]=rr[ot]);if(rr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,ot=Object.getOwnPropertySymbols(rr);Qe<ot.length;Qe++)nr.indexOf(ot[Qe])<0&&Object.prototype.propertyIsEnumerable.call(rr,ot[Qe])&&(Nt[ot[Qe]]=rr[ot[Qe]]);return Nt},G=function(nr,Nt){var ot=nr.style,Qe=nr.height,qt=Z(nr,["style","height"]);return o.createElement(sr,t()({ref:Nt},qt,{type:"drag",style:t()(t()({},ot),{height:Qe})}))},Y=o.forwardRef(G);Y.displayName="Dragger";var te=Y,se=d("UmKh"),Ce=d("gZBC"),he=d.n(Ce),xe=d("+d4F"),ie=d.n(xe),ee=d("XAae"),Ze=d.n(ee),Se=d("6xvX"),Ne=d.n(Se),it=d("qPY4"),Ye=d.n(it),nt=d("QB+1"),je=d.n(nt),et=d("Qs3X"),He=d.n(et),pe=d("0n0R");function ae(){return!0}function re(rr){return t()(t()({},rr),{lastModified:rr.lastModified,lastModifiedDate:rr.lastModifiedDate,name:rr.name,size:rr.size,type:rr.type,uid:rr.uid,percent:0,originFileObj:rr})}function be(rr,nr){var Nt=rr.uid!==void 0?"uid":"name";return nr.filter(function(ot){return ot[Nt]===rr[Nt]})[0]}function ze(rr,nr){var Nt=rr.uid!==void 0?"uid":"name",ot=nr.filter(function(Qe){return Qe[Nt]!==rr[Nt]});return ot.length===nr.length?null:ot}var Ke=function(){var nr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",Nt=nr.split("/"),ot=Nt[Nt.length-1],Qe=ot.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Qe)||[""])[0]},Te=function(nr){return nr.indexOf("image/")===0},gt=function(nr){if(nr.type&&!nr.thumbUrl)return Te(nr.type);var Nt=nr.thumbUrl||nr.url,ot=Ke(Nt);return/^data:image\//.test(Nt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(ot)?!0:/^data:/.test(Nt)?!1:!ot},Ue=200;function bt(rr){return new Promise(function(nr){if(!rr.type||!Te(rr.type)){nr("");return}var Nt=document.createElement("canvas");Nt.width=Ue,Nt.height=Ue,Nt.style.cssText="position: fixed; left: 0; top: 0; width: ".concat(Ue,"px; height: ").concat(Ue,"px; z-index: 9999; display: none;"),document.body.appendChild(Nt);var ot=Nt.getContext("2d"),Qe=new Image;Qe.onload=function(){var qt=Qe.width,xr=Qe.height,vr=Ue,fr=Ue,An=0,$r=0;qt<xr?(fr=xr*(Ue/qt),$r=-(fr-vr)/2):(vr=qt*(Ue/xr),An=-(vr-fr)/2),ot.drawImage(Qe,An,$r,vr,fr);var Ln=Nt.toDataURL();document.body.removeChild(Nt),nr(Ln)},Qe.src=window.URL.createObjectURL(rr)})}var wt=d("3S7+"),Et=d("CFYs"),xt=d("H84U"),Tt=d("2/Rp"),Be=d("hkKa"),ce=function(nr,Nt){var ot,Qe=nr.listType,qt=nr.previewFile,xr=nr.onPreview,vr=nr.onDownload,fr=nr.onRemove,An=nr.locale,$r=nr.iconRender,Ln=nr.isImageUrl,$e=nr.prefixCls,tt=nr.items,ve=tt===void 0?[]:tt,_e=nr.showPreviewIcon,ke=nr.showRemoveIcon,rt=nr.showDownloadIcon,Wt=nr.removeIcon,Bt=nr.downloadIcon,Gt=nr.progress,Rr=Object(Be.a)();o.useEffect(function(){if(Qe!=="picture"&&Qe!=="picture-card")return;(ve||[]).forEach(function(or){if(typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(or.originFileObj instanceof File||or.originFileObj instanceof Blob)||or.thumbUrl!==void 0)return;or.thumbUrl="",qt&&qt(or.originFileObj).then(function(ir){or.thumbUrl=ir||"",Rr()})})},[Qe,ve,qt]);var Pr=function(ir,Yr){return xr?(Yr.preventDefault(),xr(ir)):void 0},cn=function(ir){typeof vr=="function"?vr(ir):ir.url&&window.open(ir.url)},Ut=function(ir){fr&&fr(ir)},pt=function(ir){if($r)return $r(ir,Qe);var Yr=ir.status==="uploading",Jr=Ln&&Ln(ir)?o.createElement(Ze.a,null):o.createElement(Ne.a,null),_n=Yr?o.createElement(he.a,null):o.createElement(ie.a,null);return Qe==="picture"?_n=Yr?o.createElement(he.a,null):Jr:Qe==="picture-card"&&(_n=Yr?An.uploading:Jr),_n},ct=function(ir,Yr,Jr,_n){var Nn={type:"text",size:"small",title:_n,onClick:function(vi){Yr(),Object(pe.b)(ir)&&ir.props.onClick&&ir.props.onClick(vi)},className:"".concat(Jr,"-list-item-card-actions-btn")};if(Object(pe.b)(ir)){var zn=Object(pe.a)(ir,t()(t()({},ir.props),{onClick:function(){}}));return o.createElement(Tt.a,t()({},Nn,{icon:zn}))}return o.createElement(Tt.a,Nn,o.createElement("span",null,ir))};o.useImperativeHandle(Nt,function(){return{handlePreview:Pr,handleDownload:cn}});var Qt=o.useContext(xt.b),Jt=Qt.getPrefixCls,yt=Qt.direction,Pt=Jt("upload",$e),At=ve.map(function(or){var ir,Yr,Jr,_n=pt(or),Nn=o.createElement("div",{className:"".concat(Pt,"-text-icon")},_n);if(Qe==="picture"||Qe==="picture-card")if(or.status==="uploading"||!or.thumbUrl&&!or.url){var zn,ei=l()((zn={},_()(zn,"".concat(Pt,"-list-item-thumbnail"),!0),_()(zn,"".concat(Pt,"-list-item-file"),or.status!=="uploading"),zn));Nn=o.createElement("div",{className:ei},_n)}else{var vi,Pi=Ln&&Ln(or)?o.createElement("img",{src:or.thumbUrl||or.url,alt:or.name,className:"".concat(Pt,"-list-item-image")}):_n,Ge=l()((vi={},_()(vi,"".concat(Pt,"-list-item-thumbnail"),!0),_()(vi,"".concat(Pt,"-list-item-file"),Ln&&!Ln(or)),vi));Nn=o.createElement("a",{className:Ge,onClick:function(kr){return Pr(or,kr)},href:or.url||or.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pi)}if(or.status==="uploading"){var we="percent"in or?o.createElement(Et.a,t()({},Gt,{type:"line",percent:or.percent})):null;Jr=o.createElement("div",{className:"".concat(Pt,"-list-item-progress"),key:"progress"},we)}var Le=l()((ir={},_()(ir,"".concat(Pt,"-list-item"),!0),_()(ir,"".concat(Pt,"-list-item-").concat(or.status),!0),_()(ir,"".concat(Pt,"-list-item-list-type-").concat(Qe),!0),ir)),De=typeof or.linkProps=="string"?JSON.parse(or.linkProps):or.linkProps,We=ke?ct(Wt||o.createElement(je.a,null),function(){return Ut(or)},Pt,An.removeFile):null,Fe=rt&&or.status==="done"?ct(Bt||o.createElement(He.a,null),function(){return cn(or)},Pt,An.downloadFile):null,Je=Qe!=="picture-card"&&o.createElement("span",{key:"download-delete",className:"".concat(Pt,"-list-item-card-actions ").concat(Qe==="picture"?"picture":"")},Fe,We),vt=l()((Yr={},_()(Yr,"".concat(Pt,"-list-item-name"),!0),_()(Yr,"".concat(Pt,"-list-item-name-icon-count-").concat([Fe,We].filter(function(Xr){return Xr}).length),!0),Yr)),st=or.url?[o.createElement("a",t()({key:"view",target:"_blank",rel:"noopener noreferrer",className:vt,title:or.name},De,{href:or.url,onClick:function(kr){return Pr(or,kr)}}),or.name),Je]:[o.createElement("span",{key:"view",className:vt,onClick:function(kr){return Pr(or,kr)},title:or.name},or.name),Je],kt={pointerEvents:"none",opacity:.5},wr=_e?o.createElement("a",{href:or.url||or.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:or.url||or.thumbUrl?void 0:kt,onClick:function(kr){return Pr(or,kr)},title:An.previewFile},o.createElement(Ye.a,null)):null,hr=Qe==="picture-card"&&or.status!=="uploading"&&o.createElement("span",{className:"".concat(Pt,"-list-item-actions")},wr,or.status==="done"&&Fe,We),Nr;or.response&&typeof or.response=="string"?Nr=or.response:Nr=or.error&&or.error.statusText||An.uploadError;var Kt=o.createElement("span",null,Nn,st),un=o.createElement("div",{className:Le},o.createElement("div",{className:"".concat(Pt,"-list-item-info")},Kt),hr,o.createElement(se.a,{transitionName:"fade",component:""},Jr)),ar=l()(_()({},"".concat(Pt,"-list-picture-card-container"),Qe==="picture-card"));return o.createElement("div",{key:or.uid,className:ar},or.status==="error"?o.createElement(wt.a,{title:Nr,getPopupContainer:function(kr){return kr.parentNode}},un):o.createElement("span",null,un))}),Ft=l()((ot={},_()(ot,"".concat(Pt,"-list"),!0),_()(ot,"".concat(Pt,"-list-").concat(Qe),!0),_()(ot,"".concat(Pt,"-list-rtl"),yt==="rtl"),ot)),pr=Qe==="picture-card"?"animate-inline":"animate";return o.createElement(se.a,{transitionName:"".concat(Pt,"-").concat(pr),component:"div",className:Ft},At)},q=o.forwardRef(ce);q.displayName="UploadList",q.defaultProps={listType:"text",progress:{strokeWidth:2,showInfo:!1},showRemoveIcon:!0,showDownloadIcon:!1,showPreviewIcon:!0,previewFile:bt,isImageUrl:gt};var dt=q,Ve=d("YMnH"),de=d("ZvpZ"),Ht=d("uaoM"),tr=d("sPtV"),lt=function(nr,Nt){var ot,Qe=nr.fileList,qt=nr.defaultFileList,xr=nr.onRemove,vr=nr.showUploadList,fr=nr.listType,An=nr.onPreview,$r=nr.onDownload,Ln=nr.previewFile,$e=nr.disabled,tt=nr.locale,ve=nr.iconRender,_e=nr.isImageUrl,ke=nr.progress,rt=nr.prefixCls,Wt=nr.className,Bt=nr.type,Gt=nr.children,Rr=nr.style,Pr=Object(tr.a)(Qe||qt||[]),cn=h()(Pr,2),Ut=cn[0],pt=cn[1],ct=o.useState("drop"),Qt=h()(ct,2),Jt=Qt[0],yt=Qt[1],Pt=o.useRef();o.useEffect(function(){pt(Qe||qt||[]),Object(Ht.a)("fileList"in nr||!("value"in nr),"Upload","`value` is not a valid prop, do you mean `fileList`?")},[]),o.useEffect(function(){"fileList"in nr&&pt(Qe||[])},[Qe]);var At=function(st){"fileList"in nr||pt(st.fileList);var kt=nr.onChange;kt&&kt(t()(t()({},st),{fileList:E()(st.fileList)}))},Ft=function(st){var kt=re(st);kt.status="uploading";var wr=Ut().concat(),hr=wr.findIndex(function(Nr){var Kt=Nr.uid;return Kt===kt.uid});hr===-1?wr.push(kt):wr[hr]=kt,At({file:kt,fileList:wr})},pr=function(st,kt,wr){try{typeof st=="string"&&(st=JSON.parse(st))}catch(Nr){}var hr=be(kt,Ut());if(!hr)return;hr.status="done",hr.response=st,hr.xhr=wr,At({file:t()({},hr),fileList:Ut().concat()})},or=function(st,kt){var wr=be(kt,Ut());if(!wr)return;wr.percent=st.percent,At({event:st,file:t()({},wr),fileList:Ut().concat()})},ir=function(st,kt,wr){var hr=be(wr,Ut());if(!hr)return;hr.error=st,hr.response=kt,hr.status="error",At({file:t()({},hr),fileList:Ut().concat()})},Yr=function(st){Promise.resolve(typeof xr=="function"?xr(st):xr).then(function(kt){if(kt===!1)return;var wr=ze(st,Ut());wr&&(st.status="removed",Pt.current&&Pt.current.abort(st),At({file:st,fileList:wr}))})},Jr=function(st){yt(st.type)},_n=function(st,kt){var wr=nr.beforeUpload;if(!wr)return!0;var hr=wr(st,kt);if(hr===!1){var Nr=[];return Ut().concat(kt.map(re)).forEach(function(Kt){Nr.every(function(un){return un.uid!==Kt.uid})&&Nr.push(Kt)}),At({file:st,fileList:Nr}),!1}return hr&&hr.then?hr:!0},Nn=Object(Be.a)();o.useImperativeHandle(Nt,function(){return{onStart:Ft,onSuccess:pr,onProgress:or,onError:ir,fileList:Ut(),upload:Pt.current,forceUpdate:Nn}});var zn=function(st){var kt=vr.showRemoveIcon,wr=vr.showPreviewIcon,hr=vr.showDownloadIcon,Nr=vr.removeIcon,Kt=vr.downloadIcon;return o.createElement(dt,{listType:fr,items:Ut(),previewFile:Ln,onPreview:An,onDownload:$r,onRemove:Yr,showRemoveIcon:!$e&&kt,showPreviewIcon:wr,showDownloadIcon:hr,removeIcon:Nr,downloadIcon:Kt,iconRender:ve,locale:t()(t()({},st),tt),isImageUrl:_e,progress:ke})},ei=o.useContext(xt.b),vi=ei.getPrefixCls,Pi=ei.direction,Ge=vi("upload",rt),we=t()(t()({onStart:Ft,onError:ir,onProgress:or,onSuccess:pr},nr),{prefixCls:Ge,beforeUpload:_n});delete we.className,delete we.style,(!Gt||$e)&&delete we.id;var Le=vr?o.createElement(Ve.a,{componentName:"Upload",defaultLocale:de.a.Upload},zn):null;if(Bt==="drag"){var De,We=l()(Ge,(De={},_()(De,"".concat(Ge,"-drag"),!0),_()(De,"".concat(Ge,"-drag-uploading"),Ut().some(function(vt){return vt.status==="uploading"})),_()(De,"".concat(Ge,"-drag-hover"),Jt==="dragover"),_()(De,"".concat(Ge,"-disabled"),$e),_()(De,"".concat(Ge,"-rtl"),Pi==="rtl"),De),Wt);return o.createElement("span",null,o.createElement("div",{className:We,onDrop:Jr,onDragOver:Jr,onDragLeave:Jr,style:Rr},o.createElement(V,t()({},we,{ref:Pt,className:"".concat(Ge,"-btn")}),o.createElement("div",{className:"".concat(Ge,"-drag-container")},Gt))),Le)}var Fe=l()(Ge,(ot={},_()(ot,"".concat(Ge,"-select"),!0),_()(ot,"".concat(Ge,"-select-").concat(fr),!0),_()(ot,"".concat(Ge,"-disabled"),$e),_()(ot,"".concat(Ge,"-rtl"),Pi==="rtl"),ot)),Je=o.createElement("div",{className:Fe,style:Gt?void 0:{display:"none"}},o.createElement(V,t()({},we,{ref:Pt})));return fr==="picture-card"?o.createElement("span",{className:l()(Wt,"".concat(Ge,"-picture-card-wrapper"))},Le,Je):o.createElement("span",{className:Wt},Je,Le)},Xt=o.forwardRef(lt);Xt.Dragger=te,Xt.displayName="Upload",Xt.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:ae,showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var sr=Xt;sr.Dragger=te;var Kr=z.a=sr},"98bh":function(ue,z,d){var O=d("ProS"),_=d("5GtS"),I=d("bYtY"),E=d("4NO4"),C=d("OELB"),t=C.getPercentWithPrecision,p=d("cCMj"),h=d("KxfA"),o=h.retrieveRawAttr,r=d("D5nY"),s=r.makeSeriesEncodeForNameBased,l=d("xKMd"),n=O.extendSeriesModel({type:"series.pie",init:function(e){n.superApply(this,"init",arguments),this.legendVisualProvider=new l(I.bind(this.getData,this),I.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(e)},mergeOption:function(e){n.superCall(this,"mergeOption",e),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(e,a){return _(this,{coordDimensions:["value"],encodeDefaulter:I.curry(s,this)})},_createSelectableList:function(){for(var e=this.getRawData(),a=e.mapDimension("value"),i=[],u=0,f=e.count();u<f;u++)i.push({name:e.getName(u),value:e.get(a,u),selected:o(e,u,"selected")});return i},getDataParams:function(e){var a=this.getData(),i=n.superCall(this,"getDataParams",e),u=[];return a.each(a.mapDimension("value"),function(f){u.push(f)}),i.percent=t(u,e,a.hostModel.get("percentPrecision")),i.$vars.push("percent"),i},_defaultLabelLine:function(e){E.defaultEmphasis(e,"labelLine",["show"]);var a=e.labelLine,i=e.emphasis.labelLine;a.show=a.show&&e.label.show,i.show=i.show&&e.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"}});I.mixin(n,p);var c=n;ue.exports=c},"9H2F":function(ue,z,d){var O=d("bYtY"),_=O.assert,I=O.isArray,E=d("Tghj"),C=E.__DEV__;function t(l){return new p(l)}function p(l){l=l||{},this._reset=l.reset,this._plan=l.plan,this._count=l.count,this._onDirty=l.onDirty,this._dirty=!0,this.context}var h=p.prototype;h.perform=function(l){var n=this._upstream,c=l&&l.skip;if(this._dirty&&n){var e=this.context;e.data=e.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!c&&(a=this._plan(this.context));var i=A(this._modBy),u=this._modDataCount||0,f=A(l&&l.modBy),m=l&&l.modDataCount||0;(i!==f||u!==m)&&(a="reset");function A(T){return!(T>=1)&&(T=1),T}var g;(this._dirty||a==="reset")&&(this._dirty=!1,g=s(this,c)),this._modBy=f,this._modDataCount=m;var v=l&&l.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):Infinity,this._progress){var b=this._dueIndex,S=Math.min(v!=null?this._dueIndex+v:Infinity,this._dueEnd);if(!c&&(g||b<S)){var y=this._progress;if(I(y))for(var w=0;w<y.length;w++)r(this,y[w],b,S,f,m);else r(this,y,b,S,f,m)}this._dueIndex=S;var x=this._settedOutputEnd!=null?this._settedOutputEnd:S;this._outputDueEnd=x}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()};var o=function(){var l,n,c,e,a,i={reset:function(m,A,g,v){n=m,l=A,c=g,e=v,a=Math.ceil(e/c),i.next=c>1&&e>0?f:u}};return i;function u(){return n<l?n++:null}function f(){var m=n%a*c+Math.ceil(n/a),A=n>=l?null:m<e?m:n;return n++,A}}();h.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)};function r(l,n,c,e,a,i){o.reset(c,e,a,i),l._callingProgress=n,l._callingProgress({start:c,end:e,count:e-c,next:o.next},l.context)}function s(l,n){l._dueIndex=l._outputDueEnd=l._dueEnd=0,l._settedOutputEnd=null;var c,e;!n&&l._reset&&(c=l._reset(l.context),c&&c.progress&&(e=c.forceFirstProgress,c=c.progress),I(c)&&!c.length&&(c=null)),l._progress=c,l._modBy=l._modDataCount=null;var a=l._downstream;return a&&a.dirty(),e}h.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},h.pipe=function(l){(this._downstream!==l||this._dirty)&&(this._downstream=l,l._upstream=this,l.dirty())},h.dispose=function(){if(this._disposed)return;this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0},h.getUpstream=function(){return this._upstream},h.getDownstream=function(){return this._downstream},h.setOutputEnd=function(l){this._outputDueEnd=this._settedOutputEnd=l},z.createTask=t},"9KIM":function(ue,z,d){var O=d("mFDi"),_=d("xSat"),I=_.onIrrelevantElement,E=d("IwbS");function C(o){return o=h(o),function(r,s){return E.clipPointsByRect(r,o)}}function t(o,r){return o=h(o),function(s){var l=r!=null?r:s,n=l?o.width:o.height,c=l?o.x:o.y;return[c,c+(n||0)]}}function p(o,r,s){return o=h(o),function(l,n,c){return o.contain(n[0],n[1])&&!I(l,r,s)}}function h(o){return O.create(o)}z.makeRectPanelClipPath=C,z.makeLinearBrushOtherExtent=t,z.makeRectIsTargetByCursor=p},"9ama":function(ue,z,d){},"9eas":function(ue,z,d){d("HM/N"),d("tBnm")},"9hCq":function(ue,z,d){var O=d("IwbS"),_=d("+TT/"),I=d("bYtY"),E=d("VaxA"),C=E.wrapTreePathInfo,t=8,p=8,h=5;function o(n){this.group=new O.Group,n.add(this.group)}o.prototype={constructor:o,render:function(n,c,e,a){var i=n.getModel("breadcrumb"),u=this.group;if(u.removeAll(),!i.get("show")||!e)return;var f=i.getModel("itemStyle"),m=f.getModel("textStyle"),A={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:c.getWidth(),height:c.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(e,A,m),this._renderContent(n,A,f,m,a),_.positionElement(u,A.pos,A.box)},_prepare:function(n,c,e){for(var a=n;a;a=a.parentNode){var i=a.getModel().get("name"),u=e.getTextRect(i),f=Math.max(u.width+t*2,c.emptyItemWidth);c.totalWidth+=f+p,c.renderList.push({node:a,text:i,width:f})}},_renderContent:function(n,c,e,a,i){for(var u=0,f=c.emptyItemWidth,m=n.get("breadcrumb.height"),A=_.getAvailableSize(c.pos,c.box),g=c.totalWidth,v=c.renderList,b=v.length-1;b>=0;b--){var S=v[b],y=S.node,w=S.width,x=S.text;g>A.width&&(g-=w-f,w=f,x=null);var T=new O.Polygon({shape:{points:r(u,0,w,m,b===v.length-1,b===0)},style:I.defaults(e.getItemStyle(),{lineJoin:"bevel",text:x,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:I.curry(i,y)});this.group.add(T),s(T,n,y),u+=w+p}},remove:function(){this.group.removeAll()}};function r(n,c,e,a,i,u){var f=[[i?n:n-h,c],[n+e,c],[n+e,c+a],[i?n:n-h,c+a]];return!u&&f.splice(2,0,[n+e+h,c+a/2]),!i&&f.push([n,c+a/2]),f}function s(n,c,e){n.eventData={componentType:"series",componentSubType:"treemap",componentIndex:c.componentIndex,seriesIndex:c.componentIndex,seriesName:c.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&C(e,c)}}var l=o;ue.exports=l},"9u0u":function(ue,z,d){var O=d("bYtY");function _(E,C){var t={};return O.each(E,function(p){p.each(p.mapDimension("value"),function(h,o){var r="ec-"+p.getName(o);t[r]=t[r]||[],isNaN(h)||t[r].push(h)})}),E[0].map(E[0].mapDimension("value"),function(p,h){for(var o="ec-"+E[0].getName(h),r=0,s=Infinity,l=-Infinity,n=t[o].length,c=0;c<n;c++)s=Math.min(s,t[o][c]),l=Math.max(l,t[o][c]),r+=t[o][c];var e;return C==="min"?e=s:C==="max"?e=l:C==="average"?e=r/n:e=r,n===0?NaN:e})}function I(E){var C={};E.eachSeriesByType("map",function(t){var p=t.getHostGeoModel(),h=p?"o"+p.id:"i"+t.getMapType();(C[h]=C[h]||[]).push(t)}),O.each(C,function(t,p){for(var h=_(O.map(t,function(r){return r.getData()}),t[0].get("mapValueCalculation")),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(var o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=o===0&&!t[o].getHostGeoModel(),t[o].setData(h.cloneShallow()),t[o].mainSeries=t[0]})}ue.exports=I},"9wZj":function(ue,z,d){var O=d("IwbS"),_=d("FBjb"),I=d("bYtY"),E=I.isObject;function C(s){this.group=new O.Group,this._symbolCtor=s||_}var t=C.prototype;function p(s,l,n,c){return l&&!isNaN(l[0])&&!isNaN(l[1])&&!(c.isIgnore&&c.isIgnore(n))&&!(c.clipShape&&!c.clipShape.contain(l[0],l[1]))&&s.getItemVisual(n,"symbol")!=="none"}t.updateData=function(s,l){l=h(l);var n=this.group,c=s.hostModel,e=this._data,a=this._symbolCtor,i=o(s);e||n.removeAll(),s.diff(e).add(function(u){var f=s.getItemLayout(u);if(p(s,f,u,l)){var m=new a(s,u,i);m.attr("position",f),s.setItemGraphicEl(u,m),n.add(m)}}).update(function(u,f){var m=e.getItemGraphicEl(f),A=s.getItemLayout(u);if(!p(s,A,u,l)){n.remove(m);return}m?(m.updateData(s,u,i),O.updateProps(m,{position:A},c)):(m=new a(s,u),m.attr("position",A)),n.add(m),s.setItemGraphicEl(u,m)}).remove(function(u){var f=e.getItemGraphicEl(u);f&&f.fadeOut(function(){n.remove(f)})}).execute(),this._data=s},t.isPersistent=function(){return!0},t.updateLayout=function(){var s=this._data;s&&s.eachItemGraphicEl(function(l,n){var c=s.getItemLayout(n);l.attr("position",c)})},t.incrementalPrepareUpdate=function(s){this._seriesScope=o(s),this._data=null,this.group.removeAll()},t.incrementalUpdate=function(s,l,n){n=h(n);function c(u){u.isGroup||(u.incremental=u.useHoverLayer=!0)}for(var e=s.start;e<s.end;e++){var a=l.getItemLayout(e);if(p(l,a,e,n)){var i=new this._symbolCtor(l,e,this._seriesScope);i.traverse(c),i.attr("position",a),this.group.add(i),l.setItemGraphicEl(e,i)}}};function h(s){return s!=null&&!E(s)&&(s={isIgnore:s}),s||{}}t.remove=function(s){var l=this.group,n=this._data;n&&s?n.eachItemGraphicEl(function(c){c.fadeOut(function(){l.remove(c)})}):l.removeAll()};function o(s){var l=s.hostModel;return{itemStyle:l.getModel("itemStyle").getItemStyle(["color"]),hoverItemStyle:l.getModel("emphasis.itemStyle").getItemStyle(),symbolRotate:l.get("symbolRotate"),symbolOffset:l.get("symbolOffset"),hoverAnimation:l.get("hoverAnimation"),labelModel:l.getModel("label"),hoverLabelModel:l.getModel("emphasis.label"),cursorStyle:l.get("cursor")}}var r=C;ue.exports=r},"9yH6":function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("q1tI"),t=d("+6Fa"),p=d("TSYQ"),h=d.n(p),o=d("H84U"),r=C.createContext(null),s=r.Provider,l=r,n=d("ID/q"),c=d("uaoM"),e=function(L,R){var P={};for(var k in L)Object.prototype.hasOwnProperty.call(L,k)&&R.indexOf(k)<0&&(P[k]=L[k]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,k=Object.getOwnPropertySymbols(L);U<k.length;U++)R.indexOf(k[U])<0&&Object.prototype.propertyIsEnumerable.call(L,k[U])&&(P[k[U]]=L[k[U]]);return P},a=function(R,P){var k,U=C.useContext(l),D=C.useContext(o.b),M=D.getPrefixCls,B=D.direction,j=C.useRef(),H=Object(n.a)(P,j);C.useEffect(function(){Object(c.a)(!("optionType"in R),"Radio","`optionType` is only support in Radio.Group.")},[]);var K=function(he){R.onChange&&R.onChange(he),(U==null?void 0:U.onChange)&&U.onChange(he)},W=R.prefixCls,X=R.className,V=R.children,Z=R.style,G=e(R,["prefixCls","className","children","style"]),Y=M("radio",W),te=E()({},G);U&&(te.name=U.name,te.onChange=K,te.checked=R.value===U.value,te.disabled=R.disabled||U.disabled);var se=h()(X,(k={},_()(k,"".concat(Y,"-wrapper"),!0),_()(k,"".concat(Y,"-wrapper-checked"),te.checked),_()(k,"".concat(Y,"-wrapper-disabled"),te.disabled),_()(k,"".concat(Y,"-wrapper-rtl"),B==="rtl"),k));return C.createElement("label",{className:se,style:Z,onMouseEnter:R.onMouseEnter,onMouseLeave:R.onMouseLeave},C.createElement(t.a,E()({},te,{prefixCls:Y,ref:H})),V!==void 0?C.createElement("span",null,V):null)},i=C.forwardRef(a);i.displayName="Radio",i.defaultProps={type:"radio"};var u=i,f=d("J4zp"),m=d.n(f),A=d("6cGi"),g=d("3Nzz"),v=C.forwardRef(function(L,R){var P=C.useContext(o.b),k=P.getPrefixCls,U=P.direction,D=C.useContext(g.b),M=Object(A.a)(L.defaultValue,{value:L.value}),B=m()(M,2),j=B[0],H=B[1],K=function(V){var Z=j,G=V.target.value;"value"in L||H(G);var Y=L.onChange;Y&&G!==Z&&Y(V)},W=function(){var V,Z=L.prefixCls,G=L.className,Y=G===void 0?"":G,te=L.options,se=L.optionType,Ce=L.buttonStyle,he=L.disabled,xe=L.children,ie=L.size,ee=L.style,Ze=L.id,Se=L.onMouseEnter,Ne=L.onMouseLeave,it=k("radio",Z),Ye="".concat(it,"-group"),nt=xe;if(te&&te.length>0){var je=se==="button"?"".concat(it,"-button"):it;nt=te.map(function(pe){return typeof pe=="string"?C.createElement(u,{ref:R,key:pe,prefixCls:je,disabled:he,value:pe,checked:j===pe},pe):C.createElement(u,{ref:R,key:"radio-group-value-options-".concat(pe.value),prefixCls:je,disabled:pe.disabled||he,value:pe.value,checked:j===pe.value,style:pe.style},pe.label)})}var et=ie||D,He=h()(Ye,"".concat(Ye,"-").concat(Ce),(V={},_()(V,"".concat(Ye,"-").concat(et),et),_()(V,"".concat(Ye,"-rtl"),U==="rtl"),V),Y);return C.createElement("div",{className:He,style:ee,onMouseEnter:Se,onMouseLeave:Ne,id:Ze},nt)};return C.createElement(s,{value:{onChange:K,value:j,disabled:L.disabled,name:L.name}},W())});v.defaultProps={buttonStyle:"outline"};var b=C.memo(v),S=function(L,R){var P={};for(var k in L)Object.prototype.hasOwnProperty.call(L,k)&&R.indexOf(k)<0&&(P[k]=L[k]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,k=Object.getOwnPropertySymbols(L);U<k.length;U++)R.indexOf(k[U])<0&&Object.prototype.propertyIsEnumerable.call(L,k[U])&&(P[k[U]]=L[k[U]]);return P},y=function(R,P){var k=C.useContext(l),U=C.useContext(o.b),D=U.getPrefixCls,M=R.prefixCls,B=S(R,["prefixCls"]),j=D("radio-button",M);return k&&(B.checked=R.value===k.value,B.disabled=R.disabled||k.disabled),C.createElement(u,E()({prefixCls:j},B,{type:"radio",ref:P}))},w=C.forwardRef(y),x=u;x.Button=w,x.Group=b;var T=z.a=x},A1Ka:function(ue,z,d){var O=d("bLfw"),_=d("sS/r"),I=d("D5nY"),E=I.detectSourceFormat,C=d("k9D9"),t=C.SERIES_LAYOUT_BY_COLUMN;O.extend({type:"dataset",defaultOption:{seriesLayoutBy:t,sourceHeader:null,dimensions:null,source:null},optionUpdated:function(){E(this)}}),_.extend({type:"dataset"})},ABKa:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("Qs9O")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="FolderOutlined";var h=E.forwardRef(p);z.default=h},ACnJ:function(ue,z,d){"use strict";d.d(z,"b",function(){return C});var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=["xxl","xl","lg","md","sm","xs"],t={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},p=new Map,h=-1,o={},r={matchHandlers:{},dispatch:function(l){return o=l,p.forEach(function(n){return n(o)}),p.size>=1},subscribe:function(l){return p.size||this.register(),h+=1,p.set(h,l),l(o),h},unsubscribe:function(l){p.delete(l),p.size||this.unregister()},unregister:function(){var l=this;Object.keys(t).forEach(function(n){var c=t[n],e=l.matchHandlers[c];e==null||e.mql.removeListener(e==null?void 0:e.listener)}),p.clear()},register:function(){var l=this;Object.keys(t).forEach(function(n){var c=t[n],e=function(u){var f=u.matches;l.dispatch(E()(E()({},o),_()({},n,f)))},a=window.matchMedia(c);a.addListener(e),l.matchHandlers[c]={mql:a,listener:e},e(a)})}};z.a=r},AE9C:function(ue,z,d){var O=d("bYtY"),_=d("crZl"),I=d("IwbS"),E=d("oVpE"),C=E.createSymbol,t=d("+TT/"),p=d("y7Aq"),h=_.extend({type:"visualMap.piecewise",doRender:function(){var r=this.group;r.removeAll();var s=this.visualMapModel,l=s.get("textGap"),n=s.textStyleModel,c=n.getFont(),e=n.getTextColor(),a=this._getItemAlign(),i=s.itemSize,u=this._getViewData(),f=u.endsText,m=O.retrieve(s.get("showLabel",!0),!f);f&&this._renderEndsText(r,f[0],i,m,a),O.each(u.viewPieceList,A,this),f&&this._renderEndsText(r,f[1],i,m,a),t.box(s.get("orient"),r,s.get("itemGap")),this.renderBackground(r),this.positionGroup(r);function A(g){var v=g.piece,b=new I.Group;b.onclick=O.bind(this._onItemClick,this,v),this._enableHoverLink(b,g.indexInModelPieceList);var S=s.getRepresentValue(v);if(this._createItemSymbol(b,S,[0,0,i[0],i[1]]),m){var y=this.visualMapModel.getValueState(S);b.add(new I.Text({style:{x:a==="right"?-l:i[0]+l,y:i[1]/2,text:v.text,textVerticalAlign:"middle",textAlign:a,textFont:c,textFill:e,opacity:y==="outOfRange"?.5:1}}))}r.add(b)}},_enableHoverLink:function(r,s){r.on("mouseover",O.bind(l,this,"highlight")).on("mouseout",O.bind(l,this,"downplay"));function l(n){var c=this.visualMapModel;c.option.hoverLink&&this.api.dispatchAction({type:n,batch:p.makeHighDownBatch(c.findTargetDataIndices(s),c)})}},_getItemAlign:function(){var r=this.visualMapModel,s=r.option;if(s.orient==="vertical")return p.getItemAlign(r,this.api,r.itemSize);var l=s.align;return(!l||l==="auto")&&(l="left"),l},_renderEndsText:function(r,s,l,n,c){if(!s)return;var e=new I.Group,a=this.visualMapModel.textStyleModel;e.add(new I.Text({style:{x:n?c==="right"?l[0]:0:l[0]/2,y:l[1]/2,textVerticalAlign:"middle",textAlign:n?c:"center",text:s,textFont:a.getFont(),textFill:a.getTextColor()}})),r.add(e)},_getViewData:function(){var r=this.visualMapModel,s=O.map(r.getPieceList(),function(e,a){return{piece:e,indexInModelPieceList:a}}),l=r.get("text"),n=r.get("orient"),c=r.get("inverse");return(n==="horizontal"?c:!c)?s.reverse():l&&(l=l.slice().reverse()),{viewPieceList:s,endsText:l}},_createItemSymbol:function(r,s,l){r.add(C(this.getControllerVisual(s,"symbol"),l[0],l[1],l[2],l[3],this.getControllerVisual(s,"color")))},_onItemClick:function(r){var s=this.visualMapModel,l=s.option,n=O.clone(l.selected),c=s.getSelectedMapKey(r);l.selectedMode==="single"?(n[c]=!0,O.each(n,function(e,a){n[a]=a===c})):n[c]=!n[c],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:n})}}),o=h;ue.exports=o},AEZ6:function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.createHashMap,E=d("T4UG"),C=d("MwEJ"),t=E.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(o,r){var s=this.getSource();return p(s,this),C(s,this)},getRawIndicesByActiveState:function(o){var r=this.coordinateSystem,s=this.getData(),l=[];return r.eachActiveState(s,function(n,c){o===n&&l.push(s.getRawIndex(c))}),l},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 p(o,r){if(o.encodeDefine)return;var s=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(!s)return;var l=o.encodeDefine=I();_(s.dimensions,function(n){var c=h(n);l.set(n,c)})}function h(o){return+o.replace("dim","")}ue.exports=t},AH3D:function(ue,z,d){var O=d("ProS");d("y4/Y"),d("qWt2"),d("Qvb6"),O.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},function(){}),O.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},function(){})},ALo7:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("5GtS"),E=d("4NO4"),C=E.defaultEmphasis,t=d("D5nY"),p=t.makeSeriesEncodeForNameBased,h=d("xKMd"),o=O.extendSeriesModel({type:"series.funnel",init:function(s){o.superApply(this,"init",arguments),this.legendVisualProvider=new h(_.bind(this.getData,this),_.bind(this.getRawData,this)),this._defaultLabelLine(s)},getInitialData:function(s,l){return I(this,{coordDimensions:["value"],encodeDefaulter:_.curry(p,this)})},_defaultLabelLine:function(s){C(s,"labelLine",["show"]);var l=s.labelLine,n=s.emphasis.labelLine;l.show=l.show&&s.label.show,n.show=n.show&&s.emphasis.label.show},getDataParams:function(s){var l=this.getData(),n=o.superCall(this,"getDataParams",s),c=l.mapDimension("value"),e=l.getSum(c);return n.percent=e?+(l.get(c,s)/e*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=o;ue.exports=r},ANhw:function(ue,z){(function(){var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",O={rotl:function(I,E){return I<<E|I>>>32-E},rotr:function(I,E){return I<<32-E|I>>>E},endian:function(I){if(I.constructor==Number)return O.rotl(I,8)&16711935|O.rotl(I,24)&4278255360;for(var E=0;E<I.length;E++)I[E]=O.endian(I[E]);return I},randomBytes:function(I){for(var E=[];I>0;I--)E.push(Math.floor(Math.random()*256));return E},bytesToWords:function(I){for(var E=[],C=0,t=0;C<I.length;C++,t+=8)E[t>>>5]|=I[C]<<24-t%32;return E},wordsToBytes:function(I){for(var E=[],C=0;C<I.length*32;C+=8)E.push(I[C>>>5]>>>24-C%32&255);return E},bytesToHex:function(I){for(var E=[],C=0;C<I.length;C++)E.push((I[C]>>>4).toString(16)),E.push((I[C]&15).toString(16));return E.join("")},hexToBytes:function(I){for(var E=[],C=0;C<I.length;C+=2)E.push(parseInt(I.substr(C,2),16));return E},bytesToBase64:function(I){for(var E=[],C=0;C<I.length;C+=3)for(var t=I[C]<<16|I[C+1]<<8|I[C+2],p=0;p<4;p++)C*8+p*6<=I.length*8?E.push(d.charAt(t>>>6*(3-p)&63)):E.push("=");return E.join("")},base64ToBytes:function(I){I=I.replace(/[^A-Z0-9+\/]/ig,"");for(var E=[],C=0,t=0;C<I.length;t=++C%4){if(t==0)continue;E.push((d.indexOf(I.charAt(C-1))&Math.pow(2,-2*t+8)-1)<<t*2|d.indexOf(I.charAt(C))>>>6-t*2)}return E}};ue.exports=O})()},ANjR:function(ue,z,d){var O=d("bYtY");function _(E,C){return C=C||[0,0],O.map([0,1],function(t){var p=C[t],h=E[t]/2,o=[],r=[];return o[t]=p-h,r[t]=p+h,o[1-t]=r[1-t]=C[1-t],Math.abs(this.dataToPoint(o)[t]-this.dataToPoint(r)[t])},this)}function I(E){var C=E.getBoundingRect();return{coordSys:{type:"geo",x:C.x,y:C.y,width:C.width,height:C.height,zoom:E.getZoom()},api:{coord:function(t){return E.dataToPoint(t)},size:O.bind(_,E)}}}ue.exports=I},AOa7:function(ue,z,d){},AUH6:function(ue,z,d){var O=d("bYtY"),_=d("mFDi"),I=d("bMXI"),E=d("W4dC");function C(h,o,r,s){I.call(this,h),this.map=o;var l=E.load(o,r);this._nameCoordMap=l.nameCoordMap,this._regionsMap=l.regionsMap,this._invertLongitute=s==null?!0:s,this.regions=l.regions,this._rect=l.boundingRect}C.prototype={constructor:C,type:"geo",dimensions:["lng","lat"],containCoord:function(h){for(var o=this.regions,r=0;r<o.length;r++)if(o[r].contain(h))return!0;return!1},transformTo:function(h,o,r,s){var l=this.getBoundingRect(),n=this._invertLongitute;l=l.clone(),n&&(l.y=-l.y-l.height);var c=this._rawTransformable;if(c.transform=l.calculateTransform(new _(h,o,r,s)),c.decomposeTransform(),n){var e=c.scale;e[1]=-e[1]}c.updateTransform(),this._updateTransform()},getRegion:function(h){return this._regionsMap.get(h)},getRegionByCoord:function(h){for(var o=this.regions,r=0;r<o.length;r++)if(o[r].contain(h))return o[r]},addGeoCoord:function(h,o){this._nameCoordMap.set(h,o)},getGeoCoord:function(h){return this._nameCoordMap.get(h)},getBoundingRect:function(){return this._rect},dataToPoint:function(h,o,r){if(typeof h=="string"&&(h=this.getGeoCoord(h)),h)return I.prototype.dataToPoint.call(this,h,o,r)},convertToPixel:O.curry(t,"dataToPoint"),convertFromPixel:O.curry(t,"pointToData")},O.mixin(C,I);function t(h,o,r,s){var l=r.geoModel,n=r.seriesModel,c=l?l.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return c===this?c[h](s):null}var p=C;ue.exports=p},AVZG:function(ue,z,d){var O=d("bYtY");function _(I,E,C){C=C||{};var t=I.coordinateSystem,p=E.axis,h={},o=p.getAxesOnZeroOf()[0],r=p.position,s=o?"onZero":r,l=p.dim,n=t.getRect(),c=[n.x,n.x+n.width,n.y,n.y+n.height],e={left:0,right:1,top:0,bottom:1,onZero:2},a=E.get("offset")||0,i=l==="x"?[c[2]-a,c[3]+a]:[c[0]-a,c[1]+a];if(o){var u=o.toGlobalCoord(o.dataToCoord(0));i[e.onZero]=Math.max(Math.min(u,i[1]),i[0])}h.position=[l==="y"?i[e[s]]:c[0],l==="x"?i[e[s]]:c[3]],h.rotation=Math.PI/2*(l==="x"?0:1);var f={top:-1,bottom:1,left:-1,right:1};h.labelDirection=h.tickDirection=h.nameDirection=f[r],h.labelOffset=o?i[e[r]]-i[e.onZero]:0,E.get("axisTick.inside")&&(h.tickDirection=-h.tickDirection),O.retrieve(C.labelInside,E.get("axisLabel.inside"))&&(h.labelDirection=-h.labelDirection);var m=E.get("axisLabel.rotate");return h.labelRotate=s==="top"?-m:m,h.z2=1,h}z.layout=_},"Ae+d":function(ue,z){function d(_,I,E){var C=_.target,t=C.position;t[0]+=I,t[1]+=E,C.dirty()}function O(_,I,E,C){var t=_.target,p=_.zoomLimit,h=t.position,o=t.scale,r=_.zoom=_.zoom||1;if(r*=I,p){var s=p.min||0,l=p.max||Infinity;r=Math.max(Math.min(l,r),s)}var n=r/_.zoom;_.zoom=r,h[0]-=(E-h[0])*(n-1),h[1]-=(C-h[1])*(n-1),o[0]*=n,o[1]*=n,t.dirty()}z.updateViewOnPan=d,z.updateViewOnZoom=O},Ae16:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS");d("Wqna"),d("rySg"),O.extendComponentView({type:"grid",render:function(E,C){this.group.removeAll(),E.get("show")&&this.group.add(new I.Rect({shape:E.coordinateSystem.getRect(),style:_.defaults({fill:E.get("backgroundColor")},E.getItemStyle()),silent:!0,z2:-1}))}}),O.registerPreprocessor(function(E){E.xAxis&&E.yAxis&&!E.grid&&(E.grid={})})},Awhp:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("PQMj"),E=d.n(I)},"B+YJ":function(ue,z,d){d("TYVI"),d("p1MT")},"B6l+":function(ue,z,d){var O=d("Sq3C"),_=d("Z1HP"),I=d("Sxd8"),E=d("dt0z");function C(t,p,h){t=E(t),p=I(p);var o=p?_(t):0;return p&&o<p?t+O(p-o,h):t}ue.exports=C},B9cy:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("0XgM"),E=d.n(I)},B9fm:function(ue,z,d){var O=d("bYtY"),_=d("Qe9p"),I=d("YH21"),E=d("Ze12"),C=d("ItGF"),t=d("7aKB"),p=O.each,h=t.toCamelCase,o=["","-webkit-","-moz-","-o-"],r="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function s(i){var u="cubic-bezier(0.23, 1, 0.32, 1)",f="left "+i+"s "+u+",top "+i+"s "+u;return O.map(o,function(m){return m+"transition:"+f}).join(";")}function l(i){var u=[],f=i.get("fontSize"),m=i.getTextColor();return m&&u.push("color:"+m),u.push("font:"+i.getFont()),f&&u.push("line-height:"+Math.round(f*3/2)+"px"),p(["decoration","align"],function(A){var g=i.get(A);g&&u.push("text-"+A+":"+g)}),u.join(";")}function n(i){var u=[],f=i.get("transitionDuration"),m=i.get("backgroundColor"),A=i.getModel("textStyle"),g=i.get("padding");return f&&u.push(s(f)),m&&(C.canvasSupported?u.push("background-Color:"+m):(u.push("background-Color:#"+_.toHex(m)),u.push("filter:alpha(opacity=70)"))),p(["width","color","radius"],function(v){var b="border-"+v,S=h(b),y=i.get(S);y!=null&&u.push(b+":"+y+(v==="color"?"":"px"))}),u.push(l(A)),g!=null&&u.push("padding:"+t.normalizeCssArray(g).join("px ")+"px"),u.join(";")+";"}function c(i,u,f,m,A){var g=u&&u.painter;if(f){var v=g&&g.getViewportRoot();v&&E.transformLocalCoord(i,v,document.body,m,A)}else{i[0]=m,i[1]=A;var b=g&&g.getViewportRootOffset();b&&(i[0]+=b.offsetLeft,i[1]+=b.offsetTop)}}function e(i,u,f){if(C.wxa)return null;var m=document.createElement("div");m.domBelongToZr=!0,this.el=m;var A=this._zr=u.getZr(),g=this._appendToBody=f&&f.appendToBody;this._styleCoord=[0,0],c(this._styleCoord,A,g,u.getWidth()/2,u.getHeight()/2),g?document.body.appendChild(m):i.appendChild(m),this._container=i,this._show=!1,this._hideTimeout;var v=this;m.onmouseenter=function(){v._enterable&&(clearTimeout(v._hideTimeout),v._show=!0),v._inContent=!0},m.onmousemove=function(b){if(b=b||window.event,!v._enterable){var S=A.handler,y=A.painter.getViewportRoot();I.normalizeEvent(y,b,!0),S.dispatch("mousemove",b)}},m.onmouseleave=function(){v._enterable&&(v._show&&v.hideLater(v._hideDelay)),v._inContent=!1}}e.prototype={constructor:e,_enterable:!0,update:function(){var i=this._container,u=i.currentStyle||document.defaultView.getComputedStyle(i),f=i.style;f.position!=="absolute"&&u.position!=="absolute"&&(f.position="relative")},show:function(i){clearTimeout(this._hideTimeout);var u=this.el,f=this._styleCoord;u.style.cssText=r+n(i)+";left:"+f[0]+"px;top:"+f[1]+"px;"+(i.get("extraCssText")||""),u.style.display=u.innerHTML?"block":"none",u.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(i){this.el.innerHTML=i==null?"":i},setEnterable:function(i){this._enterable=i},getSize:function(){var i=this.el;return[i.clientWidth,i.clientHeight]},moveTo:function(i,u){var f=this._styleCoord;c(f,this._zr,this._appendToBody,i,u);var m=this.el.style;m.left=f[0]+"px",m.top=f[1]+"px"},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(i){this._show&&!(this._inContent&&this._enterable)&&(i?(this._hideDelay=i,this._show=!1,this._hideTimeout=setTimeout(O.bind(this.hide,this),i)):this.hide())},isShow:function(){return this._show},dispose:function(){this.el.parentNode.removeChild(this.el)},getOuterSize:function(){var i=this.el.clientWidth,u=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var f=document.defaultView.getComputedStyle(this.el);f&&(i+=parseInt(f.borderLeftWidth,10)+parseInt(f.borderRightWidth,10),u+=parseInt(f.borderTopWidth,10)+parseInt(f.borderBottomWidth,10))}return{width:i,height:u}}};var a=e;ue.exports=a},BEtg:function(ue,z){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/ue.exports=function(_){return _!=null&&(d(_)||O(_)||!!_._isBuffer)};function d(_){return!!_.constructor&&typeof _.constructor.isBuffer=="function"&&_.constructor.isBuffer(_)}function O(_){return typeof _.readFloatLE=="function"&&typeof _.slice=="function"&&d(_.slice(0,0))}},BMrR:function(ue,z,d){"use strict";var O=d("qrJ5");z.a=O.a},BPZU:function(ue,z){var d=32,O=7,_=256;function I(s){for(var l=0;s>=d;)l|=s&1,s>>=1;return s+l}function E(s,l,n,c){var e=l+1;if(e===n)return 1;if(c(s[e++],s[l])<0){for(;e<n&&c(s[e],s[e-1])<0;)e++;C(s,l,e)}else for(;e<n&&c(s[e],s[e-1])>=0;)e++;return e-l}function C(s,l,n){for(n--;l<n;){var c=s[l];s[l++]=s[n],s[n--]=c}}function t(s,l,n,c,e){for(c===l&&c++;c<n;c++){for(var a=s[c],i=l,u=c,f;i<u;)f=i+u>>>1,e(a,s[f])<0?u=f:i=f+1;var m=c-i;switch(m){case 3:s[i+3]=s[i+2];case 2:s[i+2]=s[i+1];case 1:s[i+1]=s[i];break;default:for(;m>0;)s[i+m]=s[i+m-1],m--}s[i]=a}}function p(s,l,n,c,e,a){var i=0,u=0,f=1;if(a(s,l[n+e])>0){for(u=c-e;f<u&&a(s,l[n+e+f])>0;)i=f,f=(f<<1)+1,f<=0&&(f=u);f>u&&(f=u),i+=e,f+=e}else{for(u=e+1;f<u&&a(s,l[n+e-f])<=0;)i=f,f=(f<<1)+1,f<=0&&(f=u);f>u&&(f=u);var m=i;i=e-f,f=e-m}for(i++;i<f;){var A=i+(f-i>>>1);a(s,l[n+A])>0?i=A+1:f=A}return f}function h(s,l,n,c,e,a){var i=0,u=0,f=1;if(a(s,l[n+e])<0){for(u=e+1;f<u&&a(s,l[n+e-f])<0;)i=f,f=(f<<1)+1,f<=0&&(f=u);f>u&&(f=u);var m=i;i=e-f,f=e-m}else{for(u=c-e;f<u&&a(s,l[n+e+f])>=0;)i=f,f=(f<<1)+1,f<=0&&(f=u);f>u&&(f=u),i+=e,f+=e}for(i++;i<f;){var A=i+(f-i>>>1);a(s,l[n+A])<0?f=A:i=A+1}return f}function o(s,l){var n=O,c=0,e=_,a=0,i,u,f=0;c=s.length,c<2*_&&(e=c>>>1);var m=[];a=c<120?5:c<1542?10:c<119151?19:40,i=[],u=[];function A(w,x){i[f]=w,u[f]=x,f+=1}function g(){for(;f>1;){var w=f-2;if(w>=1&&u[w-1]<=u[w]+u[w+1]||w>=2&&u[w-2]<=u[w]+u[w-1])u[w-1]<u[w+1]&&w--;else if(u[w]>u[w+1])break;b(w)}}function v(){for(;f>1;){var w=f-2;w>0&&u[w-1]<u[w+1]&&w--,b(w)}}function b(w){var x=i[w],T=u[w],L=i[w+1],R=u[w+1];u[w]=T+R,w===f-3&&(i[w+1]=i[w+2],u[w+1]=u[w+2]),f--;var P=h(s[L],s,x,T,0,l);if(x+=P,T-=P,T===0)return;if(R=p(s[x+T-1],s,L,R,R-1,l),R===0)return;T<=R?S(x,T,L,R):y(x,T,L,R)}function S(w,x,T,L){var R=0;for(R=0;R<x;R++)m[R]=s[w+R];var P=0,k=T,U=w;if(s[U++]=s[k++],--L===0){for(R=0;R<x;R++)s[U+R]=m[P+R];return}if(x===1){for(R=0;R<L;R++)s[U+R]=s[k+R];s[U+L]=m[P];return}for(var D=n,M,B,j;;){M=0,B=0,j=!1;do if(l(s[k],m[P])<0){if(s[U++]=s[k++],B++,M=0,--L===0){j=!0;break}}else if(s[U++]=m[P++],M++,B=0,--x===1){j=!0;break}while((M|B)<D);if(j)break;do{if(M=h(s[k],m,P,x,0,l),M!==0){for(R=0;R<M;R++)s[U+R]=m[P+R];if(U+=M,P+=M,x-=M,x<=1){j=!0;break}}if(s[U++]=s[k++],--L===0){j=!0;break}if(B=p(m[P],s,k,L,0,l),B!==0){for(R=0;R<B;R++)s[U+R]=s[k+R];if(U+=B,k+=B,L-=B,L===0){j=!0;break}}if(s[U++]=m[P++],--x===1){j=!0;break}D--}while(M>=O||B>=O);if(j)break;D<0&&(D=0),D+=2}if(n=D,n<1&&(n=1),x===1){for(R=0;R<L;R++)s[U+R]=s[k+R];s[U+L]=m[P]}else{if(x===0)throw new Error;for(R=0;R<x;R++)s[U+R]=m[P+R]}}function y(w,x,T,L){var R=0;for(R=0;R<L;R++)m[R]=s[T+R];var P=w+x-1,k=L-1,U=T+L-1,D=0,M=0;if(s[U--]=s[P--],--x===0){for(D=U-(L-1),R=0;R<L;R++)s[D+R]=m[R];return}if(L===1){for(U-=x,P-=x,M=U+1,D=P+1,R=x-1;R>=0;R--)s[M+R]=s[D+R];s[U]=m[k];return}for(var B=n;;){var j=0,H=0,K=!1;do if(l(m[k],s[P])<0){if(s[U--]=s[P--],j++,H=0,--x===0){K=!0;break}}else if(s[U--]=m[k--],H++,j=0,--L===1){K=!0;break}while((j|H)<B);if(K)break;do{if(j=x-h(m[k],s,w,x,x-1,l),j!==0){for(U-=j,P-=j,x-=j,M=U+1,D=P+1,R=j-1;R>=0;R--)s[M+R]=s[D+R];if(x===0){K=!0;break}}if(s[U--]=m[k--],--L===1){K=!0;break}if(H=L-p(s[P],m,0,L,L-1,l),H!==0){for(U-=H,k-=H,L-=H,M=U+1,D=k+1,R=0;R<H;R++)s[M+R]=m[D+R];if(L<=1){K=!0;break}}if(s[U--]=s[P--],--x===0){K=!0;break}B--}while(j>=O||H>=O);if(K)break;B<0&&(B=0),B+=2}if(n=B,n<1&&(n=1),L===1){for(U-=x,P-=x,M=U+1,D=P+1,R=x-1;R>=0;R--)s[M+R]=s[D+R];s[U]=m[k]}else{if(L===0)throw new Error;for(D=U-(L-1),R=0;R<L;R++)s[D+R]=m[R]}}this.mergeRuns=g,this.forceMergeRuns=v,this.pushRun=A}function r(s,l,n,c){n||(n=0),c||(c=s.length);var e=c-n;if(e<2)return;var a=0;if(e<d){a=E(s,n,c,l),t(s,n,c,n+a,l);return}var i=new o(s,l),u=I(e);do{if(a=E(s,n,c,l),a<u){var f=e;f>u&&(f=u),t(s,n,n+f,n+a,l),a=f}i.pushRun(n,a),i.mergeRuns(),e-=a,n+=a}while(e!==0);i.forceMergeRuns()}ue.exports=r},Bd2K:function(ue,z,d){(function(O){O(d("VrN/"),d("osHv"))})(function(O){O.defineOption("autoCloseTags",!1,function(o,r,s){if(s!=O.Init&&s&&o.removeKeyMap("autoCloseTags"),!r)return;var l={name:"autoCloseTags"};(typeof r!="object"||r.whenClosing!==!1)&&(l["'/'"]=function(n){return t(n)}),(typeof r!="object"||r.whenOpening!==!1)&&(l["'>'"]=function(n){return E(n)}),o.addKeyMap(l)});var _=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],I=["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 E(o){if(o.getOption("disableInput"))return O.Pass;for(var r=o.listSelections(),s=[],l=o.getOption("autoCloseTags"),n=0;n<r.length;n++){if(!r[n].empty())return O.Pass;var c=r[n].head,e=o.getTokenAt(c),a=O.innerMode(o.getMode(),e.state),i=a.state,u=a.mode.xmlCurrentTag&&a.mode.xmlCurrentTag(i),f=u&&u.name;if(!f)return O.Pass;var m=a.mode.configuration=="html",A=typeof l=="object"&&l.dontCloseTags||m&&_,g=typeof l=="object"&&l.indentTags||m&&I;e.end>c.ch&&(f=f.slice(0,f.length-e.end+c.ch));var v=f.toLowerCase();if(!f||e.type=="string"&&(e.end!=c.ch||!/[\"\']/.test(e.string.charAt(e.string.length-1))||e.string.length==1)||e.type=="tag"&&u.close||e.string.indexOf("/")==c.ch-e.start-1||A&&p(A,v)>-1||h(o,a.mode.xmlCurrentContext&&a.mode.xmlCurrentContext(i)||[],f,c,!0))return O.Pass;var b=typeof l=="object"&&l.emptyTags;if(b&&p(b,f)>-1){s[n]={text:"/>",newPos:O.Pos(c.line,c.ch+2)};continue}var S=g&&p(g,v)>-1;s[n]={indent:S,text:">"+(S?`
`:"")+"</"+f+">",newPos:S?O.Pos(c.line+1,0):O.Pos(c.line,c.ch+1)}}for(var y=typeof l=="object"&&l.dontIndentOnAutoClose,n=r.length-1;n>=0;n--){var w=s[n];o.replaceRange(w.text,r[n].head,r[n].anchor,"+insert");var x=o.listSelections().slice(0);x[n]={head:w.newPos,anchor:w.newPos},o.setSelections(x),!y&&w.indent&&(o.indentLine(w.newPos.line,null,!0),o.indentLine(w.newPos.line+1,null,!0))}}function C(o,r){for(var s=o.listSelections(),l=[],n=r?"/":"</",c=o.getOption("autoCloseTags"),e=typeof c=="object"&&c.dontIndentOnSlash,a=0;a<s.length;a++){if(!s[a].empty())return O.Pass;var i=s[a].head,u=o.getTokenAt(i),f=O.innerMode(o.getMode(),u.state),m=f.state;if(r&&(u.type=="string"||u.string.charAt(0)!="<"||u.start!=i.ch-1))return O.Pass;var A,g=f.mode.name!="xml"&&o.getMode().name=="htmlmixed";if(g&&f.mode.name=="javascript")A=n+"script";else if(g&&f.mode.name=="css")A=n+"style";else{var v=f.mode.xmlCurrentContext&&f.mode.xmlCurrentContext(m);if(!v||v.length&&h(o,v,v[v.length-1],i))return O.Pass;A=n+v[v.length-1]}o.getLine(i.line).charAt(u.end)!=">"&&(A+=">"),l[a]=A}if(o.replaceSelections(l),s=o.listSelections(),!e)for(var a=0;a<s.length;a++)(a==s.length-1||s[a].head.line<s[a+1].head.line)&&o.indentLine(s[a].head.line)}function t(o){return o.getOption("disableInput")?O.Pass:C(o,!0)}O.commands.closeTag=function(o){return C(o)};function p(o,r){if(o.indexOf)return o.indexOf(r);for(var s=0,l=o.length;s<l;++s)if(o[s]==r)return s;return-1}function h(o,r,s,l,n){if(!O.scanForClosingTag)return!1;var c=Math.min(o.lastLine()+1,l.line+500),e=O.scanForClosingTag(o,l,null,c);if(!e||e.tag!=s)return!1;for(var a=n?1:0,i=r.length-1;i>=0&&r[i]==s;i--)++a;l=e.to;for(var i=1;i<a;i++){var u=O.scanForClosingTag(o,l,null,c);if(!u||u.tag!=s)return!1;l=u.to}return!0}})},BlVb:function(ue,z,d){var O=d("hyiK"),_=1e-8;function I(C,t){return Math.abs(C-t)<_}function E(C,t,p){var h=0,o=C[0];if(!o)return!1;for(var r=1;r<C.length;r++){var s=C[r];h+=O(o[0],o[1],s[0],s[1],t,p),o=s}var l=C[0];return(!I(o[0],l[0])||!I(o[1],l[1]))&&(h+=O(o[0],o[1],l[0],l[1],t,p)),h!==0}z.contain=E},BoS7:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("czTT"),E=d.n(I)},Bq2U:function(ue,z,d){var O=d("RDYZ"),_=d("Qe9p"),I=d("bYtY"),E=I.isArrayLike,C=Array.prototype.slice;function t(A,g){return A[g]}function p(A,g,v){A[g]=v}function h(A,g,v){return(g-A)*v+A}function o(A,g,v){return v>.5?g:A}function r(A,g,v,b,S){var y=A.length;if(S===1)for(var w=0;w<y;w++)b[w]=h(A[w],g[w],v);else for(var x=y&&A[0].length,w=0;w<y;w++)for(var T=0;T<x;T++)b[w][T]=h(A[w][T],g[w][T],v)}function s(A,g,v){var b=A.length,S=g.length;if(b!==S){var y=b>S;if(y)A.length=S;else for(var w=b;w<S;w++)A.push(v===1?g[w]:C.call(g[w]))}for(var x=A[0]&&A[0].length,w=0;w<A.length;w++)if(v===1)isNaN(A[w])&&(A[w]=g[w]);else for(var T=0;T<x;T++)isNaN(A[w][T])&&(A[w][T]=g[w][T])}function l(A,g,v){if(A===g)return!0;var b=A.length;if(b!==g.length)return!1;if(v===1){for(var S=0;S<b;S++)if(A[S]!==g[S])return!1}else for(var y=A[0].length,S=0;S<b;S++)for(var w=0;w<y;w++)if(A[S][w]!==g[S][w])return!1;return!0}function n(A,g,v,b,S,y,w,x,T){var L=A.length;if(T===1)for(var R=0;R<L;R++)x[R]=c(A[R],g[R],v[R],b[R],S,y,w);else for(var P=A[0].length,R=0;R<L;R++)for(var k=0;k<P;k++)x[R][k]=c(A[R][k],g[R][k],v[R][k],b[R][k],S,y,w)}function c(A,g,v,b,S,y,w){var x=(v-A)*.5,T=(b-g)*.5;return(2*(g-v)+x+T)*w+(-3*(g-v)-2*x-T)*y+x*S+g}function e(A){if(E(A)){var g=A.length;if(E(A[0])){for(var v=[],b=0;b<g;b++)v.push(C.call(A[b]));return v}return C.call(A)}return A}function a(A){return A[0]=Math.floor(A[0]),A[1]=Math.floor(A[1]),A[2]=Math.floor(A[2]),"rgba("+A.join(",")+")"}function i(A){var g=A[A.length-1].value;return E(g&&g[0])?2:1}function u(A,g,v,b,S,y){var w=A._getter,x=A._setter,T=g==="spline",L=b.length;if(!L)return;var R=b[0].value,P=E(R),k=!1,U=!1,D=P?i(b):0,M;b.sort(function(Ne,it){return Ne.time-it.time}),M=b[L-1].time;for(var B=[],j=[],H=b[0].value,K=!0,W=0;W<L;W++){B.push(b[W].time/M);var X=b[W].value;if(P&&l(X,H,D)||!P&&X===H||(K=!1),H=X,typeof X=="string"){var V=_.parse(X);V?(X=V,k=!0):U=!0}j.push(X)}if(!y&&K)return;for(var Z=j[L-1],W=0;W<L-1;W++)P?s(j[W],Z,D):isNaN(j[W])&&!isNaN(Z)&&!U&&!k&&(j[W]=Z);P&&s(w(A._target,S),Z,D);var G=0,Y=0,te,se,Ce,he,xe,ie;if(k)var ee=[0,0,0,0];var Ze=function(it,Ye){var nt;if(Ye<0)nt=0;else if(Ye<Y){for(te=Math.min(G+1,L-1),nt=te;nt>=0&&!(B[nt]<=Ye);nt--);nt=Math.min(nt,L-2)}else{for(nt=G;nt<L&&!(B[nt]>Ye);nt++);nt=Math.min(nt-1,L-2)}G=nt,Y=Ye;var je=B[nt+1]-B[nt];if(je===0)return;if(se=(Ye-B[nt])/je,T)if(he=j[nt],Ce=j[nt===0?nt:nt-1],xe=j[nt>L-2?L-1:nt+1],ie=j[nt>L-3?L-1:nt+2],P)n(Ce,he,xe,ie,se,se*se,se*se*se,w(it,S),D);else{var et;if(k)et=n(Ce,he,xe,ie,se,se*se,se*se*se,ee,1),et=a(ee);else{if(U)return o(he,xe,se);et=c(Ce,he,xe,ie,se,se*se,se*se*se)}x(it,S,et)}else if(P)r(j[nt],j[nt+1],se,w(it,S),D);else{var et;if(k)r(j[nt],j[nt+1],se,ee,1),et=a(ee);else{if(U)return o(j[nt],j[nt+1],se);et=h(j[nt],j[nt+1],se)}x(it,S,et)}},Se=new O({target:A._target,life:M,loop:A._loop,delay:A._delay,onframe:Ze,ondestroy:v});return g&&g!=="spline"&&(Se.easing=g),Se}var f=function(g,v,b,S){this._tracks={},this._target=g,this._loop=v||!1,this._getter=b||t,this._setter=S||p,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};f.prototype={when:function(g,v){var b=this._tracks;for(var S in v){if(!v.hasOwnProperty(S))continue;if(!b[S]){b[S]=[];var y=this._getter(this._target,S);if(y==null)continue;g!==0&&b[S].push({time:0,value:e(y)})}b[S].push({time:g,value:v[S]})}return this},during:function(g){return this._onframeList.push(g),this},pause:function(){for(var g=0;g<this._clipList.length;g++)this._clipList[g].pause();this._paused=!0},resume:function(){for(var g=0;g<this._clipList.length;g++)this._clipList[g].resume();this._paused=!1},isPaused:function(){return!!this._paused},_doneCallback:function(){this._tracks={},this._clipList.length=0;for(var g=this._doneList,v=g.length,b=0;b<v;b++)g[b].call(this)},start:function(g,v){var b=this,S=0,y=function(){S--,S||b._doneCallback()},w;for(var x in this._tracks){if(!this._tracks.hasOwnProperty(x))continue;var T=u(this,g,y,this._tracks[x],x,v);T&&(this._clipList.push(T),S++,this.animation&&this.animation.addClip(T),w=T)}if(w){var L=w.onframe;w.onframe=function(R,P){L(R,P);for(var k=0;k<b._onframeList.length;k++)b._onframeList[k](R,P)}}return S||this._doneCallback(),this},stop:function(g){for(var v=this._clipList,b=this.animation,S=0;S<v.length;S++){var y=v[S];g&&y.onframe(this._target,1),b&&b.removeClip(y)}v.length=0},delay:function(g){return this._delay=g,this},done:function(g){return g&&this._doneList.push(g),this},getClips:function(){return this._clipList}};var m=f;ue.exports=m},Bqw1:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},Bsck:function(ue,z,d){var O=d("bYtY"),_=d("Qxkt"),I=d("Mdki"),E=d("YXkt"),C=d("sdST"),t=function(r,s){this.name=r||"",this.depth=0,this.height=0,this.parentNode=null,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.hostTree=s};t.prototype={constructor:t,isRemoved:function(){return this.dataIndex<0},eachNode:function(r,s,l){typeof r=="function"&&(l=s,s=r,r=null),r=r||{},O.isString(r)&&(r={order:r});var n=r.order||"preorder",c=this[r.attr||"children"],e;n==="preorder"&&(e=s.call(l,this));for(var a=0;!e&&a<c.length;a++)c[a].eachNode(r,s,l);n==="postorder"&&s.call(l,this)},updateDepthAndHeight:function(r){var s=0;this.depth=r;for(var l=0;l<this.children.length;l++){var n=this.children[l];n.updateDepthAndHeight(r+1),n.height>s&&(s=n.height)}this.height=s+1},getNodeById:function(r){if(this.getId()===r)return this;for(var s=0,l=this.children,n=l.length;s<n;s++){var c=l[s].getNodeById(r);if(c)return c}},contains:function(r){if(r===this)return!0;for(var s=0,l=this.children,n=l.length;s<n;s++){var c=l[s].contains(r);if(c)return c}},getAncestors:function(r){for(var s=[],l=r?this:this.parentNode;l;)s.push(l),l=l.parentNode;return s.reverse(),s},getValue:function(r){var s=this.hostTree.data;return s.get(s.getDimension(r||"value"),this.dataIndex)},setLayout:function(r,s){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,r,s)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(r){if(this.dataIndex<0)return;var s=this.hostTree,l=s.data.getItemModel(this.dataIndex),n=this.getLevelModel();return n?l.getModel(r,n.getModel(r)):l.getModel(r)},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},setVisual:function(r,s){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,r,s)},getVisual:function(r,s){return this.hostTree.data.getItemVisual(this.dataIndex,r,s)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(r){for(var s=r.parentNode;s;){if(s===this)return!0;s=s.parentNode}return!1},isDescendantOf:function(r){return r!==this&&r.isAncestorOf(this)}};function p(r,s){this.root,this.data,this._nodes=[],this.hostModel=r,this.levelModels=O.map(s||[],function(l){return new _(l,r,r.ecModel)})}p.prototype={constructor:p,type:"tree",eachNode:function(r,s,l){this.root.eachNode(r,s,l)},getNodeByDataIndex:function(r){var s=this.data.getRawIndex(r);return this._nodes[s]},getNodeByName:function(r){return this.root.getNodeByName(r)},update:function(){for(var r=this.data,s=this._nodes,l=0,n=s.length;l<n;l++)s[l].dataIndex=-1;for(var l=0,n=r.count();l<n;l++)s[r.getRawIndex(l)].dataIndex=l},clearLayouts:function(){this.data.clearItemLayouts()}},p.createTree=function(r,s,l,n){var c=new p(s,l&&l.levels),e=[],a=1;i(r);function i(m,A){var g=m.value;a=Math.max(a,O.isArray(g)?g.length:1),e.push(m);var v=new t(m.name,c);A?h(v,A):c.root=v,c._nodes.push(v);var b=m.children;if(b)for(var S=0;S<b.length;S++)i(b[S],v)}c.root.updateDepthAndHeight(0);var u=C(e,{coordDimensions:["value"],dimensionsCount:a}),f=new E(u,s);return f.initData(e),n&&n(f),I({mainData:f,struct:c,structAttr:"tree"}),c.update(),c};function h(r,s){var l=s.children;if(r.parentNode===s)return;l.push(r),r.parentNode=s}var o=p;ue.exports=o},BtR2:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="LikeOutlined";var p=z.a=_.forwardRef(t)},BuqR:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("6uqw"),C=d("XxSj"),t=d("YOMW"),p=d("OELB"),h=p.reformIntervals,o=E.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,c){o.superApply(this,"optionUpdated",arguments),this._pieceList=[],this.resetExtent();var e=this._mode=this._determineMode();r[this._mode].call(this),this._resetSelected(n,c);var a=this.option.categories;this.resetVisual(function(i,u){e==="categories"?(i.mappingMethod="category",i.categories=I.clone(a)):(i.dataExtent=this.getExtent(),i.mappingMethod="piecewise",i.pieceList=I.map(this._pieceList,function(f){var f=I.clone(f);return u!=="inRange"&&(f.visual=null),f}))})},completeVisualOption:function(){var n=this.option,c={},e=C.listVisualTypes(),a=this.isCategory();I.each(n.pieces,function(u){I.each(e,function(f){u.hasOwnProperty(f)&&(c[f]=1)})}),I.each(c,function(u,f){var m=0;I.each(this.stateList,function(A){m|=i(n,A,f)||i(n.target,A,f)},this),!m&&I.each(this.stateList,function(A){(n[A]||(n[A]={}))[f]=t.get(f,A==="inRange"?"active":"inactive",a)})},this);function i(u,f,m){return u&&u[f]&&(I.isObject(u[f])?u[f].hasOwnProperty(m):u[f]===m)}E.prototype.completeVisualOption.apply(this,arguments)},_resetSelected:function(n,c){var e=this.option,a=this._pieceList,i=(c?e:n).selected||{};if(e.selected=i,I.each(a,function(f,m){var A=this.getSelectedMapKey(f);i.hasOwnProperty(A)||(i[A]=!0)},this),e.selectedMode==="single"){var u=!1;I.each(a,function(f,m){var A=this.getSelectedMapKey(f);i[A]&&(u?i[A]=!1:u=!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=I.clone(n)},getValueState:function(n){var c=C.findPieceIndex(n,this._pieceList);return c!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[c])]?"inRange":"outOfRange"},findTargetDataIndices:function(n){var c=[];return this.eachTargetSeries(function(e){var a=[],i=e.getData();i.each(this.getDataDimension(i),function(u,f){var m=C.findPieceIndex(u,this._pieceList);m===n&&a.push(f)},this),c.push({seriesId:e.id,dataIndex:a})},this),c},getRepresentValue:function(n){var c;if(this.isCategory())c=n.value;else if(n.value!=null)c=n.value;else{var e=n.interval||[];c=e[0]===-Infinity&&e[1]===Infinity?0:(e[0]+e[1])/2}return c},getVisualMeta:function(n){if(this.isCategory())return;var c=[],e=[],a=this;function i(A,g){var v=a.getRepresentValue({interval:A});g||(g=a.getValueState(v));var b=n(v,g);A[0]===-Infinity?e[0]=b:A[1]===Infinity?e[1]=b:c.push({value:A[0],color:b},{value:A[1],color:b})}var u=this._pieceList.slice();if(!u.length)u.push({interval:[-Infinity,Infinity]});else{var f=u[0].interval[0];f!==-Infinity&&u.unshift({interval:[-Infinity,f]}),f=u[u.length-1].interval[1],f!==Infinity&&u.push({interval:[f,Infinity]})}var m=-Infinity;return I.each(u,function(A){var g=A.interval;g&&(g[0]>m&&i([m,g[0]],"outOfRange"),i(g.slice()),m=g[1])},this),{stops:c,outerColors:e}}}),r={splitNumber:function(){var n=this.option,c=this._pieceList,e=Math.min(n.precision,20),a=this.getExtent(),i=n.splitNumber;i=Math.max(parseInt(i,10),1),n.splitNumber=i;for(var u=(a[1]-a[0])/i;+u.toFixed(e)!==u&&e<5;)e++;n.precision=e,u=+u.toFixed(e),n.minOpen&&c.push({interval:[-Infinity,a[0]],close:[0,0]});for(var f=0,m=a[0];f<i;m+=u,f++){var A=f===i-1?a[1]:m+u;c.push({interval:[m,A],close:[1,1]})}n.maxOpen&&c.push({interval:[a[1],Infinity],close:[0,0]}),h(c),I.each(c,function(g,v){g.index=v,g.text=this.formatValueText(g.interval)},this)},categories:function(){var n=this.option;I.each(n.categories,function(c){this._pieceList.push({text:this.formatValueText(c,!0),value:c})},this),s(n,this._pieceList)},pieces:function(){var n=this.option,c=this._pieceList;I.each(n.pieces,function(e,a){I.isObject(e)||(e={value:e});var i={text:"",index:a};if(e.label!=null&&(i.text=e.label),e.hasOwnProperty("value")){var u=i.value=e.value;i.interval=[u,u],i.close=[1,1]}else{for(var f=i.interval=[],m=i.close=[0,0],A=[1,0,1],g=[-Infinity,Infinity],v=[],b=0;b<2;b++){for(var S=[["gte","gt","min"],["lte","lt","max"]][b],y=0;y<3&&f[b]==null;y++)f[b]=e[S[y]],m[b]=A[y],v[b]=y===2;f[b]==null&&(f[b]=g[b])}v[0]&&f[1]===Infinity&&(m[0]=0),v[1]&&f[0]===-Infinity&&(m[1]=0),f[0]===f[1]&&m[0]&&m[1]&&(i.value=f[0])}i.visual=C.retrieveVisuals(e),c.push(i)},this),s(n,c),h(c),I.each(c,function(e){var a=e.close,i=[["<","\u2264"][a[1]],[">","\u2265"][a[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,i)},this)}};function s(n,c){var e=n.inverse;(n.orient==="vertical"?!e:e)&&c.reverse()}var l=o;ue.exports=l},BvKs:function(ue,z,d){"use strict";d.d(z,"a",function(){return Ut});var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("q1tI"),c=d("VTBJ"),e=d("1OyB"),a=d("vuIU"),i=d("JX7q"),u=d("Ji7U"),f=d("LK+K"),m=d("I8Z2"),A=d("BGR+"),g=d("wx14"),v=d("rePB"),b=d("4IlW"),S=d("2GS6"),y=d("Gytx"),w=d.n(y),x=d("TSYQ"),T=d.n(x),L=d("U8pU"),R=d("ODXe"),P=/iPhone/i,k=/iPod/i,U=/iPad/i,D=/\bAndroid(?:.+)Mobile\b/i,M=/Android/i,B=/\bAndroid(?:.+)SD4930UR\b/i,j=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,H=/Windows Phone/i,K=/\bWindows(?:.+)ARM\b/i,W=/BlackBerry/i,X=/BB10/i,V=/Opera Mini/i,Z=/\b(CriOS|Chrome)(?:.+)Mobile/i,G=/Mobile(?:.+)Firefox\b/i;function Y(pt,ct){return pt.test(ct)}function te(pt){var ct=pt||(typeof navigator!="undefined"?navigator.userAgent:""),Qt=ct.split("[FBAN");if(typeof Qt[1]!="undefined"){var Jt=Qt,yt=Object(R.a)(Jt,1);ct=yt[0]}if(Qt=ct.split("Twitter"),typeof Qt[1]!="undefined"){var Pt=Qt,At=Object(R.a)(Pt,1);ct=At[0]}var Ft={apple:{phone:Y(P,ct)&&!Y(H,ct),ipod:Y(k,ct),tablet:!Y(P,ct)&&Y(U,ct)&&!Y(H,ct),device:(Y(P,ct)||Y(k,ct)||Y(U,ct))&&!Y(H,ct)},amazon:{phone:Y(B,ct),tablet:!Y(B,ct)&&Y(j,ct),device:Y(B,ct)||Y(j,ct)},android:{phone:!Y(H,ct)&&Y(B,ct)||!Y(H,ct)&&Y(D,ct),tablet:!Y(H,ct)&&!Y(B,ct)&&!Y(D,ct)&&(Y(j,ct)||Y(M,ct)),device:!Y(H,ct)&&(Y(B,ct)||Y(j,ct)||Y(D,ct)||Y(M,ct))||Y(/\bokhttp\b/i,ct)},windows:{phone:Y(H,ct),tablet:Y(K,ct),device:Y(H,ct)||Y(K,ct)},other:{blackberry:Y(W,ct),blackberry10:Y(X,ct),opera:Y(V,ct),firefox:Y(G,ct),chrome:Y(Z,ct),device:Y(W,ct)||Y(X,ct)||Y(V,ct)||Y(G,ct)||Y(Z,ct)},any:null,phone:null,tablet:null};return Ft.any=Ft.apple.device||Ft.android.device||Ft.windows.device||Ft.other.device,Ft.phone=Ft.apple.phone||Ft.android.phone||Ft.windows.phone,Ft.tablet=Ft.apple.tablet||Ft.android.tablet||Ft.windows.tablet,Ft}var se=Object(c.a)(Object(c.a)({},te()),{},{isMobile:te}),Ce=se;function he(){}function xe(pt,ct,Qt){var Jt=ct||"";return pt.key||"".concat(Jt,"item_").concat(Qt)}function ie(pt){return"".concat(pt,"-menu-")}function ee(pt,ct){var Qt=-1;n.Children.forEach(pt,function(Jt){Qt+=1,Jt&&Jt.type&&Jt.type.isMenuItemGroup?n.Children.forEach(Jt.props.children,function(yt){Qt+=1,ct(yt,Qt)}):ct(Jt,Qt)})}function Ze(pt,ct,Qt){if(!pt||Qt.find)return;n.Children.forEach(pt,function(Jt){if(Jt){var yt=Jt.type;if(!yt||!(yt.isSubMenu||yt.isMenuItem||yt.isMenuItemGroup))return;ct.indexOf(Jt.key)!==-1?Qt.find=!0:Jt.props.children&&Ze(Jt.props.children,ct,Qt)}})}var Se=["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"],Ne=function(ct){var Qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Jt=ct&&typeof ct.getBoundingClientRect=="function"&&ct.getBoundingClientRect().width;if(Jt){if(Qt){var yt=getComputedStyle(ct),Pt=yt.marginLeft,At=yt.marginRight;Jt+=+Pt.replace("px","")+ +At.replace("px","")}Jt=+Jt.toFixed(6)}return Jt||0},it=function(ct,Qt,Jt){ct&&Object(L.a)(ct.style)==="object"&&(ct.style[Qt]=Jt)},Ye=function(){return Ce.any},nt=d("KQm4"),je=d("Ff2n"),et=d("i8i4"),He=d("bdgK"),pe=d("uciX"),ae=d("8XRh"),re={adjustX:1,adjustY:1},be={topLeft:{points:["bl","tl"],overflow:re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:re,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:re,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:re,offset:[4,0]}},ze={topLeft:{points:["bl","tl"],overflow:re,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:re,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:re,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:re,offset:[4,0]}},Ke=be,Te=0,gt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Ue=function(ct,Qt,Jt){var yt=ie(Qt),Pt=ct.getState();ct.setState({defaultActiveFirst:Object(c.a)(Object(c.a)({},Pt.defaultActiveFirst),{},Object(v.a)({},yt,Jt))})},bt=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(Jt){var yt;Object(e.a)(this,Qt),yt=ct.call(this,Jt),yt.onDestroy=function(ir){yt.props.onDestroy(ir)},yt.onKeyDown=function(ir){var Yr=ir.keyCode,Jr=yt.menuInstance,_n=yt.props,Nn=_n.isOpen,zn=_n.store;if(Yr===b.a.ENTER)return yt.onTitleClick(ir),Ue(zn,yt.props.eventKey,!0),!0;if(Yr===b.a.RIGHT)return Nn?Jr.onKeyDown(ir):(yt.triggerOpenChange(!0),Ue(zn,yt.props.eventKey,!0)),!0;if(Yr===b.a.LEFT){var ei;if(Nn)ei=Jr.onKeyDown(ir);else return;return ei||(yt.triggerOpenChange(!1),ei=!0),ei}return Nn&&(Yr===b.a.UP||Yr===b.a.DOWN)?Jr.onKeyDown(ir):void 0},yt.onOpenChange=function(ir){yt.props.onOpenChange(ir)},yt.onPopupVisibleChange=function(ir){yt.triggerOpenChange(ir,ir?"mouseenter":"mouseleave")},yt.onMouseEnter=function(ir){var Yr=yt.props,Jr=Yr.eventKey,_n=Yr.onMouseEnter,Nn=Yr.store;Ue(Nn,yt.props.eventKey,!1),_n({key:Jr,domEvent:ir})},yt.onMouseLeave=function(ir){var Yr=yt.props,Jr=Yr.parentMenu,_n=Yr.eventKey,Nn=Yr.onMouseLeave;Jr.subMenuInstance=Object(i.a)(yt),Nn({key:_n,domEvent:ir})},yt.onTitleMouseEnter=function(ir){var Yr=yt.props,Jr=Yr.eventKey,_n=Yr.onItemHover,Nn=Yr.onTitleMouseEnter;_n({key:Jr,hover:!0}),Nn({key:Jr,domEvent:ir})},yt.onTitleMouseLeave=function(ir){var Yr=yt.props,Jr=Yr.parentMenu,_n=Yr.eventKey,Nn=Yr.onItemHover,zn=Yr.onTitleMouseLeave;Jr.subMenuInstance=Object(i.a)(yt),Nn({key:_n,hover:!1}),zn({key:_n,domEvent:ir})},yt.onTitleClick=function(ir){var Yr=Object(i.a)(yt),Jr=Yr.props;if(Jr.onTitleClick({key:Jr.eventKey,domEvent:ir}),Jr.triggerSubMenuAction==="hover")return;yt.triggerOpenChange(!Jr.isOpen,"click"),Ue(Jr.store,yt.props.eventKey,!1)},yt.onSubMenuClick=function(ir){typeof yt.props.onClick=="function"&&yt.props.onClick(yt.addKeyPath(ir))},yt.onSelect=function(ir){yt.props.onSelect(ir)},yt.onDeselect=function(ir){yt.props.onDeselect(ir)},yt.getPrefixCls=function(){return"".concat(yt.props.rootPrefixCls,"-submenu")},yt.getActiveClassName=function(){return"".concat(yt.getPrefixCls(),"-active")},yt.getDisabledClassName=function(){return"".concat(yt.getPrefixCls(),"-disabled")},yt.getSelectedClassName=function(){return"".concat(yt.getPrefixCls(),"-selected")},yt.getOpenClassName=function(){return"".concat(yt.props.rootPrefixCls,"-submenu-open")},yt.saveMenuInstance=function(ir){yt.menuInstance=ir},yt.addKeyPath=function(ir){return Object(c.a)(Object(c.a)({},ir),{},{keyPath:(ir.keyPath||[]).concat(yt.props.eventKey)})},yt.triggerOpenChange=function(ir,Yr){var Jr=yt.props.eventKey,_n=function(){yt.onOpenChange({key:Jr,item:Object(i.a)(yt),trigger:Yr,open:ir})};Yr==="mouseenter"?yt.mouseenterTimeout=setTimeout(function(){_n()},0):_n()},yt.isChildrenSelected=function(){var ir={find:!1};return Ze(yt.props.children,yt.props.selectedKeys,ir),ir.find},yt.isOpen=function(){return yt.props.openKeys.indexOf(yt.props.eventKey)!==-1},yt.adjustWidth=function(){if(!yt.subMenuTitle||!yt.menuInstance)return;var ir=et.findDOMNode(yt.menuInstance);if(ir.offsetWidth>=yt.subMenuTitle.offsetWidth)return;ir.style.minWidth="".concat(yt.subMenuTitle.offsetWidth,"px")},yt.saveSubMenuTitle=function(ir){yt.subMenuTitle=ir},yt.getBaseProps=function(){var ir=Object(i.a)(yt),Yr=ir.props;return{mode:Yr.mode==="horizontal"?"vertical":Yr.mode,visible:yt.props.isOpen,level:Yr.level+1,inlineIndent:Yr.inlineIndent,focusable:!1,onClick:yt.onSubMenuClick,onSelect:yt.onSelect,onDeselect:yt.onDeselect,onDestroy:yt.onDestroy,selectedKeys:Yr.selectedKeys,eventKey:"".concat(Yr.eventKey,"-menu-"),openKeys:Yr.openKeys,motion:Yr.motion,onOpenChange:yt.onOpenChange,subMenuOpenDelay:Yr.subMenuOpenDelay,parentMenu:Object(i.a)(yt),subMenuCloseDelay:Yr.subMenuCloseDelay,forceSubMenuRender:Yr.forceSubMenuRender,triggerSubMenuAction:Yr.triggerSubMenuAction,builtinPlacements:Yr.builtinPlacements,defaultActiveFirst:Yr.store.getState().defaultActiveFirst[ie(Yr.eventKey)],multiple:Yr.multiple,prefixCls:Yr.rootPrefixCls,id:yt.internalMenuId,manualRef:yt.saveMenuInstance,itemIcon:Yr.itemIcon,expandIcon:Yr.expandIcon,direction:Yr.direction}},yt.getMotion=function(ir,Yr){var Jr=Object(i.a)(yt),_n=Jr.haveRendered,Nn=yt.props,zn=Nn.motion,ei=Nn.rootPrefixCls,vi=Object(c.a)(Object(c.a)({},zn),{},{leavedClassName:"".concat(ei,"-hidden"),removeOnLeave:!1,motionAppear:_n||!Yr||ir!=="inline"});return vi};var Pt=Jt.store,At=Jt.eventKey,Ft=Pt.getState(),pr=Ft.defaultActiveFirst;yt.isRootMenu=!1;var or=!1;return pr&&(or=pr[At]),Ue(Pt,At,or),yt}return Object(a.a)(Qt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var yt=this,Pt=this.props,At=Pt.mode,Ft=Pt.parentMenu,pr=Pt.manualRef;if(pr&&pr(this),At!=="horizontal"||!Ft.isRootMenu||!this.props.isOpen)return;this.minWidthTimeout=setTimeout(function(){return yt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var yt=this.props,Pt=yt.onDestroy,At=yt.eventKey;Pt&&Pt(At),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout)}},{key:"renderChildren",value:function(yt){var Pt=this,At=this.getBaseProps(),Ft=this.getMotion(At.mode,At.visible);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||At.visible||At.forceSubMenuRender,!this.haveOpened)return n.createElement("div",null);var pr=At.direction;return n.createElement(ae.default,Object.assign({visible:At.visible},Ft),function(or){var ir=or.className,Yr=or.style,Jr=T()("".concat(At.prefixCls,"-sub"),ir,Object(v.a)({},"".concat(At.prefixCls,"-rtl"),pr==="rtl"));return n.createElement(Xt,Object.assign({},At,{id:Pt.internalMenuId,className:Jr,style:Yr}),yt)})}},{key:"render",value:function(){var yt,Pt=Object(c.a)({},this.props),At=Pt.isOpen,Ft=this.getPrefixCls(),pr=Pt.mode==="inline",or=T()(Ft,"".concat(Ft,"-").concat(Pt.mode),(yt={},Object(v.a)(yt,Pt.className,!!Pt.className),Object(v.a)(yt,this.getOpenClassName(),At),Object(v.a)(yt,this.getActiveClassName(),Pt.active||At&&!pr),Object(v.a)(yt,this.getDisabledClassName(),Pt.disabled),Object(v.a)(yt,this.getSelectedClassName(),this.isChildrenSelected()),yt));this.internalMenuId||(Pt.eventKey?this.internalMenuId="".concat(Pt.eventKey,"$Menu"):(Te+=1,this.internalMenuId="$__$".concat(Te,"$Menu")));var ir={},Yr={},Jr={};Pt.disabled||(ir={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Yr={onClick:this.onTitleClick},Jr={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var _n={},Nn=Pt.direction;pr&&(Nn==="rtl"?_n.paddingRight=Pt.inlineIndent*Pt.level:_n.paddingLeft=Pt.inlineIndent*Pt.level);var zn={};this.props.isOpen&&(zn={"aria-owns":this.internalMenuId});var ei=null;Pt.mode!=="horizontal"&&(ei=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ei=n.createElement(this.props.expandIcon,Object(c.a)({},this.props))));var vi=n.createElement("div",Object.assign({ref:this.saveSubMenuTitle,style:_n,className:"".concat(Ft,"-title"),role:"button"},Jr,Yr,{"aria-expanded":At},zn,{"aria-haspopup":"true",title:typeof Pt.title=="string"?Pt.title:void 0}),Pt.title,ei||n.createElement("i",{className:"".concat(Ft,"-arrow")})),Pi=this.renderChildren(Pt.children),Ge=Pt.parentMenu.isRootMenu?Pt.parentMenu.props.getPopupContainer:function(hr){return hr.parentNode},we=gt[Pt.mode],Le=Pt.popupOffset?{offset:Pt.popupOffset}:{},De=Pt.mode==="inline"?"":Pt.popupClassName;De+=Nn==="rtl"?" ".concat(Ft,"-rtl"):"";var We=Pt.disabled,Fe=Pt.triggerSubMenuAction,Je=Pt.subMenuOpenDelay,vt=Pt.forceSubMenuRender,st=Pt.subMenuCloseDelay,kt=Pt.builtinPlacements;Se.forEach(function(hr){return delete Pt[hr]}),delete Pt.onClick;var wr=Nn==="rtl"?Object.assign({},ze,kt):Object.assign({},be,kt);return delete Pt.direction,n.createElement("li",Object.assign({},Pt,ir,{className:or,role:"menuitem"}),pr&&vi,pr&&Pi,!pr&&n.createElement(pe.a,{prefixCls:Ft,popupClassName:T()("".concat(Ft,"-popup"),De),getPopupContainer:Ge,builtinPlacements:wr,popupPlacement:we,popupVisible:At,popupAlign:Le,popup:Pi,action:We?[]:[Fe],mouseEnterDelay:Je,mouseLeaveDelay:st,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:vt},vi))}}]),Qt}(n.Component);bt.defaultProps={onMouseEnter:he,onMouseLeave:he,onTitleMouseEnter:he,onTitleMouseLeave:he,onTitleClick:he,manualRef:he,mode:"vertical",title:""};var wt=Object(m.b)(function(pt,ct){var Qt=pt.openKeys,Jt=pt.activeKey,yt=pt.selectedKeys,Pt=ct.eventKey,At=ct.subMenuKey;return{isOpen:Qt.indexOf(Pt)>-1,active:Jt[At]===Pt,selectedKeys:yt}})(bt);wt.isSubMenu=!0;var Et=wt,xt="menuitem-overflowed",Tt=.5,Be=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=ct.apply(this,arguments),Jt.resizeObserver=null,Jt.mutationObserver=null,Jt.originalTotalWidth=0,Jt.overflowedItems=[],Jt.menuItemSizes=[],Jt.cancelFrameId=null,Jt.state={lastVisibleIndex:void 0},Jt.getMenuItemNodes=function(){var yt=Jt.props.prefixCls,Pt=et.findDOMNode(Object(i.a)(Jt));return Pt?[].slice.call(Pt.children).filter(function(At){return At.className.split(" ").indexOf("".concat(yt,"-overflowed-submenu"))<0}):[]},Jt.getOverflowedSubMenuItem=function(yt,Pt,At){var Ft=Jt.props,pr=Ft.overflowedIndicator,or=Ft.level,ir=Ft.mode,Yr=Ft.prefixCls,Jr=Ft.theme;if(or!==1||ir!=="horizontal")return null;var _n=Jt.props.children[0],Nn=_n.props,zn=Nn.children,ei=Nn.title,vi=Nn.style,Pi=Object(je.a)(Nn,["children","title","style"]),Ge=Object(c.a)({},vi),we="".concat(yt,"-overflowed-indicator"),Le="".concat(yt,"-overflowed-indicator");Pt.length===0&&At!==!0?Ge=Object(c.a)(Object(c.a)({},Ge),{},{display:"none"}):At&&(Ge=Object(c.a)(Object(c.a)({},Ge),{},{visibility:"hidden",position:"absolute"}),we="".concat(we,"-placeholder"),Le="".concat(Le,"-placeholder"));var De=Jr?"".concat(Yr,"-").concat(Jr):"",We={};return Se.forEach(function(Fe){Pi[Fe]!==void 0&&(We[Fe]=Pi[Fe])}),n.createElement(Et,Object.assign({title:pr,className:"".concat(Yr,"-overflowed-submenu"),popupClassName:De},We,{key:we,eventKey:Le,disabled:!1,style:Ge}),Pt)},Jt.setChildrenWidthAndResize=function(){if(Jt.props.mode!=="horizontal")return;var yt=et.findDOMNode(Object(i.a)(Jt));if(!yt)return;var Pt=yt.children;if(!Pt||Pt.length===0)return;var At=yt.children[Pt.length-1];it(At,"display","inline-block");var Ft=Jt.getMenuItemNodes(),pr=Ft.filter(function(or){return or.className.split(" ").indexOf(xt)>=0});pr.forEach(function(or){it(or,"display","inline-block")}),Jt.menuItemSizes=Ft.map(function(or){return Ne(or,!0)}),pr.forEach(function(or){it(or,"display","none")}),Jt.overflowedIndicatorWidth=Ne(yt.children[yt.children.length-1],!0),Jt.originalTotalWidth=Jt.menuItemSizes.reduce(function(or,ir){return or+ir},0),Jt.handleResize(),it(At,"display","none")},Jt.handleResize=function(){if(Jt.props.mode!=="horizontal")return;var yt=et.findDOMNode(Object(i.a)(Jt));if(!yt)return;var Pt=Ne(yt);Jt.overflowedItems=[];var At=0,Ft;Jt.originalTotalWidth>Pt+Tt&&(Ft=-1,Jt.menuItemSizes.forEach(function(pr){At+=pr,At+Jt.overflowedIndicatorWidth<=Pt&&(Ft+=1)})),Jt.setState({lastVisibleIndex:Ft})},Jt}return Object(a.a)(Qt,[{key:"componentDidMount",value:function(){var yt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Pt=et.findDOMNode(this);if(!Pt)return;this.resizeObserver=new He.default(function(At){At.forEach(function(){var Ft=yt.cancelFrameId;cancelAnimationFrame(Ft),yt.cancelFrameId=requestAnimationFrame(yt.setChildrenWidthAndResize)})}),[].slice.call(Pt.children).concat(Pt).forEach(function(At){yt.resizeObserver.observe(At)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){yt.resizeObserver.disconnect(),[].slice.call(Pt.children).concat(Pt).forEach(function(At){yt.resizeObserver.observe(At)}),yt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Pt,{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(yt){var Pt=this,At=this.state.lastVisibleIndex;return(yt||[]).reduce(function(Ft,pr,or){var ir=pr;if(Pt.props.mode==="horizontal"){var Yr=Pt.getOverflowedSubMenuItem(pr.props.eventKey,[]);At!==void 0&&Pt.props.className.indexOf("".concat(Pt.props.prefixCls,"-root"))!==-1&&(or>At&&(ir=n.cloneElement(pr,{style:{display:"none"},eventKey:"".concat(pr.props.eventKey,"-hidden"),className:"".concat(xt)})),or===At+1&&(Pt.overflowedItems=yt.slice(At+1).map(function(_n){return n.cloneElement(_n,{key:_n.props.eventKey,mode:"vertical-left"})}),Yr=Pt.getOverflowedSubMenuItem(pr.props.eventKey,Pt.overflowedItems)));var Jr=[].concat(Object(nt.a)(Ft),[Yr,ir]);return or===yt.length-1&&Jr.push(Pt.getOverflowedSubMenuItem(pr.props.eventKey,[],!0)),Jr}return[].concat(Object(nt.a)(Ft),[ir])},[])}},{key:"render",value:function(){var yt=this.props,Pt=yt.visible,At=yt.prefixCls,Ft=yt.overflowedIndicator,pr=yt.mode,or=yt.level,ir=yt.tag,Yr=yt.children,Jr=yt.theme,_n=Object(je.a)(yt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Nn=ir;return n.createElement(Nn,Object.assign({},_n),this.renderChildren(Yr))}}]),Qt}(n.Component);Be.defaultProps={tag:"div",className:""};var ce=Be;function q(pt){return pt.length?pt.every(function(ct){return!!ct.props.disabled}):!0}function dt(pt,ct,Qt){var Jt=pt.getState();pt.setState({activeKey:Object(c.a)(Object(c.a)({},Jt.activeKey),{},Object(v.a)({},ct,Qt))})}function Ve(pt){return pt.eventKey||"0-menu-"}function de(pt,ct){var Qt=ct,Jt=pt.children,yt=pt.eventKey;if(Qt){var Pt;if(ee(Jt,function(At,Ft){At&&At.props&&!At.props.disabled&&Qt===xe(At,yt,Ft)&&(Pt=!0)}),Pt)return Qt}return Qt=null,pt.defaultActiveFirst&&ee(Jt,function(At,Ft){!Qt&&At&&!At.props.disabled&&(Qt=xe(At,yt,Ft))}),Qt}function Ht(pt){if(pt){var ct=this.instanceArray.indexOf(pt);ct!==-1?this.instanceArray[ct]=pt:this.instanceArray.push(pt)}}var tr=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(Jt){var yt;return Object(e.a)(this,Qt),yt=ct.call(this,Jt),yt.onKeyDown=function(Pt,At){var Ft=Pt.keyCode,pr;if(yt.getFlatInstanceArray().forEach(function(ir){ir&&ir.props.active&&ir.onKeyDown&&(pr=ir.onKeyDown(Pt))}),pr)return 1;var or=null;return(Ft===b.a.UP||Ft===b.a.DOWN)&&(or=yt.step(Ft===b.a.UP?-1:1)),or?(Pt.preventDefault(),dt(yt.props.store,Ve(yt.props),or.props.eventKey),typeof At=="function"&&At(or),1):void 0},yt.onItemHover=function(Pt){var At=Pt.key,Ft=Pt.hover;dt(yt.props.store,Ve(yt.props),Ft?At:null)},yt.onDeselect=function(Pt){yt.props.onDeselect(Pt)},yt.onSelect=function(Pt){yt.props.onSelect(Pt)},yt.onClick=function(Pt){yt.props.onClick(Pt)},yt.onOpenChange=function(Pt){yt.props.onOpenChange(Pt)},yt.onDestroy=function(Pt){yt.props.onDestroy(Pt)},yt.getFlatInstanceArray=function(){return yt.instanceArray},yt.step=function(Pt){var At=yt.getFlatInstanceArray(),Ft=yt.props.store.getState().activeKey[Ve(yt.props)],pr=At.length;if(!pr)return null;Pt<0&&(At=At.concat().reverse());var or=-1;if(At.every(function(_n,Nn){return _n&&_n.props.eventKey===Ft?(or=Nn,!1):!0}),!yt.props.defaultActiveFirst&&or!==-1&&q(At.slice(or,pr-1)))return;var ir=(or+1)%pr,Yr=ir;do{var Jr=At[Yr];if(!Jr||Jr.props.disabled)Yr=(Yr+1)%pr;else return Jr}while(Yr!==ir);return null},yt.renderCommonMenuItem=function(Pt,At,Ft){var pr=yt.props.store.getState(),or=Object(i.a)(yt),ir=or.props,Yr=xe(Pt,ir.eventKey,At),Jr=Pt.props;if(!Jr||typeof Pt.type=="string")return Pt;var _n=Yr===pr.activeKey,Nn=Object(c.a)(Object(c.a)({mode:Jr.mode||ir.mode,level:ir.level,inlineIndent:ir.inlineIndent,renderMenuItem:yt.renderMenuItem,rootPrefixCls:ir.prefixCls,index:At,parentMenu:ir.parentMenu,manualRef:Jr.disabled?void 0:Object(S.a)(Pt.ref,Ht.bind(Object(i.a)(yt))),eventKey:Yr,active:!Jr.disabled&&_n,multiple:ir.multiple,onClick:function(ei){(Jr.onClick||he)(ei),yt.onClick(ei)},onItemHover:yt.onItemHover,motion:ir.motion,subMenuOpenDelay:ir.subMenuOpenDelay,subMenuCloseDelay:ir.subMenuCloseDelay,forceSubMenuRender:ir.forceSubMenuRender,onOpenChange:yt.onOpenChange,onDeselect:yt.onDeselect,onSelect:yt.onSelect,builtinPlacements:ir.builtinPlacements,itemIcon:Jr.itemIcon||yt.props.itemIcon,expandIcon:Jr.expandIcon||yt.props.expandIcon},Ft),{},{direction:ir.direction});return(ir.mode==="inline"||Ye())&&(Nn.triggerSubMenuAction="click"),n.cloneElement(Pt,Nn)},yt.renderMenuItem=function(Pt,At,Ft){if(!Pt)return null;var pr=yt.props.store.getState(),or={openKeys:pr.openKeys,selectedKeys:pr.selectedKeys,triggerSubMenuAction:yt.props.triggerSubMenuAction,subMenuKey:Ft};return yt.renderCommonMenuItem(Pt,At,or)},Jt.store.setState({activeKey:Object(c.a)(Object(c.a)({},Jt.store.getState().activeKey),{},Object(v.a)({},Jt.eventKey,de(Jt,Jt.activeKey)))}),yt.instanceArray=[],yt}return Object(a.a)(Qt,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(yt){return this.props.visible||yt.visible||this.props.className!==yt.className||!w()(this.props.style,yt.style)}},{key:"componentDidUpdate",value:function(yt){var Pt=this.props,At="activeKey"in Pt?Pt.activeKey:Pt.store.getState().activeKey[Ve(Pt)],Ft=de(Pt,At);if(Ft!==At)dt(Pt.store,Ve(Pt),Ft);else if("activeKey"in yt){var pr=de(yt,yt.activeKey);Ft!==pr&&dt(Pt.store,Ve(Pt),Ft)}}},{key:"render",value:function(){var yt=this,Pt=Object(g.a)({},this.props);this.instanceArray=[];var At=T()(Pt.prefixCls,Pt.className,"".concat(Pt.prefixCls,"-").concat(Pt.mode)),Ft={className:At,role:Pt.role||"menu"};Pt.id&&(Ft.id=Pt.id),Pt.focusable&&(Ft.tabIndex=0,Ft.onKeyDown=this.onKeyDown);var pr=Pt.prefixCls,or=Pt.eventKey,ir=Pt.visible,Yr=Pt.level,Jr=Pt.mode,_n=Pt.overflowedIndicator,Nn=Pt.theme;return Se.forEach(function(zn){return delete Pt[zn]}),delete Pt.onClick,n.createElement(ce,Object.assign({},Pt,{prefixCls:pr,mode:Jr,tag:"ul",level:Yr,theme:Nn,visible:ir,overflowedIndicator:_n},Ft),n.Children.map(Pt.children,function(zn,ei){return yt.renderMenuItem(zn,ei,or||"0-menu-")}))}}]),Qt}(n.Component);tr.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:he};var lt=Object(m.b)()(tr),Xt=lt,sr=d("Kwbf");function Kr(pt,ct,Qt){var Jt=pt.prefixCls,yt=pt.motion,Pt=pt.defaultMotions,At=Pt===void 0?{}:Pt,Ft=pt.openAnimation,pr=pt.openTransitionName,or=ct.switchingModeFromInline;if(yt)return yt;if(Object(L.a)(Ft)==="object"&&Ft)Object(sr.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Ft=="string")return{motionName:"".concat(Jt,"-open-").concat(Ft)};if(pr)return{motionName:pr};var ir=At[Qt];return ir||(or?null:At.other)}var rr=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(Jt){var yt;Object(e.a)(this,Qt),yt=ct.call(this,Jt),yt.inlineOpenKeys=[],yt.onSelect=function(Ft){var pr=Object(i.a)(yt),or=pr.props;if(or.selectable){var ir=yt.store.getState(),Yr=ir.selectedKeys,Jr=Ft.key;or.multiple?Yr=Yr.concat([Jr]):Yr=[Jr],"selectedKeys"in or||yt.store.setState({selectedKeys:Yr}),or.onSelect(Object(c.a)(Object(c.a)({},Ft),{},{selectedKeys:Yr}))}},yt.onClick=function(Ft){var pr=yt.getRealMenuMode(),or=Object(i.a)(yt),ir=or.store,Yr=or.props.onOpenChange;pr!=="inline"&&!("openKeys"in yt.props)&&(ir.setState({openKeys:[]}),Yr([])),yt.props.onClick(Ft)},yt.onKeyDown=function(Ft,pr){yt.innerMenu.getWrappedInstance().onKeyDown(Ft,pr)},yt.onOpenChange=function(Ft){var pr=Object(i.a)(yt),or=pr.props,ir=yt.store.getState().openKeys.concat(),Yr=!1,Jr=function(Nn){var zn=!1;if(Nn.open)zn=ir.indexOf(Nn.key)===-1,zn&&ir.push(Nn.key);else{var ei=ir.indexOf(Nn.key);zn=ei!==-1,zn&&ir.splice(ei,1)}Yr=Yr||zn};Array.isArray(Ft)?Ft.forEach(Jr):Jr(Ft),Yr&&("openKeys"in yt.props||yt.store.setState({openKeys:ir}),or.onOpenChange(ir))},yt.onDeselect=function(Ft){var pr=Object(i.a)(yt),or=pr.props;if(or.selectable){var ir=yt.store.getState().selectedKeys.concat(),Yr=Ft.key,Jr=ir.indexOf(Yr);Jr!==-1&&ir.splice(Jr,1),"selectedKeys"in or||yt.store.setState({selectedKeys:ir}),or.onDeselect(Object(c.a)(Object(c.a)({},Ft),{},{selectedKeys:ir}))}},yt.onMouseEnter=function(Ft){yt.restoreModeVerticalFromInline();var pr=yt.props.onMouseEnter;pr&&pr(Ft)},yt.onTransitionEnd=function(Ft){var pr=Ft.propertyName==="width"&&Ft.target===Ft.currentTarget,or=Ft.target.className,ir=Object.prototype.toString.call(or)==="[object SVGAnimatedString]"?or.animVal:or,Yr=Ft.propertyName==="font-size"&&ir.indexOf("anticon")>=0;(pr||Yr)&&yt.restoreModeVerticalFromInline()},yt.setInnerMenu=function(Ft){yt.innerMenu=Ft},yt.isRootMenu=!0;var Pt=Jt.defaultSelectedKeys,At=Jt.defaultOpenKeys;return"selectedKeys"in Jt&&(Pt=Jt.selectedKeys||[]),"openKeys"in Jt&&(At=Jt.openKeys||[]),yt.store=Object(m.c)({selectedKeys:Pt,openKeys:At,activeKey:{"0-menu-":de(Jt,Jt.activeKey)}}),yt.state={switchingModeFromInline:!1},yt}return Object(a.a)(Qt,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(yt){this.updateOpentKeysWhenSwitchMode(yt),this.updateMiniStore();var Pt=this.props,At=Pt.siderCollapsed,Ft=Pt.inlineCollapsed,pr=Pt.onOpenChange;(!yt.inlineCollapsed&&Ft||!yt.siderCollapsed&&At)&&pr([]),this.updateMenuDisplay()}},{key:"updateOpentKeysWhenSwitchMode",value:function(yt){var Pt=this.props,At=this.store,Ft=this.inlineOpenKeys,pr=At.getState(),or={};yt.mode==="inline"&&Pt.mode!=="inline"&&this.setState({switchingModeFromInline:!0}),"openKeys"in Pt||((Pt.inlineCollapsed&&!yt.inlineCollapsed||Pt.siderCollapsed&&!yt.siderCollapsed)&&(this.setState({switchingModeFromInline:!0}),this.inlineOpenKeys=pr.openKeys.concat(),or.openKeys=[]),(!Pt.inlineCollapsed&&yt.inlineCollapsed||!Pt.siderCollapsed&&yt.siderCollapsed)&&(or.openKeys=Ft,this.inlineOpenKeys=[])),Object.keys(or).length&&At.setState(or)}},{key:"updateMenuDisplay",value:function(){var yt=this.props.collapsedWidth,Pt=this.store,At=this.prevOpenKeys,Ft=this.getInlineCollapsed()&&(yt===0||yt==="0"||yt==="0px");Ft?(this.prevOpenKeys=Pt.getState().openKeys.concat(),this.store.setState({openKeys:[]})):At&&(this.store.setState({openKeys:At}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var yt=this.props.mode,Pt=this.state.switchingModeFromInline,At=this.getInlineCollapsed();return Pt&&At?"inline":At?"vertical":yt}},{key:"getInlineCollapsed",value:function(){var yt=this.props,Pt=yt.inlineCollapsed,At=yt.siderCollapsed;return At!==void 0?At:Pt}},{key:"restoreModeVerticalFromInline",value:function(){var yt=this.state.switchingModeFromInline;yt&&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 yt=Object(c.a)({},Object(A.default)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Pt=this.getRealMenuMode();return yt.className+=" ".concat(yt.prefixCls,"-root"),yt.direction==="rtl"&&(yt.className+=" ".concat(yt.prefixCls,"-rtl")),yt=Object(c.a)(Object(c.a)({},yt),{},{mode:Pt,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Kr(this.props,this.state,Pt)}),delete yt.openAnimation,delete yt.openTransitionName,n.createElement(m.a,{store:this.store},n.createElement(Xt,Object.assign({},yt,{ref:this.setInnerMenu}),this.props.children))}}]),Qt}(n.Component);rr.defaultProps={selectable:!0,onClick:he,onSelect:he,onOpenChange:he,onDeselect:he,defaultSelectedKeys:[],defaultOpenKeys:[],subMenuOpenDelay:.1,subMenuCloseDelay:.1,triggerSubMenuAction:"hover",prefixCls:"rc-menu",className:"",mode:"vertical",style:{},builtinPlacements:{},overflowedIndicator:n.createElement("span",null,"\xB7\xB7\xB7")};var nr=rr,Nt=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=ct.apply(this,arguments),Jt.onKeyDown=function(yt){var Pt=yt.keyCode;return Pt===b.a.ENTER?(Jt.onClick(yt),!0):void 0},Jt.onMouseLeave=function(yt){var Pt=Jt.props,At=Pt.eventKey,Ft=Pt.onItemHover,pr=Pt.onMouseLeave;Ft({key:At,hover:!1}),pr({key:At,domEvent:yt})},Jt.onMouseEnter=function(yt){var Pt=Jt.props,At=Pt.eventKey,Ft=Pt.onItemHover,pr=Pt.onMouseEnter;Ft({key:At,hover:!0}),pr({key:At,domEvent:yt})},Jt.onClick=function(yt){var Pt=Jt.props,At=Pt.eventKey,Ft=Pt.multiple,pr=Pt.onClick,or=Pt.onSelect,ir=Pt.onDeselect,Yr=Pt.isSelected,Jr={key:At,keyPath:[At],item:Object(i.a)(Jt),domEvent:yt};pr(Jr),Ft?Yr?ir(Jr):or(Jr):Yr||or(Jr)},Jt.saveNode=function(yt){Jt.node=yt},Jt}return Object(a.a)(Qt,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var yt=this.props;yt.onDestroy&&yt.onDestroy(yt.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 yt,Pt=Object(c.a)({},this.props),At=T()(this.getPrefixCls(),Pt.className,(yt={},Object(v.a)(yt,this.getActiveClassName(),!Pt.disabled&&Pt.active),Object(v.a)(yt,this.getSelectedClassName(),Pt.isSelected),Object(v.a)(yt,this.getDisabledClassName(),Pt.disabled),yt)),Ft=Object(c.a)(Object(c.a)({},Pt.attribute),{},{title:typeof Pt.title=="string"?Pt.title:void 0,className:At,role:Pt.role||"menuitem","aria-disabled":Pt.disabled});Pt.role==="option"?Ft=Object(c.a)(Object(c.a)({},Ft),{},{role:"option","aria-selected":Pt.isSelected}):(Pt.role===null||Pt.role==="none")&&(Ft.role="none");var pr={onClick:Pt.disabled?null:this.onClick,onMouseLeave:Pt.disabled?null:this.onMouseLeave,onMouseEnter:Pt.disabled?null:this.onMouseEnter},or=Object(c.a)({},Pt.style);Pt.mode==="inline"&&(Pt.direction==="rtl"?or.paddingRight=Pt.inlineIndent*Pt.level:or.paddingLeft=Pt.inlineIndent*Pt.level),Se.forEach(function(Yr){return delete Pt[Yr]}),delete Pt.direction;var ir=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(ir=n.createElement(this.props.itemIcon,this.props)),n.createElement("li",Object.assign({},Object(A.default)(Pt,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Ft,pr,{style:or,ref:this.saveNode}),Pt.children,ir)}}]),Qt}(n.Component);Nt.isMenuItem=!0,Nt.defaultProps={onSelect:he,onMouseEnter:he,onMouseLeave:he,manualRef:he};var ot=Object(m.b)(function(pt,ct){var Qt=pt.activeKey,Jt=pt.selectedKeys,yt=ct.eventKey,Pt=ct.subMenuKey;return{active:Qt[Pt]===yt,isSelected:Jt.indexOf(yt)!==-1}})(Nt),Qe=ot,qt=function(pt){Object(u.a)(Qt,pt);var ct=Object(f.a)(Qt);function Qt(){var Jt;return Object(e.a)(this,Qt),Jt=ct.apply(this,arguments),Jt.renderInnerMenuItem=function(yt){var Pt=Jt.props,At=Pt.renderMenuItem,Ft=Pt.index;return At(yt,Ft,Jt.props.subMenuKey)},Jt}return Object(a.a)(Qt,[{key:"render",value:function(){var yt=Object(g.a)({},this.props),Pt=yt.className,At=Pt===void 0?"":Pt,Ft=yt.rootPrefixCls,pr="".concat(Ft,"-item-group-title"),or="".concat(Ft,"-item-group-list"),ir=yt.title,Yr=yt.children;return Se.forEach(function(Jr){return delete yt[Jr]}),delete yt.onClick,delete yt.direction,n.createElement("li",Object.assign({},yt,{className:"".concat(At," ").concat(Ft,"-item-group")}),n.createElement("div",{className:pr,title:typeof ir=="string"?ir:void 0},ir),n.createElement("ul",{className:or},n.Children.map(Yr,this.renderInnerMenuItem)))}}]),Qt}(n.Component);qt.isMenuItemGroup=!0,qt.defaultProps={disabled:!0};var xr=qt,vr=function(ct){var Qt=ct.className,Jt=ct.rootPrefixCls,yt=ct.style;return n.createElement("li",{className:"".concat(Qt," ").concat(Jt,"-item-divider"),style:yt})};vr.defaultProps={disabled:!0,className:"",style:{}};var fr=vr,An=nr,$r=Object(n.createContext)({inlineCollapsed:!1}),Ln=$r,$e=d("0n0R"),tt=function(pt){r()(Qt,pt);var ct=l()(Qt);function Qt(){return t()(this,Qt),ct.apply(this,arguments)}return h()(Qt,[{key:"renderTitle",value:function(yt){var Pt=this.props,At=Pt.icon,Ft=Pt.title,pr=Pt.level,or=Pt.rootPrefixCls;if(!At)return yt&&pr===1&&Ft&&typeof Ft=="string"?n.createElement("div",{className:"".concat(or,"-inline-collapsed-noicon")},Ft.charAt(0)):Ft;var ir=Object($e.b)(Ft)&&Ft.type==="span";return n.createElement(n.Fragment,null,At,ir?Ft:n.createElement("span",null,Ft))}},{key:"render",value:function(){var yt=this,Pt=this.props,At=Pt.rootPrefixCls,Ft=Pt.popupClassName;return n.createElement(Ln.Consumer,null,function(pr){var or=pr.inlineCollapsed,ir=pr.antdMenuTheme;return n.createElement(Et,_()({},Object(A.default)(yt.props,["icon"]),{title:yt.renderTitle(or),popupClassName:T()(At,"".concat(At,"-").concat(ir),Ft)}))})}}]),Qt}(n.Component);tt.contextType=Ln,tt.isSubMenu=1;var ve=tt,_e=d("Zm9Q"),ke=d("3S7+"),rt=d("ZX9x"),Wt=function(pt,ct){var Qt={};for(var Jt in pt)Object.prototype.hasOwnProperty.call(pt,Jt)&&ct.indexOf(Jt)<0&&(Qt[Jt]=pt[Jt]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var yt=0,Jt=Object.getOwnPropertySymbols(pt);yt<Jt.length;yt++)ct.indexOf(Jt[yt])<0&&Object.prototype.propertyIsEnumerable.call(pt,Jt[yt])&&(Qt[Jt[yt]]=pt[Jt[yt]]);return Qt},Bt=function(pt){r()(Qt,pt);var ct=l()(Qt);function Qt(){var Jt;return t()(this,Qt),Jt=ct.apply(this,arguments),Jt.renderItem=function(yt){var Pt=yt.siderCollapsed,At=Jt.props,Ft=At.level,pr=At.className,or=At.children,ir=At.rootPrefixCls,Yr=Jt.props,Jr=Yr.title,_n=Yr.icon,Nn=Yr.danger,zn=Wt(Yr,["title","icon","danger"]);return n.createElement(Ln.Consumer,null,function(ei){var vi,Pi=ei.inlineCollapsed,Ge=ei.direction,we=Jr;typeof Jr=="undefined"?we=Ft===1?or:"":Jr===!1&&(we="");var Le={title:we};!Pt&&!Pi&&(Le.title=null,Le.visible=!1);var De=Object(_e.a)(or).length;return n.createElement(ke.a,_()({},Le,{placement:Ge==="rtl"?"left":"right",overlayClassName:"".concat(ir,"-inline-collapsed-tooltip")}),n.createElement(Qe,_()({},zn,{className:T()(pr,(vi={},E()(vi,"".concat(ir,"-item-danger"),Nn),E()(vi,"".concat(ir,"-item-only-child"),(_n?De+1:De)===1),vi)),title:Jr}),_n,Jt.renderItemChildren(Pi)))})},Jt}return h()(Qt,[{key:"renderItemChildren",value:function(yt){var Pt=this.props,At=Pt.icon,Ft=Pt.children,pr=Pt.level,or=Pt.rootPrefixCls;return!At||Object($e.b)(Ft)&&Ft.type==="span"?Ft&&yt&&pr===1&&typeof Ft=="string"?n.createElement("div",{className:"".concat(or,"-inline-collapsed-noicon")},Ft.charAt(0)):Ft:n.createElement("span",null,Ft)}},{key:"render",value:function(){return n.createElement(rt.a.Consumer,null,this.renderItem)}}]),Qt}(n.Component);Bt.isMenuItem=!0;var Gt=d("H84U"),Rr=d("uaoM"),Pr=d("EXcs"),cn=function(pt){r()(Qt,pt);var ct=l()(Qt);function Qt(Jt){var yt;return t()(this,Qt),yt=ct.call(this,Jt),yt.renderMenu=function(Pt){var At=Pt.getPopupContainer,Ft=Pt.getPrefixCls,pr=Pt.direction,or=yt.props,ir=or.prefixCls,Yr=or.className,Jr=or.theme,_n={horizontal:{motionName:"slide-up"},inline:Pr.a,other:{motionName:"zoom-big"}},Nn=Ft("menu",ir),zn=T()(Yr,"".concat(Nn,"-").concat(Jr),E()({},"".concat(Nn,"-inline-collapsed"),yt.getInlineCollapsed()));return n.createElement(Ln.Provider,{value:{inlineCollapsed:yt.getInlineCollapsed()||!1,antdMenuTheme:Jr,direction:pr}},n.createElement(An,_()({getPopupContainer:At},yt.props,{className:zn,prefixCls:Nn,direction:pr,defaultMotions:_n})))},Object(Rr.a)(!("inlineCollapsed"in Jt&&Jt.mode!=="inline"),"Menu","`inlineCollapsed` should only be used when `mode` is inline."),Object(Rr.a)(!(Jt.siderCollapsed!==void 0&&"inlineCollapsed"in Jt),"Menu","`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead."),yt}return h()(Qt,[{key:"getInlineCollapsed",value:function(){var yt=this.props,Pt=yt.inlineCollapsed,At=yt.siderCollapsed;return At!==void 0?At:Pt}},{key:"render",value:function(){return n.createElement(Gt.a,null,this.renderMenu)}}]),Qt}(n.Component);cn.defaultProps={className:"",theme:"light",focusable:!1};var Ut=function(pt){r()(Qt,pt);var ct=l()(Qt);function Qt(){return t()(this,Qt),ct.apply(this,arguments)}return h()(Qt,[{key:"render",value:function(){var yt=this;return n.createElement(rt.a.Consumer,null,function(Pt){return n.createElement(cn,_()({},yt.props,Pt))})}}]),Qt}(n.Component);Ut.Divider=fr,Ut.Item=Bt,Ut.SubMenu=ve,Ut.ItemGroup=xr},C0SR:function(ue,z,d){var O=d("YH21"),_=function(){this._track=[]};_.prototype={constructor:_,recognize:function(h,o,r){return this._doTrack(h,o,r),this._recognize(h)},clear:function(){return this._track.length=0,this},_doTrack:function(h,o,r){var s=h.touches;if(!s)return;for(var l={points:[],touches:[],target:o,event:h},n=0,c=s.length;n<c;n++){var e=s[n],a=O.clientToLocal(r,e,{});l.points.push([a.zrX,a.zrY]),l.touches.push(e)}this._track.push(l)},_recognize:function(h){for(var o in C)if(C.hasOwnProperty(o)){var r=C[o](this._track,h);if(r)return r}}};function I(p){var h=p[1][0]-p[0][0],o=p[1][1]-p[0][1];return Math.sqrt(h*h+o*o)}function E(p){return[(p[0][0]+p[1][0])/2,(p[0][1]+p[1][1])/2]}var C={pinch:function(h,o){var r=h.length;if(!r)return;var s=(h[r-1]||{}).points,l=(h[r-2]||{}).points||s;if(l&&l.length>1&&s&&s.length>1){var n=I(s)/I(l);!isFinite(n)&&(n=1),o.pinchScale=n;var c=E(s);return o.pinchX=c[0],o.pinchY=c[1],{type:"pinch",target:h[0].target,event:o}}}},t=_;ue.exports=t},C0tN:function(ue,z,d){d("0o9m"),d("8Uz6"),d("Ducp"),d("6/nd")},CBdT:function(ue,z,d){var O=d("ProS");d("8waO"),d("AEZ6"),d("YNf1");var _=d("q3GZ");O.registerVisual(_)},CF2D:function(ue,z,d){var O=d("ProS");d("vZI5"),d("GeKi");var _=d("6r85"),I=d("TJmX"),E=d("CbHG");O.registerPreprocessor(_),O.registerVisual(I),O.registerLayout(E)},CFYs:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("PJYZ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d.n(e),i=d("TSYQ"),u=d.n(i),f=d("BGR+"),m=d("V/uB"),A=d.n(m),g=d("NAnI"),v=d.n(g),b=d("J84W"),S=d.n(b),y=d("kbBi"),w=d.n(y),x=d("H84U"),T=d("CWQg"),L=d("uaoM"),R=d("Zss7"),P=d.n(R),k=2,U=.16,D=.05,M=.05,B=.15,j=5,H=4,K=[{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(Bt,Gt,Rr){var Pr;return Math.round(Bt.h)>=60&&Math.round(Bt.h)<=240?Pr=Rr?Math.round(Bt.h)-k*Gt:Math.round(Bt.h)+k*Gt:Pr=Rr?Math.round(Bt.h)+k*Gt:Math.round(Bt.h)-k*Gt,Pr<0?Pr+=360:Pr>=360&&(Pr-=360),Pr}function X(Bt,Gt,Rr){if(Bt.h===0&&Bt.s===0)return Bt.s;var Pr;return Rr?Pr=Bt.s-U*Gt:Gt===H?Pr=Bt.s+U:Pr=Bt.s+D*Gt,Pr>1&&(Pr=1),Rr&&Gt===j&&Pr>.1&&(Pr=.1),Pr<.06&&(Pr=.06),Number(Pr.toFixed(2))}function V(Bt,Gt,Rr){var Pr;return Rr?Pr=Bt.v+M*Gt:Pr=Bt.v-B*Gt,Pr>1&&(Pr=1),Number(Pr.toFixed(2))}function Z(Bt){for(var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rr=[],Pr=P()(Bt),cn=j;cn>0;cn-=1){var Ut=Pr.toHsv(),pt=P()({h:W(Ut,cn,!0),s:X(Ut,cn,!0),v:V(Ut,cn,!0)}).toHexString();Rr.push(pt)}Rr.push(Pr.toHexString());for(var ct=1;ct<=H;ct+=1){var Qt=Pr.toHsv(),Jt=P()({h:W(Qt,ct),s:X(Qt,ct),v:V(Qt,ct)}).toHexString();Rr.push(Jt)}return Gt.theme==="dark"?K.map(function(yt){var Pt=yt.index,At=yt.opacity,Ft=P.a.mix(Gt.backgroundColor||"#141414",Rr[Pt],At*100).toHexString();return Ft}):Rr}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"},Y={},te={};Object.keys(G).forEach(function(Bt){Y[Bt]=Z(G[Bt]),Y[Bt].primary=Y[Bt][5],te[Bt]=Z(G[Bt],{theme:"dark",backgroundColor:"#141414"}),te[Bt].primary=te[Bt][5]});var se=Y.red,Ce=Y.volcano,he=Y.gold,xe=Y.orange,ie=Y.yellow,ee=Y.lime,Ze=Y.green,Se=Y.cyan,Ne=Y.blue,it=Y.geekblue,Ye=Y.purple,nt=Y.magenta,je=Y.grey;function et(Bt){return!Bt||Bt<0?0:Bt>100?100:Bt}function He(Bt){var Gt=Bt.success,Rr=Bt.successPercent,Pr=Rr;return Gt&&"progress"in Gt&&(Object(L.a)(!1,"Progress","`success.progress` is deprecated. Please use `success.percent` instead."),Pr=Gt.progress),Gt&&"percent"in Gt&&(Pr=Gt.percent),Pr}var pe=function(Bt,Gt){var Rr={};for(var Pr in Bt)Object.prototype.hasOwnProperty.call(Bt,Pr)&&Gt.indexOf(Pr)<0&&(Rr[Pr]=Bt[Pr]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Pr=Object.getOwnPropertySymbols(Bt);cn<Pr.length;cn++)Gt.indexOf(Pr[cn])<0&&Object.prototype.propertyIsEnumerable.call(Bt,Pr[cn])&&(Rr[Pr[cn]]=Bt[Pr[cn]]);return Rr},ae=function(Gt){var Rr=[];return Object.keys(Gt).forEach(function(Pr){var cn=parseFloat(Pr.replace(/%/g,""));isNaN(cn)||Rr.push({key:cn,value:Gt[Pr]})}),Rr=Rr.sort(function(Pr,cn){return Pr.key-cn.key}),Rr.map(function(Pr){var cn=Pr.key,Ut=Pr.value;return"".concat(Ut," ").concat(cn,"%")}).join(", ")},re=function(Gt){var Rr=Gt.from,Pr=Rr===void 0?G.blue:Rr,cn=Gt.to,Ut=cn===void 0?G.blue:cn,pt=Gt.direction,ct=pt===void 0?"to right":pt,Qt=pe(Gt,["from","to","direction"]);if(Object.keys(Qt).length!==0){var Jt=ae(Qt);return{backgroundImage:"linear-gradient(".concat(ct,", ").concat(Jt,")")}}return{backgroundImage:"linear-gradient(".concat(ct,", ").concat(Pr,", ").concat(Ut,")")}},be=function(Gt){var Rr=Gt.prefixCls,Pr=Gt.percent,cn=Gt.strokeWidth,Ut=Gt.size,pt=Gt.strokeColor,ct=Gt.strokeLinecap,Qt=Gt.children,Jt=Gt.trailColor,yt=Gt.success,Pt=pt&&typeof pt!="string"?re(pt):{background:pt},At=Jt?{backgroundColor:Jt}:void 0,Ft=E()({width:"".concat(et(Pr),"%"),height:cn||(Ut==="small"?6:8),borderRadius:ct==="square"?0:""},Pt),pr=He(Gt),or={width:"".concat(et(pr),"%"),height:cn||(Ut==="small"?6:8),borderRadius:ct==="square"?0:"",backgroundColor:yt==null?void 0:yt.strokeColor},ir=pr!==void 0?e.createElement("div",{className:"".concat(Rr,"-success-bg"),style:or}):null;return e.createElement(e.Fragment,null,e.createElement("div",{className:"".concat(Rr,"-outer")},e.createElement("div",{className:"".concat(Rr,"-inner"),style:At},e.createElement("div",{className:"".concat(Rr,"-bg"),style:Ft}),ir)),Qt)},ze=be,Ke={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},Te=function(Gt){var Rr=Gt.map(function(){return Object(e.useRef)()}),Pr=Object(e.useRef)();return Object(e.useEffect)(function(){var cn=Date.now(),Ut=!1;Object.keys(Rr).forEach(function(pt){var ct=Rr[pt].current;if(!ct)return;Ut=!0;var Qt=ct.style;Qt.transitionDuration=".3s, .3s, .3s, .06s",Pr.current&&cn-Pr.current<100&&(Qt.transitionDuration="0s, 0s")}),Ut&&(Pr.current=Date.now())}),[Rr]};function gt(){return gt=Object.assign||function(Bt){for(var Gt=1;Gt<arguments.length;Gt++){var Rr=arguments[Gt];for(var Pr in Rr)Object.prototype.hasOwnProperty.call(Rr,Pr)&&(Bt[Pr]=Rr[Pr])}return Bt},gt.apply(this,arguments)}function Ue(Bt,Gt){return Tt(Bt)||xt(Bt,Gt)||wt(Bt,Gt)||bt()}function bt(){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 wt(Bt,Gt){if(!Bt)return;if(typeof Bt=="string")return Et(Bt,Gt);var Rr=Object.prototype.toString.call(Bt).slice(8,-1);if(Rr==="Object"&&Bt.constructor&&(Rr=Bt.constructor.name),Rr==="Map"||Rr==="Set")return Array.from(Bt);if(Rr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Rr))return Et(Bt,Gt)}function Et(Bt,Gt){(Gt==null||Gt>Bt.length)&&(Gt=Bt.length);for(var Rr=0,Pr=new Array(Gt);Rr<Gt;Rr++)Pr[Rr]=Bt[Rr];return Pr}function xt(Bt,Gt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Bt)))return;var Rr=[],Pr=!0,cn=!1,Ut=void 0;try{for(var pt=Bt[Symbol.iterator](),ct;!(Pr=(ct=pt.next()).done)&&!(Rr.push(ct.value),Gt&&Rr.length===Gt);Pr=!0);}catch(Qt){cn=!0,Ut=Qt}finally{try{!Pr&&pt.return!=null&&pt.return()}finally{if(cn)throw Ut}}return Rr}function Tt(Bt){if(Array.isArray(Bt))return Bt}function Be(Bt,Gt){if(Bt==null)return{};var Rr=ce(Bt,Gt),Pr,cn;if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(Bt);for(cn=0;cn<Ut.length;cn++){if(Pr=Ut[cn],Gt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Bt,Pr))continue;Rr[Pr]=Bt[Pr]}}return Rr}function ce(Bt,Gt){if(Bt==null)return{};var Rr={},Pr=Object.keys(Bt),cn,Ut;for(Ut=0;Ut<Pr.length;Ut++){if(cn=Pr[Ut],Gt.indexOf(cn)>=0)continue;Rr[cn]=Bt[cn]}return Rr}var q=function(Gt){var Rr=Gt.className,Pr=Gt.percent,cn=Gt.prefixCls,Ut=Gt.strokeColor,pt=Gt.strokeLinecap,ct=Gt.strokeWidth,Qt=Gt.style,Jt=Gt.trailColor,yt=Gt.trailWidth,Pt=Gt.transition,At=Be(Gt,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete At.gapPosition;var Ft=Array.isArray(Pr)?Pr:[Pr],pr=Array.isArray(Ut)?Ut:[Ut],or=Te(Ft),ir=Ue(or,1),Yr=ir[0],Jr=ct/2,_n=100-ct/2,Nn="M ".concat(pt==="round"?Jr:0,",").concat(Jr,`
L `).concat(pt==="round"?_n:100,",").concat(Jr),zn="0 0 100 ".concat(ct),ei=0;return a.a.createElement("svg",gt({className:u()("".concat(cn,"-line"),Rr),viewBox:zn,preserveAspectRatio:"none",style:Qt},At),a.a.createElement("path",{className:"".concat(cn,"-line-trail"),d:Nn,strokeLinecap:pt,stroke:Jt,strokeWidth:yt||ct,fillOpacity:"0"}),Ft.map(function(vi,Pi){var Ge={strokeDasharray:"".concat(vi,"px, 100px"),strokeDashoffset:"-".concat(ei,"px"),transition:Pt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},we=pr[Pi]||pr[pr.length-1];return ei+=vi,a.a.createElement("path",{key:Pi,className:"".concat(cn,"-line-path"),d:Nn,strokeLinecap:pt,stroke:we,strokeWidth:ct,fillOpacity:"0",ref:Yr[Pi],style:Ge})}))};q.defaultProps=Ke;var dt=q;function Ve(){return Ve=Object.assign||function(Bt){for(var Gt=1;Gt<arguments.length;Gt++){var Rr=arguments[Gt];for(var Pr in Rr)Object.prototype.hasOwnProperty.call(Rr,Pr)&&(Bt[Pr]=Rr[Pr])}return Bt},Ve.apply(this,arguments)}function de(Bt,Gt){return sr(Bt)||Xt(Bt,Gt)||tr(Bt,Gt)||Ht()}function Ht(){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 tr(Bt,Gt){if(!Bt)return;if(typeof Bt=="string")return lt(Bt,Gt);var Rr=Object.prototype.toString.call(Bt).slice(8,-1);if(Rr==="Object"&&Bt.constructor&&(Rr=Bt.constructor.name),Rr==="Map"||Rr==="Set")return Array.from(Bt);if(Rr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Rr))return lt(Bt,Gt)}function lt(Bt,Gt){(Gt==null||Gt>Bt.length)&&(Gt=Bt.length);for(var Rr=0,Pr=new Array(Gt);Rr<Gt;Rr++)Pr[Rr]=Bt[Rr];return Pr}function Xt(Bt,Gt){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(Bt)))return;var Rr=[],Pr=!0,cn=!1,Ut=void 0;try{for(var pt=Bt[Symbol.iterator](),ct;!(Pr=(ct=pt.next()).done)&&!(Rr.push(ct.value),Gt&&Rr.length===Gt);Pr=!0);}catch(Qt){cn=!0,Ut=Qt}finally{try{!Pr&&pt.return!=null&&pt.return()}finally{if(cn)throw Ut}}return Rr}function sr(Bt){if(Array.isArray(Bt))return Bt}function Kr(Bt,Gt){if(Bt==null)return{};var Rr=rr(Bt,Gt),Pr,cn;if(Object.getOwnPropertySymbols){var Ut=Object.getOwnPropertySymbols(Bt);for(cn=0;cn<Ut.length;cn++){if(Pr=Ut[cn],Gt.indexOf(Pr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(Bt,Pr))continue;Rr[Pr]=Bt[Pr]}}return Rr}function rr(Bt,Gt){if(Bt==null)return{};var Rr={},Pr=Object.keys(Bt),cn,Ut;for(Ut=0;Ut<Pr.length;Ut++){if(cn=Pr[Ut],Gt.indexOf(cn)>=0)continue;Rr[cn]=Bt[cn]}return Rr}var nr=0;function Nt(Bt){return+Bt.replace("%","")}function ot(Bt){return Array.isArray(Bt)?Bt:[Bt]}function Qe(Bt,Gt,Rr,Pr){var cn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,Ut=arguments.length>5?arguments[5]:void 0,pt=50-Pr/2,ct=0,Qt=-pt,Jt=0,yt=-2*pt;switch(Ut){case"left":ct=-pt,Qt=0,Jt=2*pt,yt=0;break;case"right":ct=pt,Qt=0,Jt=-2*pt,yt=0;break;case"bottom":Qt=pt,yt=2*pt;break;default:}var Pt="M 50,50 m ".concat(ct,",").concat(Qt,`
a `).concat(pt,",").concat(pt," 0 1 1 ").concat(Jt,",").concat(-yt,`
a `).concat(pt,",").concat(pt," 0 1 1 ").concat(-Jt,",").concat(yt),At=Math.PI*2*pt,Ft={stroke:Rr,strokeDasharray:"".concat(Gt/100*(At-cn),"px ").concat(At,"px"),strokeDashoffset:"-".concat(cn/2+Bt/100*(At-cn),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:Pt,pathStyle:Ft}}var qt=function(Gt){var Rr=Gt.prefixCls,Pr=Gt.strokeWidth,cn=Gt.trailWidth,Ut=Gt.gapDegree,pt=Gt.gapPosition,ct=Gt.trailColor,Qt=Gt.strokeLinecap,Jt=Gt.style,yt=Gt.className,Pt=Gt.strokeColor,At=Gt.percent,Ft=Kr(Gt,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),pr=Object(e.useMemo)(function(){return nr+=1,nr},[]),or=Qe(0,100,ct,Pr,Ut,pt),ir=or.pathString,Yr=or.pathStyle,Jr=ot(At),_n=ot(Pt),Nn=_n.find(function(Ge){return Object.prototype.toString.call(Ge)==="[object Object]"}),zn=Te(Jr),ei=de(zn,1),vi=ei[0],Pi=function(){var we=0;return Jr.map(function(Le,De){var We=_n[De]||_n[_n.length-1],Fe=Object.prototype.toString.call(We)==="[object Object]"?"url(#".concat(Rr,"-gradient-").concat(pr,")"):"",Je=Qe(we,Le,We,Pr,Ut,pt);return we+=Le,a.a.createElement("path",{key:De,className:"".concat(Rr,"-circle-path"),d:Je.pathString,stroke:Fe,strokeLinecap:Qt,strokeWidth:Pr,opacity:Le===0?0:1,fillOpacity:"0",style:Je.pathStyle,ref:vi[De]})})};return a.a.createElement("svg",Ve({className:u()("".concat(Rr,"-circle"),yt),viewBox:"0 0 100 100",style:Jt},Ft),Nn&&a.a.createElement("defs",null,a.a.createElement("linearGradient",{id:"".concat(Rr,"-gradient-").concat(pr),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys(Nn).sort(function(Ge,we){return Nt(Ge)-Nt(we)}).map(function(Ge,we){return a.a.createElement("stop",{key:we,offset:Ge,stopColor:Nn[Ge]})}))),a.a.createElement("path",{className:"".concat(Rr,"-circle-trail"),d:ir,stroke:ct,strokeLinecap:Qt,strokeWidth:cn||Pr,fillOpacity:"0",style:Yr}),Pi().reverse())};qt.defaultProps=Ke;var xr=qt,vr={Line:dt,Circle:xr};function fr(Bt){var Gt=Bt.percent,Rr=Bt.success,Pr=Bt.successPercent,cn=et(Gt),Ut=He({success:Rr,successPercent:Pr});return Ut?[et(Ut),et(cn-et(Ut))]:cn}function An(Bt){var Gt=Bt.success,Rr=Bt.strokeColor,Pr=Bt.successPercent,cn=Rr||null,Ut=He({success:Gt,successPercent:Pr});return Ut?[G.green,cn]:cn}var $r=function(Gt){var Rr=Gt.prefixCls,Pr=Gt.width,cn=Gt.strokeWidth,Ut=Gt.trailColor,pt=Gt.strokeLinecap,ct=Gt.gapPosition,Qt=Gt.gapDegree,Jt=Gt.type,yt=Gt.children,Pt=Pr||120,At={width:Pt,height:Pt,fontSize:Pt*.15+6},Ft=cn||6,pr=ct||Jt==="dashboard"&&"bottom"||"top",or=function(){return Qt||Qt===0?Qt:Jt==="dashboard"?75:void 0},ir=An(Gt),Yr=Object.prototype.toString.call(ir)==="[object Object]",Jr=u()("".concat(Rr,"-inner"),_()({},"".concat(Rr,"-circle-gradient"),Yr));return e.createElement("div",{className:Jr,style:At},e.createElement(xr,{percent:fr(Gt),strokeWidth:Ft,trailWidth:Ft,strokeColor:ir,strokeLinecap:pt,trailColor:Ut,prefixCls:Rr,gapDegree:or(),gapPosition:pr}),yt)},Ln=$r,$e=function(Gt){for(var Rr=Gt.size,Pr=Gt.steps,cn=Gt.percent,Ut=cn===void 0?0:cn,pt=Gt.strokeWidth,ct=pt===void 0?8:pt,Qt=Gt.strokeColor,Jt=Gt.trailColor,yt=Gt.prefixCls,Pt=Gt.children,At=Math.floor(Pr*(Ut/100)),Ft=Rr==="small"?2:14,pr=[],or=0;or<Pr;or+=1)pr.push(e.createElement("div",{key:or,className:u()("".concat(yt,"-steps-item"),_()({},"".concat(yt,"-steps-item-active"),or<=At-1)),style:{backgroundColor:or<=At-1?Qt:Jt,width:Ft,height:ct}}));return e.createElement("div",{className:"".concat(yt,"-steps-outer")},pr,Pt)},tt=$e,ve=function(Bt,Gt){var Rr={};for(var Pr in Bt)Object.prototype.hasOwnProperty.call(Bt,Pr)&&Gt.indexOf(Pr)<0&&(Rr[Pr]=Bt[Pr]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var cn=0,Pr=Object.getOwnPropertySymbols(Bt);cn<Pr.length;cn++)Gt.indexOf(Pr[cn])<0&&Object.prototype.propertyIsEnumerable.call(Bt,Pr[cn])&&(Rr[Pr[cn]]=Bt[Pr[cn]]);return Rr},_e=Object(T.a)("line","circle","dashboard"),ke=Object(T.a)("normal","exception","active","success"),rt=function(Bt){l()(Rr,Bt);var Gt=c()(Rr);function Rr(){var Pr;return t()(this,Rr),Pr=Gt.apply(this,arguments),Pr.renderProgress=function(cn){var Ut,pt=cn.getPrefixCls,ct=cn.direction,Qt=r()(Pr),Jt=Qt.props,yt=Jt.prefixCls,Pt=Jt.className,At=Jt.size,Ft=Jt.type,pr=Jt.steps,or=Jt.showInfo,ir=Jt.strokeColor,Yr=ve(Jt,["prefixCls","className","size","type","steps","showInfo","strokeColor"]),Jr=pt("progress",yt),_n=Pr.getProgressStatus(),Nn=Pr.renderProcessInfo(Jr,_n);Object(L.a)(!("successPercent"in Jt),"Progress","`successPercent` is deprecated. Please use `success.percent` instead.");var zn;Ft==="line"?zn=pr?e.createElement(tt,E()({},Pr.props,{strokeColor:typeof ir=="string"?ir:void 0,prefixCls:Jr,steps:pr}),Nn):e.createElement(ze,E()({},Pr.props,{prefixCls:Jr}),Nn):(Ft==="circle"||Ft==="dashboard")&&(zn=e.createElement(Ln,E()({},Pr.props,{prefixCls:Jr,progressStatus:_n}),Nn));var ei=u()(Jr,(Ut={},_()(Ut,"".concat(Jr,"-").concat(Ft==="dashboard"&&"circle"||pr&&"steps"||Ft),!0),_()(Ut,"".concat(Jr,"-status-").concat(_n),!0),_()(Ut,"".concat(Jr,"-show-info"),or),_()(Ut,"".concat(Jr,"-").concat(At),At),_()(Ut,"".concat(Jr,"-rtl"),ct==="rtl"),Ut),Pt);return e.createElement("div",E()({},Object(f.default)(Yr,["status","format","trailColor","strokeWidth","width","gapDegree","gapPosition","strokeColor","strokeLinecap","percent","steps","success","successPercent"]),{className:ei}),zn)},Pr}return h()(Rr,[{key:"getPercentNumber",value:function(){var cn=this.props.percent,Ut=cn===void 0?0:cn,pt=He(this.props);return parseInt(pt!==void 0?pt.toString():Ut.toString(),10)}},{key:"getProgressStatus",value:function(){var cn=this.props.status;return ke.indexOf(cn)<0&&this.getPercentNumber()>=100?"success":cn||"normal"}},{key:"renderProcessInfo",value:function(cn,Ut){var pt=this.props,ct=pt.showInfo,Qt=pt.format,Jt=pt.type,yt=pt.percent,Pt=He(this.props);if(!ct)return null;var At,Ft=Qt||function(or){return"".concat(or,"%")},pr=Jt==="line";return Qt||Ut!=="exception"&&Ut!=="success"?At=Ft(et(yt),et(Pt)):Ut==="exception"?At=pr?e.createElement(w.a,null):e.createElement(A.a,null):Ut==="success"&&(At=pr?e.createElement(S.a,null):e.createElement(v.a,null)),e.createElement("span",{className:"".concat(cn,"-text"),title:typeof At=="string"?At:void 0},At)}},{key:"render",value:function(){return e.createElement(x.a,null,this.renderProgress)}}]),Rr}(e.Component);rt.defaultProps={type:"line",percent:0,showInfo:!0,trailColor:null,size:"default",gapDegree:void 0,strokeLinecap:"round"};var Wt=z.a=rt},"CMP+":function(ue,z,d){var O=d("bYtY"),_=d("hM6l"),I=function(C,t,p,h){_.call(this,C,t,p),this.type=h||"value",this.model=null};I.prototype={constructor:I,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return this.model.get("orient")==="horizontal"}},O.inherits(I,_);var E=I;ue.exports=E},CP8R:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"CWI+":function(ue,z,d){},CbHG:function(ue,z,d){var O=d("IwbS"),_=O.subPixelOptimize,I=d("zM3Q"),E=d("OELB"),C=E.parsePercent,t=d("bYtY"),p=t.retrieve2,h=typeof Float32Array!="undefined"?Float32Array:Array,o={seriesType:"candlestick",plan:I(),reset:function(l){var n=l.coordinateSystem,c=l.getData(),e=s(l,c),a=0,i=1,u=["x","y"],f=c.mapDimension(u[a]),m=c.mapDimension(u[i],!0),A=m[0],g=m[1],v=m[2],b=m[3];if(c.setLayout({candleWidth:e,isSimpleBox:e<=1.3}),f==null||m.length<4)return;return{progress:l.pipelineContext.large?y:S};function S(w,x){for(var T;(T=w.next())!=null;){var L=x.get(f,T),R=x.get(A,T),P=x.get(g,T),k=x.get(v,T),U=x.get(b,T),D=Math.min(R,P),M=Math.max(R,P),B=X(D,L),j=X(M,L),H=X(k,L),K=X(U,L),W=[];V(W,j,0),V(W,B,1),W.push(G(K),G(j),G(H),G(B)),x.setItemLayout(T,{sign:r(x,T,R,P,g),initBaseline:R>P?j[i]:B[i],ends:W,brushRect:Z(k,U,L)})}function X(Y,te){var se=[];return se[a]=te,se[i]=Y,isNaN(te)||isNaN(Y)?[NaN,NaN]:n.dataToPoint(se)}function V(Y,te,se){var Ce=te.slice(),he=te.slice();Ce[a]=_(Ce[a]+e/2,1,!1),he[a]=_(he[a]-e/2,1,!0),se?Y.push(Ce,he):Y.push(he,Ce)}function Z(Y,te,se){var Ce=X(Y,se),he=X(te,se);return Ce[a]-=e/2,he[a]-=e/2,{x:Ce[0],y:Ce[1],width:i?e:he[0]-Ce[0],height:i?he[1]-Ce[1]:e}}function G(Y){return Y[a]=_(Y[a],1),Y}}function y(w,x){for(var T=new h(w.count*4),L=0,R,P=[],k=[],U;(U=w.next())!=null;){var D=x.get(f,U),M=x.get(A,U),B=x.get(g,U),j=x.get(v,U),H=x.get(b,U);if(isNaN(D)||isNaN(j)||isNaN(H)){T[L++]=NaN,L+=3;continue}T[L++]=r(x,U,M,B,g),P[a]=D,P[i]=j,R=n.dataToPoint(P,null,k),T[L++]=R?R[0]:NaN,T[L++]=R?R[1]:NaN,P[i]=H,R=n.dataToPoint(P,null,k),T[L++]=R?R[1]:NaN}x.setLayout("largePoints",T)}}};function r(l,n,c,e,a){var i;return c>e?i=-1:c<e?i=1:i=n>0?l.get(a,n-1)<=e?1:-1:1,i}function s(l,n){var c=l.getBaseAxis(),e,a=c.type==="category"?c.getBandWidth():(e=c.getExtent(),Math.abs(e[1]-e[0])/n.count()),i=C(p(l.get("barMaxWidth"),a),a),u=C(p(l.get("barMinWidth"),1),a),f=l.get("barWidth");return f!=null?C(f,a):Math.max(Math.min(a/2,i),u)}ue.exports=o},CiB2:function(ue,z,d){"use strict";d.d(z,"a",function(){return O});function O(_){if(_==null)throw new TypeError("Cannot destructure undefined")}},Cm0C:function(ue,z,d){d("5NHt"),d("f3JH")},CrYA:function(ue,z,d){var O=d("MFOe"),_=O.Global;ue.exports={name:"sessionStorage",read:E,write:C,each:t,remove:p,clearAll:h};function I(){return _.sessionStorage}function E(o){return I().getItem(o)}function C(o,r){return I().setItem(o,r)}function t(o){for(var r=I().length-1;r>=0;r--){var s=I().key(r);o(E(s),s)}}function p(o){return I().removeItem(o)}function h(){return I().clear()}},Csr3:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("4vCz"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},D1WM:function(ue,z,d){var O=d("bYtY"),_=d("hM6l"),I=function(C,t,p,h,o){_.call(this,C,t,p),this.type=h||"value",this.axisIndex=o};I.prototype={constructor:I,model:null,isHorizontal:function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"}},O.inherits(I,_);var E=I;ue.exports=E},D5nY:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("4NO4"),E=I.makeInner,C=I.getDataItemValue,t=d("bYtY"),p=t.createHashMap,h=t.each,o=t.map,r=t.isArray,s=t.isString,l=t.isObject,n=t.isTypedArray,c=t.isArrayLike,e=t.extend,a=t.assert,i=d("7G+c"),u=d("k9D9"),f=u.SOURCE_FORMAT_ORIGINAL,m=u.SOURCE_FORMAT_ARRAY_ROWS,A=u.SOURCE_FORMAT_OBJECT_ROWS,g=u.SOURCE_FORMAT_KEYED_COLUMNS,v=u.SOURCE_FORMAT_UNKNOWN,b=u.SOURCE_FORMAT_TYPED_ARRAY,S=u.SERIES_LAYOUT_BY_ROW,y={Must:1,Might:2,Not:3},w=E();function x(W){var X=W.option.source,V=v;if(n(X))V=b;else if(r(X)){X.length===0&&(V=m);for(var Z=0,G=X.length;Z<G;Z++){var Y=X[Z];if(Y==null)continue;if(r(Y)){V=m;break}else if(l(Y)){V=A;break}}}else if(l(X)){for(var te in X)if(X.hasOwnProperty(te)&&c(X[te])){V=g;break}}else if(X!=null)throw new Error("Invalid data");w(W).sourceFormat=V}function T(W){return w(W).source}function L(W){w(W).datasetMap=p()}function R(W){var X=W.option,V=X.data,Z=n(V)?b:f,G=!1,Y=X.seriesLayoutBy,te=X.sourceHeader,se=X.dimensions,Ce=j(W);if(Ce){var he=Ce.option;V=he.source,Z=w(Ce).sourceFormat,G=!0,Y=Y||he.seriesLayoutBy,te==null&&(te=he.sourceHeader),se=se||he.dimensions}var xe=P(V,Z,Y,te,se);w(W).source=new i({data:V,fromDataset:G,seriesLayoutBy:Y,sourceFormat:Z,dimensionsDefine:xe.dimensionsDefine,startIndex:xe.startIndex,dimensionsDetectCount:xe.dimensionsDetectCount,encodeDefine:X.encode})}function P(W,X,V,Z,G){if(!W)return{dimensionsDefine:k(G)};var Y,te;if(X===m)Z==="auto"||Z==null?U(function(Ce){Ce!=null&&Ce!=="-"&&(s(Ce)?te==null&&(te=1):te=0)},V,W,10):te=Z?1:0,!G&&te===1&&(G=[],U(function(Ce,he){G[he]=Ce!=null?Ce:""},V,W)),Y=G?G.length:V===S?W.length:W[0]?W[0].length:null;else if(X===A)G||(G=D(W));else if(X===g)G||(G=[],h(W,function(Ce,he){G.push(he)}));else if(X===f){var se=C(W[0]);Y=r(se)&&se.length||1}else X===b;return{startIndex:te,dimensionsDefine:k(G),dimensionsDetectCount:Y}}function k(W){if(!W)return;var X=p();return o(W,function(V,Z){if(V=e({},l(V)?V:{name:V}),V.name==null)return V;V.name+="",V.displayName==null&&(V.displayName=V.name);var G=X.get(V.name);return G?V.name+="-"+G.count++:X.set(V.name,{count:1}),V})}function U(W,X,V,Z){if(Z==null&&(Z=Infinity),X===S)for(var G=0;G<V.length&&G<Z;G++)W(V[G]?V[G][0]:null,G);else for(var Y=V[0]||[],G=0;G<Y.length&&G<Z;G++)W(Y[G],G)}function D(W){for(var X=0,V;X<W.length&&!(V=W[X++]););if(V){var Z=[];return h(V,function(G,Y){Z.push(Y)}),Z}}function M(W,X,V){var Z={},G=j(X);if(!G||!W)return Z;var Y=[],te=[],se=X.ecModel,Ce=w(se).datasetMap,he=G.uid+"_"+V.seriesLayoutBy,xe,ie;W=W.slice(),h(W,function(Ne,it){!l(Ne)&&(W[it]={name:Ne}),Ne.type==="ordinal"&&xe==null&&(xe=it,ie=Se(W[it])),Z[Ne.name]=[]});var ee=Ce.get(he)||Ce.set(he,{categoryWayDim:ie,valueWayDim:0});h(W,function(Ne,it){var Ye=Ne.name,nt=Se(Ne);if(xe==null){var je=ee.valueWayDim;Ze(Z[Ye],je,nt),Ze(te,je,nt),ee.valueWayDim+=nt}else if(xe===it)Ze(Z[Ye],0,nt),Ze(Y,0,nt);else{var je=ee.categoryWayDim;Ze(Z[Ye],je,nt),Ze(te,je,nt),ee.categoryWayDim+=nt}});function Ze(Ne,it,Ye){for(var nt=0;nt<Ye;nt++)Ne.push(it+nt)}function Se(Ne){var it=Ne.dimsDef;return it?it.length:1}return Y.length&&(Z.itemName=Y),te.length&&(Z.seriesName=te),Z}function B(W,X,V){var Z={},G=j(W);if(!G)return Z;var Y=X.sourceFormat,te=X.dimensionsDefine,se;(Y===A||Y===g)&&h(te,function(xe,ie){(l(xe)?xe.name:xe)==="name"&&(se=ie)});var Ce=function(){for(var xe={},ie={},ee=[],Ze=0,Se=Math.min(5,V);Ze<Se;Ze++){var Ne=K(X.data,Y,X.seriesLayoutBy,te,X.startIndex,Ze);ee.push(Ne);var it=Ne===y.Not;if(it&&xe.v==null&&Ze!==se&&(xe.v=Ze),(xe.n==null||xe.n===xe.v||!it&&ee[xe.n]===y.Not)&&(xe.n=Ze),Ye(xe)&&ee[xe.n]!==y.Not)return xe;it||(Ne===y.Might&&ie.v==null&&Ze!==se&&(ie.v=Ze),(ie.n==null||ie.n===ie.v)&&(ie.n=Ze))}function Ye(nt){return nt.v!=null&&nt.n!=null}return Ye(xe)?xe:Ye(ie)?ie:null}();if(Ce){Z.value=Ce.v;var he=se!=null?se:Ce.n;Z.itemName=[he],Z.seriesName=[he]}return Z}function j(W){var X=W.option,V=X.data;if(!V)return W.ecModel.getComponent("dataset",X.datasetIndex||0)}function H(W,X){return K(W.data,W.sourceFormat,W.seriesLayoutBy,W.dimensionsDefine,W.startIndex,X)}function K(W,X,V,Z,G,Y){var te,se=5;if(n(W))return y.Not;var Ce,he;if(Z){var xe=Z[Y];l(xe)?(Ce=xe.name,he=xe.type):s(xe)&&(Ce=xe)}if(he!=null)return he==="ordinal"?y.Must:y.Not;if(X===m)if(V===S){for(var ie=W[Y],ee=0;ee<(ie||[]).length&&ee<se;ee++)if((te=it(ie[G+ee]))!=null)return te}else for(var ee=0;ee<W.length&&ee<se;ee++){var Ze=W[G+ee];if(Ze&&(te=it(Ze[Y]))!=null)return te}else if(X===A){if(!Ce)return y.Not;for(var ee=0;ee<W.length&&ee<se;ee++){var Se=W[ee];if(Se&&(te=it(Se[Ce]))!=null)return te}}else if(X===g){if(!Ce)return y.Not;var ie=W[Ce];if(!ie||n(ie))return y.Not;for(var ee=0;ee<ie.length&&ee<se;ee++)if((te=it(ie[ee]))!=null)return te}else if(X===f)for(var ee=0;ee<W.length&&ee<se;ee++){var Se=W[ee],Ne=C(Se);if(!r(Ne))return y.Not;if((te=it(Ne[Y]))!=null)return te}function it(Ye){var nt=s(Ye);if(Ye!=null&&isFinite(Ye)&&Ye!=="")return nt?y.Might:y.Not;if(nt&&Ye!=="-")return y.Must}return y.Not}z.BE_ORDINAL=y,z.detectSourceFormat=x,z.getSource=T,z.resetSourceDefaulter=L,z.prepareSource=R,z.makeSeriesEncodeForAxisCoordSys=M,z.makeSeriesEncodeForNameBased=B,z.guessOrdinal=H},D9ME:function(ue,z,d){var O=d("IwbS"),_=d("fls0"),I=d("bYtY"),E=d("oVpE"),C=E.createSymbol,t=d("QBsz"),p=d("Sj9i");function h(s,l,n){O.Group.call(this),this.add(this.createLine(s,l,n)),this._updateEffectSymbol(s,l)}var o=h.prototype;o.createLine=function(s,l,n){return new _(s,l,n)},o._updateEffectSymbol=function(s,l){var n=s.getItemModel(l),c=n.getModel("effect"),e=c.get("symbolSize"),a=c.get("symbol");I.isArray(e)||(e=[e,e]);var i=c.get("color")||s.getItemVisual(l,"color"),u=this.childAt(1);if(this._symbolType!==a&&(this.remove(u),u=C(a,-.5,-.5,1,1,i),u.z2=100,u.culling=!0,this.add(u)),!u)return;u.setStyle("shadowColor",i),u.setStyle(c.getItemStyle(["color"])),u.attr("scale",e),u.setColor(i),u.attr("scale",e),this._symbolType=a,this._symbolScale=e,this._updateEffectAnimation(s,c,l)},o._updateEffectAnimation=function(s,l,n){var c=this.childAt(1);if(!c)return;var e=this,a=s.getItemLayout(n),i=l.get("period")*1e3,u=l.get("loop"),f=l.get("constantSpeed"),m=I.retrieve(l.get("delay"),function(b){return b/s.count()*i/3}),A=typeof m=="function";if(c.ignore=!0,this.updateAnimationPoints(c,a),f>0&&(i=this.getLineLength(c)/f*1e3),i!==this._period||u!==this._loop){c.stopAnimation();var g=m;A&&(g=m(n)),c.__t>0&&(g=-i*c.__t),c.__t=0;var v=c.animate("",u).when(i,{__t:1}).delay(g).during(function(){e.updateSymbolPosition(c)});u||v.done(function(){e.remove(c)}),v.start()}this._period=i,this._loop=u},o.getLineLength=function(s){return t.dist(s.__p1,s.__cp1)+t.dist(s.__cp1,s.__p2)},o.updateAnimationPoints=function(s,l){s.__p1=l[0],s.__p2=l[1],s.__cp1=l[2]||[(l[0][0]+l[1][0])/2,(l[0][1]+l[1][1])/2]},o.updateData=function(s,l,n){this.childAt(0).updateData(s,l,n),this._updateEffectSymbol(s,l)},o.updateSymbolPosition=function(s){var l=s.__p1,n=s.__p2,c=s.__cp1,e=s.__t,a=s.position,i=[a[0],a[1]],u=p.quadraticAt,f=p.quadraticDerivativeAt;a[0]=u(l[0],c[0],n[0],e),a[1]=u(l[1],c[1],n[1],e);var m=f(l[0],c[0],n[0],e),A=f(l[1],c[1],n[1],e);if(s.rotation=-Math.atan2(A,m)-Math.PI/2,this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")if(s.__lastT!==void 0&&s.__lastT<s.__t){var g=t.dist(i,a)*1.05;s.attr("scale",[s.scale[0],g]),e===1&&(a[0]=i[0]+(a[0]-i[0])/2,a[1]=i[1]+(a[1]-i[1])/2)}else if(s.__lastT===1){var g=2*t.dist(l,a);s.attr("scale",[s.scale[0],g])}else s.attr("scale",this._symbolScale);s.__lastT=s.__t,s.ignore=!1},o.updateLayout=function(s,l){this.childAt(0).updateLayout(s,l);var n=s.getItemModel(l).getModel("effect");this._updateEffectAnimation(s,n,l)},I.inherits(h,O.Group);var r=h;ue.exports=r},DBLp:function(ue,z){function d(){}d.prototype={diff:function(t,p,h){h||(h=function(A,g){return A===g}),this.equals=h;var o=this;t=t.slice(),p=p.slice();var r=p.length,s=t.length,l=1,n=r+s,c=[{newPos:-1,components:[]}],e=this.extractCommon(c[0],p,t,0);if(c[0].newPos+1>=r&&e+1>=s){for(var a=[],i=0;i<p.length;i++)a.push(i);return[{indices:a,count:p.length}]}function u(){for(var m=-1*l;m<=l;m+=2){var A,g=c[m-1],v=c[m+1],b=(v?v.newPos:0)-m;g&&(c[m-1]=void 0);var S=g&&g.newPos+1<r,y=v&&0<=b&&b<s;if(!S&&!y){c[m]=void 0;continue}if(!S||y&&g.newPos<v.newPos?(A=_(v),o.pushComponent(A.components,void 0,!0)):(A=g,A.newPos++,o.pushComponent(A.components,!0,void 0)),b=o.extractCommon(A,p,t,m),A.newPos+1>=r&&b+1>=s)return O(o,A.components,p,t);c[m]=A}l++}for(;l<=n;){var f=u();if(f)return f}},pushComponent:function(t,p,h){var o=t[t.length-1];o&&o.added===p&&o.removed===h?t[t.length-1]={count:o.count+1,added:p,removed:h}:t.push({count:1,added:p,removed:h})},extractCommon:function(t,p,h,o){for(var r=p.length,s=h.length,l=t.newPos,n=l-o,c=0;l+1<r&&n+1<s&&this.equals(p[l+1],h[n+1]);)l++,n++,c++;return c&&t.components.push({count:c}),t.newPos=l,n},tokenize:function(t){return t.slice()},join:function(t){return t.slice()}};function O(C,t,p,h){for(var o=0,r=t.length,s=0,l=0;o<r;o++){var n=t[o];if(n.removed){for(var c=[],e=l;e<l+n.count;e++)c.push(e);n.indices=c,l+=n.count}else{for(var c=[],e=s;e<s+n.count;e++)c.push(e);n.indices=c,s+=n.count,n.added||(l+=n.count)}}return t}function _(C){return{newPos:C.newPos,components:C.components.slice(0)}}var I=new d;function E(C,t,p){return I.diff(C,t,p)}ue.exports=E},DEFe:function(ue,z,d){var O=d("bYtY"),_=d("SgGq"),I=d("Ae+d"),E=d("xSat"),C=E.onIrrelevantElement,t=d("IwbS"),p=d("W4dC"),h=d("iRjW"),o=h.getUID,r=d("DN4a");function s(a){var i=a.getItemStyle(),u=a.get("areaColor");return u!=null&&(i.fill=u),i}function l(a,i,u,f,m){u.off("click"),u.off("mousedown"),i.get("selectedMode")&&(u.on("mousedown",function(){a._mouseDownFlag=!0}),u.on("click",function(A){if(!a._mouseDownFlag)return;a._mouseDownFlag=!1;for(var g=A.target;!g.__regions;)g=g.parent;if(!g)return;var v={type:(i.mainType==="geo"?"geo":"map")+"ToggleSelect",batch:O.map(g.__regions,function(b){return{name:b.name,from:m.uid}})};v[i.mainType+"Id"]=i.id,f.dispatchAction(v),n(i,u)}))}function n(a,i){i.eachChild(function(u){O.each(u.__regions,function(f){u.trigger(a.isSelected(f.name)?"emphasis":"normal")})})}function c(a,i){var u=new t.Group;this.uid=o("ec_map_draw"),this._controller=new _(a.getZr()),this._controllerHost={target:i?u:null},this.group=u,this._updateGroup=i,this._mouseDownFlag,this._mapName,this._initialized,u.add(this._regionsGroup=new t.Group),u.add(this._backgroundGroup=new t.Group)}c.prototype={constructor:c,draw:function(a,i,u,f,m){var A=a.mainType==="geo",g=a.getData&&a.getData();A&&i.eachComponent({mainType:"series",subType:"map"},function(j){!g&&j.getHostGeoModel()===a&&(g=j.getData())});var v=a.coordinateSystem;this._updateBackground(v);var b=this._regionsGroup,S=this.group,y=v.getTransformInfo(),w=!b.childAt(0)||m,x;if(w)S.transform=y.roamTransform,S.decomposeTransform(),S.dirty();else{var T=new r;T.transform=y.roamTransform,T.decomposeTransform();var L={scale:T.scale,position:T.position};x=T.scale,t.updateProps(S,L,a)}var R=y.rawScale,P=y.rawPosition;b.removeAll();var k=["itemStyle"],U=["emphasis","itemStyle"],D=["label"],M=["emphasis","label"],B=O.createHashMap();O.each(v.regions,function(j){var H=B.get(j.name)||B.set(j.name,new t.Group),K=new t.CompoundPath({segmentIgnoreThreshold:1,shape:{paths:[]}});H.add(K);var W=a.getRegionModel(j.name)||a,X=W.getModel(k),V=W.getModel(U),Z=s(X),G=s(V),Y=W.getModel(D),te=W.getModel(M),se;if(g){se=g.indexOfName(j.name);var Ce=g.getItemVisual(se,"color",!0);Ce&&(Z.fill=Ce)}var he=function(je){return[je[0]*R[0]+P[0],je[1]*R[1]+P[1]]};O.each(j.geometries,function(je){if(je.type!=="polygon")return;for(var et=[],He=0;He<je.exterior.length;++He)et.push(he(je.exterior[He]));K.shape.paths.push(new t.Polygon({segmentIgnoreThreshold:1,shape:{points:et}}));for(var He=0;He<(je.interiors?je.interiors.length:0);++He){for(var pe=je.interiors[He],et=[],ae=0;ae<pe.length;++ae)et.push(he(pe[ae]));K.shape.paths.push(new t.Polygon({segmentIgnoreThreshold:1,shape:{points:et}}))}}),K.setStyle(Z),K.style.strokeNoScale=!0,K.culling=!0;var xe=Y.get("show"),ie=te.get("show"),ee=g&&isNaN(g.get(g.mapDimension("value"),se)),Ze=g&&g.getItemLayout(se);if(A||ee&&(xe||ie)||Ze&&Ze.showLabel){var Se=A?j.name:se,Ne;(!g||se>=0)&&(Ne=a);var it=new t.Text({position:he(j.center.slice()),scale:[1/S.scale[0],1/S.scale[1]],z2:10,silent:!0});if(t.setLabelStyle(it.style,it.hoverStyle={},Y,te,{labelFetcher:Ne,labelDataIndex:Se,defaultText:j.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),!w){var Ye=[1/x[0],1/x[1]];t.updateProps(it,{scale:Ye},a)}H.add(it)}if(g)g.setItemGraphicEl(se,H);else{var W=a.getRegionModel(j.name);K.eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:j.name,region:W&&W.option||{}}}var nt=H.__regions||(H.__regions=[]);nt.push(j),H.highDownSilentOnTouch=!!a.get("selectedMode"),t.setHoverStyle(H,G),b.add(H)}),this._updateController(a,i,u),l(this,a,b,u,f),n(a,b)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&p.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(a){var i=a.map;this._mapName!==i&&O.each(p.makeGraphic(i,this.uid),function(u){this._backgroundGroup.add(u)},this),this._mapName=i},_updateController:function(a,i,u){var f=a.coordinateSystem,m=this._controller,A=this._controllerHost;A.zoomLimit=a.get("scaleLimit"),A.zoom=f.getZoom(),m.enable(a.get("roam")||!1);var g=a.mainType;function v(){var b={type:"geoRoam",componentType:g};return b[g+"Id"]=a.id,b}m.off("pan").on("pan",function(b){this._mouseDownFlag=!1,I.updateViewOnPan(A,b.dx,b.dy),u.dispatchAction(O.extend(v(),{dx:b.dx,dy:b.dy}))},this),m.off("zoom").on("zoom",function(b){if(this._mouseDownFlag=!1,I.updateViewOnZoom(A,b.scale,b.originX,b.originY),u.dispatchAction(O.extend(v(),{zoom:b.scale,originX:b.originX,originY:b.originY})),this._updateGroup){var S=this.group.scale;this._regionsGroup.traverse(function(y){y.type==="text"&&y.attr("scale",[1/S[0],1/S[1]])})}},this),m.setPointerChecker(function(b,S,y){return f.getViewRectAfterRoam().contain(S,y)&&!C(b,u,a)})}};var e=c;ue.exports=e},DFOY:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("PJYZ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d("uciX"),i=d("2W6z"),u=d.n(i),f=d("4IlW"),m=d("uK0f"),A=d.n(m);function g(ot,Qe){if(ot===Qe)return!0;if(!ot||!Qe)return!1;var qt=ot.length;if(Qe.length!==qt)return!1;for(var xr=0;xr<qt;xr++)if(ot[xr]!==Qe[xr])return!1;return!0}function v(ot){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(qt){return typeof qt}:v=function(qt){return qt&&typeof Symbol=="function"&&qt.constructor===Symbol&&qt!==Symbol.prototype?"symbol":typeof qt},v(ot)}function b(ot,Qe){if(!(ot instanceof Qe))throw new TypeError("Cannot call a class as a function")}function S(ot,Qe){for(var qt=0;qt<Qe.length;qt++){var xr=Qe[qt];xr.enumerable=xr.enumerable||!1,xr.configurable=!0,"value"in xr&&(xr.writable=!0),Object.defineProperty(ot,xr.key,xr)}}function y(ot,Qe,qt){return Qe&&S(ot.prototype,Qe),qt&&S(ot,qt),ot}function w(ot,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function");ot.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:ot,writable:!0,configurable:!0}}),Qe&&x(ot,Qe)}function x(ot,Qe){return x=Object.setPrototypeOf||function(xr,vr){return xr.__proto__=vr,xr},x(ot,Qe)}function T(ot){var Qe=P();return function(){var qt=k(ot),xr;if(Qe){var vr=k(this).constructor;xr=Reflect.construct(qt,arguments,vr)}else xr=qt.apply(this,arguments);return L(this,xr)}}function L(ot,Qe){return Qe&&(v(Qe)==="object"||typeof Qe=="function")?Qe:R(ot)}function R(ot){if(ot===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ot}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(ot){return!1}}function k(ot){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(qt){return qt.__proto__||Object.getPrototypeOf(qt)},k(ot)}var U=function(){var ot=function(Qe){w(xr,Qe);var qt=T(xr);function xr(){var vr;return b(this,xr),vr=qt.apply(this,arguments),vr.menuItems={},vr.saveMenuItem=function(fr){return function(An){vr.menuItems[fr]=An}},vr}return y(xr,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(fr){!fr.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(fr){var An=this.props,$r=An.fieldNames,Ln=An.defaultFieldNames;return $r[fr]||Ln[fr]}},{key:"getOption",value:function(fr,An){var $r=this.props,Ln=$r.prefixCls,$e=$r.expandTrigger,tt=$r.expandIcon,ve=$r.loadingIcon,_e=this.props.onSelect.bind(this,fr,An),ke=this.props.onItemDoubleClick.bind(this,fr,An),rt={onClick:_e,onDoubleClick:ke},Wt="".concat(Ln,"-menu-item"),Bt=null,Gt=fr[this.getFieldName("children")]&&fr[this.getFieldName("children")].length>0;(Gt||fr.isLeaf===!1)&&(Wt+=" ".concat(Ln,"-menu-item-expand"),fr.loading||(Bt=e.createElement("span",{className:"".concat(Ln,"-menu-item-expand-icon")},tt))),$e==="hover"&&(Gt||fr.isLeaf===!1)&&(rt={onMouseEnter:this.delayOnSelect.bind(this,_e),onMouseLeave:this.delayOnSelect.bind(this),onClick:_e}),this.isActiveOption(fr,An)&&(Wt+=" ".concat(Ln,"-menu-item-active"),rt.ref=this.saveMenuItem(An)),fr.disabled&&(Wt+=" ".concat(Ln,"-menu-item-disabled"));var Rr=null;fr.loading&&(Wt+=" ".concat(Ln,"-menu-item-loading"),Rr=ve||null);var Pr="";return"title"in fr?Pr=fr.title:typeof fr[this.getFieldName("label")]=="string"&&(Pr=fr[this.getFieldName("label")]),e.createElement("li",Object.assign({key:fr[this.getFieldName("value")],className:Wt,title:Pr},rt,{role:"menuitem",onMouseDown:function(Ut){return Ut.preventDefault()}}),fr[this.getFieldName("label")],Bt,Rr)}},{key:"getActiveOptions",value:function(fr){var An=this,$r=this.props.options,Ln=fr||this.props.activeValue;return A()($r,function($e,tt){return $e[An.getFieldName("value")]===Ln[tt]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var fr=this,An=this.props.options,$r=this.getActiveOptions().map(function(Ln){return Ln[fr.getFieldName("children")]}).filter(function(Ln){return!!Ln});return $r.unshift(An),$r}},{key:"delayOnSelect",value:function(fr){for(var An=this,$r=arguments.length,Ln=new Array($r>1?$r-1:0),$e=1;$e<$r;$e++)Ln[$e-1]=arguments[$e];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),typeof fr=="function"&&(this.delayTimer=window.setTimeout(function(){fr(Ln),An.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var fr=this.getShowOptions().length,An=0;An<fr;An++){var $r=this.menuItems[An];$r&&$r.parentElement&&($r.parentElement.scrollTop=$r.offsetTop)}}},{key:"isActiveOption",value:function(fr,An){var $r=this.props.activeValue,Ln=$r===void 0?[]:$r;return Ln[An]===fr[this.getFieldName("value")]}},{key:"render",value:function(){var fr=this,An=this.props,$r=An.prefixCls,Ln=An.dropdownMenuColumnStyle;return e.createElement("div",null,this.getShowOptions().map(function($e,tt){return e.createElement("ul",{className:"".concat($r,"-menu"),key:tt,style:Ln},$e.map(function(ve){return fr.getOption(ve,tt)}))}))}}]),xr}(e.Component);return ot.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},ot}(),D=U,M={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}}},B=M;function j(ot){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?j=function(qt){return typeof qt}:j=function(qt){return qt&&typeof Symbol=="function"&&qt.constructor===Symbol&&qt!==Symbol.prototype?"symbol":typeof qt},j(ot)}function H(ot,Qe){if(ot==null)return{};var qt=K(ot,Qe),xr,vr;if(Object.getOwnPropertySymbols){var fr=Object.getOwnPropertySymbols(ot);for(vr=0;vr<fr.length;vr++){if(xr=fr[vr],Qe.indexOf(xr)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(ot,xr))continue;qt[xr]=ot[xr]}}return qt}function K(ot,Qe){if(ot==null)return{};var qt={},xr=Object.keys(ot),vr,fr;for(fr=0;fr<xr.length;fr++){if(vr=xr[fr],Qe.indexOf(vr)>=0)continue;qt[vr]=ot[vr]}return qt}function W(ot){return G(ot)||Z(ot)||V(ot)||X()}function X(){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 V(ot,Qe){if(!ot)return;if(typeof ot=="string")return Y(ot,Qe);var qt=Object.prototype.toString.call(ot).slice(8,-1);if(qt==="Object"&&ot.constructor&&(qt=ot.constructor.name),qt==="Map"||qt==="Set")return Array.from(ot);if(qt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(qt))return Y(ot,Qe)}function Z(ot){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(ot))return Array.from(ot)}function G(ot){if(Array.isArray(ot))return Y(ot)}function Y(ot,Qe){(Qe==null||Qe>ot.length)&&(Qe=ot.length);for(var qt=0,xr=new Array(Qe);qt<Qe;qt++)xr[qt]=ot[qt];return xr}function te(ot,Qe){if(!(ot instanceof Qe))throw new TypeError("Cannot call a class as a function")}function se(ot,Qe){for(var qt=0;qt<Qe.length;qt++){var xr=Qe[qt];xr.enumerable=xr.enumerable||!1,xr.configurable=!0,"value"in xr&&(xr.writable=!0),Object.defineProperty(ot,xr.key,xr)}}function Ce(ot,Qe,qt){return Qe&&se(ot.prototype,Qe),qt&&se(ot,qt),ot}function he(ot,Qe){if(typeof Qe!="function"&&Qe!==null)throw new TypeError("Super expression must either be null or a function");ot.prototype=Object.create(Qe&&Qe.prototype,{constructor:{value:ot,writable:!0,configurable:!0}}),Qe&&xe(ot,Qe)}function xe(ot,Qe){return xe=Object.setPrototypeOf||function(xr,vr){return xr.__proto__=vr,xr},xe(ot,Qe)}function ie(ot){var Qe=Se();return function(){var qt=Ne(ot),xr;if(Qe){var vr=Ne(this).constructor;xr=Reflect.construct(qt,arguments,vr)}else xr=qt.apply(this,arguments);return ee(this,xr)}}function ee(ot,Qe){return Qe&&(j(Qe)==="object"||typeof Qe=="function")?Qe:Ze(ot)}function Ze(ot){if(ot===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ot}function Se(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(ot){return!1}}function Ne(ot){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(qt){return qt.__proto__||Object.getPrototypeOf(qt)},Ne(ot)}var it=function(){var ot=function(Qe){he(xr,Qe);var qt=ie(xr);function xr(vr){var fr;te(this,xr),fr=qt.call(this,vr),fr.setPopupVisible=function($r){var Ln=fr.state.value;"popupVisible"in fr.props||fr.setState({popupVisible:$r}),$r&&!fr.state.popupVisible&&fr.setState({activeValue:Ln}),fr.props.onPopupVisibleChange($r)},fr.handleChange=function($r,Ln,$e){var tt=Ln.visible;($e.type!=="keydown"||$e.keyCode===f.a.ENTER)&&(fr.props.onChange($r.map(function(ve){return ve[fr.getFieldName("value")]}),$r),fr.setPopupVisible(tt))},fr.handlePopupVisibleChange=function($r){fr.setPopupVisible($r)},fr.handleMenuSelect=function($r,Ln,$e){var tt=fr.trigger.getRootDomNode();tt&&tt.focus&&tt.focus();var ve=fr.props,_e=ve.changeOnSelect,ke=ve.loadData,rt=ve.expandTrigger;if(!$r||$r.disabled)return;var Wt=fr.state.activeValue;Wt=Wt.slice(0,Ln+1),Wt[Ln]=$r[fr.getFieldName("value")];var Bt=fr.getActiveOptions(Wt);if($r.isLeaf===!1&&!$r[fr.getFieldName("children")]&&ke){_e&&fr.handleChange(Bt,{visible:!0},$e),fr.setState({activeValue:Wt}),ke(Bt);return}var Gt={};!$r[fr.getFieldName("children")]||!$r[fr.getFieldName("children")].length?(fr.handleChange(Bt,{visible:!1},$e),Gt.value=Wt):_e&&($e.type==="click"||$e.type==="keydown")&&(rt==="hover"?fr.handleChange(Bt,{visible:!1},$e):fr.handleChange(Bt,{visible:!0},$e),Gt.value=Wt),Gt.activeValue=Wt,("value"in fr.props||$e.type==="keydown"&&$e.keyCode!==f.a.ENTER)&&delete Gt.value,fr.setState(Gt)},fr.handleItemDoubleClick=function(){var $r=fr.props.changeOnSelect;$r&&fr.setPopupVisible(!1)},fr.handleKeyDown=function($r){var Ln=fr.props.children;if(Ln&&Ln.props.onKeyDown){Ln.props.onKeyDown($r);return}var $e=W(fr.state.activeValue),tt=$e.length-1<0?0:$e.length-1,ve=fr.getCurrentLevelOptions(),_e=ve.map(function(Bt){return Bt[fr.getFieldName("value")]}).indexOf($e[tt]);if($r.keyCode!==f.a.DOWN&&$r.keyCode!==f.a.UP&&$r.keyCode!==f.a.LEFT&&$r.keyCode!==f.a.RIGHT&&$r.keyCode!==f.a.ENTER&&$r.keyCode!==f.a.SPACE&&$r.keyCode!==f.a.BACKSPACE&&$r.keyCode!==f.a.ESC&&$r.keyCode!==f.a.TAB)return;if(!fr.state.popupVisible&&$r.keyCode!==f.a.BACKSPACE&&$r.keyCode!==f.a.LEFT&&$r.keyCode!==f.a.RIGHT&&$r.keyCode!==f.a.ESC&&$r.keyCode!==f.a.TAB){fr.setPopupVisible(!0);return}if($r.keyCode===f.a.DOWN||$r.keyCode===f.a.UP){$r.preventDefault();var ke=_e;ke!==-1?$r.keyCode===f.a.DOWN?(ke+=1,ke=ke>=ve.length?0:ke):(ke-=1,ke=ke<0?ve.length-1:ke):ke=0,$e[tt]=ve[ke][fr.getFieldName("value")]}else if($r.keyCode===f.a.LEFT||$r.keyCode===f.a.BACKSPACE)$r.preventDefault(),$e.splice($e.length-1,1);else if($r.keyCode===f.a.RIGHT)$r.preventDefault(),ve[_e]&&ve[_e][fr.getFieldName("children")]&&$e.push(ve[_e][fr.getFieldName("children")][0][fr.getFieldName("value")]);else if($r.keyCode===f.a.ESC||$r.keyCode===f.a.TAB){fr.setPopupVisible(!1);return}(!$e||$e.length===0)&&fr.setPopupVisible(!1);var rt=fr.getActiveOptions($e),Wt=rt[rt.length-1];fr.handleMenuSelect(Wt,rt.length-1,$r),fr.props.onKeyDown&&fr.props.onKeyDown($r)},fr.saveTrigger=function($r){fr.trigger=$r};var An=[];return"value"in vr?An=vr.value||[]:"defaultValue"in vr&&(An=vr.defaultValue||[]),u()(!("filedNames"in vr),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),fr.state={popupVisible:vr.popupVisible,activeValue:An,value:An,prevProps:vr},fr.defaultFieldNames={label:"label",value:"value",children:"children"},fr}return Ce(xr,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(fr){var An=this.defaultFieldNames,$r=this.props,Ln=$r.fieldNames,$e=$r.filedNames;return"filedNames"in this.props?$e[fr]||An[fr]:Ln[fr]||An[fr]}},{key:"getFieldNames",value:function(){var fr=this.props,An=fr.fieldNames,$r=fr.filedNames;return"filedNames"in this.props?$r:An}},{key:"getCurrentLevelOptions",value:function(){var fr=this,An=this.props.options,$r=An===void 0?[]:An,Ln=this.state.activeValue,$e=Ln===void 0?[]:Ln,tt=A()($r,function(ve,_e){return ve[fr.getFieldName("value")]===$e[_e]},{childrenKeyName:this.getFieldName("children")});return tt[tt.length-2]?tt[tt.length-2][this.getFieldName("children")]:W($r).filter(function(ve){return!ve.disabled})}},{key:"getActiveOptions",value:function(fr){var An=this;return A()(this.props.options||[],function($r,Ln){return $r[An.getFieldName("value")]===fr[Ln]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var fr=this.props,An=fr.prefixCls,$r=fr.transitionName,Ln=fr.popupClassName,$e=fr.options,tt=$e===void 0?[]:$e,ve=fr.disabled,_e=fr.builtinPlacements,ke=fr.popupPlacement,rt=fr.children,Wt=fr.dropdownRender,Bt=H(fr,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children","dropdownRender"]),Gt=e.createElement("div",null),Rr="";tt&&tt.length>0?Gt=e.createElement(D,Object.assign({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):Rr=" ".concat(An,"-menus-empty");var Pr=Gt;return Wt&&(Pr=Wt(Gt)),e.createElement(a.a,Object.assign({ref:this.saveTrigger},Bt,{popupPlacement:ke,builtinPlacements:_e,popupTransitionName:$r,action:ve?[]:["click"],popupVisible:ve?!1:this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:"".concat(An,"-menus"),popupClassName:Ln+Rr,popup:Pr}),e.cloneElement(rt,{onKeyDown:this.handleKeyDown,tabIndex:ve?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(fr,An){var $r=An.prevProps,Ln=$r===void 0?{}:$r,$e={prevProps:fr};return"value"in fr&&!g(Ln.value,fr.value)&&($e.value=fr.value||[],"loadData"in fr||($e.activeValue=fr.value||[])),"popupVisible"in fr&&($e.popupVisible=fr.popupVisible),$e}}]),xr}(e.Component);return ot.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:B,expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},ot}(),Ye=it,nt=Ye,je=d("TSYQ"),et=d.n(je),He=d("BGR+"),pe=d("kbBi"),ae=d.n(pe),re=d("HQEm"),be=d.n(re),ze=d("fEPi"),Ke=d.n(ze),Te=d("5YOS"),gt=d.n(Te),Ue=d("DFhj"),bt=d.n(Ue),wt=d("5rEg"),Et=d("H84U"),xt=d("YMnH"),Tt=d("uaoM"),Be=d("3Nzz"),ce=d("0n0R"),q=function(ot,Qe){var qt={};for(var xr in ot)Object.prototype.hasOwnProperty.call(ot,xr)&&Qe.indexOf(xr)<0&&(qt[xr]=ot[xr]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var vr=0,xr=Object.getOwnPropertySymbols(ot);vr<xr.length;vr++)Qe.indexOf(xr[vr])<0&&Object.prototype.propertyIsEnumerable.call(ot,xr[vr])&&(qt[xr[vr]]=ot[xr[vr]]);return qt},dt=50;function Ve(ot,Qe,qt){return ot.split(Qe).map(function(xr,vr){return vr===0?xr:[e.createElement("span",{className:"".concat(qt,"-menu-item-keyword"),key:"seperator"},Qe),xr]})}function de(ot,Qe,qt){return Qe.some(function(xr){return xr[qt.label].indexOf(ot)>-1})}function Ht(ot,Qe,qt,xr){return Qe.map(function(vr,fr){var An=vr[xr.label],$r=An.indexOf(ot)>-1?Ve(An,ot,qt):An;return fr===0?$r:[" / ",$r]})}function tr(ot,Qe,qt,xr){function vr(fr){return fr[xr.label].indexOf(qt)>-1}return ot.findIndex(vr)-Qe.findIndex(vr)}function lt(ot){var Qe=ot.fieldNames;return Qe}function Xt(ot){var Qe=lt(ot)||{},qt={children:Qe.children||"children",label:Qe.label||"label",value:Qe.value||"value"};return qt}function sr(ot,Qe){var qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],xr=Xt(Qe),vr=[],fr=xr.children;return ot.forEach(function(An){var $r=qt.concat(An);(Qe.changeOnSelect||!An[fr]||!An[fr].length)&&vr.push($r),An[fr]&&(vr=vr.concat(sr(An[fr],Qe,$r)))}),vr}var Kr=function(Qe){return Qe.join(" / ")};function rr(ot){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(ot||[]).forEach(function(qt){var xr=Qe.value||"value";Object(Tt.a)(xr in qt,"Cascader","Not found `value` in `options`."),rr(qt[Qe.children||"children"],Qe)})}var nr=function(ot){l()(qt,ot);var Qe=c()(qt);function qt(xr){var vr;return t()(this,qt),vr=Qe.call(this,xr),vr.cachedOptions=[],vr.setValue=function(fr){var An=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];"value"in vr.props||vr.setState({value:fr});var $r=vr.props.onChange;$r&&$r(fr,An)},vr.saveInput=function(fr){vr.input=fr},vr.handleChange=function(fr,An){if(vr.setState({inputValue:""}),An[0].__IS_FILTERED_OPTION){var $r=fr[0],Ln=An[0].path;vr.setValue($r,Ln);return}vr.setValue(fr,An)},vr.handlePopupVisibleChange=function(fr){"popupVisible"in vr.props||vr.setState(function($r){return{popupVisible:fr,inputFocused:fr,inputValue:fr?$r.inputValue:""}});var An=vr.props.onPopupVisibleChange;An&&An(fr)},vr.handleInputBlur=function(){vr.setState({inputFocused:!1})},vr.handleInputClick=function(fr){var An=vr.state,$r=An.inputFocused,Ln=An.popupVisible;($r||Ln)&&fr.stopPropagation()},vr.handleKeyDown=function(fr){(fr.keyCode===f.a.BACKSPACE||fr.keyCode===f.a.SPACE)&&fr.stopPropagation()},vr.handleInputChange=function(fr){var An=vr.state.popupVisible,$r=fr.target.value;An||vr.handlePopupVisibleChange(!0),vr.setState({inputValue:$r})},vr.clearSelection=function(fr){var An=vr.state.inputValue;fr.preventDefault(),fr.stopPropagation(),An?vr.setState({inputValue:""}):(vr.handlePopupVisibleChange(!1),vr.clearSelectionTimeout=setTimeout(function(){vr.setValue([])},200))},vr.renderCascader=function(fr,An){var $r=fr.getPopupContainer,Ln=fr.getPrefixCls,$e=fr.renderEmpty,tt=fr.direction;return e.createElement(Be.b.Consumer,null,function(ve){var _e,ke,rt,Wt,Bt=r()(vr),Gt=Bt.props,Rr=Bt.state,Pr=Gt.prefixCls,cn=Gt.inputPrefixCls,Ut=Gt.children,pt=Gt.placeholder,ct=pt===void 0?An.placeholder||"Please select":pt,Qt=Gt.size,Jt=Gt.disabled,yt=Gt.className,Pt=Gt.style,At=Gt.allowClear,Ft=Gt.showSearch,pr=Ft===void 0?!1:Ft,or=Gt.suffixIcon,ir=Gt.expandIcon,Yr=Gt.notFoundContent,Jr=Gt.popupClassName,_n=Gt.bordered,Nn=Gt.dropdownRender,zn=q(Gt,["prefixCls","inputPrefixCls","children","placeholder","size","disabled","className","style","allowClear","showSearch","suffixIcon","expandIcon","notFoundContent","popupClassName","bordered","dropdownRender"]),ei=Qt||ve,vi=Rr.value,Pi=Rr.inputFocused,Ge=tt==="rtl",we=Ln("cascader",Pr),Le=Ln("input",cn),De=et()((_e={},E()(_e,"".concat(Le,"-lg"),ei==="large"),E()(_e,"".concat(Le,"-sm"),ei==="small"),_e)),We=At&&!Jt&&vi.length>0||Rr.inputValue?e.createElement(ae.a,{className:"".concat(we,"-picker-clear"),onClick:vr.clearSelection}):null,Fe=et()((ke={},E()(ke,"".concat(we,"-picker-arrow"),!0),E()(ke,"".concat(we,"-picker-arrow-expand"),Rr.popupVisible),ke)),Je=et()(yt,"".concat(we,"-picker"),(rt={},E()(rt,"".concat(we,"-picker-rtl"),Ge),E()(rt,"".concat(we,"-picker-with-value"),Rr.inputValue),E()(rt,"".concat(we,"-picker-disabled"),Jt),E()(rt,"".concat(we,"-picker-").concat(ei),!!ei),E()(rt,"".concat(we,"-picker-show-search"),!!pr),E()(rt,"".concat(we,"-picker-focused"),Pi),E()(rt,"".concat(we,"-picker-borderless"),!_n),rt)),vt=Object(He.default)(zn,["onChange","options","popupPlacement","transitionName","displayRender","onPopupVisibleChange","changeOnSelect","expandTrigger","popupVisible","getPopupContainer","loadData","popupClassName","filterOption","renderFilteredOption","sortFilteredOption","notFoundContent","fieldNames","bordered"]),st=Gt.options,kt=Xt(vr.props);if(st&&st.length>0)Rr.inputValue&&(st=vr.generateFilteredOptions(we,$e));else{var wr;st=[(wr={},E()(wr,kt.label,Yr||$e("Cascader")),E()(wr,kt.value,"ANT_CASCADER_NOT_FOUND"),wr)]}Rr.popupVisible?vr.cachedOptions=st:st=vr.cachedOptions;var hr={},Nr=(st||[]).length===1&&st[0].isEmptyNode;Nr&&(hr.height="auto");var Kt=pr.matchInputWidth!==!1;Kt&&(Rr.inputValue||Nr)&&vr.input&&(hr.width=vr.input.input.offsetWidth);var un;or?un=Object(ce.c)(or,e.createElement("span",{className:"".concat(we,"-picker-arrow")},or),function(){var ii;return{className:et()((ii={},E()(ii,or.props.className,or.props.className),E()(ii,"".concat(we,"-picker-arrow"),!0),ii))}}):un=e.createElement(be.a,{className:Fe});var ar=Ut||e.createElement("span",{style:Pt,className:Je},e.createElement("span",{className:"".concat(we,"-picker-label")},vr.getLabel()),e.createElement(wt.a,_()({},vt,{tabIndex:"-1",ref:vr.saveInput,prefixCls:Le,placeholder:vi&&vi.length>0?void 0:ct,className:"".concat(we,"-input ").concat(De),value:Rr.inputValue,disabled:Jt,readOnly:!pr,autoComplete:vt.autoComplete||"off",onClick:pr?vr.handleInputClick:void 0,onBlur:pr?vr.handleInputBlur:void 0,onKeyDown:vr.handleKeyDown,onChange:pr?vr.handleInputChange:void 0})),We,un),Xr;ir?Xr=ir:Xr=Ge?e.createElement(bt.a,null):e.createElement(Ke.a,null);var kr=e.createElement("span",{className:"".concat(we,"-menu-item-loading-icon")},e.createElement(gt.a,{spin:!0})),gr=Gt.getPopupContainer||$r,Sn=Object(He.default)(Gt,["inputIcon","expandIcon","loadingIcon","bordered"]),Pn=et()(Jr,(Wt={},E()(Wt,"".concat(we,"-menu-").concat(tt),tt==="rtl"),E()(Wt,"".concat(we,"-menu-empty"),st.length===1&&st[0].value==="ANT_CASCADER_NOT_FOUND"),Wt));return e.createElement(nt,_()({},Sn,{prefixCls:we,getPopupContainer:gr,options:st,value:vi,popupVisible:Rr.popupVisible,onPopupVisibleChange:vr.handlePopupVisibleChange,onChange:vr.handleChange,dropdownMenuColumnStyle:hr,expandIcon:Xr,loadingIcon:kr,popupClassName:Pn,popupPlacement:vr.getPopupPlacement(tt),dropdownRender:Nn}),ar)})},vr.state={value:xr.value||xr.defaultValue||[],inputValue:"",inputFocused:!1,popupVisible:xr.popupVisible,flattenOptions:xr.showSearch?sr(xr.options,xr):void 0,prevProps:xr},vr}return h()(qt,[{key:"componentWillUnmount",value:function(){this.clearSelectionTimeout&&clearTimeout(this.clearSelectionTimeout)}},{key:"getLabel",value:function(){var vr=this.props,fr=vr.options,An=vr.displayRender,$r=An===void 0?Kr:An,Ln=Xt(this.props),$e=this.state.value,tt=Array.isArray($e[0])?$e[0]:$e,ve=A()(fr,function(ke,rt){return ke[Ln.value]===tt[rt]},{childrenKeyName:Ln.children}),_e=ve.length?ve.map(function(ke){return ke[Ln.label]}):$e;return $r(_e,ve)}},{key:"generateFilteredOptions",value:function(vr,fr){var An=this,$r,Ln=this.props,$e=Ln.showSearch,tt=Ln.notFoundContent,ve=Xt(this.props),_e=$e.filter,ke=_e===void 0?de:_e,rt=$e.render,Wt=rt===void 0?Ht:rt,Bt=$e.sort,Gt=Bt===void 0?tr:Bt,Rr=$e.limit,Pr=Rr===void 0?dt:Rr,cn=this.state,Ut=cn.flattenOptions,pt=Ut===void 0?[]:Ut,ct=cn.inputValue,Qt;if(Pr>0){Qt=[];var Jt=0;pt.some(function(yt){var Pt=ke(An.state.inputValue,yt,ve);return Pt&&(Qt.push(yt),Jt+=1),Jt>=Pr})}else Object(Tt.a)(typeof Pr!="number","Cascader","'limit' of showSearch should be positive number or false."),Qt=pt.filter(function(yt){return ke(An.state.inputValue,yt,ve)});return Qt=Qt.sort(function(yt,Pt){return Gt(yt,Pt,ct,ve)}),Qt.length>0?Qt.map(function(yt){var Pt;return Pt={__IS_FILTERED_OPTION:!0,path:yt},E()(Pt,ve.value,yt.map(function(At){return At[ve.value]})),E()(Pt,ve.label,Wt(ct,yt,vr,ve)),E()(Pt,"disabled",yt.some(function(At){return!!At.disabled})),E()(Pt,"isEmptyNode",!0),Pt}):[($r={},E()($r,ve.value,"ANT_CASCADER_NOT_FOUND"),E()($r,ve.label,tt||fr("Cascader")),E()($r,"disabled",!0),E()($r,"isEmptyNode",!0),$r)]}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getPopupPlacement",value:function(){var vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ltr",fr=this.props.popupPlacement;return fr!==void 0?fr:vr==="rtl"?"bottomRight":"bottomLeft"}},{key:"render",value:function(){var vr=this;return e.createElement(Et.a,null,function(fr){return e.createElement(xt.a,null,function(An){return vr.renderCascader(fr,An)})})}}],[{key:"getDerivedStateFromProps",value:function(vr,fr){var An=fr.prevProps,$r={prevProps:vr};return"value"in vr&&($r.value=vr.value||[]),"popupVisible"in vr&&($r.popupVisible=vr.popupVisible),vr.showSearch&&An.options!==vr.options&&($r.flattenOptions=sr(vr.options,vr)),$r}}]),qt}(e.Component);nr.defaultProps={transitionName:"slide-up",options:[],disabled:!1,allowClear:!0,bordered:!0};var Nt=z.a=nr},DFhj:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("GGyF"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},DL4k:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},DN4a:function(ue,z,d){var O=d("Fofx"),_=d("QBsz"),I=O.identity,E=5e-5;function C(l){return l>E||l<-E}var t=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},p=t.prototype;p.transform=null,p.needLocalTransform=function(){return C(this.rotation)||C(this.position[0])||C(this.position[1])||C(this.scale[0]-1)||C(this.scale[1]-1)};var h=[];p.updateTransform=function(){var l=this.parent,n=l&&l.transform,c=this.needLocalTransform(),e=this.transform;if(!(c||n)){e&&I(e);return}e=e||O.create(),c?this.getLocalTransform(e):I(e),n&&(c?O.mul(e,l.transform,e):O.copy(e,l.transform)),this.transform=e;var a=this.globalScaleRatio;if(a!=null&&a!==1){this.getGlobalScale(h);var i=h[0]<0?-1:1,u=h[1]<0?-1:1,f=((h[0]-i)*a+i)/h[0]||0,m=((h[1]-u)*a+u)/h[1]||0;e[0]*=f,e[1]*=f,e[2]*=m,e[3]*=m}this.invTransform=this.invTransform||O.create(),O.invert(this.invTransform,e)},p.getLocalTransform=function(l){return t.getLocalTransform(this,l)},p.setTransform=function(l){var n=this.transform,c=l.dpr||1;n?l.setTransform(c*n[0],c*n[1],c*n[2],c*n[3],c*n[4],c*n[5]):l.setTransform(c,0,0,c,0,0)},p.restoreTransform=function(l){var n=l.dpr||1;l.setTransform(n,0,0,n,0,0)};var o=[],r=O.create();p.setLocalTransform=function(l){if(!l)return;var n=l[0]*l[0]+l[1]*l[1],c=l[2]*l[2]+l[3]*l[3],e=this.position,a=this.scale;C(n-1)&&(n=Math.sqrt(n)),C(c-1)&&(c=Math.sqrt(c)),l[0]<0&&(n=-n),l[3]<0&&(c=-c),e[0]=l[4],e[1]=l[5],a[0]=n,a[1]=c,this.rotation=Math.atan2(-l[1]/c,l[0]/n)},p.decomposeTransform=function(){if(!this.transform)return;var l=this.parent,n=this.transform;l&&l.transform&&(O.mul(o,l.invTransform,n),n=o);var c=this.origin;c&&(c[0]||c[1])&&(r[4]=c[0],r[5]=c[1],O.mul(o,n,r),o[4]-=c[0],o[5]-=c[1],n=o),this.setLocalTransform(n)},p.getGlobalScale=function(l){var n=this.transform;return l=l||[],n?(l[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),l[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(l[0]=-l[0]),n[3]<0&&(l[1]=-l[1]),l):(l[0]=1,l[1]=1,l)},p.transformCoordToLocal=function(l,n){var c=[l,n],e=this.invTransform;return e&&_.applyTransform(c,c,e),c},p.transformCoordToGlobal=function(l,n){var c=[l,n],e=this.transform;return e&&_.applyTransform(c,c,e),c},t.getLocalTransform=function(l,n){n=n||[],I(n);var c=l.origin,e=l.scale||[1,1],a=l.rotation||0,i=l.position||[0,0];return c&&(n[4]-=c[0],n[5]-=c[1]),O.scale(n,n,e),a&&O.rotate(n,n,a),c&&(n[4]+=c[0],n[5]+=c[1]),n[4]+=i[0],n[5]+=i[1],n};var s=t;ue.exports=s},DO2E:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},DYRE:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("OPEp"),E=d.n(I)},DZo9:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("JGo8"),E=d.n(I),C=d("+L6B"),t=d("MXD1"),p=d("5Dmo")},Dagg:function(ue,z,d){var O=d("Gev7"),_=d("mFDi"),I=d("bYtY"),E=d("Xnb7");function C(p){O.call(this,p)}C.prototype={constructor:C,type:"image",brush:function(h,o){var r=this.style,s=r.image;r.bind(h,this,o);var l=this._image=E.createOrUpdateImage(s,this._image,this,this.onload);if(!l||!E.isImageReady(l))return;var n=r.x||0,c=r.y||0,e=r.width,a=r.height,i=l.width/l.height;if(e==null&&a!=null?e=a*i:a==null&&e!=null?a=e/i:e==null&&a==null&&(e=l.width,a=l.height),this.setTransform(h),r.sWidth&&r.sHeight){var u=r.sx||0,f=r.sy||0;h.drawImage(l,u,f,r.sWidth,r.sHeight,n,c,e,a)}else if(r.sx&&r.sy){var u=r.sx,f=r.sy,m=e-u,A=a-f;h.drawImage(l,u,f,m,A,n,c,e,a)}else h.drawImage(l,n,c,e,a);r.text!=null&&(this.restoreTransform(h),this.drawRectText(h,this.getBoundingRect()))},getBoundingRect:function(){var h=this.style;return this._rect||(this._rect=new _(h.x||0,h.y||0,h.width||0,h.height||0)),this._rect}},I.inherits(C,O);var t=C;ue.exports=t},Dg8C:function(ue,z,d){var O=d("XxSj"),_=d("bYtY");function I(E,C){E.eachSeriesByType("sankey",function(t){var p=t.getGraph(),h=p.nodes;if(h.length){var o=Infinity,r=-Infinity;_.each(h,function(s){var l=s.getLayout().value;l<o&&(o=l),l>r&&(r=l)}),_.each(h,function(s){var l=new O({type:"color",mappingMethod:"linear",dataExtent:[o,r],visual:t.get("color")}),n=l.mapValueToVisual(s.getLayout().value),c=s.getModel().get("itemStyle.color");c!=null?s.setVisual("color",c):s.setVisual("color",n)})}})}ue.exports=I},DjyN:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("Urep"),E=d.n(I),C=d("OaEy")},DlQD:function(ue,z,d){(function(O,_){ue.exports=_()})(this,function(){"use strict";function O(Et,xt){for(var Tt=0;Tt<xt.length;Tt++){var Be=xt[Tt];Be.enumerable=Be.enumerable||!1,Be.configurable=!0,"value"in Be&&(Be.writable=!0),Object.defineProperty(Et,Be.key,Be)}}function _(Et,xt,Tt){return xt&&O(Et.prototype,xt),Tt&&O(Et,Tt),Et}function I(Et,xt){if(!Et)return;if(typeof Et=="string")return E(Et,xt);var Tt=Object.prototype.toString.call(Et).slice(8,-1);if(Tt==="Object"&&Et.constructor&&(Tt=Et.constructor.name),Tt==="Map"||Tt==="Set")return Array.from(Et);if(Tt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Tt))return E(Et,xt)}function E(Et,xt){(xt==null||xt>Et.length)&&(xt=Et.length);for(var Tt=0,Be=new Array(xt);Tt<xt;Tt++)Be[Tt]=Et[Tt];return Be}function C(Et,xt){var Tt;if(typeof Symbol=="undefined"||Et[Symbol.iterator]==null){if(Array.isArray(Et)||(Tt=I(Et))||xt&&Et&&typeof Et.length=="number"){Tt&&(Et=Tt);var Be=0;return function(){return Be>=Et.length?{done:!0}:{done:!1,value:Et[Be++]}}}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 Tt=Et[Symbol.iterator](),Tt.next.bind(Tt)}function t(Et,xt){return xt={exports:{}},Et(xt,xt.exports),xt.exports}var p=t(function(Et){function xt(){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 Tt(Be){Et.exports.defaults=Be}Et.exports={defaults:xt(),getDefaults:xt,changeDefaults:Tt}}),h=p.defaults,o=p.getDefaults,r=p.changeDefaults,s=/[&<>"']/,l=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,c=/[<>"']|&(?!#?\w+;)/g,e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},a=function(xt){return e[xt]};function i(Et,xt){if(xt){if(s.test(Et))return Et.replace(l,a)}else if(n.test(Et))return Et.replace(c,a);return Et}var u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function f(Et){return Et.replace(u,function(xt,Tt){return Tt=Tt.toLowerCase(),Tt==="colon"?":":Tt.charAt(0)==="#"?Tt.charAt(1)==="x"?String.fromCharCode(parseInt(Tt.substring(2),16)):String.fromCharCode(+Tt.substring(1)):""})}var m=/(^|[^\[])\^/g;function A(Et,xt){Et=Et.source||Et,xt=xt||"";var Tt={replace:function(ce,q){return q=q.source||q,q=q.replace(m,"$1"),Et=Et.replace(ce,q),Tt},getRegex:function(){return new RegExp(Et,xt)}};return Tt}var g=/[^\w:]/g,v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function b(Et,xt,Tt){if(Et){var Be;try{Be=decodeURIComponent(f(Tt)).replace(g,"").toLowerCase()}catch(ce){return null}if(Be.indexOf("javascript:")===0||Be.indexOf("vbscript:")===0||Be.indexOf("data:")===0)return null}xt&&!v.test(Tt)&&(Tt=T(xt,Tt));try{Tt=encodeURI(Tt).replace(/%25/g,"%")}catch(ce){return null}return Tt}var S={},y=/^[^:]+:\/*[^/]*$/,w=/^([^:]+:)[\s\S]*$/,x=/^([^:]+:\/*[^/]*)[\s\S]*$/;function T(Et,xt){S[" "+Et]||(y.test(Et)?S[" "+Et]=Et+"/":S[" "+Et]=k(Et,"/",!0)),Et=S[" "+Et];var Tt=Et.indexOf(":")===-1;return xt.substring(0,2)==="//"?Tt?xt:Et.replace(w,"$1")+xt:xt.charAt(0)==="/"?Tt?xt:Et.replace(x,"$1")+xt:Et+xt}var L={exec:function(){}};function R(Et){for(var xt=1,Tt,Be;xt<arguments.length;xt++){Tt=arguments[xt];for(Be in Tt)Object.prototype.hasOwnProperty.call(Tt,Be)&&(Et[Be]=Tt[Be])}return Et}function P(Et,xt){var Tt=Et.replace(/\|/g,function(q,dt,Ve){for(var de=!1,Ht=dt;--Ht>=0&&Ve[Ht]==="\\";)de=!de;return de?"|":" |"}),Be=Tt.split(/ \|/),ce=0;if(Be.length>xt)Be.splice(xt);else for(;Be.length<xt;)Be.push("");for(;ce<Be.length;ce++)Be[ce]=Be[ce].trim().replace(/\\\|/g,"|");return Be}function k(Et,xt,Tt){var Be=Et.length;if(Be===0)return"";for(var ce=0;ce<Be;){var q=Et.charAt(Be-ce-1);if(q===xt&&!Tt)ce++;else if(q!==xt&&Tt)ce++;else break}return Et.substr(0,Be-ce)}function U(Et,xt){if(Et.indexOf(xt[1])===-1)return-1;for(var Tt=Et.length,Be=0,ce=0;ce<Tt;ce++)if(Et[ce]==="\\")ce++;else if(Et[ce]===xt[0])Be++;else if(Et[ce]===xt[1]&&(Be--,Be<0))return ce;return-1}function D(Et){Et&&Et.sanitize&&!Et.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var M={escape:i,unescape:f,edit:A,cleanUrl:b,resolveUrl:T,noopTest:L,merge:R,splitCells:P,rtrim:k,findClosingBracket:U,checkSanitizeDeprecation:D},B=p.defaults,j=M.rtrim,H=M.splitCells,K=M.escape,W=M.findClosingBracket;function X(Et,xt,Tt){var Be=xt.href,ce=xt.title?K(xt.title):null,q=Et[1].replace(/\\([\[\]])/g,"$1");return Et[0].charAt(0)!=="!"?{type:"link",raw:Tt,href:Be,title:ce,text:q}:{type:"image",raw:Tt,href:Be,title:ce,text:K(q)}}function V(Et,xt){var Tt=Et.match(/^(\s+)(?:```)/);if(Tt===null)return xt;var Be=Tt[1];return xt.split(`
`).map(function(ce){var q=ce.match(/^\s+/);if(q===null)return ce;var dt=q[0];return dt.length>=Be.length?ce.slice(Be.length):ce}).join(`
`)}var Z=function(){function Et(Tt){this.options=Tt||B}var xt=Et.prototype;return xt.space=function(Be){var ce=this.rules.block.newline.exec(Be);if(ce)return ce[0].length>1?{type:"space",raw:ce[0]}:{raw:`
`}},xt.code=function(Be,ce){var q=this.rules.block.code.exec(Be);if(q){var dt=ce[ce.length-1];if(dt&&dt.type==="paragraph")return{raw:q[0],text:q[0].trimRight()};var Ve=q[0].replace(/^ {4}/gm,"");return{type:"code",raw:q[0],codeBlockStyle:"indented",text:this.options.pedantic?Ve:j(Ve,`
`)}}},xt.fences=function(Be){var ce=this.rules.block.fences.exec(Be);if(ce){var q=ce[0],dt=V(q,ce[3]||"");return{type:"code",raw:q,lang:ce[2]?ce[2].trim():ce[2],text:dt}}},xt.heading=function(Be){var ce=this.rules.block.heading.exec(Be);if(ce)return{type:"heading",raw:ce[0],depth:ce[1].length,text:ce[2]}},xt.nptable=function(Be){var ce=this.rules.block.nptable.exec(Be);if(ce){var q={type:"table",header:H(ce[1].replace(/^ *| *\| *$/g,"")),align:ce[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ce[3]?ce[3].replace(/\n$/,"").split(`
`):[],raw:ce[0]};if(q.header.length===q.align.length){var dt=q.align.length,Ve;for(Ve=0;Ve<dt;Ve++)/^ *-+: *$/.test(q.align[Ve])?q.align[Ve]="right":/^ *:-+: *$/.test(q.align[Ve])?q.align[Ve]="center":/^ *:-+ *$/.test(q.align[Ve])?q.align[Ve]="left":q.align[Ve]=null;for(dt=q.cells.length,Ve=0;Ve<dt;Ve++)q.cells[Ve]=H(q.cells[Ve],q.header.length);return q}}},xt.hr=function(Be){var ce=this.rules.block.hr.exec(Be);if(ce)return{type:"hr",raw:ce[0]}},xt.blockquote=function(Be){var ce=this.rules.block.blockquote.exec(Be);if(ce){var q=ce[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:ce[0],text:q}}},xt.list=function(Be){var ce=this.rules.block.list.exec(Be);if(ce){for(var q=ce[0],dt=ce[2],Ve=dt.length>1,de=dt[dt.length-1]===")",Ht={type:"list",raw:q,ordered:Ve,start:Ve?+dt.slice(0,-1):"",loose:!1,items:[]},tr=ce[0].match(this.rules.block.item),lt=!1,Xt,sr,Kr,rr,nr,Nt,ot,Qe=tr.length,qt=0;qt<Qe;qt++)Xt=tr[qt],q=Xt,sr=Xt.length,Xt=Xt.replace(/^ *([*+-]|\d+[.)]) */,""),~Xt.indexOf(`
`)&&(sr-=Xt.length,Xt=this.options.pedantic?Xt.replace(/^ {1,4}/gm,""):Xt.replace(new RegExp("^ {1,"+sr+"}","gm"),"")),qt!==Qe-1&&(Kr=this.rules.block.bullet.exec(tr[qt+1])[0],(Ve?Kr.length===1||!de&&Kr[Kr.length-1]===")":Kr.length>1||this.options.smartLists&&Kr!==dt)&&(rr=tr.slice(qt+1).join(`
`),Ht.raw=Ht.raw.substring(0,Ht.raw.length-rr.length),qt=Qe-1)),nr=lt||/\n\n(?!\s*$)/.test(Xt),qt!==Qe-1&&(lt=Xt.charAt(Xt.length-1)===`
`,nr||(nr=lt)),nr&&(Ht.loose=!0),Nt=/^\[[ xX]\] /.test(Xt),ot=void 0,Nt&&(ot=Xt[1]!==" ",Xt=Xt.replace(/^\[[ xX]\] +/,"")),Ht.items.push({type:"list_item",raw:q,task:Nt,checked:ot,loose:nr,text:Xt});return Ht}},xt.html=function(Be){var ce=this.rules.block.html.exec(Be);if(ce)return{type:this.options.sanitize?"paragraph":"html",raw:ce[0],pre:!this.options.sanitizer&&(ce[1]==="pre"||ce[1]==="script"||ce[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(ce[0]):K(ce[0]):ce[0]}},xt.def=function(Be){var ce=this.rules.block.def.exec(Be);if(ce){ce[3]&&(ce[3]=ce[3].substring(1,ce[3].length-1));var q=ce[1].toLowerCase().replace(/\s+/g," ");return{tag:q,raw:ce[0],href:ce[2],title:ce[3]}}},xt.table=function(Be){var ce=this.rules.block.table.exec(Be);if(ce){var q={type:"table",header:H(ce[1].replace(/^ *| *\| *$/g,"")),align:ce[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:ce[3]?ce[3].replace(/\n$/,"").split(`
`):[]};if(q.header.length===q.align.length){q.raw=ce[0];var dt=q.align.length,Ve;for(Ve=0;Ve<dt;Ve++)/^ *-+: *$/.test(q.align[Ve])?q.align[Ve]="right":/^ *:-+: *$/.test(q.align[Ve])?q.align[Ve]="center":/^ *:-+ *$/.test(q.align[Ve])?q.align[Ve]="left":q.align[Ve]=null;for(dt=q.cells.length,Ve=0;Ve<dt;Ve++)q.cells[Ve]=H(q.cells[Ve].replace(/^ *\| *| *\| *$/g,""),q.header.length);return q}}},xt.lheading=function(Be){var ce=this.rules.block.lheading.exec(Be);if(ce)return{type:"heading",raw:ce[0],depth:ce[2].charAt(0)==="="?1:2,text:ce[1]}},xt.paragraph=function(Be){var ce=this.rules.block.paragraph.exec(Be);if(ce)return{type:"paragraph",raw:ce[0],text:ce[1].charAt(ce[1].length-1)===`
`?ce[1].slice(0,-1):ce[1]}},xt.text=function(Be,ce){var q=this.rules.block.text.exec(Be);if(q){var dt=ce[ce.length-1];return dt&&dt.type==="text"?{raw:q[0],text:q[0]}:{type:"text",raw:q[0],text:q[0]}}},xt.escape=function(Be){var ce=this.rules.inline.escape.exec(Be);if(ce)return{type:"escape",raw:ce[0],text:K(ce[1])}},xt.tag=function(Be,ce,q){var dt=this.rules.inline.tag.exec(Be);if(dt)return!ce&&/^<a /i.test(dt[0])?ce=!0:ce&&/^<\/a>/i.test(dt[0])&&(ce=!1),!q&&/^<(pre|code|kbd|script)(\s|>)/i.test(dt[0])?q=!0:q&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(dt[0])&&(q=!1),{type:this.options.sanitize?"text":"html",raw:dt[0],inLink:ce,inRawBlock:q,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(dt[0]):K(dt[0]):dt[0]}},xt.link=function(Be){var ce=this.rules.inline.link.exec(Be);if(ce){var q=W(ce[2],"()");if(q>-1){var dt=ce[0].indexOf("!")===0?5:4,Ve=dt+ce[1].length+q;ce[2]=ce[2].substring(0,q),ce[0]=ce[0].substring(0,Ve).trim(),ce[3]=""}var de=ce[2],Ht="";if(this.options.pedantic){var tr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(de);tr?(de=tr[1],Ht=tr[3]):Ht=""}else Ht=ce[3]?ce[3].slice(1,-1):"";de=de.trim().replace(/^<([\s\S]*)>$/,"$1");var lt=X(ce,{href:de&&de.replace(this.rules.inline._escapes,"$1"),title:Ht&&Ht.replace(this.rules.inline._escapes,"$1")},ce[0]);return lt}},xt.reflink=function(Be,ce){var q;if((q=this.rules.inline.reflink.exec(Be))||(q=this.rules.inline.nolink.exec(Be))){var dt=(q[2]||q[1]).replace(/\s+/g," ");if(dt=ce[dt.toLowerCase()],!dt||!dt.href){var Ve=q[0].charAt(0);return{type:"text",raw:Ve,text:Ve}}var de=X(q,dt,q[0]);return de}},xt.strong=function(Be,ce,q){q===void 0&&(q="");var dt=this.rules.inline.strong.start.exec(Be);if(dt&&(!dt[1]||dt[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){ce=ce.slice(-1*Be.length);var Ve=dt[0]==="**"?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;Ve.lastIndex=0;for(var de;(dt=Ve.exec(ce))!=null;)if(de=this.rules.inline.strong.middle.exec(ce.slice(0,dt.index+3)),de)return{type:"strong",raw:Be.slice(0,de[0].length),text:Be.slice(2,de[0].length-2)}}},xt.em=function(Be,ce,q){q===void 0&&(q="");var dt=this.rules.inline.em.start.exec(Be);if(dt&&(!dt[1]||dt[1]&&(q===""||this.rules.inline.punctuation.exec(q)))){ce=ce.slice(-1*Be.length);var Ve=dt[0]==="*"?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;Ve.lastIndex=0;for(var de;(dt=Ve.exec(ce))!=null;)if(de=this.rules.inline.em.middle.exec(ce.slice(0,dt.index+2)),de)return{type:"em",raw:Be.slice(0,de[0].length),text:Be.slice(1,de[0].length-1)}}},xt.codespan=function(Be){var ce=this.rules.inline.code.exec(Be);if(ce){var q=ce[2].replace(/\n/g," "),dt=/[^ ]/.test(q),Ve=q.startsWith(" ")&&q.endsWith(" ");return dt&&Ve&&(q=q.substring(1,q.length-1)),q=K(q,!0),{type:"codespan",raw:ce[0],text:q}}},xt.br=function(Be){var ce=this.rules.inline.br.exec(Be);if(ce)return{type:"br",raw:ce[0]}},xt.del=function(Be){var ce=this.rules.inline.del.exec(Be);if(ce)return{type:"del",raw:ce[0],text:ce[1]}},xt.autolink=function(Be,ce){var q=this.rules.inline.autolink.exec(Be);if(q){var dt,Ve;return q[2]==="@"?(dt=K(this.options.mangle?ce(q[1]):q[1]),Ve="mailto:"+dt):(dt=K(q[1]),Ve=dt),{type:"link",raw:q[0],text:dt,href:Ve,tokens:[{type:"text",raw:dt,text:dt}]}}},xt.url=function(Be,ce){var q;if(q=this.rules.inline.url.exec(Be)){var dt,Ve;if(q[2]==="@")dt=K(this.options.mangle?ce(q[0]):q[0]),Ve="mailto:"+dt;else{var de;do de=q[0],q[0]=this.rules.inline._backpedal.exec(q[0])[0];while(de!==q[0]);dt=K(q[0]),q[1]==="www."?Ve="http://"+dt:Ve=dt}return{type:"link",raw:q[0],text:dt,href:Ve,tokens:[{type:"text",raw:dt,text:dt}]}}},xt.inlineText=function(Be,ce,q){var dt=this.rules.inline.text.exec(Be);if(dt){var Ve;return ce?Ve=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(dt[0]):K(dt[0]):dt[0]:Ve=K(this.options.smartypants?q(dt[0]):dt[0]),{type:"text",raw:dt[0],text:Ve}}},Et}(),G=M.noopTest,Y=M.edit,te=M.merge,se={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]+/};se._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,se._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,se.def=Y(se.def).replace("label",se._label).replace("title",se._title).getRegex(),se.bullet=/(?:[*+-]|\d{1,9}[.)])/,se.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,se.item=Y(se.item,"gm").replace(/bull/g,se.bullet).getRegex(),se.list=Y(se.list).replace(/bull/g,se.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+se.def.source+")").getRegex(),se._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",se._comment=/<!--(?!-?>)[\s\S]*?-->/,se.html=Y(se.html,"i").replace("comment",se._comment).replace("tag",se._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),se.paragraph=Y(se._paragraph).replace("hr",se.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",se._tag).getRegex(),se.blockquote=Y(se.blockquote).replace("paragraph",se.paragraph).getRegex(),se.normal=te({},se),se.gfm=te({},se.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*|$)"}),se.gfm.nptable=Y(se.gfm.nptable).replace("hr",se.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",se._tag).getRegex(),se.gfm.table=Y(se.gfm.table).replace("hr",se.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",se._tag).getRegex(),se.pedantic=te({},se.normal,{html:Y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",se._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:Y(se.normal._paragraph).replace("hr",se.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",se.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Ce={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])/};Ce._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Ce.punctuation=Y(Ce.punctuation).replace(/punctuation/g,Ce._punctuation).getRegex(),Ce._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Ce._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Ce.em.start=Y(Ce.em.start).replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.em.middle=Y(Ce.em.middle).replace(/punctuation/g,Ce._punctuation).replace(/overlapSkip/g,Ce._overlapSkip).getRegex(),Ce.em.endAst=Y(Ce.em.endAst,"g").replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.em.endUnd=Y(Ce.em.endUnd,"g").replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.strong.start=Y(Ce.strong.start).replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.strong.middle=Y(Ce.strong.middle).replace(/punctuation/g,Ce._punctuation).replace(/blockSkip/g,Ce._blockSkip).getRegex(),Ce.strong.endAst=Y(Ce.strong.endAst,"g").replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.strong.endUnd=Y(Ce.strong.endUnd,"g").replace(/punctuation/g,Ce._punctuation).getRegex(),Ce.blockSkip=Y(Ce._blockSkip,"g").getRegex(),Ce.overlapSkip=Y(Ce._overlapSkip,"g").getRegex(),Ce._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Ce._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Ce._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])?)+(?![-_])/,Ce.autolink=Y(Ce.autolink).replace("scheme",Ce._scheme).replace("email",Ce._email).getRegex(),Ce._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Ce.tag=Y(Ce.tag).replace("comment",se._comment).replace("attribute",Ce._attribute).getRegex(),Ce._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Ce._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Ce._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Ce.link=Y(Ce.link).replace("label",Ce._label).replace("href",Ce._href).replace("title",Ce._title).getRegex(),Ce.reflink=Y(Ce.reflink).replace("label",Ce._label).getRegex(),Ce.reflinkSearch=Y(Ce.reflinkSearch,"g").replace("reflink",Ce.reflink).replace("nolink",Ce.nolink).getRegex(),Ce.normal=te({},Ce),Ce.pedantic=te({},Ce.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:Y(/^!?\[(label)\]\((.*?)\)/).replace("label",Ce._label).getRegex(),reflink:Y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ce._label).getRegex()}),Ce.gfm=te({},Ce.normal,{escape:Y(Ce.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.!#$%&'*+\/=?_`{\|}~-]+@))/}),Ce.gfm.url=Y(Ce.gfm.url,"i").replace("email",Ce.gfm._extended_email).getRegex(),Ce.breaks=te({},Ce.gfm,{br:Y(Ce.br).replace("{2,}","*").getRegex(),text:Y(Ce.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var he={block:se,inline:Ce},xe=p.defaults,ie=he.block,ee=he.inline;function Ze(Et){return Et.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Se(Et){var xt="",Tt,Be,ce=Et.length;for(Tt=0;Tt<ce;Tt++)Be=Et.charCodeAt(Tt),Math.random()>.5&&(Be="x"+Be.toString(16)),xt+="&#"+Be+";";return xt}var Ne=function(){function Et(Tt){this.tokens=[],this.tokens.links=Object.create(null),this.options=Tt||xe,this.options.tokenizer=this.options.tokenizer||new Z,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var Be={block:ie.normal,inline:ee.normal};this.options.pedantic?(Be.block=ie.pedantic,Be.inline=ee.pedantic):this.options.gfm&&(Be.block=ie.gfm,this.options.breaks?Be.inline=ee.breaks:Be.inline=ee.gfm),this.tokenizer.rules=Be}Et.lex=function(Be,ce){var q=new Et(ce);return q.lex(Be)};var xt=Et.prototype;return xt.lex=function(Be){return Be=Be.replace(/\r\n|\r/g,`
`).replace(/\t/g," "),this.blockTokens(Be,this.tokens,!0),this.inline(this.tokens),this.tokens},xt.blockTokens=function(Be,ce,q){ce===void 0&&(ce=[]),q===void 0&&(q=!0),Be=Be.replace(/^ +$/gm,"");for(var dt,Ve,de,Ht;Be;){if(dt=this.tokenizer.space(Be)){Be=Be.substring(dt.raw.length),dt.type&&ce.push(dt);continue}if(dt=this.tokenizer.code(Be,ce)){Be=Be.substring(dt.raw.length),dt.type?ce.push(dt):(Ht=ce[ce.length-1],Ht.raw+=`
`+dt.raw,Ht.text+=`
`+dt.text);continue}if(dt=this.tokenizer.fences(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.heading(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.nptable(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.hr(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.blockquote(Be)){Be=Be.substring(dt.raw.length),dt.tokens=this.blockTokens(dt.text,[],q),ce.push(dt);continue}if(dt=this.tokenizer.list(Be)){for(Be=Be.substring(dt.raw.length),de=dt.items.length,Ve=0;Ve<de;Ve++)dt.items[Ve].tokens=this.blockTokens(dt.items[Ve].text,[],!1);ce.push(dt);continue}if(dt=this.tokenizer.html(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(q&&(dt=this.tokenizer.def(Be))){Be=Be.substring(dt.raw.length),this.tokens.links[dt.tag]||(this.tokens.links[dt.tag]={href:dt.href,title:dt.title});continue}if(dt=this.tokenizer.table(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.lheading(Be)){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(q&&(dt=this.tokenizer.paragraph(Be))){Be=Be.substring(dt.raw.length),ce.push(dt);continue}if(dt=this.tokenizer.text(Be,ce)){Be=Be.substring(dt.raw.length),dt.type?ce.push(dt):(Ht=ce[ce.length-1],Ht.raw+=`
`+dt.raw,Ht.text+=`
`+dt.text);continue}if(Be){var tr="Infinite loop on byte: "+Be.charCodeAt(0);if(this.options.silent){console.error(tr);break}else throw new Error(tr)}}return ce},xt.inline=function(Be){var ce,q,dt,Ve,de,Ht,tr=Be.length;for(ce=0;ce<tr;ce++){Ht=Be[ce];switch(Ht.type){case"paragraph":case"text":case"heading":{Ht.tokens=[],this.inlineTokens(Ht.text,Ht.tokens);break}case"table":{for(Ht.tokens={header:[],cells:[]},Ve=Ht.header.length,q=0;q<Ve;q++)Ht.tokens.header[q]=[],this.inlineTokens(Ht.header[q],Ht.tokens.header[q]);for(Ve=Ht.cells.length,q=0;q<Ve;q++)for(de=Ht.cells[q],Ht.tokens.cells[q]=[],dt=0;dt<de.length;dt++)Ht.tokens.cells[q][dt]=[],this.inlineTokens(de[dt],Ht.tokens.cells[q][dt]);break}case"blockquote":{this.inline(Ht.tokens);break}case"list":{for(Ve=Ht.items.length,q=0;q<Ve;q++)this.inline(Ht.items[q].tokens);break}}}return Be},xt.inlineTokens=function(Be,ce,q,dt,Ve){ce===void 0&&(ce=[]),q===void 0&&(q=!1),dt===void 0&&(dt=!1),Ve===void 0&&(Ve="");var de,Ht=Be,tr;if(this.tokens.links){var lt=Object.keys(this.tokens.links);if(lt.length>0)for(;(tr=this.tokenizer.rules.inline.reflinkSearch.exec(Ht))!=null;)lt.includes(tr[0].slice(tr[0].lastIndexOf("[")+1,-1))&&(Ht=Ht.slice(0,tr.index)+"["+"a".repeat(tr[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(tr=this.tokenizer.rules.inline.blockSkip.exec(Ht))!=null;)Ht=Ht.slice(0,tr.index)+"["+"a".repeat(tr[0].length-2)+"]"+Ht.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;Be;){if(de=this.tokenizer.escape(Be)){Be=Be.substring(de.raw.length),ce.push(de);continue}if(de=this.tokenizer.tag(Be,q,dt)){Be=Be.substring(de.raw.length),q=de.inLink,dt=de.inRawBlock,ce.push(de);continue}if(de=this.tokenizer.link(Be)){Be=Be.substring(de.raw.length),de.type==="link"&&(de.tokens=this.inlineTokens(de.text,[],!0,dt)),ce.push(de);continue}if(de=this.tokenizer.reflink(Be,this.tokens.links)){Be=Be.substring(de.raw.length),de.type==="link"&&(de.tokens=this.inlineTokens(de.text,[],!0,dt)),ce.push(de);continue}if(de=this.tokenizer.strong(Be,Ht,Ve)){Be=Be.substring(de.raw.length),de.tokens=this.inlineTokens(de.text,[],q,dt),ce.push(de);continue}if(de=this.tokenizer.em(Be,Ht,Ve)){Be=Be.substring(de.raw.length),de.tokens=this.inlineTokens(de.text,[],q,dt),ce.push(de);continue}if(de=this.tokenizer.codespan(Be)){Be=Be.substring(de.raw.length),ce.push(de);continue}if(de=this.tokenizer.br(Be)){Be=Be.substring(de.raw.length),ce.push(de);continue}if(de=this.tokenizer.del(Be)){Be=Be.substring(de.raw.length),de.tokens=this.inlineTokens(de.text,[],q,dt),ce.push(de);continue}if(de=this.tokenizer.autolink(Be,Se)){Be=Be.substring(de.raw.length),ce.push(de);continue}if(!q&&(de=this.tokenizer.url(Be,Se))){Be=Be.substring(de.raw.length),ce.push(de);continue}if(de=this.tokenizer.inlineText(Be,dt,Ze)){Be=Be.substring(de.raw.length),Ve=de.raw.slice(-1),ce.push(de);continue}if(Be){var Xt="Infinite loop on byte: "+Be.charCodeAt(0);if(this.options.silent){console.error(Xt);break}else throw new Error(Xt)}}return ce},_(Et,null,[{key:"rules",get:function(){return{block:ie,inline:ee}}}]),Et}(),it=p.defaults,Ye=M.cleanUrl,nt=M.escape,je=function(){function Et(Tt){this.options=Tt||it}var xt=Et.prototype;return xt.code=function(Be,ce,q){var dt=(ce||"").match(/\S*/)[0];if(this.options.highlight){var Ve=this.options.highlight(Be,dt);Ve!=null&&Ve!==Be&&(q=!0,Be=Ve)}return dt?'<pre><code class="'+this.options.langPrefix+nt(dt,!0)+'">'+(q?Be:nt(Be,!0))+`</code></pre>
`:"<pre><code>"+(q?Be:nt(Be,!0))+`</code></pre>
`},xt.blockquote=function(Be){return`<blockquote>
`+Be+`</blockquote>
`},xt.html=function(Be){return Be},xt.heading=function(Be,ce,q,dt){return this.options.headerIds?"<h"+ce+' id="'+this.options.headerPrefix+dt.slug(q)+'">'+Be+"</h"+ce+`>
`:"<h"+ce+">"+Be+"</h"+ce+`>
`},xt.hr=function(){return this.options.xhtml?`<hr/>
`:`<hr>
`},xt.list=function(Be,ce,q){var dt=ce?"ol":"ul",Ve=ce&&q!==1?' start="'+q+'"':"";return"<"+dt+Ve+`>
`+Be+"</"+dt+`>
`},xt.listitem=function(Be){return"<li>"+Be+`</li>
`},xt.checkbox=function(Be){return"<input "+(Be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},xt.paragraph=function(Be){return"<p>"+Be+`</p>
`},xt.table=function(Be,ce){return ce&&(ce="<tbody>"+ce+"</tbody>"),`<table>
<thead>
`+Be+`</thead>
`+ce+`</table>
`},xt.tablerow=function(Be){return`<tr>
`+Be+`</tr>
`},xt.tablecell=function(Be,ce){var q=ce.header?"th":"td",dt=ce.align?"<"+q+' align="'+ce.align+'">':"<"+q+">";return dt+Be+"</"+q+`>
`},xt.strong=function(Be){return"<strong>"+Be+"</strong>"},xt.em=function(Be){return"<em>"+Be+"</em>"},xt.codespan=function(Be){return"<code>"+Be+"</code>"},xt.br=function(){return this.options.xhtml?"<br/>":"<br>"},xt.del=function(Be){return"<del>"+Be+"</del>"},xt.link=function(Be,ce,q){if(Be=Ye(this.options.sanitize,this.options.baseUrl,Be),Be===null)return q;var dt='<a href="'+nt(Be)+'"';return ce&&(dt+=' title="'+ce+'"'),dt+=">"+q+"</a>",dt},xt.image=function(Be,ce,q){if(Be=Ye(this.options.sanitize,this.options.baseUrl,Be),Be===null)return q;var dt='<img src="'+Be+'" alt="'+q+'"';return ce&&(dt+=' title="'+ce+'"'),dt+=this.options.xhtml?"/>":">",dt},xt.text=function(Be){return Be},Et}(),et=function(){function Et(){}var xt=Et.prototype;return xt.strong=function(Be){return Be},xt.em=function(Be){return Be},xt.codespan=function(Be){return Be},xt.del=function(Be){return Be},xt.html=function(Be){return Be},xt.text=function(Be){return Be},xt.link=function(Be,ce,q){return""+q},xt.image=function(Be,ce,q){return""+q},xt.br=function(){return""},Et}(),He=function(){function Et(){this.seen={}}var xt=Et.prototype;return xt.slug=function(Be){var ce=Be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(ce)){var q=ce;do this.seen[q]++,ce=q+"-"+this.seen[q];while(this.seen.hasOwnProperty(ce))}return this.seen[ce]=0,ce},Et}(),pe=p.defaults,ae=M.unescape,re=function(){function Et(Tt){this.options=Tt||pe,this.options.renderer=this.options.renderer||new je,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new et,this.slugger=new He}Et.parse=function(Be,ce){var q=new Et(ce);return q.parse(Be)};var xt=Et.prototype;return xt.parse=function(Be,ce){ce===void 0&&(ce=!0);var q="",dt,Ve,de,Ht,tr,lt,Xt,sr,Kr,rr,nr,Nt,ot,Qe,qt,xr,vr,fr,An=Be.length;for(dt=0;dt<An;dt++){rr=Be[dt];switch(rr.type){case"space":continue;case"hr":{q+=this.renderer.hr();continue}case"heading":{q+=this.renderer.heading(this.parseInline(rr.tokens),rr.depth,ae(this.parseInline(rr.tokens,this.textRenderer)),this.slugger);continue}case"code":{q+=this.renderer.code(rr.text,rr.lang,rr.escaped);continue}case"table":{for(sr="",Xt="",Ht=rr.header.length,Ve=0;Ve<Ht;Ve++)Xt+=this.renderer.tablecell(this.parseInline(rr.tokens.header[Ve]),{header:!0,align:rr.align[Ve]});for(sr+=this.renderer.tablerow(Xt),Kr="",Ht=rr.cells.length,Ve=0;Ve<Ht;Ve++){for(lt=rr.tokens.cells[Ve],Xt="",tr=lt.length,de=0;de<tr;de++)Xt+=this.renderer.tablecell(this.parseInline(lt[de]),{header:!1,align:rr.align[de]});Kr+=this.renderer.tablerow(Xt)}q+=this.renderer.table(sr,Kr);continue}case"blockquote":{Kr=this.parse(rr.tokens),q+=this.renderer.blockquote(Kr);continue}case"list":{for(nr=rr.ordered,Nt=rr.start,ot=rr.loose,Ht=rr.items.length,Kr="",Ve=0;Ve<Ht;Ve++)qt=rr.items[Ve],xr=qt.checked,vr=qt.task,Qe="",qt.task&&(fr=this.renderer.checkbox(xr),ot?qt.tokens.length>0&&qt.tokens[0].type==="text"?(qt.tokens[0].text=fr+" "+qt.tokens[0].text,qt.tokens[0].tokens&&qt.tokens[0].tokens.length>0&&qt.tokens[0].tokens[0].type==="text"&&(qt.tokens[0].tokens[0].text=fr+" "+qt.tokens[0].tokens[0].text)):qt.tokens.unshift({type:"text",text:fr}):Qe+=fr),Qe+=this.parse(qt.tokens,ot),Kr+=this.renderer.listitem(Qe,vr,xr);q+=this.renderer.list(Kr,nr,Nt);continue}case"html":{q+=this.renderer.html(rr.text);continue}case"paragraph":{q+=this.renderer.paragraph(this.parseInline(rr.tokens));continue}case"text":{for(Kr=rr.tokens?this.parseInline(rr.tokens):rr.text;dt+1<An&&Be[dt+1].type==="text";)rr=Be[++dt],Kr+=`
`+(rr.tokens?this.parseInline(rr.tokens):rr.text);q+=ce?this.renderer.paragraph(Kr):Kr;continue}default:{var $r='Token with "'+rr.type+'" type was not found.';if(this.options.silent){console.error($r);return}else throw new Error($r)}}}return q},xt.parseInline=function(Be,ce){ce=ce||this.renderer;var q="",dt,Ve,de=Be.length;for(dt=0;dt<de;dt++){Ve=Be[dt];switch(Ve.type){case"escape":{q+=ce.text(Ve.text);break}case"html":{q+=ce.html(Ve.text);break}case"link":{q+=ce.link(Ve.href,Ve.title,this.parseInline(Ve.tokens,ce));break}case"image":{q+=ce.image(Ve.href,Ve.title,Ve.text);break}case"strong":{q+=ce.strong(this.parseInline(Ve.tokens,ce));break}case"em":{q+=ce.em(this.parseInline(Ve.tokens,ce));break}case"codespan":{q+=ce.codespan(Ve.text);break}case"br":{q+=ce.br();break}case"del":{q+=ce.del(this.parseInline(Ve.tokens,ce));break}case"text":{q+=ce.text(Ve.text);break}default:{var Ht='Token with "'+Ve.type+'" type was not found.';if(this.options.silent){console.error(Ht);return}else throw new Error(Ht)}}}return q},Et}(),be=M.merge,ze=M.checkSanitizeDeprecation,Ke=M.escape,Te=p.getDefaults,gt=p.changeDefaults,Ue=p.defaults;function bt(Et,xt,Tt){if(typeof Et=="undefined"||Et===null)throw new Error("marked(): input parameter is undefined or null");if(typeof Et!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(Et)+", string expected");if(typeof xt=="function"&&(Tt=xt,xt=null),xt=be({},bt.defaults,xt||{}),ze(xt),Tt){var Be=xt.highlight,ce;try{ce=Ne.lex(Et,xt)}catch(de){return Tt(de)}var q=function(Ht){var tr;if(!Ht)try{tr=re.parse(ce,xt)}catch(lt){Ht=lt}return xt.highlight=Be,Ht?Tt(Ht):Tt(null,tr)};if(!Be||Be.length<3)return q();if(delete xt.highlight,!ce.length)return q();var dt=0;bt.walkTokens(ce,function(de){de.type==="code"&&(dt++,setTimeout(function(){Be(de.text,de.lang,function(Ht,tr){if(Ht)return q(Ht);tr!=null&&tr!==de.text&&(de.text=tr,de.escaped=!0),dt--,dt===0&&q()})},0))}),dt===0&&q();return}try{var Ve=Ne.lex(Et,xt);return xt.walkTokens&&bt.walkTokens(Ve,xt.walkTokens),re.parse(Ve,xt)}catch(de){if(de.message+=`
Please report this to https://github.com/markedjs/marked.`,xt.silent)return"<p>An error occurred:</p><pre>"+Ke(de.message+"",!0)+"</pre>";throw de}}bt.options=bt.setOptions=function(Et){return be(bt.defaults,Et),gt(bt.defaults),bt},bt.getDefaults=Te,bt.defaults=Ue,bt.use=function(Et){var xt=be({},Et);if(Et.renderer&&function(){var Be=bt.defaults.renderer||new je,ce=function(Ve){var de=Be[Ve];Be[Ve]=function(){for(var Ht=arguments.length,tr=new Array(Ht),lt=0;lt<Ht;lt++)tr[lt]=arguments[lt];var Xt=Et.renderer[Ve].apply(Be,tr);return Xt===!1&&(Xt=de.apply(Be,tr)),Xt}};for(var q in Et.renderer)ce(q);xt.renderer=Be}(),Et.tokenizer&&function(){var Be=bt.defaults.tokenizer||new Z,ce=function(Ve){var de=Be[Ve];Be[Ve]=function(){for(var Ht=arguments.length,tr=new Array(Ht),lt=0;lt<Ht;lt++)tr[lt]=arguments[lt];var Xt=Et.tokenizer[Ve].apply(Be,tr);return Xt===!1&&(Xt=de.apply(Be,tr)),Xt}};for(var q in Et.tokenizer)ce(q);xt.tokenizer=Be}(),Et.walkTokens){var Tt=bt.defaults.walkTokens;xt.walkTokens=function(Be){Et.walkTokens(Be),Tt&&Tt(Be)}}bt.setOptions(xt)},bt.walkTokens=function(Et,xt){for(var Tt=C(Et),Be;!(Be=Tt()).done;){var ce=Be.value;xt(ce);switch(ce.type){case"table":{for(var q=C(ce.tokens.header),dt;!(dt=q()).done;){var Ve=dt.value;bt.walkTokens(Ve,xt)}for(var de=C(ce.tokens.cells),Ht;!(Ht=de()).done;)for(var tr=Ht.value,lt=C(tr),Xt;!(Xt=lt()).done;){var sr=Xt.value;bt.walkTokens(sr,xt)}break}case"list":{bt.walkTokens(ce.items,xt);break}default:ce.tokens&&bt.walkTokens(ce.tokens,xt)}}},bt.Parser=re,bt.parser=re.parse,bt.Renderer=je,bt.TextRenderer=et,bt.Lexer=Ne,bt.lexer=Ne.lex,bt.Tokenizer=Z,bt.Slugger=He,bt.parse=bt;var wt=bt;return wt})},"DlR+":function(ue,z,d){var O=d("MFOe"),_=O.Global,I=O.trim;ue.exports={name:"cookieStorage",read:C,write:p,each:t,remove:h,clearAll:o};var E=_.document;function C(s){if(!s||!r(s))return null;var l="(?:^|.*;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(E.cookie.replace(new RegExp(l),"$1"))}function t(s){for(var l=E.cookie.split(/; ?/g),n=l.length-1;n>=0;n--){if(!I(l[n]))continue;var c=l[n].split("="),e=unescape(c[0]),a=unescape(c[1]);s(a,e)}}function p(s,l){if(!s)return;E.cookie=escape(s)+"="+escape(l)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"}function h(s){if(!s||!r(s))return;E.cookie=escape(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"}function o(){t(function(s,l){h(l)})}function r(s){return new RegExp("(?:^|;\\s*)"+escape(s).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(E.cookie)}},Ducp:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("+TT/"),E=d("XpcN"),C=_.Group,t=["width","height"],p=["x","y"],h=E.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){h.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new C),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new C),this._showController},resetInner:function(){h.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(r,s,l,n,c,e,a){var i=this;h.superCall(this,"renderInner",r,s,l,n,c,e,a);var u=this._controllerGroup,f=s.get("pageIconSize",!0);O.isArray(f)||(f=[f,f]),A("pagePrev",0);var m=s.getModel("pageTextStyle");u.add(new _.Text({name:"pageText",style:{textFill:m.getTextColor(),font:m.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),A("pageNext",1);function A(g,v){var b=g+"DataIndex",S=_.createIcon(s.get("pageIcons",!0)[s.getOrient().name][v],{onclick:O.bind(i._pageGo,i,b,s,n)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});S.name=g,u.add(S)}},layoutInner:function(r,s,l,n,c,e){var a=this.getSelectorGroup(),i=r.getOrient().index,u=t[i],f=p[i],m=t[1-i],A=p[1-i];c&&I.box("horizontal",a,r.get("selectorItemGap",!0));var g=r.get("selectorButtonGap",!0),v=a.getBoundingRect(),b=[-v.x,-v.y],S=O.clone(l);c&&(S[u]=l[u]-v[u]-g);var y=this._layoutContentAndController(r,n,S,i,u,m,A);if(c){if(e==="end")b[i]+=y[u]+g;else{var w=v[u]+g;b[i]-=w,y[f]-=w}y[u]+=v[u]+g,b[1-i]+=y[A]+y[m]/2-v[m]/2,y[m]=Math.max(y[m],v[m]),y[A]=Math.min(y[A],v[A]+b[1-i]),a.attr("position",b)}return y},_layoutContentAndController:function(r,s,l,n,c,e,a){var i=this.getContentGroup(),u=this._containerGroup,f=this._controllerGroup;I.box(r.get("orient"),i,r.get("itemGap"),n?l.width:null,n?null:l.height),I.box("horizontal",f,r.get("pageButtonItemGap",!0));var m=i.getBoundingRect(),A=f.getBoundingRect(),g=this._showController=m[c]>l[c],v=[-m.x,-m.y];s||(v[n]=i.position[n]);var b=[0,0],S=[-A.x,-A.y],y=O.retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(g){var w=r.get("pageButtonPosition",!0);w==="end"?S[n]+=l[c]-A[c]:b[n]+=A[c]+y}S[1-n]+=m[e]/2-A[e]/2,i.attr("position",v),u.attr("position",b),f.attr("position",S);var x={x:0,y:0};if(x[c]=g?l[c]:m[c],x[e]=Math.max(m[e],A[e]),x[a]=Math.min(0,A[a]+S[1-n]),u.__rectSize=l[c],g){var T={x:0,y:0};T[c]=Math.max(l[c]-A[c]-y,0),T[e]=x[e],u.setClipPath(new _.Rect({shape:T})),u.__rectSize=T[c]}else f.eachChild(function(R){R.attr({invisible:!0,silent:!0})});var L=this._getPageInfo(r);return L.pageIndex!=null&&_.updateProps(i,{position:L.contentPosition},g?r:!1),this._updatePageInfoView(r,L),x},_pageGo:function(r,s,l){var n=this._getPageInfo(s)[r];n!=null&&l.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:s.id})},_updatePageInfoView:function(r,s){var l=this._controllerGroup;O.each(["pagePrev","pageNext"],function(u){var f=s[u+"DataIndex"]!=null,m=l.childOfName(u);m&&(m.setStyle("fill",f?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),m.cursor=f?"pointer":"default")});var n=l.childOfName("pageText"),c=r.get("pageFormatter"),e=s.pageIndex,a=e!=null?e+1:0,i=s.pageCount;n&&c&&n.setStyle("text",O.isString(c)?c.replace("{current}",a).replace("{total}",i):c({current:a,total:i}))},_getPageInfo:function(r){var s=r.get("scrollDataIndex",!0),l=this.getContentGroup(),n=this._containerGroup.__rectSize,c=r.getOrient().index,e=t[c],a=p[c],i=this._findTargetItemIndex(s),u=l.children(),f=u[i],m=u.length,A=m?1:0,g={contentPosition:l.position.slice(),pageCount:A,pageIndex:A-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return g;var v=x(f);g.contentPosition[c]=-v.s;for(var b=i+1,S=v,y=v,w=null;b<=m;++b)w=x(u[b]),(!w&&y.e>S.s+n||w&&!T(w,S.s))&&(y.i>S.i?S=y:S=w,S&&(g.pageNextDataIndex==null&&(g.pageNextDataIndex=S.i),++g.pageCount)),y=w;for(var b=i-1,S=v,y=v,w=null;b>=-1;--b)w=x(u[b]),(!w||!T(y,w.s))&&S.i<y.i&&(y=S,g.pagePrevDataIndex==null&&(g.pagePrevDataIndex=S.i),++g.pageCount,++g.pageIndex),S=w;return g;function x(L){if(L){var R=L.getBoundingRect(),P=R[a]+L.position[c];return{s:P,e:P+R[e],i:L.__legendDataIndex}}}function T(L,R){return L.e>=R&&L.s<=R+n}},_findTargetItemIndex:function(r){if(!this._showController)return 0;var s,l=this.getContentGroup(),n;return l.eachChild(function(c,e){var a=c.__legendDataIndex;n==null&&a!=null&&(n=e),a===r&&(s=e)}),s!=null?s:n}}),o=h;ue.exports=o},"E/ki":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},E2g8:function(ue,z,d){(function(O,_){/*!
* @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(I,E){ue.exports=E()})(this,function(){"use strict";function I(je){var et=typeof je;return je!==null&&(et==="object"||et==="function")}function E(je){return typeof je=="function"}var C=void 0;Array.isArray?C=Array.isArray:C=function(et){return Object.prototype.toString.call(et)==="[object Array]"};var t=C,p=0,h=void 0,o=void 0,r=function(et,He){v[p]=et,v[p+1]=He,p+=2,p===2&&(o?o(b):y())};function s(je){o=je}function l(je){r=je}var n=typeof window!="undefined"?window:void 0,c=n||{},e=c.MutationObserver||c.WebKitMutationObserver,a=typeof self=="undefined"&&typeof O!="undefined"&&{}.toString.call(O)==="[object process]",i=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function u(){return function(){return O.nextTick(b)}}function f(){return typeof h!="undefined"?function(){h(b)}:g()}function m(){var je=0,et=new e(b),He=document.createTextNode("");return et.observe(He,{characterData:!0}),function(){He.data=je=++je%2}}function A(){var je=new MessageChannel;return je.port1.onmessage=b,function(){return je.port2.postMessage(0)}}function g(){var je=setTimeout;return function(){return je(b,1)}}var v=new Array(1e3);function b(){for(var je=0;je<p;je+=2){var et=v[je],He=v[je+1];et(He),v[je]=void 0,v[je+1]=void 0}p=0}function S(){try{var je=Function("return this")().require("vertx");return h=je.runOnLoop||je.runOnContext,f()}catch(et){return g()}}var y=void 0;a?y=u():e?y=m():i?y=A():n===void 0&&!0?y=S():y=g();function w(je,et){var He=this,pe=new this.constructor(L);pe[T]===void 0&&he(pe);var ae=He._state;if(ae){var re=arguments[ae-1];r(function(){return Y(ae,pe,re,He._result)})}else Z(He,pe,je,et);return pe}function x(je){var et=this;if(je&&typeof je=="object"&&je.constructor===et)return je;var He=new et(L);return K(He,je),He}var T=Math.random().toString(36).substring(2);function L(){}var R=void 0,P=1,k=2;function U(){return new TypeError("You cannot resolve a promise with itself")}function D(){return new TypeError("A promises callback cannot return that same promise.")}function M(je,et,He,pe){try{je.call(et,He,pe)}catch(ae){return ae}}function B(je,et,He){r(function(pe){var ae=!1,re=M(He,et,function(be){if(ae)return;ae=!0,et!==be?K(pe,be):X(pe,be)},function(be){if(ae)return;ae=!0,V(pe,be)},"Settle: "+(pe._label||" unknown promise"));!ae&&re&&(ae=!0,V(pe,re))},je)}function j(je,et){et._state===P?X(je,et._result):et._state===k?V(je,et._result):Z(et,void 0,function(He){return K(je,He)},function(He){return V(je,He)})}function H(je,et,He){et.constructor===je.constructor&&He===w&&et.constructor.resolve===x?j(je,et):He===void 0?X(je,et):E(He)?B(je,et,He):X(je,et)}function K(je,et){if(je===et)V(je,U());else if(I(et)){var He=void 0;try{He=et.then}catch(pe){V(je,pe);return}H(je,et,He)}else X(je,et)}function W(je){je._onerror&&je._onerror(je._result),G(je)}function X(je,et){if(je._state!==R)return;je._result=et,je._state=P,je._subscribers.length!==0&&r(G,je)}function V(je,et){if(je._state!==R)return;je._state=k,je._result=et,r(W,je)}function Z(je,et,He,pe){var ae=je._subscribers,re=ae.length;je._onerror=null,ae[re]=et,ae[re+P]=He,ae[re+k]=pe,re===0&&je._state&&r(G,je)}function G(je){var et=je._subscribers,He=je._state;if(et.length===0)return;for(var pe=void 0,ae=void 0,re=je._result,be=0;be<et.length;be+=3)pe=et[be],ae=et[be+He],pe?Y(He,pe,ae,re):ae(re);je._subscribers.length=0}function Y(je,et,He,pe){var ae=E(He),re=void 0,be=void 0,ze=!0;if(ae){try{re=He(pe)}catch(Ke){ze=!1,be=Ke}if(et===re){V(et,D());return}}else re=pe;et._state!==R||(ae&&ze?K(et,re):ze===!1?V(et,be):je===P?X(et,re):je===k&&V(et,re))}function te(je,et){try{et(function(pe){K(je,pe)},function(pe){V(je,pe)})}catch(He){V(je,He)}}var se=0;function Ce(){return se++}function he(je){je[T]=se++,je._state=void 0,je._result=void 0,je._subscribers=[]}function xe(){return new Error("Array Methods must be provided an Array")}var ie=function(){function je(et,He){this._instanceConstructor=et,this.promise=new et(L),this.promise[T]||he(this.promise),t(He)?(this.length=He.length,this._remaining=He.length,this._result=new Array(this.length),this.length===0?X(this.promise,this._result):(this.length=this.length||0,this._enumerate(He),this._remaining===0&&X(this.promise,this._result))):V(this.promise,xe())}return je.prototype._enumerate=function(He){for(var pe=0;this._state===R&&pe<He.length;pe++)this._eachEntry(He[pe],pe)},je.prototype._eachEntry=function(He,pe){var ae=this._instanceConstructor,re=ae.resolve;if(re===x){var be=void 0,ze=void 0,Ke=!1;try{be=He.then}catch(gt){Ke=!0,ze=gt}if(be===w&&He._state!==R)this._settledAt(He._state,pe,He._result);else if(typeof be!="function")this._remaining--,this._result[pe]=He;else if(ae===Ye){var Te=new ae(L);Ke?V(Te,ze):H(Te,He,be),this._willSettleAt(Te,pe)}else this._willSettleAt(new ae(function(gt){return gt(He)}),pe)}else this._willSettleAt(re(He),pe)},je.prototype._settledAt=function(He,pe,ae){var re=this.promise;re._state===R&&(this._remaining--,He===k?V(re,ae):this._result[pe]=ae),this._remaining===0&&X(re,this._result)},je.prototype._willSettleAt=function(He,pe){var ae=this;Z(He,void 0,function(re){return ae._settledAt(P,pe,re)},function(re){return ae._settledAt(k,pe,re)})},je}();function ee(je){return new ie(this,je).promise}function Ze(je){var et=this;return t(je)?new et(function(He,pe){for(var ae=je.length,re=0;re<ae;re++)et.resolve(je[re]).then(He,pe)}):new et(function(He,pe){return pe(new TypeError("You must pass an array to race."))})}function Se(je){var et=this,He=new et(L);return V(He,je),He}function Ne(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function it(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Ye=function(){function je(et){this[T]=Ce(),this._result=this._state=void 0,this._subscribers=[],L!==et&&(typeof et!="function"&&Ne(),this instanceof je?te(this,et):it())}return je.prototype.catch=function(He){return this.then(null,He)},je.prototype.finally=function(He){var pe=this,ae=pe.constructor;return E(He)?pe.then(function(re){return ae.resolve(He()).then(function(){return re})},function(re){return ae.resolve(He()).then(function(){throw re})}):pe.then(He,He)},je}();Ye.prototype.then=w,Ye.all=ee,Ye.race=Ze,Ye.resolve=x,Ye.reject=Se,Ye._setScheduler=s,Ye._setAsap=l,Ye._asap=r;function nt(){var je=void 0;if(typeof _!="undefined")je=_;else if(typeof self!="undefined")je=self;else try{je=Function("return this")()}catch(pe){throw new Error("polyfill failed because global object is unavailable in this environment")}var et=je.Promise;if(et){var He=null;try{He=Object.prototype.toString.call(et.resolve())}catch(pe){}if(He==="[object Promise]"&&!et.cast)return}je.Promise=Ye}return Ye.polyfill=nt,Ye.Promise=Ye,Ye})}).call(this,d("Q2Ig"),d("yLpj"))},E9nw:function(ue,z){ue.exports=function(){var d=document.getSelection();if(!d.rangeCount)return function(){};for(var O=document.activeElement,_=[],I=0;I<d.rangeCount;I++)_.push(d.getRangeAt(I));switch(O.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":O.blur();break;default:O=null;break}return d.removeAllRanges(),function(){d.type==="Caret"&&d.removeAllRanges(),d.rangeCount||_.forEach(function(E){d.addRange(E)}),O&&O.focus()}}},ELLl:function(ue,z,d){(function(O){O(d("VrN/"))})(function(O){var _={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},I=O.Pos;O.defineOption("autoCloseBrackets",!1,function(e,a,i){i&&i!=O.Init&&(e.removeKeyMap(C),e.state.closeBrackets=null),a&&(t(E(a,"pairs")),e.state.closeBrackets=a,e.addKeyMap(C))});function E(e,a){return a=="pairs"&&typeof e=="string"?e:typeof e=="object"&&e[a]!=null?e[a]:_[a]}var C={Backspace:o,Enter:r};function t(e){for(var a=0;a<e.length;a++){var i=e.charAt(a),u="'"+i+"'";C[u]||(C[u]=p(i))}}t(_.pairs+"`");function p(e){return function(a){return l(a,e)}}function h(e){var a=e.state.closeBrackets;if(!a||a.override)return a;var i=e.getModeAt(e.getCursor());return i.closeBrackets||a}function o(e){var a=h(e);if(!a||e.getOption("disableInput"))return O.Pass;for(var i=E(a,"pairs"),u=e.listSelections(),f=0;f<u.length;f++){if(!u[f].empty())return O.Pass;var m=n(e,u[f].head);if(!m||i.indexOf(m)%2!=0)return O.Pass}for(var f=u.length-1;f>=0;f--){var A=u[f].head;e.replaceRange("",I(A.line,A.ch-1),I(A.line,A.ch+1),"+delete")}}function r(e){var a=h(e),i=a&&E(a,"explode");if(!i||e.getOption("disableInput"))return O.Pass;for(var u=e.listSelections(),f=0;f<u.length;f++){if(!u[f].empty())return O.Pass;var m=n(e,u[f].head);if(!m||i.indexOf(m)%2!=0)return O.Pass}e.operation(function(){var A=e.lineSeparator()||`
`;e.replaceSelection(A+A,null),e.execCommand("goCharLeft"),u=e.listSelections();for(var g=0;g<u.length;g++){var v=u[g].head.line;e.indentLine(v,null,!0),e.indentLine(v+1,null,!0)}})}function s(e){var a=O.cmpPos(e.anchor,e.head)>0;return{anchor:new I(e.anchor.line,e.anchor.ch+(a?-1:1)),head:new I(e.head.line,e.head.ch+(a?1:-1))}}function l(e,a){var i=h(e);if(!i||e.getOption("disableInput"))return O.Pass;var u=E(i,"pairs"),f=u.indexOf(a);if(f==-1)return O.Pass;for(var m=E(i,"closeBefore"),A=E(i,"triples"),g=u.charAt(f+1)==a,v=e.listSelections(),b=f%2==0,S,y=0;y<v.length;y++){var w=v[y],x=w.head,T,L=e.getRange(x,I(x.line,x.ch+1));if(b&&!w.empty())T="surround";else if((g||!b)&&L==a)g&&c(e,x)?T="both":A.indexOf(a)>=0&&e.getRange(x,I(x.line,x.ch+3))==a+a+a?T="skipThree":T="skip";else if(g&&x.ch>1&&A.indexOf(a)>=0&&e.getRange(I(x.line,x.ch-2),x)==a+a){if(x.ch>2&&/\bstring/.test(e.getTokenTypeAt(I(x.line,x.ch-2))))return O.Pass;T="addFour"}else if(g){var R=x.ch==0?" ":e.getRange(I(x.line,x.ch-1),x);if(!O.isWordChar(L)&&R!=a&&!O.isWordChar(R))T="both";else return O.Pass}else if(b&&(L.length===0||/\s/.test(L)||m.indexOf(L)>-1))T="both";else return O.Pass;if(!S)S=T;else if(S!=T)return O.Pass}var P=f%2?u.charAt(f-1):a,k=f%2?a:u.charAt(f+1);e.operation(function(){if(S=="skip")e.execCommand("goCharRight");else if(S=="skipThree")for(var U=0;U<3;U++)e.execCommand("goCharRight");else if(S=="surround"){for(var D=e.getSelections(),U=0;U<D.length;U++)D[U]=P+D[U]+k;e.replaceSelections(D,"around"),D=e.listSelections().slice();for(var U=0;U<D.length;U++)D[U]=s(D[U]);e.setSelections(D)}else S=="both"?(e.replaceSelection(P+k,null),e.triggerElectric(P+k),e.execCommand("goCharLeft")):S=="addFour"&&(e.replaceSelection(P+P+P+P,"before"),e.execCommand("goCharRight"))})}function n(e,a){var i=e.getRange(I(a.line,a.ch-1),I(a.line,a.ch+1));return i.length==2?i:null}function c(e,a){var i=e.getTokenAt(I(a.line,a.ch+1));return/\bstring/.test(i.type)&&i.start==a.ch&&(a.ch==0||!/\bstring/.test(e.getTokenTypeAt(a)))}})},EMyp:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("mFDi"),E=d("K4ya"),C=d("qJCg"),t=d("iLNv"),p=d("vZ6x"),h=["inBrush","outOfBrush"],o="__ecBrushSelect",r="__ecInBrushSelectEvent",s=O.PRIORITY.VISUAL.BRUSH;O.registerLayout(s,function(A,g,v){A.eachComponent({mainType:"brush"},function(b){v&&v.type==="takeGlobalCursor"&&b.setBrushOption(v.key==="brush"?v.brushOption:{brushType:!1})}),l(A)});function l(A){A.eachComponent({mainType:"brush"},function(g){var v=g.brushTargetManager=new p(g.option,A);v.setInputRanges(g.areas,A)})}O.registerVisual(s,function(A,g,v){var b=[],S,y;A.eachComponent({mainType:"brush"},function(w,x){var T={brushId:w.id,brushIndex:x,brushName:w.name,areas:_.clone(w.areas),selected:[]};b.push(T);var L=w.option,R=L.brushLink,P=[],k=[],U=[],D=0;x||(S=L.throttleType,y=L.throttleDelay);var M=_.map(w.areas,function(X){return u(_.defaults({boundingRect:f[X.brushType](X)},X))}),B=E.createVisualMappings(w.option,h,function(X){X.mappingMethod="fixed"});_.isArray(R)&&_.each(R,function(X){P[X]=1});function j(X){return R==="all"||P[X]}function H(X){return!!X.length}A.eachSeries(function(X,V){var Z=U[V]=[];X.subType==="parallel"?K(X,V,Z):W(X,V,Z)});function K(X,V){var Z=X.coordinateSystem;D|=Z.hasAxisBrushed(),j(V)&&Z.eachActiveState(X.getData(),function(G,Y){G==="active"&&(k[Y]=1)})}function W(X,V,Z){var G=a(X);if(!G||i(w,V))return;if(_.each(M,function(te){G[te.brushType]&&w.brushTargetManager.controlSeries(te,X,A)&&Z.push(te),D|=H(Z)}),j(V)&&H(Z)){var Y=X.getData();Y.each(function(te){e(G,Z,Y,te)&&(k[te]=1)})}}A.eachSeries(function(X,V){var Z={seriesId:X.id,seriesIndex:V,seriesName:X.name,dataIndex:[]};T.selected.push(Z);var G=a(X),Y=U[V],te=X.getData(),se=j(V)?function(Ce){return k[Ce]?(Z.dataIndex.push(te.getRawIndex(Ce)),"inBrush"):"outOfBrush"}:function(Ce){return e(G,Y,te,Ce)?(Z.dataIndex.push(te.getRawIndex(Ce)),"inBrush"):"outOfBrush"};(j(V)?D:H(Y))&&E.applyVisual(h,B,te,se)})}),n(g,S,y,b,v)});function n(A,g,v,b,S){if(!S)return;var y=A.getZr();if(y[r])return;y[o]||(y[o]=c);var w=t.createOrUpdate(y,o,v,g);w(A,b)}function c(A,g){if(!A.isDisposed()){var v=A.getZr();v[r]=!0,A.dispatchAction({type:"brushSelect",batch:g}),v[r]=!1}}function e(A,g,v,b){for(var S=0,y=g.length;S<y;S++){var w=g[S];if(A[w.brushType](b,v,w.selectors,w))return!0}}function a(A){var g=A.brushSelector;if(_.isString(g)){var v=[];return _.each(C,function(S,y){v[y]=function(w,x,T,L){var R=x.getItemLayout(w);return S[g](R,T,L)}}),v}else if(_.isFunction(g)){var b={};return _.each(C,function(S,y){b[y]=g}),b}return g}function i(A,g){var v=A.option.seriesIndex;return v!=null&&v!=="all"&&(_.isArray(v)?_.indexOf(v,g)<0:g!==v)}function u(A){var g=A.selectors={};return _.each(C[A.brushType],function(v,b){g[b]=function(S){return v(S,g,A)}}),A}var f={lineX:_.noop,lineY:_.noop,rect:function(A){return m(A.range)},polygon:function(A){for(var g,v=A.range,b=0,S=v.length;b<S;b++){g=g||[[Infinity,-Infinity],[Infinity,-Infinity]];var y=v[b];y[0]<g[0][0]&&(g[0][0]=y[0]),y[0]>g[0][1]&&(g[0][1]=y[0]),y[1]<g[1][0]&&(g[1][0]=y[1]),y[1]>g[1][1]&&(g[1][1]=y[1])}return g&&m(g)}};function m(A){return new I(A[0][0],A[1][0],A[0][1]-A[0][0],A[1][1]-A[1][0])}z.layoutCovers=l},ERHi:function(ue,z,d){var O=d("ProS");d("Z6js"),d("R4Th");var _=d("f5Yq"),I=d("h8O9");O.registerVisual(_("effectScatter","circle")),O.registerLayout(I("effectScatter"))},EXcs:function(ue,z,d){"use strict";var O=function(){return{height:0,opacity:0}},_=function(p){return{height:p.scrollHeight,opacity:1}},I=function(p){return{height:p.offsetHeight}},E=function(p,h){return h.propertyName==="height"},C={motionName:"ant-motion-collapse",onAppearStart:O,onEnterStart:O,onAppearActive:_,onEnterActive:_,onLeaveStart:I,onLeaveActive:O,onAppearEnd:E,onEnterEnd:E,onLeaveEnd:E,motionDeadline:500};z.a=C},Em2t:function(ue,z,d){var O=d("bahg"),_=d("quyA"),I=d("0JQy");function E(C){return _(C)?I(C):O(C)}ue.exports=E},Ez2D:function(ue,z,d){var O=d("bYtY"),_=d("4NO4");function I(E,C){var t=[],p=E.seriesIndex,h;if(p==null||!(h=C.getSeriesByIndex(p)))return{point:[]};var o=h.getData(),r=_.queryDataIndex(o,E);if(r==null||r<0||O.isArray(r))return{point:[]};var s=o.getItemGraphicEl(r),l=h.coordinateSystem;if(h.getTooltipPosition)t=h.getTooltipPosition(r)||[];else if(l&&l.dataToPoint)t=l.dataToPoint(o.getValues(O.map(l.dimensions,function(c){return o.mapDimension(c)}),r,!0))||[];else if(s){var n=s.getBoundingRect().clone();n.applyTransform(s.transform),t=[n.x+n.width/2,n.y+n.height/2]}return{point:t,el:s}}ue.exports=I},F0hE:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("ca2m"),E=d("Qxkt"),C=d("ICMv"),t=I.valueAxis;function p(r,s){return _.defaults({show:s},r)}var h=O.extendComponentModel({type:"radar",optionUpdated:function(){var r=this.get("boundaryGap"),s=this.get("splitNumber"),l=this.get("scale"),n=this.get("axisLine"),c=this.get("axisTick"),e=this.get("axisType"),a=this.get("axisLabel"),i=this.get("name"),u=this.get("name.show"),f=this.get("name.formatter"),m=this.get("nameGap"),A=this.get("triggerEvent"),g=_.map(this.get("indicator")||[],function(v){v.max!=null&&v.max>0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var b=i;if(v.color!=null&&(b=_.defaults({color:v.color},i)),v=_.merge(_.clone(v),{boundaryGap:r,splitNumber:s,scale:l,axisLine:n,axisTick:c,axisType:e,axisLabel:a,name:v.text,nameLocation:"end",nameGap:m,nameTextStyle:b,triggerEvent:A},!1),u||(v.name=""),typeof f=="string"){var S=v.name;v.name=f.replace("{value}",S!=null?S:"")}else typeof f=="function"&&(v.name=f(v.name,v));var y=_.extend(new E(v,null,this.ecModel),C);return y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this.getIndicatorModels=function(){return g}},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:_.merge({lineStyle:{color:"#bbb"}},t.axisLine),axisLabel:p(t.axisLabel,!1),axisTick:p(t.axisTick,!1),axisType:"interval",splitLine:p(t.splitLine,!0),splitArea:p(t.splitArea,!0),indicator:[]}}),o=h;ue.exports=o},F5Ls:function(ue,z){var d={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function O(_,I){if(_==="china"){var E=d[I.name];if(E){var C=I.center;C[0]+=E[0]/10.5,C[1]+=-E[1]/(10.5/.75)}}}ue.exports=O},F7hV:function(ue,z,d){var O=d("MBQ8"),_=O.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return this.get("large")?this.get("progressive"):!1},getProgressiveThreshold:function(){var I=this.get("progressiveThreshold"),E=this.get("largeThreshold");return E>I&&(I=E),I},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}}});ue.exports=_},F9bG:function(ue,z,d){var O=d("bYtY"),_=d("ItGF"),I=d("4NO4"),E=I.makeInner,C=E(),t=O.each;function p(c,e,a){if(_.node)return;var i=e.getZr();C(i).records||(C(i).records={}),h(i,e);var u=C(i).records[c]||(C(i).records[c]={});u.handler=a}function h(c,e){if(C(c).initialized)return;C(c).initialized=!0,a("click",O.curry(s,"click")),a("mousemove",O.curry(s,"mousemove")),a("globalout",r);function a(i,u){c.on(i,function(f){var m=l(e);t(C(c).records,function(A){A&&u(A,f,m.dispatchAction)}),o(m.pendings,e)})}}function o(c,e){var a=c.showTip.length,i=c.hideTip.length,u;a?u=c.showTip[a-1]:i&&(u=c.hideTip[i-1]),u&&(u.dispatchAction=null,e.dispatchAction(u))}function r(c,e,a){c.handler("leave",null,a)}function s(c,e,a,i){e.handler(c,a,i)}function l(c){var e={showTip:[],hideTip:[]},a=function(i){var u=e[i.type];u?u.push(i):(i.dispatchAction=a,c.dispatchAction(i))};return{dispatchAction:a,pendings:e}}function n(c,e){if(_.node)return;var a=e.getZr(),i=(C(a).records||{})[c];i&&(C(a).records[c]=null)}z.register=p,z.unregister=n},FBjb:function(ue,z,d){var O=d("bYtY"),_=d("oVpE"),I=_.createSymbol,E=d("IwbS"),C=d("OELB"),t=C.parsePercent,p=d("x3X8"),h=p.getDefaultLabel;function o(m,A,g){E.Group.call(this),this.updateData(m,A,g)}var r=o.prototype,s=o.getSymbolSize=function(m,A){var g=m.getItemVisual(A,"symbolSize");return g instanceof Array?g.slice():[+g,+g]};function l(m){return[m[0]/2,m[1]/2]}function n(m,A){this.parent.drift(m,A)}r._createSymbol=function(m,A,g,v,b){this.removeAll();var S=A.getItemVisual(g,"color"),y=I(m,-1,-1,2,2,S,b);y.attr({z2:100,culling:!0,scale:l(v)}),y.drift=n,this._symbolType=m,this.add(y)},r.stopSymbolAnimation=function(m){this.childAt(0).stopAnimation(m)},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(m,A){var g=this.childAt(0);g.zlevel=m,g.z=A},r.setDraggable=function(m){var A=this.childAt(0);A.draggable=m,A.cursor=m?"move":A.cursor},r.updateData=function(m,A,g){this.silent=!1;var v=m.getItemVisual(A,"symbol")||"circle",b=m.hostModel,S=s(m,A),y=v!==this._symbolType;if(y){var w=m.getItemVisual(A,"symbolKeepAspect");this._createSymbol(v,m,A,S,w)}else{var x=this.childAt(0);x.silent=!1,E.updateProps(x,{scale:l(S)},b,A)}if(this._updateCommon(m,A,S,g),y){var x=this.childAt(0),T=g&&g.fadeIn,L={scale:x.scale.slice()};T&&(L.style={opacity:x.style.opacity}),x.scale=[0,0],T&&(x.style.opacity=0),E.initProps(x,L,b,A)}this._seriesModel=b};var c=["itemStyle"],e=["emphasis","itemStyle"],a=["label"],i=["emphasis","label"];r._updateCommon=function(m,A,g,v){var b=this.childAt(0),S=m.hostModel,y=m.getItemVisual(A,"color");b.type!=="image"?b.useStyle({strokeNoScale:!0}):b.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var w=v&&v.itemStyle,x=v&&v.hoverItemStyle,T=v&&v.symbolOffset,L=v&&v.labelModel,R=v&&v.hoverLabelModel,P=v&&v.hoverAnimation,k=v&&v.cursorStyle;if(!v||m.hasItemOption){var U=v&&v.itemModel?v.itemModel:m.getItemModel(A);w=U.getModel(c).getItemStyle(["color"]),x=U.getModel(e).getItemStyle(),T=U.getShallow("symbolOffset"),L=U.getModel(a),R=U.getModel(i),P=U.getShallow("hoverAnimation"),k=U.getShallow("cursor")}else x=O.extend({},x);var D=b.style,M=m.getItemVisual(A,"symbolRotate");b.attr("rotation",(M||0)*Math.PI/180||0),T&&b.attr("position",[t(T[0],g[0]),t(T[1],g[1])]),k&&b.attr("cursor",k),b.setColor(y,v&&v.symbolInnerColor),b.setStyle(w);var B=m.getItemVisual(A,"opacity");B!=null&&(D.opacity=B);var j=m.getItemVisual(A,"liftZ"),H=b.__z2Origin;j!=null?H==null&&(b.__z2Origin=b.z2,b.z2+=j):H!=null&&(b.z2=H,b.__z2Origin=null);var K=v&&v.useNameLabel;E.setLabelStyle(D,x,L,R,{labelFetcher:S,labelDataIndex:A,defaultText:W,isRectText:!0,autoColor:y});function W(X,V){return K?m.getName(X):h(m,X)}b.__symbolOriginalScale=l(g),b.hoverStyle=x,b.highDownOnUpdate=P&&S.isAnimationEnabled()?u:null,E.setHoverStyle(b)};function u(m,A){if(this.incremental||this.useHoverLayer)return;if(A==="emphasis"){var g=this.__symbolOriginalScale,v=g[1]/g[0],b={scale:[Math.max(g[0]*1.1,g[0]+3),Math.max(g[1]*1.1,g[1]+3*v)]};this.animateTo(b,400,"elasticOut")}else A==="normal"&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}r.fadeOut=function(m,A){var g=this.childAt(0);this.silent=g.silent=!0,!(A&&A.keepLabel)&&(g.style.text=null),E.updateProps(g,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,m)},O.inherits(o,E.Group);var f=o;ue.exports=f},FGaS:function(ue,z,d){var O=d("ProS"),_=d("IwbS"),I=d("bYtY"),E=d("oVpE");function C(p){return I.isArray(p)||(p=[+p,+p]),p}var t=O.extendChartView({type:"radar",render:function(p,h,o){var r=p.coordinateSystem,s=this.group,l=p.getData(),n=this._data;function c(i,u){var f=i.getItemVisual(u,"symbol")||"circle",m=i.getItemVisual(u,"color");if(f==="none")return;var A=C(i.getItemVisual(u,"symbolSize")),g=E.createSymbol(f,-1,-1,2,2,m);return g.attr({style:{strokeNoScale:!0},z2:100,scale:[A[0]/2,A[1]/2]}),g}function e(i,u,f,m,A,g){f.removeAll();for(var v=0;v<u.length-1;v++){var b=c(m,A);b&&(b.__dimIdx=v,i[v]?(b.attr("position",i[v]),_[g?"initProps":"updateProps"](b,{position:u[v]},p,A)):b.attr("position",u[v]),f.add(b))}}function a(i){return I.map(i,function(u){return[r.cx,r.cy]})}l.diff(n).add(function(i){var u=l.getItemLayout(i);if(!u)return;var f=new _.Polygon,m=new _.Polyline,A={shape:{points:u}};f.shape.points=a(u),m.shape.points=a(u),_.initProps(f,A,p,i),_.initProps(m,A,p,i);var g=new _.Group,v=new _.Group;g.add(m),g.add(f),g.add(v),e(m.shape.points,u,v,l,i,!0),l.setItemGraphicEl(i,g)}).update(function(i,u){var f=n.getItemGraphicEl(u),m=f.childAt(0),A=f.childAt(1),g=f.childAt(2),v={shape:{points:l.getItemLayout(i)}};if(!v.shape.points)return;e(m.shape.points,v.shape.points,g,l,i,!1),_.updateProps(m,v,p),_.updateProps(A,v,p),l.setItemGraphicEl(i,f)}).remove(function(i){s.remove(n.getItemGraphicEl(i))}).execute(),l.eachItemGraphicEl(function(i,u){var f=l.getItemModel(u),m=i.childAt(0),A=i.childAt(1),g=i.childAt(2),v=l.getItemVisual(u,"color");s.add(i),m.useStyle(I.defaults(f.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:v})),m.hoverStyle=f.getModel("emphasis.lineStyle").getLineStyle();var b=f.getModel("areaStyle"),S=f.getModel("emphasis.areaStyle"),y=b.isEmpty()&&b.parentModel.isEmpty(),w=S.isEmpty()&&S.parentModel.isEmpty();w=w&&y,A.ignore=y,A.useStyle(I.defaults(b.getAreaStyle(),{fill:v,opacity:.7})),A.hoverStyle=S.getAreaStyle();var x=f.getModel("itemStyle").getItemStyle(["color"]),T=f.getModel("emphasis.itemStyle").getItemStyle(),L=f.getModel("label"),R=f.getModel("emphasis.label");g.eachChild(function(P){P.setStyle(x),P.hoverStyle=I.clone(T);var k=l.get(l.dimensions[P.__dimIdx],u);(k==null||isNaN(k))&&(k=""),_.setLabelStyle(P.style,P.hoverStyle,L,R,{labelFetcher:l.hostModel,labelDataIndex:u,labelDimIndex:P.__dimIdx,defaultText:k,autoColor:v,isRectText:!0})}),i.highDownOnUpdate=function(P,k){A.attr("ignore",k==="emphasis"?w:y)},_.setHoverStyle(i)}),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});ue.exports=t},FH2Y:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("ZMnZ"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},FIfw:function(ue,z,d){},FNN5:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("+rIm"),E=d("Znkb"),C=["axisLine","axisTickLabel","axisName"],t=["splitLine","splitArea","minorSplitLine"],p=E.extend({type:"radiusAxis",axisPointerClass:"PolarAxisPointer",render:function(o,r){if(this.group.removeAll(),!o.get("show"))return;var s=o.axis,l=s.polar,n=l.getAngleAxis(),c=s.getTicksCoords(),e=s.getMinorTicksCoords(),a=n.getExtent()[0],i=s.getExtent(),u=h(l,o,a),f=new I(o,u);O.each(C,f.add,f),this.group.add(f.getGroup()),O.each(t,function(m){o.get(m+".show")&&!s.scale.isBlank()&&this["_"+m](o,l,a,i,c,e)},this)},_splitLine:function(o,r,s,l,n){var c=o.getModel("splitLine"),e=c.getModel("lineStyle"),a=e.get("color"),i=0;a=a instanceof Array?a:[a];for(var u=[],f=0;f<n.length;f++){var m=i++%a.length;u[m]=u[m]||[],u[m].push(new _.Circle({shape:{cx:r.cx,cy:r.cy,r:n[f].coord}}))}for(var f=0;f<u.length;f++)this.group.add(_.mergePath(u[f],{style:O.defaults({stroke:a[f%a.length],fill:null},e.getLineStyle()),silent:!0}))},_minorSplitLine:function(o,r,s,l,n,c){if(!c.length)return;for(var e=o.getModel("minorSplitLine"),a=e.getModel("lineStyle"),i=[],u=0;u<c.length;u++)for(var f=0;f<c[u].length;f++)i.push(new _.Circle({shape:{cx:r.cx,cy:r.cy,r:c[u][f].coord}}));this.group.add(_.mergePath(i,{style:O.defaults({fill:null},a.getLineStyle()),silent:!0}))},_splitArea:function(o,r,s,l,n){if(!n.length)return;var c=o.getModel("splitArea"),e=c.getModel("areaStyle"),a=e.get("color"),i=0;a=a instanceof Array?a:[a];for(var u=[],f=n[0].coord,m=1;m<n.length;m++){var A=i++%a.length;u[A]=u[A]||[],u[A].push(new _.Sector({shape:{cx:r.cx,cy:r.cy,r0:f,r:n[m].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),f=n[m].coord}for(var m=0;m<u.length;m++)this.group.add(_.mergePath(u[m],{style:O.defaults({fill:a[m%a.length]},e.getAreaStyle()),silent:!0}))}});function h(o,r,s){return{position:[o.cx,o.cy],rotation:s/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:r.getModel("axisLabel").get("rotate"),z2:1}}ue.exports=p},FUi9:function(ue,z,d){var O=d("bYtY"),_=d("MwEJ"),I=d("aX7z"),E=d("ICMv"),C=d("Qxkt"),t=d("+TT/"),p=t.getLayoutRect;z.getLayoutRect=t.getLayoutRect;var h=d("7hqr"),o=h.enableDataStack,r=h.isDimensionStacked,s=h.getStackedDimension,l=d("hi0g");z.completeDimensions=l;var n=d("sdST");z.createDimensions=n;var c=d("oVpE");z.createSymbol=c.createSymbol;function e(f){return _(f.getSource(),f)}var a={isDimensionStacked:r,enableDataStack:o,getStackedDimension:s};function i(f,m){var A=m;C.isInstance(m)||(A=new C(m),O.mixin(A,E));var g=I.createScaleByModel(A);return g.setExtent(f[0],f[1]),I.niceScaleExtent(g,A),g}function u(f){O.mixin(f,E)}z.createList=e,z.dataStack=a,z.createScale=i,z.mixinAxisModelCommonMethods=u},"Fa/5":function(ue,z,d){var O=d("ProS");d("y2l5"),d("q/+u");var _=d("f5Yq"),I=d("h8O9");d("Ae16"),O.registerVisual(_("scatter","circle")),O.registerLayout(I("scatter"))},FhB9:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"Fm1+":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("a7Wl")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="CaretUpOutlined";var h=E.forwardRef(p);z.default=h},Fofx:function(ue,z){var d=typeof Float32Array=="undefined"?Array:Float32Array;function O(){var r=new d(6);return _(r),r}function _(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function I(r,s){return r[0]=s[0],r[1]=s[1],r[2]=s[2],r[3]=s[3],r[4]=s[4],r[5]=s[5],r}function E(r,s,l){var n=s[0]*l[0]+s[2]*l[1],c=s[1]*l[0]+s[3]*l[1],e=s[0]*l[2]+s[2]*l[3],a=s[1]*l[2]+s[3]*l[3],i=s[0]*l[4]+s[2]*l[5]+s[4],u=s[1]*l[4]+s[3]*l[5]+s[5];return r[0]=n,r[1]=c,r[2]=e,r[3]=a,r[4]=i,r[5]=u,r}function C(r,s,l){return r[0]=s[0],r[1]=s[1],r[2]=s[2],r[3]=s[3],r[4]=s[4]+l[0],r[5]=s[5]+l[1],r}function t(r,s,l){var n=s[0],c=s[2],e=s[4],a=s[1],i=s[3],u=s[5],f=Math.sin(l),m=Math.cos(l);return r[0]=n*m+a*f,r[1]=-n*f+a*m,r[2]=c*m+i*f,r[3]=-c*f+m*i,r[4]=m*e+f*u,r[5]=m*u-f*e,r}function p(r,s,l){var n=l[0],c=l[1];return r[0]=s[0]*n,r[1]=s[1]*c,r[2]=s[2]*n,r[3]=s[3]*c,r[4]=s[4]*n,r[5]=s[5]*c,r}function h(r,s){var l=s[0],n=s[2],c=s[4],e=s[1],a=s[3],i=s[5],u=l*a-e*n;return u?(u=1/u,r[0]=a*u,r[1]=-e*u,r[2]=-n*u,r[3]=l*u,r[4]=(n*i-a*c)*u,r[5]=(e*c-l*i)*u,r):null}function o(r){var s=O();return I(s,r),s}z.create=O,z.identity=_,z.copy=I,z.mul=E,z.translate=C,z.rotate=t,z.scale=p,z.invert=h,z.clone=o},Fv0C:function(ue,z,d){"use strict";function O(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(a){return typeof a}:O=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},O(c)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=o(d("Lo0S")),I=d("vewr"),E=o(d("8CQX")),C=p(d("mHUz")),t=o(d("GdRQ"));function p(c){return c&&c.__esModule?c:{default:c}}function h(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return h=function(){return c},c}function o(c){if(c&&c.__esModule)return c;if(c===null||O(c)!=="object"&&typeof c!="function")return{default:c};var e=h();if(e&&e.has(c))return e.get(c);var a={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in c)if(Object.prototype.hasOwnProperty.call(c,u)){var f=i?Object.getOwnPropertyDescriptor(c,u):null;f&&(f.get||f.set)?Object.defineProperty(a,u,f):a[u]=c[u]}return a.default=c,e&&e.set(c,a),a}function r(c,e){if(!(c instanceof e))throw new TypeError("Cannot call a class as a function")}function s(c,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(c,i.key,i)}}function l(c,e,a){return e&&s(c.prototype,e),a&&s(c,a),c}var n=function(){function c(e){r(this,c),this._target=e||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 l(c,[{key:"_sendKeyEvent",value:function(a,i,u){if(u)this._keyDownList[i]=a;else{if(!(i in this._keyDownList))return;delete this._keyDownList[i]}_.Debug("onkeyevent "+(u?"down":"up")+", keysym: "+a,", code: "+i),this.onkeyevent(a,i,u)}},{key:"_getKeyCode",value:function(a){var i=E.getKeycode(a);if(i!=="Unidentified")return i;if(a.keyCode&&a.type!=="keypress"&&a.keyCode!==229)return"Platform"+a.keyCode;if(a.keyIdentifier){if(a.keyIdentifier.substr(0,2)!=="U+")return a.keyIdentifier;var u=parseInt(a.keyIdentifier.substr(2),16),f=String.fromCharCode(u).toUpperCase();return"Platform"+f.charCodeAt()}return"Unidentified"}},{key:"_handleKeyDown",value:function(a){var i=this._getKeyCode(a),u=E.getKeysym(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),i==="AltRight"&&a.timeStamp-this._altGrCtrlTime<50?u=C.default.XK_ISO_Level3_Shift:this._sendKeyEvent(C.default.XK_Control_L,"ControlLeft",!0)),i==="Unidentified"){u&&(this._sendKeyEvent(u,i,!0),this._sendKeyEvent(u,i,!1)),(0,I.stopEvent)(a);return}if(t.isMac()||t.isIOS())switch(u){case C.default.XK_Super_L:u=C.default.XK_Alt_L;break;case C.default.XK_Super_R:u=C.default.XK_Super_L;break;case C.default.XK_Alt_L:u=C.default.XK_Mode_switch;break;case C.default.XK_Alt_R:u=C.default.XK_ISO_Level3_Shift;break}if(i in this._keyDownList&&(u=this._keyDownList[i]),(t.isMac()||t.isIOS())&&i==="CapsLock"){this._sendKeyEvent(C.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(C.default.XK_Caps_Lock,"CapsLock",!1),(0,I.stopEvent)(a);return}if(!u&&(!a.key||t.isIE()||t.isEdge())){this._pendingKey=i,setTimeout(this._handleKeyPressTimeout.bind(this),10,a);return}if(this._pendingKey=null,(0,I.stopEvent)(a),i==="ControlLeft"&&t.isWindows()&&!("ControlLeft"in this._keyDownList)){this._altGrArmed=!0,this._altGrTimeout=setTimeout(this._handleAltGrTimeout.bind(this),100),this._altGrCtrlTime=a.timeStamp;return}this._sendKeyEvent(u,i,!0)}},{key:"_handleKeyPress",value:function(a){if((0,I.stopEvent)(a),this._pendingKey===null)return;var i=this._getKeyCode(a),u=E.getKeysym(a);if(i!=="Unidentified"&&i!=this._pendingKey)return;if(i=this._pendingKey,this._pendingKey=null,!u){_.Info("keypress with no keysym:",a);return}this._sendKeyEvent(u,i,!0)}},{key:"_handleKeyPressTimeout",value:function(a){if(this._pendingKey===null)return;var i,u=this._pendingKey;if(this._pendingKey=null,a.keyCode>=48&&a.keyCode<=57)i=a.keyCode;else if(a.keyCode>=65&&a.keyCode<=90){var f=String.fromCharCode(a.keyCode);a.shiftKey?f=f.toUpperCase():f=f.toLowerCase(),i=f.charCodeAt()}else i=0;this._sendKeyEvent(i,u,!0)}},{key:"_handleKeyUp",value:function(a){(0,I.stopEvent)(a);var i=this._getKeyCode(a);if(this._altGrArmed&&(this._altGrArmed=!1,clearTimeout(this._altGrTimeout),this._sendKeyEvent(C.default.XK_Control_L,"ControlLeft",!0)),(t.isMac()||t.isIOS())&&i==="CapsLock"){this._sendKeyEvent(C.default.XK_Caps_Lock,"CapsLock",!0),this._sendKeyEvent(C.default.XK_Caps_Lock,"CapsLock",!1);return}this._sendKeyEvent(this._keyDownList[i],i,!1),t.isWindows()&&(i==="ShiftLeft"||i==="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(C.default.XK_Control_L,"ControlLeft",!0)}},{key:"_allKeysUp",value:function(){_.Debug(">> Keyboard.allKeysUp");for(var a in this._keyDownList)this._sendKeyEvent(this._keyDownList[a],a,!1);_.Debug("<< Keyboard.allKeysUp")}},{key:"_checkAlt",value:function(a){if(a.skipCheckAlt)return;if(a.altKey)return;var i=this._target,u=this._keyDownList;["AltLeft","AltRight"].forEach(function(f){if(!(f in u))return;var m=new KeyboardEvent("keyup",{key:u[f],code:f});m.skipCheckAlt=!0,i.dispatchEvent(m)})}},{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),t.isWindows()&&t.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(i){return document.addEventListener(i,a,{capture:!0,passive:!0})})}}},{key:"ungrab",value:function(){if(t.isWindows()&&t.isFirefox()){var a=this._eventHandlers.checkalt;["mousedown","mouseup","mousemove","wheel","touchstart","touchend","touchmove","keydown","keyup"].forEach(function(i){return document.removeEventListener(i,a)})}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()}}]),c}();z.default=n},FxDU:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.createSensor=void 0;var O=d("QO+J"),_=d("j5sG"),I=typeof ResizeObserver!="undefined"?_.createSensor:O.createSensor;z.createSensor=I},GGyF:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("wgjA")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="LeftOutlined";var h=E.forwardRef(p);z.default=h},GIiI:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="PoweroffOutlined";var p=z.a=_.forwardRef(t)},GMDS:function(ue,z,d){var O=d("bYtY"),_=d("4NgU"),I=d("jkPA"),E=_.prototype,C=_.extend({type:"ordinal",init:function(p,h){(!p||O.isArray(p))&&(p=new I({categories:p})),this._ordinalMeta=p,this._extent=h||[0,p.categories.length-1]},parse:function(p){return typeof p=="string"?this._ordinalMeta.getOrdinal(p):Math.round(p)},contain:function(p){return p=this.parse(p),E.contain.call(this,p)&&this._ordinalMeta.categories[p]!=null},normalize:function(p){return E.normalize.call(this,this.parse(p))},scale:function(p){return Math.round(E.scale.call(this,p))},getTicks:function(){for(var p=[],h=this._extent,o=h[0];o<=h[1];)p.push(o),o++;return p},getLabel:function(p){if(!this.isBlank())return this._ordinalMeta.categories[p]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(p,h){this.unionExtent(p.getApproximateExtent(h))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:O.noop,niceExtent:O.noop});C.create=function(){return new C};var t=C;ue.exports=t},GQ8N:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.toUnsigned32bit=O,z.toSigned32bit=_;function O(I){return I>>>0}function _(I){return I|0}},GUcZ:function(ue,z,d){"use strict";var O=d("fWQN"),_=d("mtLc"),I=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"install",value:function(){Object.setPrototypeOf=Object.setPrototypeOf||function(ve,_e){return ve.__proto__=_e,ve},Object.assign=Object.assign||function(ve){if(ve==null)throw new TypeError("Cannot convert undefined or null to object");for(var _e=Object(ve),ke=1;ke<arguments.length;ke++){var rt=arguments[ke];if(rt!=null)for(var Wt in rt)rt.hasOwnProperty(Wt)&&(_e[Wt]=rt[Wt])}return _e},typeof self.Promise!="function"&&d("E2g8").polyfill()}}]),$e}();I.install();var E=I,C=d("+qE3"),t=d.n(C),p=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"e",value:function(ve,_e){(!ve||$e.FORCE_GLOBAL_TAG)&&(ve=$e.GLOBAL_TAG);var ke="[".concat(ve,"] > ").concat(_e);if($e.ENABLE_CALLBACK&&$e.emitter.emit("log","error",ke),!$e.ENABLE_ERROR)return;console.error?console.error(ke):console.warn?console.warn(ke):console.log(ke)}},{key:"i",value:function(ve,_e){(!ve||$e.FORCE_GLOBAL_TAG)&&(ve=$e.GLOBAL_TAG);var ke="[".concat(ve,"] > ").concat(_e);if($e.ENABLE_CALLBACK&&$e.emitter.emit("log","info",ke),!$e.ENABLE_INFO)return;console.info?console.info(ke):console.log(ke)}},{key:"w",value:function(ve,_e){(!ve||$e.FORCE_GLOBAL_TAG)&&(ve=$e.GLOBAL_TAG);var ke="[".concat(ve,"] > ").concat(_e);if($e.ENABLE_CALLBACK&&$e.emitter.emit("log","warn",ke),!$e.ENABLE_WARN)return;console.warn?console.warn(ke):console.log(ke)}},{key:"d",value:function(ve,_e){(!ve||$e.FORCE_GLOBAL_TAG)&&(ve=$e.GLOBAL_TAG);var ke="[".concat(ve,"] > ").concat(_e);if($e.ENABLE_CALLBACK&&$e.emitter.emit("log","debug",ke),!$e.ENABLE_DEBUG)return;console.debug?console.debug(ke):console.log(ke)}},{key:"v",value:function(ve,_e){(!ve||$e.FORCE_GLOBAL_TAG)&&(ve=$e.GLOBAL_TAG);var ke="[".concat(ve,"] > ").concat(_e);if($e.ENABLE_CALLBACK&&$e.emitter.emit("log","verbose",ke),!$e.ENABLE_VERBOSE)return;console.log(ke)}}]),$e}();p.GLOBAL_TAG="flv.js",p.FORCE_GLOBAL_TAG=!1,p.ENABLE_ERROR=!0,p.ENABLE_INFO=!0,p.ENABLE_WARN=!0,p.ENABLE_DEBUG=!0,p.ENABLE_VERBOSE=!0,p.ENABLE_CALLBACK=!1,p.emitter=new t.a;var h=p,o=function(){function $e(){Object(O.a)(this,$e),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(_.a)($e,[{key:"reset",value:function(){this._firstCheckpoint=this._lastCheckpoint=0,this._totalBytes=this._intervalBytes=0,this._lastSecondBytes=0}},{key:"addBytes",value:function(ve){this._firstCheckpoint===0?(this._firstCheckpoint=this._now(),this._lastCheckpoint=this._firstCheckpoint,this._intervalBytes+=ve,this._totalBytes+=ve):this._now()-this._lastCheckpoint<1e3?(this._intervalBytes+=ve,this._totalBytes+=ve):(this._lastSecondBytes=this._intervalBytes,this._intervalBytes=ve,this._totalBytes+=ve,this._lastCheckpoint=this._now())}},{key:"currentKBps",get:function(){this.addBytes(0);var ve=(this._now()-this._lastCheckpoint)/1e3;return ve==0&&(ve=1),this._intervalBytes/ve/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 ve=(this._now()-this._firstCheckpoint)/1e3;return this._totalBytes/ve/1024}}]),$e}(),r=o,s=d("yKVA"),l=d("879j"),n=function(){function $e(tt){Object(O.a)(this,$e),this._message=tt}return Object(_.a)($e,[{key:"name",get:function(){return"RuntimeException"}},{key:"message",get:function(){return this._message}},{key:"toString",value:function(){return this.name+": "+this.message}}]),$e}(),c=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e){return Object(O.a)(this,ve),tt.call(this,_e)}return Object(_.a)(ve,[{key:"name",get:function(){return"IllegalStateException"}}]),ve}(n),e=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e){return Object(O.a)(this,ve),tt.call(this,_e)}return Object(_.a)(ve,[{key:"name",get:function(){return"InvalidArgumentException"}}]),ve}(n),a=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e){return Object(O.a)(this,ve),tt.call(this,_e)}return Object(_.a)(ve,[{key:"name",get:function(){return"NotImplementedException"}}]),ve}(n),i={kIdle:0,kConnecting:1,kBuffering:2,kError:3,kComplete:4},u={OK:"OK",EXCEPTION:"Exception",HTTP_STATUS_CODE_INVALID:"HttpStatusCodeInvalid",CONNECTING_TIMEOUT:"ConnectingTimeout",EARLY_EOF:"EarlyEof",UNRECOVERABLE_EARLY_EOF:"UnrecoverableEarlyEof"},f=function(){function $e(tt){Object(O.a)(this,$e),this._type=tt||"undefined",this._status=i.kIdle,this._needStash=!1,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}return Object(_.a)($e,[{key:"destroy",value:function(){this._status=i.kIdle,this._onContentLengthKnown=null,this._onURLRedirect=null,this._onDataArrival=null,this._onError=null,this._onComplete=null}},{key:"isWorking",value:function(){return this._status===i.kConnecting||this._status===i.kBuffering}},{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(ve){this._onContentLengthKnown=ve}},{key:"onURLRedirect",get:function(){return this._onURLRedirect},set:function(ve){this._onURLRedirect=ve}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(ve){this._onDataArrival=ve}},{key:"onError",get:function(){return this._onError},set:function(ve){this._onError=ve}},{key:"onComplete",get:function(){return this._onComplete},set:function(ve){this._onComplete=ve}},{key:"open",value:function(ve,_e){throw new a("Unimplemented abstract function!")}},{key:"abort",value:function(){throw new a("Unimplemented abstract function!")}}]),$e}(),m=d("w4Tj"),A=d("oZsa"),g={};function v(){var $e=self.navigator.userAgent.toLowerCase(),tt=/(edge)\/([\w.]+)/.exec($e)||/(opr)[\/]([\w.]+)/.exec($e)||/(chrome)[ \/]([\w.]+)/.exec($e)||/(iemobile)[\/]([\w.]+)/.exec($e)||/(version)(applewebkit)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec($e)||/(webkit)[ \/]([\w.]+).*(version)[ \/]([\w.]+).*(safari)[ \/]([\w.]+)/.exec($e)||/(webkit)[ \/]([\w.]+)/.exec($e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec($e)||/(msie) ([\w.]+)/.exec($e)||$e.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec($e)||$e.indexOf("compatible")<0&&/(firefox)[ \/]([\w.]+)/.exec($e)||[],ve=/(ipad)/.exec($e)||/(ipod)/.exec($e)||/(windows phone)/.exec($e)||/(iphone)/.exec($e)||/(kindle)/.exec($e)||/(android)/.exec($e)||/(windows)/.exec($e)||/(mac)/.exec($e)||/(linux)/.exec($e)||/(cros)/.exec($e)||[],_e={browser:tt[5]||tt[3]||tt[1]||"",version:tt[2]||tt[4]||"0",majorVersion:tt[4]||tt[2]||"0",platform:ve[0]||""},ke={};if(_e.browser){ke[_e.browser]=!0;var rt=_e.majorVersion.split(".");ke.version={major:parseInt(_e.majorVersion,10),string:_e.version},rt.length>1&&(ke.version.minor=parseInt(rt[1],10)),rt.length>2&&(ke.version.build=parseInt(rt[2],10))}if(_e.platform&&(ke[_e.platform]=!0),(ke.chrome||ke.opr||ke.safari)&&(ke.webkit=!0),ke.rv||ke.iemobile){ke.rv&&delete ke.rv;var Wt="msie";_e.browser=Wt,ke[Wt]=!0}if(ke.edge){delete ke.edge;var Bt="msedge";_e.browser=Bt,ke[Bt]=!0}if(ke.opr){var Gt="opera";_e.browser=Gt,ke[Gt]=!0}if(ke.safari&&ke.android){var Rr="android";_e.browser=Rr,ke[Rr]=!0}ke.name=_e.browser,ke.platform=_e.platform;for(var Pr in g)g.hasOwnProperty(Pr)&&delete g[Pr];Object.assign(g,ke)}v();var b=g,S=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e,ke){var rt;return Object(O.a)(this,ve),rt=tt.call(this,"fetch-stream-loader"),rt.TAG="FetchStreamLoader",rt._seekHandler=_e,rt._config=ke,rt._needStash=!0,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(_.a)(ve,[{key:"destroy",value:function(){this.isWorking()&&this.abort(),Object(m.a)(Object(A.a)(ve.prototype),"destroy",this).call(this)}},{key:"open",value:function(ke,rt){var Wt=this;this._dataSource=ke,this._range=rt;var Bt=ke.url;this._config.reuseRedirectedURL&&ke.redirectedURL!=null&&(Bt=ke.redirectedURL);var Gt=this._seekHandler.getConfig(Bt,rt),Rr=new self.Headers;if(typeof Gt.headers=="object"){var Pr=Gt.headers;for(var cn in Pr)Pr.hasOwnProperty(cn)&&Rr.append(cn,Pr[cn])}var Ut={method:"GET",headers:Rr,mode:"cors",cache:"default",referrerPolicy:"no-referrer-when-downgrade"};if(typeof this._config.headers=="object")for(var pt in this._config.headers)Rr.append(pt,this._config.headers[pt]);ke.cors===!1&&(Ut.mode="same-origin"),ke.withCredentials&&(Ut.credentials="include"),ke.referrerPolicy&&(Ut.referrerPolicy=ke.referrerPolicy),this._status=i.kConnecting,self.fetch(Gt.url,Ut).then(function(ct){if(Wt._requestAbort){Wt._requestAbort=!1,Wt._status=i.kIdle;return}if(ct.ok&&ct.status>=200&&ct.status<=299){if(ct.url!==Gt.url&&Wt._onURLRedirect){var Qt=Wt._seekHandler.removeURLParameters(ct.url);Wt._onURLRedirect(Qt)}var Jt=ct.headers.get("Content-Length");return Jt!=null&&(Wt._contentLength=parseInt(Jt),Wt._contentLength!==0&&(Wt._onContentLengthKnown&&Wt._onContentLengthKnown(Wt._contentLength))),Wt._pump.call(Wt,ct.body.getReader())}else if(Wt._status=i.kError,Wt._onError)Wt._onError(u.HTTP_STATUS_CODE_INVALID,{code:ct.status,msg:ct.statusText});else throw new n("FetchStreamLoader: Http code invalid, "+ct.status+" "+ct.statusText)}).catch(function(ct){if(Wt._status=i.kError,Wt._onError)Wt._onError(u.EXCEPTION,{code:-1,msg:ct.message});else throw ct})}},{key:"abort",value:function(){this._requestAbort=!0}},{key:"_pump",value:function(ke){var rt=this;return ke.read().then(function(Wt){if(Wt.done)if(rt._contentLength!==null&&rt._receivedLength<rt._contentLength){rt._status=i.kError;var Bt=u.EARLY_EOF,Gt={code:-1,msg:"Fetch stream meet Early-EOF"};if(rt._onError)rt._onError(Bt,Gt);else throw new n(Gt.msg)}else rt._status=i.kComplete,rt._onComplete&&rt._onComplete(rt._range.from,rt._range.from+rt._receivedLength-1);else{if(rt._requestAbort===!0)return rt._requestAbort=!1,rt._status=i.kComplete,ke.cancel();rt._status=i.kBuffering;var Rr=Wt.value.buffer,Pr=rt._range.from+rt._receivedLength;rt._receivedLength+=Rr.byteLength,rt._onDataArrival&&rt._onDataArrival(Rr,Pr,rt._receivedLength),rt._pump(ke)}}).catch(function(Wt){if(Wt.code===11&&b.msedge)return;rt._status=i.kError;var Bt=0,Gt=null;if((Wt.code===19||Wt.message==="network error")&&(rt._contentLength===null||rt._contentLength!==null&&rt._receivedLength<rt._contentLength)?(Bt=u.EARLY_EOF,Gt={code:Wt.code,msg:"Fetch stream meet Early-EOF"}):(Bt=u.EXCEPTION,Gt={code:Wt.code,msg:Wt.message}),rt._onError)rt._onError(Bt,Gt);else throw new n(Gt.msg)})}}],[{key:"isSupported",value:function(){try{var ke=b.msedge&&b.version.minor>=15048,rt=b.msedge?ke:!0;return self.fetch&&self.ReadableStream&&rt}catch(Wt){return!1}}}]),ve}(f),y=S,w=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e,ke){var rt;return Object(O.a)(this,ve),rt=tt.call(this,"xhr-moz-chunked-loader"),rt.TAG="MozChunkedLoader",rt._seekHandler=_e,rt._config=ke,rt._needStash=!0,rt._xhr=null,rt._requestAbort=!1,rt._contentLength=null,rt._receivedLength=0,rt}return Object(_.a)(ve,[{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),Object(m.a)(Object(A.a)(ve.prototype),"destroy",this).call(this)}},{key:"open",value:function(ke,rt){this._dataSource=ke,this._range=rt;var Wt=ke.url;this._config.reuseRedirectedURL&&ke.redirectedURL!=null&&(Wt=ke.redirectedURL);var Bt=this._seekHandler.getConfig(Wt,rt);this._requestURL=Bt.url;var Gt=this._xhr=new XMLHttpRequest;if(Gt.open("GET",Bt.url,!0),Gt.responseType="moz-chunked-arraybuffer",Gt.onreadystatechange=this._onReadyStateChange.bind(this),Gt.onprogress=this._onProgress.bind(this),Gt.onloadend=this._onLoadEnd.bind(this),Gt.onerror=this._onXhrError.bind(this),ke.withCredentials&&(Gt.withCredentials=!0),typeof Bt.headers=="object"){var Rr=Bt.headers;for(var Pr in Rr)Rr.hasOwnProperty(Pr)&&Gt.setRequestHeader(Pr,Rr[Pr])}if(typeof this._config.headers=="object"){var cn=this._config.headers;for(var Ut in cn)cn.hasOwnProperty(Ut)&&Gt.setRequestHeader(Ut,cn[Ut])}this._status=i.kConnecting,Gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._xhr&&this._xhr.abort(),this._status=i.kComplete}},{key:"_onReadyStateChange",value:function(ke){var rt=ke.target;if(rt.readyState===2){if(rt.responseURL!=null&&rt.responseURL!==this._requestURL&&this._onURLRedirect){var Wt=this._seekHandler.removeURLParameters(rt.responseURL);this._onURLRedirect(Wt)}if(rt.status!==0&&(rt.status<200||rt.status>299))if(this._status=i.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new n("MozChunkedLoader: Http code invalid, "+rt.status+" "+rt.statusText);else this._status=i.kBuffering}}},{key:"_onProgress",value:function(ke){if(this._status===i.kError)return;this._contentLength===null&&(ke.total!==null&&ke.total!==0&&(this._contentLength=ke.total,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)));var rt=ke.target.response,Wt=this._range.from+this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Wt,this._receivedLength)}},{key:"_onLoadEnd",value:function(ke){if(this._requestAbort===!0){this._requestAbort=!1;return}else if(this._status===i.kError)return;this._status=i.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1)}},{key:"_onXhrError",value:function(ke){this._status=i.kError;var rt=0,Wt=null;if(this._contentLength&&ke.loaded<this._contentLength?(rt=u.EARLY_EOF,Wt={code:-1,msg:"Moz-Chunked stream meet Early-Eof"}):(rt=u.EXCEPTION,Wt={code:-1,msg:ke.constructor.name+" "+ke.type}),this._onError)this._onError(rt,Wt);else throw new n(Wt.msg)}}],[{key:"isSupported",value:function(){try{var ke=new XMLHttpRequest;return ke.open("GET","https://example.com",!0),ke.responseType="moz-chunked-arraybuffer",ke.responseType==="moz-chunked-arraybuffer"}catch(rt){return h.w("MozChunkedLoader",rt.message),!1}}}]),ve}(f),x=w,T=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e,ke){var rt;return Object(O.a)(this,ve),rt=tt.call(this,"xhr-msstream-loader"),rt.TAG="MSStreamLoader",rt._seekHandler=_e,rt._config=ke,rt._needStash=!0,rt._xhr=null,rt._reader=null,rt._totalRange=null,rt._currentRange=null,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._contentLength=null,rt._receivedLength=0,rt._bufferLimit=16*1024*1024,rt._lastTimeBufferSize=0,rt._isReconnecting=!1,rt}return Object(_.a)(ve,[{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),Object(m.a)(Object(A.a)(ve.prototype),"destroy",this).call(this)}},{key:"open",value:function(ke,rt){this._internalOpen(ke,rt,!1)}},{key:"_internalOpen",value:function(ke,rt,Wt){this._dataSource=ke,Wt?this._currentRange=rt:this._totalRange=rt;var Bt=ke.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Bt=this._currentRedirectedURL:ke.redirectedURL!=null&&(Bt=ke.redirectedURL));var Gt=this._seekHandler.getConfig(Bt,rt);this._currentRequestURL=Gt.url;var Rr=this._reader=new self.MSStreamReader;Rr.onprogress=this._msrOnProgress.bind(this),Rr.onload=this._msrOnLoad.bind(this),Rr.onerror=this._msrOnError.bind(this);var Pr=this._xhr=new XMLHttpRequest;if(Pr.open("GET",Gt.url,!0),Pr.responseType="ms-stream",Pr.onreadystatechange=this._xhrOnReadyStateChange.bind(this),Pr.onerror=this._xhrOnError.bind(this),ke.withCredentials&&(Pr.withCredentials=!0),typeof Gt.headers=="object"){var cn=Gt.headers;for(var Ut in cn)cn.hasOwnProperty(Ut)&&Pr.setRequestHeader(Ut,cn[Ut])}if(typeof this._config.headers=="object"){var pt=this._config.headers;for(var ct in pt)pt.hasOwnProperty(ct)&&Pr.setRequestHeader(ct,pt[ct])}this._isReconnecting?this._isReconnecting=!1:this._status=i.kConnecting,Pr.send()}},{key:"abort",value:function(){this._internalAbort(),this._status=i.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(ke){var rt=ke.target;if(rt.readyState===2)if(rt.status>=200&&rt.status<=299){if(this._status=i.kBuffering,rt.responseURL!=null){var Wt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Wt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Wt,this._onURLRedirect&&this._onURLRedirect(Wt))}var Bt=rt.getResponseHeader("Content-Length");if(Bt!=null&&this._contentLength==null){var Gt=parseInt(Bt);Gt>0&&(this._contentLength=Gt,this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength))}}else if(this._status=i.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new n("MSStreamLoader: Http code invalid, "+rt.status+" "+rt.statusText);else if(rt.readyState===3&&(rt.status>=200&&rt.status<=299)){this._status=i.kBuffering;var Rr=rt.response;this._reader.readAsArrayBuffer(Rr)}}},{key:"_xhrOnError",value:function(ke){this._status=i.kError;var rt=u.EXCEPTION,Wt={code:-1,msg:ke.constructor.name+" "+ke.type};if(this._onError)this._onError(rt,Wt);else throw new n(Wt.msg)}},{key:"_msrOnProgress",value:function(ke){var rt=ke.target,Wt=rt.result;if(Wt==null){this._doReconnectIfNeeded();return}var Bt=Wt.slice(this._lastTimeBufferSize);this._lastTimeBufferSize=Wt.byteLength;var Gt=this._totalRange.from+this._receivedLength;this._receivedLength+=Bt.byteLength,this._onDataArrival&&this._onDataArrival(Bt,Gt,this._receivedLength),Wt.byteLength>=this._bufferLimit&&(h.v(this.TAG,"MSStream buffer exceeded max size near ".concat(Gt+Bt.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 ke={from:this._totalRange.from+this._receivedLength,to:-1};this._internalOpen(this._dataSource,ke,!0)}}},{key:"_msrOnLoad",value:function(ke){this._status=i.kComplete,this._onComplete&&this._onComplete(this._totalRange.from,this._totalRange.from+this._receivedLength-1)}},{key:"_msrOnError",value:function(ke){this._status=i.kError;var rt=0,Wt=null;if(this._contentLength&&this._receivedLength<this._contentLength?(rt=u.EARLY_EOF,Wt={code:-1,msg:"MSStream meet Early-Eof"}):(rt=u.EARLY_EOF,Wt={code:-1,msg:ke.constructor.name+" "+ke.type}),this._onError)this._onError(rt,Wt);else throw new n(Wt.msg)}}],[{key:"isSupported",value:function(){try{if(typeof self.MSStream=="undefined"||typeof self.MSStreamReader=="undefined")return!1;var ke=new XMLHttpRequest;return ke.open("GET","https://example.com",!0),ke.responseType="ms-stream",ke.responseType==="ms-stream"}catch(rt){return h.w("MSStreamLoader",rt.message),!1}}}]),ve}(f),L=T,R=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(_e,ke){var rt;return Object(O.a)(this,ve),rt=tt.call(this,"xhr-range-loader"),rt.TAG="RangeLoader",rt._seekHandler=_e,rt._config=ke,rt._needStash=!1,rt._chunkSizeKBList=[128,256,384,512,768,1024,1536,2048,3072,4096,5120,6144,7168,8192],rt._currentChunkSizeKB=384,rt._currentSpeedNormalized=0,rt._zeroSpeedChunkCount=0,rt._xhr=null,rt._speedSampler=new r,rt._requestAbort=!1,rt._waitForTotalLength=!1,rt._totalLengthReceived=!1,rt._currentRequestURL=null,rt._currentRedirectedURL=null,rt._currentRequestRange=null,rt._totalLength=null,rt._contentLength=null,rt._receivedLength=0,rt._lastTimeLoaded=0,rt}return Object(_.a)(ve,[{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),Object(m.a)(Object(A.a)(ve.prototype),"destroy",this).call(this)}},{key:"currentSpeed",get:function(){return this._speedSampler.lastSecondKBps}},{key:"open",value:function(ke,rt){this._dataSource=ke,this._range=rt,this._status=i.kConnecting;var Wt=!1;this._dataSource.filesize!=null&&this._dataSource.filesize!==0&&(Wt=!0,this._totalLength=this._dataSource.filesize),!this._totalLengthReceived&&!Wt?(this._waitForTotalLength=!0,this._internalOpen(this._dataSource,{from:0,to:-1})):this._openSubRange()}},{key:"_openSubRange",value:function(){var ke=this._currentChunkSizeKB*1024,rt=this._range.from+this._receivedLength,Wt=rt+ke;this._contentLength!=null&&(Wt-this._range.from>=this._contentLength&&(Wt=this._range.from+this._contentLength-1)),this._currentRequestRange={from:rt,to:Wt},this._internalOpen(this._dataSource,this._currentRequestRange)}},{key:"_internalOpen",value:function(ke,rt){this._lastTimeLoaded=0;var Wt=ke.url;this._config.reuseRedirectedURL&&(this._currentRedirectedURL!=null?Wt=this._currentRedirectedURL:ke.redirectedURL!=null&&(Wt=ke.redirectedURL));var Bt=this._seekHandler.getConfig(Wt,rt);this._currentRequestURL=Bt.url;var Gt=this._xhr=new XMLHttpRequest;if(Gt.open("GET",Bt.url,!0),Gt.responseType="arraybuffer",Gt.onreadystatechange=this._onReadyStateChange.bind(this),Gt.onprogress=this._onProgress.bind(this),Gt.onload=this._onLoad.bind(this),Gt.onerror=this._onXhrError.bind(this),ke.withCredentials&&(Gt.withCredentials=!0),typeof Bt.headers=="object"){var Rr=Bt.headers;for(var Pr in Rr)Rr.hasOwnProperty(Pr)&&Gt.setRequestHeader(Pr,Rr[Pr])}if(typeof this._config.headers=="object"){var cn=this._config.headers;for(var Ut in cn)cn.hasOwnProperty(Ut)&&Gt.setRequestHeader(Ut,cn[Ut])}Gt.send()}},{key:"abort",value:function(){this._requestAbort=!0,this._internalAbort(),this._status=i.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(ke){var rt=ke.target;if(rt.readyState===2){if(rt.responseURL!=null){var Wt=this._seekHandler.removeURLParameters(rt.responseURL);rt.responseURL!==this._currentRequestURL&&Wt!==this._currentRedirectedURL&&(this._currentRedirectedURL=Wt,this._onURLRedirect&&this._onURLRedirect(Wt))}if(rt.status>=200&&rt.status<=299){if(this._waitForTotalLength)return;this._status=i.kBuffering}else if(this._status=i.kError,this._onError)this._onError(u.HTTP_STATUS_CODE_INVALID,{code:rt.status,msg:rt.statusText});else throw new n("RangeLoader: Http code invalid, "+rt.status+" "+rt.statusText)}}},{key:"_onProgress",value:function(ke){if(this._status===i.kError)return;if(this._contentLength===null){var rt=!1;if(this._waitForTotalLength){this._waitForTotalLength=!1,this._totalLengthReceived=!0,rt=!0;var Wt=ke.total;this._internalAbort(),Wt!=null&Wt!==0&&(this._totalLength=Wt)}if(this._range.to===-1?this._contentLength=this._totalLength-this._range.from:this._contentLength=this._range.to-this._range.from+1,rt){this._openSubRange();return}this._onContentLengthKnown&&this._onContentLengthKnown(this._contentLength)}var Bt=ke.loaded-this._lastTimeLoaded;this._lastTimeLoaded=ke.loaded,this._speedSampler.addBytes(Bt)}},{key:"_normalizeSpeed",value:function(ke){var rt=this._chunkSizeKBList,Wt=rt.length-1,Bt=0,Gt=0,Rr=Wt;if(ke<rt[0])return rt[0];for(;Gt<=Rr;){if(Bt=Gt+Math.floor((Rr-Gt)/2),Bt===Wt||ke>=rt[Bt]&&ke<rt[Bt+1])return rt[Bt];rt[Bt]<ke?Gt=Bt+1:Rr=Bt-1}}},{key:"_onLoad",value:function(ke){if(this._status===i.kError)return;if(this._waitForTotalLength){this._waitForTotalLength=!1;return}this._lastTimeLoaded=0;var rt=this._speedSampler.lastSecondKBps;if(rt===0&&(this._zeroSpeedChunkCount++,this._zeroSpeedChunkCount>=3&&(rt=this._speedSampler.currentKBps)),rt!==0){var Wt=this._normalizeSpeed(rt);this._currentSpeedNormalized!==Wt&&(this._currentSpeedNormalized=Wt,this._currentChunkSizeKB=Wt)}var Bt=ke.target.response,Gt=this._range.from+this._receivedLength;this._receivedLength+=Bt.byteLength;var Rr=!1;this._contentLength!=null&&this._receivedLength<this._contentLength?this._openSubRange():Rr=!0,this._onDataArrival&&this._onDataArrival(Bt,Gt,this._receivedLength),Rr&&(this._status=i.kComplete,this._onComplete&&this._onComplete(this._range.from,this._range.from+this._receivedLength-1))}},{key:"_onXhrError",value:function(ke){this._status=i.kError;var rt=0,Wt=null;if(this._contentLength&&this._receivedLength>0&&this._receivedLength<this._contentLength?(rt=u.EARLY_EOF,Wt={code:-1,msg:"RangeLoader meet Early-Eof"}):(rt=u.EXCEPTION,Wt={code:-1,msg:ke.constructor.name+" "+ke.type}),this._onError)this._onError(rt,Wt);else throw new n(Wt.msg)}}],[{key:"isSupported",value:function(){try{var ke=new XMLHttpRequest;return ke.open("GET","https://example.com",!0),ke.responseType="arraybuffer",ke.responseType==="arraybuffer"}catch(rt){return h.w("RangeLoader",rt.message),!1}}}]),ve}(f),P=R,k=function($e){Object(s.a)(ve,$e);var tt=Object(l.a)(ve);function ve(){var _e;return Object(O.a)(this,ve),_e=tt.call(this,"websocket-loader"),_e.TAG="WebSocketLoader",_e._needStash=!0,_e._ws=null,_e._requestAbort=!1,_e._receivedLength=0,_e}return Object(_.a)(ve,[{key:"destroy",value:function(){this._ws&&this.abort(),Object(m.a)(Object(A.a)(ve.prototype),"destroy",this).call(this)}},{key:"open",value:function(ke){try{var rt=this._ws=new self.WebSocket(ke.url);rt.binaryType="arraybuffer",rt.onopen=this._onWebSocketOpen.bind(this),rt.onclose=this._onWebSocketClose.bind(this),rt.onmessage=this._onWebSocketMessage.bind(this),rt.onerror=this._onWebSocketError.bind(this),this._status=i.kConnecting}catch(Bt){this._status=i.kError;var Wt={code:Bt.code,msg:Bt.message};if(this._onError)this._onError(u.EXCEPTION,Wt);else throw new n(Wt.msg)}}},{key:"abort",value:function(){var ke=this._ws;ke&&(ke.readyState===0||ke.readyState===1)&&(this._requestAbort=!0,ke.close()),this._ws=null,this._status=i.kComplete}},{key:"_onWebSocketOpen",value:function(ke){this._status=i.kBuffering}},{key:"_onWebSocketClose",value:function(ke){if(this._requestAbort===!0){this._requestAbort=!1;return}this._status=i.kComplete,this._onComplete&&this._onComplete(0,this._receivedLength-1)}},{key:"_onWebSocketMessage",value:function(ke){var rt=this;if(ke.data instanceof ArrayBuffer)this._dispatchArrayBuffer(ke.data);else if(ke.data instanceof Blob){var Wt=new FileReader;Wt.onload=function(){rt._dispatchArrayBuffer(Wt.result)},Wt.readAsArrayBuffer(ke.data)}else{this._status=i.kError;var Bt={code:-1,msg:"Unsupported WebSocket message type: "+ke.data.constructor.name};if(this._onError)this._onError(u.EXCEPTION,Bt);else throw new n(Bt.msg)}}},{key:"_dispatchArrayBuffer",value:function(ke){var rt=ke,Wt=this._receivedLength;this._receivedLength+=rt.byteLength,this._onDataArrival&&this._onDataArrival(rt,Wt,this._receivedLength)}},{key:"_onWebSocketError",value:function(ke){this._status=i.kError;var rt={code:ke.code,msg:ke.message};if(this._onError)this._onError(u.EXCEPTION,rt);else throw new n(rt.msg)}}],[{key:"isSupported",value:function(){try{return typeof self.WebSocket!="undefined"}catch(ke){return!1}}}]),ve}(f),U=k,D=function(){function $e(tt){Object(O.a)(this,$e),this._zeroStart=tt||!1}return Object(_.a)($e,[{key:"getConfig",value:function(ve,_e){var ke={};if(_e.from!==0||_e.to!==-1){var rt;_e.to!==-1?rt="bytes=".concat(_e.from.toString(),"-").concat(_e.to.toString()):rt="bytes=".concat(_e.from.toString(),"-"),ke.Range=rt}else this._zeroStart&&(ke.Range="bytes=0-");return{url:ve,headers:ke}}},{key:"removeURLParameters",value:function(ve){return ve}}]),$e}(),M=D,B=function(){function $e(tt,ve){Object(O.a)(this,$e),this._startName=tt,this._endName=ve}return Object(_.a)($e,[{key:"getConfig",value:function(ve,_e){var ke=ve;if(_e.from!==0||_e.to!==-1){var rt=!0;ke.indexOf("?")===-1&&(ke+="?",rt=!1),rt&&(ke+="&"),ke+="".concat(this._startName,"=").concat(_e.from.toString()),_e.to!==-1&&(ke+="&".concat(this._endName,"=").concat(_e.to.toString()))}return{url:ke,headers:{}}}},{key:"removeURLParameters",value:function(ve){var _e=ve.split("?")[0],ke=void 0,rt=ve.indexOf("?");rt!==-1&&(ke=ve.substring(rt+1));var Wt="";if(ke!=null&&ke.length>0)for(var Bt=ke.split("&"),Gt=0;Gt<Bt.length;Gt++){var Rr=Bt[Gt].split("="),Pr=Gt>0;Rr[0]!==this._startName&&Rr[0]!==this._endName&&(Pr&&(Wt+="&"),Wt+=Bt[Gt])}return Wt.length===0?_e:_e+"?"+Wt}}]),$e}(),j=B,H=function(){function $e(tt,ve,_e){Object(O.a)(this,$e),this.TAG="IOController",this._config=ve,this._extraData=_e,this._stashInitialSize=1024*384,ve.stashInitialSize!=null&&ve.stashInitialSize>0&&(this._stashInitialSize=ve.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,ve.enableStashBuffer===!1&&(this._enableStash=!1),this._loader=null,this._loaderClass=null,this._seekHandler=null,this._dataSource=tt,this._isWebSocketURL=/wss?:\/\/(.+?)/.test(tt.url),this._refTotalLength=tt.filesize?tt.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(_.a)($e,[{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:"status",get:function(){return this._loader.status}},{key:"extraData",get:function(){return this._extraData},set:function(ve){this._extraData=ve}},{key:"onDataArrival",get:function(){return this._onDataArrival},set:function(ve){this._onDataArrival=ve}},{key:"onSeeked",get:function(){return this._onSeeked},set:function(ve){this._onSeeked=ve}},{key:"onError",get:function(){return this._onError},set:function(ve){this._onError=ve}},{key:"onComplete",get:function(){return this._onComplete},set:function(ve){this._onComplete=ve}},{key:"onRedirect",get:function(){return this._onRedirect},set:function(ve){this._onRedirect=ve}},{key:"onRecoveredEarlyEof",get:function(){return this._onRecoveredEarlyEof},set:function(ve){this._onRecoveredEarlyEof=ve}},{key:"currentURL",get:function(){return this._dataSource.url}},{key:"hasRedirect",get:function(){return this._redirectedURL!=null||this._dataSource.redirectedURL!=null}},{key:"currentRedirectedURL",get:function(){return this._redirectedURL||this._dataSource.redirectedURL}},{key:"currentSpeed",get:function(){return this._loaderClass===P?this._loader.currentSpeed:this._speedSampler.lastSecondKBps}},{key:"loaderType",get:function(){return this._loader.type}},{key:"_selectSeekHandler",value:function(){var ve=this._config;if(ve.seekType==="range")this._seekHandler=new M(this._config.rangeLoadZeroStart);else if(ve.seekType==="param"){var _e=ve.seekParamStart||"bstart",ke=ve.seekParamEnd||"bend";this._seekHandler=new j(_e,ke)}else if(ve.seekType==="custom"){if(typeof ve.customSeekHandler!="function")throw new e("Custom seekType specified in config but invalid customSeekHandler!");this._seekHandler=new ve.customSeekHandler}else throw new e("Invalid seekType in config: ".concat(ve.seekType))}},{key:"_selectLoader",value:function(){if(this._config.customLoader!=null)this._loaderClass=this._config.customLoader;else if(this._isWebSocketURL)this._loaderClass=U;else if(y.isSupported())this._loaderClass=y;else if(x.isSupported())this._loaderClass=x;else if(P.isSupported())this._loaderClass=P;else throw new n("Your browser doesn't support xhr with arraybuffer responseType!")}},{key:"_createLoader",value:function(){this._loader=new this._loaderClass(this._seekHandler,this._config),this._loader.needStashBuffer===!1&&(this._enableStash=!1),this._loader.onContentLengthKnown=this._onContentLengthKnown.bind(this),this._loader.onURLRedirect=this._onURLRedirect.bind(this),this._loader.onDataArrival=this._onLoaderChunkArrival.bind(this),this._loader.onComplete=this._onLoaderComplete.bind(this),this._loader.onError=this._onLoaderError.bind(this)}},{key:"open",value:function(ve){this._currentRange={from:0,to:-1},ve&&(this._currentRange.from=ve),this._speedSampler.reset(),ve||(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 ve=this._resumeFrom;this._resumeFrom=0,this._internalSeek(ve,!0)}}},{key:"seek",value:function(ve){this._paused=!1,this._stashUsed=0,this._stashByteStart=0,this._internalSeek(ve,!0)}},{key:"_internalSeek",value:function(ve,_e){this._loader.isWorking()&&this._loader.abort(),this._flushStashBuffer(_e),this._loader.destroy(),this._loader=null;var ke={from:ve,to:-1};this._currentRange={from:ke.from,to:-1},this._speedSampler.reset(),this._stashSize=this._stashInitialSize,this._createLoader(),this._loader.open(this._dataSource,ke),this._onSeeked&&this._onSeeked()}},{key:"updateUrl",value:function(ve){if(!ve||typeof ve!="string"||ve.length===0)throw new e("Url must be a non-empty string!");this._dataSource.url=ve}},{key:"_expandBuffer",value:function(ve){for(var _e=this._stashSize;_e+1024*1024*1<ve;)_e*=2;if(_e+=1024*1024*1,_e===this._bufferSize)return;var ke=new ArrayBuffer(_e);if(this._stashUsed>0){var rt=new Uint8Array(this._stashBuffer,0,this._stashUsed),Wt=new Uint8Array(ke,0,_e);Wt.set(rt,0)}this._stashBuffer=ke,this._bufferSize=_e}},{key:"_normalizeSpeed",value:function(ve){var _e=this._speedNormalizeList,ke=_e.length-1,rt=0,Wt=0,Bt=ke;if(ve<_e[0])return _e[0];for(;Wt<=Bt;){if(rt=Wt+Math.floor((Bt-Wt)/2),rt===ke||ve>=_e[rt]&&ve<_e[rt+1])return _e[rt];_e[rt]<ve?Wt=rt+1:Bt=rt-1}}},{key:"_adjustStashSize",value:function(ve){var _e=0;this._config.isLive||ve<512?_e=ve:ve>=512&&ve<=1024?_e=Math.floor(ve*1.5):_e=ve*2,_e>8192&&(_e=8192);var ke=_e*1024+1024*1024*1;this._bufferSize<ke&&this._expandBuffer(ke),this._stashSize=_e*1024}},{key:"_dispatchChunks",value:function(ve,_e){return this._currentRange.to=_e+ve.byteLength-1,this._onDataArrival(ve,_e)}},{key:"_onURLRedirect",value:function(ve){this._redirectedURL=ve,this._onRedirect&&this._onRedirect(ve)}},{key:"_onContentLengthKnown",value:function(ve){ve&&this._fullRequestFlag&&(this._totalLength=ve,this._fullRequestFlag=!1)}},{key:"_onLoaderChunkArrival",value:function(ve,_e,ke){if(!this._onDataArrival)throw new c("IOController: No existing consumer (onDataArrival) callback!");if(this._paused)return;this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,this._onRecoveredEarlyEof&&this._onRecoveredEarlyEof()),this._speedSampler.addBytes(ve.byteLength);var rt=this._speedSampler.lastSecondKBps;if(rt!==0){var Wt=this._normalizeSpeed(rt);this._speedNormalized!==Wt&&(this._speedNormalized=Wt,this._adjustStashSize(Wt))}if(this._enableStash)if(this._stashUsed===0&&this._stashByteStart===0&&(this._stashByteStart=_e),this._stashUsed+ve.byteLength<=this._stashSize){var pt=new Uint8Array(this._stashBuffer,0,this._stashSize);pt.set(new Uint8Array(ve),this._stashUsed),this._stashUsed+=ve.byteLength}else{var ct=new Uint8Array(this._stashBuffer,0,this._bufferSize);if(this._stashUsed>0){var Qt=this._stashBuffer.slice(0,this._stashUsed),Jt=this._dispatchChunks(Qt,this._stashByteStart);if(Jt<Qt.byteLength){if(Jt>0){var yt=new Uint8Array(Qt,Jt);ct.set(yt,0),this._stashUsed=yt.byteLength,this._stashByteStart+=Jt}}else this._stashUsed=0,this._stashByteStart+=Jt;this._stashUsed+ve.byteLength>this._bufferSize&&(this._expandBuffer(this._stashUsed+ve.byteLength),ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ct.set(new Uint8Array(ve),this._stashUsed),this._stashUsed+=ve.byteLength}else{var Pt=this._dispatchChunks(ve,_e);if(Pt<ve.byteLength){var At=ve.byteLength-Pt;At>this._bufferSize&&(this._expandBuffer(At),ct=new Uint8Array(this._stashBuffer,0,this._bufferSize)),ct.set(new Uint8Array(ve,Pt),0),this._stashUsed+=At,this._stashByteStart=_e+Pt}}}else if(this._stashUsed===0){var Bt=this._dispatchChunks(ve,_e);if(Bt<ve.byteLength){var Gt=ve.byteLength-Bt;Gt>this._bufferSize&&this._expandBuffer(Gt);var Rr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Rr.set(new Uint8Array(ve,Bt),0),this._stashUsed+=Gt,this._stashByteStart=_e+Bt}}else{this._stashUsed+ve.byteLength>this._bufferSize&&this._expandBuffer(this._stashUsed+ve.byteLength);var Pr=new Uint8Array(this._stashBuffer,0,this._bufferSize);Pr.set(new Uint8Array(ve),this._stashUsed),this._stashUsed+=ve.byteLength;var cn=this._dispatchChunks(this._stashBuffer.slice(0,this._stashUsed),this._stashByteStart);if(cn<this._stashUsed&&cn>0){var Ut=new Uint8Array(this._stashBuffer,cn);Pr.set(Ut,0)}this._stashUsed-=cn,this._stashByteStart+=cn}}},{key:"_flushStashBuffer",value:function(ve){if(this._stashUsed>0){var _e=this._stashBuffer.slice(0,this._stashUsed),ke=this._dispatchChunks(_e,this._stashByteStart),rt=_e.byteLength-ke;if(ke<_e.byteLength)if(ve)h.w(this.TAG,"".concat(rt," bytes unconsumed data remain when flush buffer, dropped"));else{if(ke>0){var Wt=new Uint8Array(this._stashBuffer,0,this._bufferSize),Bt=new Uint8Array(_e,ke);Wt.set(Bt,0),this._stashUsed=Bt.byteLength,this._stashByteStart+=ke}return 0}return this._stashUsed=0,this._stashByteStart=0,rt}return 0}},{key:"_onLoaderComplete",value:function(ve,_e){this._flushStashBuffer(!0),this._onComplete&&this._onComplete(this._extraData)}},{key:"_onLoaderError",value:function(ve,_e){h.e(this.TAG,"Loader error, code = ".concat(_e.code,", msg = ").concat(_e.msg)),this._flushStashBuffer(!1),this._isEarlyEofReconnecting&&(this._isEarlyEofReconnecting=!1,ve=u.UNRECOVERABLE_EARLY_EOF);switch(ve){case u.EARLY_EOF:{if(!this._config.isLive&&this._totalLength){var ke=this._currentRange.to+1;ke<this._totalLength&&(h.w(this.TAG,"Connection lost, trying reconnect..."),this._isEarlyEofReconnecting=!0,this._internalSeek(ke,!1));return}ve=u.UNRECOVERABLE_EARLY_EOF;break}case u.UNRECOVERABLE_EARLY_EOF:case u.CONNECTING_TIMEOUT:case u.HTTP_STATUS_CODE_INVALID:case u.EXCEPTION:break}if(this._onError)this._onError(ve,_e);else throw new n("IOException: "+_e.msg)}}]),$e}(),K=H,W={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 X(){return Object.assign({},W)}var V=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"supportMSEH264Playback",value:function(){return window.MediaSource&&window.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"')}},{key:"supportNetworkStreamIO",value:function(){var ve=new K({},X()),_e=ve.loaderType;return ve.destroy(),_e=="fetch-stream-loader"||_e=="xhr-moz-chunked-loader"}},{key:"getNetworkLoaderTypeName",value:function(){var ve=new K({},X()),_e=ve.loaderType;return ve.destroy(),_e}},{key:"supportNativeMediaPlayback",value:function(ve){$e.videoElement==null&&($e.videoElement=window.document.createElement("video"));var _e=$e.videoElement.canPlayType(ve);return _e==="probably"||_e=="maybe"}},{key:"getFeatureList",value:function(){var ve={mseFlvPlayback:!1,mseLiveFlvPlayback:!1,networkStreamIO:!1,networkLoaderName:"",nativeMP4H264Playback:!1,nativeWebmVP8Playback:!1,nativeWebmVP9Playback:!1};return ve.mseFlvPlayback=$e.supportMSEH264Playback(),ve.networkStreamIO=$e.supportNetworkStreamIO(),ve.networkLoaderName=$e.getNetworkLoaderTypeName(),ve.mseLiveFlvPlayback=ve.mseFlvPlayback&&ve.networkStreamIO,ve.nativeMP4H264Playback=$e.supportNativeMediaPlayback('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),ve.nativeWebmVP8Playback=$e.supportNativeMediaPlayback('video/webm; codecs="vp8.0, vorbis"'),ve.nativeWebmVP9Playback=$e.supportNativeMediaPlayback('video/webm; codecs="vp9"'),ve}}]),$e}(),Z=V,G={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"},Y=G,te=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"forceGlobalTag",get:function(){return h.FORCE_GLOBAL_TAG},set:function(ve){h.FORCE_GLOBAL_TAG=ve,$e._notifyChange()}},{key:"globalTag",get:function(){return h.GLOBAL_TAG},set:function(ve){h.GLOBAL_TAG=ve,$e._notifyChange()}},{key:"enableAll",get:function(){return h.ENABLE_VERBOSE&&h.ENABLE_DEBUG&&h.ENABLE_INFO&&h.ENABLE_WARN&&h.ENABLE_ERROR},set:function(ve){h.ENABLE_VERBOSE=ve,h.ENABLE_DEBUG=ve,h.ENABLE_INFO=ve,h.ENABLE_WARN=ve,h.ENABLE_ERROR=ve,$e._notifyChange()}},{key:"enableDebug",get:function(){return h.ENABLE_DEBUG},set:function(ve){h.ENABLE_DEBUG=ve,$e._notifyChange()}},{key:"enableVerbose",get:function(){return h.ENABLE_VERBOSE},set:function(ve){h.ENABLE_VERBOSE=ve,$e._notifyChange()}},{key:"enableInfo",get:function(){return h.ENABLE_INFO},set:function(ve){h.ENABLE_INFO=ve,$e._notifyChange()}},{key:"enableWarn",get:function(){return h.ENABLE_WARN},set:function(ve){h.ENABLE_WARN=ve,$e._notifyChange()}},{key:"enableError",get:function(){return h.ENABLE_ERROR},set:function(ve){h.ENABLE_ERROR=ve,$e._notifyChange()}},{key:"getConfig",value:function(){return{globalTag:h.GLOBAL_TAG,forceGlobalTag:h.FORCE_GLOBAL_TAG,enableVerbose:h.ENABLE_VERBOSE,enableDebug:h.ENABLE_DEBUG,enableInfo:h.ENABLE_INFO,enableWarn:h.ENABLE_WARN,enableError:h.ENABLE_ERROR,enableCallback:h.ENABLE_CALLBACK}}},{key:"applyConfig",value:function(ve){h.GLOBAL_TAG=ve.globalTag,h.FORCE_GLOBAL_TAG=ve.forceGlobalTag,h.ENABLE_VERBOSE=ve.enableVerbose,h.ENABLE_DEBUG=ve.enableDebug,h.ENABLE_INFO=ve.enableInfo,h.ENABLE_WARN=ve.enableWarn,h.ENABLE_ERROR=ve.enableError,h.ENABLE_CALLBACK=ve.enableCallback}},{key:"_notifyChange",value:function(){var ve=$e.emitter;if(ve.listenerCount("change")>0){var _e=$e.getConfig();ve.emit("change",_e)}}},{key:"registerListener",value:function(ve){$e.emitter.addListener("change",ve)}},{key:"removeListener",value:function(ve){$e.emitter.removeListener("change",ve)}},{key:"addLogListener",value:function(ve){h.emitter.addListener("log",ve),h.emitter.listenerCount("log")>0&&(h.ENABLE_CALLBACK=!0,$e._notifyChange())}},{key:"removeLogListener",value:function(ve){h.emitter.removeListener("log",ve),h.emitter.listenerCount("log")===0&&(h.ENABLE_CALLBACK=!1,$e._notifyChange())}}]),$e}();te.emitter=new t.a;var se=te,Ce=function(){function $e(){Object(O.a)(this,$e),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(_.a)($e,[{key:"isComplete",value:function(){var ve=this.hasAudio===!1||this.hasAudio===!0&&this.audioCodec!=null&&this.audioSampleRate!=null&&this.audioChannelCount!=null,_e=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&&ve&&_e}},{key:"isSeekable",value:function(){return this.hasKeyframesIndex===!0}},{key:"getNearestKeyframe",value:function(ve){if(this.keyframesIndex==null)return null;var _e=this.keyframesIndex,ke=this._search(_e.times,ve);return{index:ke,milliseconds:_e.times[ke],fileposition:_e.filepositions[ke]}}},{key:"_search",value:function(ve,_e){var ke=0,rt=ve.length-1,Wt=0,Bt=0,Gt=rt;for(_e<ve[0]&&(ke=0,Bt=Gt+1);Bt<=Gt;)if(Wt=Bt+Math.floor((Gt-Bt)/2),Wt===rt||_e>=ve[Wt]&&_e<ve[Wt+1]){ke=Wt;break}else ve[Wt]<_e?Bt=Wt+1:Gt=Wt-1;return ke}}]),$e}(),he=Ce;function xe($e,tt,ve){var _e=$e;if(tt+ve<_e.length){for(;ve--;)if((_e[++tt]&192)!==128)return!1;return!0}else return!1}function ie($e){for(var tt=[],ve=$e,_e=0,ke=$e.length;_e<ke;){if(ve[_e]<128){tt.push(String.fromCharCode(ve[_e])),++_e;continue}else if(!(ve[_e]<192)){if(ve[_e]<224){if(xe(ve,_e,1)){var rt=(ve[_e]&31)<<6|ve[_e+1]&63;if(rt>=128){tt.push(String.fromCharCode(rt&65535)),_e+=2;continue}}}else if(ve[_e]<240){if(xe(ve,_e,2)){var Wt=(ve[_e]&15)<<12|(ve[_e+1]&63)<<6|ve[_e+2]&63;if(Wt>=2048&&(Wt&63488)!==55296){tt.push(String.fromCharCode(Wt&65535)),_e+=3;continue}}}else if(ve[_e]<248&&xe(ve,_e,3)){var Bt=(ve[_e]&7)<<18|(ve[_e+1]&63)<<12|(ve[_e+2]&63)<<6|ve[_e+3]&63;if(Bt>65536&&Bt<1114112){Bt-=65536,tt.push(String.fromCharCode(Bt>>>10|55296)),tt.push(String.fromCharCode(Bt&1023|56320)),_e+=4;continue}}}tt.push(String.fromCharCode(65533)),++_e}return tt.join("")}var ee=ie,Ze=function(){var $e=new ArrayBuffer(2);return new DataView($e).setInt16(0,256,!0),new Int16Array($e)[0]===256}(),Se=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"parseScriptData",value:function(ve,_e,ke){var rt={};try{var Wt=$e.parseValue(ve,_e,ke),Bt=$e.parseValue(ve,_e+Wt.size,ke-Wt.size);rt[Wt.data]=Bt.data}catch(Gt){h.e("AMF",Gt.toString())}return rt}},{key:"parseObject",value:function(ve,_e,ke){if(ke<3)throw new c("Data not enough when parse ScriptDataObject");var rt=$e.parseString(ve,_e,ke),Wt=$e.parseValue(ve,_e+rt.size,ke-rt.size),Bt=Wt.objectEnd;return{data:{name:rt.data,value:Wt.data},size:rt.size+Wt.size,objectEnd:Bt}}},{key:"parseVariable",value:function(ve,_e,ke){return $e.parseObject(ve,_e,ke)}},{key:"parseString",value:function(ve,_e,ke){if(ke<2)throw new c("Data not enough when parse String");var rt=new DataView(ve,_e,ke),Wt=rt.getUint16(0,!Ze),Bt;return Wt>0?Bt=ee(new Uint8Array(ve,_e+2,Wt)):Bt="",{data:Bt,size:2+Wt}}},{key:"parseLongString",value:function(ve,_e,ke){if(ke<4)throw new c("Data not enough when parse LongString");var rt=new DataView(ve,_e,ke),Wt=rt.getUint32(0,!Ze),Bt;return Wt>0?Bt=ee(new Uint8Array(ve,_e+4,Wt)):Bt="",{data:Bt,size:4+Wt}}},{key:"parseDate",value:function(ve,_e,ke){if(ke<10)throw new c("Data size invalid when parse Date");var rt=new DataView(ve,_e,ke),Wt=rt.getFloat64(0,!Ze),Bt=rt.getInt16(8,!Ze);return Wt+=Bt*60*1e3,{data:new Date(Wt),size:8+2}}},{key:"parseValue",value:function(ve,_e,ke){if(ke<1)throw new c("Data not enough when parse Value");var rt=new DataView(ve,_e,ke),Wt=1,Bt=rt.getUint8(0),Gt,Rr=!1;try{switch(Bt){case 0:Gt=rt.getFloat64(1,!Ze),Wt+=8;break;case 1:{var Pr=rt.getUint8(1);Gt=!!Pr,Wt+=1;break}case 2:{var cn=$e.parseString(ve,_e+1,ke-1);Gt=cn.data,Wt+=cn.size;break}case 3:{Gt={};var Ut=0;for((rt.getUint32(ke-4,!Ze)&16777215)===9&&(Ut=3);Wt<ke-4;){var pt=$e.parseObject(ve,_e+Wt,ke-Wt-Ut);if(pt.objectEnd)break;Gt[pt.data.name]=pt.data.value,Wt+=pt.size}if(Wt<=ke-3){var ct=rt.getUint32(Wt-1,!Ze)&16777215;ct===9&&(Wt+=3)}break}case 8:{Gt={},Wt+=4;var Qt=0;for((rt.getUint32(ke-4,!Ze)&16777215)===9&&(Qt=3);Wt<ke-8;){var Jt=$e.parseVariable(ve,_e+Wt,ke-Wt-Qt);if(Jt.objectEnd)break;Gt[Jt.data.name]=Jt.data.value,Wt+=Jt.size}if(Wt<=ke-3){var yt=rt.getUint32(Wt-1,!Ze)&16777215;yt===9&&(Wt+=3)}break}case 9:Gt=void 0,Wt=1,Rr=!0;break;case 10:{Gt=[];var Pt=rt.getUint32(1,!Ze);Wt+=4;for(var At=0;At<Pt;At++){var Ft=$e.parseValue(ve,_e+Wt,ke-Wt);Gt.push(Ft.data),Wt+=Ft.size}break}case 11:{var pr=$e.parseDate(ve,_e+1,ke-1);Gt=pr.data,Wt+=pr.size;break}case 12:{var or=$e.parseString(ve,_e+1,ke-1);Gt=or.data,Wt+=or.size;break}default:Wt=ke,h.w("AMF","Unsupported AMF value type "+Bt)}}catch(ir){h.e("AMF",ir.toString())}return{data:Gt,size:Wt,objectEnd:Rr}}}]),$e}(),Ne=Se,it=function(){function $e(tt){Object(O.a)(this,$e),this.TAG="ExpGolomb",this._buffer=tt,this._buffer_index=0,this._total_bytes=tt.byteLength,this._total_bits=tt.byteLength*8,this._current_word=0,this._current_word_bits_left=0}return Object(_.a)($e,[{key:"destroy",value:function(){this._buffer=null}},{key:"_fillCurrentWord",value:function(){var ve=this._total_bytes-this._buffer_index;if(ve<=0)throw new c("ExpGolomb: _fillCurrentWord() but no bytes available");var _e=Math.min(4,ve),ke=new Uint8Array(4);ke.set(this._buffer.subarray(this._buffer_index,this._buffer_index+_e)),this._current_word=new DataView(ke.buffer).getUint32(0,!1),this._buffer_index+=_e,this._current_word_bits_left=_e*8}},{key:"readBits",value:function(ve){if(ve>32)throw new e("ExpGolomb: readBits() bits exceeded max 32bits!");if(ve<=this._current_word_bits_left){var _e=this._current_word>>>32-ve;return this._current_word<<=ve,this._current_word_bits_left-=ve,_e}var ke=this._current_word_bits_left?this._current_word:0;ke=ke>>>32-this._current_word_bits_left;var rt=ve-this._current_word_bits_left;this._fillCurrentWord();var Wt=Math.min(rt,this._current_word_bits_left),Bt=this._current_word>>>32-Wt;return this._current_word<<=Wt,this._current_word_bits_left-=Wt,ke=ke<<Wt|Bt,ke}},{key:"readBool",value:function(){return this.readBits(1)===1}},{key:"readByte",value:function(){return this.readBits(8)}},{key:"_skipLeadingZero",value:function(){var ve;for(ve=0;ve<this._current_word_bits_left;ve++)if((this._current_word&2147483648>>>ve)!==0)return this._current_word<<=ve,this._current_word_bits_left-=ve,ve;return this._fillCurrentWord(),ve+this._skipLeadingZero()}},{key:"readUEG",value:function(){var ve=this._skipLeadingZero();return this.readBits(ve+1)-1}},{key:"readSEG",value:function(){var ve=this.readUEG();return ve&1?ve+1>>>1:-1*(ve>>>1)}}]),$e}(),Ye=it,nt=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"_ebsp2rbsp",value:function(ve){for(var _e=ve,ke=_e.byteLength,rt=new Uint8Array(ke),Wt=0,Bt=0;Bt<ke;Bt++){if(Bt>=2&&(_e[Bt]===3&&_e[Bt-1]===0&&_e[Bt-2]===0))continue;rt[Wt]=_e[Bt],Wt++}return new Uint8Array(rt.buffer,0,Wt)}},{key:"parseSPS",value:function(ve){var _e=$e._ebsp2rbsp(ve),ke=new Ye(_e);ke.readByte();var rt=ke.readByte();ke.readByte();var Wt=ke.readByte();ke.readUEG();var Bt=$e.getProfileString(rt),Gt=$e.getLevelString(Wt),Rr=1,Pr=420,cn=[0,420,422,444],Ut=8;if((rt===100||rt===110||rt===122||rt===244||rt===44||rt===83||rt===86||rt===118||rt===128||rt===138||rt===144)&&(Rr=ke.readUEG(),Rr===3&&ke.readBits(1),Rr<=3&&(Pr=cn[Rr]),Ut=ke.readUEG()+8,ke.readUEG(),ke.readBits(1),ke.readBool()))for(var pt=Rr!==3?8:12,ct=0;ct<pt;ct++)ke.readBool()&&(ct<6?$e._skipScalingList(ke,16):$e._skipScalingList(ke,64));ke.readUEG();var Qt=ke.readUEG();if(Qt===0)ke.readUEG();else if(Qt===1){ke.readBits(1),ke.readSEG(),ke.readSEG();for(var Jt=ke.readUEG(),yt=0;yt<Jt;yt++)ke.readSEG()}var Pt=ke.readUEG();ke.readBits(1);var At=ke.readUEG(),Ft=ke.readUEG(),pr=ke.readBits(1);pr===0&&ke.readBits(1),ke.readBits(1);var or=0,ir=0,Yr=0,Jr=0,_n=ke.readBool();_n&&(or=ke.readUEG(),ir=ke.readUEG(),Yr=ke.readUEG(),Jr=ke.readUEG());var Nn=1,zn=1,ei=0,vi=!0,Pi=0,Ge=0,we=ke.readBool();if(we){if(ke.readBool()){var Le=ke.readByte(),De=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],We=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Le>0&&Le<16?(Nn=De[Le-1],zn=We[Le-1]):Le===255&&(Nn=ke.readByte()<<8|ke.readByte(),zn=ke.readByte()<<8|ke.readByte())}if(ke.readBool()&&ke.readBool(),ke.readBool()&&(ke.readBits(4),ke.readBool()&&ke.readBits(24)),ke.readBool()&&(ke.readUEG(),ke.readUEG()),ke.readBool()){var Fe=ke.readBits(32),Je=ke.readBits(32);vi=ke.readBool(),Pi=Je,Ge=Fe*2,ei=Pi/Ge}}var vt=1;(Nn!==1||zn!==1)&&(vt=Nn/zn);var st=0,kt=0;if(Rr===0)st=1,kt=2-pr;else{var wr=Rr===3?1:2,hr=Rr===1?2:1;st=wr,kt=hr*(2-pr)}var Nr=(At+1)*16,Kt=(2-pr)*((Ft+1)*16);Nr-=(or+ir)*st,Kt-=(Yr+Jr)*kt;var un=Math.ceil(Nr*vt);return ke.destroy(),ke=null,{profile_string:Bt,level_string:Gt,bit_depth:Ut,ref_frames:Pt,chroma_format:Pr,chroma_format_string:$e.getChromaFormatString(Pr),frame_rate:{fixed:vi,fps:ei,fps_den:Ge,fps_num:Pi},sar_ratio:{width:Nn,height:zn},codec_size:{width:Nr,height:Kt},present_size:{width:un,height:Kt}}}},{key:"_skipScalingList",value:function(ve,_e){for(var ke=8,rt=8,Wt=0,Bt=0;Bt<_e;Bt++)rt!==0&&(Wt=ve.readSEG(),rt=(ke+Wt+256)%256),ke=rt===0?ke:rt}},{key:"getProfileString",value:function(ve){switch(ve){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(ve){return(ve/10).toFixed(1)}},{key:"getChromaFormatString",value:function(ve){switch(ve){case 420:return"4:2:0";case 422:return"4:2:2";case 444:return"4:4:4";default:return"Unknown"}}}]),$e}(),je=nt,et={OK:"OK",FORMAT_ERROR:"FormatError",FORMAT_UNSUPPORTED:"FormatUnsupported",CODEC_UNSUPPORTED:"CodecUnsupported"},He=et;function pe($e){return $e>>>8&255|($e&255)<<8}function ae($e){return($e&4278190080)>>>24|($e&16711680)>>>8|($e&65280)<<8|($e&255)<<24}function re($e,tt){return $e[tt]<<24|$e[tt+1]<<16|$e[tt+2]<<8|$e[tt+3]}var be=function(){function $e(tt,ve){Object(O.a)(this,$e),this.TAG="FLVDemuxer",this._config=ve,this._onError=null,this._onMediaInfo=null,this._onMetaDataArrived=null,this._onScriptDataArrived=null,this._onTrackMetadata=null,this._onDataAvailable=null,this._dataOffset=tt.dataOffset,this._firstParse=!0,this._dispatch=!1,this._hasAudio=tt.hasAudioTrack,this._hasVideo=tt.hasVideoTrack,this._hasAudioFlagOverrided=!1,this._hasVideoFlagOverrided=!1,this._audioInitialMetadataDispatched=!1,this._videoInitialMetadataDispatched=!1,this._mediaInfo=new he,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 _e=new ArrayBuffer(2);return new DataView(_e).setInt16(0,256,!0),new Int16Array(_e)[0]===256}()}return Object(_.a)($e,[{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(ve){return ve.onDataArrival=this.parseChunks.bind(this),this}},{key:"onTrackMetadata",get:function(){return this._onTrackMetadata},set:function(ve){this._onTrackMetadata=ve}},{key:"onMediaInfo",get:function(){return this._onMediaInfo},set:function(ve){this._onMediaInfo=ve}},{key:"onMetaDataArrived",get:function(){return this._onMetaDataArrived},set:function(ve){this._onMetaDataArrived=ve}},{key:"onScriptDataArrived",get:function(){return this._onScriptDataArrived},set:function(ve){this._onScriptDataArrived=ve}},{key:"onError",get:function(){return this._onError},set:function(ve){this._onError=ve}},{key:"onDataAvailable",get:function(){return this._onDataAvailable},set:function(ve){this._onDataAvailable=ve}},{key:"timestampBase",get:function(){return this._timestampBase},set:function(ve){this._timestampBase=ve}},{key:"overridedDuration",get:function(){return this._duration},set:function(ve){this._durationOverrided=!0,this._duration=ve,this._mediaInfo.duration=ve}},{key:"overridedHasAudio",set:function(ve){this._hasAudioFlagOverrided=!0,this._hasAudio=ve,this._mediaInfo.hasAudio=ve}},{key:"overridedHasVideo",set:function(ve){this._hasVideoFlagOverrided=!0,this._hasVideo=ve,this._mediaInfo.hasVideo=ve}},{key:"resetMediaInfo",value:function(){this._mediaInfo=new he}},{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(ve,_e){if(!this._onError||!this._onMediaInfo||!this._onTrackMetadata||!this._onDataAvailable)throw new c("Flv: onError & onMediaInfo & onTrackMetadata & onDataAvailable callback must be specified");var ke=0,rt=this._littleEndian;if(_e===0)if(ve.byteLength>13){var Wt=$e.probe(ve);ke=Wt.dataOffset}else return 0;if(this._firstParse){this._firstParse=!1,_e+ke!==this._dataOffset&&h.w(this.TAG,"First time parsing but chunk byteStart invalid!");var Bt=new DataView(ve,ke),Gt=Bt.getUint32(0,!rt);Gt!==0&&h.w(this.TAG,"PrevTagSize0 !== 0 !!!"),ke+=4}for(;ke<ve.byteLength;){this._dispatch=!0;var Rr=new DataView(ve,ke);if(ke+11+4>ve.byteLength)break;var Pr=Rr.getUint8(0),cn=Rr.getUint32(0,!rt)&16777215;if(ke+11+cn+4>ve.byteLength)break;if(Pr!==8&&Pr!==9&&Pr!==18){h.w(this.TAG,"Unsupported tag type ".concat(Pr,", skipped")),ke+=11+cn+4;continue}var Ut=Rr.getUint8(4),pt=Rr.getUint8(5),ct=Rr.getUint8(6),Qt=Rr.getUint8(7),Jt=ct|pt<<8|Ut<<16|Qt<<24,yt=Rr.getUint32(7,!rt)&16777215;yt!==0&&h.w(this.TAG,"Meet tag which has StreamID != 0!");var Pt=ke+11;switch(Pr){case 8:this._parseAudioData(ve,Pt,cn,Jt);break;case 9:this._parseVideoData(ve,Pt,cn,Jt,_e+ke);break;case 18:this._parseScriptData(ve,Pt,cn);break}var At=Rr.getUint32(11+cn,!rt);At!==11+cn&&h.w(this.TAG,"Invalid PrevTagSize ".concat(At)),ke+=11+cn+4}return this._isInitialMetadataDispatched()&&(this._dispatch&&(this._audioTrack.length||this._videoTrack.length)&&this._onDataAvailable(this._audioTrack,this._videoTrack)),ke}},{key:"_parseScriptData",value:function(ve,_e,ke){var rt=Ne.parseScriptData(ve,_e,ke);if(rt.hasOwnProperty("onMetaData")){if(rt.onMetaData==null||typeof rt.onMetaData!="object"){h.w(this.TAG,"Invalid onMetaData structure!");return}this._metadata&&h.w(this.TAG,"Found another onMetaData tag!"),this._metadata=rt;var Wt=this._metadata.onMetaData;if(this._onMetaDataArrived&&this._onMetaDataArrived(Object.assign({},Wt)),typeof Wt.hasAudio=="boolean"&&(this._hasAudioFlagOverrided===!1&&(this._hasAudio=Wt.hasAudio,this._mediaInfo.hasAudio=this._hasAudio)),typeof Wt.hasVideo=="boolean"&&(this._hasVideoFlagOverrided===!1&&(this._hasVideo=Wt.hasVideo,this._mediaInfo.hasVideo=this._hasVideo)),typeof Wt.audiodatarate=="number"&&(this._mediaInfo.audioDataRate=Wt.audiodatarate),typeof Wt.videodatarate=="number"&&(this._mediaInfo.videoDataRate=Wt.videodatarate),typeof Wt.width=="number"&&(this._mediaInfo.width=Wt.width),typeof Wt.height=="number"&&(this._mediaInfo.height=Wt.height),typeof Wt.duration=="number"){if(!this._durationOverrided){var Bt=Math.floor(Wt.duration*this._timescale);this._duration=Bt,this._mediaInfo.duration=Bt}}else this._mediaInfo.duration=0;if(typeof Wt.framerate=="number"){var Gt=Math.floor(Wt.framerate*1e3);if(Gt>0){var Rr=Gt/1e3;this._referenceFrameRate.fixed=!0,this._referenceFrameRate.fps=Rr,this._referenceFrameRate.fps_num=Gt,this._referenceFrameRate.fps_den=1e3,this._mediaInfo.fps=Rr}}if(typeof Wt.keyframes=="object"){this._mediaInfo.hasKeyframesIndex=!0;var Pr=Wt.keyframes;this._mediaInfo.keyframesIndex=this._parseKeyframesIndex(Pr),Wt.keyframes=null}else this._mediaInfo.hasKeyframesIndex=!1;this._dispatch=!1,this._mediaInfo.metadata=Wt,h.v(this.TAG,"Parsed onMetaData"),this._mediaInfo.isComplete()&&this._onMediaInfo(this._mediaInfo)}Object.keys(rt).length>0&&(this._onScriptDataArrived&&this._onScriptDataArrived(Object.assign({},rt)))}},{key:"_parseKeyframesIndex",value:function(ve){for(var _e=[],ke=[],rt=1;rt<ve.times.length;rt++){var Wt=this._timestampBase+Math.floor(ve.times[rt]*1e3);_e.push(Wt),ke.push(ve.filepositions[rt])}return{times:_e,filepositions:ke}}},{key:"_parseAudioData",value:function(ve,_e,ke,rt){if(ke<=1){h.w(this.TAG,"Flv: Invalid audio packet, missing SoundData payload!");return}if(this._hasAudioFlagOverrided===!0&&this._hasAudio===!1)return;var Wt=this._littleEndian,Bt=new DataView(ve,_e,ke),Gt=Bt.getUint8(0),Rr=Gt>>>4;if(Rr!==2&&Rr!==10){this._onError(He.CODEC_UNSUPPORTED,"Flv: Unsupported audio codec idx: "+Rr);return}var Pr=0,cn=(Gt&12)>>>2;if(cn>=0&&cn<=4)Pr=this._flvSoundRateTable[cn];else{this._onError(He.FORMAT_ERROR,"Flv: Invalid audio sample rate idx: "+cn);return}var Ut=(Gt&2)>>>1,pt=Gt&1,ct=this._audioMetadata,Qt=this._audioTrack;if(ct||(this._hasAudio===!1&&this._hasAudioFlagOverrided===!1&&(this._hasAudio=!0,this._mediaInfo.hasAudio=!0),ct=this._audioMetadata={},ct.type="audio",ct.id=Qt.id,ct.timescale=this._timescale,ct.duration=this._duration,ct.audioSampleRate=Pr,ct.channelCount=pt===0?1:2),Rr===10){var Jt=this._parseAACAudioData(ve,_e+1,ke-1);if(Jt==null)return;if(Jt.packetType===0){ct.config&&h.w(this.TAG,"Found another AudioSpecificConfig!");var yt=Jt.data;ct.audioSampleRate=yt.samplingRate,ct.channelCount=yt.channelCount,ct.codec=yt.codec,ct.originalCodec=yt.originalCodec,ct.config=yt.config,ct.refSampleDuration=1024/ct.audioSampleRate*ct.timescale,h.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",ct);var Pt=this._mediaInfo;Pt.audioCodec=ct.originalCodec,Pt.audioSampleRate=ct.audioSampleRate,Pt.audioChannelCount=ct.channelCount,Pt.hasVideo?Pt.videoCodec!=null&&(Pt.mimeType='video/x-flv; codecs="'+Pt.videoCodec+","+Pt.audioCodec+'"'):Pt.mimeType='video/x-flv; codecs="'+Pt.audioCodec+'"',Pt.isComplete()&&this._onMediaInfo(Pt)}else if(Jt.packetType===1){var At=this._timestampBase+rt,Ft={unit:Jt.data,length:Jt.data.byteLength,dts:At,pts:At};Qt.samples.push(Ft),Qt.length+=Jt.data.length}else h.e(this.TAG,"Flv: Unsupported AAC data type ".concat(Jt.packetType))}else if(Rr===2){if(!ct.codec){var pr=this._parseMP3AudioData(ve,_e+1,ke-1,!0);if(pr==null)return;ct.audioSampleRate=pr.samplingRate,ct.channelCount=pr.channelCount,ct.codec=pr.codec,ct.originalCodec=pr.originalCodec,ct.refSampleDuration=1152/ct.audioSampleRate*ct.timescale,h.v(this.TAG,"Parsed MPEG Audio Frame Header"),this._audioInitialMetadataDispatched=!0,this._onTrackMetadata("audio",ct);var or=this._mediaInfo;or.audioCodec=ct.codec,or.audioSampleRate=ct.audioSampleRate,or.audioChannelCount=ct.channelCount,or.audioDataRate=pr.bitRate,or.hasVideo?or.videoCodec!=null&&(or.mimeType='video/x-flv; codecs="'+or.videoCodec+","+or.audioCodec+'"'):or.mimeType='video/x-flv; codecs="'+or.audioCodec+'"',or.isComplete()&&this._onMediaInfo(or)}var ir=this._parseMP3AudioData(ve,_e+1,ke-1,!1);if(ir==null)return;var Yr=this._timestampBase+rt,Jr={unit:ir,length:ir.byteLength,dts:Yr,pts:Yr};Qt.samples.push(Jr),Qt.length+=ir.length}}},{key:"_parseAACAudioData",value:function(ve,_e,ke){if(ke<=1){h.w(this.TAG,"Flv: Invalid AAC packet, missing AACPacketType or/and Data!");return}var rt={},Wt=new Uint8Array(ve,_e,ke);return rt.packetType=Wt[0],Wt[0]===0?rt.data=this._parseAACAudioSpecificConfig(ve,_e+1,ke-1):rt.data=Wt.subarray(1),rt}},{key:"_parseAACAudioSpecificConfig",value:function(ve,_e,ke){var rt=new Uint8Array(ve,_e,ke),Wt=null,Bt=0,Gt=0,Rr=null,Pr=0,cn=null;if(Bt=Gt=rt[0]>>>3,Pr=(rt[0]&7)<<1|rt[1]>>>7,Pr<0||Pr>=this._mpegSamplingRates.length){this._onError(He.FORMAT_ERROR,"Flv: AAC invalid sampling frequency index!");return}var Ut=this._mpegSamplingRates[Pr],pt=(rt[1]&120)>>>3;if(pt<0||pt>=8){this._onError(He.FORMAT_ERROR,"Flv: AAC invalid channel configuration");return}Bt===5&&(cn=(rt[1]&7)<<1|rt[2]>>>7,Rr=(rt[2]&124)>>>2);var ct=self.navigator.userAgent.toLowerCase();return ct.indexOf("firefox")!==-1?Pr>=6?(Bt=5,Wt=new Array(4),cn=Pr-3):(Bt=2,Wt=new Array(2),cn=Pr):ct.indexOf("android")!==-1?(Bt=2,Wt=new Array(2),cn=Pr):(Bt=5,cn=Pr,Wt=new Array(4),Pr>=6?cn=Pr-3:pt===1&&(Bt=2,Wt=new Array(2),cn=Pr)),Wt[0]=Bt<<3,Wt[0]|=(Pr&15)>>>1,Wt[1]=(Pr&15)<<7,Wt[1]|=(pt&15)<<3,Bt===5&&(Wt[1]|=(cn&15)>>>1,Wt[2]=(cn&1)<<7,Wt[2]|=2<<2,Wt[3]=0),{config:Wt,samplingRate:Ut,channelCount:pt,codec:"mp4a.40."+Bt,originalCodec:"mp4a.40."+Gt}}},{key:"_parseMP3AudioData",value:function(ve,_e,ke,rt){if(ke<4){h.w(this.TAG,"Flv: Invalid MP3 packet, header missing!");return}var Wt=this._littleEndian,Bt=new Uint8Array(ve,_e,ke),Gt=null;if(rt){if(Bt[0]!==255)return;var Rr=Bt[1]>>>3&3,Pr=(Bt[1]&6)>>1,cn=(Bt[2]&240)>>>4,Ut=(Bt[2]&12)>>>2,pt=Bt[3]>>>6&3,ct=pt!==3?2:1,Qt=0,Jt=0,yt=34,Pt="mp3";switch(Rr){case 0:Qt=this._mpegAudioV25SampleRateTable[Ut];break;case 2:Qt=this._mpegAudioV20SampleRateTable[Ut];break;case 3:Qt=this._mpegAudioV10SampleRateTable[Ut];break}switch(Pr){case 1:yt=34,cn<this._mpegAudioL3BitRateTable.length&&(Jt=this._mpegAudioL3BitRateTable[cn]);break;case 2:yt=33,cn<this._mpegAudioL2BitRateTable.length&&(Jt=this._mpegAudioL2BitRateTable[cn]);break;case 3:yt=32,cn<this._mpegAudioL1BitRateTable.length&&(Jt=this._mpegAudioL1BitRateTable[cn]);break}Gt={bitRate:Jt,samplingRate:Qt,channelCount:ct,codec:Pt,originalCodec:Pt}}else Gt=Bt;return Gt}},{key:"_parseVideoData",value:function(ve,_e,ke,rt,Wt){if(ke<=1){h.w(this.TAG,"Flv: Invalid video packet, missing VideoData payload!");return}if(this._hasVideoFlagOverrided===!0&&this._hasVideo===!1)return;var Bt=new Uint8Array(ve,_e,ke)[0],Gt=(Bt&240)>>>4,Rr=Bt&15;if(Rr!==7){this._onError(He.CODEC_UNSUPPORTED,"Flv: Unsupported codec in video frame: ".concat(Rr));return}this._parseAVCVideoPacket(ve,_e+1,ke-1,rt,Wt,Gt)}},{key:"_parseAVCVideoPacket",value:function(ve,_e,ke,rt,Wt,Bt){if(ke<4){h.w(this.TAG,"Flv: Invalid AVC packet, missing AVCPacketType or/and CompositionTime");return}var Gt=this._littleEndian,Rr=new DataView(ve,_e,ke),Pr=Rr.getUint8(0),cn=Rr.getUint32(0,!Gt)&16777215,Ut=cn<<8>>8;if(Pr===0)this._parseAVCDecoderConfigurationRecord(ve,_e+4,ke-4);else if(Pr===1)this._parseAVCVideoData(ve,_e+4,ke-4,rt,Wt,Bt,Ut);else if(!(Pr===2)){this._onError(He.FORMAT_ERROR,"Flv: Invalid video packet type ".concat(Pr));return}}},{key:"_parseAVCDecoderConfigurationRecord",value:function(ve,_e,ke){if(ke<7){h.w(this.TAG,"Flv: Invalid AVCDecoderConfigurationRecord, lack of data!");return}var rt=this._videoMetadata,Wt=this._videoTrack,Bt=this._littleEndian,Gt=new DataView(ve,_e,ke);rt?typeof rt.avcc!="undefined"&&h.w(this.TAG,"Found another AVCDecoderConfigurationRecord!"):(this._hasVideo===!1&&this._hasVideoFlagOverrided===!1&&(this._hasVideo=!0,this._mediaInfo.hasVideo=!0),rt=this._videoMetadata={},rt.type="video",rt.id=Wt.id,rt.timescale=this._timescale,rt.duration=this._duration);var Rr=Gt.getUint8(0),Pr=Gt.getUint8(1),cn=Gt.getUint8(2),Ut=Gt.getUint8(3);if(Rr!==1||Pr===0){this._onError(He.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord");return}if(this._naluLengthSize=(Gt.getUint8(4)&3)+1,this._naluLengthSize!==3&&this._naluLengthSize!==4){this._onError(He.FORMAT_ERROR,"Flv: Strange NaluLengthSizeMinusOne: ".concat(this._naluLengthSize-1));return}var pt=Gt.getUint8(5)&31;if(pt===0){this._onError(He.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No SPS");return}else pt>1&&h.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: SPS Count = ".concat(pt));for(var ct=6,Qt=0;Qt<pt;Qt++){var Jt=Gt.getUint16(ct,!Bt);if(ct+=2,Jt===0)continue;var yt=new Uint8Array(ve,_e+ct,Jt);ct+=Jt;var Pt=je.parseSPS(yt);if(Qt!==0)continue;rt.codecWidth=Pt.codec_size.width,rt.codecHeight=Pt.codec_size.height,rt.presentWidth=Pt.present_size.width,rt.presentHeight=Pt.present_size.height,rt.profile=Pt.profile_string,rt.level=Pt.level_string,rt.bitDepth=Pt.bit_depth,rt.chromaFormat=Pt.chroma_format,rt.sarRatio=Pt.sar_ratio,rt.frameRate=Pt.frame_rate,(Pt.frame_rate.fixed===!1||Pt.frame_rate.fps_num===0||Pt.frame_rate.fps_den===0)&&(rt.frameRate=this._referenceFrameRate);var At=rt.frameRate.fps_den,Ft=rt.frameRate.fps_num;rt.refSampleDuration=rt.timescale*(At/Ft);for(var pr=yt.subarray(1,4),or="avc1.",ir=0;ir<3;ir++){var Yr=pr[ir].toString(16);Yr.length<2&&(Yr="0"+Yr),or+=Yr}rt.codec=or;var Jr=this._mediaInfo;Jr.width=rt.codecWidth,Jr.height=rt.codecHeight,Jr.fps=rt.frameRate.fps,Jr.profile=rt.profile,Jr.level=rt.level,Jr.refFrames=Pt.ref_frames,Jr.chromaFormat=Pt.chroma_format_string,Jr.sarNum=rt.sarRatio.width,Jr.sarDen=rt.sarRatio.height,Jr.videoCodec=or,Jr.hasAudio?Jr.audioCodec!=null&&(Jr.mimeType='video/x-flv; codecs="'+Jr.videoCodec+","+Jr.audioCodec+'"'):Jr.mimeType='video/x-flv; codecs="'+Jr.videoCodec+'"',Jr.isComplete()&&this._onMediaInfo(Jr)}var _n=Gt.getUint8(ct);if(_n===0){this._onError(He.FORMAT_ERROR,"Flv: Invalid AVCDecoderConfigurationRecord: No PPS");return}else _n>1&&h.w(this.TAG,"Flv: Strange AVCDecoderConfigurationRecord: PPS Count = ".concat(_n));ct++;for(var Nn=0;Nn<_n;Nn++){var zn=Gt.getUint16(ct,!Bt);if(ct+=2,zn===0)continue;ct+=zn}rt.avcc=new Uint8Array(ke),rt.avcc.set(new Uint8Array(ve,_e,ke),0),h.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",rt)}},{key:"_parseAVCVideoData",value:function(ve,_e,ke,rt,Wt,Bt,Gt){for(var Rr=this._littleEndian,Pr=new DataView(ve,_e,ke),cn=[],Ut=0,pt=0,ct=this._naluLengthSize,Qt=this._timestampBase+rt,Jt=Bt===1;pt<ke;){if(pt+4>=ke){h.w(this.TAG,"Malformed Nalu near timestamp ".concat(Qt,", offset = ").concat(pt,", dataSize = ").concat(ke));break}var yt=Pr.getUint32(pt,!Rr);if(ct===3&&(yt>>>=8),yt>ke-ct){h.w(this.TAG,"Malformed Nalus near timestamp ".concat(Qt,", NaluSize > DataSize!"));return}var Pt=Pr.getUint8(pt+ct)&31;Pt===5&&(Jt=!0);var At=new Uint8Array(ve,_e+pt,ct+yt),Ft={type:Pt,data:At};cn.push(Ft),Ut+=At.byteLength,pt+=ct+yt}if(cn.length){var pr=this._videoTrack,or={units:cn,length:Ut,isKeyframe:Jt,dts:Qt,cts:Gt,pts:Qt+Gt};Jt&&(or.fileposition=Wt),pr.samples.push(or),pr.length+=Ut}}}],[{key:"probe",value:function(ve){var _e=new Uint8Array(ve),ke={match:!1};if(_e[0]!==70||_e[1]!==76||_e[2]!==86||_e[3]!==1)return ke;var rt=(_e[4]&4)>>>2!==0,Wt=(_e[4]&1)!==0,Bt=re(_e,5);return Bt<9?ke:{match:!0,consumed:Bt,dataOffset:Bt,hasAudioTrack:rt,hasVideoTrack:Wt}}}]),$e}(),ze=be,Ke=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"init",value:function(){$e.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 ve in $e.types)$e.types.hasOwnProperty(ve)&&($e.types[ve]=[ve.charCodeAt(0),ve.charCodeAt(1),ve.charCodeAt(2),ve.charCodeAt(3)]);var _e=$e.constants={};_e.FTYP=new Uint8Array([105,115,111,109,0,0,0,1,105,115,111,109,97,118,99,49]),_e.STSD_PREFIX=new Uint8Array([0,0,0,0,0,0,0,1]),_e.STTS=new Uint8Array([0,0,0,0,0,0,0,0]),_e.STSC=_e.STCO=_e.STTS,_e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),_e.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]),_e.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]),_e.DREF=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),_e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),_e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}},{key:"box",value:function(ve){for(var _e=8,ke=null,rt=Array.prototype.slice.call(arguments,1),Wt=rt.length,Bt=0;Bt<Wt;Bt++)_e+=rt[Bt].byteLength;ke=new Uint8Array(_e),ke[0]=_e>>>24&255,ke[1]=_e>>>16&255,ke[2]=_e>>>8&255,ke[3]=_e&255,ke.set(ve,4);for(var Gt=8,Rr=0;Rr<Wt;Rr++)ke.set(rt[Rr],Gt),Gt+=rt[Rr].byteLength;return ke}},{key:"generateInitSegment",value:function(ve){var _e=$e.box($e.types.ftyp,$e.constants.FTYP),ke=$e.moov(ve),rt=new Uint8Array(_e.byteLength+ke.byteLength);return rt.set(_e,0),rt.set(ke,_e.byteLength),rt}},{key:"moov",value:function(ve){var _e=$e.mvhd(ve.timescale,ve.duration),ke=$e.trak(ve),rt=$e.mvex(ve);return $e.box($e.types.moov,_e,ke,rt)}},{key:"mvhd",value:function(ve,_e){return $e.box($e.types.mvhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&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(ve){return $e.box($e.types.trak,$e.tkhd(ve),$e.mdia(ve))}},{key:"tkhd",value:function(ve){var _e=ve.id,ke=ve.duration,rt=ve.presentWidth,Wt=ve.presentHeight;return $e.box($e.types.tkhd,new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255,0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&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,rt>>>8&255,rt&255,0,0,Wt>>>8&255,Wt&255,0,0]))}},{key:"mdia",value:function(ve){return $e.box($e.types.mdia,$e.mdhd(ve),$e.hdlr(ve),$e.minf(ve))}},{key:"mdhd",value:function(ve){var _e=ve.timescale,ke=ve.duration;return $e.box($e.types.mdhd,new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255,85,196,0,0]))}},{key:"hdlr",value:function(ve){var _e=null;return ve.type==="audio"?_e=$e.constants.HDLR_AUDIO:_e=$e.constants.HDLR_VIDEO,$e.box($e.types.hdlr,_e)}},{key:"minf",value:function(ve){var _e=null;return ve.type==="audio"?_e=$e.box($e.types.smhd,$e.constants.SMHD):_e=$e.box($e.types.vmhd,$e.constants.VMHD),$e.box($e.types.minf,_e,$e.dinf(),$e.stbl(ve))}},{key:"dinf",value:function(){var ve=$e.box($e.types.dinf,$e.box($e.types.dref,$e.constants.DREF));return ve}},{key:"stbl",value:function(ve){var _e=$e.box($e.types.stbl,$e.stsd(ve),$e.box($e.types.stts,$e.constants.STTS),$e.box($e.types.stsc,$e.constants.STSC),$e.box($e.types.stsz,$e.constants.STSZ),$e.box($e.types.stco,$e.constants.STCO));return _e}},{key:"stsd",value:function(ve){return ve.type==="audio"?ve.codec==="mp3"?$e.box($e.types.stsd,$e.constants.STSD_PREFIX,$e.mp3(ve)):$e.box($e.types.stsd,$e.constants.STSD_PREFIX,$e.mp4a(ve)):$e.box($e.types.stsd,$e.constants.STSD_PREFIX,$e.avc1(ve))}},{key:"mp3",value:function(ve){var _e=ve.channelCount,ke=ve.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,_e,0,16,0,0,0,0,ke>>>8&255,ke&255,0,0]);return $e.box($e.types[".mp3"],rt)}},{key:"mp4a",value:function(ve){var _e=ve.channelCount,ke=ve.audioSampleRate,rt=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,_e,0,16,0,0,0,0,ke>>>8&255,ke&255,0,0]);return $e.box($e.types.mp4a,rt,$e.esds(ve))}},{key:"esds",value:function(ve){var _e=ve.config||[],ke=_e.length,rt=new Uint8Array([0,0,0,0,3,23+ke,0,1,0,4,15+ke,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([ke]).concat(_e).concat([6,1,2]));return $e.box($e.types.esds,rt)}},{key:"avc1",value:function(ve){var _e=ve.avcc,ke=ve.codecWidth,rt=ve.codecHeight,Wt=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,ke>>>8&255,ke&255,rt>>>8&255,rt&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 $e.box($e.types.avc1,Wt,$e.box($e.types.avcC,_e))}},{key:"mvex",value:function(ve){return $e.box($e.types.mvex,$e.trex(ve))}},{key:"trex",value:function(ve){var _e=ve.id,ke=new Uint8Array([0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return $e.box($e.types.trex,ke)}},{key:"moof",value:function(ve,_e){return $e.box($e.types.moof,$e.mfhd(ve.sequenceNumber),$e.traf(ve,_e))}},{key:"mfhd",value:function(ve){var _e=new Uint8Array([0,0,0,0,ve>>>24&255,ve>>>16&255,ve>>>8&255,ve&255]);return $e.box($e.types.mfhd,_e)}},{key:"traf",value:function(ve,_e){var ke=ve.id,rt=$e.box($e.types.tfhd,new Uint8Array([0,0,0,0,ke>>>24&255,ke>>>16&255,ke>>>8&255,ke&255])),Wt=$e.box($e.types.tfdt,new Uint8Array([0,0,0,0,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255])),Bt=$e.sdtp(ve),Gt=$e.trun(ve,Bt.byteLength+16+16+8+16+8+8);return $e.box($e.types.traf,rt,Wt,Gt,Bt)}},{key:"sdtp",value:function(ve){for(var _e=ve.samples||[],ke=_e.length,rt=new Uint8Array(4+ke),Wt=0;Wt<ke;Wt++){var Bt=_e[Wt].flags;rt[Wt+4]=Bt.isLeading<<6|Bt.dependsOn<<4|Bt.isDependedOn<<2|Bt.hasRedundancy}return $e.box($e.types.sdtp,rt)}},{key:"trun",value:function(ve,_e){var ke=ve.samples||[],rt=ke.length,Wt=12+16*rt,Bt=new Uint8Array(Wt);_e+=8+Wt,Bt.set([0,0,15,1,rt>>>24&255,rt>>>16&255,rt>>>8&255,rt&255,_e>>>24&255,_e>>>16&255,_e>>>8&255,_e&255],0);for(var Gt=0;Gt<rt;Gt++){var Rr=ke[Gt].duration,Pr=ke[Gt].size,cn=ke[Gt].flags,Ut=ke[Gt].cts;Bt.set([Rr>>>24&255,Rr>>>16&255,Rr>>>8&255,Rr&255,Pr>>>24&255,Pr>>>16&255,Pr>>>8&255,Pr&255,cn.isLeading<<2|cn.dependsOn,cn.isDependedOn<<6|cn.hasRedundancy<<4|cn.isNonSync,0,0,Ut>>>24&255,Ut>>>16&255,Ut>>>8&255,Ut&255],12+16*Gt)}return $e.box($e.types.trun,Bt)}},{key:"mdat",value:function(ve){return $e.box($e.types.mdat,ve)}}]),$e}();Ke.init();var Te=Ke,gt=function(){function $e(){Object(O.a)(this,$e)}return Object(_.a)($e,null,[{key:"getSilentFrame",value:function(ve,_e){if(ve==="mp4a.40.2"){if(_e===1)return new Uint8Array([0,200,0,128,35,128]);if(_e===2)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(_e===3)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(_e===4)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(_e===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(_e===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(_e===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(_e===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(_e===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}}]),$e}(),Ue=gt,bt=Object(_.a)(function $e(tt,ve,_e,ke,rt){Object(O.a)(this,$e),this.dts=tt,this.pts=ve,this.duration=_e,this.originalDts=ke,this.isSyncPoint=rt,this.fileposition=null}),wt=function(){function $e(){Object(O.a)(this,$e),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(_.a)($e,[{key:"appendSyncPoint",value:function(ve){ve.isSyncPoint=!0,this.syncPoints.push(ve)}}]),$e}(),Et=function(){function $e(){Object(O.a)(this,$e),this._list=[]}return Object(_.a)($e,[{key:"clear",value:function(){this._list=[]}},{key:"appendArray",value:function(ve){var _e=this._list;if(ve.length===0)return;_e.length>0&&ve[0].originalDts<_e[_e.length-1].originalDts&&this.clear(),Array.prototype.push.apply(_e,ve)}},{key:"getLastSyncPointBeforeDts",value:function(ve){if(this._list.length==0)return null;var _e=this._list,ke=0,rt=_e.length-1,Wt=0,Bt=0,Gt=rt;for(ve<_e[0].dts&&(ke=0,Bt=Gt+1);Bt<=Gt;)if(Wt=Bt+Math.floor((Gt-Bt)/2),Wt===rt||ve>=_e[Wt].dts&&ve<_e[Wt+1].dts){ke=Wt;break}else _e[Wt].dts<ve?Bt=Wt+1:Gt=Wt-1;return this._list[ke]}}]),$e}(),xt=function(){function $e(tt){Object(O.a)(this,$e),this._type=tt,this._list=[],this._lastAppendLocation=-1}return Object(_.a)($e,[{key:"type",get:function(){return this._type}},{key:"length",get:function(){return this._list.length}},{key:"isEmpty",value:function(){return this._list.length===0}},{key:"clear",value:function(){this._list=[],this._lastAppendLocation=-1}},{key:"_searchNearestSegmentBefore",value:function(ve){var _e=this._list;if(_e.length===0)return-2;var ke=_e.length-1,rt=0,Wt=0,Bt=ke,Gt=0;if(ve<_e[0].originalBeginDts)return Gt=-1,Gt;for(;Wt<=Bt;)if(rt=Wt+Math.floor((Bt-Wt)/2),rt===ke||ve>_e[rt].lastSample.originalDts&&ve<_e[rt+1].originalBeginDts){Gt=rt;break}else _e[rt].originalBeginDts<ve?Wt=rt+1:Bt=rt-1;return Gt}},{key:"_searchNearestSegmentAfter",value:function(ve){return this._searchNearestSegmentBefore(ve)+1}},{key:"append",value:function(ve){var _e=this._list,ke=ve,rt=this._lastAppendLocation,Wt=0;rt!==-1&&rt<_e.length&&ke.originalBeginDts>=_e[rt].lastSample.originalDts&&(rt===_e.length-1||rt<_e.length-1&&ke.originalBeginDts<_e[rt+1].originalBeginDts)?Wt=rt+1:_e.length>0&&(Wt=this._searchNearestSegmentBefore(ke.originalBeginDts)+1),this._lastAppendLocation=Wt,this._list.splice(Wt,0,ke)}},{key:"getLastSegmentBefore",value:function(ve){var _e=this._searchNearestSegmentBefore(ve);return _e>=0?this._list[_e]:null}},{key:"getLastSampleBefore",value:function(ve){var _e=this.getLastSegmentBefore(ve);return _e!=null?_e.lastSample:null}},{key:"getLastSyncPointBefore",value:function(ve){for(var _e=this._searchNearestSegmentBefore(ve),ke=this._list[_e].syncPoints;ke.length===0&&_e>0;)_e--,ke=this._list[_e].syncPoints;return ke.length>0?ke[ke.length-1]:null}}]),$e}(),Tt=function(){function $e(tt){Object(O.a)(this,$e),this.TAG="MP4Remuxer",this._config=tt,this._isLive=tt.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 xt("audio"),this._videoSegmentInfoList=new xt("video"),this._onInitSegment=null,this._onMediaSegment=null,this._forceFirstIDR=!!(b.chrome&&(b.version.major<50||b.version.major===50&&b.version.build<2661)),this._fillSilentAfterSeek=b.msedge||b.msie,this._mp3UseMpegAudio=!b.firefox,this._fillAudioTimestampGap=this._config.fixAudioTimestampGap}return Object(_.a)($e,[{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(ve){return ve.onDataAvailable=this.remux.bind(this),ve.onTrackMetadata=this._onTrackMetadataReceived.bind(this),this}},{key:"onInitSegment",get:function(){return this._onInitSegment},set:function(ve){this._onInitSegment=ve}},{key:"onMediaSegment",get:function(){return this._onMediaSegment},set:function(ve){this._onMediaSegment=ve}},{key:"insertDiscontinuity",value:function(){this._audioNextDts=this._videoNextDts=void 0}},{key:"seek",value:function(ve){this._audioStashedLastSample=null,this._videoStashedLastSample=null,this._videoSegmentInfoList.clear(),this._audioSegmentInfoList.clear()}},{key:"remux",value:function(ve,_e){if(!this._onMediaSegment)throw new c("MP4Remuxer: onMediaSegment callback must be specificed!");this._dtsBaseInited||this._calculateDtsBase(ve,_e),this._remuxVideo(_e),this._remuxAudio(ve)}},{key:"_onTrackMetadataReceived",value:function(ve,_e){var ke=null,rt="mp4",Wt=_e.codec;if(ve==="audio")this._audioMeta=_e,_e.codec==="mp3"&&this._mp3UseMpegAudio?(rt="mpeg",Wt="",ke=new Uint8Array):ke=Te.generateInitSegment(_e);else if(ve==="video")this._videoMeta=_e,ke=Te.generateInitSegment(_e);else return;if(!this._onInitSegment)throw new c("MP4Remuxer: onInitSegment callback must be specified!");this._onInitSegment(ve,{type:ve,data:ke.buffer,codec:Wt,container:"".concat(ve,"/").concat(rt),mediaDuration:_e.duration})}},{key:"_calculateDtsBase",value:function(ve,_e){if(this._dtsBaseInited)return;ve.samples&&ve.samples.length&&(this._audioDtsBase=ve.samples[0].dts),_e.samples&&_e.samples.length&&(this._videoDtsBase=_e.samples[0].dts),this._dtsBase=Math.min(this._audioDtsBase,this._videoDtsBase),this._dtsBaseInited=!0}},{key:"flushStashedSamples",value:function(){var ve=this._videoStashedLastSample,_e=this._audioStashedLastSample,ke={type:"video",id:1,sequenceNumber:0,samples:[],length:0};ve!=null&&(ke.samples.push(ve),ke.length=ve.length);var rt={type:"audio",id:2,sequenceNumber:0,samples:[],length:0};_e!=null&&(rt.samples.push(_e),rt.length=_e.length),this._videoStashedLastSample=null,this._audioStashedLastSample=null,this._remuxVideo(ke,!0),this._remuxAudio(rt,!0)}},{key:"_remuxAudio",value:function(ve,_e){if(this._audioMeta==null)return;var ke=ve,rt=ke.samples,Wt=void 0,Bt=-1,Gt=-1,Rr=-1,Pr=this._audioMeta.refSampleDuration,cn=this._audioMeta.codec==="mp3"&&this._mp3UseMpegAudio,Ut=this._dtsBaseInited&&this._audioNextDts===void 0,pt=!1;if(!rt||rt.length===0)return;if(rt.length===1&&!_e)return;var ct=0,Qt=null,Jt=0;cn?(ct=0,Jt=ke.length):(ct=8,Jt=8+ke.length);var yt=null;if(rt.length>1&&(yt=rt.pop(),Jt-=yt.length),this._audioStashedLastSample!=null){var Pt=this._audioStashedLastSample;this._audioStashedLastSample=null,rt.unshift(Pt),Jt+=Pt.length}yt!=null&&(this._audioStashedLastSample=yt);var At=rt[0].dts-this._dtsBase;if(this._audioNextDts)Wt=At-this._audioNextDts;else if(this._audioSegmentInfoList.isEmpty())Wt=0,this._fillSilentAfterSeek&&!this._videoSegmentInfoList.isEmpty()&&(this._audioMeta.originalCodec!=="mp3"&&(pt=!0));else{var Ft=this._audioSegmentInfoList.getLastSampleBefore(At);if(Ft!=null){var pr=At-(Ft.originalDts+Ft.duration);pr<=3&&(pr=0);var or=Ft.dts+Ft.duration+pr;Wt=At-or}else Wt=0}if(pt){var ir=At-Wt,Yr=this._videoSegmentInfoList.getLastSegmentBefore(At);if(Yr!=null&&Yr.beginDts<ir){var Jr=Ue.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);if(Jr){var _n=Yr.beginDts,Nn=ir-Yr.beginDts;h.v(this.TAG,"InsertPrefixSilentAudio: dts: ".concat(_n,", duration: ").concat(Nn)),rt.unshift({unit:Jr,dts:_n,pts:_n}),Jt+=Jr.byteLength}}else pt=!1}for(var zn=[],ei=0;ei<rt.length;ei++){var vi=rt[ei],Pi=vi.unit,Ge=vi.dts-this._dtsBase,we=Ge-Wt;Bt===-1&&(Bt=we);var Le=0;if(ei!==rt.length-1){var De=rt[ei+1].dts-this._dtsBase-Wt;Le=De-we}else if(yt!=null){var We=yt.dts-this._dtsBase-Wt;Le=We-we}else zn.length>=1?Le=zn[zn.length-1].duration:Le=Math.floor(Pr);var Fe=!1,Je=null;if(Le>Pr*1.5&&this._audioMeta.codec!=="mp3"&&this._fillAudioTimestampGap&&!b.safari){Fe=!0;var vt=Math.abs(Le-Pr),st=Math.ceil(vt/Pr),kt=we+Pr;h.w(this.TAG,`Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.
`+"dts: ".concat(we+Le," ms, expected: ").concat(we+Math.round(Pr)," ms, ")+"delta: ".concat(Math.round(vt)," ms, generate: ").concat(st," frames"));var wr=Ue.getSilentFrame(this._audioMeta.originalCodec,this._audioMeta.channelCount);wr==null&&(h.w(this.TAG,"Unable to generate silent frame for "+"".concat(this._audioMeta.originalCodec," with ").concat(this._audioMeta.channelCount," channels, repeat last frame")),wr=Pi),Je=[];for(var hr=0;hr<st;hr++){var Nr=Math.round(kt);if(Je.length>0){var Kt=Je[Je.length-1];Kt.duration=Nr-Kt.dts}var un={dts:Nr,pts:Nr,cts:0,unit:wr,size:wr.byteLength,duration:0,originalDts:Ge,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}};Je.push(un),Jt+=un.size,kt+=Pr}var ar=Je[Je.length-1];ar.duration=we+Le-ar.dts,Le=Math.round(Pr)}zn.push({dts:we,pts:we,cts:0,unit:vi.unit,size:vi.unit.byteLength,duration:Le,originalDts:Ge,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0}}),Fe&&zn.push.apply(zn,Je)}cn?Qt=new Uint8Array(Jt):(Qt=new Uint8Array(Jt),Qt[0]=Jt>>>24&255,Qt[1]=Jt>>>16&255,Qt[2]=Jt>>>8&255,Qt[3]=Jt&255,Qt.set(Te.types.mdat,4));for(var Xr=0;Xr<zn.length;Xr++){var kr=zn[Xr].unit;Qt.set(kr,ct),ct+=kr.byteLength}var gr=zn[zn.length-1];Gt=gr.dts+gr.duration,this._audioNextDts=Gt;var Sn=new wt;Sn.beginDts=Bt,Sn.endDts=Gt,Sn.beginPts=Bt,Sn.endPts=Gt,Sn.originalBeginDts=zn[0].originalDts,Sn.originalEndDts=gr.originalDts+gr.duration,Sn.firstSample=new bt(zn[0].dts,zn[0].pts,zn[0].duration,zn[0].originalDts,!1),Sn.lastSample=new bt(gr.dts,gr.pts,gr.duration,gr.originalDts,!1),this._isLive||this._audioSegmentInfoList.append(Sn),ke.samples=zn,ke.sequenceNumber++;var Pn=null;cn?Pn=new Uint8Array:Pn=Te.moof(ke,Bt),ke.samples=[],ke.length=0;var ii={type:"audio",data:this._mergeBoxes(Pn,Qt).buffer,sampleCount:zn.length,info:Sn};cn&&Ut&&(ii.timestampOffset=Bt),this._onMediaSegment("audio",ii)}},{key:"_remuxVideo",value:function(ve,_e){if(this._videoMeta==null)return;var ke=ve,rt=ke.samples,Wt=void 0,Bt=-1,Gt=-1,Rr=-1,Pr=-1;if(!rt||rt.length===0)return;if(rt.length===1&&!_e)return;var cn=8,Ut=null,pt=8+ve.length,ct=null;if(rt.length>1&&(ct=rt.pop(),pt-=ct.length),this._videoStashedLastSample!=null){var Qt=this._videoStashedLastSample;this._videoStashedLastSample=null,rt.unshift(Qt),pt+=Qt.length}ct!=null&&(this._videoStashedLastSample=ct);var Jt=rt[0].dts-this._dtsBase;if(this._videoNextDts)Wt=Jt-this._videoNextDts;else if(this._videoSegmentInfoList.isEmpty())Wt=0;else{var yt=this._videoSegmentInfoList.getLastSampleBefore(Jt);if(yt!=null){var Pt=Jt-(yt.originalDts+yt.duration);Pt<=3&&(Pt=0);var At=yt.dts+yt.duration+Pt;Wt=Jt-At}else Wt=0}for(var Ft=new wt,pr=[],or=0;or<rt.length;or++){var ir=rt[or],Yr=ir.dts-this._dtsBase,Jr=ir.isKeyframe,_n=Yr-Wt,Nn=ir.cts,zn=_n+Nn;Bt===-1&&(Bt=_n,Rr=zn);var ei=0;if(or!==rt.length-1){var vi=rt[or+1].dts-this._dtsBase-Wt;ei=vi-_n}else if(ct!=null){var Pi=ct.dts-this._dtsBase-Wt;ei=Pi-_n}else pr.length>=1?ei=pr[pr.length-1].duration:ei=Math.floor(this._videoMeta.refSampleDuration);if(Jr){var Ge=new bt(_n,zn,ei,ir.dts,!0);Ge.fileposition=ir.fileposition,Ft.appendSyncPoint(Ge)}pr.push({dts:_n,pts:zn,cts:Nn,units:ir.units,size:ir.length,isKeyframe:Jr,duration:ei,originalDts:Yr,flags:{isLeading:0,dependsOn:Jr?2:1,isDependedOn:Jr?1:0,hasRedundancy:0,isNonSync:Jr?0:1}})}Ut=new Uint8Array(pt),Ut[0]=pt>>>24&255,Ut[1]=pt>>>16&255,Ut[2]=pt>>>8&255,Ut[3]=pt&255,Ut.set(Te.types.mdat,4);for(var we=0;we<pr.length;we++)for(var Le=pr[we].units;Le.length;){var De=Le.shift(),We=De.data;Ut.set(We,cn),cn+=We.byteLength}var Fe=pr[pr.length-1];if(Gt=Fe.dts+Fe.duration,Pr=Fe.pts+Fe.duration,this._videoNextDts=Gt,Ft.beginDts=Bt,Ft.endDts=Gt,Ft.beginPts=Rr,Ft.endPts=Pr,Ft.originalBeginDts=pr[0].originalDts,Ft.originalEndDts=Fe.originalDts+Fe.duration,Ft.firstSample=new bt(pr[0].dts,pr[0].pts,pr[0].duration,pr[0].originalDts,pr[0].isKeyframe),Ft.lastSample=new bt(Fe.dts,Fe.pts,Fe.duration,Fe.originalDts,Fe.isKeyframe),this._isLive||this._videoSegmentInfoList.append(Ft),ke.samples=pr,ke.sequenceNumber++,this._forceFirstIDR){var Je=pr[0].flags;Je.dependsOn=2,Je.isNonSync=0}var vt=Te.moof(ke,Bt);ke.samples=[],ke.length=0,this._onMediaSegment("video",{type:"video",data:this._mergeBoxes(vt,Ut).buffer,sampleCount:pr.length,info:Ft})}},{key:"_mergeBoxes",value:function(ve,_e){var ke=new Uint8Array(ve.byteLength+_e.byteLength);return ke.set(ve,0),ke.set(_e,ve.byteLength),ke}}]),$e}(),Be=Tt,ce={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"},q=ce,dt=function(){function $e(tt,ve){Object(O.a)(this,$e),this.TAG="TransmuxingController",this._emitter=new t.a,this._config=ve,tt.segments||(tt.segments=[{duration:tt.duration,filesize:tt.filesize,url:tt.url}]),typeof tt.cors!="boolean"&&(tt.cors=!0),typeof tt.withCredentials!="boolean"&&(tt.withCredentials=!1),this._mediaDataSource=tt,this._currentSegmentIndex=0;var _e=0;this._mediaDataSource.segments.forEach(function(ke){ke.timestampBase=_e,_e+=ke.duration,ke.cors=tt.cors,ke.withCredentials=tt.withCredentials,ve.referrerPolicy&&(ke.referrerPolicy=ve.referrerPolicy)}),!isNaN(_e)&&this._mediaDataSource.duration!==_e&&(this._mediaDataSource.duration=_e),this._mediaInfo=null,this._demuxer=null,this._remuxer=null,this._ioctl=null,this._pendingSeekTime=null,this._pendingResolveSeekPoint=null,this._statisticsReporter=null}return Object(_.a)($e,[{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(ve,_e){this._emitter.addListener(ve,_e)}},{key:"off",value:function(ve,_e){this._emitter.removeListener(ve,_e)}},{key:"start",value:function(){this._loadSegment(0),this._enableStatisticsReporter()}},{key:"_loadSegment",value:function(ve,_e){this._currentSegmentIndex=ve;var ke=this._mediaDataSource.segments[ve],rt=this._ioctl=new K(ke,this._config,ve);rt.onError=this._onIOException.bind(this),rt.onSeeked=this._onIOSeeked.bind(this),rt.onComplete=this._onIOComplete.bind(this),rt.onRedirect=this._onIORedirect.bind(this),rt.onRecoveredEarlyEof=this._onIORecoveredEarlyEof.bind(this),_e?this._demuxer.bindDataSource(this._ioctl):rt.onDataArrival=this._onInitChunkArrival.bind(this),rt.open(_e)}},{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(ve){if(this._mediaInfo==null||!this._mediaInfo.isSeekable())return;var _e=this._searchSegmentIndexContains(ve);if(_e===this._currentSegmentIndex){var ke=this._mediaInfo.segments[_e];if(ke==null)this._pendingSeekTime=ve;else{var rt=ke.getNearestKeyframe(ve);this._remuxer.seek(rt.milliseconds),this._ioctl.seek(rt.fileposition),this._pendingResolveSeekPoint=rt.milliseconds}}else{var Wt=this._mediaInfo.segments[_e];if(Wt==null)this._pendingSeekTime=ve,this._internalAbort(),this._remuxer.seek(),this._remuxer.insertDiscontinuity(),this._loadSegment(_e);else{var Bt=Wt.getNearestKeyframe(ve);this._internalAbort(),this._remuxer.seek(ve),this._remuxer.insertDiscontinuity(),this._demuxer.resetMediaInfo(),this._demuxer.timestampBase=this._mediaDataSource.segments[_e].timestampBase,this._loadSegment(_e,Bt.fileposition),this._pendingResolveSeekPoint=Bt.milliseconds,this._reportSegmentMediaInfo(_e)}}this._enableStatisticsReporter()}},{key:"_searchSegmentIndexContains",value:function(ve){for(var _e=this._mediaDataSource.segments,ke=_e.length-1,rt=0;rt<_e.length;rt++)if(ve<_e[rt].timestampBase){ke=rt-1;break}return ke}},{key:"_onInitChunkArrival",value:function(ve,_e){var ke=this,rt=null,Wt=0;if(_e>0)this._demuxer.bindDataSource(this._ioctl),this._demuxer.timestampBase=this._mediaDataSource.segments[this._currentSegmentIndex].timestampBase,Wt=this._demuxer.parseChunks(ve,_e);else if((rt=ze.probe(ve)).match){this._demuxer=new ze(rt,this._config),this._remuxer||(this._remuxer=new Be(this._config));var Bt=this._mediaDataSource;Bt.duration!=null&&!isNaN(Bt.duration)&&(this._demuxer.overridedDuration=Bt.duration),typeof Bt.hasAudio=="boolean"&&(this._demuxer.overridedHasAudio=Bt.hasAudio),typeof Bt.hasVideo=="boolean"&&(this._demuxer.overridedHasVideo=Bt.hasVideo),this._demuxer.timestampBase=Bt.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),Wt=this._demuxer.parseChunks(ve,_e)}else rt=null,h.e(this.TAG,"Non-FLV, Unsupported media type!"),Promise.resolve().then(function(){ke._internalAbort()}),this._emitter.emit(q.DEMUX_ERROR,He.FORMAT_UNSUPPORTED,"Non-FLV, Unsupported media type"),Wt=0;return Wt}},{key:"_onMediaInfo",value:function(ve){var _e=this;this._mediaInfo==null&&(this._mediaInfo=Object.assign({},ve),this._mediaInfo.keyframesIndex=null,this._mediaInfo.segments=[],this._mediaInfo.segmentCount=this._mediaDataSource.segments.length,Object.setPrototypeOf(this._mediaInfo,he.prototype));var ke=Object.assign({},ve);Object.setPrototypeOf(ke,he.prototype),this._mediaInfo.segments[this._currentSegmentIndex]=ke,this._reportSegmentMediaInfo(this._currentSegmentIndex),this._pendingSeekTime!=null&&Promise.resolve().then(function(){var rt=_e._pendingSeekTime;_e._pendingSeekTime=null,_e.seek(rt)})}},{key:"_onMetaDataArrived",value:function(ve){this._emitter.emit(q.METADATA_ARRIVED,ve)}},{key:"_onScriptDataArrived",value:function(ve){this._emitter.emit(q.SCRIPTDATA_ARRIVED,ve)}},{key:"_onIOSeeked",value:function(){this._remuxer.insertDiscontinuity()}},{key:"_onIOComplete",value:function(ve){var _e=ve,ke=_e+1;ke<this._mediaDataSource.segments.length?(this._internalAbort(),this._remuxer.flushStashedSamples(),this._loadSegment(ke)):(this._remuxer.flushStashedSamples(),this._emitter.emit(q.LOADING_COMPLETE),this._disableStatisticsReporter())}},{key:"_onIORedirect",value:function(ve){var _e=this._ioctl.extraData;this._mediaDataSource.segments[_e].redirectedURL=ve}},{key:"_onIORecoveredEarlyEof",value:function(){this._emitter.emit(q.RECOVERED_EARLY_EOF)}},{key:"_onIOException",value:function(ve,_e){h.e(this.TAG,"IOException: type = ".concat(ve,", code = ").concat(_e.code,", msg = ").concat(_e.msg)),this._emitter.emit(q.IO_ERROR,ve,_e),this._disableStatisticsReporter()}},{key:"_onDemuxException",value:function(ve,_e){h.e(this.TAG,"DemuxException: type = ".concat(ve,", info = ").concat(_e)),this._emitter.emit(q.DEMUX_ERROR,ve,_e)}},{key:"_onRemuxerInitSegmentArrival",value:function(ve,_e){this._emitter.emit(q.INIT_SEGMENT,ve,_e)}},{key:"_onRemuxerMediaSegmentArrival",value:function(ve,_e){if(this._pendingSeekTime!=null)return;if(this._emitter.emit(q.MEDIA_SEGMENT,ve,_e),this._pendingResolveSeekPoint!=null&&ve==="video"){var ke=_e.info.syncPoints,rt=this._pendingResolveSeekPoint;this._pendingResolveSeekPoint=null,b.safari&&ke.length>0&&ke[0].originalDts===rt&&(rt=ke[0].pts),this._emitter.emit(q.RECOMMEND_SEEKPOINT,rt)}}},{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(ve){var _e=this._mediaInfo.segments[ve],ke=Object.assign({},_e);ke.duration=this._mediaInfo.duration,ke.segmentCount=this._mediaInfo.segmentCount,delete ke.segments,delete ke.keyframesIndex,this._emitter.emit(q.MEDIA_INFO,ke)}},{key:"_reportStatisticsInfo",value:function(){var ve={};ve.url=this._ioctl.currentURL,ve.hasRedirect=this._ioctl.hasRedirect,ve.hasRedirect&&(ve.redirectedURL=this._ioctl.currentRedirectedURL),ve.speed=this._ioctl.currentSpeed,ve.loaderType=this._ioctl.loaderType,ve.currentSegmentIndex=this._currentSegmentIndex,ve.totalSegmentCount=this._mediaDataSource.segments.length,this._emitter.emit(q.STATISTICS_INFO,ve)}}]),$e}(),Ve=dt,de=function(tt){var ve="TransmuxingWorker",_e=null,ke=Jt.bind(this);E.install(),tt.addEventListener("message",function(yt){switch(yt.data.cmd){case"init":_e=new Ve(yt.data.param[0],yt.data.param[1]),_e.on(q.IO_ERROR,pt.bind(this)),_e.on(q.DEMUX_ERROR,ct.bind(this)),_e.on(q.INIT_SEGMENT,rt.bind(this)),_e.on(q.MEDIA_SEGMENT,Wt.bind(this)),_e.on(q.LOADING_COMPLETE,Bt.bind(this)),_e.on(q.RECOVERED_EARLY_EOF,Gt.bind(this)),_e.on(q.MEDIA_INFO,Rr.bind(this)),_e.on(q.METADATA_ARRIVED,Pr.bind(this)),_e.on(q.SCRIPTDATA_ARRIVED,cn.bind(this)),_e.on(q.STATISTICS_INFO,Ut.bind(this)),_e.on(q.RECOMMEND_SEEKPOINT,Qt.bind(this));break;case"destroy":_e&&(_e.destroy(),_e=null),tt.postMessage({msg:"destroyed"});break;case"start":_e.start();break;case"stop":_e.stop();break;case"seek":_e.seek(yt.data.param);break;case"pause":_e.pause();break;case"resume":_e.resume();break;case"logging_config":{var Pt=yt.data.param;se.applyConfig(Pt),Pt.enableCallback===!0?se.addLogListener(ke):se.removeLogListener(ke);break}}});function rt(yt,Pt){var At={msg:q.INIT_SEGMENT,data:{type:yt,data:Pt}};tt.postMessage(At,[Pt.data])}function Wt(yt,Pt){var At={msg:q.MEDIA_SEGMENT,data:{type:yt,data:Pt}};tt.postMessage(At,[Pt.data])}function Bt(){var yt={msg:q.LOADING_COMPLETE};tt.postMessage(yt)}function Gt(){var yt={msg:q.RECOVERED_EARLY_EOF};tt.postMessage(yt)}function Rr(yt){var Pt={msg:q.MEDIA_INFO,data:yt};tt.postMessage(Pt)}function Pr(yt){var Pt={msg:q.METADATA_ARRIVED,data:yt};tt.postMessage(Pt)}function cn(yt){var Pt={msg:q.SCRIPTDATA_ARRIVED,data:yt};tt.postMessage(Pt)}function Ut(yt){var Pt={msg:q.STATISTICS_INFO,data:yt};tt.postMessage(Pt)}function pt(yt,Pt){tt.postMessage({msg:q.IO_ERROR,data:{type:yt,info:Pt}})}function ct(yt,Pt){tt.postMessage({msg:q.DEMUX_ERROR,data:{type:yt,info:Pt}})}function Qt(yt){tt.postMessage({msg:q.RECOMMEND_SEEKPOINT,data:yt})}function Jt(yt,Pt){tt.postMessage({msg:"logcat_callback",data:{type:yt,logcat:Pt}})}},Ht=de,tr=function(){function $e(tt,ve){if(Object(O.a)(this,$e),this.TAG="Transmuxer",this._emitter=new t.a,ve.enableWorker&&typeof Worker!="undefined")try{var _e=d("0r65");this._worker=_e(Ht),this._workerDestroying=!1,this._worker.addEventListener("message",this._onWorkerMessage.bind(this)),this._worker.postMessage({cmd:"init",param:[tt,ve]}),this.e={onLoggingConfigChanged:this._onLoggingConfigChanged.bind(this)},se.registerListener(this.e.onLoggingConfigChanged),this._worker.postMessage({cmd:"logging_config",param:se.getConfig()})}catch(rt){h.e(this.TAG,"Error while initialize transmuxing worker, fallback to inline transmuxing"),this._worker=null,this._controller=new Ve(tt,ve)}else this._controller=new Ve(tt,ve);if(this._controller){var ke=this._controller;ke.on(q.IO_ERROR,this._onIOError.bind(this)),ke.on(q.DEMUX_ERROR,this._onDemuxError.bind(this)),ke.on(q.INIT_SEGMENT,this._onInitSegment.bind(this)),ke.on(q.MEDIA_SEGMENT,this._onMediaSegment.bind(this)),ke.on(q.LOADING_COMPLETE,this._onLoadingComplete.bind(this)),ke.on(q.RECOVERED_EARLY_EOF,this._onRecoveredEarlyEof.bind(this)),ke.on(q.MEDIA_INFO,this._onMediaInfo.bind(this)),ke.on(q.METADATA_ARRIVED,this._onMetaDataArrived.bind(this)),ke.on(q.SCRIPTDATA_ARRIVED,this._onScriptDataArrived.bind(this)),ke.on(q.STATISTICS_INFO,this._onStatisticsInfo.bind(this)),ke.on(q.RECOMMEND_SEEKPOINT,this._onRecommendSeekpoint.bind(this))}}return Object(_.a)($e,[{key:"destroy",value:function(){this._worker?this._workerDestroying||(this._workerDestroying=!0,this._worker.postMessage({cmd:"destroy"}),se.removeListener(this.e.onLoggingConfigChanged),this.e=null):(this._controller.destroy(),this._controller=null),this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(ve,_e){this._emitter.addListener(ve,_e)}},{key:"off",value:function(ve,_e){this._emitter.removeListener(ve,_e)}},{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(ve){this._worker?this._worker.postMessage({cmd:"seek",param:ve}):this._controller.seek(ve)}},{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(ve,_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(q.INIT_SEGMENT,ve,_e)})}},{key:"_onMediaSegment",value:function(ve,_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(q.MEDIA_SEGMENT,ve,_e)})}},{key:"_onLoadingComplete",value:function(){var ve=this;Promise.resolve().then(function(){ve._emitter.emit(q.LOADING_COMPLETE)})}},{key:"_onRecoveredEarlyEof",value:function(){var ve=this;Promise.resolve().then(function(){ve._emitter.emit(q.RECOVERED_EARLY_EOF)})}},{key:"_onMediaInfo",value:function(ve){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(q.MEDIA_INFO,ve)})}},{key:"_onMetaDataArrived",value:function(ve){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(q.METADATA_ARRIVED,ve)})}},{key:"_onScriptDataArrived",value:function(ve){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(q.SCRIPTDATA_ARRIVED,ve)})}},{key:"_onStatisticsInfo",value:function(ve){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(q.STATISTICS_INFO,ve)})}},{key:"_onIOError",value:function(ve,_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(q.IO_ERROR,ve,_e)})}},{key:"_onDemuxError",value:function(ve,_e){var ke=this;Promise.resolve().then(function(){ke._emitter.emit(q.DEMUX_ERROR,ve,_e)})}},{key:"_onRecommendSeekpoint",value:function(ve){var _e=this;Promise.resolve().then(function(){_e._emitter.emit(q.RECOMMEND_SEEKPOINT,ve)})}},{key:"_onLoggingConfigChanged",value:function(ve){this._worker&&this._worker.postMessage({cmd:"logging_config",param:ve})}},{key:"_onWorkerMessage",value:function(ve){var _e=ve.data,ke=_e.data;if(_e.msg==="destroyed"||this._workerDestroying){this._workerDestroying=!1,this._worker.terminate(),this._worker=null;return}switch(_e.msg){case q.INIT_SEGMENT:case q.MEDIA_SEGMENT:this._emitter.emit(_e.msg,ke.type,ke.data);break;case q.LOADING_COMPLETE:case q.RECOVERED_EARLY_EOF:this._emitter.emit(_e.msg);break;case q.MEDIA_INFO:Object.setPrototypeOf(ke,he.prototype),this._emitter.emit(_e.msg,ke);break;case q.METADATA_ARRIVED:case q.SCRIPTDATA_ARRIVED:case q.STATISTICS_INFO:this._emitter.emit(_e.msg,ke);break;case q.IO_ERROR:case q.DEMUX_ERROR:this._emitter.emit(_e.msg,ke.type,ke.info);break;case q.RECOMMEND_SEEKPOINT:this._emitter.emit(_e.msg,ke);break;case"logcat_callback":h.emitter.emit("log",ke.type,ke.logcat);break;default:break}}}]),$e}(),lt=tr,Xt={ERROR:"error",SOURCE_OPEN:"source_open",UPDATE_END:"update_end",BUFFER_FULL:"buffer_full"},sr=Xt,Kr=function(){function $e(tt){Object(O.a)(this,$e),this.TAG="MSEController",this._config=tt,this._emitter=new t.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(_.a)($e,[{key:"destroy",value:function(){(this._mediaElement||this._mediaSource)&&this.detachMediaElement(),this.e=null,this._emitter.removeAllListeners(),this._emitter=null}},{key:"on",value:function(ve,_e){this._emitter.addListener(ve,_e)}},{key:"off",value:function(ve,_e){this._emitter.removeListener(ve,_e)}},{key:"attachMediaElement",value:function(ve){if(this._mediaSource)throw new c("MediaSource has been attached to an HTMLMediaElement!");var _e=this._mediaSource=new window.MediaSource;_e.addEventListener("sourceopen",this.e.onSourceOpen),_e.addEventListener("sourceended",this.e.onSourceEnded),_e.addEventListener("sourceclose",this.e.onSourceClose),this._mediaElement=ve,this._mediaSourceObjectURL=window.URL.createObjectURL(this._mediaSource),ve.src=this._mediaSourceObjectURL}},{key:"detachMediaElement",value:function(){if(this._mediaSource){var ve=this._mediaSource;for(var _e in this._sourceBuffers){var ke=this._pendingSegments[_e];ke.splice(0,ke.length),this._pendingSegments[_e]=null,this._pendingRemoveRanges[_e]=null,this._lastInitSegments[_e]=null;var rt=this._sourceBuffers[_e];if(rt){if(ve.readyState!=="closed"){try{ve.removeSourceBuffer(rt)}catch(Wt){h.e(this.TAG,Wt.message)}rt.removeEventListener("error",this.e.onSourceBufferError),rt.removeEventListener("updateend",this.e.onSourceBufferUpdateEnd)}this._mimeTypes[_e]=null,this._sourceBuffers[_e]=null}}if(ve.readyState==="open")try{ve.endOfStream()}catch(Wt){h.e(this.TAG,Wt.message)}ve.removeEventListener("sourceopen",this.e.onSourceOpen),ve.removeEventListener("sourceended",this.e.onSourceEnded),ve.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(ve,_e){if(!this._mediaSource||this._mediaSource.readyState!=="open"){this._pendingSourceBufferInit.push(ve),this._pendingSegments[ve.type].push(ve);return}var ke=ve,rt="".concat(ke.container);ke.codec&&ke.codec.length>0&&(rt+=";codecs=".concat(ke.codec));var Wt=!1;if(h.v(this.TAG,"Received Initialization Segment, mimeType: "+rt),this._lastInitSegments[ke.type]=ke,rt!==this._mimeTypes[ke.type]){if(this._mimeTypes[ke.type])h.v(this.TAG,"Notice: ".concat(ke.type," mimeType changed, origin: ").concat(this._mimeTypes[ke.type],", target: ").concat(rt));else{Wt=!0;try{var Bt=this._sourceBuffers[ke.type]=this._mediaSource.addSourceBuffer(rt);Bt.addEventListener("error",this.e.onSourceBufferError),Bt.addEventListener("updateend",this.e.onSourceBufferUpdateEnd)}catch(Gt){h.e(this.TAG,Gt.message),this._emitter.emit(sr.ERROR,{code:Gt.code,msg:Gt.message});return}}this._mimeTypes[ke.type]=rt}_e||this._pendingSegments[ke.type].push(ke),Wt||this._sourceBuffers[ke.type]&&!this._sourceBuffers[ke.type].updating&&this._doAppendSegments(),b.safari&&ke.container==="audio/mpeg"&&ke.mediaDuration>0&&(this._requireSetMediaDuration=!0,this._pendingMediaDuration=ke.mediaDuration/1e3,this._updateMediaSourceDuration())}},{key:"appendMediaSegment",value:function(ve){var _e=ve;this._pendingSegments[_e.type].push(_e),this._config.autoCleanupSourceBuffer&&this._needCleanupSourceBuffer()&&this._doCleanupSourceBuffer();var ke=this._sourceBuffers[_e.type];ke&&!ke.updating&&!this._hasPendingRemoveRanges()&&this._doAppendSegments()}},{key:"seek",value:function(ve){for(var _e in this._sourceBuffers){if(!this._sourceBuffers[_e])continue;var ke=this._sourceBuffers[_e];if(this._mediaSource.readyState==="open")try{ke.abort()}catch(Pr){h.e(this.TAG,Pr.message)}this._idrList.clear();var rt=this._pendingSegments[_e];if(rt.splice(0,rt.length),this._mediaSource.readyState==="closed")continue;for(var Wt=0;Wt<ke.buffered.length;Wt++){var Bt=ke.buffered.start(Wt),Gt=ke.buffered.end(Wt);this._pendingRemoveRanges[_e].push({start:Bt,end:Gt})}if(ke.updating||this._doRemoveRanges(),b.safari){var Rr=this._lastInitSegments[_e];Rr&&(this._pendingSegments[_e].push(Rr),ke.updating||this._doAppendSegments())}}}},{key:"endOfStream",value:function(){var ve=this._mediaSource,_e=this._sourceBuffers;if(!ve||ve.readyState!=="open"){ve&&ve.readyState==="closed"&&this._hasPendingSegments()&&(this._hasPendingEos=!0);return}_e.video&&_e.video.updating||_e.audio&&_e.audio.updating?this._hasPendingEos=!0:(this._hasPendingEos=!1,ve.endOfStream())}},{key:"getNearestKeyframe",value:function(ve){return this._idrList.getLastSyncPointBeforeDts(ve)}},{key:"_needCleanupSourceBuffer",value:function(){if(!this._config.autoCleanupSourceBuffer)return!1;var ve=this._mediaElement.currentTime;for(var _e in this._sourceBuffers){var ke=this._sourceBuffers[_e];if(ke){var rt=ke.buffered;if(rt.length>=1&&ve-rt.start(0)>=this._config.autoCleanupMaxBackwardDuration)return!0}}return!1}},{key:"_doCleanupSourceBuffer",value:function(){var ve=this._mediaElement.currentTime;for(var _e in this._sourceBuffers){var ke=this._sourceBuffers[_e];if(ke){for(var rt=ke.buffered,Wt=!1,Bt=0;Bt<rt.length;Bt++){var Gt=rt.start(Bt),Rr=rt.end(Bt);if(Gt<=ve&&ve<Rr+3){if(ve-Gt>=this._config.autoCleanupMaxBackwardDuration){Wt=!0;var Pr=ve-this._config.autoCleanupMinBackwardDuration;this._pendingRemoveRanges[_e].push({start:Gt,end:Pr})}}else Rr<ve&&(Wt=!0,this._pendingRemoveRanges[_e].push({start:Gt,end:Rr}))}Wt&&!ke.updating&&this._doRemoveRanges()}}}},{key:"_updateMediaSourceDuration",value:function(){var ve=this._sourceBuffers;if(this._mediaElement.readyState===0||this._mediaSource.readyState!=="open")return;if(ve.video&&ve.video.updating||ve.audio&&ve.audio.updating)return;var _e=this._mediaSource.duration,ke=this._pendingMediaDuration;ke>0&&(isNaN(_e)||ke>_e)&&(h.v(this.TAG,"Update MediaSource duration from ".concat(_e," to ").concat(ke)),this._mediaSource.duration=ke),this._requireSetMediaDuration=!1,this._pendingMediaDuration=0}},{key:"_doRemoveRanges",value:function(){for(var ve in this._pendingRemoveRanges){if(!this._sourceBuffers[ve]||this._sourceBuffers[ve].updating)continue;for(var _e=this._sourceBuffers[ve],ke=this._pendingRemoveRanges[ve];ke.length&&!_e.updating;){var rt=ke.shift();_e.remove(rt.start,rt.end)}}}},{key:"_doAppendSegments",value:function(){var ve=this._pendingSegments;for(var _e in ve){if(!this._sourceBuffers[_e]||this._sourceBuffers[_e].updating)continue;if(ve[_e].length>0){var ke=ve[_e].shift();if(ke.timestampOffset){var rt=this._sourceBuffers[_e].timestampOffset,Wt=ke.timestampOffset/1e3,Bt=Math.abs(rt-Wt);Bt>.1&&(h.v(this.TAG,"Update MPEG audio timestampOffset from ".concat(rt," to ").concat(Wt)),this._sourceBuffers[_e].timestampOffset=Wt),delete ke.timestampOffset}if(!ke.data||ke.data.byteLength===0)continue;try{this._sourceBuffers[_e].appendBuffer(ke.data),this._isBufferFull=!1,_e==="video"&&ke.hasOwnProperty("info")&&this._idrList.appendArray(ke.info.syncPoints)}catch(Gt){this._pendingSegments[_e].unshift(ke),Gt.code===22?(this._isBufferFull||this._emitter.emit(sr.BUFFER_FULL),this._isBufferFull=!0):(h.e(this.TAG,Gt.message),this._emitter.emit(sr.ERROR,{code:Gt.code,msg:Gt.message}))}}}}},{key:"_onSourceOpen",value:function(){if(h.v(this.TAG,"MediaSource onSourceOpen"),this._mediaSource.removeEventListener("sourceopen",this.e.onSourceOpen),this._pendingSourceBufferInit.length>0)for(var ve=this._pendingSourceBufferInit;ve.length;){var _e=ve.shift();this.appendInitSegment(_e,!0)}this._hasPendingSegments()&&this._doAppendSegments(),this._emitter.emit(sr.SOURCE_OPEN)}},{key:"_onSourceEnded",value:function(){h.v(this.TAG,"MediaSource onSourceEnded")}},{key:"_onSourceClose",value:function(){h.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 ve=this._pendingSegments;return ve.video.length>0||ve.audio.length>0}},{key:"_hasPendingRemoveRanges",value:function(){var ve=this._pendingRemoveRanges;return ve.video.length>0||ve.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(sr.UPDATE_END)}},{key:"_onSourceBufferError",value:function(ve){h.e(this.TAG,"SourceBuffer Error: ".concat(ve))}}]),$e}(),rr=Kr,nr={NETWORK_ERROR:"NetworkError",MEDIA_ERROR:"MediaError",OTHER_ERROR:"OtherError"},Nt={NETWORK_EXCEPTION:u.EXCEPTION,NETWORK_STATUS_CODE_INVALID:u.HTTP_STATUS_CODE_INVALID,NETWORK_TIMEOUT:u.CONNECTING_TIMEOUT,NETWORK_UNRECOVERABLE_EARLY_EOF:u.UNRECOVERABLE_EARLY_EOF,MEDIA_MSE_ERROR:"MediaMSEError",MEDIA_FORMAT_ERROR:He.FORMAT_ERROR,MEDIA_FORMAT_UNSUPPORTED:He.FORMAT_UNSUPPORTED,MEDIA_CODEC_UNSUPPORTED:He.CODEC_UNSUPPORTED},ot=function(){function $e(tt,ve){if(Object(O.a)(this,$e),this.TAG="FlvPlayer",this._type="FlvPlayer",this._emitter=new t.a,this._config=X(),typeof ve=="object"&&Object.assign(this._config,ve),tt.type.toLowerCase()!=="flv")throw new e("FlvPlayer requires an flv MediaDataSource input!");tt.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=tt,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 _e=b.chrome&&(b.version.major<50||b.version.major===50&&b.version.build<2661);this._alwaysSeekKeyframe=!!(_e||b.msedge||b.msie),this._alwaysSeekKeyframe&&(this._config.accurateSeek=!1)}return Object(_.a)($e,[{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(ve,_e){var ke=this;ve===Y.MEDIA_INFO?this._mediaInfo!=null&&Promise.resolve().then(function(){ke._emitter.emit(Y.MEDIA_INFO,ke.mediaInfo)}):ve===Y.STATISTICS_INFO&&(this._statisticsInfo!=null&&Promise.resolve().then(function(){ke._emitter.emit(Y.STATISTICS_INFO,ke.statisticsInfo)})),this._emitter.addListener(ve,_e)}},{key:"off",value:function(ve,_e){this._emitter.removeListener(ve,_e)}},{key:"attachMediaElement",value:function(ve){var _e=this;if(this._mediaElement=ve,ve.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),ve.addEventListener("seeking",this.e.onvSeeking),ve.addEventListener("canplay",this.e.onvCanPlay),ve.addEventListener("stalled",this.e.onvStalled),ve.addEventListener("progress",this.e.onvProgress),this._msectl=new rr(this._config),this._msectl.on(sr.UPDATE_END,this._onmseUpdateEnd.bind(this)),this._msectl.on(sr.BUFFER_FULL,this._onmseBufferFull.bind(this)),this._msectl.on(sr.SOURCE_OPEN,function(){_e._mseSourceOpened=!0,_e._hasPendingLoad&&(_e._hasPendingLoad=!1,_e.load())}),this._msectl.on(sr.ERROR,function(ke){_e._emitter.emit(Y.ERROR,nr.MEDIA_ERROR,Nt.MEDIA_MSE_ERROR,ke)}),this._msectl.attachMediaElement(ve),this._pendingSeekTime!=null)try{ve.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(ke){}}},{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 ve=this;if(!this._mediaElement)throw new c("HTMLMediaElement must be attached before load()!");if(this._transmuxer)throw new c("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 lt(this._mediaDataSource,this._config),this._transmuxer.on(q.INIT_SEGMENT,function(_e,ke){ve._msectl.appendInitSegment(ke)}),this._transmuxer.on(q.MEDIA_SEGMENT,function(_e,ke){if(ve._msectl.appendMediaSegment(ke),ve._config.lazyLoad&&!ve._config.isLive){var rt=ve._mediaElement.currentTime;ke.info.endDts>=(rt+ve._config.lazyLoadMaxDuration)*1e3&&(ve._progressChecker==null&&(h.v(ve.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),ve._suspendTransmuxer()))}}),this._transmuxer.on(q.LOADING_COMPLETE,function(){ve._msectl.endOfStream(),ve._emitter.emit(Y.LOADING_COMPLETE)}),this._transmuxer.on(q.RECOVERED_EARLY_EOF,function(){ve._emitter.emit(Y.RECOVERED_EARLY_EOF)}),this._transmuxer.on(q.IO_ERROR,function(_e,ke){ve._emitter.emit(Y.ERROR,nr.NETWORK_ERROR,_e,ke)}),this._transmuxer.on(q.DEMUX_ERROR,function(_e,ke){ve._emitter.emit(Y.ERROR,nr.MEDIA_ERROR,_e,{code:-1,msg:ke})}),this._transmuxer.on(q.MEDIA_INFO,function(_e){ve._mediaInfo=_e,ve._emitter.emit(Y.MEDIA_INFO,Object.assign({},_e))}),this._transmuxer.on(q.METADATA_ARRIVED,function(_e){ve._emitter.emit(Y.METADATA_ARRIVED,_e)}),this._transmuxer.on(q.SCRIPTDATA_ARRIVED,function(_e){ve._emitter.emit(Y.SCRIPTDATA_ARRIVED,_e)}),this._transmuxer.on(q.STATISTICS_INFO,function(_e){ve._statisticsInfo=ve._fillStatisticsInfo(_e),ve._emitter.emit(Y.STATISTICS_INFO,Object.assign({},ve._statisticsInfo))}),this._transmuxer.on(q.RECOMMEND_SEEKPOINT,function(_e){ve._mediaElement&&!ve._config.accurateSeek&&(ve._requestSetTime=!0,ve._mediaElement.currentTime=_e/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:"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(ve){this._mediaElement.volume=ve}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(ve){this._mediaElement.muted=ve}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(ve){this._mediaElement?this._internalSeek(ve):this._pendingSeekTime=ve}},{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)}},{key:"_fillStatisticsInfo",value:function(ve){if(ve.playerType=this._type,!(this._mediaElement instanceof HTMLVideoElement))return ve;var _e=!0,ke=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Wt=this._mediaElement.getVideoPlaybackQuality();ke=Wt.totalVideoFrames,rt=Wt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(ke=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):_e=!1;return _e&&(ve.decodedFrames=ke,ve.droppedFrames=rt),ve}},{key:"_onmseUpdateEnd",value:function(){if(!this._config.lazyLoad||this._config.isLive)return;for(var ve=this._mediaElement.buffered,_e=this._mediaElement.currentTime,ke=0,rt=0,Wt=0;Wt<ve.length;Wt++){var Bt=ve.start(Wt),Gt=ve.end(Wt);if(Bt<=_e&&_e<Gt){ke=Bt,rt=Gt;break}}rt>=_e+this._config.lazyLoadMaxDuration&&this._progressChecker==null&&(h.v(this.TAG,"Maximum buffering duration exceeded, suspend transmuxing task"),this._suspendTransmuxer())}},{key:"_onmseBufferFull",value:function(){h.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 ve=this._mediaElement.currentTime,_e=this._mediaElement.buffered,ke=!1,rt=0;rt<_e.length;rt++){var Wt=_e.start(rt),Bt=_e.end(rt);if(ve>=Wt&&ve<Bt){ve>=Bt-this._config.lazyLoadRecoverDuration&&(ke=!0);break}}ke&&(window.clearInterval(this._progressChecker),this._progressChecker=null,ke&&(h.v(this.TAG,"Continue loading from paused position"),this._transmuxer.resume()))}},{key:"_isTimepointBuffered",value:function(ve){for(var _e=this._mediaElement.buffered,ke=0;ke<_e.length;ke++){var rt=_e.start(ke),Wt=_e.end(ke);if(ve>=rt&&ve<Wt)return!0}return!1}},{key:"_internalSeek",value:function(ve){var _e=this._isTimepointBuffered(ve),ke=!1,rt=0;if(ve<1&&this._mediaElement.buffered.length>0){var Wt=this._mediaElement.buffered.start(0);(Wt<1&&ve<Wt||b.safari)&&(ke=!0,rt=b.safari?.1:Wt)}if(ke)this._requestSetTime=!0,this._mediaElement.currentTime=rt;else if(_e){if(!this._alwaysSeekKeyframe)this._requestSetTime=!0,this._mediaElement.currentTime=ve;else{var Bt=this._msectl.getNearestKeyframe(Math.floor(ve*1e3));this._requestSetTime=!0,Bt!=null?this._mediaElement.currentTime=Bt.dts/1e3:this._mediaElement.currentTime=ve}this._progressChecker!=null&&this._checkProgressAndResume()}else this._progressChecker!=null&&(window.clearInterval(this._progressChecker),this._progressChecker=null),this._msectl.seek(ve),this._transmuxer.seek(Math.floor(ve*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=ve)}},{key:"_checkAndApplyUnbufferedSeekpoint",value:function(){if(this._seekpointRecord)if(this._seekpointRecord.recordTime<=this._now()-100){var ve=this._mediaElement.currentTime;this._seekpointRecord=null,this._isTimepointBuffered(ve)||(this._progressChecker!=null&&(window.clearTimeout(this._progressChecker),this._progressChecker=null),this._msectl.seek(ve),this._transmuxer.seek(Math.floor(ve*1e3)),this._config.accurateSeek&&(this._requestSetTime=!0,this._mediaElement.currentTime=ve))}else window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_checkAndResumeStuckPlayback",value:function(ve){var _e=this._mediaElement;if(ve||!this._receivedCanPlay||_e.readyState<2){var ke=_e.buffered;ke.length>0&&_e.currentTime<ke.start(0)&&(h.w(this.TAG,"Playback seems stuck at ".concat(_e.currentTime,", seek to ").concat(ke.start(0))),this._requestSetTime=!0,this._mediaElement.currentTime=ke.start(0),this._mediaElement.removeEventListener("progress",this.e.onvProgress))}else this._mediaElement.removeEventListener("progress",this.e.onvProgress)}},{key:"_onvLoadedMetadata",value:function(ve){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null)}},{key:"_onvSeeking",value:function(ve){var _e=this._mediaElement.currentTime,ke=this._mediaElement.buffered;if(this._requestSetTime){this._requestSetTime=!1;return}if(_e<1&&ke.length>0){var rt=ke.start(0);if(rt<1&&_e<rt||b.safari){this._requestSetTime=!0,this._mediaElement.currentTime=b.safari?.1:rt;return}}if(this._isTimepointBuffered(_e)){if(this._alwaysSeekKeyframe){var Wt=this._msectl.getNearestKeyframe(Math.floor(_e*1e3));Wt!=null&&(this._requestSetTime=!0,this._mediaElement.currentTime=Wt.dts/1e3)}this._progressChecker!=null&&this._checkProgressAndResume();return}this._seekpointRecord={seekPoint:_e,recordTime:this._now()},window.setTimeout(this._checkAndApplyUnbufferedSeekpoint.bind(this),50)}},{key:"_onvCanPlay",value:function(ve){this._receivedCanPlay=!0,this._mediaElement.removeEventListener("canplay",this.e.onvCanPlay)}},{key:"_onvStalled",value:function(ve){this._checkAndResumeStuckPlayback(!0)}},{key:"_onvProgress",value:function(ve){this._checkAndResumeStuckPlayback()}}]),$e}(),Qe=ot,qt=function(){function $e(tt,ve){if(Object(O.a)(this,$e),this.TAG="NativePlayer",this._type="NativePlayer",this._emitter=new t.a,this._config=X(),typeof ve=="object"&&Object.assign(this._config,ve),tt.type.toLowerCase()==="flv")throw new e("NativePlayer does't support flv MediaDataSource input!");if(tt.hasOwnProperty("segments"))throw new e("NativePlayer(".concat(tt.type,") doesn't support multipart playback!"));this.e={onvLoadedMetadata:this._onvLoadedMetadata.bind(this)},this._pendingSeekTime=null,this._statisticsReporter=null,this._mediaDataSource=tt,this._mediaElement=null}return Object(_.a)($e,[{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(ve,_e){var ke=this;ve===Y.MEDIA_INFO?this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){ke._emitter.emit(Y.MEDIA_INFO,ke.mediaInfo)}):ve===Y.STATISTICS_INFO&&(this._mediaElement!=null&&this._mediaElement.readyState!==0&&Promise.resolve().then(function(){ke._emitter.emit(Y.STATISTICS_INFO,ke.statisticsInfo)})),this._emitter.addListener(ve,_e)}},{key:"off",value:function(ve,_e){this._emitter.removeListener(ve,_e)}},{key:"attachMediaElement",value:function(ve){if(this._mediaElement=ve,ve.addEventListener("loadedmetadata",this.e.onvLoadedMetadata),this._pendingSeekTime!=null)try{ve.currentTime=this._pendingSeekTime,this._pendingSeekTime=null}catch(_e){}}},{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 c("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:"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(ve){this._mediaElement.volume=ve}},{key:"muted",get:function(){return this._mediaElement.muted},set:function(ve){this._mediaElement.muted=ve}},{key:"currentTime",get:function(){return this._mediaElement?this._mediaElement.currentTime:0},set:function(ve){this._mediaElement?this._mediaElement.currentTime=ve:this._pendingSeekTime=ve}},{key:"mediaInfo",get:function(){var ve=this._mediaElement instanceof HTMLAudioElement?"audio/":"video/",_e={mimeType:ve+this._mediaDataSource.type};return this._mediaElement&&(_e.duration=Math.floor(this._mediaElement.duration*1e3),this._mediaElement instanceof HTMLVideoElement&&(_e.width=this._mediaElement.videoWidth,_e.height=this._mediaElement.videoHeight)),_e}},{key:"statisticsInfo",get:function(){var ve={playerType:this._type,url:this._mediaDataSource.url};if(!(this._mediaElement instanceof HTMLVideoElement))return ve;var _e=!0,ke=0,rt=0;if(this._mediaElement.getVideoPlaybackQuality){var Wt=this._mediaElement.getVideoPlaybackQuality();ke=Wt.totalVideoFrames,rt=Wt.droppedVideoFrames}else this._mediaElement.webkitDecodedFrameCount!=null?(ke=this._mediaElement.webkitDecodedFrameCount,rt=this._mediaElement.webkitDroppedFrameCount):_e=!1;return _e&&(ve.decodedFrames=ke,ve.droppedFrames=rt),ve}},{key:"_onvLoadedMetadata",value:function(ve){this._pendingSeekTime!=null&&(this._mediaElement.currentTime=this._pendingSeekTime,this._pendingSeekTime=null),this._emitter.emit(Y.MEDIA_INFO,this.mediaInfo)}},{key:"_reportStatisticsInfo",value:function(){this._emitter.emit(Y.STATISTICS_INFO,this.statisticsInfo)}}]),$e}(),xr=qt;E.install();function vr($e,tt){var ve=$e;if(ve==null||typeof ve!="object")throw new e("MediaDataSource must be an javascript object!");if(!ve.hasOwnProperty("type"))throw new e("MediaDataSource must has type field to indicate video file type!");switch(ve.type){case"flv":return new Qe(ve,tt);default:return new xr(ve,tt)}}function fr(){return Z.supportMSEH264Playback()}function An(){return Z.getFeatureList()}var $r={};$r.createPlayer=vr,$r.isSupported=fr,$r.getFeatureList=An,$r.BaseLoader=f,$r.LoaderStatus=i,$r.LoaderErrors=u,$r.Events=Y,$r.ErrorTypes=nr,$r.ErrorDetails=Nt,$r.FlvPlayer=Qe,$r.NativePlayer=xr,$r.LoggingControl=se,Object.defineProperty($r,"version",{enumerable:!0,get:function(){return"__VERSION__"}});var Ln=z.a=$r},GVMX:function(ue,z,d){var O=d("JEkh"),_=O.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"}});ue.exports=_},GdRQ:function(ue,z,d){"use strict";function O(b){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(y){return typeof y}:O=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},O(b)}Object.defineProperty(z,"__esModule",{value:!0}),z.isMac=i,z.isWindows=u,z.isIOS=f,z.isSafari=m,z.isIE=A,z.isEdge=g,z.isFirefox=v,z.hasScrollbarGutter=z.supportsImageMetadata=z.supportsCursorURIs=z.dragThreshold=z.isTouchDevice=void 0;var _=E(d("Lo0S"));function I(){if(typeof WeakMap!="function")return null;var b=new WeakMap;return I=function(){return b},b}function E(b){if(b&&b.__esModule)return b;if(b===null||O(b)!=="object"&&typeof b!="function")return{default:b};var S=I();if(S&&S.has(b))return S.get(b);var y={},w=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var x in b)if(Object.prototype.hasOwnProperty.call(b,x)){var T=w?Object.getOwnPropertyDescriptor(b,x):null;T&&(T.get||T.set)?Object.defineProperty(y,x,T):y[x]=b[x]}return y.default=b,S&&S.set(b,y),y}var C="ontouchstart"in document.documentElement||document.ontouchstart!==void 0||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;z.isTouchDevice=C,window.addEventListener("touchstart",function b(){z.isTouchDevice=C=!0,window.removeEventListener("touchstart",b,!1)},!1);var t=10*(window.devicePixelRatio||1);z.dragThreshold=t;var p=!1;try{var h=document.createElement("canvas");h.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',h.style.cursor.indexOf("url")===0?(_.Info("Data URI scheme cursor supported"),p=!0):_.Warn("Data URI scheme cursor not supported")}catch(b){_.Error("Data URI scheme cursor test exception: "+b)}var o=p;z.supportsCursorURIs=o;var r=!1;try{new ImageData(new Uint8ClampedArray(4),1,1),r=!0}catch(b){}var s=r;z.supportsImageMetadata=s;var l=!0;try{var n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);var c=document.createElement("div");n.appendChild(c);var e=n.offsetWidth-c.offsetWidth;n.parentNode.removeChild(n),l=e!=0}catch(b){_.Error("Scrollbar test exception: "+b)}var a=l;z.hasScrollbarGutter=a;function i(){return navigator&&!!/mac/i.exec(navigator.platform)}function u(){return navigator&&!!/win/i.exec(navigator.platform)}function f(){return navigator&&(!!/ipad/i.exec(navigator.platform)||!!/iphone/i.exec(navigator.platform)||!!/ipod/i.exec(navigator.platform))}function m(){return navigator&&navigator.userAgent.indexOf("Safari")!==-1&&navigator.userAgent.indexOf("Chrome")===-1}function A(){return navigator&&!!/trident/i.exec(navigator.userAgent)}function g(){return navigator&&!!/edge/i.exec(navigator.userAgent)}function v(){return navigator&&!!/firefox/i.exec(navigator.userAgent)}},GeKi:function(ue,z,d){var O=d("bYtY"),_=d("6Ic6"),I=d("IwbS"),E=d("y+Vt"),C=d("sK/D"),t=C.createClipPath,p=["itemStyle"],h=["emphasis","itemStyle"],o=["color","color0","borderColor","borderColor0"],r=_.extend({type:"candlestick",render:function(m,A,g){this.group.removeClipPath(),this._updateDrawMode(m),this._isLargeDraw?this._renderLarge(m):this._renderNormal(m)},incrementalPrepareRender:function(m,A,g){this._clear(),this._updateDrawMode(m)},incrementalRender:function(m,A,g,v){this._isLargeDraw?this._incrementalRenderLarge(m,A):this._incrementalRenderNormal(m,A)},_updateDrawMode:function(m){var A=m.pipelineContext.large;(this._isLargeDraw==null||A^this._isLargeDraw)&&(this._isLargeDraw=A,this._clear())},_renderNormal:function(m){var A=m.getData(),g=this._data,v=this.group,b=A.getLayout("isSimpleBox"),S=m.get("clip",!0),y=m.coordinateSystem,w=y.getArea&&y.getArea();this._data||v.removeAll(),A.diff(g).add(function(x){if(A.hasValue(x)){var T,L=A.getItemLayout(x);if(S&&n(w,L))return;T=l(L,x,!0),I.initProps(T,{shape:{points:L.ends}},m,x),c(T,A,x,b),v.add(T),A.setItemGraphicEl(x,T)}}).update(function(x,T){var L=g.getItemGraphicEl(T);if(!A.hasValue(x)){v.remove(L);return}var R=A.getItemLayout(x);if(S&&n(w,R)){v.remove(L);return}L?I.updateProps(L,{shape:{points:R.ends}},m,x):L=l(R,x),c(L,A,x,b),v.add(L),A.setItemGraphicEl(x,L)}).remove(function(x){var T=g.getItemGraphicEl(x);T&&v.remove(T)}).execute(),this._data=A},_renderLarge:function(m){this._clear(),i(m,this.group);var A=m.get("clip",!0)?t(m.coordinateSystem,!1,m):null;A?this.group.setClipPath(A):this.group.removeClipPath()},_incrementalRenderNormal:function(m,A){for(var g=A.getData(),v=g.getLayout("isSimpleBox"),b;(b=m.next())!=null;){var S,y=g.getItemLayout(b);S=l(y,b),c(S,g,b,v),S.incremental=!0,this.group.add(S)}},_incrementalRenderLarge:function(m,A){i(A,this.group,!0)},remove:function(m){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:O.noop}),s=E.extend({type:"normalCandlestickBox",shape:{},buildPath:function(m,A){var g=A.points;this.__simpleBox?(m.moveTo(g[4][0],g[4][1]),m.lineTo(g[6][0],g[6][1])):(m.moveTo(g[0][0],g[0][1]),m.lineTo(g[1][0],g[1][1]),m.lineTo(g[2][0],g[2][1]),m.lineTo(g[3][0],g[3][1]),m.closePath(),m.moveTo(g[4][0],g[4][1]),m.lineTo(g[5][0],g[5][1]),m.moveTo(g[6][0],g[6][1]),m.lineTo(g[7][0],g[7][1]))}});function l(m,A,g){var v=m.ends;return new s({shape:{points:g?e(v,m):v},z2:100})}function n(m,A){for(var g=!0,v=0;v<A.ends.length;v++)if(m.contain(A.ends[v][0],A.ends[v][1])){g=!1;break}return g}function c(m,A,g,v){var b=A.getItemModel(g),S=b.getModel(p),y=A.getItemVisual(g,"color"),w=A.getItemVisual(g,"borderColor")||y,x=S.getItemStyle(o);m.useStyle(x),m.style.strokeNoScale=!0,m.style.fill=y,m.style.stroke=w,m.__simpleBox=v;var T=b.getModel(h).getItemStyle();I.setHoverStyle(m,T)}function e(m,A){return O.map(m,function(g){return g=g.slice(),g[1]=A.initBaseline,g})}var a=E.extend({type:"largeCandlestickBox",shape:{},buildPath:function(m,A){for(var g=A.points,v=0;v<g.length;)if(this.__sign===g[v++]){var b=g[v++];m.moveTo(b,g[v++]),m.lineTo(b,g[v++])}else v+=3}});function i(m,A,g){var v=m.getData(),b=v.getLayout("largePoints"),S=new a({shape:{points:b},__sign:1});A.add(S);var y=new a({shape:{points:b},__sign:-1});A.add(y),u(1,S,m,v),u(-1,y,m,v),g&&(S.incremental=!0,y.incremental=!0)}function u(m,A,g,v){var b=m>0?"P":"N",S=v.getVisual("borderColor"+b)||v.getVisual("color"+b),y=g.getModel(p).getItemStyle(o);A.useStyle(y),A.style.fill=null,A.style.stroke=S}var f=r;ue.exports=f},Gev7:function(ue,z,d){var O=d("bYtY"),_=d("K2GJ"),I=d("1bdT"),E=d("ni6a");function C(p){p=p||{},I.call(this,p);for(var h in p)p.hasOwnProperty(h)&&h!=="style"&&(this[h]=p[h]);this.style=new _(p.style,this),this._rect=null,this.__clipPaths=null}C.prototype={constructor:C,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(h){},afterBrush:function(h){},brush:function(h,o){},getBoundingRect:function(){},contain:function(h,o){return this.rectContain(h,o)},traverse:function(h,o){h.call(o,this)},rectContain:function(h,o){var r=this.transformCoordToLocal(h,o),s=this.getBoundingRect();return s.contain(r[0],r[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(h){return this.animate("style",h)},attrKV:function(h,o){h!=="style"?I.prototype.attrKV.call(this,h,o):this.style.set(o)},setStyle:function(h,o){return this.style.set(h,o),this.dirty(!1),this},useStyle:function(h){return this.style=new _(h,this),this.dirty(!1),this},calculateTextPosition:null},O.inherits(C,I),O.mixin(C,E);var t=C;ue.exports=t},GrNh:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("6Ic6");function E(r,s,l,n){var c=s.getData(),e=this.dataIndex,a=c.getName(e),i=s.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:r,name:a,seriesId:s.id}),c.each(function(u){C(c.getItemGraphicEl(u),c.getItemLayout(u),s.isSelected(c.getName(u)),i,l)})}function C(r,s,l,n,c){var e=(s.startAngle+s.endAngle)/2,a=Math.cos(e),i=Math.sin(e),u=l?n:0,f=[a*u,i*u];c?r.animate().when(200,{position:f}).start("bounceOut"):r.attr("position",f)}function t(r,s){_.Group.call(this);var l=new _.Sector({z2:2}),n=new _.Polyline,c=new _.Text;this.add(l),this.add(n),this.add(c),this.updateData(r,s,!0)}var p=t.prototype;p.updateData=function(r,s,l){var n=this.childAt(0),c=this.childAt(1),e=this.childAt(2),a=r.hostModel,i=r.getItemModel(s),u=r.getItemLayout(s),f=O.extend({},u);f.label=null;var m=a.getShallow("animationTypeUpdate");if(l){n.setShape(f);var A=a.getShallow("animationType");A==="scale"?(n.shape.r=u.r0,_.initProps(n,{shape:{r:u.r}},a,s)):(n.shape.endAngle=u.startAngle,_.updateProps(n,{shape:{endAngle:u.endAngle}},a,s))}else m==="expansion"?n.setShape(f):_.updateProps(n,{shape:f},a,s);var g=r.getItemVisual(s,"color");n.useStyle(O.defaults({lineJoin:"bevel",fill:g},i.getModel("itemStyle").getItemStyle())),n.hoverStyle=i.getModel("emphasis.itemStyle").getItemStyle();var v=i.getShallow("cursor");v&&n.attr("cursor",v),C(this,r.getItemLayout(s),a.isSelected(r.getName(s)),a.get("selectedOffset"),a.get("animation"));var b=!l&&m==="transition";this._updateLabel(r,s,b),this.highDownOnUpdate=a.get("silent")?null:function(S,y){var w=a.isAnimationEnabled()&&i.get("hoverAnimation");y==="emphasis"?(c.ignore=c.hoverIgnore,e.ignore=e.hoverIgnore,w&&(n.stopAnimation(!0),n.animateTo({shape:{r:u.r+a.get("hoverOffset")}},300,"elasticOut"))):(c.ignore=c.normalIgnore,e.ignore=e.normalIgnore,w&&(n.stopAnimation(!0),n.animateTo({shape:{r:u.r}},300,"elasticOut")))},_.setHoverStyle(this)},p._updateLabel=function(r,s,l){var n=this.childAt(1),c=this.childAt(2),e=r.hostModel,a=r.getItemModel(s),i=r.getItemLayout(s),u=i.label,f=r.getItemVisual(s,"color");if(!u||isNaN(u.x)||isNaN(u.y)){c.ignore=c.normalIgnore=c.hoverIgnore=n.ignore=n.normalIgnore=n.hoverIgnore=!0;return}var m={points:u.linePoints||[[u.x,u.y],[u.x,u.y],[u.x,u.y]]},A={x:u.x,y:u.y};l?(_.updateProps(n,{shape:m},e,s),_.updateProps(c,{style:A},e,s)):(n.attr({shape:m}),c.attr({style:A})),c.attr({rotation:u.rotation,origin:[u.x,u.y],z2:10});var g=a.getModel("label"),v=a.getModel("emphasis.label"),b=a.getModel("labelLine"),S=a.getModel("emphasis.labelLine"),f=r.getItemVisual(s,"color");_.setLabelStyle(c.style,c.hoverStyle={},g,v,{labelFetcher:r.hostModel,labelDataIndex:s,defaultText:u.text,autoColor:f,useInsideStyle:!!u.inside},{textAlign:u.textAlign,textVerticalAlign:u.verticalAlign,opacity:r.getItemVisual(s,"opacity")}),c.ignore=c.normalIgnore=!g.get("show"),c.hoverIgnore=!v.get("show"),n.ignore=n.normalIgnore=!b.get("show"),n.hoverIgnore=!S.get("show"),n.setStyle({stroke:f,opacity:r.getItemVisual(s,"opacity")}),n.setStyle(b.getModel("lineStyle").getLineStyle()),n.hoverStyle=S.getModel("lineStyle").getLineStyle();var y=b.get("smooth");y&&y===!0&&(y=.4),n.setShape({smooth:y})},O.inherits(t,_.Group);var h=I.extend({type:"pie",init:function(){var r=new _.Group;this._sectorGroup=r},render:function(r,s,l,n){if(n&&n.from===this.uid)return;var c=r.getData(),e=this._data,a=this.group,i=s.get("animation"),u=!e,f=r.get("animationType"),m=r.get("animationTypeUpdate"),A=O.curry(E,this.uid,r,i,l),g=r.get("selectedMode");if(c.diff(e).add(function(w){var x=new t(c,w);u&&f!=="scale"&&x.eachChild(function(T){T.stopAnimation(!0)}),g&&x.on("click",A),c.setItemGraphicEl(w,x),a.add(x)}).update(function(w,x){var T=e.getItemGraphicEl(x);!u&&m!=="transition"&&T.eachChild(function(L){L.stopAnimation(!0)}),T.updateData(c,w),T.off("click"),g&&T.on("click",A),a.add(T),c.setItemGraphicEl(w,T)}).remove(function(w){var x=e.getItemGraphicEl(w);a.remove(x)}).execute(),i&&c.count()>0&&(u?f!=="scale":m!=="transition")){for(var v=c.getItemLayout(0),b=1;isNaN(v.startAngle)&&b<c.count();++b)v=c.getItemLayout(b);var S=Math.max(l.getWidth(),l.getHeight())/2,y=O.bind(a.removeClipPath,a);a.setClipPath(this._createClipPath(v.cx,v.cy,S,v.startAngle,v.clockwise,y,r,u))}else a.removeClipPath();this._data=c},dispose:function(){},_createClipPath:function(r,s,l,n,c,e,a,i){var u=new _.Sector({shape:{cx:r,cy:s,r0:0,r:l,startAngle:n,endAngle:n,clockwise:c}}),f=i?_.initProps:_.updateProps;return f(u,{shape:{endAngle:n+(c?1:-1)*Math.PI*2}},a,e),u},containPoint:function(r,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var c=r[0]-n.cx,e=r[1]-n.cy,a=Math.sqrt(c*c+e*e);return a<=n.r&&a>=n.r0}}}),o=h;ue.exports=o},Gytx:function(ue,z){ue.exports=function(O,_,I,E){var C=I?I.call(E,O,_):void 0;if(C!==void 0)return!!C;if(O===_)return!0;if(typeof O!="object"||!O||typeof _!="object"||!_)return!1;var t=Object.keys(O),p=Object.keys(_);if(t.length!==p.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(_),o=0;o<t.length;o++){var r=t[o];if(!h(r))return!1;var s=O[r],l=_[r];if(C=I?I.call(E,s,l,r):void 0,C===!1||C===void 0&&s!==l)return!1}return!0}},GzdX:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("q1tI"),E=d.n(I),C=d("rePB"),t=d("1OyB"),p=d("vuIU"),h=d("Ji7U"),o=d("md7G"),r=d("foSv"),s=d("m+aA"),l=d("TSYQ"),n=d.n(l),c=d("4IlW");function e(M){var B=M.pageXOffset,j="scrollLeft";if(typeof B!="number"){var H=M.document;B=H.documentElement[j],typeof B!="number"&&(B=H.body[j])}return B}function a(M){var B,j,H=M.ownerDocument,K=H.body,W=H&&H.documentElement,X=M.getBoundingClientRect();return B=X.left,j=X.top,B-=W.clientLeft||K.clientLeft||0,j-=W.clientTop||K.clientTop||0,{left:B,top:j}}function i(M){var B=a(M),j=M.ownerDocument,H=j.defaultView||j.parentWindow;return B.left+=e(H),B.left}function u(M){var B=f();return function(){var H=Object(r.a)(M),K;if(B){var W=Object(r.a)(this).constructor;K=Reflect.construct(H,arguments,W)}else K=H.apply(this,arguments);return Object(o.a)(this,K)}}function f(){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(M){return!1}}var m=function(M){Object(h.a)(j,M);var B=u(j);function j(){var H;return Object(t.a)(this,j),H=B.apply(this,arguments),H.onHover=function(K){var W=H.props,X=W.onHover,V=W.index;X(K,V)},H.onClick=function(K){var W=H.props,X=W.onClick,V=W.index;X(K,V)},H.onKeyDown=function(K){var W=H.props,X=W.onClick,V=W.index;K.keyCode===13&&X(K,V)},H}return Object(p.a)(j,[{key:"getClassName",value:function(){var K=this.props,W=K.prefixCls,X=K.index,V=K.value,Z=K.allowHalf,G=K.focused,Y=X+1,te=W;return V===0&&X===0&&G?te+=" ".concat(W,"-focused"):Z&&V+.5>=Y&&V<Y?(te+=" ".concat(W,"-half ").concat(W,"-active"),G&&(te+=" ".concat(W,"-focused"))):(te+=Y<=V?" ".concat(W,"-full"):" ".concat(W,"-zero"),Y===V&&G&&(te+=" ".concat(W,"-focused"))),te}},{key:"render",value:function(){var K=this.onHover,W=this.onClick,X=this.onKeyDown,V=this.props,Z=V.disabled,G=V.prefixCls,Y=V.character,te=V.characterRender,se=V.index,Ce=V.count,he=V.value,xe=typeof Y=="function"?Y(this.props):Y,ie=E.a.createElement("li",{className:this.getClassName()},E.a.createElement("div",{onClick:Z?null:W,onKeyDown:Z?null:X,onMouseMove:Z?null:K,role:"radio","aria-checked":he>se?"true":"false","aria-posinset":se+1,"aria-setsize":Ce,tabIndex:Z?-1:0},E.a.createElement("div",{className:"".concat(G,"-first")},xe),E.a.createElement("div",{className:"".concat(G,"-second")},xe)));return te&&(ie=te(ie,this.props)),ie}}]),j}(E.a.Component);function A(M,B){var j=Object.keys(M);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(M);B&&(H=H.filter(function(K){return Object.getOwnPropertyDescriptor(M,K).enumerable})),j.push.apply(j,H)}return j}function g(M){for(var B=1;B<arguments.length;B++){var j=arguments[B]!=null?arguments[B]:{};B%2?A(Object(j),!0).forEach(function(H){Object(C.a)(M,H,j[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(j)):A(Object(j)).forEach(function(H){Object.defineProperty(M,H,Object.getOwnPropertyDescriptor(j,H))})}return M}function v(M){var B=b();return function(){var H=Object(r.a)(M),K;if(B){var W=Object(r.a)(this).constructor;K=Reflect.construct(H,arguments,W)}else K=H.apply(this,arguments);return Object(o.a)(this,K)}}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(M){return!1}}function S(){}var y=function(M){Object(h.a)(j,M);var B=v(j);function j(H){var K;Object(t.a)(this,j),K=B.call(this,H),K.onHover=function(X,V){var Z=K.props.onHoverChange,G=K.getStarValue(V,X.pageX),Y=K.state.cleanedValue;G!==Y&&K.setState({hoverValue:G,cleanedValue:null}),Z(G)},K.onMouseLeave=function(){var X=K.props.onHoverChange;K.setState({hoverValue:void 0,cleanedValue:null}),X(void 0)},K.onClick=function(X,V){var Z=K.props.allowClear,G=K.state.value,Y=K.getStarValue(V,X.pageX),te=!1;Z&&(te=Y===G),K.onMouseLeave(),K.changeValue(te?0:Y),K.setState({cleanedValue:te?Y:null})},K.onFocus=function(){var X=K.props.onFocus;K.setState({focused:!0}),X&&X()},K.onBlur=function(){var X=K.props.onBlur;K.setState({focused:!1}),X&&X()},K.onKeyDown=function(X){var V=X.keyCode,Z=K.props,G=Z.count,Y=Z.allowHalf,te=Z.onKeyDown,se=Z.direction,Ce=se==="rtl",he=K.state.value;V===c.a.RIGHT&&he<G&&!Ce?(Y?he+=.5:he+=1,K.changeValue(he),X.preventDefault()):V===c.a.LEFT&&he>0&&!Ce||V===c.a.RIGHT&&he>0&&Ce?(Y?he-=.5:he-=1,K.changeValue(he),X.preventDefault()):V===c.a.LEFT&&he<G&&Ce&&(Y?he+=.5:he+=1,K.changeValue(he),X.preventDefault()),te&&te(X)},K.saveRef=function(X){return function(V){K.stars[X]=V}},K.saveRate=function(X){K.rate=X};var W=H.value;return W===void 0&&(W=H.defaultValue),K.stars={},K.state={value:W,focused:!1,cleanedValue:null},K}return Object(p.a)(j,[{key:"componentDidMount",value:function(){var K=this.props,W=K.autoFocus,X=K.disabled;W&&!X&&this.focus()}},{key:"getStarDOM",value:function(K){return Object(s.a)(this.stars[K])}},{key:"getStarValue",value:function(K,W){var X=this.props,V=X.allowHalf,Z=X.direction,G=Z==="rtl",Y=K+1;if(V){var te=this.getStarDOM(K),se=i(te),Ce=te.clientWidth;(G&&W-se>Ce/2||!G&&W-se<Ce/2)&&(Y-=.5)}return Y}},{key:"focus",value:function(){var K=this.props.disabled;K||this.rate.focus()}},{key:"blur",value:function(){var K=this.props.disabled;K||this.rate.blur()}},{key:"changeValue",value:function(K){var W=this.props.onChange;"value"in this.props||this.setState({value:K}),W(K)}},{key:"render",value:function(){for(var K=this.props,W=K.count,X=K.allowHalf,V=K.style,Z=K.prefixCls,G=K.disabled,Y=K.className,te=K.character,se=K.characterRender,Ce=K.tabIndex,he=K.direction,xe=this.state,ie=xe.value,ee=xe.hoverValue,Ze=xe.focused,Se=[],Ne=G?"".concat(Z,"-disabled"):"",it=0;it<W;it+=1)Se.push(E.a.createElement(m,{ref:this.saveRef(it),index:it,count:W,disabled:G,prefixCls:"".concat(Z,"-star"),allowHalf:X,value:ee===void 0?ie:ee,onClick:this.onClick,onHover:this.onHover,key:it,character:te,characterRender:se,focused:Ze}));var Ye=n()(Z,Ne,Y,Object(C.a)({},"".concat(Z,"-rtl"),he==="rtl"));return E.a.createElement("ul",{className:Ye,style:V,onMouseLeave:G?null:this.onMouseLeave,tabIndex:G?-1:Ce,onFocus:G?null:this.onFocus,onBlur:G?null:this.onBlur,onKeyDown:G?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Se)}}],[{key:"getDerivedStateFromProps",value:function(K,W){return"value"in K&&K.value!==void 0?g(g({},W),{},{value:K.value}):W}}]),j}(E.a.Component);y.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:S,character:"\u2605",onHoverChange:S,tabIndex:0,direction:"ltr"};var w=y,x=w,T=d("Lerx"),L=d.n(T),R=d("3S7+"),P=d("H84U"),k=function(M,B){var j={};for(var H in M)Object.prototype.hasOwnProperty.call(M,H)&&B.indexOf(H)<0&&(j[H]=M[H]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,H=Object.getOwnPropertySymbols(M);K<H.length;K++)B.indexOf(H[K])<0&&Object.prototype.propertyIsEnumerable.call(M,H[K])&&(j[H[K]]=M[H[K]]);return j},U=I.forwardRef(function(M,B){var j=M.prefixCls,H=M.tooltips,K=k(M,["prefixCls","tooltips"]),W=function(te,se){var Ce=se.index;return H?I.createElement(R.a,{title:H[Ce]},te):te},X=I.useContext(P.b),V=X.getPrefixCls,Z=X.direction,G=V("rate",j);return I.createElement(x,_()({ref:B,characterRender:W},K,{prefixCls:G,direction:Z}))});U.displayName="Rate",U.defaultProps={character:I.createElement(L.a,null)};var D=z.a=U},H6uX:function(ue,z){var d=Array.prototype.slice,O=function(t){this._$handlers={},this._$eventProcessor=t};O.prototype={constructor:O,one:function(t,p,h,o){return I(this,t,p,h,o,!0)},on:function(t,p,h,o){return I(this,t,p,h,o,!1)},isSilent:function(t){var p=this._$handlers;return!p[t]||!p[t].length},off:function(t,p){var h=this._$handlers;if(!t)return this._$handlers={},this;if(p){if(h[t]){for(var o=[],r=0,s=h[t].length;r<s;r++)h[t][r].h!==p&&o.push(h[t][r]);h[t]=o}h[t]&&h[t].length===0&&delete h[t]}else delete h[t];return this},trigger:function(t){var p=this._$handlers[t],h=this._$eventProcessor;if(p){var o=arguments,r=o.length;r>3&&(o=d.call(o,1));for(var s=p.length,l=0;l<s;){var n=p[l];if(h&&h.filter&&n.query!=null&&!h.filter(t,n.query)){l++;continue}switch(r){case 1:n.h.call(n.ctx);break;case 2:n.h.call(n.ctx,o[1]);break;case 3:n.h.call(n.ctx,o[1],o[2]);break;default:n.h.apply(n.ctx,o);break}n.one?(p.splice(l,1),s--):l++}}return h&&h.afterTrigger&&h.afterTrigger(t),this},triggerWithContext:function(t){var p=this._$handlers[t],h=this._$eventProcessor;if(p){var o=arguments,r=o.length;r>4&&(o=d.call(o,1,o.length-1));for(var s=o[o.length-1],l=p.length,n=0;n<l;){var c=p[n];if(h&&h.filter&&c.query!=null&&!h.filter(t,c.query)){n++;continue}switch(r){case 1:c.h.call(s);break;case 2:c.h.call(s,o[1]);break;case 3:c.h.call(s,o[1],o[2]);break;default:c.h.apply(s,o);break}c.one?(p.splice(n,1),l--):n++}}return h&&h.afterTrigger&&h.afterTrigger(t),this}};function _(C,t){var p=C._$eventProcessor;return t!=null&&p&&p.normalizeQuery&&(t=p.normalizeQuery(t)),t}function I(C,t,p,h,o,r){var s=C._$handlers;if(typeof p=="function"&&(o=h,h=p,p=null),!h||!t)return C;p=_(C,p),s[t]||(s[t]=[]);for(var l=0;l<s[t].length;l++)if(s[t][l].h===h)return C;var n={h,one:r,query:p,ctx:o||C,callAtLast:h.zrEventfulCallAtLast},c=s[t].length-1,e=s[t][c];return e&&e.callAtLast?s[t].splice(c,0,n):s[t].push(n),C}var E=O;ue.exports=E},HBhm:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},"HF/U":function(ue,z,d){var O=d("QBsz");function _(E){var C=E.coordinateSystem;if(C&&C.type!=="view")return;var t=E.getGraph();t.eachNode(function(p){var h=p.getModel();p.setLayout([+h.get("x"),+h.get("y")])}),I(t)}function I(E){E.eachEdge(function(C){var t=C.getModel().get("lineStyle.curveness")||0,p=O.clone(C.node1.getLayout()),h=O.clone(C.node2.getLayout()),o=[p,h];+t&&o.push([(p[0]+h[0])/2-(p[1]-h[1])*t,(p[1]+h[1])/2-(h[0]-p[0])*t]),C.setLayout(o)})}z.simpleLayout=_,z.simpleLayoutEdge=I},"HM/N":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("/SeX"),C=d("OELB"),t=C.parsePercent,p=d("aX7z"),h=p.createScaleByModel,o=p.niceScaleExtent,r=d("IDmD"),s=d("7hqr"),l=s.getStackedDimension;d("ePAk");function n(i,u,f){var m=u.get("center"),A=f.getWidth(),g=f.getHeight();i.cx=t(m[0],A),i.cy=t(m[1],g);var v=i.getRadiusAxis(),b=Math.min(A,g)/2,S=u.get("radius");S==null?S=[0,"100%"]:I.isArray(S)||(S=[0,S]),S=[t(S[0],b),t(S[1],b)],v.inverse?v.setExtent(S[1],S[0]):v.setExtent(S[0],S[1])}function c(i,u){var f=this,m=f.getAngleAxis(),A=f.getRadiusAxis();if(m.scale.setExtent(Infinity,-Infinity),A.scale.setExtent(Infinity,-Infinity),i.eachSeries(function(b){if(b.coordinateSystem===f){var S=b.getData();I.each(S.mapDimension("radius",!0),function(y){A.scale.unionExtentFromData(S,l(S,y))}),I.each(S.mapDimension("angle",!0),function(y){m.scale.unionExtentFromData(S,l(S,y))})}}),o(m.scale,m.model),o(A.scale,A.model),m.type==="category"&&!m.onBand){var g=m.getExtent(),v=360/m.scale.count();m.inverse?g[1]+=v:g[1]-=v,m.setExtent(g[0],g[1])}}function e(i,u){if(i.type=u.get("type"),i.scale=h(u),i.onBand=u.get("boundaryGap")&&i.type==="category",i.inverse=u.get("inverse"),u.mainType==="angleAxis"){i.inverse^=u.get("clockwise");var f=u.get("startAngle");i.setExtent(f,f+(i.inverse?-360:360))}u.axis=i,i.model=u}var a={dimensions:E.prototype.dimensions,create:function(i,u){var f=[];return i.eachComponent("polar",function(m,A){var g=new E(A);g.update=c;var v=g.getRadiusAxis(),b=g.getAngleAxis(),S=m.findAxisModel("radiusAxis"),y=m.findAxisModel("angleAxis");e(v,S),e(b,y),n(g,m,u),f.push(g),m.coordinateSystem=g,g.model=m}),i.eachSeries(function(m){if(m.get("coordinateSystem")==="polar"){var A=i.queryComponents({mainType:"polar",index:m.get("polarIndex"),id:m.get("polarId")})[0];m.coordinateSystem=A.coordinateSystem}}),f}};r.register("polar",a)},HQEm:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("Sj0X"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},HjIi:function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=_.parsePercent,E=d("7hqr"),C=E.isDimensionStacked;function t(s){return s.get("stack")||"__ec_stack_"+s.seriesIndex}function p(s,l){return l.dim+s.model.componentIndex}function h(s,l,n){var c={},e=o(O.filter(l.getSeriesByType(s),function(a){return!l.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));l.eachSeriesByType(s,function(a){if(a.coordinateSystem.type!=="polar")return;var i=a.getData(),u=a.coordinateSystem,f=u.getBaseAxis(),m=p(u,f),A=t(a),g=e[m][A],v=g.offset,b=g.width,S=u.getOtherAxis(f),y=a.coordinateSystem.cx,w=a.coordinateSystem.cy,x=a.get("barMinHeight")||0,T=a.get("barMinAngle")||0;c[A]=c[A]||[];for(var L=i.mapDimension(S.dim),R=i.mapDimension(f.dim),P=C(i,L),k=f.dim!=="radius"||!a.get("roundCap",!0),U=S.getExtent()[0],D=0,M=i.count();D<M;D++){var B=i.get(L,D),j=i.get(R,D),H=B>=0?"p":"n",K=U;P&&(c[A][j]||(c[A][j]={p:U,n:U}),K=c[A][j][H]);var W,X,V,Z;if(S.dim==="radius"){var G=S.dataToRadius(B)-U,Y=f.dataToAngle(j);Math.abs(G)<x&&(G=(G<0?-1:1)*x),W=K,X=K+G,V=Y-v,Z=V-b,P&&(c[A][j][H]=X)}else{var te=S.dataToAngle(B,k)-U,se=f.dataToRadius(j);Math.abs(te)<T&&(te=(te<0?-1:1)*T),W=se+v,X=W+b,V=K,Z=K+te,P&&(c[A][j][H]=Z)}i.setItemLayout(D,{cx:y,cy:w,r0:W,r:X,startAngle:-V*Math.PI/180,endAngle:-Z*Math.PI/180})}},this)}function o(s,l){var n={};O.each(s,function(e,a){var i=e.getData(),u=e.coordinateSystem,f=u.getBaseAxis(),m=p(u,f),A=f.getExtent(),g=f.type==="category"?f.getBandWidth():Math.abs(A[1]-A[0])/i.count(),v=n[m]||{bandWidth:g,remainedWidth:g,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},b=v.stacks;n[m]=v;var S=t(e);b[S]||v.autoWidthCount++,b[S]=b[S]||{width:0,maxWidth:0};var y=I(e.get("barWidth"),g),w=I(e.get("barMaxWidth"),g),x=e.get("barGap"),T=e.get("barCategoryGap");y&&!b[S].width&&(y=Math.min(v.remainedWidth,y),b[S].width=y,v.remainedWidth-=y),w&&(b[S].maxWidth=w),x!=null&&(v.gap=x),T!=null&&(v.categoryGap=T)});var c={};return O.each(n,function(e,a){c[a]={};var i=e.stacks,u=e.bandWidth,f=I(e.categoryGap,u),m=I(e.gap,1),A=e.remainedWidth,g=e.autoWidthCount,v=(A-f)/(g+(g-1)*m);v=Math.max(v,0),O.each(i,function(w,x){var T=w.maxWidth;T&&T<v&&(T=Math.min(T,A),w.width&&(T=Math.min(T,w.width)),A-=T,w.width=T,g--)}),v=(A-f)/(g+(g-1)*m),v=Math.max(v,0);var b=0,S;O.each(i,function(w,x){w.width||(w.width=v),S=w,b+=w.width*(1+m)}),S&&(b-=S.width*m);var y=-b/2;O.each(i,function(w,x){c[a][x]=c[a][x]||{offset:y,width:w.width},y+=w.width*(1+m)})}),c}var r=h;ue.exports=r},HjOm:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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"},_=O;z.default=_},Hw7h:function(ue,z,d){var O=d("y+Vt"),_=O.extend({type:"echartsGaugePointer",shape:{angle:0,width:10,r:10,x:0,y:0},buildPath:function(I,E){var C=Math.cos,t=Math.sin,p=E.r,h=E.width,o=E.angle,r=E.x-C(o)*h*(h>=p/3?1:2),s=E.y-t(o)*h*(h>=p/3?1:2);o=E.angle-Math.PI/2,I.moveTo(r,s),I.lineTo(E.x+C(o)*h,E.y+t(o)*h),I.lineTo(E.x+C(E.angle)*p,E.y+t(E.angle)*p),I.lineTo(E.x-C(o)*h,E.y-t(o)*h),I.lineTo(r,s);return}});ue.exports=_},Hxpc:function(ue,z,d){var O=d("bYtY"),_=d("4NO4"),I=d("bLfw"),E=d("Qxkt"),C=d("cCMj"),t=d("7uqq"),p=I.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(o){I.prototype.init.apply(this,arguments),_.defaultEmphasis(o,"label",["show"])},optionUpdated:function(){var o=this.option,r=this;o.regions=t.getFilledRegions(o.regions,o.map,o.nameMap),this._optionModelMap=O.reduce(o.regions||[],function(s,l){return l.name&&s.set(l.name,new E(l,r)),s},O.createHashMap()),this.updateSelectedMap(o.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(o){return this._optionModelMap.get(o)||new E(null,this,this.ecModel)},getFormattedLabel:function(o,r){var s=this.getRegionModel(o),l=s.get("label"+(r==="normal"?".":r+".")+"formatter"),n={name:o};if(typeof l=="function")return n.status=r,l(n);if(typeof l=="string")return l.replace("{a}",o!=null?o:"")},setZoom:function(o){this.option.zoom=o},setCenter:function(o){this.option.center=o}});O.mixin(p,C);var h=p;ue.exports=h},"I+77":function(ue,z,d){var O=d("ProS");d("h54F"),d("lwQL"),d("10cm");var _=d("Z1r0"),I=d("f5Yq"),E=d("KUOm"),C=d("3m61"),t=d("01d+"),p=d("rdor"),h=d("WGYa"),o=d("ewwo");O.registerProcessor(_),O.registerVisual(I("graph","circle",null)),O.registerVisual(E),O.registerVisual(C),O.registerLayout(t),O.registerLayout(O.PRIORITY.VISUAL.POST_CHART_LAYOUT,p),O.registerLayout(h),O.registerCoordinateSystem("graphView",{create:o})},"I+Bx":function(ue,z,d){var O=d("bYtY"),_=d("eIcI"),I=d("ieMj"),E=d("OELB"),C=d("aX7z"),t=C.getScaleExtent,p=C.niceScaleExtent,h=d("IDmD"),o=d("jCoz");function r(l,n,c){this._model=l,this.dimensions=[],this._indicatorAxes=O.map(l.getIndicatorModels(),function(e,a){var i="indicator_"+a,u=new _(i,e.get("axisType")==="log"?new o:new I);return u.name=e.get("name"),u.model=e,e.axis=u,this.dimensions.push(i),u},this),this.resize(l,c),this.cx,this.cy,this.r,this.r0,this.startAngle}r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(l,n){var c=this._indicatorAxes[n];return this.coordToPoint(c.dataToCoord(l),n)},r.prototype.coordToPoint=function(l,n){var c=this._indicatorAxes[n],e=c.angle,a=this.cx+l*Math.cos(e),i=this.cy-l*Math.sin(e);return[a,i]},r.prototype.pointToData=function(l){var n=l[0]-this.cx,c=l[1]-this.cy,e=Math.sqrt(n*n+c*c);n/=e,c/=e;for(var a=Math.atan2(-c,n),i=Infinity,u,f=-1,m=0;m<this._indicatorAxes.length;m++){var A=this._indicatorAxes[m],g=Math.abs(a-A.angle);g<i&&(u=A,f=m,i=g)}return[f,+(u&&u.coordToData(e))]},r.prototype.resize=function(l,n){var c=l.get("center"),e=n.getWidth(),a=n.getHeight(),i=Math.min(e,a)/2;this.cx=E.parsePercent(c[0],e),this.cy=E.parsePercent(c[1],a),this.startAngle=l.get("startAngle")*Math.PI/180;var u=l.get("radius");(typeof u=="string"||typeof u=="number")&&(u=[0,u]),this.r0=E.parsePercent(u[0],i),this.r=E.parsePercent(u[1],i),O.each(this._indicatorAxes,function(f,m){f.setExtent(this.r0,this.r);var A=this.startAngle+m*Math.PI*2/this._indicatorAxes.length;A=Math.atan2(Math.sin(A),Math.cos(A)),f.angle=A},this)},r.prototype.update=function(l,n){var c=this._indicatorAxes,e=this._model;O.each(c,function(u){u.scale.setExtent(Infinity,-Infinity)}),l.eachSeriesByType("radar",function(u,f){if(u.get("coordinateSystem")!=="radar"||l.getComponent("radar",u.get("radarIndex"))!==e)return;var m=u.getData();O.each(c,function(A){A.scale.unionExtentFromData(m,m.mapDimension(A.dim))})},this);var a=e.get("splitNumber");function i(u){var f=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),m=u/f;return m===2?m=5:m*=2,m*f}O.each(c,function(u,f){var m=t(u.scale,u.model).extent;p(u.scale,u.model);var A=u.model,g=u.scale,v=A.getMin(),b=A.getMax(),S=g.getInterval();if(v!=null&&b!=null)g.setExtent(+v,+b),g.setInterval((b-v)/a);else if(v!=null){var y;do y=v+S*a,g.setExtent(+v,y),g.setInterval(S),S=i(S);while(y<m[1]&&isFinite(y)&&isFinite(m[1]))}else if(b!=null){var w;do w=b-S*a,g.setExtent(w,+b),g.setInterval(S),S=i(S);while(w>m[0]&&isFinite(w)&&isFinite(m[0]))}else{var x=g.getTicks().length-1;x>a&&(S=i(S));var y=Math.ceil(m[1]/S)*S,w=E.round(y-S*a);g.setExtent(w,y),g.setInterval(S)}})},r.dimensions=[],r.create=function(l,n){var c=[];return l.eachComponent("radar",function(e){var a=new r(e,l,n);c.push(a),e.coordinateSystem=a}),l.eachSeriesByType("radar",function(e){e.get("coordinateSystem")==="radar"&&(e.coordinateSystem=c[e.get("radarIndex")||0])}),c},h.register("radar",r);var s=r;ue.exports=s},"I3/A":function(ue,z,d){var O=d("bYtY"),_=d("YXkt"),I=d("c2i1"),E=d("Mdki"),C=d("sdST"),t=d("IDmD"),p=d("MwEJ");function h(o,r,s,l,n){for(var c=new I(l),e=0;e<o.length;e++)c.addNode(O.retrieve(o[e].id,o[e].name,e),e);for(var a=[],i=[],u=0,e=0;e<r.length;e++){var f=r[e],m=f.source,A=f.target;c.addEdge(m,A,u)&&(i.push(f),a.push(O.retrieve(f.id,m+" > "+A)),u++)}var g=s.get("coordinateSystem"),v;if(g==="cartesian2d"||g==="polar")v=p(o,s);else{var b=t.get(g),S=b&&b.type!=="view"?b.dimensions||[]:[];O.indexOf(S,"value")<0&&S.concat(["value"]);var y=C(o,{coordDimensions:S});v=new _(y,s),v.initData(o)}var w=new _(["value"],s);return w.initData(i,a),n&&n(v,w),E({mainData:v,struct:c,structAttr:"graph",datas:{node:v,edge:w},datasAttr:{node:"data",edge:"edgeData"}}),c.update(),c}ue.exports=h},I8Z2:function(ue,z,d){"use strict";d.d(z,"a",function(){return E}),d.d(z,"b",function(){return n}),d.d(z,"c",function(){return e});var O=d("q1tI"),_=function(){var a=function(u,f){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,A){m.__proto__=A}||function(m,A){for(var g in A)A.hasOwnProperty(g)&&(m[g]=A[g])},a(u,f)};return function(i,u){a(i,u);function f(){this.constructor=i}i.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}}(),I=O.createContext(null),E=function(a){_(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.render=function(){return O.createElement(I.Provider,{value:this.props.store},this.props.children)},i}(O.Component),C=d("Gytx"),t=d.n(C),p=d("2mql"),h=d.n(p),o=function(){var a=function(u,f){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,A){m.__proto__=A}||function(m,A){for(var g in A)A.hasOwnProperty(g)&&(m[g]=A[g])},a(u,f)};return function(i,u){a(i,u);function f(){this.constructor=i}i.prototype=u===null?Object.create(u):(f.prototype=u.prototype,new f)}}(),r=function(){return r=Object.assign||function(a){for(var i,u=1,f=arguments.length;u<f;u++){i=arguments[u];for(var m in i)Object.prototype.hasOwnProperty.call(i,m)&&(a[m]=i[m])}return a},r.apply(this,arguments)};function s(a){return a.displayName||a.name||"Component"}var l=function(){return{}};function n(a,i){i===void 0&&(i={});var u=!!a,f=a||l;return function(A){var g=function(b){o(S,b);function S(y,w){var x=b.call(this,y,w)||this;return x.unsubscribe=null,x.handleChange=function(){if(!x.unsubscribe)return;var T=f(x.store.getState(),x.props);x.setState({subscribed:T})},x.store=x.context,x.state={subscribed:f(x.store.getState(),y),store:x.store,props:y},x}return S.getDerivedStateFromProps=function(y,w){return a&&a.length===2&&y!==w.props?{subscribed:f(w.store.getState(),y),props:y}:{props:y}},S.prototype.componentDidMount=function(){this.trySubscribe()},S.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},S.prototype.shouldComponentUpdate=function(y,w){return!t()(this.props,y)||!t()(this.state.subscribed,w.subscribed)},S.prototype.trySubscribe=function(){u&&(this.unsubscribe=this.store.subscribe(this.handleChange),this.handleChange())},S.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},S.prototype.render=function(){var y=r(r(r({},this.props),this.state.subscribed),{store:this.store});return O.createElement(A,r({},y,{ref:this.props.miniStoreForwardedRef}))},S.displayName="Connect("+s(A)+")",S.contextType=I,S}(O.Component);if(i.forwardRef){var v=O.forwardRef(function(b,S){return O.createElement(g,r({},b,{miniStoreForwardedRef:S}))});return h()(v,A)}return h()(g,A)}}var c=function(){return c=Object.assign||function(a){for(var i,u=1,f=arguments.length;u<f;u++){i=arguments[u];for(var m in i)Object.prototype.hasOwnProperty.call(i,m)&&(a[m]=i[m])}return a},c.apply(this,arguments)};function e(a){var i=a,u=[];function f(g){i=c(c({},i),g);for(var v=0;v<u.length;v++)u[v]()}function m(){return i}function A(g){return u.push(g),function(){var b=u.indexOf(g);u.splice(b,1)}}return{setState:f,getState:m,subscribe:A}}},"I9Y+":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("4xFK")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="DoubleRightOutlined";var h=E.forwardRef(p);z.default=h},ICMv:function(ue,z,d){var O=d("bYtY"),_={getMin:function(I){var E=this.option,C=!I&&E.rangeStart!=null?E.rangeStart:E.min;return this.axis&&C!=null&&C!=="dataMin"&&typeof C!="function"&&!O.eqNaN(C)&&(C=this.axis.scale.parse(C)),C},getMax:function(I){var E=this.option,C=!I&&E.rangeEnd!=null?E.rangeEnd:E.max;return this.axis&&C!=null&&C!=="dataMax"&&typeof C!="function"&&!O.eqNaN(C)&&(C=this.axis.scale.parse(C)),C},getNeedCrossZero:function(){var I=this.option;return I.rangeStart!=null||I.rangeEnd!=null?!1:!I.scale},getCoordSysModel:O.noop,setRange:function(I,E){this.option.rangeStart=I,this.option.rangeEnd=E},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}};ue.exports=_},"ID/q":function(ue,z,d){"use strict";d.d(z,"a",function(){return E});var O=d("cDf5"),_=d.n(O);function I(C,t){typeof C=="function"?C(t):_()(C)==="object"&&C&&"current"in C&&(C.current=t)}function E(){for(var C=arguments.length,t=new Array(C),p=0;p<C;p++)t[p]=arguments[p];return function(h){t.forEach(function(o){I(o,h)})}}},IDmD:function(ue,z,d){var O=d("bYtY"),_={};function I(){this._coordinateSystems=[]}I.prototype={constructor:I,create:function(C,t){var p=[];O.each(_,function(h,o){var r=h.create(C,t);p=p.concat(r||[])}),this._coordinateSystems=p},update:function(C,t){O.each(this._coordinateSystems,function(p){p.update&&p.update(C,t)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},I.register=function(C,t){_[C]=t},I.get=function(C){return _[C]};var E=I;ue.exports=E},IMiH:function(ue,z,d){var O=d("Sj9i"),_=d("QBsz"),I=d("4mN7"),E=d("mFDi"),C=d("LPTA"),t=C.devicePixelRatio,p={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},h=[],o=[],r=[],s=[],l=Math.min,n=Math.max,c=Math.cos,e=Math.sin,a=Math.sqrt,i=Math.abs,u=typeof Float32Array!="undefined",f=function(g){this._saveData=!(g||!1),this._saveData&&(this.data=[]),this._ctx=null};f.prototype={constructor:f,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(g,v,b){b=b||0,this._ux=i(b/t/g)||0,this._uy=i(b/t/v)||0},getContext:function(){return this._ctx},beginPath:function(g){return this._ctx=g,g&&g.beginPath(),g&&(this.dpr=g.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(g,v){return this.addData(p.M,g,v),this._ctx&&this._ctx.moveTo(g,v),this._x0=g,this._y0=v,this._xi=g,this._yi=v,this},lineTo:function(g,v){var b=i(g-this._xi)>this._ux||i(v-this._yi)>this._uy||this._len<5;return this.addData(p.L,g,v),this._ctx&&b&&(this._needsDash()?this._dashedLineTo(g,v):this._ctx.lineTo(g,v)),b&&(this._xi=g,this._yi=v),this},bezierCurveTo:function(g,v,b,S,y,w){return this.addData(p.C,g,v,b,S,y,w),this._ctx&&(this._needsDash()?this._dashedBezierTo(g,v,b,S,y,w):this._ctx.bezierCurveTo(g,v,b,S,y,w)),this._xi=y,this._yi=w,this},quadraticCurveTo:function(g,v,b,S){return this.addData(p.Q,g,v,b,S),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(g,v,b,S):this._ctx.quadraticCurveTo(g,v,b,S)),this._xi=b,this._yi=S,this},arc:function(g,v,b,S,y,w){return this.addData(p.A,g,v,b,b,S,y-S,0,w?0:1),this._ctx&&this._ctx.arc(g,v,b,S,y,w),this._xi=c(y)*b+g,this._yi=e(y)*b+v,this},arcTo:function(g,v,b,S,y){return this._ctx&&this._ctx.arcTo(g,v,b,S,y),this},rect:function(g,v,b,S){return this._ctx&&this._ctx.rect(g,v,b,S),this.addData(p.R,g,v,b,S),this},closePath:function(){this.addData(p.Z);var g=this._ctx,v=this._x0,b=this._y0;return g&&(this._needsDash()&&this._dashedLineTo(v,b),g.closePath()),this._xi=v,this._yi=b,this},fill:function(g){g&&g.fill(),this.toStatic()},stroke:function(g){g&&g.stroke(),this.toStatic()},setLineDash:function(g){if(g instanceof Array){this._lineDash=g,this._dashIdx=0;for(var v=0,b=0;b<g.length;b++)v+=g[b];this._dashSum=v}return this},setLineDashOffset:function(g){return this._dashOffset=g,this},len:function(){return this._len},setData:function(g){var v=g.length;!(this.data&&this.data.length===v)&&u&&(this.data=new Float32Array(v));for(var b=0;b<v;b++)this.data[b]=g[b];this._len=v},appendPath:function(g){g instanceof Array||(g=[g]);for(var v=g.length,b=0,S=this._len,y=0;y<v;y++)b+=g[y].len();u&&this.data instanceof Float32Array&&(this.data=new Float32Array(S+b));for(var y=0;y<v;y++)for(var w=g[y].data,x=0;x<w.length;x++)this.data[S++]=w[x];this._len=S},addData:function(g){if(!this._saveData)return;var v=this.data;this._len+arguments.length>v.length&&(this._expandData(),v=this.data);for(var b=0;b<arguments.length;b++)v[this._len++]=arguments[b];this._prevCmd=g},_expandData:function(){if(!(this.data instanceof Array)){for(var g=[],v=0;v<this._len;v++)g[v]=this.data[v];this.data=g}},_needsDash:function(){return this._lineDash},_dashedLineTo:function(g,v){var b=this._dashSum,S=this._dashOffset,y=this._lineDash,w=this._ctx,x=this._xi,T=this._yi,L=g-x,R=v-T,P=a(L*L+R*R),k=x,U=T,D,M=y.length,B;for(L/=P,R/=P,S<0&&(S=b+S),S%=b,k-=S*L,U-=S*R;L>0&&k<=g||L<0&&k>=g||L===0&&(R>0&&U<=v||R<0&&U>=v);){if(B=this._dashIdx,D=y[B],k+=L*D,U+=R*D,this._dashIdx=(B+1)%M,L>0&&k<x||L<0&&k>x||R>0&&U<T||R<0&&U>T)continue;w[B%2?"moveTo":"lineTo"](L>=0?l(k,g):n(k,g),R>=0?l(U,v):n(U,v))}L=k-g,R=U-v,this._dashOffset=-a(L*L+R*R)},_dashedBezierTo:function(g,v,b,S,y,w){var x=this._dashSum,T=this._dashOffset,L=this._lineDash,R=this._ctx,P=this._xi,k=this._yi,U,D,M,B=O.cubicAt,j=0,H=this._dashIdx,K=L.length,W,X,V=0;for(T<0&&(T=x+T),T%=x,U=0;U<1;U+=.1)D=B(P,g,b,y,U+.1)-B(P,g,b,y,U),M=B(k,v,S,w,U+.1)-B(k,v,S,w,U),j+=a(D*D+M*M);for(;H<K&&!(V+=L[H],V>T);H++);for(U=(V-T)/j;U<=1;)W=B(P,g,b,y,U),X=B(k,v,S,w,U),H%2?R.moveTo(W,X):R.lineTo(W,X),U+=L[H]/j,H=(H+1)%K;H%2!==0&&R.lineTo(y,w),D=y-W,M=w-X,this._dashOffset=-a(D*D+M*M)},_dashedQuadraticTo:function(g,v,b,S){var y=b,w=S;b=(b+2*g)/3,S=(S+2*v)/3,g=(this._xi+2*g)/3,v=(this._yi+2*v)/3,this._dashedBezierTo(g,v,b,S,y,w)},toStatic:function(){var g=this.data;g instanceof Array&&(g.length=this._len,u&&(this.data=new Float32Array(g)))},getBoundingRect:function(){h[0]=h[1]=r[0]=r[1]=Number.MAX_VALUE,o[0]=o[1]=s[0]=s[1]=-Number.MAX_VALUE;for(var g=this.data,v=0,b=0,S=0,y=0,w=0;w<g.length;){var x=g[w++];w===1&&(v=g[w],b=g[w+1],S=v,y=b);switch(x){case p.M:S=g[w++],y=g[w++],v=S,b=y,r[0]=S,r[1]=y,s[0]=S,s[1]=y;break;case p.L:I.fromLine(v,b,g[w],g[w+1],r,s),v=g[w++],b=g[w++];break;case p.C:I.fromCubic(v,b,g[w++],g[w++],g[w++],g[w++],g[w],g[w+1],r,s),v=g[w++],b=g[w++];break;case p.Q:I.fromQuadratic(v,b,g[w++],g[w++],g[w],g[w+1],r,s),v=g[w++],b=g[w++];break;case p.A:var T=g[w++],L=g[w++],R=g[w++],P=g[w++],k=g[w++],U=g[w++]+k;w+=1;var D=1-g[w++];w===1&&(S=c(k)*R+T,y=e(k)*P+L),I.fromArc(T,L,R,P,k,U,D,r,s),v=c(U)*R+T,b=e(U)*P+L;break;case p.R:S=v=g[w++],y=b=g[w++];var M=g[w++],B=g[w++];I.fromLine(S,y,S+M,y+B,r,s);break;case p.Z:v=S,b=y;break}_.min(h,h,r),_.max(o,o,s)}return w===0&&(h[0]=h[1]=o[0]=o[1]=0),new E(h[0],h[1],o[0]-h[0],o[1]-h[1])},rebuildPath:function(g){for(var v=this.data,b,S,y,w,x,T,L=this._ux,R=this._uy,P=this._len,k=0;k<P;){var U=v[k++];k===1&&(y=v[k],w=v[k+1],b=y,S=w);switch(U){case p.M:b=y=v[k++],S=w=v[k++],g.moveTo(y,w);break;case p.L:x=v[k++],T=v[k++],(i(x-y)>L||i(T-w)>R||k===P-1)&&(g.lineTo(x,T),y=x,w=T);break;case p.C:g.bezierCurveTo(v[k++],v[k++],v[k++],v[k++],v[k++],v[k++]),y=v[k-2],w=v[k-1];break;case p.Q:g.quadraticCurveTo(v[k++],v[k++],v[k++],v[k++]),y=v[k-2],w=v[k-1];break;case p.A:var D=v[k++],M=v[k++],B=v[k++],j=v[k++],H=v[k++],K=v[k++],W=v[k++],X=v[k++],V=B>j?B:j,Z=B>j?1:B/j,G=B>j?j/B:1,Y=Math.abs(B-j)>.001,te=H+K;Y?(g.translate(D,M),g.rotate(W),g.scale(Z,G),g.arc(0,0,V,H,te,1-X),g.scale(1/Z,1/G),g.rotate(-W),g.translate(-D,-M)):g.arc(D,M,V,H,te,1-X),k===1&&(b=c(H)*B+D,S=e(H)*j+M),y=c(te)*B+D,w=e(te)*j+M;break;case p.R:b=y=v[k],S=w=v[k+1],g.rect(v[k++],v[k++],v[k++],v[k++]);break;case p.Z:g.closePath(),y=b,w=S}}}},f.CMD=p;var m=f;ue.exports=m},IUWy:function(ue,z){var d={};function O(I,E){d[I]=E}function _(I){return d[I]}z.register=O,z.get=_},IWNH:function(ue,z,d){var O=d("T4UG"),_=d("Bsck"),I=d("7aKB"),E=I.encodeHTML,C=d("Qxkt"),t=O.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(p){var h={name:p.name,children:p.data},o=p.leaves||{},r=new C(o,this,this.ecModel),s=_.createTree(h,this,{},l);function l(a){a.wrapMethod("getItemModel",function(i,u){var f=s.getNodeByDataIndex(u);return(!f.children.length||!f.isExpand)&&(i.parentModel=r),i})}var n=0;s.eachNode("preorder",function(a){a.depth>n&&(n=a.depth)});var c=p.expandAndCollapse,e=c&&p.initialTreeDepth>=0?p.initialTreeDepth:n;return s.root.eachNode("preorder",function(a){var i=a.hostTree.data.getRawDataItem(a.dataIndex);a.isExpand=i&&i.collapsed!=null?!i.collapsed:a.depth<=e}),s.data},getOrient:function(){var p=this.get("orient");return p==="horizontal"?p="LR":p==="vertical"&&(p="TB"),p},setZoom:function(p){this.option.zoom=p},setCenter:function(p){this.option.center=p},formatTooltip:function(p){for(var h=this.getData().tree,o=h.root.children[0],r=h.getNodeByDataIndex(p),s=r.getValue(),l=r.name;r&&r!==o;)l=r.parentNode.name+"."+l,r=r.parentNode;return E(l+(isNaN(s)||s==null?"":" : "+s))},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}});ue.exports=t},IWp7:function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=d("7aKB"),E=d("lE7J"),C=d("ieMj"),t=C.prototype,p=Math.ceil,h=Math.floor,o=1e3,r=o*60,s=r*60,l=s*24,n=function(i,u,f,m){for(;f<m;){var A=f+m>>>1;i[A][1]<u?f=A+1:m=A}return f},c=C.extend({type:"time",getLabel:function(i){var u=this._stepLvl,f=new Date(i);return I.formatTime(u[0],f,this.getSetting("useUTC"))},niceExtent:function(i){var u=this._extent;if(u[0]===u[1]&&(u[0]-=l,u[1]+=l),u[1]===-Infinity&&u[0]===Infinity){var f=new Date;u[1]=+new Date(f.getFullYear(),f.getMonth(),f.getDate()),u[0]=u[1]-l}this.niceTicks(i.splitNumber,i.minInterval,i.maxInterval);var m=this._interval;i.fixMin||(u[0]=_.round(h(u[0]/m)*m)),i.fixMax||(u[1]=_.round(p(u[1]/m)*m))},niceTicks:function(i,u,f){i=i||10;var m=this._extent,A=m[1]-m[0],g=A/i;u!=null&&g<u&&(g=u),f!=null&&g>f&&(g=f);var v=e.length,b=n(e,g,0,v),S=e[Math.min(b,v-1)],y=S[1];if(S[0]==="year"){var w=A/y,x=_.nice(w/i,!0);y*=x}var T=this.getSetting("useUTC")?0:new Date(+m[0]||+m[1]).getTimezoneOffset()*60*1e3,L=[Math.round(p((m[0]-T)/y)*y+T),Math.round(h((m[1]-T)/y)*y+T)];E.fixExtent(L,m),this._stepLvl=S,this._interval=y,this._niceExtent=L},parse:function(i){return+_.parseDate(i)}});O.each(["contain","normalize"],function(i){c.prototype[i]=function(u){return t[i].call(this,this.parse(u))}});var e=[["hh:mm:ss",o],["hh:mm:ss",o*5],["hh:mm:ss",o*10],["hh:mm:ss",o*15],["hh:mm:ss",o*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`,s],[`hh:mm
MM-dd`,s*2],[`hh:mm
MM-dd`,s*6],[`hh:mm
MM-dd`,s*12],[`MM-dd
yyyy`,l],[`MM-dd
yyyy`,l*2],[`MM-dd
yyyy`,l*3],[`MM-dd
yyyy`,l*4],[`MM-dd
yyyy`,l*5],[`MM-dd
yyyy`,l*6],["week",l*7],[`MM-dd
yyyy`,l*10],["week",l*14],["week",l*21],["month",l*31],["week",l*42],["month",l*62],["week",l*70],["quarter",l*95],["month",l*31*4],["month",l*31*5],["half-year",l*380/2],["month",l*31*8],["month",l*31*10],["year",l*380]];c.create=function(i){return new c({useUTC:i.ecModel.get("useUTC")})};var a=c;ue.exports=a},IXuL:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("MwEJ"),E=d("T4UG"),C=E.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,p){return I(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}});ue.exports=C},IXyC:function(ue,z,d){var O=d("bYtY"),_=d("bLfw");d("3zoK");var I=_.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(){_.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(E){var C=this.option;E&&O.merge(C,E,!0),this._initDimensions()},contains:function(E,C){var t=E.get("parallelIndex");return t!=null&&C.getComponent("parallel",t)===this},setAxisExpand:function(E){O.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(C){E.hasOwnProperty(C)&&(this.option[C]=E[C])},this)},_initDimensions:function(){var E=this.dimensions=[],C=this.parallelAxisIndex=[],t=O.filter(this.dependentModels.parallelAxis,function(p){return(p.get("parallelIndex")||0)===this.componentIndex},this);O.each(t,function(p){E.push("dim"+p.get("dim")),C.push(p.componentIndex)})}});ue.exports=I},ItGF:function(ue,z){var d={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?d={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document=="undefined"&&typeof self!="undefined"?d={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator=="undefined"?d={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:d=_(navigator.userAgent);var O=d;function _(I){var E={},C={},t=I.match(/Firefox\/([\d.]+)/),p=I.match(/MSIE\s([\d.]+)/)||I.match(/Trident\/.+?rv:(([\d.]+))/),h=I.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(I);return t&&(C.firefox=!0,C.version=t[1]),p&&(C.ie=!0,C.version=p[1]),h&&(C.edge=!0,C.version=h[1]),o&&(C.weChat=!0),{browser:C,os:E,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect!="undefined",touchEventsSupported:"ontouchstart"in window&&!C.ie&&!C.edge,pointerEventsSupported:"onpointerdown"in window&&(C.edge||C.ie&&C.version>=11),domSupported:typeof document!="undefined"}}ue.exports=O},ItS6:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=d("eP3c"),_=I(d("1q3G"));function I(h){return h&&h.__esModule?h:{default:h}}function E(h,o){if(!(h instanceof o))throw new TypeError("Cannot call a class as a function")}function C(h,o){for(var r=0;r<o.length;r++){var s=o[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(h,s.key,s)}}function t(h,o,r){return o&&C(h.prototype,o),r&&C(h,r),h}var p=function(){function h(){E(this,h),this.strm=new _.default,this.chunkSize=1024*10*10,this.strm.output=new Uint8Array(this.chunkSize),this.windowBits=5,(0,O.inflateInit)(this.strm,this.windowBits)}return t(h,[{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 s=(0,O.inflate)(this.strm,0);if(s<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,O.inflateReset)(this.strm)}}]),h}();z.default=p},Itpr:function(ue,z,d){var O=d("+TT/");function _(e){e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var a=[e],i,u;i=a.pop();)if(u=i.children,i.isExpand&&u.length)for(var f=u.length,m=f-1;m>=0;m--){var A=u[m];A.hierNode={defaultAncestor:null,ancestor:A,prelim:0,modifier:0,change:0,shift:0,i:m,thread:null},a.push(A)}}function I(e,a){var i=e.isExpand?e.children:[],u=e.parentNode.children,f=e.hierNode.i?u[e.hierNode.i-1]:null;if(i.length){h(e);var m=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;f?(e.hierNode.prelim=f.hierNode.prelim+a(e,f),e.hierNode.modifier=e.hierNode.prelim-m):e.hierNode.prelim=m}else f&&(e.hierNode.prelim=f.hierNode.prelim+a(e,f));e.parentNode.hierNode.defaultAncestor=o(e,f,e.parentNode.hierNode.defaultAncestor||u[0],a)}function E(e){var a=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:a},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function C(e){return arguments.length?e:c}function t(e,a){var i={};return e-=Math.PI/2,i.x=a*Math.cos(e),i.y=a*Math.sin(e),i}function p(e,a){return O.getLayoutRect(e.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})}function h(e){for(var a=e.children,i=a.length,u=0,f=0;--i>=0;){var m=a[i];m.hierNode.prelim+=u,m.hierNode.modifier+=u,f+=m.hierNode.change,u+=m.hierNode.shift+f}}function o(e,a,i,u){if(a){for(var f=e,m=e,A=m.parentNode.children[0],g=a,v=f.hierNode.modifier,b=m.hierNode.modifier,S=A.hierNode.modifier,y=g.hierNode.modifier;g=r(g),m=s(m),g&&m;){f=r(f),A=s(A),f.hierNode.ancestor=e;var w=g.hierNode.prelim+y-m.hierNode.prelim-b+u(g,m);w>0&&(n(l(g,e,i),e,w),b+=w,v+=w),y+=g.hierNode.modifier,b+=m.hierNode.modifier,v+=f.hierNode.modifier,S+=A.hierNode.modifier}g&&!r(f)&&(f.hierNode.thread=g,f.hierNode.modifier+=y-v),m&&!s(A)&&(A.hierNode.thread=m,A.hierNode.modifier+=b-S,i=e)}return i}function r(e){var a=e.children;return a.length&&e.isExpand?a[a.length-1]:e.hierNode.thread}function s(e){var a=e.children;return a.length&&e.isExpand?a[0]:e.hierNode.thread}function l(e,a,i){return e.hierNode.ancestor.parentNode===a.parentNode?e.hierNode.ancestor:i}function n(e,a,i){var u=i/(a.hierNode.i-e.hierNode.i);a.hierNode.change-=u,a.hierNode.shift+=i,a.hierNode.modifier+=i,a.hierNode.prelim+=i,e.hierNode.change+=u}function c(e,a){return e.parentNode===a.parentNode?1:2}z.init=_,z.firstWalk=I,z.secondWalk=E,z.separation=C,z.radialCoordinate=t,z.getViewRect=p},IwbS:function(ue,z,d){var O=d("bYtY"),_=d("NC18"),I=d("Qe9p"),E=d("Fofx"),C=d("QBsz"),t=d("y+Vt"),p=d("DN4a"),h=d("Dagg");z.Image=h;var o=d("4fz+");z.Group=o;var r=d("dqUG");z.Text=r;var s=d("2fw6");z.Circle=s;var l=d("SqI9");z.Sector=l;var n=d("RXMa");z.Ring=n;var c=d("h7HQ");z.Polygon=c;var e=d("1Jh7");z.Polyline=e;var a=d("x6Kt");z.Rect=a;var i=d("yxFR");z.Line=i;var u=d("rA99");z.BezierCurve=u;var f=d("jTL6");z.Arc=f;var m=d("1MYJ");z.CompoundPath=m;var A=d("SKnc");z.LinearGradient=A;var g=d("3e3G");z.RadialGradient=g;var v=d("mFDi");z.BoundingRect=v;var b=d("OS9S");z.IncrementalDisplayable=b;var S=d("nPnh"),y=Math.max,w=Math.min,x={},T=1,L={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},R="emphasis",P="normal",k=1,U={},D={};function M(ot){return t.extend(ot)}function B(ot,Qe){return _.extendFromString(ot,Qe)}function j(ot,Qe){D[ot]=Qe}function H(ot){if(D.hasOwnProperty(ot))return D[ot]}function K(ot,Qe,qt,xr){var vr=_.createFromString(ot,Qe);return qt&&(xr==="center"&&(qt=X(qt,vr.getBoundingRect())),Z(vr,qt)),vr}function W(ot,Qe,qt){var xr=new h({style:{image:ot,x:Qe.x,y:Qe.y,width:Qe.width,height:Qe.height},onload:function(vr){if(qt==="center"){var fr={width:vr.width,height:vr.height};xr.setStyle(X(Qe,fr))}}});return xr}function X(ot,Qe){var qt=Qe.width/Qe.height,xr=ot.height*qt,vr;xr<=ot.width?vr=ot.height:(xr=ot.width,vr=xr/qt);var fr=ot.x+ot.width/2,An=ot.y+ot.height/2;return{x:fr-xr/2,y:An-vr/2,width:xr,height:vr}}var V=_.mergePath;function Z(ot,Qe){if(!ot.applyTransform)return;var qt=ot.getBoundingRect(),xr=qt.calculateTransform(Qe);ot.applyTransform(xr)}function G(ot){return S.subPixelOptimizeLine(ot.shape,ot.shape,ot.style),ot}function Y(ot){return S.subPixelOptimizeRect(ot.shape,ot.shape,ot.style),ot}var te=S.subPixelOptimize;function se(ot){return ot!=null&&ot!=="none"}var Ce=O.createHashMap(),he=0;function xe(ot){if(typeof ot!="string")return ot;var Qe=Ce.get(ot);return Qe||(Qe=I.lift(ot,-.1),he<1e4&&(Ce.set(ot,Qe),he++)),Qe}function ie(ot){if(!ot.__hoverStlDirty)return;ot.__hoverStlDirty=!1;var Qe=ot.__hoverStl;if(!Qe){ot.__cachedNormalStl=ot.__cachedNormalZ2=null;return}var qt=ot.__cachedNormalStl={};ot.__cachedNormalZ2=ot.z2;var xr=ot.style;for(var vr in Qe)Qe[vr]!=null&&(qt[vr]=xr[vr]);qt.fill=xr.fill,qt.stroke=xr.stroke}function ee(ot){var Qe=ot.__hoverStl;if(!Qe||ot.__highlighted)return;var qt=ot.__zr,xr=ot.useHoverLayer&&qt&&qt.painter.type==="canvas";if(ot.__highlighted=xr?"layer":"plain",ot.isGroup||!qt&&ot.useHoverLayer)return;var vr=ot,fr=ot.style;xr&&(vr=qt.addHover(ot),fr=vr.style),Tt(fr),xr||ie(vr),fr.extendFrom(Qe),Ze(fr,Qe,"fill"),Ze(fr,Qe,"stroke"),xt(fr),xr||(ot.dirty(!1),ot.z2+=T)}function Ze(ot,Qe,qt){!se(Qe[qt])&&se(ot[qt])&&(ot[qt]=xe(ot[qt]))}function Se(ot){var Qe=ot.__highlighted;if(!Qe)return;if(ot.__highlighted=!1,ot.isGroup)return;if(Qe==="layer")ot.__zr&&ot.__zr.removeHover(ot);else{var qt=ot.style,xr=ot.__cachedNormalStl;xr&&(Tt(qt),ot.setStyle(xr),xt(qt));var vr=ot.__cachedNormalZ2;vr!=null&&ot.z2-vr===T&&(ot.z2=vr)}}function Ne(ot,Qe,qt){var xr=P,vr=P,fr;ot.__highlighted&&(xr=R,fr=!0),Qe(ot,qt),ot.__highlighted&&(vr=R,fr=!0),ot.isGroup&&ot.traverse(function(An){!An.isGroup&&Qe(An,qt)}),fr&&ot.__highDownOnUpdate&&ot.__highDownOnUpdate(xr,vr)}function it(ot,Qe){Qe=ot.__hoverStl=Qe!==!1&&(ot.hoverStyle||Qe||{}),ot.__hoverStlDirty=!0,ot.__highlighted&&(ot.__cachedNormalStl=null,Se(ot),ee(ot))}function Ye(ot){!He(this,ot)&&!this.__highByOuter&&Ne(this,ee)}function nt(ot){!He(this,ot)&&!this.__highByOuter&&Ne(this,Se)}function je(ot){this.__highByOuter|=1<<(ot||0),Ne(this,ee)}function et(ot){!(this.__highByOuter&=~(1<<(ot||0)))&&Ne(this,Se)}function He(ot,Qe){return ot.__highDownSilentOnTouch&&Qe.zrByTouch}function pe(ot,Qe){ae(ot,!0),Ne(ot,it,Qe)}function ae(ot,Qe){var qt=Qe===!1;if(ot.__highDownSilentOnTouch=ot.highDownSilentOnTouch,ot.__highDownOnUpdate=ot.highDownOnUpdate,!qt||ot.__highDownDispatcher){var xr=qt?"off":"on";ot[xr]("mouseover",Ye)[xr]("mouseout",nt),ot[xr]("emphasis",je)[xr]("normal",et),ot.__highByOuter=ot.__highByOuter||0,ot.__highDownDispatcher=!qt}}function re(ot){return!!(ot&&ot.__highDownDispatcher)}function be(ot){var Qe=U[ot];return Qe==null&&k<=32&&(Qe=U[ot]=k++),Qe}function ze(ot,Qe,qt,xr,vr,fr,An){vr=vr||x;var $r=vr.labelFetcher,Ln=vr.labelDataIndex,$e=vr.labelDimIndex,tt=vr.labelProp,ve=qt.getShallow("show"),_e=xr.getShallow("show"),ke;(ve||_e)&&($r&&(ke=$r.getFormattedLabel(Ln,"normal",null,$e,tt)),ke==null&&(ke=O.isFunction(vr.defaultText)?vr.defaultText(Ln,vr):vr.defaultText));var rt=ve?ke:null,Wt=_e?O.retrieve2($r?$r.getFormattedLabel(Ln,"emphasis",null,$e,tt):null,ke):null;(rt!=null||Wt!=null)&&(Te(ot,qt,fr,vr),Te(Qe,xr,An,vr,!0)),ot.text=rt,Qe.text=Wt}function Ke(ot,Qe,qt){var xr=ot.style;Qe&&(Tt(xr),ot.setStyle(Qe),xt(xr)),xr=ot.__hoverStl,qt&&xr&&(Tt(xr),O.extend(xr,qt),xt(xr))}function Te(ot,Qe,qt,xr,vr){return Ue(ot,Qe,xr,vr),qt&&O.extend(ot,qt),ot}function gt(ot,Qe,qt){var xr={isRectText:!0},vr;qt===!1?vr=!0:xr.autoColor=qt,Ue(ot,Qe,xr,vr)}function Ue(ot,Qe,qt,xr){if(qt=qt||x,qt.isRectText){var vr;qt.getTextPosition?vr=qt.getTextPosition(Qe,xr):(vr=Qe.getShallow("position")||(xr?null:"inside"),vr==="outside"&&(vr="top")),ot.textPosition=vr,ot.textOffset=Qe.getShallow("offset");var fr=Qe.getShallow("rotate");fr!=null&&(fr*=Math.PI/180),ot.textRotation=fr,ot.textDistance=O.retrieve2(Qe.getShallow("distance"),xr?null:5)}var An=Qe.ecModel,$r=An&&An.option.textStyle,Ln=bt(Qe),$e;if(Ln){$e={};for(var tt in Ln)if(Ln.hasOwnProperty(tt)){var ve=Qe.getModel(["rich",tt]);wt($e[tt]={},ve,$r,qt,xr)}}return ot.rich=$e,wt(ot,Qe,$r,qt,xr,!0),qt.forceRich&&!qt.textStyle&&(qt.textStyle={}),ot}function bt(ot){for(var Qe;ot&&ot!==ot.ecModel;){var qt=(ot.option||x).rich;if(qt){Qe=Qe||{};for(var xr in qt)qt.hasOwnProperty(xr)&&(Qe[xr]=1)}ot=ot.parentModel}return Qe}function wt(ot,Qe,qt,xr,vr,fr){qt=!vr&&qt||x,ot.textFill=Et(Qe.getShallow("color"),xr)||qt.color,ot.textStroke=Et(Qe.getShallow("textBorderColor"),xr)||qt.textBorderColor,ot.textStrokeWidth=O.retrieve2(Qe.getShallow("textBorderWidth"),qt.textBorderWidth),vr||(fr&&(ot.insideRollbackOpt=xr,xt(ot)),ot.textFill==null&&(ot.textFill=xr.autoColor)),ot.fontStyle=Qe.getShallow("fontStyle")||qt.fontStyle,ot.fontWeight=Qe.getShallow("fontWeight")||qt.fontWeight,ot.fontSize=Qe.getShallow("fontSize")||qt.fontSize,ot.fontFamily=Qe.getShallow("fontFamily")||qt.fontFamily,ot.textAlign=Qe.getShallow("align"),ot.textVerticalAlign=Qe.getShallow("verticalAlign")||Qe.getShallow("baseline"),ot.textLineHeight=Qe.getShallow("lineHeight"),ot.textWidth=Qe.getShallow("width"),ot.textHeight=Qe.getShallow("height"),ot.textTag=Qe.getShallow("tag"),(!fr||!xr.disableBox)&&(ot.textBackgroundColor=Et(Qe.getShallow("backgroundColor"),xr),ot.textPadding=Qe.getShallow("padding"),ot.textBorderColor=Et(Qe.getShallow("borderColor"),xr),ot.textBorderWidth=Qe.getShallow("borderWidth"),ot.textBorderRadius=Qe.getShallow("borderRadius"),ot.textBoxShadowColor=Qe.getShallow("shadowColor"),ot.textBoxShadowBlur=Qe.getShallow("shadowBlur"),ot.textBoxShadowOffsetX=Qe.getShallow("shadowOffsetX"),ot.textBoxShadowOffsetY=Qe.getShallow("shadowOffsetY")),ot.textShadowColor=Qe.getShallow("textShadowColor")||qt.textShadowColor,ot.textShadowBlur=Qe.getShallow("textShadowBlur")||qt.textShadowBlur,ot.textShadowOffsetX=Qe.getShallow("textShadowOffsetX")||qt.textShadowOffsetX,ot.textShadowOffsetY=Qe.getShallow("textShadowOffsetY")||qt.textShadowOffsetY}function Et(ot,Qe){return ot!=="auto"?ot:Qe&&Qe.autoColor?Qe.autoColor:null}function xt(ot){var Qe=ot.textPosition,qt=ot.insideRollbackOpt,xr;if(qt&&ot.textFill==null){var vr=qt.autoColor,fr=qt.isRectText,An=qt.useInsideStyle,$r=An!==!1&&(An===!0||fr&&Qe&&typeof Qe=="string"&&Qe.indexOf("inside")>=0),Ln=!$r&&vr!=null;($r||Ln)&&(xr={textFill:ot.textFill,textStroke:ot.textStroke,textStrokeWidth:ot.textStrokeWidth}),$r&&(ot.textFill="#fff",ot.textStroke==null&&(ot.textStroke=vr,ot.textStrokeWidth==null&&(ot.textStrokeWidth=2))),Ln&&(ot.textFill=vr)}ot.insideRollback=xr}function Tt(ot){var Qe=ot.insideRollback;Qe&&(ot.textFill=Qe.textFill,ot.textStroke=Qe.textStroke,ot.textStrokeWidth=Qe.textStrokeWidth,ot.insideRollback=null)}function Be(ot,Qe){var qt=Qe&&Qe.getModel("textStyle");return O.trim([ot.fontStyle||qt&&qt.getShallow("fontStyle")||"",ot.fontWeight||qt&&qt.getShallow("fontWeight")||"",(ot.fontSize||qt&&qt.getShallow("fontSize")||12)+"px",ot.fontFamily||qt&&qt.getShallow("fontFamily")||"sans-serif"].join(" "))}function ce(ot,Qe,qt,xr,vr,fr){typeof vr=="function"&&(fr=vr,vr=null);var An=xr&&xr.isAnimationEnabled();if(An){var $r=ot?"Update":"",Ln=xr.getShallow("animationDuration"+$r),$e=xr.getShallow("animationEasing"+$r),tt=xr.getShallow("animationDelay"+$r);typeof tt=="function"&&(tt=tt(vr,xr.getAnimationDelayParams?xr.getAnimationDelayParams(Qe,vr):null)),typeof Ln=="function"&&(Ln=Ln(vr)),Ln>0?Qe.animateTo(qt,Ln,tt||0,$e,fr,!!fr):(Qe.stopAnimation(),Qe.attr(qt),fr&&fr())}else Qe.stopAnimation(),Qe.attr(qt),fr&&fr()}function q(ot,Qe,qt,xr,vr){ce(!0,ot,Qe,qt,xr,vr)}function dt(ot,Qe,qt,xr,vr){ce(!1,ot,Qe,qt,xr,vr)}function Ve(ot,Qe){for(var qt=E.identity([]);ot&&ot!==Qe;)E.mul(qt,ot.getLocalTransform(),qt),ot=ot.parent;return qt}function de(ot,Qe,qt){return Qe&&!O.isArrayLike(Qe)&&(Qe=p.getLocalTransform(Qe)),qt&&(Qe=E.invert([],Qe)),C.applyTransform([],ot,Qe)}function Ht(ot,Qe,qt){var xr=Qe[4]===0||Qe[5]===0||Qe[0]===0?1:Math.abs(2*Qe[4]/Qe[0]),vr=Qe[4]===0||Qe[5]===0||Qe[2]===0?1:Math.abs(2*Qe[4]/Qe[2]),fr=[ot==="left"?-xr:ot==="right"?xr:0,ot==="top"?-vr:ot==="bottom"?vr:0];return fr=de(fr,Qe,qt),Math.abs(fr[0])>Math.abs(fr[1])?fr[0]>0?"right":"left":fr[1]>0?"bottom":"top"}function tr(ot,Qe,qt,xr){if(!ot||!Qe)return;function vr($r){var Ln={};return $r.traverse(function($e){!$e.isGroup&&$e.anid&&(Ln[$e.anid]=$e)}),Ln}function fr($r){var Ln={position:C.clone($r.position),rotation:$r.rotation};return $r.shape&&(Ln.shape=O.extend({},$r.shape)),Ln}var An=vr(ot);Qe.traverse(function($r){if(!$r.isGroup&&$r.anid){var Ln=An[$r.anid];if(Ln){var $e=fr($r);$r.attr(fr(Ln)),q($r,$e,qt,$r.dataIndex)}}})}function lt(ot,Qe){return O.map(ot,function(qt){var xr=qt[0];xr=y(xr,Qe.x),xr=w(xr,Qe.x+Qe.width);var vr=qt[1];return vr=y(vr,Qe.y),vr=w(vr,Qe.y+Qe.height),[xr,vr]})}function Xt(ot,Qe){var qt=y(ot.x,Qe.x),xr=w(ot.x+ot.width,Qe.x+Qe.width),vr=y(ot.y,Qe.y),fr=w(ot.y+ot.height,Qe.y+Qe.height);if(xr>=qt&&fr>=vr)return{x:qt,y:vr,width:xr-qt,height:fr-vr}}function sr(ot,Qe,qt){Qe=O.extend({rectHover:!0},Qe);var xr=Qe.style={strokeNoScale:!0};if(qt=qt||{x:-1,y:-1,width:2,height:2},ot)return ot.indexOf("image://")===0?(xr.image=ot.slice(8),O.defaults(xr,qt),new h(Qe)):K(ot.replace("path://",""),Qe,qt,"center")}function Kr(ot,Qe,qt,xr,vr){for(var fr=0,An=vr[vr.length-1];fr<vr.length;fr++){var $r=vr[fr];if(rr(ot,Qe,qt,xr,$r[0],$r[1],An[0],An[1]))return!0;An=$r}}function rr(ot,Qe,qt,xr,vr,fr,An,$r){var Ln=qt-ot,$e=xr-Qe,tt=An-vr,ve=$r-fr,_e=nr(tt,ve,Ln,$e);if(Nt(_e))return!1;var ke=ot-vr,rt=Qe-fr,Wt=nr(ke,rt,Ln,$e)/_e;if(Wt<0||Wt>1)return!1;var Bt=nr(ke,rt,tt,ve)/_e;return!(Bt<0||Bt>1)}function nr(ot,Qe,qt,xr){return ot*xr-qt*Qe}function Nt(ot){return ot<=1e-6&&ot>=-1e-6}j("circle",s),j("sector",l),j("ring",n),j("polygon",c),j("polyline",e),j("rect",a),j("line",i),j("bezierCurve",u),j("arc",f),z.Z2_EMPHASIS_LIFT=T,z.CACHED_LABEL_STYLE_PROPERTIES=L,z.extendShape=M,z.extendPath=B,z.registerShape=j,z.getShapeClass=H,z.makePath=K,z.makeImage=W,z.mergePath=V,z.resizePath=Z,z.subPixelOptimizeLine=G,z.subPixelOptimizeRect=Y,z.subPixelOptimize=te,z.setElementHoverStyle=it,z.setHoverStyle=pe,z.setAsHighDownDispatcher=ae,z.isHighDownDispatcher=re,z.getHighlightDigit=be,z.setLabelStyle=ze,z.modifyLabelStyle=Ke,z.setTextStyle=Te,z.setText=gt,z.getFont=Be,z.updateProps=q,z.initProps=dt,z.getTransform=Ve,z.applyTransform=de,z.transformDirection=Ht,z.groupTransition=tr,z.clipPointsByRect=lt,z.clipRectByRect=Xt,z.createIcon=sr,z.linePolygonIntersect=Kr,z.lineLineIntersect=rr},IyUQ:function(ue,z,d){var O=d("bYtY"),_=d("YH21"),I=d("IwbS"),E=d("iLNv"),C=d("fc+c"),t=d("OELB"),p=d("+TT/"),h=d("72pK"),o=I.Rect,r=t.linearMap,s=t.asc,l=O.bind,n=O.each,c=7,e=1,a=30,i="horizontal",u="vertical",f=5,m=["line","bar","candlestick","scatter"],A=C.extend({type:"dataZoom.slider",init:function(S,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(S,y,w,x){if(A.superApply(this,"render",arguments),E.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=S.get("orient"),this.dataZoomModel.get("show")===!1){this.group.removeAll();return}(!x||x.type!=="dataZoom"||x.from!==this.uid)&&this._buildView(),this._updateView()},remove:function(){A.superApply(this,"remove",arguments),E.clear(this,"_dispatchZoomAction")},dispose:function(){A.superApply(this,"dispose",arguments),E.clear(this,"_dispatchZoomAction")},_buildView:function(){var S=this.group;S.removeAll(),this._resetLocation(),this._resetInterval();var y=this._displayables.barGroup=new I.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),S.add(y),this._positionGroup()},_resetLocation:function(){var S=this.dataZoomModel,y=this.api,w=this._findCoordRect(),x={width:y.getWidth(),height:y.getHeight()},T=this._orient===i?{right:x.width-w.x-w.width,top:x.height-a-c,width:w.width,height:a}:{right:c,top:w.y,width:a,height:w.height},L=p.getLayoutParams(S.option);O.each(["right","top","width","height"],function(P){L[P]==="ph"&&(L[P]=T[P])});var R=p.getLayoutRect(L,x,S.padding);this._location={x:R.x,y:R.y},this._size=[R.width,R.height],this._orient===u&&this._size.reverse()},_positionGroup:function(){var S=this.group,y=this._location,w=this._orient,x=this.dataZoomModel.getFirstTargetAxisModel(),T=x&&x.get("inverse"),L=this._displayables.barGroup,R=(this._dataShadowInfo||{}).otherAxisInverse;L.attr(w===i&&!T?{scale:R?[1,1]:[1,-1]}:w===i&&T?{scale:R?[-1,1]:[-1,-1]}:w===u&&!T?{scale:R?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:R?[-1,-1]:[-1,1],rotation:Math.PI/2});var P=S.getBoundingRect([L]);S.attr("position",[y.x-P.x,y.y-P.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var S=this.dataZoomModel,y=this._size,w=this._displayables.barGroup;w.add(new o({silent:!0,shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:S.get("backgroundColor")},z2:-40})),w.add(new o({shape:{x:0,y:0,width:y[0],height:y[1]},style:{fill:"transparent"},z2:0,onclick:O.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var S=this._dataShadowInfo=this._prepareDataShadowInfo();if(!S)return;var y=this._size,w=S.series,x=w.getRawData(),T=w.getShadowDim?w.getShadowDim():S.otherDim;if(T==null)return;var L=x.getDataExtent(T),R=(L[1]-L[0])*.3;L=[L[0]-R,L[1]+R];var P=[0,y[1]],k=[0,y[0]],U=[[y[0],0],[0,0]],D=[],M=k[1]/(x.count()-1),B=0,j=Math.round(x.count()/y[0]),H;x.each([T],function(W,X){if(j>0&&X%j){B+=M;return}var V=W==null||isNaN(W)||W==="",Z=V?0:r(W,L,P,!0);V&&!H&&X?(U.push([U[U.length-1][0],0]),D.push([D[D.length-1][0],0])):!V&&H&&(U.push([B,0]),D.push([B,0])),U.push([B,Z]),D.push([B,Z]),B+=M,H=V});var K=this.dataZoomModel;this._displayables.barGroup.add(new I.Polygon({shape:{points:U},style:O.defaults({fill:K.get("dataBackgroundColor")},K.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new I.Polyline({shape:{points:D},style:K.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))},_prepareDataShadowInfo:function(){var S=this.dataZoomModel,y=S.get("showDataShadow");if(y===!1)return;var w,x=this.ecModel;return S.eachTargetAxis(function(T,L){var R=S.getAxisProxy(T.name,L).getTargetSeriesModels();O.each(R,function(P){if(w)return;if(y!==!0&&O.indexOf(m,P.get("type"))<0)return;var k=x.getComponent(T.axis,L).axis,U=g(T.name),D,M=P.coordinateSystem;U!=null&&M.getOtherAxis&&(D=M.getOtherAxis(k).inverse),U=P.getData().mapDimension(U),w={thisAxis:k,series:P,thisDim:T.name,otherDim:U,otherAxisInverse:D}},this)},this),w},_renderHandle:function(){var S=this._displayables,y=S.handles=[],w=S.handleLabels=[],x=this._displayables.barGroup,T=this._size,L=this.dataZoomModel;x.add(S.filler=new o({draggable:!0,cursor:v(this._orient),drift:l(this._onDragMove,this,"all"),ondragstart:l(this._showDataInfo,this,!0),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1),style:{fill:L.get("fillerColor"),textPosition:"inside"}})),x.add(new o({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:T[0],height:T[1]},style:{stroke:L.get("dataBackgroundColor")||L.get("borderColor"),lineWidth:e,fill:"rgba(0,0,0,0)"}})),n([0,1],function(R){var P=I.createIcon(L.get("handleIcon"),{cursor:v(this._orient),draggable:!0,drift:l(this._onDragMove,this,R),ondragend:l(this._onDragEnd,this),onmouseover:l(this._showDataInfo,this,!0),onmouseout:l(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),k=P.getBoundingRect();this._handleHeight=t.parsePercent(L.get("handleSize"),this._size[1]),this._handleWidth=k.width/k.height*this._handleHeight,P.setStyle(L.getModel("handleStyle").getItemStyle());var U=L.get("handleColor");U!=null&&(P.style.fill=U),x.add(y[R]=P);var D=L.textStyleModel;this.group.add(w[R]=new I.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:D.getTextColor(),textFont:D.getFont()},z2:10}))},this)},_resetInterval:function(){var S=this._range=this.dataZoomModel.getPercentRange(),y=this._getViewExtent();this._handleEnds=[r(S[0],[0,100],y,!0),r(S[1],[0,100],y,!0)]},_updateInterval:function(S,y){var w=this.dataZoomModel,x=this._handleEnds,T=this._getViewExtent(),L=w.findRepresentativeAxisProxy().getMinMaxSpan(),R=[0,100];h(y,x,T,w.get("zoomLock")?"all":S,L.minSpan!=null?r(L.minSpan,R,T,!0):null,L.maxSpan!=null?r(L.maxSpan,R,T,!0):null);var P=this._range,k=this._range=s([r(x[0],T,R,!0),r(x[1],T,R,!0)]);return!P||P[0]!==k[0]||P[1]!==k[1]},_updateView:function(S){var y=this._displayables,w=this._handleEnds,x=s(w.slice()),T=this._size;n([0,1],function(L){var R=y.handles[L],P=this._handleHeight;R.attr({scale:[P/2,P/2],position:[w[L],T[1]/2-P/2]})},this),y.filler.setShape({x:x[0],y:0,width:x[1]-x[0],height:T[1]}),this._updateDataInfo(S)},_updateDataInfo:function(S){var y=this.dataZoomModel,w=this._displayables,x=w.handleLabels,T=this._orient,L=["",""];if(y.get("showDetail")){var R=y.findRepresentativeAxisProxy();if(R){var P=R.getAxisModel().axis,k=this._range,U=S?R.calculateDataWindow({start:k[0],end:k[1]}).valueWindow:R.getDataValueWindow();L=[this._formatLabel(U[0],P),this._formatLabel(U[1],P)]}}var D=s(this._handleEnds.slice());M.call(this,0),M.call(this,1);function M(B){var j=I.getTransform(w.handles[B].parent,this.group),H=I.transformDirection(B===0?"right":"left",j),K=this._handleWidth/2+f,W=I.applyTransform([D[B]+(B===0?-K:K),this._size[1]/2],j);x[B].setStyle({x:W[0],y:W[1],textVerticalAlign:T===i?"middle":H,textAlign:T===i?H:"center",text:L[B]})}},_formatLabel:function(S,y){var w=this.dataZoomModel,x=w.get("labelFormatter"),T=w.get("labelPrecision");(T==null||T==="auto")&&(T=y.getPixelPrecision());var L=S==null||isNaN(S)?"":y.type==="category"||y.type==="time"?y.scale.getLabel(Math.round(S)):S.toFixed(Math.min(T,20));return O.isFunction(x)?x(S,L):O.isString(x)?x.replace("{value}",L):L},_showDataInfo:function(S){S=this._dragging||S;var y=this._displayables.handleLabels;y[0].attr("invisible",!S),y[1].attr("invisible",!S)},_onDragMove:function(S,y,w,x){this._dragging=!0,_.stop(x.event);var T=this._displayables.barGroup.getLocalTransform(),L=I.applyTransform([y,w],T,!0),R=this._updateInterval(S,L[0]),P=this.dataZoomModel.get("realtime");this._updateView(!P),R&&P&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var S=this.dataZoomModel.get("realtime");!S&&this._dispatchZoomAction()},_onClickPanelClick:function(S){var y=this._size,w=this._displayables.barGroup.transformCoordToLocal(S.offsetX,S.offsetY);if(w[0]<0||w[0]>y[0]||w[1]<0||w[1]>y[1])return;var x=this._handleEnds,T=(x[0]+x[1])/2,L=this._updateInterval("all",w[0]-T);this._updateView(),L&&this._dispatchZoomAction()},_dispatchZoomAction:function(){var S=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:S[0],end:S[1]})},_findCoordRect:function(){var S;if(n(this.getTargetCoordInfo(),function(x){if(!S&&x.length){var T=x[0].model.coordinateSystem;S=T.getRect&&T.getRect()}}),!S){var y=this.api.getWidth(),w=this.api.getHeight();S={x:y*.2,y:w*.2,width:y*.6,height:w*.6}}return S}});function g(S){var y={x:"y",y:"x",radius:"angle",angle:"radius"};return y[S]}function v(S){return S==="vertical"?"ns-resize":"ew-resize"}var b=A;ue.exports=b},IzEo:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("lnY3"),E=d.n(I),C=d("Znn+"),t=d("14J3"),p=d("jCWc")},J66h:function(ue,z,d){(function(O){var _,I;(function(E,C){ue.exports=C(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof O!="undefined"?O:this,function(E){"use strict";E=E||{};var C=E.Base64,t="2.6.4",p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=function(P){for(var k={},U=0,D=P.length;U<D;U++)k[P.charAt(U)]=U;return k}(p),o=String.fromCharCode,r=function(k){if(k.length<2){var U=k.charCodeAt(0);return U<128?k:U<2048?o(192|U>>>6)+o(128|U&63):o(224|U>>>12&15)+o(128|U>>>6&63)+o(128|U&63)}else{var U=65536+(k.charCodeAt(0)-55296)*1024+(k.charCodeAt(1)-56320);return o(240|U>>>18&7)+o(128|U>>>12&63)+o(128|U>>>6&63)+o(128|U&63)}},s=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,l=function(k){return k.replace(s,r)},n=function(k){var U=[0,2,1][k.length%3],D=k.charCodeAt(0)<<16|(k.length>1?k.charCodeAt(1):0)<<8|(k.length>2?k.charCodeAt(2):0),M=[p.charAt(D>>>18),p.charAt(D>>>12&63),U>=2?"=":p.charAt(D>>>6&63),U>=1?"=":p.charAt(D&63)];return M.join("")},c=E.btoa&&typeof E.btoa=="function"?function(P){return E.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)},e=function(k){return c(l(String(k)))},a=function(k){return k.replace(/[+\/]/g,function(U){return U=="+"?"-":"_"}).replace(/=/g,"")},i=function(k,U){return U?a(e(k)):e(k)},u=function(k){return i(k,!0)},f;E.Uint8Array&&(f=function(k,U){for(var D="",M=0,B=k.length;M<B;M+=3){var j=k[M],H=k[M+1],K=k[M+2],W=j<<16|H<<8|K;D+=p.charAt(W>>>18)+p.charAt(W>>>12&63)+(typeof H!="undefined"?p.charAt(W>>>6&63):"=")+(typeof K!="undefined"?p.charAt(W&63):"=")}return U?a(D):D});var m=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,A=function(k){switch(k.length){case 4:var U=(7&k.charCodeAt(0))<<18|(63&k.charCodeAt(1))<<12|(63&k.charCodeAt(2))<<6|63&k.charCodeAt(3),D=U-65536;return o((D>>>10)+55296)+o((D&1023)+56320);case 3:return o((15&k.charCodeAt(0))<<12|(63&k.charCodeAt(1))<<6|63&k.charCodeAt(2));default:return o((31&k.charCodeAt(0))<<6|63&k.charCodeAt(1))}},g=function(k){return k.replace(m,A)},v=function(k){var U=k.length,D=U%4,M=(U>0?h[k.charAt(0)]<<18:0)|(U>1?h[k.charAt(1)]<<12:0)|(U>2?h[k.charAt(2)]<<6:0)|(U>3?h[k.charAt(3)]:0),B=[o(M>>>16),o(M>>>8&255),o(M&255)];return B.length-=[0,0,2,1][D],B.join("")},b=E.atob&&typeof E.atob=="function"?function(P){return E.atob(P)}:function(P){return P.replace(/\S{1,4}/g,v)},S=function(k){return b(String(k).replace(/[^A-Za-z0-9\+\/]/g,""))},y=function(k){return g(b(k))},w=function(k){return String(k).replace(/[-_]/g,function(U){return U=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},x=function(k){return y(w(k))},T;E.Uint8Array&&(T=function(k){return Uint8Array.from(S(w(k)),function(U){return U.charCodeAt(0)})});var L=function(){var k=E.Base64;return E.Base64=C,k};if(E.Base64={VERSION:t,atob:S,btoa:c,fromBase64:x,toBase64:i,utob:l,encode:i,encodeURI:u,btou:g,decode:x,noConflict:L,fromUint8Array:f,toUint8Array:T},typeof Object.defineProperty=="function"){var R=function(k){return{value:k,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",R(function(){return x(this)})),Object.defineProperty(String.prototype,"toBase64",R(function(P){return i(this,P)})),Object.defineProperty(String.prototype,"toBase64URI",R(function(){return i(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),ue.exports?ue.exports.Base64=E.Base64:!(_=[],I=function(){return E.Base64}.apply(z,_),I!==void 0&&(ue.exports=I)),{Base64:E.Base64}})}).call(this,d("yLpj"))},JEkh:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("ItGF"),t=d("4NO4"),p=d("7aKB"),h=d("OKJ2"),o=p.addCommas,r=p.encodeHTML;function s(c){t.defaultEmphasis(c,"label",["show"])}var l=I.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(c,e,a){this.mergeDefaultAndTheme(c,a),this._mergeOption(c,a,!1,!0)},isAnimationEnabled:function(){if(C.node)return!1;var c=this.__hostSeries;return this.getShallow("animation")&&c&&c.isAnimationEnabled()},mergeOption:function(c,e){this._mergeOption(c,e,!1,!1)},_mergeOption:function(c,e,a,i){var u=this.constructor,f=this.mainType+"Model";a||e.eachSeries(function(m){var A=m.get(this.mainType,!0),g=m[f];if(!A||!A.data){m[f]=null;return}g?g._mergeOption(A,e,!0):(i&&s(A),E.each(A.data,function(v){v instanceof Array?(s(v[0]),s(v[1])):s(v)}),g=new u(A,this,e),E.extend(g,{mainType:this.mainType,seriesIndex:m.seriesIndex,name:m.name,createdBySelf:!0}),g.__hostSeries=m),m[f]=g},this)},formatTooltip:function(c){var e=this.getData(),a=this.getRawValue(c),i=E.isArray(a)?E.map(a,o).join(", "):o(a),u=e.getName(c),f=r(this.name);return(a!=null||u)&&(f+="<br />"),u&&(f+=r(u),a!=null&&(f+=" : ")),a!=null&&(f+=r(i)),f},getData:function(){return this._data},setData:function(c){this._data=c}});E.mixin(l,h);var n=l;ue.exports=n},JGo8:function(ue,z,d){},JLnu:function(ue,z,d){var O=d("+TT/"),_=d("OELB"),I=_.parsePercent,E=_.linearMap;function C(o,r){return O.getLayoutRect(o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})}function t(o,r){for(var s=o.mapDimension("value"),l=o.mapArray(s,function(i){return i}),n=[],c=r==="ascending",e=0,a=o.count();e<a;e++)n[e]=e;return typeof r=="function"?n.sort(r):r!=="none"&&n.sort(function(i,u){return c?l[i]-l[u]:l[u]-l[i]}),n}function p(o){o.each(function(r){var s=o.getItemModel(r),l=s.getModel("label"),n=l.get("position"),c=s.getModel("labelLine"),e=o.getItemLayout(r),a=e.points,i=n==="inner"||n==="inside"||n==="center"||n==="insideLeft"||n==="insideRight",u,f,m,A;if(i)n==="insideLeft"?(f=(a[0][0]+a[3][0])/2+5,m=(a[0][1]+a[3][1])/2,u="left"):n==="insideRight"?(f=(a[1][0]+a[2][0])/2-5,m=(a[1][1]+a[2][1])/2,u="right"):(f=(a[0][0]+a[1][0]+a[2][0]+a[3][0])/4,m=(a[0][1]+a[1][1]+a[2][1]+a[3][1])/4,u="center"),A=[[f,m],[f,m]];else{var g,v,b,S=c.get("length");n==="left"?(g=(a[3][0]+a[0][0])/2,v=(a[3][1]+a[0][1])/2,b=g-S,f=b-5,u="right"):n==="right"?(g=(a[1][0]+a[2][0])/2,v=(a[1][1]+a[2][1])/2,b=g+S,f=b+5,u="left"):n==="rightTop"?(g=a[1][0],v=a[1][1],b=g+S,f=b+5,u="top"):n==="rightBottom"?(g=a[2][0],v=a[2][1],b=g+S,f=b+5,u="bottom"):n==="leftTop"?(g=a[0][0],v=a[1][1],b=g-S,f=b-5,u="right"):n==="leftBottom"?(g=a[3][0],v=a[2][1],b=g-S,f=b-5,u="right"):(g=(a[1][0]+a[2][0])/2,v=(a[1][1]+a[2][1])/2,b=g+S,f=b+5,u="left");var y=v;A=[[g,v],[b,y]],m=y}e.label={linePoints:A,x:f,y:m,verticalAlign:"middle",textAlign:u,inside:i}})}function h(o,r,s){o.eachSeriesByType("funnel",function(l){var n=l.getData(),c=n.mapDimension("value"),e=l.get("sort"),a=C(l,r),i=t(n,e),u=[I(l.get("minSize"),a.width),I(l.get("maxSize"),a.width)],f=n.getDataExtent(c),m=l.get("min"),A=l.get("max");m==null&&(m=Math.min(f[0],0)),A==null&&(A=f[1]);var g=l.get("funnelAlign"),v=l.get("gap"),b=(a.height-v*(n.count()-1))/n.count(),S=a.y,y=function(U,D){var M=n.get(c,U)||0,B=E(M,[m,A],u,!0),j;switch(g){case"left":j=a.x;break;case"center":j=a.x+(a.width-B)/2;break;case"right":j=a.x+a.width-B;break}return[[j,D],[j+B,D]]};e==="ascending"&&(b=-b,v=-v,S+=a.height,i=i.reverse());for(var w=0;w<i.length;w++){var x=i[w],T=i[w+1],L=n.getItemModel(x),R=L.get("itemStyle.height");R==null?R=b:(R=I(R,a.height),e==="ascending"&&(R=-R));var P=y(x,S),k=y(T,S+R);S+=R+v,n.setItemLayout(x,{points:P.concat(k.slice().reverse())})}p(n)})}ue.exports=h},JSwD:function(ue,z,d){"use strict";function O(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(u){return typeof u}:O=function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u},O(a)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=e;var _=E(d("6BzB"));function I(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return I=function(){return a},a}function E(a){if(a&&a.__esModule)return a;if(a===null||O(a)!=="object"&&typeof a!="function")return{default:a};var i=I();if(i&&i.has(a))return i.get(a);var u={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in a)if(Object.prototype.hasOwnProperty.call(a,m)){var A=f?Object.getOwnPropertyDescriptor(a,m):null;A&&(A.get||A.set)?Object.defineProperty(u,m,A):u[m]=a[m]}return u.default=a,i&&i.set(a,u),u}var C=15,t=852,p=592,h=0,o=1,r=2,s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],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],c=[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 e(a,i,u,f,m,A,g,v){var b=v.bits,S=0,y=0,w=0,x=0,T=0,L=0,R=0,P=0,k=0,U=0,D,M,B,j,H,K=null,W=0,X,V=new _.Buf16(C+1),Z=new _.Buf16(C+1),G=null,Y=0,te,se,Ce;for(S=0;S<=C;S++)V[S]=0;for(y=0;y<f;y++)V[i[u+y]]++;for(T=b,x=C;x>=1&&!(V[x]!==0);x--);if(T>x&&(T=x),x===0)return m[A++]=1<<24|64<<16|0,m[A++]=1<<24|64<<16|0,v.bits=1,0;for(w=1;w<x&&!(V[w]!==0);w++);for(T<w&&(T=w),P=1,S=1;S<=C;S++)if(P<<=1,P-=V[S],P<0)return-1;if(P>0&&(a===h||x!==1))return-1;for(Z[1]=0,S=1;S<C;S++)Z[S+1]=Z[S]+V[S];for(y=0;y<f;y++)i[u+y]!==0&&(g[Z[i[u+y]]++]=y);if(a===h?(K=G=g,X=19):a===o?(K=s,W-=257,G=l,Y-=257,X=256):(K=n,G=c,X=-1),U=0,y=0,S=w,H=A,L=T,R=0,B=-1,k=1<<T,j=k-1,a===o&&k>t||a===r&&k>p)return 1;for(;;){te=S-R,g[y]<X?(se=0,Ce=g[y]):g[y]>X?(se=G[Y+g[y]],Ce=K[W+g[y]]):(se=32+64,Ce=0),D=1<<S-R,M=1<<L,w=M;do M-=D,m[H+(U>>R)+M]=te<<24|se<<16|Ce|0;while(M!==0);for(D=1<<S-1;U&D;)D>>=1;if(D!==0?(U&=D-1,U+=D):U=0,y++,--V[S]===0){if(S===x)break;S=i[u+g[y]]}if(S>T&&(U&j)!==B){for(R===0&&(R=T),H+=w,L=S-R,P=1<<L;L+R<x&&!(P-=V[L+R],P<=0);)L++,P<<=1;if(k+=1<<L,a===o&&k>t||a===r&&k>p)return 1;B=U&j,m[B]=T<<24|L<<16|H-A|0}}return U!==0&&(m[H+U]=S-R<<24|64<<16|0),v.bits=T,0}},JVwQ:function(ue,z,d){var O=d("ProS"),_=d("1NG9"),I=_.Polygon,E=d("IwbS"),C=d("bYtY"),t=C.bind,p=C.extend,h=d("gPAo"),o=O.extendChartView({type:"themeRiver",init:function(){this._layers=[]},render:function(s,l,n){var c=s.getData(),e=this.group,a=s.getLayerSeries(),i=c.getLayout("layoutInfo"),u=i.rect,f=i.boundaryGap;e.attr("position",[0,u.y+f[0]]);function m(b){return b.name}var A=new h(this._layersSeries||[],a,m,m),g={};A.add(t(v,this,"add")).update(t(v,this,"update")).remove(t(v,this,"remove")).execute();function v(b,S,y){var w=this._layers;if(b==="remove"){e.remove(w[S]);return}for(var x=[],T=[],L,R=a[S].indices,P=0;P<R.length;P++){var k=c.getItemLayout(R[P]),U=k.x,D=k.y0,M=k.y;x.push([U,D]),T.push([U,D+M]),L=c.getItemVisual(R[P],"color")}var B,j,H=c.getItemLayout(R[0]),K=c.getItemModel(R[P-1]),W=K.getModel("label"),X=W.get("margin");if(b==="add"){var V=g[S]=new E.Group;B=new I({shape:{points:x,stackedOnPoints:T,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),j=new E.Text({style:{x:H.x-X,y:H.y0+H.y/2}}),V.add(B),V.add(j),e.add(V),B.setClipPath(r(B.getBoundingRect(),s,function(){B.removeClipPath()}))}else{var V=w[y];B=V.childAt(0),j=V.childAt(1),e.add(V),g[S]=V,E.updateProps(B,{shape:{points:x,stackedOnPoints:T}},s),E.updateProps(j,{style:{x:H.x-X,y:H.y0+H.y/2}},s)}var Z=K.getModel("emphasis.itemStyle"),G=K.getModel("itemStyle");E.setTextStyle(j.style,W,{text:W.get("show")?s.getFormattedLabel(R[P-1],"normal")||c.getName(R[P-1]):null,textVerticalAlign:"middle"}),B.setStyle(p({fill:L},G.getItemStyle(["color"]))),E.setHoverStyle(B,Z.getItemStyle())}this._layersSeries=a,this._layers=g},dispose:function(){}});function r(s,l,n){var c=new E.Rect({shape:{x:s.x-10,y:s.y-10,width:0,height:s.height+20}});return E.initProps(c,{shape:{width:s.width+20,height:s.height+20}},l,n),c}ue.exports=o},JgUQ:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},JsLm:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("PJYZ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d("i8i4"),i=d("TSYQ"),u=d.n(i),f=d("zT1h"),m=d("VNzZ"),A=d("H84U"),g=d("zAh6"),v=d("i6bk"),b=e.createContext(null),S=b;function y(){return window}function w(k,U){if(!k.getClientRects().length)return 0;var D=k.getBoundingClientRect();return D.width||D.height?U===window?(U=k.ownerDocument.documentElement,D.top-U.clientTop):D.top-U.getBoundingClientRect().top:D.top}var x=/#(\S+)$/,T=function(k){l()(D,k);var U=c()(D);function D(){var M;return t()(this,D),M=U.apply(this,arguments),M.state={activeLink:null},M.links=[],M.registerLink=function(B){M.links.includes(B)||M.links.push(B)},M.unregisterLink=function(B){var j=M.links.indexOf(B);j!==-1&&M.links.splice(j,1)},M.getContainer=function(){var B=M.context.getTargetContainer,j=M.props.getContainer,H=j||B||y;return H()},M.handleScrollTo=function(B){var j=M.props,H=j.offsetTop,K=j.targetOffset;M.setCurrentActiveLink(B);var W=M.getContainer(),X=Object(v.a)(W,!0),V=x.exec(B);if(!V)return;var Z=document.getElementById(V[1]);if(!Z)return;var G=w(Z,W),Y=X+G;Y-=K!==void 0?K:H||0,M.animating=!0,Object(g.a)(Y,{callback:function(){M.animating=!1},getContainer:M.getContainer})},M.saveInkNode=function(B){M.inkNode=B},M.setCurrentActiveLink=function(B){var j=M.state.activeLink,H=M.props.onChange;j!==B&&(M.setState({activeLink:B}),H&&H(B))},M.handleScroll=function(){if(M.animating)return;var B=M.props,j=B.offsetTop,H=B.bounds,K=B.targetOffset,W=M.getCurrentAnchor(K!==void 0?K:j||0,H);M.setCurrentActiveLink(W)},M.updateInk=function(){var B=r()(M),j=B.prefixCls,H=a.findDOMNode(r()(M)),K=H.getElementsByClassName("".concat(j,"-link-title-active"))[0];K&&(M.inkNode.style.top="".concat(K.offsetTop+K.clientHeight/2-4.5,"px"))},M.render=function(){var B=M.context,j=B.getPrefixCls,H=B.direction,K=M.props,W=K.prefixCls,X=K.className,V=X===void 0?"":X,Z=K.style,G=K.offsetTop,Y=K.affix,te=K.showInkInFixed,se=K.children,Ce=M.state.activeLink,he=j("anchor",W);M.prefixCls=he;var xe=u()("".concat(he,"-ink-ball"),{visible:Ce}),ie=u()(V,"".concat(he,"-wrapper"),E()({},"".concat(he,"-rtl"),H==="rtl")),ee=u()(he,{fixed:!Y&&!te}),Ze=_()({maxHeight:G?"calc(100vh - ".concat(G,"px)"):"100vh"},Z),Se=e.createElement("div",{className:ie,style:Ze},e.createElement("div",{className:ee},e.createElement("div",{className:"".concat(he,"-ink")},e.createElement("span",{className:xe,ref:M.saveInkNode})),se));return e.createElement(S.Provider,{value:{registerLink:M.registerLink,unregisterLink:M.unregisterLink,activeLink:M.state.activeLink,scrollTo:M.handleScrollTo,onClick:M.props.onClick}},Y?e.createElement(m.a,{offsetTop:G,target:M.getContainer},Se):Se)},M}return h()(D,[{key:"componentDidMount",value:function(){this.scrollContainer=this.getContainer(),this.scrollEvent=Object(f.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll()}},{key:"componentDidUpdate",value:function(){if(this.scrollEvent){var B=this.getContainer();this.scrollContainer!==B&&(this.scrollContainer=B,this.scrollEvent.remove(),this.scrollEvent=Object(f.a)(this.scrollContainer,"scroll",this.handleScroll),this.handleScroll())}this.updateInk()}},{key:"componentWillUnmount",value:function(){this.scrollEvent&&this.scrollEvent.remove()}},{key:"getCurrentAnchor",value:function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,H=this.props.getCurrentAnchor;if(typeof H=="function")return H();var K=[],W=this.getContainer();if(this.links.forEach(function(V){var Z=x.exec(V.toString());if(!Z)return;var G=document.getElementById(Z[1]);if(G){var Y=w(G,W);Y<B+j&&K.push({link:V,top:Y})}}),K.length){var X=K.reduce(function(V,Z){return Z.top>V.top?Z:V});return X.link}return""}}]),D}(e.Component);T.defaultProps={affix:!0,showInkInFixed:!1},T.contextType=A.b;var L=function(k){l()(D,k);var U=c()(D);function D(){var M;return t()(this,D),M=U.apply(this,arguments),M.handleClick=function(B){var j=M.context,H=j.scrollTo,K=j.onClick,W=M.props,X=W.href,V=W.title;K&&K(B,{title:V,href:X}),H(X)},M.renderAnchorLink=function(B){var j=B.getPrefixCls,H=M.props,K=H.prefixCls,W=H.href,X=H.title,V=H.children,Z=H.className,G=H.target,Y=j("anchor",K),te=M.context.activeLink===W,se=u()(Z,"".concat(Y,"-link"),E()({},"".concat(Y,"-link-active"),te)),Ce=u()("".concat(Y,"-link-title"),E()({},"".concat(Y,"-link-title-active"),te));return e.createElement("div",{className:se},e.createElement("a",{className:Ce,href:W,title:typeof X=="string"?X:"",target:G,onClick:M.handleClick},X),V)},M}return h()(D,[{key:"componentDidMount",value:function(){this.context.registerLink(this.props.href)}},{key:"componentDidUpdate",value:function(B){var j=B.href,H=this.props.href;j!==H&&(this.context.unregisterLink(j),this.context.registerLink(H))}},{key:"componentWillUnmount",value:function(){this.context.unregisterLink(this.props.href)}},{key:"render",value:function(){return e.createElement(A.a,null,this.renderAnchorLink)}}]),D}(e.Component);L.defaultProps={href:"#"},L.contextType=S;var R=L;T.Link=R;var P=z.a=T},JuEJ:function(ue,z,d){var O=d("bYtY"),_=d("4NO4"),I=O.each,E=O.isObject,C=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function t(e){var a=e&&e.itemStyle;if(!a)return;for(var i=0,u=C.length;i<u;i++){var f=C[i],m=a.normal,A=a.emphasis;m&&m[f]&&(e[f]=e[f]||{},e[f].normal?O.merge(e[f].normal,m[f]):e[f].normal=m[f],m[f]=null),A&&A[f]&&(e[f]=e[f]||{},e[f].emphasis?O.merge(e[f].emphasis,A[f]):e[f].emphasis=A[f],A[f]=null)}}function p(e,a,i){if(e&&e[a]&&(e[a].normal||e[a].emphasis)){var u=e[a].normal,f=e[a].emphasis;u&&(i?(e[a].normal=e[a].emphasis=null,O.defaults(e[a],u)):e[a]=u),f&&(e.emphasis=e.emphasis||{},e.emphasis[a]=f)}}function h(e){p(e,"itemStyle"),p(e,"lineStyle"),p(e,"areaStyle"),p(e,"label"),p(e,"labelLine"),p(e,"upperLabel"),p(e,"edgeLabel")}function o(e,a){var i=E(e)&&e[a],u=E(i)&&i.textStyle;if(u)for(var f=0,m=_.TEXT_STYLE_OPTIONS.length;f<m;f++){var a=_.TEXT_STYLE_OPTIONS[f];u.hasOwnProperty(a)&&(i[a]=u[a])}}function r(e){e&&(h(e),o(e,"label"),e.emphasis&&o(e.emphasis,"label"))}function s(e){if(!E(e))return;t(e),h(e),o(e,"label"),o(e,"upperLabel"),o(e,"edgeLabel"),e.emphasis&&(o(e.emphasis,"label"),o(e.emphasis,"upperLabel"),o(e.emphasis,"edgeLabel"));var a=e.markPoint;a&&(t(a),r(a));var i=e.markLine;i&&(t(i),r(i));var u=e.markArea;u&&r(u);var f=e.data;if(e.type==="graph"){f=f||e.nodes;var m=e.links||e.edges;if(m&&!O.isTypedArray(m))for(var A=0;A<m.length;A++)r(m[A]);O.each(e.categories,function(b){h(b)})}if(f&&!O.isTypedArray(f))for(var A=0;A<f.length;A++)r(f[A]);var a=e.markPoint;if(a&&a.data)for(var g=a.data,A=0;A<g.length;A++)r(g[A]);var i=e.markLine;if(i&&i.data)for(var v=i.data,A=0;A<v.length;A++)O.isArray(v[A])?(r(v[A][0]),r(v[A][1])):r(v[A]);e.type==="gauge"?(o(e,"axisLabel"),o(e,"title"),o(e,"detail")):e.type==="treemap"?(p(e.breadcrumb,"itemStyle"),O.each(e.levels,function(b){h(b)})):e.type==="tree"&&h(e.leaves)}function l(e){return O.isArray(e)?e:e?[e]:[]}function n(e){return(O.isArray(e)?e[0]:e)||{}}function c(e,a){I(l(e.series),function(u){E(u)&&s(u)});var i=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];a&&i.push("valueAxis","categoryAxis","logAxis","timeAxis"),I(i,function(u){I(l(e[u]),function(f){f&&(o(f,"axisLabel"),o(f.axisPointer,"label"))})}),I(l(e.parallel),function(u){var f=u&&u.parallelAxisDefault;o(f,"axisLabel"),o(f&&f.axisPointer,"label")}),I(l(e.calendar),function(u){p(u,"itemStyle"),o(u,"dayLabel"),o(u,"monthLabel"),o(u,"yearLabel")}),I(l(e.radar),function(u){o(u,"name")}),I(l(e.geo),function(u){E(u)&&(r(u),I(l(u.regions),function(f){r(f)}))}),I(l(e.timeline),function(u){r(u),p(u,"label"),p(u,"itemStyle"),p(u,"controlStyle",!0);var f=u.data;O.isArray(f)&&O.each(f,function(m){O.isObject(m)&&(p(m,"label"),p(m,"itemStyle"))})}),I(l(e.toolbox),function(u){p(u,"iconStyle"),I(u.feature,function(f){p(f,"iconStyle")})}),o(n(e.axisPointer),"label"),o(n(e.tooltip).axisPointer,"label")}ue.exports=c},K2GJ:function(ue,z,d){var O=d("fW2E"),_=d("gut8"),I=_.ContextCachedBy,E=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],C=function(n){this.extendFrom(n,!1)};function t(l,n,c){var e=n.x==null?0:n.x,a=n.x2==null?1:n.x2,i=n.y==null?0:n.y,u=n.y2==null?0:n.y2;n.global||(e=e*c.width+c.x,a=a*c.width+c.x,i=i*c.height+c.y,u=u*c.height+c.y),e=isNaN(e)?0:e,a=isNaN(a)?1:a,i=isNaN(i)?0:i,u=isNaN(u)?0:u;var f=l.createLinearGradient(e,i,a,u);return f}function p(l,n,c){var e=c.width,a=c.height,i=Math.min(e,a),u=n.x==null?.5:n.x,f=n.y==null?.5:n.y,m=n.r==null?.5:n.r;n.global||(u=u*e+c.x,f=f*a+c.y,m=m*i);var A=l.createRadialGradient(u,f,0,u,f,m);return A}C.prototype={constructor:C,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,c,e){var a=this,i=e&&e.style,u=!i||n.__attrCachedBy!==I.STYLE_BIND;n.__attrCachedBy=I.STYLE_BIND;for(var f=0;f<E.length;f++){var m=E[f],A=m[0];(u||a[A]!==i[A])&&(n[A]=O(n,A,a[A]||m[1]))}if((u||a.fill!==i.fill)&&(n.fillStyle=a.fill),(u||a.stroke!==i.stroke)&&(n.strokeStyle=a.stroke),(u||a.opacity!==i.opacity)&&(n.globalAlpha=a.opacity==null?1:a.opacity),(u||a.blend!==i.blend)&&(n.globalCompositeOperation=a.blend||"source-over"),this.hasStroke()){var g=a.lineWidth;n.lineWidth=g/(this.strokeNoScale&&c&&c.getLineScale?c.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,c){if(n)for(var e in n)n.hasOwnProperty(e)&&(c===!0||(c===!1?!this.hasOwnProperty(e):n[e]!=null))&&(this[e]=n[e])},set:function(n,c){typeof n=="string"?this[n]=c:this.extendFrom(n,!0)},clone:function(){var n=new this.constructor;return n.extendFrom(this,!0),n},getGradient:function(n,c,e){for(var a=c.type==="radial"?p:t,i=a(n,c,e),u=c.colorStops,f=0;f<u.length;f++)i.addColorStop(u[f].offset,u[f].color);return i}};for(var h=C.prototype,o=0;o<E.length;o++){var r=E[o];r[0]in h||(h[r[0]]=r[1])}C.getGradient=h.getGradient;var s=C;ue.exports=s},K4ya:function(ue,z,d){var O=d("bYtY"),_=d("XxSj"),I=O.each;function E(o){if(o){for(var r in o)if(o.hasOwnProperty(r))return!0}}function C(o,r,s){var l={};return I(r,function(c){var e=l[c]=n();I(o[c],function(a,i){if(!_.isValidType(i))return;var u={type:i,visual:a};s&&s(u,c),e[i]=new _(u),i==="opacity"&&(u=O.clone(u),u.type="colorAlpha",e.__hidden.__alphaForOpacity=new _(u))})}),l;function n(){var c=function(){};c.prototype.__hidden=c.prototype;var e=new c;return e}}function t(o,r,s){var l;O.each(s,function(n){r.hasOwnProperty(n)&&E(r[n])&&(l=!0)}),l&&O.each(s,function(n){r.hasOwnProperty(n)&&E(r[n])?o[n]=O.clone(r[n]):delete o[n]})}function p(o,r,s,l,n,c){var e={};O.each(o,function(m){var A=_.prepareVisualTypes(r[m]);e[m]=A});var a;function i(m){return s.getItemVisual(a,m)}function u(m,A){s.setItemVisual(a,m,A)}c==null?s.each(f):s.each([c],f);function f(m,A){a=c==null?m:A;var g=s.getRawDataItem(a);if(g&&g.visualMap===!1)return;for(var v=l.call(n,m),b=r[v],S=e[v],y=0,w=S.length;y<w;y++){var x=S[y];b[x]&&b[x].applyVisual(m,i,u)}}}function h(o,r,s,l){var n={};O.each(o,function(e){var a=_.prepareVisualTypes(r[e]);n[e]=a});function c(e,a){l!=null&&(l=a.getDimension(l));function i(x){return a.getItemVisual(f,x)}function u(x,T){a.setItemVisual(f,x,T)}for(var f;(f=e.next())!=null;){var m=a.getRawDataItem(f);if(m&&m.visualMap===!1)continue;for(var A=l!=null?a.get(l,f,!0):f,g=s(A),v=r[g],b=n[g],S=0,y=b.length;S<y;S++){var w=b[S];v[w]&&v[w].applyVisual(A,i,u)}}}return{progress:c}}z.createVisualMappings=C,z.replaceVisualOption=t,z.applyVisual=p,z.incrementalApplyVisual=h},KCY9:function(ue,z,d){},KCsZ:function(ue,z,d){var O=d("bYtY");function _(I){for(var E=0;E<I.length;E++)I[E][1]||(I[E][1]=I[E][0]);return function(C,t,p){for(var h={},o=0;o<I.length;o++){var r=I[o][1];if(t&&O.indexOf(t,r)>=0||p&&O.indexOf(p,r)<0)continue;var s=C.getShallow(r);s!=null&&(h[I[o][0]]=s)}return h}}ue.exports=_},KPFz:function(ue,z,d){},KQeH:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},KS52:function(ue,z,d){var O=d("OELB"),_=O.parsePercent,I=O.linearMap,E=d("+TT/"),C=d("u3DP"),t=d("bYtY"),p=Math.PI*2,h=Math.PI/180;function o(s,l){return E.getLayoutRect(s.getBoxLayoutParams(),{width:l.getWidth(),height:l.getHeight()})}function r(s,l,n,c){l.eachSeriesByType(s,function(e){var a=e.getData(),i=a.mapDimension("value"),u=o(e,n),f=e.get("center"),m=e.get("radius");t.isArray(m)||(m=[0,m]),t.isArray(f)||(f=[f,f]);var A=_(u.width,n.getWidth()),g=_(u.height,n.getHeight()),v=Math.min(A,g),b=_(f[0],A)+u.x,S=_(f[1],g)+u.y,y=_(m[0],v/2),w=_(m[1],v/2),x=-e.get("startAngle")*h,T=e.get("minAngle")*h,L=0;a.each(i,function(X){!isNaN(X)&&L++});var R=a.getSum(i),P=Math.PI/(R||L)*2,k=e.get("clockwise"),U=e.get("roseType"),D=e.get("stillShowZeroSum"),M=a.getDataExtent(i);M[0]=0;var B=p,j=0,H=x,K=k?1:-1;if(a.each(i,function(X,V){var Z;if(isNaN(X)){a.setItemLayout(V,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:k,cx:b,cy:S,r0:y,r:U?NaN:w,viewRect:u});return}U!=="area"?Z=R===0&&D?P:X*P:Z=p/L,Z<T?(Z=T,B-=T):j+=X;var G=H+K*Z;a.setItemLayout(V,{angle:Z,startAngle:H,endAngle:G,clockwise:k,cx:b,cy:S,r0:y,r:U?I(X,M,[y,w]):w,viewRect:u}),H=G}),B<p&&L)if(B<=.001){var W=p/L;a.each(i,function(X,V){if(!isNaN(X)){var Z=a.getItemLayout(V);Z.angle=W,Z.startAngle=x+K*V*W,Z.endAngle=x+K*(V+1)*W}})}else P=B/j,H=x,a.each(i,function(X,V){if(!isNaN(X)){var Z=a.getItemLayout(V),G=Z.angle===T?T:X*P;Z.startAngle=H,Z.endAngle=H+K*G,H+=K*G}});C(e,w,u.width,u.height,u.x,u.y)})}ue.exports=r},KUOm:function(ue,z){function d(O){var _={};O.eachSeriesByType("graph",function(I){var E=I.getCategoriesData(),C=I.getData(),t={};E.each(function(p){var h=E.getName(p);t["ec-"+h]=p;var o=E.getItemModel(p),r=o.get("itemStyle.color")||I.getColorFromPalette(h,_);E.setItemVisual(p,"color",r);for(var s=["opacity","symbol","symbolSize","symbolKeepAspect"],l=0;l<s.length;l++){var n=o.getShallow(s[l],!0);n!=null&&E.setItemVisual(p,s[l],n)}}),E.count()&&C.each(function(p){var h=C.getItemModel(p),o=h.getShallow("category");if(o!=null){typeof o=="string"&&(o=t["ec-"+o]);for(var r=["color","opacity","symbol","symbolSize","symbolKeepAspect"],s=0;s<r.length;s++)C.getItemVisual(p,r[s],!0)==null&&C.setItemVisual(p,r[s],E.getItemVisual(o,r[s]))}})})}ue.exports=d},Kagy:function(ue,z){var d={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:""}}}};ue.exports=d},KamJ:function(ue,z,d){var O=d("ProS"),_=d("szbU");d("vF/C"),d("qwVE"),d("BuqR"),d("AE9C"),d("1u/T"),O.registerPreprocessor(_)},KmBX:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("CP8R")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="FilterFilled";var h=E.forwardRef(p);z.default=h},"KpQ+":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("E/ki")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="ClockCircleOutlined";var h=E.forwardRef(p);z.default=h},KrTs:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("cDf5"),E=d.n(I),C=d("pVnL"),t=d.n(C),p=d("q1tI"),h=d("UmKh"),o=d("TSYQ"),r=d.n(o),s=d("J4zp"),l=d.n(s),n=d("H84U"),c=d("0n0R"),e=function(w,x){var T={};for(var L in w)Object.prototype.hasOwnProperty.call(w,L)&&x.indexOf(L)<0&&(T[L]=w[L]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,L=Object.getOwnPropertySymbols(w);R<L.length;R++)x.indexOf(L[R])<0&&Object.prototype.propertyIsEnumerable.call(w,L[R])&&(T[L[R]]=w[L[R]]);return T};function a(w){return w?w.toString().split("").reverse().map(function(x){var T=Number(x);return isNaN(T)?x:T}):[]}function i(w,x){for(var T=[],L=0;L<30;L++)T.push(p.createElement("p",{key:L.toString(),className:r()(x,{current:w===L})},L%10));return T}var u=function(x){var T=x.prefixCls,L=x.count,R=x.className,P=x.style,k=x.title,U=x.component,D=U===void 0?"sup":U,M=x.displayComponent,B=x.onAnimated,j=B===void 0?function(){}:B,H=e(x,["prefixCls","count","className","style","title","component","displayComponent","onAnimated"]),K=p.useState(!0),W=l()(K,2),X=W[0],V=W[1],Z=p.useState(L),G=l()(Z,2),Y=G[0],te=G[1],se=p.useState(L),Ce=l()(se,2),he=Ce[0],xe=Ce[1],ie=p.useState(L),ee=l()(ie,2),Ze=ee[0],Se=ee[1],Ne=p.useContext(n.b),it=Ne.getPrefixCls,Ye=it("scroll-number",T);he!==L&&(V(!0),xe(L)),p.useEffect(function(){Se(Y);var pe;return X&&(pe=setTimeout(function(){V(!1),te(L),j()})),function(){pe&&clearTimeout(pe)}},[X,L,j]);var nt=function(ae,re){var be=Math.abs(Number(Y)),ze=Math.abs(Number(Ze)),Ke=Math.abs(a(Y)[re]),Te=Math.abs(a(ze)[re]);return X?10+ae:be>ze?Ke>=Te?10+ae:20+ae:Ke<=Te?10+ae:ae},je=function(ae,re){if(typeof ae=="number"){var be=nt(ae,re),ze=X||a(Ze)[re]===void 0;return p.createElement("span",{className:"".concat(Ye,"-only"),style:{transition:ze?"none":void 0,msTransform:"translateY(".concat(-be*100,"%)"),WebkitTransform:"translateY(".concat(-be*100,"%)"),transform:"translateY(".concat(-be*100,"%)")},key:re},i(be,"".concat(Ye,"-only-unit")))}return p.createElement("span",{key:"symbol",className:"".concat(Ye,"-symbol")},ae)},et=function(){return Y&&Number(Y)%1===0?a(Y).map(function(ae,re){return je(ae,re)}).reverse():Y},He=t()(t()({},H),{style:P,className:r()(Ye,R),title:k});return P&&P.borderColor&&(He.style=t()(t()({},P),{boxShadow:"0 0 0 1px ".concat(P.borderColor," inset")})),M?Object(c.a)(M,{className:r()("".concat(Ye,"-custom-component"),M.props&&M.props.className)}):p.createElement(D,He,et())},f=u,m=d("09Wf");function A(w){return m.a.indexOf(w)!==-1}var g=function(x){var T,L=x.className,R=x.prefixCls,P=x.style,k=x.color,U=x.children,D=x.text,M=x.placement,B=M===void 0?"end":M,j=p.useContext(n.b),H=j.getPrefixCls,K=j.direction,W=H("ribbon",R),X=A(k),V=r()(W,L,"".concat(W,"-placement-").concat(B),(T={},_()(T,"".concat(W,"-rtl"),K==="rtl"),_()(T,"".concat(W,"-color-").concat(k),X),T)),Z={},G={};return k&&!X&&(Z.background=k,G.color=k),p.createElement("div",{className:"".concat(W,"-wrapper")},U,p.createElement("div",{className:V,style:t()(t()({},Z),P)},D,p.createElement("div",{className:"".concat(W,"-corner"),style:G})))},v=g,b=function(w,x){var T={};for(var L in w)Object.prototype.hasOwnProperty.call(w,L)&&x.indexOf(L)<0&&(T[L]=w[L]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,L=Object.getOwnPropertySymbols(w);R<L.length;R++)x.indexOf(L[R])<0&&Object.prototype.propertyIsEnumerable.call(w,L[R])&&(T[L[R]]=w[L[R]]);return T},S=function(x){var T,L,R=x.prefixCls,P=x.scrollNumberPrefixCls,k=x.children,U=x.status,D=x.text,M=x.color,B=x.count,j=B===void 0?null:B,H=x.overflowCount,K=H===void 0?99:H,W=x.dot,X=W===void 0?!1:W,V=x.size,Z=V===void 0?"default":V,G=x.title,Y=x.offset,te=x.style,se=x.className,Ce=x.showZero,he=Ce===void 0?!1:Ce,xe=b(x,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","showZero"]),ie=p.useContext(n.b),ee=ie.getPrefixCls,Ze=ie.direction,Se=ee("badge",R),Ne=function(){var wt=j>K?"".concat(K,"+"):j;return wt},it=function(){return!!U||!!M},Ye=function(){var wt=Ne();return wt==="0"||wt===0},nt=function(){return X&&!Ye()||it()},je=function(){return nt()?"":Ne()},et=function(){return G||(typeof j=="string"||typeof j=="number"?j:void 0)},He=function(){return Ze==="rtl"?Y?t()({left:parseInt(Y[0],10),marginTop:Y[1]},te):te:Y?t()({right:-parseInt(Y[0],10),marginTop:Y[1]},te):te},pe=function(){var wt=je(),Et=wt==null||wt==="";return(Et||Ye()&&!he)&&!nt()},ae=function(){var wt=pe();return wt||!D?null:p.createElement("span",{className:"".concat(Se,"-status-text")},D)},re=function(){var wt=j;return!wt||E()(wt)!=="object"?void 0:Object(c.a)(wt,{style:t()(t()({},He()),wt.props&&wt.props.style)})},be=function(){var wt,Et=ee("scroll-number",P),xt=je(),Tt=nt(),Be=pe(),ce=r()((wt={},_()(wt,"".concat(Se,"-dot"),Tt),_()(wt,"".concat(Se,"-count"),!Tt),_()(wt,"".concat(Se,"-count-sm"),Z==="small"),_()(wt,"".concat(Se,"-multiple-words"),!Tt&&j&&j.toString&&j.toString().length>1),_()(wt,"".concat(Se,"-status-").concat(U),!!U),_()(wt,"".concat(Se,"-status-").concat(M),A(M)),wt)),q=He();return M&&!A(M)&&(q=q||{},q.background=M),Be?null:p.createElement(f,{prefixCls:Et,"data-show":!Be,className:ce,count:xt,displayComponent:re(),title:et(),style:q,key:"scrollNumber"})},ze=r()((T={},_()(T,"".concat(Se,"-status-dot"),it()),_()(T,"".concat(Se,"-status-").concat(U),!!U),_()(T,"".concat(Se,"-status-").concat(M),A(M)),T)),Ke={};M&&!A(M)&&(Ke.background=M);var Te=r()(se,Se,(L={},_()(L,"".concat(Se,"-status"),it()),_()(L,"".concat(Se,"-not-a-wrapper"),!k),_()(L,"".concat(Se,"-rtl"),Ze==="rtl"),L));if(!k&&it()){var gt=He(),Ue=gt&&gt.color;return p.createElement("span",t()({},xe,{className:Te,style:gt}),p.createElement("span",{className:ze,style:Ke}),p.createElement("span",{style:{color:Ue},className:"".concat(Se,"-status-text")},D))}return p.createElement("span",t()({},xe,{className:Te}),k,p.createElement(h.a,{component:"",showProp:"data-show",transitionName:k?"".concat(Se,"-zoom"):"",transitionAppear:!0},be()),ae())};S.Ribbon=v;var y=z.a=S},Kvyg:function(ue,z,d){},KxBF:function(ue,z){function d(O,_,I){var E=-1,C=O.length;_<0&&(_=-_>C?0:C+_),I=I>C?C:I,I<0&&(I+=C),C=_>I?0:I-_>>>0,_>>>=0;for(var t=Array(C);++E<C;)t[E]=O[E+_];return t}ue.exports=d},KxFI:function(ue,z,d){},KxfA:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.isTypedArray,C=I.extend,t=I.assert,p=I.each,h=I.isObject,o=d("4NO4"),r=o.getDataItemValue,s=o.isDataItemOption,l=d("OELB"),n=l.parseDate,c=d("7G+c"),e=d("k9D9"),a=e.SOURCE_FORMAT_TYPED_ARRAY,i=e.SOURCE_FORMAT_ARRAY_ROWS,u=e.SOURCE_FORMAT_ORIGINAL,f=e.SOURCE_FORMAT_OBJECT_ROWS;function m(k,U){c.isInstance(k)||(k=c.seriesDataToSource(k)),this._source=k;var D=this._data=k.data,M=k.sourceFormat;M===a&&(this._offset=0,this._dimSize=U,this._data=D);var B=g[M===i?M+"_"+k.seriesLayoutBy:M];C(this,B)}var A=m.prototype;A.pure=!1,A.persistent=!0,A.getSource=function(){return this._source};var g={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(k){return this._data[k+this._source.startIndex]},appendData:S},arrayRows_row:{pure:!0,count:function(){var k=this._data[0];return k?Math.max(0,k.length-this._source.startIndex):0},getItem:function(k){k+=this._source.startIndex;for(var U=[],D=this._data,M=0;M<D.length;M++){var B=D[M];U.push(B?B[k]:null)}return U},appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},objectRows:{pure:!0,count:v,getItem:b,appendData:S},keyedColumns:{pure:!0,count:function(){var k=this._source.dimensionsDefine[0].name,U=this._data[k];return U?U.length:0},getItem:function(k){for(var U=[],D=this._source.dimensionsDefine,M=0;M<D.length;M++){var B=this._data[D[M].name];U.push(B?B[k]:null)}return U},appendData:function(k){var U=this._data;p(k,function(D,M){for(var B=U[M]||(U[M]=[]),j=0;j<(D||[]).length;j++)B.push(D[j])})}},original:{count:v,getItem:b,appendData:S},typedArray:{persistent:!1,pure:!0,count:function(){return this._data?this._data.length/this._dimSize:0},getItem:function(k,U){k=k-this._offset,U=U||[];for(var D=this._dimSize*k,M=0;M<this._dimSize;M++)U[M]=this._data[D+M];return U},appendData:function(k){this._data=k},clean:function(){this._offset+=this.count(),this._data=null}}};function v(){return this._data.length}function b(k){return this._data[k]}function S(k){for(var U=0;U<k.length;U++)this._data.push(k[U])}var y={arrayRows:w,objectRows:function(k,U,D,M){return D!=null?k[M]:k},keyedColumns:w,original:function(k,U,D,M){var B=r(k);return D==null||!(B instanceof Array)?B:B[D]},typedArray:w};function w(k,U,D,M){return D!=null?k[D]:k}var x={arrayRows:T,objectRows:function(k,U,D,M){return L(k[U],this._dimensionInfos[U])},keyedColumns:T,original:function(k,U,D,M){var B=k&&(k.value==null?k:k.value);return!this._rawData.pure&&s(k)&&(this.hasItemOption=!0),L(B instanceof Array?B[M]:B,this._dimensionInfos[U])},typedArray:function(k,U,D,M){return k[M]}};function T(k,U,D,M){return L(k[M],this._dimensionInfos[U])}function L(k,U){var D=U&&U.type;if(D==="ordinal"){var M=U&&U.ordinalMeta;return M?M.parseAndCollect(k):k}return D==="time"&&typeof k!="number"&&k!=null&&k!=="-"&&(k=+n(k)),k==null||k===""?NaN:+k}function R(k,U,D){if(!k)return;var M=k.getRawDataItem(U);if(M==null)return;var B=k.getProvider().getSource().sourceFormat,j,H,K=k.getDimensionInfo(D);return K&&(j=K.name,H=K.index),y[B](M,U,H,j)}function P(k,U,D){if(!k)return;var M=k.getProvider().getSource().sourceFormat;if(M!==u&&M!==f)return;var B=k.getRawDataItem(U);if(M===u&&!h(B)&&(B=null),B)return B[D]}z.DefaultDataProvider=m,z.defaultDimValueGetters=x,z.retrieveRawValue=R,z.retrieveRawAttr=P},L0Ub:function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.createHashMap,E=O.assert,C=d("Tghj"),t=C.__DEV__,p=I(["tooltip","label","itemName","itemId","seriesName"]);function h(l){var n={},c=n.encode={},e=I(),a=[],i=[],u=n.userOutput={dimensionNames:l.dimensions.slice(),encode:{}};_(l.dimensions,function(v){var b=l.getDimensionInfo(v),S=b.coordDim;if(S){var y=b.coordDimIndex;o(c,S)[y]=v,b.isExtraCoord||(e.set(S,1),s(b.type)&&(a[0]=v),o(u.encode,S)[y]=b.index),b.defaultTooltip&&i.push(v)}p.each(function(w,x){var T=o(c,x),L=b.otherDims[x];L!=null&&L!==!1&&(T[L]=b.name)})});var f=[],m={};e.each(function(v,b){var S=c[b];m[b]=S[0],f=f.concat(S)}),n.dataDimsOnCoord=f,n.encodeFirstDimNotExtra=m;var A=c.label;A&&A.length&&(a=A.slice());var g=c.tooltip;return g&&g.length?i=g.slice():i.length||(i=a.slice()),c.defaultedLabel=a,c.defaultedTooltip=i,n}function o(l,n){return l.hasOwnProperty(n)||(l[n]=[]),l[n]}function r(l){return l==="category"?"ordinal":l==="time"?"time":"float"}function s(l){return!(l==="ordinal"||l==="time")}z.OTHER_DIMENSIONS=p,z.summarizeDimensions=h,z.getDimensionTypeByAxis=r},L3Oj:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("HjIi");d("HM/N"),d("9eas"),d("eS4l"),d("y4/Y"),d("as94"),O.registerLayout(_.curry(I,"bar")),O.extendComponentView({type:"polar"})},L5E0:function(ue,z){var d=["itemStyle","borderColor"];function O(_,I){var E=_.get("color");_.eachRawSeriesByType("boxplot",function(C){var t=E[C.seriesIndex%E.length],p=C.getData();p.setVisual({legendSymbol:"roundRect",color:C.get(d)||t}),_.isSeriesFiltered(C)||p.each(function(h){var o=p.getItemModel(h);p.setItemVisual(h,{color:o.get(d,!0)})})})}ue.exports=O},LBfv:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=_.createHashMap,E=_.each;O.registerProcessor({getTargetSeries:function(C){var t=I();return C.eachComponent("dataZoom",function(p){p.eachTargetAxis(function(h,o,r){var s=r.getAxisProxy(h.name,o);E(s.getTargetSeriesModels(),function(l){t.set(l.uid,l)})})}),t},modifyOutputEnd:!0,overallReset:function(C,t){C.eachComponent("dataZoom",function(p){p.eachTargetAxis(function(h,o,r){r.getAxisProxy(h.name,o).reset(r,t)}),p.eachTargetAxis(function(h,o,r){r.getAxisProxy(h.name,o).filterData(r,t)})}),C.eachComponent("dataZoom",function(p){var h=p.findRepresentativeAxisProxy(),o=h.getDataPercentWindow(),r=h.getDataValueWindow();p.setCalculatedRange({start:o[0],end:o[1],startValue:r[0],endValue:r[1]})})}})},LCi9:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(m,A){if(!(m instanceof A))throw new TypeError("Cannot call a class as a function")}function _(m,A){for(var g=0;g<A.length;g++){var v=A[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(m,v.key,v)}}function I(m,A,g){return A&&_(m.prototype,A),g&&_(m,g),m}var E=0,C=1,t=2,p=4,h=8,o=16,r=32,s=64,l=127,n=50,c=90,e=250,a=1e3,i=1e3,u=50,f=function(){function m(){O(this,m),this._target=null,this._state=l,this._tracked=[],this._ignored=[],this._waitingRelease=!1,this._releaseStart=0,this._longpressTimeoutId=null,this._twoTouchTimeoutId=null,this._boundEventHandler=this._eventHandler.bind(this)}return I(m,[{key:"attach",value:function(g){this.detach(),this._target=g,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(g){var v;g.stopPropagation(),g.preventDefault();switch(g.type){case"touchstart":v=this._touchStart;break;case"touchmove":v=this._touchMove;break;case"touchend":case"touchcancel":v=this._touchEnd;break}for(var b=0;b<g.changedTouches.length;b++){var S=g.changedTouches[b];v.call(this,S.identifier,S.clientX,S.clientY)}}},{key:"_touchStart",value:function(g,v,b){if(this._hasDetectedGesture()||this._state===E){this._ignored.push(g);return}if(this._tracked.length>0&&Date.now()-this._tracked[0].started>e){this._state=E,this._ignored.push(g);return}if(this._waitingRelease){this._state=E,this._ignored.push(g);return}this._tracked.push({id:g,started:Date.now(),active:!0,firstX:v,firstY:b,lastX:v,lastY:b,angle:0});switch(this._tracked.length){case 1:this._startLongpressTimeout();break;case 2:this._state&=~(C|h|o),this._stopLongpressTimeout();break;case 3:this._state&=~(t|r|s);break;default:this._state=E}}},{key:"_touchMove",value:function(g,v,b){var S=this._tracked.find(function(R){return R.id===g});if(S===void 0)return;S.lastX=v,S.lastY=b;var y=v-S.firstX,w=b-S.firstY;if((S.firstX!==S.lastX||S.firstY!==S.lastY)&&(S.angle=Math.atan2(w,y)*180/Math.PI),!this._hasDetectedGesture()){if(Math.hypot(y,w)<n)return;if(this._state&=~(C|t|p|o),this._stopLongpressTimeout(),this._tracked.length!==1&&(this._state&=~h),this._tracked.length!==2&&(this._state&=~(r|s)),this._tracked.length===2){var x=this._tracked.find(function(R){return R.id!==g}),T=Math.hypot(x.firstX-x.lastX,x.firstY-x.lastY);if(T>n){var L=Math.abs(S.angle-x.angle);L=Math.abs((L+180)%360-180),L>c?this._state&=~r:this._state&=~s,this._isTwoTouchTimeoutRunning()&&this._stopTwoTouchTimeout()}else this._isTwoTouchTimeoutRunning()||this._startTwoTouchTimeout()}if(!this._hasDetectedGesture())return;this._pushEvent("gesturestart")}this._pushEvent("gesturemove")}},{key:"_touchEnd",value:function(g,v,b){if(this._ignored.indexOf(g)!==-1){this._ignored.splice(this._ignored.indexOf(g),1),this._ignored.length===0&&this._tracked.length===0&&(this._state=l,this._waitingRelease=!1);return}if(!this._hasDetectedGesture()&&this._isTwoTouchTimeoutRunning()&&(this._stopTwoTouchTimeout(),this._state=E),!this._hasDetectedGesture()&&(this._state&=~(h|r|s),this._state&=~o,this._stopLongpressTimeout(),!this._waitingRelease)){this._releaseStart=Date.now(),this._waitingRelease=!0;switch(this._tracked.length){case 1:this._state&=~(t|p);break;case 2:this._state&=~(C|p);break}}if(this._waitingRelease){Date.now()-this._releaseStart>e&&(this._state=E),this._tracked.some(function(w){return Date.now()-w.started>a})&&(this._state=E);var S=this._tracked.find(function(w){return w.id===g});if(S.active=!1,this._hasDetectedGesture())this._pushEvent("gesturestart");else if(this._state!==E)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=E,this._ignored.indexOf(g)!==-1&&this._ignored.splice(this._ignored.indexOf(g),1),this._ignored.length===0&&(this._state=l,this._waitingRelease=!1)}},{key:"_hasDetectedGesture",value:function(){return this._state===E||this._state&this._state-1?!1:!(this._state&(C|t|p)&&this._tracked.some(function(g){return g.active}))}},{key:"_startLongpressTimeout",value:function(){var g=this;this._stopLongpressTimeout(),this._longpressTimeoutId=setTimeout(function(){return g._longpressTimeout()},i)}},{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=o,this._pushEvent("gesturestart")}},{key:"_startTwoTouchTimeout",value:function(){var g=this;this._stopTwoTouchTimeout(),this._twoTouchTimeoutId=setTimeout(function(){return g._twoTouchTimeout()},u)}},{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 g=this._getAverageMovement(),v=Math.abs(g.x),b=Math.abs(g.y),S=this._getAverageDistance(),y=Math.abs(Math.hypot(S.first.x,S.first.y)-Math.hypot(S.last.x,S.last.y));b<y&&v<y?this._state=s:this._state=r,this._pushEvent("gesturestart"),this._pushEvent("gesturemove")}},{key:"_pushEvent",value:function(g){var v={type:this._stateToGesture(this._state)},b=this._getPosition(),S=b.last;g==="gesturestart"&&(S=b.first);switch(this._state){case r:case s:S=b.first;break}if(v.clientX=S.x,v.clientY=S.y,this._state===s){var y=this._getAverageDistance();g==="gesturestart"?(v.magnitudeX=y.first.x,v.magnitudeY=y.first.y):(v.magnitudeX=y.last.x,v.magnitudeY=y.last.y)}else if(this._state===r)if(g==="gesturestart")v.magnitudeX=0,v.magnitudeY=0;else{var w=this._getAverageMovement();v.magnitudeX=w.x,v.magnitudeY=w.y}var x=new CustomEvent(g,{detail:v});this._target.dispatchEvent(x)}},{key:"_stateToGesture",value:function(g){switch(g){case C:return"onetap";case t:return"twotap";case p:return"threetap";case h:return"drag";case o:return"longpress";case r:return"twodrag";case s:return"pinch"}throw new Error("Unknown gesture state: "+g)}},{key:"_getPosition",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture position, no tracked touches");for(var g=this._tracked.length,v=0,b=0,S=0,y=0,w=0;w<this._tracked.length;w++)v+=this._tracked[w].firstX,b+=this._tracked[w].firstY,S+=this._tracked[w].lastX,y+=this._tracked[w].lastY;return{first:{x:v/g,y:b/g},last:{x:S/g,y:y/g}}}},{key:"_getAverageMovement",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture movement, no tracked touches");var g,v;g=v=0;for(var b=this._tracked.length,S=0;S<this._tracked.length;S++)g+=this._tracked[S].lastX-this._tracked[S].firstX,v+=this._tracked[S].lastY-this._tracked[S].firstY;return{x:g/b,y:v/b}}},{key:"_getAverageDistance",value:function(){if(this._tracked.length===0)throw new Error("Failed to get gesture distance, no tracked touches");var g=this._tracked[0],v=this._tracked[this._tracked.length-1],b=Math.abs(v.firstX-g.firstX),S=Math.abs(v.firstY-g.firstY),y=Math.abs(v.lastX-g.lastX),w=Math.abs(v.lastY-g.lastY);return{first:{x:b,y:S},last:{x:y,y:w}}}}]),m}();z.default=f},LPTA:function(ue,z){var d=1;typeof window!="undefined"&&(d=Math.max(window.devicePixelRatio||1,1));var O=0,_=d;z.debugMode=O,z.devicePixelRatio=_},LPzL:function(ue,z,d){var O=d("ProS");d("QzjZ"),d("vL6D"),d("xiyX"),d("y4/Y"),d("8Th4"),O.extendComponentView({type:"single"})},LSTS:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O=function(){function l(n,c){for(var e=0;e<c.length;e++){var a=c[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}return function(n,c,e){return c&&l(n.prototype,c),e&&l(n,e),n}}(),_=d("q1tI"),I=t(_),E=d("17x9"),C=t(E);function t(l){return l&&l.__esModule?l:{default:l}}function p(l,n){var c={};for(var e in l){if(n.indexOf(e)>=0)continue;if(!Object.prototype.hasOwnProperty.call(l,e))continue;c[e]=l[e]}return c}function h(l,n){if(!(l instanceof n))throw new TypeError("Cannot call a class as a function")}function o(l,n){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:l}function r(l,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);l.prototype=Object.create(n&&n.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(l,n):l.__proto__=n)}var s=function(l){r(n,l);function n(c){h(this,n);var e=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,c));return e.scrollListener=e.scrollListener.bind(e),e.eventListenerOptions=e.eventListenerOptions.bind(e),e.mousewheelListener=e.mousewheelListener.bind(e),e}return O(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 e=this.getParentElement(this.scrollComponent);e.scrollTop=e.scrollHeight-this.beforeScrollHeight+this.beforeScrollTop,this.loadMore=!1}this.attachScrollListener()}},{key:"componentWillUnmount",value:function(){this.detachScrollListener(),this.detachMousewheelListener()}},{key:"isPassiveSupported",value:function(){var e=!1,a={get passive(){e=!0}};try{document.addEventListener("test",null,a),document.removeEventListener("test",null,a)}catch(i){}return e}},{key:"eventListenerOptions",value:function(){var e=this.props.useCapture;return this.isPassiveSupported()&&(e={useCapture:this.props.useCapture,passive:!0}),e}},{key:"setDefaultLoader",value:function(e){this.defaultLoader=e}},{key:"detachMousewheelListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.scrollComponent.parentNode),e.removeEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture)}},{key:"detachScrollListener",value:function(){var e=window;this.props.useWindow===!1&&(e=this.getParentElement(this.scrollComponent)),e.removeEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),e.removeEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture)}},{key:"getParentElement",value:function(e){var a=this.props.getScrollParent&&this.props.getScrollParent();return a!=null?a:e&&e.parentNode}},{key:"filterProps",value:function(e){return e}},{key:"attachScrollListener",value:function(){var e=this.getParentElement(this.scrollComponent);if(!this.props.hasMore||!e)return;var a=window;this.props.useWindow===!1&&(a=e),a.addEventListener("mousewheel",this.mousewheelListener,this.options?this.options:this.props.useCapture),a.addEventListener("scroll",this.scrollListener,this.options?this.options:this.props.useCapture),a.addEventListener("resize",this.scrollListener,this.options?this.options:this.props.useCapture),this.props.initialLoad&&this.scrollListener()}},{key:"mousewheelListener",value:function(e){e.deltaY===1&&!this.isPassiveSupported()&&e.preventDefault()}},{key:"scrollListener",value:function(){var e=this.scrollComponent,a=window,i=this.getParentElement(e),u=void 0;if(this.props.useWindow){var f=document.documentElement||document.body.parentNode||document.body,m=a.pageYOffset!==void 0?a.pageYOffset:f.scrollTop;this.props.isReverse?u=m:u=this.calculateOffset(e,m)}else this.props.isReverse?u=i.scrollTop:u=e.scrollHeight-i.scrollTop-i.clientHeight;u<Number(this.props.threshold)&&e&&e.offsetParent!==null&&(this.detachScrollListener(),this.beforeScrollHeight=i.scrollHeight,this.beforeScrollTop=i.scrollTop,typeof this.props.loadMore=="function"&&(this.props.loadMore(this.pageLoaded+=1),this.loadMore=!0))}},{key:"calculateOffset",value:function(e,a){return e?this.calculateTopPosition(e)+(e.offsetHeight-a-window.innerHeight):0}},{key:"calculateTopPosition",value:function(e){return e?e.offsetTop+this.calculateTopPosition(e.offsetParent):0}},{key:"render",value:function(){var e=this,a=this.filterProps(this.props),i=a.children,u=a.element,f=a.hasMore,m=a.initialLoad,A=a.isReverse,g=a.loader,v=a.loadMore,b=a.pageStart,S=a.ref,y=a.threshold,w=a.useCapture,x=a.useWindow,T=a.getScrollParent,L=p(a,["children","element","hasMore","initialLoad","isReverse","loader","loadMore","pageStart","ref","threshold","useCapture","useWindow","getScrollParent"]);L.ref=function(P){e.scrollComponent=P,S&&S(P)};var R=[i];return f&&(g?A?R.unshift(g):R.push(g):this.defaultLoader&&(A?R.unshift(this.defaultLoader):R.push(this.defaultLoader))),I.default.createElement(u,L,R)}}]),n}(_.Component);s.propTypes={children:C.default.node.isRequired,element:C.default.node,hasMore:C.default.bool,initialLoad:C.default.bool,isReverse:C.default.bool,loader:C.default.node,loadMore:C.default.func.isRequired,pageStart:C.default.number,ref:C.default.func,getScrollParent:C.default.func,threshold:C.default.number,useCapture:C.default.bool,useWindow:C.default.bool},s.defaultProps={element:"div",hasMore:!1,initialLoad:!0,pageStart:0,ref:null,threshold:250,useWindow:!0,isReverse:!1,useCapture:!1,loader:null,getScrollParent:null},z.default=s,ue.exports=z.default},Lerx:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("Mds0"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},LlR5:function(ue,z,d){"use strict";d.d(z,"b",function(){return A});var O=d("lSNA"),_=d.n(O),I=d("lwsE"),E=d.n(I),C=d("W8MJ"),t=d.n(C),p=d("7W2i"),h=d.n(p),o=d("LQ03"),r=d.n(o),s=d("q1tI"),l=d.n(s),n=d("TSYQ"),c=d.n(n),e=d("kbBi"),a=d.n(e),i=d("CWQg"),u=d("mh/l"),f=d("0n0R"),m=Object(i.a)("text","input");function A(v){return!!(v.prefix||v.suffix||v.allowClear)}var g=function(v){h()(S,v);var b=r()(S);function S(){var y;return E()(this,S),y=b.apply(this,arguments),y.containerRef=s.createRef(),y.onInputMouseUp=function(w){var x;if((x=y.containerRef.current)===null||x===void 0?void 0:x.contains(w.target)){var T=y.props.triggerFocus;T()}},y}return t()(S,[{key:"renderClearIcon",value:function(w){var x=this.props,T=x.allowClear,L=x.value,R=x.disabled,P=x.readOnly,k=x.inputType,U=x.handleReset;if(!T)return null;var D=!R&&!P&&L,M=k===m[0]?"".concat(w,"-textarea-clear-icon"):"".concat(w,"-clear-icon");return s.createElement(a.a,{onClick:U,className:c()(M,_()({},"".concat(M,"-hidden"),!D)),role:"button"})}},{key:"renderSuffix",value:function(w){var x=this.props,T=x.suffix,L=x.allowClear;return T||L?s.createElement("span",{className:"".concat(w,"-suffix")},this.renderClearIcon(w),T):null}},{key:"renderLabeledIcon",value:function(w,x){var T,L=this.props,R=L.focused,P=L.value,k=L.prefix,U=L.className,D=L.size,M=L.suffix,B=L.disabled,j=L.allowClear,H=L.direction,K=L.style,W=L.readOnly,X=L.bordered,V=this.renderSuffix(w);if(!A(this.props))return Object(f.a)(x,{value:P});var Z=k?s.createElement("span",{className:"".concat(w,"-prefix")},k):null,G=c()(U,"".concat(w,"-affix-wrapper"),(T={},_()(T,"".concat(w,"-affix-wrapper-focused"),R),_()(T,"".concat(w,"-affix-wrapper-disabled"),B),_()(T,"".concat(w,"-affix-wrapper-sm"),D==="small"),_()(T,"".concat(w,"-affix-wrapper-lg"),D==="large"),_()(T,"".concat(w,"-affix-wrapper-input-with-clear-btn"),M&&j&&P),_()(T,"".concat(w,"-affix-wrapper-rtl"),H==="rtl"),_()(T,"".concat(w,"-affix-wrapper-readonly"),W),_()(T,"".concat(w,"-affix-wrapper-borderless"),!X),T));return s.createElement("span",{ref:this.containerRef,className:G,style:K,onMouseUp:this.onInputMouseUp},Z,Object(f.a)(x,{style:null,value:P,className:Object(u.c)(w,X,D,B)}),V)}},{key:"renderInputWithLabel",value:function(w,x){var T,L,R=this.props,P=R.addonBefore,k=R.addonAfter,U=R.style,D=R.size,M=R.className,B=R.direction;if(!P&&!k)return x;var j="".concat(w,"-group"),H="".concat(j,"-addon"),K=P?s.createElement("span",{className:H},P):null,W=k?s.createElement("span",{className:H},k):null,X=c()("".concat(w,"-wrapper"),(T={},_()(T,j,P||k),_()(T,"".concat(j,"-rtl"),B==="rtl"),T)),V=c()(M,"".concat(w,"-group-wrapper"),(L={},_()(L,"".concat(w,"-group-wrapper-sm"),D==="small"),_()(L,"".concat(w,"-group-wrapper-lg"),D==="large"),_()(L,"".concat(w,"-group-wrapper-rtl"),B==="rtl"),L));return s.createElement("span",{className:V,style:U},s.createElement("span",{className:X},K,Object(f.a)(x,{style:null}),W))}},{key:"renderTextAreaWithClearIcon",value:function(w,x){var T,L=this.props,R=L.value,P=L.allowClear,k=L.className,U=L.style,D=L.direction,M=L.bordered;if(!P)return Object(f.a)(x,{value:R});var B=c()(k,"".concat(w,"-affix-wrapper"),"".concat(w,"-affix-wrapper-textarea-with-clear-btn"),(T={},_()(T,"".concat(w,"-affix-wrapper-rtl"),D==="rtl"),_()(T,"".concat(w,"-affix-wrapper-borderless"),!M),T));return s.createElement("span",{className:B,style:U},Object(f.a)(x,{style:null,value:R}),this.renderClearIcon(w))}},{key:"render",value:function(){var w=this.props,x=w.prefixCls,T=w.inputType,L=w.element;return T===m[0]?this.renderTextAreaWithClearIcon(x,L):this.renderInputWithLabel(x,this.renderLabeledIcon(x,L))}}]),S}(s.Component);z.a=g},Llu2:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="DeliveredProcedureOutlined";var p=z.a=_.forwardRef(t)},Lo0S:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.initLogging=t,z.getLogging=p,z.Error=z.Warn=z.Info=z.Debug=void 0;var O="warn",_=function(){};z.Debug=_;var I=function(){};z.Info=I;var E=function(){};z.Warn=E;var C=function(){};z.Error=C;function t(h){if(typeof h=="undefined"?h=O:O=h,z.Debug=_=z.Info=I=z.Warn=E=z.Error=C=function(){},typeof window.console!="undefined")switch(h){case"debug":z.Debug=_=console.debug.bind(window.console);case"info":z.Info=I=console.info.bind(window.console);case"warn":z.Warn=E=console.warn.bind(window.console);case"error":z.Error=C=console.error.bind(window.console);case"none":break;default:throw new window.Error("invalid logging type '"+h+"'")}}function p(){return O}t()},LtfV:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="InboxOutlined";var p=z.a=_.forwardRef(t)},Lyp1:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="QuestionCircleOutlined";var p=z.a=_.forwardRef(t)},LzGr:function(ue,z,d){var O=d("ProS"),_=d("rnVJ");d("EMyp"),d("8x+h"),d("wt3j"),d("uOyE"),d("/stD"),O.registerPreprocessor(_)},MBQ8:function(ue,z,d){var O=d("T4UG"),_=d("MwEJ"),I=O.extend({type:"series.__base_bar__",getInitialData:function(E,C){return _(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(E){var C=this.coordinateSystem;if(C){var t=C.dataToPoint(C.clampData(E)),p=this.getData(),h=p.getLayout("offset"),o=p.getLayout("size"),r=C.getBaseAxis().isHorizontal()?0:1;return t[r]+=h+o/2,t}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:{}}});ue.exports=I},MEGo:function(ue,z,d){var O=d("4fz+"),_=d("Dagg"),I=d("dqUG"),E=d("2fw6"),C=d("x6Kt"),t=d("rmlV"),p=d("yxFR"),h=d("y+Vt"),o=d("h7HQ"),r=d("1Jh7"),s=d("SKnc"),l=d("K2GJ"),n=d("Fofx"),c=d("NC18"),e=c.createFromString,a=d("bYtY"),i=a.isString,u=a.extend,f=a.defaults,m=a.trim,A=a.each,g=/[\s,]+/;function v(K){if(i(K)){var W=new DOMParser;K=W.parseFromString(K,"text/xml")}for(K.nodeType===9&&(K=K.firstChild);K.nodeName.toLowerCase()!=="svg"||K.nodeType!==1;)K=K.nextSibling;return K}function b(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}b.prototype.parse=function(K,W){W=W||{};var X=v(K);if(!X)throw new Error("Illegal svg");var V=new O;this._root=V;var Z=X.getAttribute("viewBox")||"",G=parseFloat(X.getAttribute("width")||W.width),Y=parseFloat(X.getAttribute("height")||W.height);isNaN(G)&&(G=null),isNaN(Y)&&(Y=null),R(X,V,null,!0);for(var te=X.firstChild;te;)this._parseNode(te,V),te=te.nextSibling;var se,Ce;if(Z){var he=m(Z).split(g);he.length>=4&&(se={x:parseFloat(he[0]||0),y:parseFloat(he[1]||0),width:parseFloat(he[2]),height:parseFloat(he[3])})}if(se&&G!=null&&Y!=null&&(Ce=j(se,G,Y),!W.ignoreViewBox)){var xe=V;V=new O,V.add(xe),xe.scale=Ce.scale.slice(),xe.position=Ce.position.slice()}return!W.ignoreRootClip&&G!=null&&Y!=null&&V.setClipPath(new C({shape:{x:0,y:0,width:G,height:Y}})),{root:V,width:G,height:Y,viewBoxRect:se,viewBoxTransform:Ce}},b.prototype._parseNode=function(K,W){var X=K.nodeName.toLowerCase();X==="defs"?this._isDefine=!0:X==="text"&&(this._isText=!0);var V;if(this._isDefine){var Z=y[X];if(Z){var G=Z.call(this,K),Y=K.getAttribute("id");Y&&(this._defs[Y]=G)}}else{var Z=S[X];Z&&(V=Z.call(this,K,W),W.add(V))}for(var te=K.firstChild;te;)te.nodeType===1&&this._parseNode(te,V),te.nodeType===3&&this._isText&&this._parseText(te,V),te=te.nextSibling;X==="defs"?this._isDefine=!1:X==="text"&&(this._isText=!1)},b.prototype._parseText=function(K,W){if(K.nodeType===1){var X=K.getAttribute("dx")||0,V=K.getAttribute("dy")||0;this._textX+=parseFloat(X),this._textY+=parseFloat(V)}var Z=new I({style:{text:K.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});x(W,Z),R(K,Z,this._defs);var G=Z.style.fontSize;G&&G<9&&(Z.style.fontSize=9,Z.scale=Z.scale||[1,1],Z.scale[0]*=G/9,Z.scale[1]*=G/9);var Y=Z.getBoundingRect();return this._textX+=Y.width,W.add(Z),Z};var S={g:function(W,X){var V=new O;return x(X,V),R(W,V,this._defs),V},rect:function(W,X){var V=new C;return x(X,V),R(W,V,this._defs),V.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)}),V},circle:function(W,X){var V=new E;return x(X,V),R(W,V,this._defs),V.setShape({cx:parseFloat(W.getAttribute("cx")||0),cy:parseFloat(W.getAttribute("cy")||0),r:parseFloat(W.getAttribute("r")||0)}),V},line:function(W,X){var V=new p;return x(X,V),R(W,V,this._defs),V.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)}),V},ellipse:function(W,X){var V=new t;return x(X,V),R(W,V,this._defs),V.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)}),V},polygon:function(W,X){var V=W.getAttribute("points");V&&(V=T(V));var Z=new o({shape:{points:V||[]}});return x(X,Z),R(W,Z,this._defs),Z},polyline:function(W,X){var V=new h;x(X,V),R(W,V,this._defs);var Z=W.getAttribute("points");Z&&(Z=T(Z));var G=new r({shape:{points:Z||[]}});return G},image:function(W,X){var V=new _;return x(X,V),R(W,V,this._defs),V.setStyle({image:W.getAttribute("xlink:href"),x:W.getAttribute("x"),y:W.getAttribute("y"),width:W.getAttribute("width"),height:W.getAttribute("height")}),V},text:function(W,X){var V=W.getAttribute("x")||0,Z=W.getAttribute("y")||0,G=W.getAttribute("dx")||0,Y=W.getAttribute("dy")||0;this._textX=parseFloat(V)+parseFloat(G),this._textY=parseFloat(Z)+parseFloat(Y);var te=new O;return x(X,te),R(W,te,this._defs),te},tspan:function(W,X){var V=W.getAttribute("x"),Z=W.getAttribute("y");V!=null&&(this._textX=parseFloat(V)),Z!=null&&(this._textY=parseFloat(Z));var G=W.getAttribute("dx")||0,Y=W.getAttribute("dy")||0,te=new O;return x(X,te),R(W,te,this._defs),this._textX+=G,this._textY+=Y,te},path:function(W,X){var V=W.getAttribute("d")||"",Z=e(V);return x(X,Z),R(W,Z,this._defs),Z}},y={lineargradient:function(W){var X=parseInt(W.getAttribute("x1")||0,10),V=parseInt(W.getAttribute("y1")||0,10),Z=parseInt(W.getAttribute("x2")||10,10),G=parseInt(W.getAttribute("y2")||0,10),Y=new s(X,V,Z,G);return w(W,Y),Y},radialgradient:function(W){}};function w(K,W){for(var X=K.firstChild;X;){if(X.nodeType===1){var V=X.getAttribute("offset");V.indexOf("%")>0?V=parseInt(V,10)/100:V?V=parseFloat(V):V=0;var Z=X.getAttribute("stop-color")||"#000000";W.addColorStop(V,Z)}X=X.nextSibling}}function x(K,W){K&&K.__inheritedStyle&&(W.__inheritedStyle||(W.__inheritedStyle={}),f(W.__inheritedStyle,K.__inheritedStyle))}function T(K){for(var W=m(K).split(g),X=[],V=0;V<W.length;V+=2){var Z=parseFloat(W[V]),G=parseFloat(W[V+1]);X.push([Z,G])}return X}var L={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 R(K,W,X,V){var Z=W.__inheritedStyle||{},G=W.type==="text";if(K.nodeType===1&&(D(K,W),u(Z,B(K)),!V)){for(var Y in L)if(L.hasOwnProperty(Y)){var te=K.getAttribute(Y);te!=null&&(Z[L[Y]]=te)}}var se=G?"textFill":"fill",Ce=G?"textStroke":"stroke";W.style=W.style||new l;var he=W.style;Z.fill!=null&&he.set(se,k(Z.fill,X)),Z.stroke!=null&&he.set(Ce,k(Z.stroke,X)),A(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(xe){var ie=xe==="lineWidth"&&G?"textStrokeWidth":xe;Z[xe]!=null&&he.set(ie,parseFloat(Z[xe]))}),(!Z.textBaseline||Z.textBaseline==="auto")&&(Z.textBaseline="alphabetic"),Z.textBaseline==="alphabetic"&&(Z.textBaseline="bottom"),Z.textAlign==="start"&&(Z.textAlign="left"),Z.textAlign==="end"&&(Z.textAlign="right"),A(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],function(xe){Z[xe]!=null&&he.set(xe,Z[xe])}),Z.lineDash&&(W.style.lineDash=m(Z.lineDash).split(g)),he[Ce]&&he[Ce]!=="none"&&(W[Ce]=!0),W.__inheritedStyle=Z}var P=/url\(\s*#(.*?)\)/;function k(K,W){var X=W&&K&&K.match(P);if(X){var V=m(X[1]),Z=W[V];return Z}return K}var U=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g;function D(K,W){var X=K.getAttribute("transform");if(X){X=X.replace(/,/g," ");var V=null,Z=[];X.replace(U,function(se,Ce,he){Z.push(Ce,he)});for(var G=Z.length-1;G>0;G-=2){var Y=Z[G],te=Z[G-1];V=V||n.create();switch(te){case"translate":Y=m(Y).split(g),n.translate(V,V,[parseFloat(Y[0]),parseFloat(Y[1]||0)]);break;case"scale":Y=m(Y).split(g),n.scale(V,V,[parseFloat(Y[0]),parseFloat(Y[1]||Y[0])]);break;case"rotate":Y=m(Y).split(g),n.rotate(V,V,parseFloat(Y[0]));break;case"skew":Y=m(Y).split(g),console.warn("Skew transform is not supported yet");break;case"matrix":var Y=m(Y).split(g);V[0]=parseFloat(Y[0]),V[1]=parseFloat(Y[1]),V[2]=parseFloat(Y[2]),V[3]=parseFloat(Y[3]),V[4]=parseFloat(Y[4]),V[5]=parseFloat(Y[5]);break}}W.setLocalTransform(V)}}var M=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(K){var W=K.getAttribute("style"),X={};if(!W)return X;var V={};M.lastIndex=0;for(var Z;(Z=M.exec(W))!=null;)V[Z[1]]=Z[2];for(var G in L)L.hasOwnProperty(G)&&V[G]!=null&&(X[L[G]]=V[G]);return X}function j(K,W,X){var V=W/K.width,Z=X/K.height,G=Math.min(V,Z),Y=[G,G],te=[-(K.x+K.width/2)*G+W/2,-(K.y+K.height/2)*G+X/2];return{scale:Y,position:te}}function H(K,W){var X=new b;return X.parse(K,W)}z.parseXML=v,z.makeViewBoxTransform=j,z.parseSVG=H},MFOe:function(ue,z,d){(function(O){var _=t(),I=p(),E=h(),C=typeof window!="undefined"?window:O;ue.exports={assign:_,create:I,trim:E,bind:o,slice:r,each:s,map:l,pluck:n,isList:c,isFunction:e,isObject:a,Global:C};function t(){return Object.assign?Object.assign:function(u,f,m,A){for(var g=1;g<arguments.length;g++)s(Object(arguments[g]),function(v,b){u[b]=v});return u}}function p(){if(Object.create)return function(f,m,A,g){var v=r(arguments,1);return _.apply(this,[Object.create(f)].concat(v))};var i=function(){};return function(f,m,A,g){var v=r(arguments,1);return i.prototype=f,_.apply(this,[new i].concat(v))}}function h(){return String.prototype.trim?function(u){return String.prototype.trim.call(u)}:function(u){return u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function o(i,u){return function(){return u.apply(i,Array.prototype.slice.call(arguments,0))}}function r(i,u){return Array.prototype.slice.call(i,u||0)}function s(i,u){n(i,function(f,m){return u(f,m),!1})}function l(i,u){var f=c(i)?[]:{};return n(i,function(m,A){return f[A]=u(m,A),!1}),f}function n(i,u){if(c(i)){for(var f=0;f<i.length;f++)if(u(i[f],f))return i[f]}else for(var m in i)if(i.hasOwnProperty(m)&&u(i[m],m))return i[m]}function c(i){return i!=null&&typeof i!="function"&&typeof i.length=="number"}function e(i){return i&&{}.toString.call(i)==="[object Function]"}function a(i){return i&&{}.toString.call(i)==="[object Object]"}}).call(this,d("yLpj"))},MH26:function(ue,z,d){var O=d("bYtY"),_=d("YXkt"),I=d("OELB"),E=d("kj2x"),C=d("c8qY"),t=d("iPDy"),p=d("7hqr"),h=p.getStackedDimension,o=function(a,i,u,f){var m=a.getData(),A=f.type;if(!O.isArray(f)&&(A==="min"||A==="max"||A==="average"||A==="median"||f.xAxis!=null||f.yAxis!=null)){var g,v;if(f.yAxis!=null||f.xAxis!=null)g=i.getAxis(f.yAxis!=null?"y":"x"),v=O.retrieve(f.yAxis,f.xAxis);else{var b=E.getAxisInfo(f,m,i,a);g=b.valueAxis;var S=h(m,b.valueDataDim);v=E.numCalculate(m,S,A)}var y=g.dim==="x"?0:1,w=1-y,x=O.clone(f),T={};x.type=null,x.coord=[],T.coord=[],x.coord[w]=-Infinity,T.coord[w]=Infinity;var L=u.get("precision");L>=0&&typeof v=="number"&&(v=+v.toFixed(Math.min(L,20))),x.coord[y]=T.coord[y]=v,f=[x,T,{type:A,valueIndex:f.valueIndex,value:v}]}return f=[E.dataTransform(a,f[0]),E.dataTransform(a,f[1]),O.extend({},f[2])],f[2].type=f[2].type||"",O.merge(f[2],f[0]),O.merge(f[2],f[1]),f};function r(a){return!isNaN(a)&&!isFinite(a)}function s(a,i,u,f){var m=1-a,A=f.dimensions[a];return r(i[m])&&r(u[m])&&i[a]===u[a]&&f.getAxis(A).containData(i[a])}function l(a,i){if(a.type==="cartesian2d"){var u=i[0].coord,f=i[1].coord;if(u&&f&&(s(1,u,f,a)||s(0,u,f,a)))return!0}return E.dataFilter(a,i[0])&&E.dataFilter(a,i[1])}function n(a,i,u,f,m){var A=f.coordinateSystem,g=a.getItemModel(i),v,b=I.parsePercent(g.get("x"),m.getWidth()),S=I.parsePercent(g.get("y"),m.getHeight());if(!isNaN(b)&&!isNaN(S))v=[b,S];else{if(f.getMarkerPosition)v=f.getMarkerPosition(a.getValues(a.dimensions,i));else{var y=A.dimensions,w=a.get(y[0],i),x=a.get(y[1],i);v=A.dataToPoint([w,x])}if(A.type==="cartesian2d"){var T=A.getAxis("x"),L=A.getAxis("y"),y=A.dimensions;r(a.get(y[0],i))?v[0]=T.toGlobalCoord(T.getExtent()[u?0:1]):r(a.get(y[1],i))&&(v[1]=L.toGlobalCoord(L.getExtent()[u?0:1]))}isNaN(b)||(v[0]=b),isNaN(S)||(v[1]=S)}a.setItemLayout(i,v)}var c=t.extend({type:"markLine",updateTransform:function(a,i,u){i.eachSeries(function(f){var m=f.markLineModel;if(m){var A=m.getData(),g=m.__from,v=m.__to;g.each(function(b){n(g,b,!0,f,u),n(v,b,!1,f,u)}),A.each(function(b){A.setItemLayout(b,[g.getItemLayout(b),v.getItemLayout(b)])}),this.markerGroupMap.get(f.id).updateLayout()}},this)},renderSeries:function(a,i,u,f){var m=a.coordinateSystem,A=a.id,g=a.getData(),v=this.markerGroupMap,b=v.get(A)||v.set(A,new C);this.group.add(b.group);var S=e(m,a,i),y=S.from,w=S.to,x=S.line;i.__from=y,i.__to=w,i.setData(x);var T=i.get("symbol"),L=i.get("symbolSize");O.isArray(T)||(T=[T,T]),typeof L=="number"&&(L=[L,L]),S.from.each(function(P){R(y,P,!0),R(w,P,!1)}),x.each(function(P){var k=x.getItemModel(P).get("lineStyle.color");x.setItemVisual(P,{color:k||y.getItemVisual(P,"color")}),x.setItemLayout(P,[y.getItemLayout(P),w.getItemLayout(P)]),x.setItemVisual(P,{fromSymbolSize:y.getItemVisual(P,"symbolSize"),fromSymbol:y.getItemVisual(P,"symbol"),toSymbolSize:w.getItemVisual(P,"symbolSize"),toSymbol:w.getItemVisual(P,"symbol")})}),b.updateData(x),S.line.eachItemGraphicEl(function(P,k){P.traverse(function(U){U.dataModel=i})});function R(P,k,U){var D=P.getItemModel(k);n(P,k,U,a,f),P.setItemVisual(k,{symbolSize:D.get("symbolSize")||L[U?0:1],symbol:D.get("symbol",!0)||T[U?0:1],color:D.get("itemStyle.color")||g.getVisual("color")})}b.__keep=!0,b.group.silent=i.get("silent")||a.get("silent")}});function e(a,i,u){var f;a?f=O.map(a&&a.dimensions,function(S){var y=i.getData().getDimensionInfo(i.getData().mapDimension(S))||{};return O.defaults({name:S},y)}):f=[{name:"value",type:"float"}];var m=new _(f,u),A=new _(f,u),g=new _([],u),v=O.map(u.get("data"),O.curry(o,i,a,u));a&&(v=O.filter(v,O.curry(l,a)));var b=a?E.dimValueGetter:function(S){return S.value};return m.initData(O.map(v,function(S){return S[0]}),null,b),A.initData(O.map(v,function(S){return S[1]}),null,b),g.initData(O.map(v,function(S){return S[2]})),g.hasItemOption=!0,{from:m,to:A,line:g}}ue.exports=c},MHoB:function(ue,z,d){var O=d("bYtY"),_=d("6uqw"),I=d("OELB"),E=[20,140],C=_.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(h,o){C.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual(function(r){r.mappingMethod="linear",r.dataExtent=this.getExtent()}),this._resetRange()},resetItemSize:function(){C.superApply(this,"resetItemSize",arguments);var h=this.itemSize;this._orient==="horizontal"&&h.reverse(),(h[0]==null||isNaN(h[0]))&&(h[0]=E[0]),(h[1]==null||isNaN(h[1]))&&(h[1]=E[1])},_resetRange:function(){var h=this.getExtent(),o=this.option.range;!o||o.auto?(h.auto=1,this.option.range=h):O.isArray(o)&&(o[0]>o[1]&&o.reverse(),o[0]=Math.max(o[0],h[0]),o[1]=Math.min(o[1],h[1]))},completeVisualOption:function(){_.prototype.completeVisualOption.apply(this,arguments),O.each(this.stateList,function(h){var o=this.option.controller[h].symbolSize;o&&o[0]!==o[1]&&(o[0]=0)},this)},setSelected:function(h){this.option.range=h.slice(),this._resetRange()},getSelected:function(){var h=this.getExtent(),o=I.asc((this.get("range")||[]).slice());return o[0]>h[1]&&(o[0]=h[1]),o[1]>h[1]&&(o[1]=h[1]),o[0]<h[0]&&(o[0]=h[0]),o[1]<h[0]&&(o[1]=h[0]),o},getValueState:function(h){var o=this.option.range,r=this.getExtent();return(o[0]<=r[0]||o[0]<=h)&&(o[1]>=r[1]||h<=o[1])?"inRange":"outOfRange"},findTargetDataIndices:function(h){var o=[];return this.eachTargetSeries(function(r){var s=[],l=r.getData();l.each(this.getDataDimension(l),function(n,c){h[0]<=n&&n<=h[1]&&s.push(c)},this),o.push({seriesId:r.id,dataIndex:s})},this),o},getVisualMeta:function(h){var o=t(this,"outOfRange",this.getExtent()),r=t(this,"inRange",this.option.range.slice()),s=[];function l(f,m){s.push({value:f,color:h(f,m)})}for(var n=0,c=0,e=r.length,a=o.length;c<a&&(!r.length||o[c]<=r[0]);c++)o[c]<r[n]&&l(o[c],"outOfRange");for(var i=1;n<e;n++,i=0)i&&s.length&&l(r[n],"outOfRange"),l(r[n],"inRange");for(var i=1;c<a;c++)(!r.length||r[r.length-1]<o[c])&&(i&&(s.length&&l(s[s.length-1].value,"outOfRange"),i=0),l(o[c],"outOfRange"));var u=s.length;return{stops:s,outerColors:[u?s[0].color:"transparent",u?s[u-1].color:"transparent"]}}});function t(h,o,r){if(r[0]===r[1])return r.slice();for(var s=200,l=(r[1]-r[0])/s,n=r[0],c=[],e=0;e<=s&&n<r[1];e++)c.push(n),n+=l;return c.push(r[1]),c}var p=C;ue.exports=p},MHtr:function(ue,z,d){var O=d("bYtY");function _(E,C){var t=this.getAxis(),p=C instanceof Array?C[0]:C,h=(E instanceof Array?E[0]:E)/2;return t.type==="category"?t.getBandWidth():Math.abs(t.dataToCoord(p-h)-t.dataToCoord(p+h))}function I(E){var C=E.getRect();return{coordSys:{type:"singleAxis",x:C.x,y:C.y,width:C.width,height:C.height},api:{coord:function(t){return E.dataToPoint(t)},size:O.bind(_,E)}}}ue.exports=I},MJZm:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("q1tI"),t=d("fAei"),p=d("TSYQ"),h=d.n(p),o=d("RIqP"),r=d.n(o),s=d("J4zp"),l=d.n(s),n=d("sEfC"),c=d.n(n),e=d("OZM5"),a=d("815F"),i=d("vk+C"),u=d.n(i),f=d("Vy0f"),m=d.n(f),A=d("kGiB"),g=d.n(A),v=d("H84U"),b;(function(H){H[H.None=0]="None",H[H.Start=1]="Start",H[H.End=2]="End"})(b||(b={}));function S(H,K){function W(X){var V=X.key,Z=X.children;K(V,X)!==!1&&S(Z||[],K)}H.forEach(W)}function y(H){var K=H.treeData,W=H.expandedKeys,X=H.startKey,V=H.endKey,Z=[],G=b.None;if(X&&X===V)return[X];if(!X||!V)return[];function Y(te){return te===X||te===V}return S(K,function(te){if(G===b.End)return!1;if(Y(te)){if(Z.push(te),G===b.None)G=b.Start;else if(G===b.Start)return G=b.End,!1}else G===b.Start&&Z.push(te);return!(W.indexOf(te)===-1)}),Z}function w(H,K){var W=r()(K),X=[];return S(H,function(V,Z){var G=W.indexOf(V);return G!==-1&&(X.push(Z),W.splice(G,1)),!!W.length}),X}var x=function(H,K){var W={};for(var X in H)Object.prototype.hasOwnProperty.call(H,X)&&K.indexOf(X)<0&&(W[X]=H[X]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,X=Object.getOwnPropertySymbols(H);V<X.length;V++)K.indexOf(X[V])<0&&Object.prototype.propertyIsEnumerable.call(H,X[V])&&(W[X[V]]=H[X[V]]);return W};function T(H){var K=H.isLeaf,W=H.expanded;return K?C.createElement(u.a,null):W?C.createElement(m.a,null):C.createElement(g.a,null)}function L(H){var K=H.treeData,W=H.children;return K||Object(a.c)(W)}var R=function(K,W){var X=K.defaultExpandAll,V=K.defaultExpandParent,Z=K.defaultExpandedKeys,G=x(K,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]),Y=C.useRef(),te=C.useRef(),se=C.createRef();C.useImperativeHandle(W,function(){return se.current});var Ce=function(){var wt=Object(a.a)(L(G)),Et=wt.keyEntities,xt;return X?xt=Object.keys(Et):V?xt=Object(e.e)(G.expandedKeys||Z,Et):xt=G.expandedKeys||Z,xt},he=C.useState(G.selectedKeys||G.defaultSelectedKeys||[]),xe=l()(he,2),ie=xe[0],ee=xe[1],Ze=C.useState(Ce()),Se=l()(Ze,2),Ne=Se[0],it=Se[1];C.useEffect(function(){"selectedKeys"in G&&ee(G.selectedKeys)},[G.selectedKeys]),C.useEffect(function(){"expandedKeys"in G&&it(G.expandedKeys)},[G.expandedKeys]);var Ye=function(wt,Et){var xt=Et.isLeaf;if(xt||wt.shiftKey||wt.metaKey||wt.ctrlKey)return;se.current.onNodeExpand(wt,Et)},nt=c()(Ye,200,{leading:!0}),je=function(wt,Et){return"expandedKeys"in G||it(wt),G.onExpand?G.onExpand(wt,Et):void 0},et=function(wt,Et){var xt=G.expandAction;xt==="click"&&nt(wt,Et),G.onClick&&G.onClick(wt,Et)},He=function(wt,Et){var xt=G.expandAction;xt==="doubleClick"&&nt(wt,Et),G.onDoubleClick&&G.onDoubleClick(wt,Et)},pe=function(wt,Et){var xt=G.multiple,Tt=Et.node,Be=Et.nativeEvent,ce=Tt.key,q=ce===void 0?"":ce,dt=L(G),Ve=E()(E()({},Et),{selected:!0}),de=Be.ctrlKey||Be.metaKey,Ht=Be.shiftKey,tr;xt&&de?(tr=wt,Y.current=q,te.current=tr,Ve.selectedNodes=w(dt,tr)):xt&&Ht?(tr=Array.from(new Set([].concat(r()(te.current||[]),r()(y({treeData:dt,expandedKeys:Ne,startKey:q,endKey:Y.current}))))),Ve.selectedNodes=w(dt,tr)):(tr=[q],Y.current=q,te.current=tr,Ve.selectedNodes=w(dt,tr)),G.onSelect&&G.onSelect(tr,Ve),"selectedKeys"in G||ee(tr)},ae=C.useContext(v.b),re=ae.getPrefixCls,be=ae.direction,ze=G.prefixCls,Ke=G.className,Te=x(G,["prefixCls","className"]),gt=re("tree",ze),Ue=h()("".concat(gt,"-directory"),Ke,_()({},"".concat(gt,"-directory-rtl"),be==="rtl"));return C.createElement(B,E()({icon:T,ref:se,blockNode:!0},Te,{prefixCls:gt,className:Ue,expandedKeys:Ne,selectedKeys:ie,onSelect:pe,onClick:et,onDoubleClick:He,onExpand:je}))},P=C.forwardRef(R);P.displayName="DirectoryTree",P.defaultProps={showIcon:!0,expandAction:"click"};var k=P,U=d("EXcs"),D=d("2jpz"),M=C.forwardRef(function(H,K){var W,X=C.useContext(v.b),V=X.getPrefixCls,Z=X.direction,G=X.virtual,Y=H.prefixCls,te=H.className,se=H.showIcon,Ce=H.showLine,he=H.switcherIcon,xe=H.blockNode,ie=H.children,ee=H.checkable,Ze=E()(E()({},H),{showLine:Boolean(Ce)}),Se=V("tree",Y);return C.createElement(t.b,E()({itemHeight:20,ref:K,virtual:G},Ze,{prefixCls:Se,className:h()(te,(W={},_()(W,"".concat(Se,"-icon-hide"),!se),_()(W,"".concat(Se,"-block-node"),xe),_()(W,"".concat(Se,"-rtl"),Z==="rtl"),W)),checkable:ee&&C.createElement("span",{className:"".concat(Se,"-checkbox-inner")}),switcherIcon:function(it){return Object(D.a)(Se,he,Ce,it)}}),ie)});M.TreeNode=t.a,M.DirectoryTree=k,M.defaultProps={checkable:!1,showIcon:!1,motion:E()(E()({},U.a),{motionAppear:!1}),blockNode:!1};var B=M,j=z.a=B},MKOG:function(ue,z,d){var O=d("bYtY"),_=d("YH21"),I=_.Dispatcher,E=d("mLcG"),C=d("Bq2U"),t=function(o){o=o||{},this.stage=o.stage||{},this.onframe=o.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,I.call(this)};t.prototype={constructor:t,addClip:function(o){this._clips.push(o)},addAnimator:function(o){o.animation=this;for(var r=o.getClips(),s=0;s<r.length;s++)this.addClip(r[s])},removeClip:function(o){var r=O.indexOf(this._clips,o);r>=0&&this._clips.splice(r,1)},removeAnimator:function(o){for(var r=o.getClips(),s=0;s<r.length;s++)this.removeClip(r[s]);o.animation=null},_update:function(){for(var o=new Date().getTime()-this._pausedTime,r=o-this._time,s=this._clips,l=s.length,n=[],c=[],e=0;e<l;e++){var a=s[e],i=a.step(o,r);i&&(n.push(i),c.push(a))}for(var e=0;e<l;)s[e]._needsRemove?(s[e]=s[l-1],s.pop(),l--):e++;l=n.length;for(var e=0;e<l;e++)c[e].fire(n[e]);this._time=o,this.onframe(r),this.trigger("frame",r),this.stage.update&&this.stage.update()},_startLoop:function(){var o=this;this._running=!0;function r(){o._running&&(E(r),!o._paused&&o._update())}E(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(o,r){r=r||{};var s=new C(o,r.loop,r.getter,r.setter);return this.addAnimator(s),s}},O.mixin(t,I);var p=t;ue.exports=p},MRoa:function(ue,z,d){var O=d("ProS");d("0Bwj"),d("W2nI"),d("vcCh");var _=d("gawk"),I=d("Dg8C");O.registerLayout(_),O.registerVisual(I)},MT78:function(ue,z,d){var O=d("ProS");(function(){for(var I in O){if(O==null||!O.hasOwnProperty(I)||I==="default"||I==="__esModule")return;z[I]=O[I]}})();var _=d("txkQ");(function(){for(var I in _){if(_==null||!_.hasOwnProperty(I)||I==="default"||I==="__esModule")return;z[I]=_[I]}})(),d("A1Ka"),d("75ce"),d("lLGD"),d("wDdD"),d("Fa/5"),d("jett"),d("Z1wy"),d("75ev"),d("2uGb"),d("I+77"),d("B+YJ"),d("pLH3"),d("CBdT"),d("MRoa"),d("+lIL"),d("CF2D"),d("ERHi"),d("p+If"),d("XOKv"),d("qt/9"),d("bBL8"),d("1xaR"),d("4Feb"),d("zRKj"),d("L3Oj"),d("0HBW"),d("LPzL"),d("8waO"),d("k5C7"),d("f1nB"),d("sRwP"),d("AH3D"),d("y4/Y"),d("LzGr"),d("Ynxi"),d("7pVf"),d("2w7y"),d("laiN"),d("fjKi"),d("C0tN"),d("0o9m"),d("Cm0C"),d("f3JH"),d("5NHt"),d("VFCP"),d("dBmv"),d("KamJ"),d("8XDt"),d("juDX")},MXD1:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("Kvyg"),E=d.n(I)},MZdM:function(ue,z,d){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(n)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=h(d("Lo0S")),I=t(d("N/zr")),E=d("GdRQ"),C=d("GQ8N");function t(n){return n&&n.__esModule?n:{default:n}}function p(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return p=function(){return n},n}function h(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var c=p();if(c&&c.has(n))return c.get(n);var e={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var u=a?Object.getOwnPropertyDescriptor(n,i):null;u&&(u.get||u.set)?Object.defineProperty(e,i,u):e[i]=n[i]}return e.default=n,c&&c.set(n,e),e}function o(n,c){if(!(n instanceof c))throw new TypeError("Cannot call a class as a function")}function r(n,c){for(var e=0;e<c.length;e++){var a=c[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,a.key,a)}}function s(n,c,e){return c&&r(n.prototype,c),e&&r(n,e),n}var l=function(){function n(c){if(o(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,_.Debug(">> Display.constructor"),this._target=c,!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},_.Debug("User Agent: "+navigator.userAgent),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._tile16x16=this._drawCtx.createImageData(16,16),_.Debug("<< Display.constructor"),this._scale=1,this._clipViewport=!1,this.onflush=function(){}}return s(n,[{key:"viewportChangePos",value:function(e,a){var i=this._viewportLoc;e=Math.floor(e),a=Math.floor(a),this._clipViewport||(e=-i.w,a=-i.h);var u=i.x+i.w-1,f=i.y+i.h-1;if(e<0&&i.x+e<0&&(e=-i.x),u+e>=this._fbWidth&&(e-=u+e-this._fbWidth+1),i.y+a<0&&(a=-i.y),f+a>=this._fbHeight&&(a-=f+a-this._fbHeight+1),e===0&&a===0)return;_.Debug("viewportChange deltaX: "+e+", deltaY: "+a),i.x+=e,i.y+=a,this._damage(i.x,i.y,i.w,i.h),this.flip()}},{key:"viewportChangeSize",value:function(e,a){(!this._clipViewport||typeof e=="undefined"||typeof a=="undefined")&&(_.Debug("Setting viewport to full display region"),e=this._fbWidth,a=this._fbHeight),e=Math.floor(e),a=Math.floor(a),e>this._fbWidth&&(e=this._fbWidth),a>this._fbHeight&&(a=this._fbHeight);var i=this._viewportLoc;if(i.w!==e||i.h!==a){i.w=e,i.h=a;var u=this._target;u.width=e,u.height=a,this.viewportChangePos(0,0),this._damage(i.x,i.y,i.w,i.h),this.flip(),this._rescale(this._scale)}}},{key:"absX",value:function(e){return this._scale===0?0:(0,C.toSigned32bit)(e/this._scale+this._viewportLoc.x)}},{key:"absY",value:function(e){return this._scale===0?0:(0,C.toSigned32bit)(e/this._scale+this._viewportLoc.y)}},{key:"resize",value:function(e,a){this._prevDrawStyle="",this._fbWidth=e,this._fbHeight=a;var i=this._backbuffer;if(i.width!==e||i.height!==a){var u=null;i.width>0&&i.height>0&&(u=this._drawCtx.getImageData(0,0,i.width,i.height)),i.width!==e&&(i.width=e),i.height!==a&&(i.height=a),u&&this._drawCtx.putImageData(u,0,0)}var f=this._viewportLoc;this.viewportChangeSize(f.w,f.h),this.viewportChangePos(0,0)}},{key:"_damage",value:function(e,a,i,u){e<this._damageBounds.left&&(this._damageBounds.left=e),a<this._damageBounds.top&&(this._damageBounds.top=a),e+i>this._damageBounds.right&&(this._damageBounds.right=e+i),a+u>this._damageBounds.bottom&&(this._damageBounds.bottom=a+u)}},{key:"flip",value:function(e){if(this._renderQ.length!==0&&!e)this._renderQPush({type:"flip"});else{var a=this._damageBounds.left,i=this._damageBounds.top,u=this._damageBounds.right-a,f=this._damageBounds.bottom-i,m=a-this._viewportLoc.x,A=i-this._viewportLoc.y;m<0&&(u+=m,a-=m,m=0),A<0&&(f+=A,i-=A,A=0),m+u>this._viewportLoc.w&&(u=this._viewportLoc.w-m),A+f>this._viewportLoc.h&&(f=this._viewportLoc.h-A),u>0&&f>0&&this._targetCtx.drawImage(this._backbuffer,a,i,u,f,m,A,u,f),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(e,a,i,u,f,m){this._renderQ.length!==0&&!m?this._renderQPush({type:"fill",x:e,y:a,width:i,height:u,color:f}):(this._setFillColor(f),this._drawCtx.fillRect(e,a,i,u),this._damage(e,a,i,u))}},{key:"copyImage",value:function(e,a,i,u,f,m,A){this._renderQ.length!==0&&!A?this._renderQPush({type:"copy",oldX:e,oldY:a,x:i,y:u,width:f,height:m}):(this._drawCtx.mozImageSmoothingEnabled=!1,this._drawCtx.webkitImageSmoothingEnabled=!1,this._drawCtx.msImageSmoothingEnabled=!1,this._drawCtx.imageSmoothingEnabled=!1,this._drawCtx.drawImage(this._backbuffer,e,a,f,m,i,u,f,m),this._damage(i,u,f,m))}},{key:"imageRect",value:function(e,a,i,u,f,m){if(i===0||u===0)return;var A=new Image;A.src="data: "+f+";base64,"+I.default.encode(m),this._renderQPush({type:"img",img:A,x:e,y:a,width:i,height:u})}},{key:"startTile",value:function(e,a,i,u,f){this._tileX=e,this._tileY=a,i===16&&u===16?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(i,u);for(var m=f[2],A=f[1],g=f[0],v=this._tile.data,b=0;b<i*u*4;b+=4)v[b]=m,v[b+1]=A,v[b+2]=g,v[b+3]=255}},{key:"subTile",value:function(e,a,i,u,f){for(var m=f[2],A=f[1],g=f[0],v=e+i,b=a+u,S=this._tile.data,y=this._tile.width,w=a;w<b;w++)for(var x=e;x<v;x++){var T=(x+w*y)*4;S[T]=m,S[T+1]=A,S[T+2]=g,S[T+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(e,a,i,u,f,m,A){if(this._renderQ.length!==0&&!A){var g=new Uint8Array(i*u*4);g.set(new Uint8Array(f.buffer,0,g.length)),this._renderQPush({type:"blit",data:g,x:e,y:a,width:i,height:u})}else this._bgrxImageData(e,a,i,u,f,m)}},{key:"blitRgbImage",value:function(e,a,i,u,f,m,A){if(this._renderQ.length!==0&&!A){var g=new Uint8Array(i*u*3);g.set(new Uint8Array(f.buffer,0,g.length)),this._renderQPush({type:"blitRgb",data:g,x:e,y:a,width:i,height:u})}else this._rgbImageData(e,a,i,u,f,m)}},{key:"blitRgbxImage",value:function(e,a,i,u,f,m,A){if(this._renderQ.length!==0&&!A){var g=new Uint8Array(i*u*4);g.set(new Uint8Array(f.buffer,0,g.length)),this._renderQPush({type:"blitRgbx",data:g,x:e,y:a,width:i,height:u})}else this._rgbxImageData(e,a,i,u,f,m)}},{key:"drawImage",value:function(e,a,i){this._drawCtx.drawImage(e,a,i),this._damage(a,i,e.width,e.height)}},{key:"autoscale",value:function(e,a){var i;if(e===0||a===0)i=0;else{var u=this._viewportLoc,f=e/a,m=u.w/u.h;m>=f?i=e/u.w:i=a/u.h}this._rescale(i)}},{key:"_rescale",value:function(e){this._scale=e;var a=this._viewportLoc,i=e*a.w+"px",u=e*a.h+"px";(this._target.style.width!==i||this._target.style.height!==u)&&(this._target.style.width=i,this._target.style.height=u)}},{key:"_setFillColor",value:function(e){var a="rgb("+e[2]+","+e[1]+","+e[0]+")";a!==this._prevDrawStyle&&(this._drawCtx.fillStyle=a,this._prevDrawStyle=a)}},{key:"_rgbImageData",value:function(e,a,i,u,f,m){for(var A=this._drawCtx.createImageData(i,u),g=A.data,v=0,b=m;v<i*u*4;v+=4,b+=3)g[v]=f[b],g[v+1]=f[b+1],g[v+2]=f[b+2],g[v+3]=255;this._drawCtx.putImageData(A,e,a),this._damage(e,a,A.width,A.height)}},{key:"_bgrxImageData",value:function(e,a,i,u,f,m){for(var A=this._drawCtx.createImageData(i,u),g=A.data,v=0,b=m;v<i*u*4;v+=4,b+=4)g[v]=f[b+2],g[v+1]=f[b+1],g[v+2]=f[b],g[v+3]=255;this._drawCtx.putImageData(A,e,a),this._damage(e,a,A.width,A.height)}},{key:"_rgbxImageData",value:function(e,a,i,u,f,m){var A;E.supportsImageMetadata?A=new ImageData(new Uint8ClampedArray(f.buffer,f.byteOffset,i*u*4),i,u):(A=this._drawCtx.createImageData(i,u),A.data.set(new Uint8ClampedArray(f.buffer,f.byteOffset,i*u*4))),this._drawCtx.putImageData(A,e,a),this._damage(e,a,A.width,A.height)}},{key:"_renderQPush",value:function(e){this._renderQ.push(e),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 e=!0;e&&this._renderQ.length>0;){var a=this._renderQ[0];switch(a.type){case"flip":this.flip(!0);break;case"copy":this.copyImage(a.oldX,a.oldY,a.x,a.y,a.width,a.height,!0);break;case"fill":this.fillRect(a.x,a.y,a.width,a.height,a.color,!0);break;case"blit":this.blitImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgb":this.blitRgbImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"blitRgbx":this.blitRgbxImage(a.x,a.y,a.width,a.height,a.data,0,!0);break;case"img":if(a.img.complete&&a.img.width!==0&&a.img.height!==0){if(a.img.width!==a.width||a.img.height!==a.height){_.Error("Decoded image has incorrect dimensions. Got "+a.img.width+"x"+a.img.height+". Expected "+a.width+"x"+a.height+".");return}this.drawImage(a.img,a.x,a.y)}else a.img._noVNCDisplay=this,a.img.addEventListener("load",this._resumeRenderQ),e=!1;break}e&&this._renderQ.shift()}this._renderQ.length===0&&this._flushing&&(this._flushing=!1,this.onflush())}},{key:"scale",get:function(){return this._scale},set:function(e){this._rescale(e)}},{key:"clipViewport",get:function(){return this._clipViewport},set:function(e){this._clipViewport=e;var a=this._viewportLoc;this.viewportChangeSize(a.w,a.h),this.viewportChangePos(0,0)}},{key:"width",get:function(){return this._fbWidth}},{key:"height",get:function(){return this._fbHeight}}]),n}();z.default=l},Mdki:function(ue,z,d){var O=d("bYtY"),_=O.each,I="\0__link_datas",E="\0__link_mainData";function C(c){var e=c.mainData,a=c.datas;a||(a={main:e},c.datasAttr={main:"data"}),c.datas=c.mainData=null,s(e,a,c),_(a,function(i){_(e.TRANSFERABLE_METHODS,function(u){i.wrapMethod(u,O.curry(t,c))})}),e.wrapMethod("cloneShallow",O.curry(h,c)),_(e.CHANGABLE_METHODS,function(i){e.wrapMethod(i,O.curry(p,c))}),O.assert(a[e.dataType]===e)}function t(c,e){if(r(this)){var a=O.extend({},this[I]);a[this.dataType]=e,s(e,a,c)}else l(e,this.dataType,this[E],c);return e}function p(c,e){return c.struct&&c.struct.update(this),e}function h(c,e){return _(e[I],function(a,i){a!==e&&l(a.cloneShallow(),i,e,c)}),e}function o(c){var e=this[E];return c==null||e==null?e:e[I][c]}function r(c){return c[E]===c}function s(c,e,a){c[I]={},_(e,function(i,u){l(i,u,c,a)})}function l(c,e,a,i){a[I][e]=c,c[E]=a,c.dataType=e,i.struct&&(c[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=c),c.getLinkedData=o}var n=C;ue.exports=n},Mds0:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("8IMR")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="StarFilled";var h=E.forwardRef(p);z.default=h},Mgri:function(ue,z,d){for(var O=d("bYtY"),_=d("8nly"),I=[126,25],E=[[[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]]],C=0;C<E.length;C++)for(var t=0;t<E[C].length;t++)E[C][t][0]/=10.5,E[C][t][1]/=-10.5/.75,E[C][t][0]+=I[0],E[C][t][1]+=I[1];function p(h,o){h==="china"&&o.push(new _("\u5357\u6D77\u8BF8\u5C9B",O.map(E,function(r){return{type:"polygon",exterior:r}}),I))}ue.exports=p},Mmt2:function(ue,z,d){"use strict";function O(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(s)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=E(d("Lo0S"));function I(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return I=function(){return s},s}function E(s){if(s&&s.__esModule)return s;if(s===null||O(s)!=="object"&&typeof s!="function")return{default:s};var l=I();if(l&&l.has(s))return l.get(s);var n={},c=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in s)if(Object.prototype.hasOwnProperty.call(s,e)){var a=c?Object.getOwnPropertyDescriptor(s,e):null;a&&(a.get||a.set)?Object.defineProperty(n,e,a):n[e]=s[e]}return n.default=s,l&&l.set(s,n),n}function C(s,l){if(!(s instanceof l))throw new TypeError("Cannot call a class as a function")}function t(s,l){for(var n=0;n<l.length;n++){var c=l[n];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(s,c.key,c)}}function p(s,l,n){return l&&t(s.prototype,l),n&&t(s,n),s}var h=!1,o=40*1024*1024,r=function(){function s(){C(this,s),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 p(s,[{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 c=0,e=n-1;e>=0;e--)c+=this._rQ[this._rQi++]<<e*8;return c}},{key:"rQshiftStr",value:function(n){typeof n=="undefined"&&(n=this.rQlen);for(var c="",e=0;e<n;e+=4096){var a=this.rQshiftBytes(Math.min(4096,n-e));c+=String.fromCharCode.apply(null,a)}return c}},{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,c){c===void 0&&(c=this.rQlen),n.set(new Uint8Array(this._rQ.buffer,this._rQi,c)),this._rQi+=c}},{key:"rQslice",value:function(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.rQlen;return new Uint8Array(this._rQ.buffer,this._rQi+n,c-n)}},{key:"rQwait",value:function(n,c,e){if(this.rQlen<c){if(e){if(this._rQi<e)throw new Error("rQwait cannot backup "+e+" bytes");this._rQi-=e}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(c){return c.charCodeAt(0)}))}},{key:"off",value:function(n){this._eventHandlers[n]=function(){}}},{key:"on",value:function(n,c){this._eventHandlers[n]=c}},{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,c){var e=this;this.init(),this._websocket=new WebSocket(n,c),this._websocket.binaryType="arraybuffer",this._websocket.onmessage=this._recvMessage.bind(this),this._websocket.onopen=function(){_.Debug(">> WebSock.onopen"),e._websocket.protocol&&_.Info("Server choose sub-protocol: "+e._websocket.protocol),e._eventHandlers.open(),_.Debug("<< WebSock.onopen")},this._websocket.onclose=function(a){_.Debug(">> WebSock.onclose"),e._eventHandlers.close(a),_.Debug("<< WebSock.onclose")},this._websocket.onerror=function(a){_.Debug(">> WebSock.onerror: "+a),e._eventHandlers.error(a),_.Debug("<< WebSock.onerror: "+a)}}},{key:"close",value:function(){this._websocket&&((this._websocket.readyState===WebSocket.OPEN||this._websocket.readyState===WebSocket.CONNECTING)&&(_.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 c=(this._rQlen-this._rQi+n)*8,e=this._rQbufferSize<c;if(e&&(this._rQbufferSize=Math.max(this._rQbufferSize*2,c)),this._rQbufferSize>o&&(this._rQbufferSize=o,this._rQbufferSize-this.rQlen<n))throw new Error("Receive Queue buffer exceeded "+o+" bytes, and the new message could not fit");if(e){var a=this._rQ.buffer;this._rQ=new Uint8Array(this._rQbufferSize),this._rQ.set(new Uint8Array(a,this._rQi,this._rQlen-this._rQi))}else h?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 c=new Uint8Array(n);c.length>this._rQbufferSize-this._rQlen&&this._expandCompactRQ(c.length),this._rQ.set(c,this._rQlen),this._rQlen+=c.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)):_.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}}]),s}();z.default=r},MqEG:function(ue,z,d){var O=d("bYtY"),_=d("fc+c"),I=d("72pK"),E=d("VXYp"),C=O.bind,t=_.extend({type:"dataZoom.inside",init:function(s,l){this._range},render:function(s,l,n,c){t.superApply(this,"render",arguments),this._range=s.getPercentRange(),O.each(this.getTargetCoordInfo(),function(e,a){var i=O.map(e,function(u){return E.generateCoordId(u.model)});O.each(e,function(u){var f=u.model,m={};O.each(["pan","zoom","scrollMove"],function(A){m[A]=C(p[A],this,u,a)},this),E.register(n,{coordId:E.generateCoordId(f),allCoordIds:i,containsPoint:function(A,g,v){return f.coordinateSystem.containPoint([g,v])},dataZoomId:s.id,dataZoomModel:s,getRange:m})},this)},this)},dispose:function(){E.unregister(this.api,this.dataZoomModel.id),t.superApply(this,"dispose",arguments),this._range=null}}),p={zoom:function(s,l,n,c){var e=this._range,a=e.slice(),i=s.axisModels[0];if(!i)return;var u=o[l](null,[c.originX,c.originY],i,n,s),f=(u.signal>0?u.pixelStart+u.pixelLength-u.pixel:u.pixel-u.pixelStart)/u.pixelLength*(a[1]-a[0])+a[0],m=Math.max(1/c.scale,0);a[0]=(a[0]-f)*m+f,a[1]=(a[1]-f)*m+f;var A=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(I(0,a,[0,100],0,A.minSpan,A.maxSpan),this._range=a,e[0]!==a[0]||e[1]!==a[1])return a},pan:h(function(s,l,n,c,e,a){var i=o[c]([a.oldX,a.oldY],[a.newX,a.newY],l,e,n);return i.signal*(s[1]-s[0])*i.pixel/i.pixelLength}),scrollMove:h(function(s,l,n,c,e,a){var i=o[c]([0,0],[a.scrollDelta,a.scrollDelta],l,e,n);return i.signal*(s[1]-s[0])*a.scrollDelta})};function h(s){return function(l,n,c,e){var a=this._range,i=a.slice(),u=l.axisModels[0];if(!u)return;var f=s(i,u,l,n,c,e);if(I(f,i,[0,100],"all"),this._range=i,a[0]!==i[0]||a[1]!==i[1])return i}}var o={grid:function(s,l,n,c,e){var a=n.axis,i={},u=e.model.coordinateSystem.getRect();return s=s||[0,0],a.dim==="x"?(i.pixel=l[0]-s[0],i.pixelLength=u.width,i.pixelStart=u.x,i.signal=a.inverse?1:-1):(i.pixel=l[1]-s[1],i.pixelLength=u.height,i.pixelStart=u.y,i.signal=a.inverse?-1:1),i},polar:function(s,l,n,c,e){var a=n.axis,i={},u=e.model.coordinateSystem,f=u.getRadiusAxis().getExtent(),m=u.getAngleAxis().getExtent();return s=s?u.pointToCoord(s):[0,0],l=u.pointToCoord(l),n.mainType==="radiusAxis"?(i.pixel=l[0]-s[0],i.pixelLength=f[1]-f[0],i.pixelStart=f[0],i.signal=a.inverse?1:-1):(i.pixel=l[1]-s[1],i.pixelLength=m[1]-m[0],i.pixelStart=m[0],i.signal=a.inverse?-1:1),i},singleAxis:function(s,l,n,c,e){var a=n.axis,i=e.model.coordinateSystem.getRect(),u={};return s=s||[0,0],a.orient==="horizontal"?(u.pixel=l[0]-s[0],u.pixelLength=i.width,u.pixelStart=i.x,u.signal=a.inverse?1:-1):(u.pixel=l[1]-s[1],u.pixelLength=i.height,u.pixelStart=i.y,u.signal=a.inverse?-1:1),u}},r=t;ue.exports=r},MwEJ:function(ue,z,d){var O=d("bYtY"),_=d("YXkt"),I=d("sdST"),E=d("k9D9"),C=E.SOURCE_FORMAT_ORIGINAL,t=d("L0Ub"),p=t.getDimensionTypeByAxis,h=d("4NO4"),o=h.getDataItemValue,r=d("IDmD"),s=d("i38C"),l=s.getCoordSysInfoBySeries,n=d("7G+c"),c=d("7hqr"),e=c.enableDataStack,a=d("D5nY"),i=a.makeSeriesEncodeForAxisCoordSys;function u(g,v,b){b=b||{},n.isInstance(g)||(g=n.seriesDataToSource(g));var S=v.get("coordinateSystem"),y=r.get(S),w=l(v),x;w&&(x=O.map(w.coordSysDims,function(D){var M={name:D},B=w.axisMap.get(D);if(B){var j=B.get("type");M.type=p(j)}return M})),x||(x=y&&(y.getDimensionsInfo?y.getDimensionsInfo():y.dimensions.slice())||["x","y"]);var T=I(g,{coordDimensions:x,generateCoord:b.generateCoord,encodeDefaulter:b.useEncodeDefaulter?O.curry(i,x,v):null}),L,R;w&&O.each(T,function(D,M){var B=D.coordDim,j=w.categoryAxisMap.get(B);j&&(L==null&&(L=M),D.ordinalMeta=j.getOrdinalMeta()),D.otherDims.itemName!=null&&(R=!0)}),!R&&L!=null&&(T[L].otherDims.itemName=0);var P=e(v,T),k=new _(T,v);k.setCalculationInfo(P);var U=L!=null&&f(g)?function(D,M,B,j){return j===L?B:this.defaultDimValueGetter(D,M,B,j)}:null;return k.hasItemOption=!1,k.initData(g,null,U),k}function f(g){if(g.sourceFormat===C){var v=m(g.data||[]);return v!=null&&!O.isArray(o(v))}}function m(g){for(var v=0;v<g.length&&g[v]==null;)v++;return g[v]}var A=u;ue.exports=A},Mylv:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS"),E=d("oVpE"),C=E.createSymbol,t=d("OELB"),p=t.parsePercent,h=t.isNumeric,o=d("56rv"),r=o.setLabel,s=["itemStyle","borderWidth"],l=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],n=new I.Circle,c=O.extendChartView({type:"pictorialBar",render:function(H,K,W){var X=this.group,V=H.getData(),Z=this._data,G=H.coordinateSystem,Y=G.getBaseAxis(),te=!!Y.isHorizontal(),se=G.grid.getRect(),Ce={ecSize:{width:W.getWidth(),height:W.getHeight()},seriesModel:H,coordSys:G,coordSysExtent:[[se.x,se.x+se.width],[se.y,se.y+se.height]],isHorizontal:te,valueDim:l[+te],categoryDim:l[1-te]};return V.diff(Z).add(function(he){if(!V.hasValue(he))return;var xe=y(V,he),ie=e(V,he,xe,Ce),ee=L(V,Ce,ie);V.setItemGraphicEl(he,ee),X.add(ee),M(ee,Ce,ie)}).update(function(he,xe){var ie=Z.getItemGraphicEl(xe);if(!V.hasValue(he)){X.remove(ie);return}var ee=y(V,he),Ze=e(V,he,ee,Ce),Se=k(V,Ze);ie&&Se!==ie.__pictorialShapeStr&&(X.remove(ie),V.setItemGraphicEl(he,null),ie=null),ie?R(ie,Ce,Ze):ie=L(V,Ce,Ze,!0),V.setItemGraphicEl(he,ie),ie.__pictorialSymbolMeta=Ze,X.add(ie),M(ie,Ce,Ze)}).remove(function(he){var xe=Z.getItemGraphicEl(he);xe&&P(Z,he,xe.__pictorialSymbolMeta.animationModel,xe)}).execute(),this._data=V,this.group},dispose:_.noop,remove:function(H,K){var W=this.group,X=this._data;H.get("animation")?X&&X.eachItemGraphicEl(function(V){P(X,V.dataIndex,H,V)}):W.removeAll()}});function e(H,K,W,X){var V=H.getItemLayout(K),Z=W.get("symbolRepeat"),G=W.get("symbolClip"),Y=W.get("symbolPosition")||"start",te=W.get("symbolRotate"),se=(te||0)*Math.PI/180||0,Ce=W.get("symbolPatternSize")||2,he=W.isAnimationEnabled(),xe={dataIndex:K,layout:V,itemModel:W,symbolType:H.getItemVisual(K,"symbol")||"circle",color:H.getItemVisual(K,"color"),symbolClip:G,symbolRepeat:Z,symbolRepeatDirection:W.get("symbolRepeatDirection"),symbolPatternSize:Ce,rotation:se,animationModel:he?W:null,hoverAnimation:he&&W.get("hoverAnimation"),z2:W.getShallow("z",!0)||0};a(W,Z,V,X,xe),u(H,K,V,Z,G,xe.boundingLength,xe.pxSign,Ce,X,xe),f(W,xe.symbolScale,se,X,xe);var ie=xe.symbolSize,ee=W.get("symbolOffset");return _.isArray(ee)&&(ee=[p(ee[0],ie[0]),p(ee[1],ie[1])]),m(W,ie,V,Z,G,ee,Y,xe.valueLineWidth,xe.boundingLength,xe.repeatCutLength,X,xe),xe}function a(H,K,W,X,V){var Z=X.valueDim,G=H.get("symbolBoundingData"),Y=X.coordSys.getOtherAxis(X.coordSys.getBaseAxis()),te=Y.toGlobalCoord(Y.dataToCoord(0)),se=1-+(W[Z.wh]<=0),Ce;if(_.isArray(G)){var he=[i(Y,G[0])-te,i(Y,G[1])-te];he[1]<he[0]&&he.reverse(),Ce=he[se]}else G!=null?Ce=i(Y,G)-te:K?Ce=X.coordSysExtent[Z.index][se]-te:Ce=W[Z.wh];V.boundingLength=Ce,K&&(V.repeatCutLength=W[Z.wh]),V.pxSign=Ce>0?1:Ce<0?-1:0}function i(H,K){return H.toGlobalCoord(H.dataToCoord(H.scale.parse(K)))}function u(H,K,W,X,V,Z,G,Y,te,se){var Ce=te.valueDim,he=te.categoryDim,xe=Math.abs(W[he.wh]),ie=H.getItemVisual(K,"symbolSize");_.isArray(ie)?ie=ie.slice():(ie==null&&(ie="100%"),ie=[ie,ie]),ie[he.index]=p(ie[he.index],xe),ie[Ce.index]=p(ie[Ce.index],X?xe:Math.abs(Z)),se.symbolSize=ie;var ee=se.symbolScale=[ie[0]/Y,ie[1]/Y];ee[Ce.index]*=(te.isHorizontal?-1:1)*G}function f(H,K,W,X,V){var Z=H.get(s)||0;Z&&(n.attr({scale:K.slice(),rotation:W}),n.updateTransform(),Z/=n.getLineScale(),Z*=K[X.valueDim.index]),V.valueLineWidth=Z}function m(H,K,W,X,V,Z,G,Y,te,se,Ce,he){var xe=Ce.categoryDim,ie=Ce.valueDim,ee=he.pxSign,Ze=Math.max(K[ie.index]+Y,0),Se=Ze;if(X){var Ne=Math.abs(te),it=_.retrieve(H.get("symbolMargin"),"15%")+"",Ye=!1;it.lastIndexOf("!")===it.length-1&&(Ye=!0,it=it.slice(0,it.length-1)),it=p(it,K[ie.index]);var nt=Math.max(Ze+it*2,0),je=Ye?0:it*2,et=h(X),He=et?X:B((Ne+je)/nt),pe=Ne-He*Ze;it=pe/2/(Ye?He:He-1),nt=Ze+it*2,je=Ye?0:it*2,!et&&X!=="fixed"&&(He=se?B((Math.abs(se)+je)/nt):0),Se=He*nt-je,he.repeatTimes=He,he.symbolMargin=it}var ae=ee*(Se/2),re=he.pathPosition=[];re[xe.index]=W[xe.wh]/2,re[ie.index]=G==="start"?ae:G==="end"?te-ae:te/2,Z&&(re[0]+=Z[0],re[1]+=Z[1]);var be=he.bundlePosition=[];be[xe.index]=W[xe.xy],be[ie.index]=W[ie.xy];var ze=he.barRectShape=_.extend({},W);ze[ie.wh]=ee*Math.max(Math.abs(W[ie.wh]),Math.abs(re[ie.index]+ae)),ze[xe.wh]=W[xe.wh];var Ke=he.clipShape={};Ke[xe.xy]=-W[xe.xy],Ke[xe.wh]=Ce.ecSize[xe.wh],Ke[ie.xy]=0,Ke[ie.wh]=W[ie.wh]}function A(H){var K=H.symbolPatternSize,W=C(H.symbolType,-K/2,-K/2,K,K,H.color);return W.attr({culling:!0}),W.type!=="image"&&W.setStyle({strokeNoScale:!0}),W}function g(H,K,W,X){var V=H.__pictorialBundle,Z=W.symbolSize,G=W.valueLineWidth,Y=W.pathPosition,te=K.valueDim,se=W.repeatTimes||0,Ce=0,he=Z[K.valueDim.index]+G+W.symbolMargin*2;for(U(H,function(Ne){Ne.__pictorialAnimationIndex=Ce,Ne.__pictorialRepeatTimes=se,Ce<se?D(Ne,null,ee(Ce),W,X):D(Ne,null,{scale:[0,0]},W,X,function(){V.remove(Ne)}),T(Ne,W),Ce++});Ce<se;Ce++){var xe=A(W);xe.__pictorialAnimationIndex=Ce,xe.__pictorialRepeatTimes=se,V.add(xe);var ie=ee(Ce);D(xe,{position:ie.position,scale:[0,0]},{scale:ie.scale,rotation:ie.rotation},W,X),xe.on("mouseover",Ze).on("mouseout",Se),T(xe,W)}function ee(Ne){var it=Y.slice(),Ye=W.pxSign,nt=Ne;return(W.symbolRepeatDirection==="start"?Ye>0:Ye<0)&&(nt=se-1-Ne),it[te.index]=he*(nt-se/2+.5)+Y[te.index],{position:it,scale:W.symbolScale.slice(),rotation:W.rotation}}function Ze(){U(H,function(Ne){Ne.trigger("emphasis")})}function Se(){U(H,function(Ne){Ne.trigger("normal")})}}function v(H,K,W,X){var V=H.__pictorialBundle,Z=H.__pictorialMainPath;Z?D(Z,null,{position:W.pathPosition.slice(),scale:W.symbolScale.slice(),rotation:W.rotation},W,X):(Z=H.__pictorialMainPath=A(W),V.add(Z),D(Z,{position:W.pathPosition.slice(),scale:[0,0],rotation:W.rotation},{scale:W.symbolScale.slice()},W,X),Z.on("mouseover",G).on("mouseout",Y)),T(Z,W);function G(){this.trigger("emphasis")}function Y(){this.trigger("normal")}}function b(H,K,W){var X=_.extend({},K.barRectShape),V=H.__pictorialBarRect;V?D(V,null,{shape:X},K,W):(V=H.__pictorialBarRect=new I.Rect({z2:2,shape:X,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),H.add(V))}function S(H,K,W,X){if(W.symbolClip){var V=H.__pictorialClipPath,Z=_.extend({},W.clipShape),G=K.valueDim,Y=W.animationModel,te=W.dataIndex;if(V)I.updateProps(V,{shape:Z},Y,te);else{Z[G.wh]=0,V=new I.Rect({shape:Z}),H.__pictorialBundle.setClipPath(V),H.__pictorialClipPath=V;var se={};se[G.wh]=W.clipShape[G.wh],I[X?"updateProps":"initProps"](V,{shape:se},Y,te)}}}function y(H,K){var W=H.getItemModel(K);return W.getAnimationDelayParams=w,W.isAnimationEnabled=x,W}function w(H){return{index:H.__pictorialAnimationIndex,count:H.__pictorialRepeatTimes}}function x(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function T(H,K){H.off("emphasis").off("normal");var W=K.symbolScale.slice();K.hoverAnimation&&H.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 L(H,K,W,X){var V=new I.Group,Z=new I.Group;return V.add(Z),V.__pictorialBundle=Z,Z.attr("position",W.bundlePosition.slice()),W.symbolRepeat?g(V,K,W):v(V,K,W),b(V,W,X),S(V,K,W,X),V.__pictorialShapeStr=k(H,W),V.__pictorialSymbolMeta=W,V}function R(H,K,W){var X=W.animationModel,V=W.dataIndex,Z=H.__pictorialBundle;I.updateProps(Z,{position:W.bundlePosition.slice()},X,V),W.symbolRepeat?g(H,K,W,!0):v(H,K,W,!0),b(H,W,!0),S(H,K,W,!0)}function P(H,K,W,X){var V=X.__pictorialBarRect;V&&(V.style.text=null);var Z=[];U(X,function(G){Z.push(G)}),X.__pictorialMainPath&&Z.push(X.__pictorialMainPath),X.__pictorialClipPath&&(W=null),_.each(Z,function(G){I.updateProps(G,{scale:[0,0]},W,K,function(){X.parent&&X.parent.remove(X)})}),H.setItemGraphicEl(K,null)}function k(H,K){return[H.getItemVisual(K.dataIndex,"symbol")||"none",!!K.symbolRepeat,!!K.symbolClip].join(":")}function U(H,K,W){_.each(H.__pictorialBundle.children(),function(X){X!==H.__pictorialBarRect&&K.call(W,X)})}function D(H,K,W,X,V,Z){K&&H.attr(K),X.symbolClip&&!V?W&&H.attr(W):W&&I[V?"updateProps":"initProps"](H,W,X.animationModel,X.dataIndex,Z)}function M(H,K,W){var X=W.color,V=W.dataIndex,Z=W.itemModel,G=Z.getModel("itemStyle").getItemStyle(["color"]),Y=Z.getModel("emphasis.itemStyle").getItemStyle(),te=Z.getShallow("cursor");U(H,function(xe){xe.setColor(X),xe.setStyle(_.defaults({fill:X,opacity:W.opacity},G)),I.setHoverStyle(xe,Y),te&&(xe.cursor=te),xe.z2=W.z2});var se={},Ce=K.valueDim.posDesc[+(W.boundingLength>0)],he=H.__pictorialBarRect;r(he.style,se,Z,X,K.seriesModel,V,Ce),I.setHoverStyle(he,se)}function B(H){var K=Math.round(H);return Math.abs(H-K)<1e-4?K:Math.ceil(H)}var j=c;ue.exports=j},"N/zr":function(ue,z,d){"use strict";function O(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(h){return typeof h}:O=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},O(t)}Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=E(d("Lo0S"));function I(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return I=function(){return t},t}function E(t){if(t&&t.__esModule)return t;if(t===null||O(t)!=="object"&&typeof t!="function")return{default:t};var p=I();if(p&&p.has(t))return p.get(t);var h={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var s=o?Object.getOwnPropertyDescriptor(t,r):null;s&&(s.get||s.set)?Object.defineProperty(h,r,s):h[r]=t[r]}return h.default=t,p&&p.set(t,h),h}var C={toBase64Table:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),base64Pad:"=",encode:function(p){"use strict";for(var h="",o=p.length,r=o%3,s=0;s<o-2;s+=3)h+=this.toBase64Table[p[s]>>2],h+=this.toBase64Table[((p[s]&3)<<4)+(p[s+1]>>4)],h+=this.toBase64Table[((p[s+1]&15)<<2)+(p[s+2]>>6)],h+=this.toBase64Table[p[s+2]&63];var l=o-r;return r===2?(h+=this.toBase64Table[p[l]>>2],h+=this.toBase64Table[((p[l]&3)<<4)+(p[l+1]>>4)],h+=this.toBase64Table[(p[l+1]&15)<<2],h+=this.toBase64Table[64]):r===1&&(h+=this.toBase64Table[p[l]>>2],h+=this.toBase64Table[(p[l]&3)<<4],h+=this.toBase64Table[64],h+=this.toBase64Table[64]),h},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(p){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=p.indexOf("=")-h;o<0&&(o=p.length-h);for(var r=(o>>2)*3+Math.floor(o%4/1.5),s=new Array(r),l=0,n=0,c=0,e=h;e<p.length;e++){var a=this.toBinaryTable[p.charCodeAt(e)&127],i=p.charAt(e)===this.base64Pad;if(a===-1){_.Error("Illegal character code "+p.charCodeAt(e)+" at position "+e);continue}n=n<<6|a,l+=6,l>=8&&(l-=8,i||(s[c++]=n>>l&255),n&=(1<<l)-1)}if(l){var u=new Error("Corrupted base64 string");throw u.name="Base64-Error",u}return s}};z.default=C},N5BQ:function(ue,z,d){var O=d("OlYY"),_=O.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"}}}),I=_;ue.exports=I},NA0q:function(ue,z,d){var O=d("bYtY"),_=d("6Ic6"),I=d("TkdX"),E=d("gPAo"),C=d("7aKB"),t=C.windowOpen,p="sunburstRootToNode",h=_.extend({type:"sunburst",init:function(){},render:function(r,s,l,n){var c=this;this.seriesModel=r,this.api=l,this.ecModel=s;var e=r.getData(),a=e.tree.root,i=r.getViewRoot(),u=this.group,f=r.get("renderLabelForZeroData"),m=[];i.eachNode(function(x){m.push(x)});var A=this._oldChildren||[];if(b(m,A),w(a,i),n&&n.highlight&&n.highlight.piece){var g=r.getShallow("highlightPolicy");n.highlight.piece.onEmphasis(g)}else if(n&&n.unhighlight){var v=this.virtualPiece;!v&&a.children.length&&(v=a.children[0].piece),v&&v.onNormal()}this._initEvents(),this._oldChildren=m;function b(x,T){if(x.length===0&&T.length===0)return;new E(T,x,L,L).add(R).update(R).remove(O.curry(R,null)).execute();function L(P){return P.getId()}function R(P,k){var U=P==null?null:x[P],D=k==null?null:T[k];S(U,D)}}function S(x,T){if(!f&&x&&!x.getValue()&&(x=null),x!==a&&T!==a){if(T&&T.piece)x?(T.piece.updateData(!1,x,"normal",r,s),e.setItemGraphicEl(x.dataIndex,T.piece)):y(T);else if(x){var L=new I(x,r,s);u.add(L),e.setItemGraphicEl(x.dataIndex,L)}}}function y(x){if(!x)return;x.piece&&(u.remove(x.piece),x.piece=null)}function w(x,T){if(T.depth>0){c.virtualPiece?c.virtualPiece.updateData(!1,x,"normal",r,s):(c.virtualPiece=new I(x,r,s),u.add(c.virtualPiece)),T.piece._onclickEvent&&T.piece.off("click",T.piece._onclickEvent);var L=function(R){c._rootToNode(T.parentNode)};T.piece._onclickEvent=L,c.virtualPiece.on("click",L)}else c.virtualPiece&&(u.remove(c.virtualPiece),c.virtualPiece=null)}},dispose:function(){},_initEvents:function(){var r=this,s=function(l){var n=!1,c=r.seriesModel.getViewRoot();c.eachNode(function(e){if(!n&&e.piece&&e.piece.childAt(0)===l.target){var a=e.getModel().get("nodeClick");if(a==="rootToNode")r._rootToNode(e);else if(a==="link"){var i=e.getModel(),u=i.get("link");if(u){var f=i.get("target",!0)||"_blank";t(u,f)}}n=!0}})};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",s),this.group._onclickEvent=s},_rootToNode:function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:p,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},containPoint:function(r,s){var l=s.getData(),n=l.getItemLayout(0);if(n){var c=r[0]-n.cx,e=r[1]-n.cy,a=Math.sqrt(c*c+e*e);return a<=n.r&&a>=n.r0}}}),o=h;ue.exports=o},NAnI:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("wXyp"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},NBmB:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.encodingName=_,z.encodings=void 0;var O={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};z.encodings=O;function _(I){switch(I){case O.encodingRaw:return"Raw";case O.encodingCopyRect:return"CopyRect";case O.encodingRRE:return"RRE";case O.encodingHextile:return"Hextile";case O.encodingTight:return"Tight";case O.encodingTightPNG:return"TightPNG";default:return"[unknown encoding "+I+"]"}}},NC18:function(ue,z,d){var O=d("y+Vt"),_=d("IMiH"),I=d("7oTu"),E=Math.sqrt,C=Math.sin,t=Math.cos,p=Math.PI,h=function(m){return Math.sqrt(m[0]*m[0]+m[1]*m[1])},o=function(m,A){return(m[0]*A[0]+m[1]*A[1])/(h(m)*h(A))},r=function(m,A){return(m[0]*A[1]<m[1]*A[0]?-1:1)*Math.acos(o(m,A))};function s(f,m,A,g,v,b,S,y,w,x,T){var L=w*(p/180),R=t(L)*(f-A)/2+C(L)*(m-g)/2,P=-1*C(L)*(f-A)/2+t(L)*(m-g)/2,k=R*R/(S*S)+P*P/(y*y);k>1&&(S*=E(k),y*=E(k));var U=(v===b?-1:1)*E((S*S*(y*y)-S*S*(P*P)-y*y*(R*R))/(S*S*(P*P)+y*y*(R*R)))||0,D=U*S*P/y,M=U*-y*R/S,B=(f+A)/2+t(L)*D-C(L)*M,j=(m+g)/2+C(L)*D+t(L)*M,H=r([1,0],[(R-D)/S,(P-M)/y]),K=[(R-D)/S,(P-M)/y],W=[(-1*R-D)/S,(-1*P-M)/y],X=r(K,W);o(K,W)<=-1&&(X=p),o(K,W)>=1&&(X=0),b===0&&X>0&&(X=X-2*p),b===1&&X<0&&(X=X+2*p),T.addData(x,B,j,S,y,H,X,L,b)}var l=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,n=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function c(f){if(!f)return new _;for(var m=0,A=0,g=m,v=A,b,S=new _,y=_.CMD,w=f.match(l),x=0;x<w.length;x++){for(var T=w[x],L=T.charAt(0),R,P=T.match(n)||[],k=P.length,U=0;U<k;U++)P[U]=parseFloat(P[U]);for(var D=0;D<k;){var M,B,j,H,K,W,X,V=m,Z=A;switch(L){case"l":m+=P[D++],A+=P[D++],R=y.L,S.addData(R,m,A);break;case"L":m=P[D++],A=P[D++],R=y.L,S.addData(R,m,A);break;case"m":m+=P[D++],A+=P[D++],R=y.M,S.addData(R,m,A),g=m,v=A,L="l";break;case"M":m=P[D++],A=P[D++],R=y.M,S.addData(R,m,A),g=m,v=A,L="L";break;case"h":m+=P[D++],R=y.L,S.addData(R,m,A);break;case"H":m=P[D++],R=y.L,S.addData(R,m,A);break;case"v":A+=P[D++],R=y.L,S.addData(R,m,A);break;case"V":A=P[D++],R=y.L,S.addData(R,m,A);break;case"C":R=y.C,S.addData(R,P[D++],P[D++],P[D++],P[D++],P[D++],P[D++]),m=P[D-2],A=P[D-1];break;case"c":R=y.C,S.addData(R,P[D++]+m,P[D++]+A,P[D++]+m,P[D++]+A,P[D++]+m,P[D++]+A),m+=P[D-2],A+=P[D-1];break;case"S":M=m,B=A;var G=S.len(),Y=S.data;b===y.C&&(M+=m-Y[G-4],B+=A-Y[G-3]),R=y.C,V=P[D++],Z=P[D++],m=P[D++],A=P[D++],S.addData(R,M,B,V,Z,m,A);break;case"s":M=m,B=A;var G=S.len(),Y=S.data;b===y.C&&(M+=m-Y[G-4],B+=A-Y[G-3]),R=y.C,V=m+P[D++],Z=A+P[D++],m+=P[D++],A+=P[D++],S.addData(R,M,B,V,Z,m,A);break;case"Q":V=P[D++],Z=P[D++],m=P[D++],A=P[D++],R=y.Q,S.addData(R,V,Z,m,A);break;case"q":V=P[D++]+m,Z=P[D++]+A,m+=P[D++],A+=P[D++],R=y.Q,S.addData(R,V,Z,m,A);break;case"T":M=m,B=A;var G=S.len(),Y=S.data;b===y.Q&&(M+=m-Y[G-4],B+=A-Y[G-3]),m=P[D++],A=P[D++],R=y.Q,S.addData(R,M,B,m,A);break;case"t":M=m,B=A;var G=S.len(),Y=S.data;b===y.Q&&(M+=m-Y[G-4],B+=A-Y[G-3]),m+=P[D++],A+=P[D++],R=y.Q,S.addData(R,M,B,m,A);break;case"A":j=P[D++],H=P[D++],K=P[D++],W=P[D++],X=P[D++],V=m,Z=A,m=P[D++],A=P[D++],R=y.A,s(V,Z,m,A,W,X,j,H,K,R,S);break;case"a":j=P[D++],H=P[D++],K=P[D++],W=P[D++],X=P[D++],V=m,Z=A,m+=P[D++],A+=P[D++],R=y.A,s(V,Z,m,A,W,X,j,H,K,R,S);break}}(L==="z"||L==="Z")&&(R=y.Z,S.addData(R),m=g,A=v),b=R}return S.toStatic(),S}function e(f,m){var A=c(f);return m=m||{},m.buildPath=function(g){if(g.setData){g.setData(A.data);var v=g.getContext();v&&g.rebuildPath(v)}else{var v=g;A.rebuildPath(v)}},m.applyTransform=function(g){I(A,g),this.dirty(!0)},m}function a(f,m){return new O(e(f,m))}function i(f,m){return O.extend(e(f,m))}function u(f,m){for(var A=[],g=f.length,v=0;v<g;v++){var b=f[v];b.path||b.createPathProxy(),b.__dirtyPath&&b.buildPath(b.path,b.shape,!0),A.push(b.path)}var S=new O(m);return S.createPathProxy(),S.buildPath=function(y){y.appendPath(A);var w=y.getContext();w&&y.rebuildPath(w)},S}z.createFromString=a,z.extendFromString=i,z.mergePath=u},NH9N:function(ue,z,d){var O=d("bYtY"),_=d("mFDi"),I=d("Fofx"),E=d("IwbS"),C=d("+TT/"),t=d("kzvK"),p=d("CMP+"),h=d("oVpE"),o=h.createSymbol,r=d("aX7z"),s=d("OELB"),l=d("7aKB"),n=l.encodeHTML,c=O.bind,e=O.each,a=Math.PI,i=t.extend({type:"timeline.slider",init:function(g,v){this.api=v,this._axis,this._viewRect,this._timer,this._currentPointer,this._mainGroup,this._labelGroup},render:function(g,v,b,S){if(this.model=g,this.api=b,this.ecModel=v,this.group.removeAll(),g.get("show",!0)){var y=this._layout(g,b),w=this._createGroup("mainGroup"),x=this._createGroup("labelGroup"),T=this._axis=this._createAxis(y,g);g.formatTooltip=function(L){return n(T.scale.getLabel(L))},e(["AxisLine","AxisTick","Control","CurrentPointer"],function(L){this["_render"+L](y,w,T,g)},this),this._renderAxisLabel(y,x,T,g),this._position(y,g)}this._doPlayStop()},remove:function(){this._clearTimer(),this.group.removeAll()},dispose:function(){this._clearTimer()},_layout:function(g,v){var b=g.get("label.position"),S=g.get("orient"),y=u(g,v);b==null||b==="auto"?b=S==="horizontal"?y.y+y.height/2<v.getHeight()/2?"-":"+":y.x+y.width/2<v.getWidth()/2?"+":"-":isNaN(b)&&(b={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[S][b]);var w={horizontal:"center",vertical:b>=0||b==="+"?"left":"right"},x={horizontal:b>=0||b==="+"?"top":"bottom",vertical:"middle"},T={horizontal:0,vertical:a/2},L=S==="vertical"?y.height:y.width,R=g.getModel("controlStyle"),P=R.get("show",!0),k=P?R.get("itemSize"):0,U=P?R.get("itemGap"):0,D=k+U,M=g.get("label.rotate")||0;M=M*a/180;var B,j,H,K,W=R.get("position",!0),X=P&&R.get("showPlayBtn",!0),V=P&&R.get("showPrevBtn",!0),Z=P&&R.get("showNextBtn",!0),G=0,Y=L;return W==="left"||W==="bottom"?(X&&(B=[0,0],G+=D),V&&(j=[G,0],G+=D),Z&&(H=[Y-k,0],Y-=D)):(X&&(B=[Y-k,0],Y-=D),V&&(j=[0,0],G+=D),Z&&(H=[Y-k,0],Y-=D)),K=[G,Y],g.get("inverse")&&K.reverse(),{viewRect:y,mainLength:L,orient:S,rotation:T[S],labelRotation:M,labelPosOpt:b,labelAlign:g.get("label.align")||w[S],labelBaseline:g.get("label.verticalAlign")||g.get("label.baseline")||x[S],playPosition:B,prevBtnPosition:j,nextBtnPosition:H,axisExtent:K,controlSize:k,controlGap:U}},_position:function(g,v){var b=this._mainGroup,S=this._labelGroup,y=g.viewRect;if(g.orient==="vertical"){var w=I.create(),x=y.x,T=y.y+y.height;I.translate(w,w,[-x,-T]),I.rotate(w,w,-a/2),I.translate(w,w,[x,T]),y=y.clone(),y.applyTransform(w)}var L=j(y),R=j(b.getBoundingRect()),P=j(S.getBoundingRect()),k=b.position,U=S.position;U[0]=k[0]=L[0][0];var D=g.labelPosOpt;if(isNaN(D)){var M=D==="+"?0:1;H(k,R,L,1,M),H(U,P,L,1,1-M)}else{var M=D>=0?0:1;H(k,R,L,1,M),U[1]=k[1]+D}b.attr("position",k),S.attr("position",U),b.rotation=S.rotation=g.rotation,B(b),B(S);function B(K){var W=K.position;K.origin=[L[0][0]-W[0],L[1][0]-W[1]]}function j(K){return[[K.x,K.x+K.width],[K.y,K.y+K.height]]}function H(K,W,X,V,Z){K[V]+=X[V][Z]-W[V][Z]}},_createAxis:function(g,v){var b=v.getData(),S=v.get("axisType"),y=r.createScaleByModel(v,S);y.getTicks=function(){return b.mapArray(["value"],function(T){return T})};var w=b.getDataExtent("value");y.setExtent(w[0],w[1]),y.niceTicks();var x=new p("value",y,g.axisExtent,S);return x.model=v,x},_createGroup:function(g){var v=this["_"+g]=new E.Group;return this.group.add(v),v},_renderAxisLine:function(g,v,b,S){var y=b.getExtent();if(!S.get("lineStyle.show"))return;v.add(new E.Line({shape:{x1:y[0],y1:0,x2:y[1],y2:0},style:O.extend({lineCap:"round"},S.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(g,v,b,S){var y=S.getData(),w=b.scale.getTicks();e(w,function(x){var T=b.dataToCoord(x),L=y.getItemModel(x),R=L.getModel("itemStyle"),P=L.getModel("emphasis.itemStyle"),k={position:[T,0],onclick:c(this._changeTimeline,this,x)},U=m(L,R,v,k);E.setHoverStyle(U,P.getItemStyle()),L.get("tooltip")?(U.dataIndex=x,U.dataModel=S):U.dataIndex=U.dataModel=null},this)},_renderAxisLabel:function(g,v,b,S){var y=b.getLabelModel();if(!y.get("show"))return;var w=S.getData(),x=b.getViewLabels();e(x,function(T){var L=T.tickValue,R=w.getItemModel(L),P=R.getModel("label"),k=R.getModel("emphasis.label"),U=b.dataToCoord(T.tickValue),D=new E.Text({position:[U,0],rotation:g.labelRotation-g.rotation,onclick:c(this._changeTimeline,this,L),silent:!1});E.setTextStyle(D.style,P,{text:T.formattedLabel,textAlign:g.labelAlign,textVerticalAlign:g.labelBaseline}),v.add(D),E.setHoverStyle(D,E.setTextStyle({},k))},this)},_renderControl:function(g,v,b,S){var y=g.controlSize,w=g.rotation,x=S.getModel("controlStyle").getItemStyle(),T=S.getModel("emphasis.controlStyle").getItemStyle(),L=[0,-y/2,y,y],R=S.getPlayState(),P=S.get("inverse",!0);k(g.nextBtnPosition,"controlStyle.nextIcon",c(this._changeTimeline,this,P?"-":"+")),k(g.prevBtnPosition,"controlStyle.prevIcon",c(this._changeTimeline,this,P?"+":"-")),k(g.playPosition,"controlStyle."+(R?"stopIcon":"playIcon"),c(this._handlePlayClick,this,!R),!0);function k(U,D,M,B){if(!U)return;var j={position:U,origin:[y/2,0],rotation:B?-w:0,rectHover:!0,style:x,onclick:M},H=f(S,D,L,j);v.add(H),E.setHoverStyle(H,T)}},_renderCurrentPointer:function(g,v,b,S){var y=S.getData(),w=S.getCurrentIndex(),x=y.getItemModel(w).getModel("checkpointStyle"),T=this,L={onCreate:function(R){R.draggable=!0,R.drift=c(T._handlePointerDrag,T),R.ondragend=c(T._handlePointerDragend,T),A(R,w,b,S,!0)},onUpdate:function(R){A(R,w,b,S)}};this._currentPointer=m(x,x,this._mainGroup,{},this._currentPointer,L)},_handlePlayClick:function(g){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:g,from:this.uid})},_handlePointerDrag:function(g,v,b){this._clearTimer(),this._pointerChangeTimeline([b.offsetX,b.offsetY])},_handlePointerDragend:function(g){this._pointerChangeTimeline([g.offsetX,g.offsetY],!0)},_pointerChangeTimeline:function(g,v){var b=this._toAxisCoord(g)[0],S=this._axis,y=s.asc(S.getExtent().slice());b>y[1]&&(b=y[1]),b<y[0]&&(b=y[0]),this._currentPointer.position[0]=b,this._currentPointer.dirty();var w=this._findNearestTick(b),x=this.model;(v||w!==x.getCurrentIndex()&&x.get("realtime"))&&this._changeTimeline(w)},_doPlayStop:function(){this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(c(g,this),this.model.get("playInterval")));function g(){var v=this.model;this._changeTimeline(v.getCurrentIndex()+(v.get("rewind",!0)?-1:1))}},_toAxisCoord:function(g){var v=this._mainGroup.getLocalTransform();return E.applyTransform(g,v,!0)},_findNearestTick:function(g){var v=this.model.getData(),b=Infinity,S,y=this._axis;return v.each(["value"],function(w,x){var T=y.dataToCoord(w),L=Math.abs(T-g);L<b&&(b=L,S=x)}),S},_clearTimer:function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},_changeTimeline:function(g){var v=this.model.getCurrentIndex();g==="+"?g=v+1:g==="-"&&(g=v-1),this.api.dispatchAction({type:"timelineChange",currentIndex:g,from:this.uid})}});function u(g,v){return C.getLayoutRect(g.getBoxLayoutParams(),{width:v.getWidth(),height:v.getHeight()},g.get("padding"))}function f(g,v,b,S){var y=E.makePath(g.get(v).replace(/^path:\/\//,""),O.clone(S||{}),new _(b[0],b[1],b[2],b[3]),"center");return y}function m(g,v,b,S,y,w){var x=v.get("color");if(y)y.setColor(x),b.add(y),w&&w.onUpdate(y);else{var T=g.get("symbol");y=o(T,-1,-1,2,2,x),y.setStyle("strokeNoScale",!0),b.add(y),w&&w.onCreate(y)}var L=v.getItemStyle(["color","symbol","symbolSize"]);y.setStyle(L),S=O.merge({rectHover:!0,z2:100},S,!0);var R=g.get("symbolSize");R=R instanceof Array?R.slice():[+R,+R],R[0]/=2,R[1]/=2,S.scale=R;var P=g.get("symbolOffset");if(P){var k=S.position=S.position||[0,0];k[0]+=s.parsePercent(P[0],R[0]),k[1]+=s.parsePercent(P[1],R[1])}var U=g.get("symbolRotate");return S.rotation=(U||0)*Math.PI/180||0,y.attr(S),y.updateTransform(),y}function A(g,v,b,S,y){if(g.dragging)return;var w=S.getModel("checkpointStyle"),x=b.dataToCoord(S.getData().get(["value"],v));y||!w.get("animation",!0)?g.attr({position:[x,0]}):(g.stopAnimation(!0),g.animateTo({position:[x,0]},w.get("animationDuration",!0),w.get("animationEasing",!0)))}ue.exports=i},NJEC:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("J4zp"),E=d.n(I),C=d("q1tI"),t=d.n(C),p=d("TSYQ"),h=d.n(p),o=d("sKbD"),r=d.n(o),s=d("4IlW"),l=d("3S7+"),n=d("2/Rp"),c=d("zvFY"),e=d("YMnH"),a=d("ZvpZ"),i=d("H84U"),u=d("bogI"),f=d("0n0R"),m=void 0,A=function(v,b){var S={};for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&b.indexOf(y)<0&&(S[y]=v[y]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var w=0,y=Object.getOwnPropertySymbols(v);w<y.length;w++)b.indexOf(y[w])<0&&Object.prototype.propertyIsEnumerable.call(v,y[w])&&(S[y[w]]=v[y[w]]);return S},g=C.forwardRef(function(v,b){var S=C.useState(v.visible),y=E()(S,2),w=y[0],x=y[1];C.useEffect(function(){"visible"in v&&x(v.visible)},[v.visible]),C.useEffect(function(){"defaultVisible"in v&&x(v.defaultVisible)},[v.defaultVisible]);var T=function(te,se){"visible"in v||x(te),v.onVisibleChange&&v.onVisibleChange(te,se)},L=function(te){T(!1,te),v.onConfirm&&v.onConfirm.call(m,te)},R=function(te){T(!1,te),v.onCancel&&v.onCancel.call(m,te)},P=function(te){te.keyCode===s.a.ESC&&w&&T(!1,te)},k=function(te){var se=v.disabled;if(se)return;T(te)},U=function(te,se){var Ce=v.okButtonProps,he=v.cancelButtonProps,xe=v.title,ie=v.cancelText,ee=v.okText,Ze=v.okType,Se=v.icon;return C.createElement("div",{className:"".concat(te,"-inner-content")},C.createElement("div",{className:"".concat(te,"-message")},Se,C.createElement("div",{className:"".concat(te,"-message-title")},Object(u.a)(xe))),C.createElement("div",{className:"".concat(te,"-buttons")},C.createElement(n.a,_()({onClick:R,size:"small"},he),ie||se.cancelText),C.createElement(n.a,_()({onClick:L},Object(c.a)(Ze),{size:"small"},Ce),ee||se.okText)))},D=C.useContext(i.b),M=D.getPrefixCls,B=v.prefixCls,j=v.placement,H=v.children,K=v.overlayClassName,W=A(v,["prefixCls","placement","children","overlayClassName"]),X=M("popover",B),V=M("popconfirm",B),Z=h()(V,K),G=C.createElement(e.a,{componentName:"Popconfirm",defaultLocale:a.a.Popconfirm},function(Y){return U(X,Y)});return C.createElement(l.a,_()({},W,{prefixCls:X,placement:j,onVisibleChange:k,visible:w,overlay:G,overlayClassName:Z,ref:b}),Object(f.a)(H,{onKeyDown:function(te){var se,Ce;(Ce=H==null?void 0:(se=H.props).onKeyDown)===null||Ce===void 0||Ce.call(se,te),P(te)}}))});g.defaultProps={transitionName:"zoom-big",placement:"top",trigger:"click",okType:"primary",icon:C.createElement(r.a,null),disabled:!1},z.a=g},NUBc:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("q1tI"),t=d.n(C),p=d("wx14"),h=d("rePB"),o=d("VTBJ"),r=d("1OyB"),s=d("vuIU"),l=d("Ji7U"),n=d("LK+K"),c=d("TSYQ"),e=d.n(c),a=function(se){var Ce,he="".concat(se.rootPrefixCls,"-item"),xe=e()(he,"".concat(he,"-").concat(se.page),(Ce={},Object(h.a)(Ce,"".concat(he,"-active"),se.active),Object(h.a)(Ce,se.className,!!se.className),Object(h.a)(Ce,"".concat(he,"-disabled"),!se.page),Ce)),ie=function(){se.onClick(se.page)},ee=function(Se){se.onKeyPress(Se,se.onClick,se.page)};return t.a.createElement("li",{title:se.showTitle?se.page:null,className:xe,onClick:ie,onKeyPress:ee,tabIndex:"0"},se.itemRender(se.page,"page",t.a.createElement("a",{rel:"nofollow"},se.page)))},i=a,u={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},f=function(te){Object(l.a)(Ce,te);var se=Object(n.a)(Ce);function Ce(){var he;Object(r.a)(this,Ce);for(var xe=arguments.length,ie=new Array(xe),ee=0;ee<xe;ee++)ie[ee]=arguments[ee];return he=se.call.apply(se,[this].concat(ie)),he.state={goInputText:""},he.buildOptionText=function(Ze){return"".concat(Ze," ").concat(he.props.locale.items_per_page)},he.changeSize=function(Ze){he.props.changeSize(Number(Ze))},he.handleChange=function(Ze){he.setState({goInputText:Ze.target.value})},he.handleBlur=function(Ze){var Se=he.props,Ne=Se.goButton,it=Se.quickGo,Ye=Se.rootPrefixCls,nt=he.state.goInputText;if(Ne||nt==="")return;if(Ze.relatedTarget&&(Ze.relatedTarget.className.indexOf("".concat(Ye,"-prev"))>=0||Ze.relatedTarget.className.indexOf("".concat(Ye,"-next"))>=0))return;he.setState({goInputText:""}),it(he.getValidValue())},he.go=function(Ze){var Se=he.state.goInputText;if(Se==="")return;(Ze.keyCode===u.ENTER||Ze.type==="click")&&(he.setState({goInputText:""}),he.props.quickGo(he.getValidValue()))},he}return Object(s.a)(Ce,[{key:"getValidValue",value:function(){var xe=this.state,ie=xe.goInputText,ee=xe.current;return!ie||isNaN(ie)?ee:Number(ie)}},{key:"getPageSizeOptions",value:function(){var xe=this.props,ie=xe.pageSize,ee=xe.pageSizeOptions;return ee.some(function(Ze){return Ze.toString()===ie.toString()})?ee:ee.concat([ie.toString()]).sort(function(Ze,Se){var Ne=isNaN(Number(Ze))?0:Number(Ze),it=isNaN(Number(Se))?0:Number(Se);return Ne-it})}},{key:"render",value:function(){var xe=this,ie=this.props,ee=ie.pageSize,Ze=ie.locale,Se=ie.rootPrefixCls,Ne=ie.changeSize,it=ie.quickGo,Ye=ie.goButton,nt=ie.selectComponentClass,je=ie.buildOptionText,et=ie.selectPrefixCls,He=ie.disabled,pe=this.state.goInputText,ae="".concat(Se,"-options"),re=nt,be=null,ze=null,Ke=null;if(!Ne&&!it)return null;var Te=this.getPageSizeOptions();if(Ne&&re){var gt=Te.map(function(Ue,bt){return t.a.createElement(re.Option,{key:bt,value:Ue.toString()},(je||xe.buildOptionText)(Ue))});be=t.a.createElement(re,{disabled:He,prefixCls:et,showSearch:!1,className:"".concat(ae,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(ee||Te[0]).toString(),onChange:this.changeSize,getPopupContainer:function(bt){return bt.parentNode}},gt)}return it&&(Ye&&(Ke=typeof Ye=="boolean"?t.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:He,className:"".concat(ae,"-quick-jumper-button")},Ze.jump_to_confirm):t.a.createElement("span",{onClick:this.go,onKeyUp:this.go},Ye)),ze=t.a.createElement("div",{className:"".concat(ae,"-quick-jumper")},Ze.jump_to,t.a.createElement("input",{disabled:He,type:"text",value:pe,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),Ze.page,Ke)),t.a.createElement("li",{className:"".concat(ae)},be,ze)}}]),Ce}(t.a.Component);f.defaultProps={pageSizeOptions:["10","20","50","100"]};var m=f,A=d("N2Kk");function g(){}function v(te){return typeof te=="number"&&isFinite(te)&&Math.floor(te)===te}function b(te,se,Ce){return Ce}function S(te,se,Ce){var he=typeof te=="undefined"?se.pageSize:te;return Math.floor((Ce.total-1)/he)+1}var y=function(te){Object(l.a)(Ce,te);var se=Object(n.a)(Ce);function Ce(he){var xe;Object(r.a)(this,Ce),xe=se.call(this,he),xe.getJumpPrevPage=function(){return Math.max(1,xe.state.current-(xe.props.showLessItems?3:5))},xe.getJumpNextPage=function(){return Math.min(S(void 0,xe.state,xe.props),xe.state.current+(xe.props.showLessItems?3:5))},xe.getItemIcon=function(Ne,it){var Ye=xe.props.prefixCls,nt=Ne||t.a.createElement("button",{type:"button","aria-label":it,className:"".concat(Ye,"-item-link")});return typeof Ne=="function"&&(nt=t.a.createElement(Ne,Object(o.a)({},xe.props))),nt},xe.savePaginationNode=function(Ne){xe.paginationNode=Ne},xe.isValid=function(Ne){return v(Ne)&&Ne!==xe.state.current},xe.shouldDisplayQuickJumper=function(){var Ne=xe.props,it=Ne.showQuickJumper,Ye=Ne.pageSize,nt=Ne.total;return nt<=Ye?!1:it},xe.handleKeyDown=function(Ne){(Ne.keyCode===u.ARROW_UP||Ne.keyCode===u.ARROW_DOWN)&&Ne.preventDefault()},xe.handleKeyUp=function(Ne){var it=xe.getValidValue(Ne),Ye=xe.state.currentInputValue;it!==Ye&&xe.setState({currentInputValue:it}),Ne.keyCode===u.ENTER?xe.handleChange(it):Ne.keyCode===u.ARROW_UP?xe.handleChange(it-1):Ne.keyCode===u.ARROW_DOWN&&xe.handleChange(it+1)},xe.changePageSize=function(Ne){var it=xe.state.current,Ye=S(Ne,xe.state,xe.props);it=it>Ye?Ye:it,Ye===0&&(it=xe.state.current),typeof Ne=="number"&&("pageSize"in xe.props||xe.setState({pageSize:Ne}),"current"in xe.props||xe.setState({current:it,currentInputValue:it})),xe.props.onShowSizeChange(it,Ne),"onChange"in xe.props&&xe.props.onChange&&xe.props.onChange(it,Ne)},xe.handleChange=function(Ne){var it=xe.props.disabled,Ye=Ne;if(xe.isValid(Ye)&&!it){var nt=S(void 0,xe.state,xe.props);Ye>nt?Ye=nt:Ye<1&&(Ye=1),"current"in xe.props||xe.setState({current:Ye,currentInputValue:Ye});var je=xe.state.pageSize;return xe.props.onChange(Ye,je),Ye}return xe.state.current},xe.prev=function(){xe.hasPrev()&&xe.handleChange(xe.state.current-1)},xe.next=function(){xe.hasNext()&&xe.handleChange(xe.state.current+1)},xe.jumpPrev=function(){xe.handleChange(xe.getJumpPrevPage())},xe.jumpNext=function(){xe.handleChange(xe.getJumpNextPage())},xe.hasPrev=function(){return xe.state.current>1},xe.hasNext=function(){return xe.state.current<S(void 0,xe.state,xe.props)},xe.runIfEnter=function(Ne,it){if(Ne.key==="Enter"||Ne.charCode===13){for(var Ye=arguments.length,nt=new Array(Ye>2?Ye-2:0),je=2;je<Ye;je++)nt[je-2]=arguments[je];it.apply(void 0,nt)}},xe.runIfEnterPrev=function(Ne){xe.runIfEnter(Ne,xe.prev)},xe.runIfEnterNext=function(Ne){xe.runIfEnter(Ne,xe.next)},xe.runIfEnterJumpPrev=function(Ne){xe.runIfEnter(Ne,xe.jumpPrev)},xe.runIfEnterJumpNext=function(Ne){xe.runIfEnter(Ne,xe.jumpNext)},xe.handleGoTO=function(Ne){(Ne.keyCode===u.ENTER||Ne.type==="click")&&xe.handleChange(xe.state.currentInputValue)};var ie=he.onChange!==g,ee="current"in he;ee&&!ie&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var Ze=he.defaultCurrent;"current"in he&&(Ze=he.current);var Se=he.defaultPageSize;return"pageSize"in he&&(Se=he.pageSize),Ze=Math.min(Ze,S(Se,void 0,he)),xe.state={current:Ze,currentInputValue:Ze,pageSize:Se},xe}return Object(s.a)(Ce,[{key:"componentDidUpdate",value:function(xe,ie){var ee=this.props.prefixCls;if(ie.current!==this.state.current&&this.paginationNode){var Ze=this.paginationNode.querySelector(".".concat(ee,"-item-").concat(ie.current));Ze&&document.activeElement===Ze&&Ze.blur()}}},{key:"getValidValue",value:function(xe){var ie=xe.target.value,ee=S(void 0,this.state,this.props),Ze=this.state.currentInputValue,Se;return ie===""?Se=ie:isNaN(Number(ie))?Se=Ze:ie>=ee?Se=ee:Se=Number(ie),Se}},{key:"getShowSizeChanger",value:function(){var xe=this.props,ie=xe.showSizeChanger,ee=xe.total,Ze=xe.totalBoundaryShowSizeChanger;return typeof ie!="undefined"?ie:ee>Ze}},{key:"renderPrev",value:function(xe){var ie=this.props,ee=ie.prevIcon,Ze=ie.itemRender,Se=Ze(xe,"prev",this.getItemIcon(ee,"prev page")),Ne=!this.hasPrev();return Object(C.isValidElement)(Se)?Object(C.cloneElement)(Se,{disabled:Ne}):Se}},{key:"renderNext",value:function(xe){var ie=this.props,ee=ie.nextIcon,Ze=ie.itemRender,Se=Ze(xe,"next",this.getItemIcon(ee,"next page")),Ne=!this.hasNext();return Object(C.isValidElement)(Se)?Object(C.cloneElement)(Se,{disabled:Ne}):Se}},{key:"render",value:function(){var xe=this,ie=this.props,ee=ie.prefixCls,Ze=ie.className,Se=ie.style,Ne=ie.disabled,it=ie.hideOnSinglePage,Ye=ie.total,nt=ie.locale,je=ie.showQuickJumper,et=ie.showLessItems,He=ie.showTitle,pe=ie.showTotal,ae=ie.simple,re=ie.itemRender,be=ie.showPrevNextJumpers,ze=ie.jumpPrevIcon,Ke=ie.jumpNextIcon,Te=ie.selectComponentClass,gt=ie.selectPrefixCls,Ue=ie.pageSizeOptions,bt=this.state,wt=bt.current,Et=bt.pageSize,xt=bt.currentInputValue;if(it===!0&&Ye<=Et)return null;var Tt=S(void 0,this.state,this.props),Be=[],ce=null,q=null,dt=null,Ve=null,de=null,Ht=je&&je.goButton,tr=et?1:2,lt=wt-1>0?wt-1:0,Xt=wt+1<Tt?wt+1:Tt,sr=Object.keys(this.props).reduce(function(Ln,$e){return($e.substr(0,5)==="data-"||$e.substr(0,5)==="aria-"||$e==="role")&&(Ln[$e]=xe.props[$e]),Ln},{});if(ae)return Ht&&(typeof Ht=="boolean"?de=t.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},nt.jump_to_confirm):de=t.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ht),de=t.a.createElement("li",{title:He?"".concat(nt.jump_to).concat(wt,"/").concat(Tt):null,className:"".concat(ee,"-simple-pager")},de)),t.a.createElement("ul",Object(p.a)({className:e()(ee,"".concat(ee,"-simple"),Object(h.a)({},"".concat(ee,"-disabled"),Ne),Ze),style:Se,ref:this.savePaginationNode},sr),t.a.createElement("li",{title:He?nt.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ee,"-prev"),Object(h.a)({},"".concat(ee,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(lt)),t.a.createElement("li",{title:He?"".concat(wt,"/").concat(Tt):null,className:"".concat(ee,"-simple-pager")},t.a.createElement("input",{type:"text",value:xt,disabled:Ne,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),t.a.createElement("span",{className:"".concat(ee,"-slash")},"/"),Tt),t.a.createElement("li",{title:He?nt.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:e()("".concat(ee,"-next"),Object(h.a)({},"".concat(ee,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Xt)),de);if(Tt<=3+tr*2){var Kr={locale:nt,rootPrefixCls:ee,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:He,itemRender:re};Tt||Be.push(t.a.createElement(i,Object(p.a)({},Kr,{key:"noPager",page:Tt,className:"".concat(ee,"-disabled")})));for(var rr=1;rr<=Tt;rr+=1){var nr=wt===rr;Be.push(t.a.createElement(i,Object(p.a)({},Kr,{key:rr,page:rr,active:nr})))}}else{var Nt=et?nt.prev_3:nt.prev_5,ot=et?nt.next_3:nt.next_5;be&&(ce=t.a.createElement("li",{title:He?Nt:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:e()("".concat(ee,"-jump-prev"),Object(h.a)({},"".concat(ee,"-jump-prev-custom-icon"),!!ze))},re(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ze,"prev page"))),q=t.a.createElement("li",{title:He?ot:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:e()("".concat(ee,"-jump-next"),Object(h.a)({},"".concat(ee,"-jump-next-custom-icon"),!!Ke))},re(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ke,"next page")))),Ve=t.a.createElement(i,{locale:nt,last:!0,rootPrefixCls:ee,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Tt,page:Tt,active:!1,showTitle:He,itemRender:re}),dt=t.a.createElement(i,{locale:nt,rootPrefixCls:ee,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:He,itemRender:re});var Qe=Math.max(1,wt-tr),qt=Math.min(wt+tr,Tt);wt-1<=tr&&(qt=1+tr*2),Tt-wt<=tr&&(Qe=Tt-tr*2);for(var xr=Qe;xr<=qt;xr+=1){var vr=wt===xr;Be.push(t.a.createElement(i,{locale:nt,rootPrefixCls:ee,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xr,page:xr,active:vr,showTitle:He,itemRender:re}))}wt-1>=tr*2&&wt!==1+2&&(Be[0]=Object(C.cloneElement)(Be[0],{className:"".concat(ee,"-item-after-jump-prev")}),Be.unshift(ce)),Tt-wt>=tr*2&&wt!==Tt-2&&(Be[Be.length-1]=Object(C.cloneElement)(Be[Be.length-1],{className:"".concat(ee,"-item-before-jump-next")}),Be.push(q)),Qe!==1&&Be.unshift(dt),qt!==Tt&&Be.push(Ve)}var fr=null;pe&&(fr=t.a.createElement("li",{className:"".concat(ee,"-total-text")},pe(Ye,[Ye===0?0:(wt-1)*Et+1,wt*Et>Ye?Ye:wt*Et])));var An=!this.hasPrev()||!Tt,$r=!this.hasNext()||!Tt;return t.a.createElement("ul",Object(p.a)({className:e()(ee,Ze,Object(h.a)({},"".concat(ee,"-disabled"),Ne)),style:Se,unselectable:"unselectable",ref:this.savePaginationNode},sr),fr,t.a.createElement("li",{title:He?nt.prev_page:null,onClick:this.prev,tabIndex:An?null:0,onKeyPress:this.runIfEnterPrev,className:e()("".concat(ee,"-prev"),Object(h.a)({},"".concat(ee,"-disabled"),An)),"aria-disabled":An},this.renderPrev(lt)),Be,t.a.createElement("li",{title:He?nt.next_page:null,onClick:this.next,tabIndex:$r?null:0,onKeyPress:this.runIfEnterNext,className:e()("".concat(ee,"-next"),Object(h.a)({},"".concat(ee,"-disabled"),$r)),"aria-disabled":$r},this.renderNext(Xt)),t.a.createElement(m,{disabled:Ne,locale:nt,rootPrefixCls:ee,selectComponentClass:Te,selectPrefixCls:gt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:wt,pageSize:Et,pageSizeOptions:Ue,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ht}))}}],[{key:"getDerivedStateFromProps",value:function(xe,ie){var ee={};if("current"in xe&&(ee.current=xe.current,xe.current!==ie.current&&(ee.currentInputValue=ee.current)),"pageSize"in xe&&xe.pageSize!==ie.pageSize){var Ze=ie.current,Se=S(xe.pageSize,ie,xe);Ze=Ze>Se?Se:Ze,"current"in xe||(ee.current=Ze,ee.currentInputValue=Ze),ee.pageSize=xe.pageSize}return ee}}]),Ce}(t.a.Component);y.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:g,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:g,locale:A.a,style:{},itemRender:b,totalBoundaryShowSizeChanger:50};var w=y,x=d("H4fg"),T=d("DFhj"),L=d.n(T),R=d("fEPi"),P=d.n(R),k=d("u9fO"),U=d.n(k),D=d("mO/d"),M=d.n(D),B=d("2fM7"),j=function(se){return C.createElement(B.a,E()({size:"small"},se))};j.Option=B.a.Option;var H=j,K=d("YMnH"),W=d("H84U"),X=d("5OYt"),V=function(te,se){var Ce={};for(var he in te)Object.prototype.hasOwnProperty.call(te,he)&&se.indexOf(he)<0&&(Ce[he]=te[he]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,he=Object.getOwnPropertySymbols(te);xe<he.length;xe++)se.indexOf(he[xe])<0&&Object.prototype.propertyIsEnumerable.call(te,he[xe])&&(Ce[he[xe]]=te[he[xe]]);return Ce},Z=function(se){var Ce=se.prefixCls,he=se.selectPrefixCls,xe=se.className,ie=se.size,ee=se.locale,Ze=V(se,["prefixCls","selectPrefixCls","className","size","locale"]),Se=Object(X.a)(),Ne=Se.xs,it=C.useContext(W.b),Ye=it.getPrefixCls,nt=it.direction,je=Ye("pagination",Ce),et=function(){var ae=C.createElement("span",{className:"".concat(je,"-item-ellipsis")},"\u2022\u2022\u2022"),re=C.createElement("button",{className:"".concat(je,"-item-link"),type:"button",tabIndex:-1},C.createElement(L.a,null)),be=C.createElement("button",{className:"".concat(je,"-item-link"),type:"button",tabIndex:-1},C.createElement(P.a,null)),ze=C.createElement("a",{className:"".concat(je,"-item-link")},C.createElement("div",{className:"".concat(je,"-item-container")},C.createElement(U.a,{className:"".concat(je,"-item-link-icon")}),ae)),Ke=C.createElement("a",{className:"".concat(je,"-item-link")},C.createElement("div",{className:"".concat(je,"-item-container")},C.createElement(M.a,{className:"".concat(je,"-item-link-icon")}),ae));if(nt==="rtl"){var Te=[be,re];re=Te[0],be=Te[1];var gt=[Ke,ze];ze=gt[0],Ke=gt[1]}return{prevIcon:re,nextIcon:be,jumpPrevIcon:ze,jumpNextIcon:Ke}},He=function(ae){var re=E()(E()({},ae),ee),be=ie==="small"||!!(Ne&&!ie&&Ze.responsive),ze=Ye("select",he),Ke=e()(xe,_()({mini:be},"".concat(je,"-rtl"),nt==="rtl"));return C.createElement(w,E()({},Ze,{prefixCls:je,selectPrefixCls:ze},et(),{className:Ke,selectComponentClass:be?H:B.a,locale:re}))};return C.createElement(K.a,{componentName:"Pagination",defaultLocale:x.a},He)},G=Z,Y=z.a=G},NohK:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=function(I){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,C=null;return function(){for(var t=this,p=arguments.length,h=new Array(p),o=0;o<p;o++)h[o]=arguments[o];clearTimeout(C),C=setTimeout(function(){I.apply(t,h)},E)}};z.default=O},Nu4q:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={icon:function(I,E){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:I}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:E}},{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:E}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:E}},{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:I}}]}},name:"picture",theme:"twotone"};z.default=O},NvD2:function(ue,z,d){"use strict";d.d(z,"a",function(){return t});var O=d("Kwbf");function _(p,h){var o=new Set;return p.forEach(function(r){h.has(r)||o.add(r)}),o}function I(p){var h=p||{},o=h.disabled,r=h.disableCheckbox,s=h.checkable;return!!(o||r)||s===!1}function E(p,h,o,r){for(var s=new Set(p),l=new Set,n=0;n<=o;n+=1){var c=h.get(n)||new Set;c.forEach(function(u){var f=u.key,m=u.node,A=u.children,g=A===void 0?[]:A;s.has(f)&&!r(m)&&g.filter(function(v){return!r(v.node)}).forEach(function(v){s.add(v.key)})})}for(var e=new Set,a=o;a>=0;a-=1){var i=h.get(a)||new Set;i.forEach(function(u){var f=u.parent,m=u.node;if(r(m)||!u.parent||e.has(u.parent.key))return;if(r(u.parent.node)){e.add(f.key);return}var A=!0,g=!1;(f.children||[]).filter(function(v){return!r(v.node)}).forEach(function(v){var b=v.key,S=s.has(b);A&&!S&&(A=!1),!g&&(S||l.has(b))&&(g=!0)}),A&&s.add(f.key),g&&l.add(f.key),e.add(f.key)})}return{checkedKeys:Array.from(s),halfCheckedKeys:Array.from(_(l,s))}}function C(p,h,o,r,s){for(var l=new Set(p),n=new Set(h),c=0;c<=r;c+=1){var e=o.get(c)||new Set;e.forEach(function(f){var m=f.key,A=f.node,g=f.children,v=g===void 0?[]:g;!l.has(m)&&!n.has(m)&&!s(A)&&v.filter(function(b){return!s(b.node)}).forEach(function(b){l.delete(b.key)})})}n=new Set;for(var a=new Set,i=r;i>=0;i-=1){var u=o.get(i)||new Set;u.forEach(function(f){var m=f.parent,A=f.node;if(s(A)||!f.parent||a.has(f.parent.key))return;if(s(f.parent.node)){a.add(m.key);return}var g=!0,v=!1;(m.children||[]).filter(function(b){return!s(b.node)}).forEach(function(b){var S=b.key,y=l.has(S);g&&!y&&(g=!1),!v&&(y||n.has(S))&&(v=!0)}),g||l.delete(m.key),v&&n.add(m.key),a.add(m.key)})}return{checkedKeys:Array.from(l),halfCheckedKeys:Array.from(_(n,l))}}function t(p,h,o,r){var s=[],l;r?l=r:l=I;var n=new Set(p.filter(function(i){var u=!!o[i];return u||s.push(i),u})),c=new Map,e=0;Object.keys(o).forEach(function(i){var u=o[i],f=u.level,m=c.get(f);m||(m=new Set,c.set(f,m)),m.add(u),e=Math.max(e,f)}),Object(O.a)(!s.length,"Tree missing follow keys: ".concat(s.slice(0,100).map(function(i){return"'".concat(i,"'")}).join(", ")));var a;return h===!0?a=E(n,c,e,l):a=C(n,h.halfCheckedKeys,c,e,l),a}},"O/iA":function(ue,z,d){},O3gP:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("O/iA"),E=d.n(I),C=d("OaEy")},OELB:function(ue,z,d){var O=d("bYtY"),_=1e-4;function I(v){return v.replace(/^\s+|\s+$/g,"")}function E(v,b,S,y){var w=b[1]-b[0],x=S[1]-S[0];if(w===0)return x===0?S[0]:(S[0]+S[1])/2;if(y)if(w>0){if(v<=b[0])return S[0];if(v>=b[1])return S[1]}else{if(v>=b[0])return S[0];if(v<=b[1])return S[1]}else{if(v===b[0])return S[0];if(v===b[1])return S[1]}return(v-b[0])/w*x+S[0]}function C(v,b){switch(v){case"center":case"middle":v="50%";break;case"left":case"top":v="0%";break;case"right":case"bottom":v="100%";break}return typeof v=="string"?I(v).match(/%$/)?parseFloat(v)/100*b:parseFloat(v):v==null?NaN:+v}function t(v,b,S){return b==null&&(b=10),b=Math.min(Math.max(0,b),20),v=(+v).toFixed(b),S?v:+v}function p(v){return v.sort(function(b,S){return b-S}),v}function h(v){if(v=+v,isNaN(v))return 0;for(var b=1,S=0;Math.round(v*b)/b!==v;)b*=10,S++;return S}function o(v){var b=v.toString(),S=b.indexOf("e");if(S>0){var y=+b.slice(S+1);return y<0?-y:0}else{var w=b.indexOf(".");return w<0?0:b.length-1-w}}function r(v,b){var S=Math.log,y=Math.LN10,w=Math.floor(S(v[1]-v[0])/y),x=Math.round(S(Math.abs(b[1]-b[0]))/y),T=Math.min(Math.max(-w+x,0),20);return isFinite(T)?T:20}function s(v,b,S){if(!v[b])return 0;var y=O.reduce(v,function(B,j){return B+(isNaN(j)?0:j)},0);if(y===0)return 0;for(var w=Math.pow(10,S),x=O.map(v,function(B){return(isNaN(B)?0:B)/y*w*100}),T=w*100,L=O.map(x,function(B){return Math.floor(B)}),R=O.reduce(L,function(B,j){return B+j},0),P=O.map(x,function(B,j){return B-L[j]});R<T;){for(var k=Number.NEGATIVE_INFINITY,U=null,D=0,M=P.length;D<M;++D)P[D]>k&&(k=P[D],U=D);++L[U],P[U]=0,++R}return L[b]/w}var l=9007199254740991;function n(v){var b=Math.PI*2;return(v%b+b)%b}function c(v){return v>-_&&v<_}var e=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(v){if(v instanceof Date)return v;if(typeof v=="string"){var b=e.exec(v);if(!b)return new Date(NaN);if(b[8]){var S=+b[4]||0;return b[8].toUpperCase()!=="Z"&&(S-=b[8].slice(0,3)),new Date(Date.UTC(+b[1],+(b[2]||1)-1,+b[3]||1,S,+(b[5]||0),+b[6]||0,+b[7]||0))}else return new Date(+b[1],+(b[2]||1)-1,+b[3]||1,+b[4]||0,+(b[5]||0),+b[6]||0,+b[7]||0)}else if(v==null)return new Date(NaN);return new Date(Math.round(v))}function i(v){return Math.pow(10,u(v))}function u(v){if(v===0)return 0;var b=Math.floor(Math.log(v)/Math.LN10);return v/Math.pow(10,b)>=10&&b++,b}function f(v,b){var S=u(v),y=Math.pow(10,S),w=v/y,x;return b?w<1.5?x=1:w<2.5?x=2:w<4?x=3:w<7?x=5:x=10:w<1?x=1:w<2?x=2:w<3?x=3:w<5?x=5:x=10,v=x*y,S>=-20?+v.toFixed(S<0?-S:0):v}function m(v,b){var S=(v.length-1)*b+1,y=Math.floor(S),w=+v[y-1],x=S-y;return x?w+x*(v[y]-w):w}function A(v){v.sort(function(R,P){return L(R,P,0)?-1:1});for(var b=-Infinity,S=1,y=0;y<v.length;){for(var w=v[y].interval,x=v[y].close,T=0;T<2;T++)w[T]<=b&&(w[T]=b,x[T]=T?1:1-S),b=w[T],S=x[T];w[0]===w[1]&&x[0]*x[1]!==1?v.splice(y,1):y++}return v;function L(R,P,k){return R.interval[k]<P.interval[k]||R.interval[k]===P.interval[k]&&(R.close[k]-P.close[k]===(k?-1:1)||!k&&L(R,P,1))}}function g(v){return v-parseFloat(v)>=0}z.linearMap=E,z.parsePercent=C,z.round=t,z.asc=p,z.getPrecision=h,z.getPrecisionSafe=o,z.getPixelPrecision=r,z.getPercentWithPrecision=s,z.MAX_SAFE_INTEGER=l,z.remRadian=n,z.isRadianAroundZero=c,z.parseDate=a,z.quantity=i,z.quantityExponent=u,z.nice=f,z.quantile=m,z.reformIntervals=A,z.isNumeric=g},OKJ2:function(ue,z,d){var O=d("KxfA"),_=O.retrieveRawValue,I=d("7aKB"),E=I.getTooltipMarker,C=I.formatTpl,t=d("4NO4"),p=t.getTooltipRenderMode,h=/\{@(.+?)\}/g,o={getDataParams:function(r,s){var l=this.getData(s),n=this.getRawValue(r,s),c=l.getRawIndex(r),e=l.getName(r),a=l.getRawDataItem(r),i=l.getItemVisual(r,"color"),u=l.getItemVisual(r,"borderColor"),f=this.ecModel.getComponent("tooltip"),m=f&&f.get("renderMode"),A=p(m),g=this.mainType,v=g==="series",b=l.userOutput;return{componentType:g,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:v?this.subType:null,seriesIndex:this.seriesIndex,seriesId:v?this.id:null,seriesName:v?this.name:null,name:e,dataIndex:c,data:a,dataType:s,value:n,color:i,borderColor:u,dimensionNames:b?b.dimensionNames:null,encode:b?b.encode:null,marker:E({color:i,renderMode:A}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(r,s,l,n,c){s=s||"normal";var e=this.getData(l),a=e.getItemModel(r),i=this.getDataParams(r,l);n!=null&&i.value instanceof Array&&(i.value=i.value[n]);var u=a.get(s==="normal"?[c||"label","formatter"]:[s,c||"label","formatter"]);if(typeof u=="function")return i.status=s,i.dimensionIndex=n,u(i);if(typeof u=="string"){var f=C(u,i);return f.replace(h,function(m,A){var g=A.length;return A.charAt(0)==="["&&A.charAt(g-1)==="]"&&(A=+A.slice(1,g-1)),_(e,r,A)})}},getRawValue:function(r,s){return _(this.getData(s),r)},formatTooltip:function(){}};ue.exports=o},OPEp:function(ue,z,d){},OQFs:function(ue,z,d){var O=d("KCsZ"),_=O([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),I={getLineStyle:function(E){var C=_(this,E);return C.lineDash=this.getLineDash(C.lineWidth),C},getLineDash:function(E){E==null&&(E=1);var C=this.get("type"),t=Math.max(E,2),p=E*4;return C==="solid"||C==null?!1:C==="dashed"?[p,p]:[t,t]}};ue.exports=I},OS9S:function(ue,z,d){var O=d("bYtY"),_=O.inherits,I=d("Gev7"),E=d("mFDi");function C(h){I.call(this,h),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}C.prototype.incremental=!0,C.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},C.prototype.addDisplayable=function(h,o){o?this._temporaryDisplayables.push(h):this._displayables.push(h),this.dirty()},C.prototype.addDisplayables=function(h,o){o=o||!1;for(var r=0;r<h.length;r++)this.addDisplayable(h[r],o)},C.prototype.eachPendingDisplayable=function(h){for(var o=this._cursor;o<this._displayables.length;o++)h&&h(this._displayables[o]);for(var o=0;o<this._temporaryDisplayables.length;o++)h&&h(this._temporaryDisplayables[o])},C.prototype.update=function(){this.updateTransform();for(var h=this._cursor;h<this._displayables.length;h++){var o=this._displayables[h];o.parent=this,o.update(),o.parent=null}for(var h=0;h<this._temporaryDisplayables.length;h++){var o=this._temporaryDisplayables[h];o.parent=this,o.update(),o.parent=null}},C.prototype.brush=function(h,o){for(var r=this._cursor;r<this._displayables.length;r++){var s=this._displayables[r];s.beforeBrush&&s.beforeBrush(h),s.brush(h,r===this._cursor?null:this._displayables[r-1]),s.afterBrush&&s.afterBrush(h)}this._cursor=r;for(var r=0;r<this._temporaryDisplayables.length;r++){var s=this._temporaryDisplayables[r];s.beforeBrush&&s.beforeBrush(h),s.brush(h,r===0?null:this._temporaryDisplayables[r-1]),s.afterBrush&&s.afterBrush(h)}this._temporaryDisplayables=[],this.notClear=!0};var t=[];C.prototype.getBoundingRect=function(){if(!this._rect){for(var h=new E(Infinity,Infinity,-Infinity,-Infinity),o=0;o<this._displayables.length;o++){var r=this._displayables[o],s=r.getBoundingRect().clone();r.needLocalTransform()&&s.applyTransform(r.getLocalTransform(t)),h.union(s)}this._rect=h}return this._rect},C.prototype.contain=function(h,o){var r=this.transformCoordToLocal(h,o),s=this.getBoundingRect();if(s.contain(r[0],r[1]))for(var l=0;l<this._displayables.length;l++){var n=this._displayables[l];if(n.contain(h,o))return!0}return!1},_(C,I);var p=C;ue.exports=p},OUJF:function(ue,z,d){var O=d("ProS"),_=d("bYtY");O.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(I,E){var C=E.getComponent("timeline");return C&&I.currentIndex!=null&&(C.setCurrentIndex(I.currentIndex),!C.get("loop",!0)&&C.isIndexMax()&&C.setPlayState(!1)),E.resetOption("timeline"),_.defaults({currentIndex:C.option.currentIndex},I)}),O.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(I,E){var C=E.getComponent("timeline");C&&I.playState!=null&&C.setPlayState(I.playState)})},OXB0:function(ue,z,d){var O=d("T4UG"),_=d("MwEJ"),I=d("IDmD"),E=O.extend({type:"series.heatmap",getInitialData:function(C,t){return _(this.getSource(),this,{generateCoord:"value"})},preventIncremental:function(){var C=I.get(this.get("coordinateSystem"));if(C&&C.dimensions)return C.dimensions[0]==="lng"&&C.dimensions[1]==="lat"},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0}});ue.exports=E},OZM5:function(ue,z,d){"use strict";d.d(z,"b",function(){return r}),d.d(z,"a",function(){return s}),d.d(z,"k",function(){return l}),d.d(z,"h",function(){return n}),d.d(z,"i",function(){return c}),d.d(z,"g",function(){return e}),d.d(z,"c",function(){return a}),d.d(z,"d",function(){return i}),d.d(z,"j",function(){return m}),d.d(z,"e",function(){return A}),d.d(z,"f",function(){return g});var O=d("KQm4"),_=d("U8pU"),I=d("Ff2n"),E=d("q1tI"),C=d.n(E),t=d("Kwbf"),p=d("WaYH"),h=.25,o=2;function r(v,b){var S=v.slice(),y=S.indexOf(b);return y>=0&&S.splice(y,1),S}function s(v,b){var S=v.slice();return S.indexOf(b)===-1&&S.push(b),S}function l(v){return v.split("-")}function n(v,b){return"".concat(v,"-").concat(b)}function c(v){return v&&v.type&&v.type.isTreeNode}function e(v,b){var S=[v],y=b[v];function w(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];x.forEach(function(T){var L=T.key,R=T.children;S.push(L),w(R)})}return w(y.children),S}function a(v,b){var S=v.clientY,y=b.selectHandle.getBoundingClientRect(),w=y.top,x=y.bottom,T=y.height,L=Math.max(T*h,o);return S<=w+L?-1:S>=x-L?1:0}function i(v,b){if(!v)return;var S=b.multiple;return S?v.slice():v.length?[v[0]]:v}var u=function(b){return b};function f(v,b){if(!v)return[];var S=b||{},y=S.processProps,w=y===void 0?u:y,x=Array.isArray(v)?v:[v];return x.map(function(T){var L=T.children,R=Object(I.a)(T,["children"]),P=f(L,b);return C.a.createElement(p.a,Object.assign({},w(R)),P)})}function m(v){if(!v)return null;var b;if(Array.isArray(v))b={checkedKeys:v,halfCheckedKeys:void 0};else if(Object(_.a)(v)==="object")b={checkedKeys:v.checked||void 0,halfCheckedKeys:v.halfChecked||void 0};else return Object(t.a)(!1,"`checkedKeys` is not an array or an object"),null;return b}function A(v,b){var S=new Set;function y(w){if(S.has(w))return;var x=b[w];if(!x)return;S.add(w);var T=x.parent,L=x.node;if(L.disabled)return;T&&y(T.key)}return(v||[]).forEach(function(w){y(w)}),Object(O.a)(S)}function g(v){var b={};return Object.keys(v).forEach(function(S){(S.startsWith("data-")||S.startsWith("aria-"))&&(b[S]=v[S])}),b}},OaEy:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("bKJz"),E=d.n(I),C=d("R9oj")},Ol7k:function(ue,z,d){"use strict";var O=d("PKem"),_=d("ZX9x");O.b.Sider=_.b,z.a=O.b},OlYY:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("ItGF"),t=d("4NO4"),p=d("UOVi"),h=d("zDms"),o=E.each,r=p.eachAxisDim,s=I.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(e,a,i){this._dataIntervalByAxis={},this._dataInfo={},this._axisProxies={},this.textStyleModel,this._autoThrottle=!0,this._rangePropMode=["percent","percent"];var u=l(e);this.settledOption=u,this.mergeDefaultAndTheme(e,i),this.doInit(u)},mergeOption:function(e){var a=l(e);E.merge(this.option,e,!0),E.merge(this.settledOption,a,!0),this.doInit(a)},doInit:function(e){var a=this.option;C.canvasSupported||(a.realtime=!1),this._setDefaultThrottle(e),n(this,e);var i=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u,f){this._rangePropMode[f]==="value"&&(a[u[0]]=i[u[0]]=null)},this),this.textStyleModel=this.getModel("textStyle"),this._resetTarget(),this._giveAxisProxies()},_giveAxisProxies:function(){var e=this._axisProxies;this.eachTargetAxis(function(a,i,u,f){var m=this.dependentModels[a.axis][i],A=m.__dzAxisProxy||(m.__dzAxisProxy=new h(a.name,i,this,f));e[a.name+"_"+i]=A},this)},_resetTarget:function(){var e=this.option,a=this._judgeAutoMode();r(function(i){var u=i.axisIndex;e[u]=t.normalizeToArray(e[u])},this),a==="axisIndex"?this._autoSetAxisIndex():a==="orient"&&this._autoSetOrient()},_judgeAutoMode:function(){var e=this.option,a=!1;r(function(u){e[u.axisIndex]!=null&&(a=!0)},this);var i=e.orient;if(i==null&&a)return"orient";if(!a)return i==null&&(e.orient="horizontal"),"axisIndex"},_autoSetAxisIndex:function(){var e=!0,a=this.get("orient",!0),i=this.option,u=this.dependentModels;if(e){var f=a==="vertical"?"y":"x";u[f+"Axis"].length?(i[f+"AxisIndex"]=[0],e=!1):o(u.singleAxis,function(m){e&&m.get("orient",!0)===a&&(i.singleAxisIndex=[m.componentIndex],e=!1)})}e&&r(function(m){if(!e)return;var A=[],g=this.dependentModels[m.axis];if(g.length&&!A.length)for(var v=0,b=g.length;v<b;v++)g[v].get("type")==="category"&&A.push(v);i[m.axisIndex]=A,A.length&&(e=!1)},this),e&&this.ecModel.eachSeries(function(m){this._isSeriesHasAllAxesTypeOf(m,"value")&&r(function(A){var g=i[A.axisIndex],v=m.get(A.axisIndex),b=m.get(A.axisId),S=m.ecModel.queryComponents({mainType:A.axis,index:v,id:b})[0];v=S.componentIndex,E.indexOf(g,v)<0&&g.push(v)})},this)},_autoSetOrient:function(){var e;this.eachTargetAxis(function(a){!e&&(e=a.name)},this),this.option.orient=e==="y"?"vertical":"horizontal"},_isSeriesHasAllAxesTypeOf:function(e,a){var i=!0;return r(function(u){var f=e.get(u.axisIndex),m=this.dependentModels[u.axis][f];(!m||m.get("type")!==a)&&(i=!1)},this),i},_setDefaultThrottle:function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},getFirstTargetAxisModel:function(){var e;return r(function(a){if(e==null){var i=this.get(a.axisIndex);i.length&&(e=this.dependentModels[a.axis][i[0]])}},this),e},eachTargetAxis:function(e,a){var i=this.ecModel;r(function(u){o(this.get(u.axisIndex),function(f){e.call(a,u,f,this,i)},this)},this)},getAxisProxy:function(e,a){return this._axisProxies[e+"_"+a]},getAxisModel:function(e,a){var i=this.getAxisProxy(e,a);return i&&i.getAxisModel()},setRawRange:function(e){var a=this.option,i=this.settledOption;o([["start","startValue"],["end","endValue"]],function(u){(e[u[0]]!=null||e[u[1]]!=null)&&(a[u[0]]=i[u[0]]=e[u[0]],a[u[1]]=i[u[1]]=e[u[1]])},this),n(this,e)},setCalculatedRange:function(e){var a=this.option;o(["start","startValue","end","endValue"],function(i){a[i]=e[i]})},getPercentRange:function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},getValueRange:function(e,a){if(e==null&&a==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(e,a).getDataValueWindow()},findRepresentativeAxisProxy:function(e){if(e)return e.__dzAxisProxy;var a=this._axisProxies;for(var i in a)if(a.hasOwnProperty(i)&&a[i].hostedBy(this))return a[i];for(var i in a)if(a.hasOwnProperty(i)&&!a[i].hostedBy(this))return a[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function l(e){var a={};return o(["start","end","startValue","endValue","throttle"],function(i){e.hasOwnProperty(i)&&(a[i]=e[i])}),a}function n(e,a){var i=e._rangePropMode,u=e.get("rangeMode");o([["start","startValue"],["end","endValue"]],function(f,m){var A=a[f[0]]!=null,g=a[f[1]]!=null;A&&!g?i[m]="percent":!A&&g?i[m]="value":u?i[m]=u[m]:A&&(i[m]="percent")})}var c=s;ue.exports=c},OnYD:function(ue,z,d){},"Oy/b":function(ue,z,d){(function(_,I){ue.exports=I()})(typeof self!="undefined"?self:this,function(){return function(O){var _={};function I(E){if(_[E])return _[E].exports;var C=_[E]={i:E,l:!1,exports:{}};return O[E].call(C.exports,C,C.exports,I),C.l=!0,C.exports}return I.m=O,I.c=_,I.d=function(E,C,t){I.o(E,C)||Object.defineProperty(E,C,{enumerable:!0,get:t})},I.r=function(E){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},I.t=function(E,C){if(C&1&&(E=I(E)),C&8)return E;if(C&4&&typeof E=="object"&&E&&E.__esModule)return E;var t=Object.create(null);if(I.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:E}),C&2&&typeof E!="string")for(var p in E)I.d(t,p,function(h){return E[h]}.bind(null,p));return t},I.n=function(E){var C=E&&E.__esModule?function(){return E.default}:function(){return E};return I.d(C,"a",C),C},I.o=function(E,C){return Object.prototype.hasOwnProperty.call(E,C)},I.p="",I(I.s=1)}([function(O,_,I){},function(O,_,I){"use strict";I.r(_);var E=I(0),C=function(){function mt(ne,fe,ge){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=ne,this.start=fe,this.end=ge}return mt.range=function(fe,ge){return ge?!fe||!fe.loc||!ge.loc||fe.loc.lexer!==ge.loc.lexer?null:new mt(fe.loc.lexer,fe.loc.start,ge.loc.end):fe&&fe.loc},mt}(),t=function(){function mt(fe,ge){this.text=void 0,this.loc=void 0,this.text=fe,this.loc=ge}var ne=mt.prototype;return ne.range=function(ge,Re){return new mt(Re,C.range(this,ge))},mt}(),p=function mt(ne,fe){this.position=void 0;var ge="KaTeX parse error: "+ne,Re,ut=fe&&fe.loc;if(ut&&ut.start<=ut.end){var Lt=ut.lexer.input;Re=ut.start;var br=ut.end;Re===Lt.length?ge+=" at end of input: ":ge+=" at position "+(Re+1)+": ";var Or=Lt.slice(Re,br).replace(/[^]/g,"$&\u0332"),Zr;Re>15?Zr="\u2026"+Lt.slice(Re-15,Re):Zr=Lt.slice(0,Re);var Cn;br+15<Lt.length?Cn=Lt.slice(br,br+15)+"\u2026":Cn=Lt.slice(br),ge+=Zr+Or+Cn}var Hn=new Error(ge);return Hn.name="ParseError",Hn.__proto__=mt.prototype,Hn.position=Re,Hn};p.prototype.__proto__=Error.prototype;var h=p,o=function(ne,fe){return ne.indexOf(fe)!==-1},r=function(ne,fe){return ne===void 0?fe:ne},s=/([A-Z])/g,l=function(ne){return ne.replace(s,"-$1").toLowerCase()},n={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},c=/[&><"']/g;function e(mt){return String(mt).replace(c,function(ne){return n[ne]})}var a=function mt(ne){return ne.type==="ordgroup"||ne.type==="color"?ne.body.length===1?mt(ne.body[0]):ne:ne.type==="font"?mt(ne.body):ne},i=function(ne){var fe=a(ne);return fe.type==="mathord"||fe.type==="textord"||fe.type==="atom"},u=function(ne){if(!ne)throw new Error("Expected non-null, but got "+String(ne));return ne},f=function(ne){var fe=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(ne);return fe!=null?fe[1]:"_relative"},m={contains:o,deflt:r,escape:e,hyphenate:l,getBaseElem:a,isCharacterBox:i,protocolFromUrl:f},A=function(){function mt(fe){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,fe=fe||{},this.displayMode=m.deflt(fe.displayMode,!1),this.output=m.deflt(fe.output,"htmlAndMathml"),this.leqno=m.deflt(fe.leqno,!1),this.fleqn=m.deflt(fe.fleqn,!1),this.throwOnError=m.deflt(fe.throwOnError,!0),this.errorColor=m.deflt(fe.errorColor,"#cc0000"),this.macros=fe.macros||{},this.minRuleThickness=Math.max(0,m.deflt(fe.minRuleThickness,0)),this.colorIsTextColor=m.deflt(fe.colorIsTextColor,!1),this.strict=m.deflt(fe.strict,"warn"),this.trust=m.deflt(fe.trust,!1),this.maxSize=Math.max(0,m.deflt(fe.maxSize,Infinity)),this.maxExpand=Math.max(0,m.deflt(fe.maxExpand,1e3))}var ne=mt.prototype;return ne.reportNonstrict=function(ge,Re,ut){var Lt=this.strict;if(typeof Lt=="function"&&(Lt=Lt(ge,Re,ut)),!Lt||Lt==="ignore")return;if(Lt===!0||Lt==="error")throw new h("LaTeX-incompatible input and strict mode is set to 'error': "+(Re+" ["+ge+"]"),ut);Lt==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Re+" ["+ge+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Lt+"': "+Re+" ["+ge+"]"))},ne.useStrictBehavior=function(ge,Re,ut){var Lt=this.strict;if(typeof Lt=="function")try{Lt=Lt(ge,Re,ut)}catch(br){Lt="error"}return!Lt||Lt==="ignore"?!1:Lt===!0||Lt==="error"?!0:Lt==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(Re+" ["+ge+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Lt+"': "+Re+" ["+ge+"]")),!1)},ne.isTrusted=function(ge){ge.url&&!ge.protocol&&(ge.protocol=m.protocolFromUrl(ge.url));var Re=typeof this.trust=="function"?this.trust(ge):this.trust;return Boolean(Re)},mt}(),g=function(){function mt(fe,ge,Re){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=fe,this.size=ge,this.cramped=Re}var ne=mt.prototype;return ne.sup=function(){return R[P[this.id]]},ne.sub=function(){return R[k[this.id]]},ne.fracNum=function(){return R[U[this.id]]},ne.fracDen=function(){return R[D[this.id]]},ne.cramp=function(){return R[M[this.id]]},ne.text=function(){return R[B[this.id]]},ne.isTight=function(){return this.size>=2},mt}(),v=0,b=1,S=2,y=3,w=4,x=5,T=6,L=7,R=[new g(v,0,!1),new g(b,0,!0),new g(S,1,!1),new g(y,1,!0),new g(w,2,!1),new g(x,2,!0),new g(T,3,!1),new g(L,3,!0)],P=[w,x,w,x,T,L,T,L],k=[x,x,x,x,L,L,L,L],U=[S,y,w,x,T,L,T,L],D=[y,y,x,x,L,L,L,L],M=[b,b,y,y,x,x,L,L],B=[v,b,S,y,S,y,S,y],j={DISPLAY:R[v],TEXT:R[S],SCRIPT:R[w],SCRIPTSCRIPT:R[T]},H=[{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 K(mt){for(var ne=0;ne<H.length;ne++)for(var fe=H[ne],ge=0;ge<fe.blocks.length;ge++){var Re=fe.blocks[ge];if(mt>=Re[0]&&mt<=Re[1])return fe.name}return null}var W=[];H.forEach(function(mt){return mt.blocks.forEach(function(ne){return W.push.apply(W,ne)})});function X(mt){for(var ne=0;ne<W.length;ne+=2)if(mt>=W[ne]&&mt<=W[ne+1])return!0;return!1}var V=80,Z=function(ne,fe){return"M95,"+(622+ne+fe)+`
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`+ne/2.075+" -"+ne+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+ne)+`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+ne)+" "+fe+"h400000v"+(40+ne)+"h-400000z"},G=function(ne,fe){return"M263,"+(601+ne+fe)+`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`+ne/2.084+" -"+ne+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+ne)+`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+ne)+" "+fe+"h400000v"+(40+ne)+"h-400000z"},Y=function(ne,fe){return"M983 "+(10+ne+fe)+`
l`+ne/3.13+" -"+ne+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+ne)+`
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+ne)+" "+fe+"h400000v"+(40+ne)+"h-400000z"},te=function(ne,fe){return"M424,"+(2398+ne+fe)+`
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`+ne/4.223+" -"+ne+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+ne)+`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+ne)+" "+fe+`
h400000v`+(40+ne)+"h-400000z"},se=function(ne,fe){return"M473,"+(2713+ne+fe)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+ne/5.298+" -"+ne+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+ne)+`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+ne)+" "+fe+"h400000v"+(40+ne)+"H1017.7z"},Ce=function(ne,fe,ge){var Re=ge-54-fe-ne;return"M702 "+(ne+fe)+"H400000"+(40+ne)+`
H742v`+Re+`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 `+fe+"H400000v"+(40+ne)+"H742z"},he=function(ne,fe,ge){fe=1e3*fe;var Re="";switch(ne){case"sqrtMain":Re=Z(fe,V);break;case"sqrtSize1":Re=G(fe,V);break;case"sqrtSize2":Re=Y(fe,V);break;case"sqrtSize3":Re=te(fe,V);break;case"sqrtSize4":Re=se(fe,V);break;case"sqrtTall":Re=Ce(fe,V,ge)}return Re},xe={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`},ie=function(){function mt(fe){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=fe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var ne=mt.prototype;return ne.hasClass=function(ge){return m.contains(this.classes,ge)},ne.toNode=function(){for(var ge=document.createDocumentFragment(),Re=0;Re<this.children.length;Re++)ge.appendChild(this.children[Re].toNode());return ge},ne.toMarkup=function(){for(var ge="",Re=0;Re<this.children.length;Re++)ge+=this.children[Re].toMarkup();return ge},ne.toText=function(){var ge=function(ut){return ut.toText()};return this.children.map(ge).join("")},mt}(),ee=function(ne){return ne.filter(function(fe){return fe}).join(" ")},Ze=function(ne,fe,ge){if(this.classes=ne||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ge||{},fe){fe.style.isTight()&&this.classes.push("mtight");var Re=fe.getColor();Re&&(this.style.color=Re)}},Se=function(ne){var fe=document.createElement(ne);fe.className=ee(this.classes);for(var ge in this.style)this.style.hasOwnProperty(ge)&&(fe.style[ge]=this.style[ge]);for(var Re in this.attributes)this.attributes.hasOwnProperty(Re)&&fe.setAttribute(Re,this.attributes[Re]);for(var ut=0;ut<this.children.length;ut++)fe.appendChild(this.children[ut].toNode());return fe},Ne=function(ne){var fe="<"+ne;this.classes.length&&(fe+=' class="'+m.escape(ee(this.classes))+'"');var ge="";for(var Re in this.style)this.style.hasOwnProperty(Re)&&(ge+=m.hyphenate(Re)+":"+this.style[Re]+";");ge&&(fe+=' style="'+m.escape(ge)+'"');for(var ut in this.attributes)this.attributes.hasOwnProperty(ut)&&(fe+=" "+ut+'="'+m.escape(this.attributes[ut])+'"');fe+=">";for(var Lt=0;Lt<this.children.length;Lt++)fe+=this.children[Lt].toMarkup();return fe+="</"+ne+">",fe},it=function(){function mt(fe,ge,Re,ut){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,Ze.call(this,fe,Re,ut),this.children=ge||[]}var ne=mt.prototype;return ne.setAttribute=function(ge,Re){this.attributes[ge]=Re},ne.hasClass=function(ge){return m.contains(this.classes,ge)},ne.toNode=function(){return Se.call(this,"span")},ne.toMarkup=function(){return Ne.call(this,"span")},mt}(),Ye=function(){function mt(fe,ge,Re,ut){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,Ze.call(this,ge,ut),this.children=Re||[],this.setAttribute("href",fe)}var ne=mt.prototype;return ne.setAttribute=function(ge,Re){this.attributes[ge]=Re},ne.hasClass=function(ge){return m.contains(this.classes,ge)},ne.toNode=function(){return Se.call(this,"a")},ne.toMarkup=function(){return Ne.call(this,"a")},mt}(),nt=function(){function mt(fe,ge,Re){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=ge,this.src=fe,this.classes=["mord"],this.style=Re}var ne=mt.prototype;return ne.hasClass=function(ge){return m.contains(this.classes,ge)},ne.toNode=function(){var ge=document.createElement("img");ge.src=this.src,ge.alt=this.alt,ge.className="mord";for(var Re in this.style)this.style.hasOwnProperty(Re)&&(ge.style[Re]=this.style[Re]);return ge},ne.toMarkup=function(){var ge="<img src='"+this.src+" 'alt='"+this.alt+"' ",Re="";for(var ut in this.style)this.style.hasOwnProperty(ut)&&(Re+=m.hyphenate(ut)+":"+this.style[ut]+";");return Re&&(ge+=' style="'+m.escape(Re)+'"'),ge+="'/>",ge},mt}(),je={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},et=function(){function mt(fe,ge,Re,ut,Lt,br,Or,Zr){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=fe,this.height=ge||0,this.depth=Re||0,this.italic=ut||0,this.skew=Lt||0,this.width=br||0,this.classes=Or||[],this.style=Zr||{},this.maxFontSize=0;var Cn=K(this.text.charCodeAt(0));Cn&&this.classes.push(Cn+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=je[this.text])}var ne=mt.prototype;return ne.hasClass=function(ge){return m.contains(this.classes,ge)},ne.toNode=function(){var ge=document.createTextNode(this.text),Re=null;this.italic>0&&(Re=document.createElement("span"),Re.style.marginRight=this.italic+"em"),this.classes.length>0&&(Re=Re||document.createElement("span"),Re.className=ee(this.classes));for(var ut in this.style)this.style.hasOwnProperty(ut)&&(Re=Re||document.createElement("span"),Re.style[ut]=this.style[ut]);return Re?(Re.appendChild(ge),Re):ge},ne.toMarkup=function(){var ge=!1,Re="<span";this.classes.length&&(ge=!0,Re+=' class="',Re+=m.escape(ee(this.classes)),Re+='"');var ut="";this.italic>0&&(ut+="margin-right:"+this.italic+"em;");for(var Lt in this.style)this.style.hasOwnProperty(Lt)&&(ut+=m.hyphenate(Lt)+":"+this.style[Lt]+";");ut&&(ge=!0,Re+=' style="'+m.escape(ut)+'"');var br=m.escape(this.text);return ge?(Re+=">",Re+=br,Re+="</span>",Re):br},mt}(),He=function(){function mt(fe,ge){this.children=void 0,this.attributes=void 0,this.children=fe||[],this.attributes=ge||{}}var ne=mt.prototype;return ne.toNode=function(){var ge="http://www.w3.org/2000/svg",Re=document.createElementNS(ge,"svg");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&Re.setAttribute(ut,this.attributes[ut]);for(var Lt=0;Lt<this.children.length;Lt++)Re.appendChild(this.children[Lt].toNode());return Re},ne.toMarkup=function(){var ge="<svg";for(var Re in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Re)&&(ge+=" "+Re+"='"+this.attributes[Re]+"'");ge+=">";for(var ut=0;ut<this.children.length;ut++)ge+=this.children[ut].toMarkup();return ge+="</svg>",ge},mt}(),pe=function(){function mt(fe,ge){this.pathName=void 0,this.alternate=void 0,this.pathName=fe,this.alternate=ge}var ne=mt.prototype;return ne.toNode=function(){var ge="http://www.w3.org/2000/svg",Re=document.createElementNS(ge,"path");return this.alternate?Re.setAttribute("d",this.alternate):Re.setAttribute("d",xe[this.pathName]),Re},ne.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+xe[this.pathName]+"'/>"},mt}(),ae=function(){function mt(fe){this.attributes=void 0,this.attributes=fe||{}}var ne=mt.prototype;return ne.toNode=function(){var ge="http://www.w3.org/2000/svg",Re=document.createElementNS(ge,"line");for(var ut in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,ut)&&Re.setAttribute(ut,this.attributes[ut]);return Re},ne.toMarkup=function(){var ge="<line";for(var Re in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Re)&&(ge+=" "+Re+"='"+this.attributes[Re]+"'");return ge+="/>",ge},mt}();function re(mt){if(mt instanceof et)return mt;throw new Error("Expected symbolNode but got "+String(mt)+".")}function be(mt){if(mt instanceof it)return mt;throw new Error("Expected span<HtmlDomNode> but got "+String(mt)+".")}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]}},Ke={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]},Te={\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 gt(mt,ne){ze[mt]=ne}function Ue(mt,ne,fe){if(!ze[ne])throw new Error("Font metrics not found for font: "+ne+".");var ge=mt.charCodeAt(0),Re=ze[ne][ge];if(!Re&&mt[0]in Te&&(ge=Te[mt[0]].charCodeAt(0),Re=ze[ne][ge]),!Re&&fe==="text"&&(X(ge)&&(Re=ze[ne][77])),Re)return{depth:Re[0],height:Re[1],italic:Re[2],skew:Re[3],width:Re[4]}}var bt={};function wt(mt){var ne;if(mt>=5?ne=0:mt>=3?ne=1:ne=2,!bt[ne]){var fe=bt[ne]={cssEmPerMu:Ke.quad[ne]/18};for(var ge in Ke)Ke.hasOwnProperty(ge)&&(fe[ge]=Ke[ge][ne])}return bt[ne]}var Et={bin:1,close:1,inner:1,open:1,punct:1,rel:1},xt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Tt={math:{},text:{}},Be=Tt;function ce(mt,ne,fe,ge,Re,ut){Tt[mt][Re]={font:ne,group:fe,replace:ge},ut&&ge&&(Tt[mt][ge]=Tt[mt][Re])}var q="math",dt="text",Ve="main",de="ams",Ht="accent-token",tr="bin",lt="close",Xt="inner",sr="mathord",Kr="op-token",rr="open",nr="punct",Nt="rel",ot="spacing",Qe="textord";ce(q,Ve,Nt,"\u2261","\\equiv",!0),ce(q,Ve,Nt,"\u227A","\\prec",!0),ce(q,Ve,Nt,"\u227B","\\succ",!0),ce(q,Ve,Nt,"\u223C","\\sim",!0),ce(q,Ve,Nt,"\u22A5","\\perp"),ce(q,Ve,Nt,"\u2AAF","\\preceq",!0),ce(q,Ve,Nt,"\u2AB0","\\succeq",!0),ce(q,Ve,Nt,"\u2243","\\simeq",!0),ce(q,Ve,Nt,"\u2223","\\mid",!0),ce(q,Ve,Nt,"\u226A","\\ll",!0),ce(q,Ve,Nt,"\u226B","\\gg",!0),ce(q,Ve,Nt,"\u224D","\\asymp",!0),ce(q,Ve,Nt,"\u2225","\\parallel"),ce(q,Ve,Nt,"\u22C8","\\bowtie",!0),ce(q,Ve,Nt,"\u2323","\\smile",!0),ce(q,Ve,Nt,"\u2291","\\sqsubseteq",!0),ce(q,Ve,Nt,"\u2292","\\sqsupseteq",!0),ce(q,Ve,Nt,"\u2250","\\doteq",!0),ce(q,Ve,Nt,"\u2322","\\frown",!0),ce(q,Ve,Nt,"\u220B","\\ni",!0),ce(q,Ve,Nt,"\u221D","\\propto",!0),ce(q,Ve,Nt,"\u22A2","\\vdash",!0),ce(q,Ve,Nt,"\u22A3","\\dashv",!0),ce(q,Ve,Nt,"\u220B","\\owns"),ce(q,Ve,nr,".","\\ldotp"),ce(q,Ve,nr,"\u22C5","\\cdotp"),ce(q,Ve,Qe,"#","\\#"),ce(dt,Ve,Qe,"#","\\#"),ce(q,Ve,Qe,"&","\\&"),ce(dt,Ve,Qe,"&","\\&"),ce(q,Ve,Qe,"\u2135","\\aleph",!0),ce(q,Ve,Qe,"\u2200","\\forall",!0),ce(q,Ve,Qe,"\u210F","\\hbar",!0),ce(q,Ve,Qe,"\u2203","\\exists",!0),ce(q,Ve,Qe,"\u2207","\\nabla",!0),ce(q,Ve,Qe,"\u266D","\\flat",!0),ce(q,Ve,Qe,"\u2113","\\ell",!0),ce(q,Ve,Qe,"\u266E","\\natural",!0),ce(q,Ve,Qe,"\u2663","\\clubsuit",!0),ce(q,Ve,Qe,"\u2118","\\wp",!0),ce(q,Ve,Qe,"\u266F","\\sharp",!0),ce(q,Ve,Qe,"\u2662","\\diamondsuit",!0),ce(q,Ve,Qe,"\u211C","\\Re",!0),ce(q,Ve,Qe,"\u2661","\\heartsuit",!0),ce(q,Ve,Qe,"\u2111","\\Im",!0),ce(q,Ve,Qe,"\u2660","\\spadesuit",!0),ce(dt,Ve,Qe,"\xA7","\\S",!0),ce(dt,Ve,Qe,"\xB6","\\P",!0),ce(q,Ve,Qe,"\u2020","\\dag"),ce(dt,Ve,Qe,"\u2020","\\dag"),ce(dt,Ve,Qe,"\u2020","\\textdagger"),ce(q,Ve,Qe,"\u2021","\\ddag"),ce(dt,Ve,Qe,"\u2021","\\ddag"),ce(dt,Ve,Qe,"\u2021","\\textdaggerdbl"),ce(q,Ve,lt,"\u23B1","\\rmoustache",!0),ce(q,Ve,rr,"\u23B0","\\lmoustache",!0),ce(q,Ve,lt,"\u27EF","\\rgroup",!0),ce(q,Ve,rr,"\u27EE","\\lgroup",!0),ce(q,Ve,tr,"\u2213","\\mp",!0),ce(q,Ve,tr,"\u2296","\\ominus",!0),ce(q,Ve,tr,"\u228E","\\uplus",!0),ce(q,Ve,tr,"\u2293","\\sqcap",!0),ce(q,Ve,tr,"\u2217","\\ast"),ce(q,Ve,tr,"\u2294","\\sqcup",!0),ce(q,Ve,tr,"\u25EF","\\bigcirc"),ce(q,Ve,tr,"\u2219","\\bullet"),ce(q,Ve,tr,"\u2021","\\ddagger"),ce(q,Ve,tr,"\u2240","\\wr",!0),ce(q,Ve,tr,"\u2A3F","\\amalg"),ce(q,Ve,tr,"&","\\And"),ce(q,Ve,Nt,"\u27F5","\\longleftarrow",!0),ce(q,Ve,Nt,"\u21D0","\\Leftarrow",!0),ce(q,Ve,Nt,"\u27F8","\\Longleftarrow",!0),ce(q,Ve,Nt,"\u27F6","\\longrightarrow",!0),ce(q,Ve,Nt,"\u21D2","\\Rightarrow",!0),ce(q,Ve,Nt,"\u27F9","\\Longrightarrow",!0),ce(q,Ve,Nt,"\u2194","\\leftrightarrow",!0),ce(q,Ve,Nt,"\u27F7","\\longleftrightarrow",!0),ce(q,Ve,Nt,"\u21D4","\\Leftrightarrow",!0),ce(q,Ve,Nt,"\u27FA","\\Longleftrightarrow",!0),ce(q,Ve,Nt,"\u21A6","\\mapsto",!0),ce(q,Ve,Nt,"\u27FC","\\longmapsto",!0),ce(q,Ve,Nt,"\u2197","\\nearrow",!0),ce(q,Ve,Nt,"\u21A9","\\hookleftarrow",!0),ce(q,Ve,Nt,"\u21AA","\\hookrightarrow",!0),ce(q,Ve,Nt,"\u2198","\\searrow",!0),ce(q,Ve,Nt,"\u21BC","\\leftharpoonup",!0),ce(q,Ve,Nt,"\u21C0","\\rightharpoonup",!0),ce(q,Ve,Nt,"\u2199","\\swarrow",!0),ce(q,Ve,Nt,"\u21BD","\\leftharpoondown",!0),ce(q,Ve,Nt,"\u21C1","\\rightharpoondown",!0),ce(q,Ve,Nt,"\u2196","\\nwarrow",!0),ce(q,Ve,Nt,"\u21CC","\\rightleftharpoons",!0),ce(q,de,Nt,"\u226E","\\nless",!0),ce(q,de,Nt,"\uE010","\\@nleqslant"),ce(q,de,Nt,"\uE011","\\@nleqq"),ce(q,de,Nt,"\u2A87","\\lneq",!0),ce(q,de,Nt,"\u2268","\\lneqq",!0),ce(q,de,Nt,"\uE00C","\\@lvertneqq"),ce(q,de,Nt,"\u22E6","\\lnsim",!0),ce(q,de,Nt,"\u2A89","\\lnapprox",!0),ce(q,de,Nt,"\u2280","\\nprec",!0),ce(q,de,Nt,"\u22E0","\\npreceq",!0),ce(q,de,Nt,"\u22E8","\\precnsim",!0),ce(q,de,Nt,"\u2AB9","\\precnapprox",!0),ce(q,de,Nt,"\u2241","\\nsim",!0),ce(q,de,Nt,"\uE006","\\@nshortmid"),ce(q,de,Nt,"\u2224","\\nmid",!0),ce(q,de,Nt,"\u22AC","\\nvdash",!0),ce(q,de,Nt,"\u22AD","\\nvDash",!0),ce(q,de,Nt,"\u22EA","\\ntriangleleft"),ce(q,de,Nt,"\u22EC","\\ntrianglelefteq",!0),ce(q,de,Nt,"\u228A","\\subsetneq",!0),ce(q,de,Nt,"\uE01A","\\@varsubsetneq"),ce(q,de,Nt,"\u2ACB","\\subsetneqq",!0),ce(q,de,Nt,"\uE017","\\@varsubsetneqq"),ce(q,de,Nt,"\u226F","\\ngtr",!0),ce(q,de,Nt,"\uE00F","\\@ngeqslant"),ce(q,de,Nt,"\uE00E","\\@ngeqq"),ce(q,de,Nt,"\u2A88","\\gneq",!0),ce(q,de,Nt,"\u2269","\\gneqq",!0),ce(q,de,Nt,"\uE00D","\\@gvertneqq"),ce(q,de,Nt,"\u22E7","\\gnsim",!0),ce(q,de,Nt,"\u2A8A","\\gnapprox",!0),ce(q,de,Nt,"\u2281","\\nsucc",!0),ce(q,de,Nt,"\u22E1","\\nsucceq",!0),ce(q,de,Nt,"\u22E9","\\succnsim",!0),ce(q,de,Nt,"\u2ABA","\\succnapprox",!0),ce(q,de,Nt,"\u2246","\\ncong",!0),ce(q,de,Nt,"\uE007","\\@nshortparallel"),ce(q,de,Nt,"\u2226","\\nparallel",!0),ce(q,de,Nt,"\u22AF","\\nVDash",!0),ce(q,de,Nt,"\u22EB","\\ntriangleright"),ce(q,de,Nt,"\u22ED","\\ntrianglerighteq",!0),ce(q,de,Nt,"\uE018","\\@nsupseteqq"),ce(q,de,Nt,"\u228B","\\supsetneq",!0),ce(q,de,Nt,"\uE01B","\\@varsupsetneq"),ce(q,de,Nt,"\u2ACC","\\supsetneqq",!0),ce(q,de,Nt,"\uE019","\\@varsupsetneqq"),ce(q,de,Nt,"\u22AE","\\nVdash",!0),ce(q,de,Nt,"\u2AB5","\\precneqq",!0),ce(q,de,Nt,"\u2AB6","\\succneqq",!0),ce(q,de,Nt,"\uE016","\\@nsubseteqq"),ce(q,de,tr,"\u22B4","\\unlhd"),ce(q,de,tr,"\u22B5","\\unrhd"),ce(q,de,Nt,"\u219A","\\nleftarrow",!0),ce(q,de,Nt,"\u219B","\\nrightarrow",!0),ce(q,de,Nt,"\u21CD","\\nLeftarrow",!0),ce(q,de,Nt,"\u21CF","\\nRightarrow",!0),ce(q,de,Nt,"\u21AE","\\nleftrightarrow",!0),ce(q,de,Nt,"\u21CE","\\nLeftrightarrow",!0),ce(q,de,Nt,"\u25B3","\\vartriangle"),ce(q,de,Qe,"\u210F","\\hslash"),ce(q,de,Qe,"\u25BD","\\triangledown"),ce(q,de,Qe,"\u25CA","\\lozenge"),ce(q,de,Qe,"\u24C8","\\circledS"),ce(q,de,Qe,"\xAE","\\circledR"),ce(dt,de,Qe,"\xAE","\\circledR"),ce(q,de,Qe,"\u2221","\\measuredangle",!0),ce(q,de,Qe,"\u2204","\\nexists"),ce(q,de,Qe,"\u2127","\\mho"),ce(q,de,Qe,"\u2132","\\Finv",!0),ce(q,de,Qe,"\u2141","\\Game",!0),ce(q,de,Qe,"\u2035","\\backprime"),ce(q,de,Qe,"\u25B2","\\blacktriangle"),ce(q,de,Qe,"\u25BC","\\blacktriangledown"),ce(q,de,Qe,"\u25A0","\\blacksquare"),ce(q,de,Qe,"\u29EB","\\blacklozenge"),ce(q,de,Qe,"\u2605","\\bigstar"),ce(q,de,Qe,"\u2222","\\sphericalangle",!0),ce(q,de,Qe,"\u2201","\\complement",!0),ce(q,de,Qe,"\xF0","\\eth",!0),ce(q,de,Qe,"\u2571","\\diagup"),ce(q,de,Qe,"\u2572","\\diagdown"),ce(q,de,Qe,"\u25A1","\\square"),ce(q,de,Qe,"\u25A1","\\Box"),ce(q,de,Qe,"\u25CA","\\Diamond"),ce(q,de,Qe,"\xA5","\\yen",!0),ce(dt,de,Qe,"\xA5","\\yen",!0),ce(q,de,Qe,"\u2713","\\checkmark",!0),ce(dt,de,Qe,"\u2713","\\checkmark"),ce(q,de,Qe,"\u2136","\\beth",!0),ce(q,de,Qe,"\u2138","\\daleth",!0),ce(q,de,Qe,"\u2137","\\gimel",!0),ce(q,de,Qe,"\u03DD","\\digamma",!0),ce(q,de,Qe,"\u03F0","\\varkappa"),ce(q,de,rr,"\u250C","\\ulcorner",!0),ce(q,de,lt,"\u2510","\\urcorner",!0),ce(q,de,rr,"\u2514","\\llcorner",!0),ce(q,de,lt,"\u2518","\\lrcorner",!0),ce(q,de,Nt,"\u2266","\\leqq",!0),ce(q,de,Nt,"\u2A7D","\\leqslant",!0),ce(q,de,Nt,"\u2A95","\\eqslantless",!0),ce(q,de,Nt,"\u2272","\\lesssim",!0),ce(q,de,Nt,"\u2A85","\\lessapprox",!0),ce(q,de,Nt,"\u224A","\\approxeq",!0),ce(q,de,tr,"\u22D6","\\lessdot"),ce(q,de,Nt,"\u22D8","\\lll",!0),ce(q,de,Nt,"\u2276","\\lessgtr",!0),ce(q,de,Nt,"\u22DA","\\lesseqgtr",!0),ce(q,de,Nt,"\u2A8B","\\lesseqqgtr",!0),ce(q,de,Nt,"\u2251","\\doteqdot"),ce(q,de,Nt,"\u2253","\\risingdotseq",!0),ce(q,de,Nt,"\u2252","\\fallingdotseq",!0),ce(q,de,Nt,"\u223D","\\backsim",!0),ce(q,de,Nt,"\u22CD","\\backsimeq",!0),ce(q,de,Nt,"\u2AC5","\\subseteqq",!0),ce(q,de,Nt,"\u22D0","\\Subset",!0),ce(q,de,Nt,"\u228F","\\sqsubset",!0),ce(q,de,Nt,"\u227C","\\preccurlyeq",!0),ce(q,de,Nt,"\u22DE","\\curlyeqprec",!0),ce(q,de,Nt,"\u227E","\\precsim",!0),ce(q,de,Nt,"\u2AB7","\\precapprox",!0),ce(q,de,Nt,"\u22B2","\\vartriangleleft"),ce(q,de,Nt,"\u22B4","\\trianglelefteq"),ce(q,de,Nt,"\u22A8","\\vDash",!0),ce(q,de,Nt,"\u22AA","\\Vvdash",!0),ce(q,de,Nt,"\u2323","\\smallsmile"),ce(q,de,Nt,"\u2322","\\smallfrown"),ce(q,de,Nt,"\u224F","\\bumpeq",!0),ce(q,de,Nt,"\u224E","\\Bumpeq",!0),ce(q,de,Nt,"\u2267","\\geqq",!0),ce(q,de,Nt,"\u2A7E","\\geqslant",!0),ce(q,de,Nt,"\u2A96","\\eqslantgtr",!0),ce(q,de,Nt,"\u2273","\\gtrsim",!0),ce(q,de,Nt,"\u2A86","\\gtrapprox",!0),ce(q,de,tr,"\u22D7","\\gtrdot"),ce(q,de,Nt,"\u22D9","\\ggg",!0),ce(q,de,Nt,"\u2277","\\gtrless",!0),ce(q,de,Nt,"\u22DB","\\gtreqless",!0),ce(q,de,Nt,"\u2A8C","\\gtreqqless",!0),ce(q,de,Nt,"\u2256","\\eqcirc",!0),ce(q,de,Nt,"\u2257","\\circeq",!0),ce(q,de,Nt,"\u225C","\\triangleq",!0),ce(q,de,Nt,"\u223C","\\thicksim"),ce(q,de,Nt,"\u2248","\\thickapprox"),ce(q,de,Nt,"\u2AC6","\\supseteqq",!0),ce(q,de,Nt,"\u22D1","\\Supset",!0),ce(q,de,Nt,"\u2290","\\sqsupset",!0),ce(q,de,Nt,"\u227D","\\succcurlyeq",!0),ce(q,de,Nt,"\u22DF","\\curlyeqsucc",!0),ce(q,de,Nt,"\u227F","\\succsim",!0),ce(q,de,Nt,"\u2AB8","\\succapprox",!0),ce(q,de,Nt,"\u22B3","\\vartriangleright"),ce(q,de,Nt,"\u22B5","\\trianglerighteq"),ce(q,de,Nt,"\u22A9","\\Vdash",!0),ce(q,de,Nt,"\u2223","\\shortmid"),ce(q,de,Nt,"\u2225","\\shortparallel"),ce(q,de,Nt,"\u226C","\\between",!0),ce(q,de,Nt,"\u22D4","\\pitchfork",!0),ce(q,de,Nt,"\u221D","\\varpropto"),ce(q,de,Nt,"\u25C0","\\blacktriangleleft"),ce(q,de,Nt,"\u2234","\\therefore",!0),ce(q,de,Nt,"\u220D","\\backepsilon"),ce(q,de,Nt,"\u25B6","\\blacktriangleright"),ce(q,de,Nt,"\u2235","\\because",!0),ce(q,de,Nt,"\u22D8","\\llless"),ce(q,de,Nt,"\u22D9","\\gggtr"),ce(q,de,tr,"\u22B2","\\lhd"),ce(q,de,tr,"\u22B3","\\rhd"),ce(q,de,Nt,"\u2242","\\eqsim",!0),ce(q,Ve,Nt,"\u22C8","\\Join"),ce(q,de,Nt,"\u2251","\\Doteq",!0),ce(q,de,tr,"\u2214","\\dotplus",!0),ce(q,de,tr,"\u2216","\\smallsetminus"),ce(q,de,tr,"\u22D2","\\Cap",!0),ce(q,de,tr,"\u22D3","\\Cup",!0),ce(q,de,tr,"\u2A5E","\\doublebarwedge",!0),ce(q,de,tr,"\u229F","\\boxminus",!0),ce(q,de,tr,"\u229E","\\boxplus",!0),ce(q,de,tr,"\u22C7","\\divideontimes",!0),ce(q,de,tr,"\u22C9","\\ltimes",!0),ce(q,de,tr,"\u22CA","\\rtimes",!0),ce(q,de,tr,"\u22CB","\\leftthreetimes",!0),ce(q,de,tr,"\u22CC","\\rightthreetimes",!0),ce(q,de,tr,"\u22CF","\\curlywedge",!0),ce(q,de,tr,"\u22CE","\\curlyvee",!0),ce(q,de,tr,"\u229D","\\circleddash",!0),ce(q,de,tr,"\u229B","\\circledast",!0),ce(q,de,tr,"\u22C5","\\centerdot"),ce(q,de,tr,"\u22BA","\\intercal",!0),ce(q,de,tr,"\u22D2","\\doublecap"),ce(q,de,tr,"\u22D3","\\doublecup"),ce(q,de,tr,"\u22A0","\\boxtimes",!0),ce(q,de,Nt,"\u21E2","\\dashrightarrow",!0),ce(q,de,Nt,"\u21E0","\\dashleftarrow",!0),ce(q,de,Nt,"\u21C7","\\leftleftarrows",!0),ce(q,de,Nt,"\u21C6","\\leftrightarrows",!0),ce(q,de,Nt,"\u21DA","\\Lleftarrow",!0),ce(q,de,Nt,"\u219E","\\twoheadleftarrow",!0),ce(q,de,Nt,"\u21A2","\\leftarrowtail",!0),ce(q,de,Nt,"\u21AB","\\looparrowleft",!0),ce(q,de,Nt,"\u21CB","\\leftrightharpoons",!0),ce(q,de,Nt,"\u21B6","\\curvearrowleft",!0),ce(q,de,Nt,"\u21BA","\\circlearrowleft",!0),ce(q,de,Nt,"\u21B0","\\Lsh",!0),ce(q,de,Nt,"\u21C8","\\upuparrows",!0),ce(q,de,Nt,"\u21BF","\\upharpoonleft",!0),ce(q,de,Nt,"\u21C3","\\downharpoonleft",!0),ce(q,de,Nt,"\u22B8","\\multimap",!0),ce(q,de,Nt,"\u21AD","\\leftrightsquigarrow",!0),ce(q,de,Nt,"\u21C9","\\rightrightarrows",!0),ce(q,de,Nt,"\u21C4","\\rightleftarrows",!0),ce(q,de,Nt,"\u21A0","\\twoheadrightarrow",!0),ce(q,de,Nt,"\u21A3","\\rightarrowtail",!0),ce(q,de,Nt,"\u21AC","\\looparrowright",!0),ce(q,de,Nt,"\u21B7","\\curvearrowright",!0),ce(q,de,Nt,"\u21BB","\\circlearrowright",!0),ce(q,de,Nt,"\u21B1","\\Rsh",!0),ce(q,de,Nt,"\u21CA","\\downdownarrows",!0),ce(q,de,Nt,"\u21BE","\\upharpoonright",!0),ce(q,de,Nt,"\u21C2","\\downharpoonright",!0),ce(q,de,Nt,"\u21DD","\\rightsquigarrow",!0),ce(q,de,Nt,"\u21DD","\\leadsto"),ce(q,de,Nt,"\u21DB","\\Rrightarrow",!0),ce(q,de,Nt,"\u21BE","\\restriction"),ce(q,Ve,Qe,"\u2018","`"),ce(q,Ve,Qe,"$","\\$"),ce(dt,Ve,Qe,"$","\\$"),ce(dt,Ve,Qe,"$","\\textdollar"),ce(q,Ve,Qe,"%","\\%"),ce(dt,Ve,Qe,"%","\\%"),ce(q,Ve,Qe,"_","\\_"),ce(dt,Ve,Qe,"_","\\_"),ce(dt,Ve,Qe,"_","\\textunderscore"),ce(q,Ve,Qe,"\u2220","\\angle",!0),ce(q,Ve,Qe,"\u221E","\\infty",!0),ce(q,Ve,Qe,"\u2032","\\prime"),ce(q,Ve,Qe,"\u25B3","\\triangle"),ce(q,Ve,Qe,"\u0393","\\Gamma",!0),ce(q,Ve,Qe,"\u0394","\\Delta",!0),ce(q,Ve,Qe,"\u0398","\\Theta",!0),ce(q,Ve,Qe,"\u039B","\\Lambda",!0),ce(q,Ve,Qe,"\u039E","\\Xi",!0),ce(q,Ve,Qe,"\u03A0","\\Pi",!0),ce(q,Ve,Qe,"\u03A3","\\Sigma",!0),ce(q,Ve,Qe,"\u03A5","\\Upsilon",!0),ce(q,Ve,Qe,"\u03A6","\\Phi",!0),ce(q,Ve,Qe,"\u03A8","\\Psi",!0),ce(q,Ve,Qe,"\u03A9","\\Omega",!0),ce(q,Ve,Qe,"A","\u0391"),ce(q,Ve,Qe,"B","\u0392"),ce(q,Ve,Qe,"E","\u0395"),ce(q,Ve,Qe,"Z","\u0396"),ce(q,Ve,Qe,"H","\u0397"),ce(q,Ve,Qe,"I","\u0399"),ce(q,Ve,Qe,"K","\u039A"),ce(q,Ve,Qe,"M","\u039C"),ce(q,Ve,Qe,"N","\u039D"),ce(q,Ve,Qe,"O","\u039F"),ce(q,Ve,Qe,"P","\u03A1"),ce(q,Ve,Qe,"T","\u03A4"),ce(q,Ve,Qe,"X","\u03A7"),ce(q,Ve,Qe,"\xAC","\\neg",!0),ce(q,Ve,Qe,"\xAC","\\lnot"),ce(q,Ve,Qe,"\u22A4","\\top"),ce(q,Ve,Qe,"\u22A5","\\bot"),ce(q,Ve,Qe,"\u2205","\\emptyset"),ce(q,de,Qe,"\u2205","\\varnothing"),ce(q,Ve,sr,"\u03B1","\\alpha",!0),ce(q,Ve,sr,"\u03B2","\\beta",!0),ce(q,Ve,sr,"\u03B3","\\gamma",!0),ce(q,Ve,sr,"\u03B4","\\delta",!0),ce(q,Ve,sr,"\u03F5","\\epsilon",!0),ce(q,Ve,sr,"\u03B6","\\zeta",!0),ce(q,Ve,sr,"\u03B7","\\eta",!0),ce(q,Ve,sr,"\u03B8","\\theta",!0),ce(q,Ve,sr,"\u03B9","\\iota",!0),ce(q,Ve,sr,"\u03BA","\\kappa",!0),ce(q,Ve,sr,"\u03BB","\\lambda",!0),ce(q,Ve,sr,"\u03BC","\\mu",!0),ce(q,Ve,sr,"\u03BD","\\nu",!0),ce(q,Ve,sr,"\u03BE","\\xi",!0),ce(q,Ve,sr,"\u03BF","\\omicron",!0),ce(q,Ve,sr,"\u03C0","\\pi",!0),ce(q,Ve,sr,"\u03C1","\\rho",!0),ce(q,Ve,sr,"\u03C3","\\sigma",!0),ce(q,Ve,sr,"\u03C4","\\tau",!0),ce(q,Ve,sr,"\u03C5","\\upsilon",!0),ce(q,Ve,sr,"\u03D5","\\phi",!0),ce(q,Ve,sr,"\u03C7","\\chi",!0),ce(q,Ve,sr,"\u03C8","\\psi",!0),ce(q,Ve,sr,"\u03C9","\\omega",!0),ce(q,Ve,sr,"\u03B5","\\varepsilon",!0),ce(q,Ve,sr,"\u03D1","\\vartheta",!0),ce(q,Ve,sr,"\u03D6","\\varpi",!0),ce(q,Ve,sr,"\u03F1","\\varrho",!0),ce(q,Ve,sr,"\u03C2","\\varsigma",!0),ce(q,Ve,sr,"\u03C6","\\varphi",!0),ce(q,Ve,tr,"\u2217","*"),ce(q,Ve,tr,"+","+"),ce(q,Ve,tr,"\u2212","-"),ce(q,Ve,tr,"\u22C5","\\cdot",!0),ce(q,Ve,tr,"\u2218","\\circ"),ce(q,Ve,tr,"\xF7","\\div",!0),ce(q,Ve,tr,"\xB1","\\pm",!0),ce(q,Ve,tr,"\xD7","\\times",!0),ce(q,Ve,tr,"\u2229","\\cap",!0),ce(q,Ve,tr,"\u222A","\\cup",!0),ce(q,Ve,tr,"\u2216","\\setminus"),ce(q,Ve,tr,"\u2227","\\land"),ce(q,Ve,tr,"\u2228","\\lor"),ce(q,Ve,tr,"\u2227","\\wedge",!0),ce(q,Ve,tr,"\u2228","\\vee",!0),ce(q,Ve,Qe,"\u221A","\\surd"),ce(q,Ve,rr,"(","("),ce(q,Ve,rr,"[","["),ce(q,Ve,rr,"\u27E8","\\langle",!0),ce(q,Ve,rr,"\u2223","\\lvert"),ce(q,Ve,rr,"\u2225","\\lVert"),ce(q,Ve,lt,")",")"),ce(q,Ve,lt,"]","]"),ce(q,Ve,lt,"?","?"),ce(q,Ve,lt,"!","!"),ce(q,Ve,lt,"\u27E9","\\rangle",!0),ce(q,Ve,lt,"\u2223","\\rvert"),ce(q,Ve,lt,"\u2225","\\rVert"),ce(q,Ve,Nt,"=","="),ce(q,Ve,Nt,"<","<"),ce(q,Ve,Nt,">",">"),ce(q,Ve,Nt,":",":"),ce(q,Ve,Nt,"\u2248","\\approx",!0),ce(q,Ve,Nt,"\u2245","\\cong",!0),ce(q,Ve,Nt,"\u2265","\\ge"),ce(q,Ve,Nt,"\u2265","\\geq",!0),ce(q,Ve,Nt,"\u2190","\\gets"),ce(q,Ve,Nt,">","\\gt"),ce(q,Ve,Nt,"\u2208","\\in",!0),ce(q,Ve,Nt,"\uE020","\\@not"),ce(q,Ve,Nt,"\u2282","\\subset",!0),ce(q,Ve,Nt,"\u2283","\\supset",!0),ce(q,Ve,Nt,"\u2286","\\subseteq",!0),ce(q,Ve,Nt,"\u2287","\\supseteq",!0),ce(q,de,Nt,"\u2288","\\nsubseteq",!0),ce(q,de,Nt,"\u2289","\\nsupseteq",!0),ce(q,Ve,Nt,"\u22A8","\\models"),ce(q,Ve,Nt,"\u2190","\\leftarrow",!0),ce(q,Ve,Nt,"\u2264","\\le"),ce(q,Ve,Nt,"\u2264","\\leq",!0),ce(q,Ve,Nt,"<","\\lt"),ce(q,Ve,Nt,"\u2192","\\rightarrow",!0),ce(q,Ve,Nt,"\u2192","\\to"),ce(q,de,Nt,"\u2271","\\ngeq",!0),ce(q,de,Nt,"\u2270","\\nleq",!0),ce(q,Ve,ot,"\xA0","\\ "),ce(q,Ve,ot,"\xA0","~"),ce(q,Ve,ot,"\xA0","\\space"),ce(q,Ve,ot,"\xA0","\\nobreakspace"),ce(dt,Ve,ot,"\xA0","\\ "),ce(dt,Ve,ot,"\xA0","~"),ce(dt,Ve,ot,"\xA0","\\space"),ce(dt,Ve,ot,"\xA0","\\nobreakspace"),ce(q,Ve,ot,null,"\\nobreak"),ce(q,Ve,ot,null,"\\allowbreak"),ce(q,Ve,nr,",",","),ce(q,Ve,nr,";",";"),ce(q,de,tr,"\u22BC","\\barwedge",!0),ce(q,de,tr,"\u22BB","\\veebar",!0),ce(q,Ve,tr,"\u2299","\\odot",!0),ce(q,Ve,tr,"\u2295","\\oplus",!0),ce(q,Ve,tr,"\u2297","\\otimes",!0),ce(q,Ve,Qe,"\u2202","\\partial",!0),ce(q,Ve,tr,"\u2298","\\oslash",!0),ce(q,de,tr,"\u229A","\\circledcirc",!0),ce(q,de,tr,"\u22A1","\\boxdot",!0),ce(q,Ve,tr,"\u25B3","\\bigtriangleup"),ce(q,Ve,tr,"\u25BD","\\bigtriangledown"),ce(q,Ve,tr,"\u2020","\\dagger"),ce(q,Ve,tr,"\u22C4","\\diamond"),ce(q,Ve,tr,"\u22C6","\\star"),ce(q,Ve,tr,"\u25C3","\\triangleleft"),ce(q,Ve,tr,"\u25B9","\\triangleright"),ce(q,Ve,rr,"{","\\{"),ce(dt,Ve,Qe,"{","\\{"),ce(dt,Ve,Qe,"{","\\textbraceleft"),ce(q,Ve,lt,"}","\\}"),ce(dt,Ve,Qe,"}","\\}"),ce(dt,Ve,Qe,"}","\\textbraceright"),ce(q,Ve,rr,"{","\\lbrace"),ce(q,Ve,lt,"}","\\rbrace"),ce(q,Ve,rr,"[","\\lbrack"),ce(dt,Ve,Qe,"[","\\lbrack"),ce(q,Ve,lt,"]","\\rbrack"),ce(dt,Ve,Qe,"]","\\rbrack"),ce(q,Ve,rr,"(","\\lparen"),ce(q,Ve,lt,")","\\rparen"),ce(dt,Ve,Qe,"<","\\textless"),ce(dt,Ve,Qe,">","\\textgreater"),ce(q,Ve,rr,"\u230A","\\lfloor",!0),ce(q,Ve,lt,"\u230B","\\rfloor",!0),ce(q,Ve,rr,"\u2308","\\lceil",!0),ce(q,Ve,lt,"\u2309","\\rceil",!0),ce(q,Ve,Qe,"\\","\\backslash"),ce(q,Ve,Qe,"\u2223","|"),ce(q,Ve,Qe,"\u2223","\\vert"),ce(dt,Ve,Qe,"|","\\textbar"),ce(q,Ve,Qe,"\u2225","\\|"),ce(q,Ve,Qe,"\u2225","\\Vert"),ce(dt,Ve,Qe,"\u2225","\\textbardbl"),ce(dt,Ve,Qe,"~","\\textasciitilde"),ce(dt,Ve,Qe,"\\","\\textbackslash"),ce(dt,Ve,Qe,"^","\\textasciicircum"),ce(q,Ve,Nt,"\u2191","\\uparrow",!0),ce(q,Ve,Nt,"\u21D1","\\Uparrow",!0),ce(q,Ve,Nt,"\u2193","\\downarrow",!0),ce(q,Ve,Nt,"\u21D3","\\Downarrow",!0),ce(q,Ve,Nt,"\u2195","\\updownarrow",!0),ce(q,Ve,Nt,"\u21D5","\\Updownarrow",!0),ce(q,Ve,Kr,"\u2210","\\coprod"),ce(q,Ve,Kr,"\u22C1","\\bigvee"),ce(q,Ve,Kr,"\u22C0","\\bigwedge"),ce(q,Ve,Kr,"\u2A04","\\biguplus"),ce(q,Ve,Kr,"\u22C2","\\bigcap"),ce(q,Ve,Kr,"\u22C3","\\bigcup"),ce(q,Ve,Kr,"\u222B","\\int"),ce(q,Ve,Kr,"\u222B","\\intop"),ce(q,Ve,Kr,"\u222C","\\iint"),ce(q,Ve,Kr,"\u222D","\\iiint"),ce(q,Ve,Kr,"\u220F","\\prod"),ce(q,Ve,Kr,"\u2211","\\sum"),ce(q,Ve,Kr,"\u2A02","\\bigotimes"),ce(q,Ve,Kr,"\u2A01","\\bigoplus"),ce(q,Ve,Kr,"\u2A00","\\bigodot"),ce(q,Ve,Kr,"\u222E","\\oint"),ce(q,Ve,Kr,"\u222F","\\oiint"),ce(q,Ve,Kr,"\u2230","\\oiiint"),ce(q,Ve,Kr,"\u2A06","\\bigsqcup"),ce(q,Ve,Kr,"\u222B","\\smallint"),ce(dt,Ve,Xt,"\u2026","\\textellipsis"),ce(q,Ve,Xt,"\u2026","\\mathellipsis"),ce(dt,Ve,Xt,"\u2026","\\ldots",!0),ce(q,Ve,Xt,"\u2026","\\ldots",!0),ce(q,Ve,Xt,"\u22EF","\\@cdots",!0),ce(q,Ve,Xt,"\u22F1","\\ddots",!0),ce(q,Ve,Qe,"\u22EE","\\varvdots"),ce(q,Ve,Ht,"\u02CA","\\acute"),ce(q,Ve,Ht,"\u02CB","\\grave"),ce(q,Ve,Ht,"\xA8","\\ddot"),ce(q,Ve,Ht,"~","\\tilde"),ce(q,Ve,Ht,"\u02C9","\\bar"),ce(q,Ve,Ht,"\u02D8","\\breve"),ce(q,Ve,Ht,"\u02C7","\\check"),ce(q,Ve,Ht,"^","\\hat"),ce(q,Ve,Ht,"\u20D7","\\vec"),ce(q,Ve,Ht,"\u02D9","\\dot"),ce(q,Ve,Ht,"\u02DA","\\mathring"),ce(q,Ve,sr,"\u0131","\\imath",!0),ce(q,Ve,sr,"\u0237","\\jmath",!0),ce(dt,Ve,Qe,"\u0131","\\i",!0),ce(dt,Ve,Qe,"\u0237","\\j",!0),ce(dt,Ve,Qe,"\xDF","\\ss",!0),ce(dt,Ve,Qe,"\xE6","\\ae",!0),ce(dt,Ve,Qe,"\xE6","\\ae",!0),ce(dt,Ve,Qe,"\u0153","\\oe",!0),ce(dt,Ve,Qe,"\xF8","\\o",!0),ce(dt,Ve,Qe,"\xC6","\\AE",!0),ce(dt,Ve,Qe,"\u0152","\\OE",!0),ce(dt,Ve,Qe,"\xD8","\\O",!0),ce(dt,Ve,Ht,"\u02CA","\\'"),ce(dt,Ve,Ht,"\u02CB","\\`"),ce(dt,Ve,Ht,"\u02C6","\\^"),ce(dt,Ve,Ht,"\u02DC","\\~"),ce(dt,Ve,Ht,"\u02C9","\\="),ce(dt,Ve,Ht,"\u02D8","\\u"),ce(dt,Ve,Ht,"\u02D9","\\."),ce(dt,Ve,Ht,"\u02DA","\\r"),ce(dt,Ve,Ht,"\u02C7","\\v"),ce(dt,Ve,Ht,"\xA8",'\\"'),ce(dt,Ve,Ht,"\u02DD","\\H"),ce(dt,Ve,Ht,"\u25EF","\\textcircled");var qt={"--":!0,"---":!0,"``":!0,"''":!0};ce(dt,Ve,Qe,"\u2013","--"),ce(dt,Ve,Qe,"\u2013","\\textendash"),ce(dt,Ve,Qe,"\u2014","---"),ce(dt,Ve,Qe,"\u2014","\\textemdash"),ce(dt,Ve,Qe,"\u2018","`"),ce(dt,Ve,Qe,"\u2018","\\textquoteleft"),ce(dt,Ve,Qe,"\u2019","'"),ce(dt,Ve,Qe,"\u2019","\\textquoteright"),ce(dt,Ve,Qe,"\u201C","``"),ce(dt,Ve,Qe,"\u201C","\\textquotedblleft"),ce(dt,Ve,Qe,"\u201D","''"),ce(dt,Ve,Qe,"\u201D","\\textquotedblright"),ce(q,Ve,Qe,"\xB0","\\degree",!0),ce(dt,Ve,Qe,"\xB0","\\degree"),ce(dt,Ve,Qe,"\xB0","\\textdegree",!0),ce(q,Ve,sr,"\xA3","\\pounds"),ce(q,Ve,sr,"\xA3","\\mathsterling",!0),ce(dt,Ve,sr,"\xA3","\\pounds"),ce(dt,Ve,sr,"\xA3","\\textsterling",!0),ce(q,de,Qe,"\u2720","\\maltese"),ce(dt,de,Qe,"\u2720","\\maltese"),ce(dt,Ve,ot,"\xA0","\\ "),ce(dt,Ve,ot,"\xA0"," "),ce(dt,Ve,ot,"\xA0","~");for(var xr='0123456789/@."',vr=0;vr<xr.length;vr++){var fr=xr.charAt(vr);ce(q,Ve,Qe,fr,fr)}for(var An='0123456789!@*()-=+[]<>|";:?/.,',$r=0;$r<An.length;$r++){var Ln=An.charAt($r);ce(dt,Ve,Qe,Ln,Ln)}for(var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",tt=0;tt<$e.length;tt++){var ve=$e.charAt(tt);ce(q,Ve,sr,ve,ve),ce(dt,Ve,Qe,ve,ve)}ce(q,de,Qe,"C","\u2102"),ce(dt,de,Qe,"C","\u2102"),ce(q,de,Qe,"H","\u210D"),ce(dt,de,Qe,"H","\u210D"),ce(q,de,Qe,"N","\u2115"),ce(dt,de,Qe,"N","\u2115"),ce(q,de,Qe,"P","\u2119"),ce(dt,de,Qe,"P","\u2119"),ce(q,de,Qe,"Q","\u211A"),ce(dt,de,Qe,"Q","\u211A"),ce(q,de,Qe,"R","\u211D"),ce(dt,de,Qe,"R","\u211D"),ce(q,de,Qe,"Z","\u2124"),ce(dt,de,Qe,"Z","\u2124"),ce(q,Ve,sr,"h","\u210E"),ce(dt,Ve,sr,"h","\u210E");for(var _e="",ke=0;ke<$e.length;ke++){var rt=$e.charAt(ke);_e=String.fromCharCode(55349,56320+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56372+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56424+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56580+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56736+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56788+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56840+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56944+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),ke<26&&(_e=String.fromCharCode(55349,56632+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e),_e=String.fromCharCode(55349,56476+ke),ce(q,Ve,sr,rt,_e),ce(dt,Ve,Qe,rt,_e))}_e=String.fromCharCode(55349,56668),ce(q,Ve,sr,"k",_e),ce(dt,Ve,Qe,"k",_e);for(var Wt=0;Wt<10;Wt++){var Bt=Wt.toString();_e=String.fromCharCode(55349,57294+Wt),ce(q,Ve,sr,Bt,_e),ce(dt,Ve,Qe,Bt,_e),_e=String.fromCharCode(55349,57314+Wt),ce(q,Ve,sr,Bt,_e),ce(dt,Ve,Qe,Bt,_e),_e=String.fromCharCode(55349,57324+Wt),ce(q,Ve,sr,Bt,_e),ce(dt,Ve,Qe,Bt,_e),_e=String.fromCharCode(55349,57334+Wt),ce(q,Ve,sr,Bt,_e),ce(dt,Ve,Qe,Bt,_e)}for(var Gt="\xC7\xD0\xDE\xE7\xFE",Rr=0;Rr<Gt.length;Rr++){var Pr=Gt.charAt(Rr);ce(q,Ve,sr,Pr,Pr),ce(dt,Ve,Qe,Pr,Pr)}ce(dt,Ve,Qe,"\xF0","\xF0"),ce(dt,Ve,Qe,"\u2013","\u2013"),ce(dt,Ve,Qe,"\u2014","\u2014"),ce(dt,Ve,Qe,"\u2018","\u2018"),ce(dt,Ve,Qe,"\u2019","\u2019"),ce(dt,Ve,Qe,"\u201C","\u201C"),ce(dt,Ve,Qe,"\u201D","\u201D");var cn=[["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"]],Ut=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],pt=function(ne,fe){var ge=ne.charCodeAt(0),Re=ne.charCodeAt(1),ut=(ge-55296)*1024+(Re-56320)+65536,Lt=fe==="math"?0:1;if(119808<=ut&&ut<120484){var br=Math.floor((ut-119808)/26);return[cn[br][2],cn[br][Lt]]}else if(120782<=ut&&ut<=120831){var Or=Math.floor((ut-120782)/10);return[Ut[Or][2],Ut[Or][Lt]]}else{if(ut===120485||ut===120486)return[cn[0][2],cn[0][Lt]];if(120486<ut&&ut<120782)return["",""];throw new h("Unsupported character: "+ne)}},ct=[[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],Jt=function(ne,fe){return fe.size<2?ne:ct[ne-1][fe.size-1]},yt=function(){function mt(fe){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=fe.style,this.color=fe.color,this.size=fe.size||mt.BASESIZE,this.textSize=fe.textSize||this.size,this.phantom=!!fe.phantom,this.font=fe.font||"",this.fontFamily=fe.fontFamily||"",this.fontWeight=fe.fontWeight||"",this.fontShape=fe.fontShape||"",this.sizeMultiplier=Qt[this.size-1],this.maxSize=fe.maxSize,this.minRuleThickness=fe.minRuleThickness,this._fontMetrics=void 0}var ne=mt.prototype;return ne.extend=function(ge){var Re={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 ut in ge)ge.hasOwnProperty(ut)&&(Re[ut]=ge[ut]);return new mt(Re)},ne.havingStyle=function(ge){return this.style===ge?this:this.extend({style:ge,size:Jt(this.textSize,ge)})},ne.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},ne.havingSize=function(ge){return this.size===ge&&this.textSize===ge?this:this.extend({style:this.style.text(),size:ge,textSize:ge,sizeMultiplier:Qt[ge-1]})},ne.havingBaseStyle=function(ge){ge=ge||this.style.text();var Re=Jt(mt.BASESIZE,ge);return this.size===Re&&this.textSize===mt.BASESIZE&&this.style===ge?this:this.extend({style:ge,size:Re})},ne.havingBaseSizing=function(){var ge;switch(this.style.id){case 4:case 5:ge=3;break;case 6:case 7:ge=1;break;default:ge=6}return this.extend({style:this.style.text(),size:ge})},ne.withColor=function(ge){return this.extend({color:ge})},ne.withPhantom=function(){return this.extend({phantom:!0})},ne.withFont=function(ge){return this.extend({font:ge})},ne.withTextFontFamily=function(ge){return this.extend({fontFamily:ge,font:""})},ne.withTextFontWeight=function(ge){return this.extend({fontWeight:ge,font:""})},ne.withTextFontShape=function(ge){return this.extend({fontShape:ge,font:""})},ne.sizingClasses=function(ge){return ge.size!==this.size?["sizing","reset-size"+ge.size,"size"+this.size]:[]},ne.baseSizingClasses=function(){return this.size!==mt.BASESIZE?["sizing","reset-size"+this.size,"size"+mt.BASESIZE]:[]},ne.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=wt(this.size)),this._fontMetrics},ne.getColor=function(){return this.phantom?"transparent":this.color},mt}();yt.BASESIZE=6;var Pt=yt,At={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},Ft={ex:!0,em:!0,mu:!0},pr=function(ne){return typeof ne!="string"&&(ne=ne.unit),ne in At||ne in Ft||ne==="ex"},or=function(ne,fe){var ge;if(ne.unit in At)ge=At[ne.unit]/fe.fontMetrics().ptPerEm/fe.sizeMultiplier;else if(ne.unit==="mu")ge=fe.fontMetrics().cssEmPerMu;else{var Re;if(fe.style.isTight()?Re=fe.havingStyle(fe.style.text()):Re=fe,ne.unit==="ex")ge=Re.fontMetrics().xHeight;else if(ne.unit==="em")ge=Re.fontMetrics().quad;else throw new h("Invalid unit: '"+ne.unit+"'");Re!==fe&&(ge*=Re.sizeMultiplier/fe.sizeMultiplier)}return Math.min(ne.number*ge,fe.maxSize)},ir=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],Yr=function(ne,fe,ge){return Be[ge][ne]&&Be[ge][ne].replace&&(ne=Be[ge][ne].replace),{value:ne,metrics:Ue(ne,fe,ge)}},Jr=function(ne,fe,ge,Re,ut){var Lt=Yr(ne,fe,ge),br=Lt.metrics;ne=Lt.value;var Or;if(br){var Zr=br.italic;(ge==="text"||Re&&Re.font==="mathit")&&(Zr=0),Or=new et(ne,br.height,br.depth,Zr,br.skew,br.width,ut)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+ne+"' in style '"+fe+"' and mode '"+ge+"'")),Or=new et(ne,0,0,0,0,0,ut);if(Re){Or.maxFontSize=Re.sizeMultiplier,Re.style.isTight()&&Or.classes.push("mtight");var Cn=Re.getColor();Cn&&(Or.style.color=Cn)}return Or},_n=function(ne,fe,ge,Re){return Re===void 0&&(Re=[]),ge.font==="boldsymbol"&&Yr(ne,"Main-Bold",fe).metrics?Jr(ne,"Main-Bold",fe,ge,Re.concat(["mathbf"])):ne==="\\"||Be[fe][ne].font==="main"?Jr(ne,"Main-Regular",fe,ge,Re):Jr(ne,"AMS-Regular",fe,ge,Re.concat(["amsrm"]))},Nn=function(ne,fe,ge,Re){return/[0-9]/.test(ne.charAt(0))||m.contains(ir,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},zn=function(ne,fe,ge,Re){return m.contains(ir,ne)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(ne.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ei=function(ne,fe,ge,Re){return Yr(ne,"Math-BoldItalic",fe).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vi=function(ne,fe,ge){var Re=ne.mode,ut=ne.text,Lt=["mord"],br=Re==="math"||Re==="text"&&fe.font,Or=br?fe.font:fe.fontFamily;if(ut.charCodeAt(0)===55349){var Zr=pt(ut,Re),Cn=Zr[0],Hn=Zr[1];return Jr(ut,Cn,Re,fe,Lt.concat(Hn))}else if(Or){var si,xi;if(Or==="boldsymbol"||Or==="mathnormal"){var Di=Or==="boldsymbol"?ei(ut,Re,fe,Lt):zn(ut,Re,fe,Lt);si=Di.fontName,xi=[Di.fontClass]}else m.contains(ir,ut)?(si="Main-Italic",xi=["mathit"]):br?(si=Nr[Or].fontName,xi=[Or]):(si=hr(Or,fe.fontWeight,fe.fontShape),xi=[Or,fe.fontWeight,fe.fontShape]);if(Yr(ut,si,Re).metrics)return Jr(ut,si,Re,fe,Lt.concat(xi));if(qt.hasOwnProperty(ut)&&si.substr(0,10)==="Typewriter"){for(var sa=[],ya=0;ya<ut.length;ya++)sa.push(Jr(ut[ya],si,Re,fe,Lt.concat(xi)));return Je(sa)}}if(ge==="mathord"){var Ja=Nn(ut,Re,fe,Lt);return Jr(ut,Ja.fontName,Re,fe,Lt.concat([Ja.fontClass]))}else if(ge==="textord"){var $a=Be[Re][ut]&&Be[Re][ut].font;if($a==="ams"){var to=hr("amsrm",fe.fontWeight,fe.fontShape);return Jr(ut,to,Re,fe,Lt.concat("amsrm",fe.fontWeight,fe.fontShape))}else if($a==="main"||!$a){var Io=hr("textrm",fe.fontWeight,fe.fontShape);return Jr(ut,Io,Re,fe,Lt.concat(fe.fontWeight,fe.fontShape))}else{var Co=hr($a,fe.fontWeight,fe.fontShape);return Jr(ut,Co,Re,fe,Lt.concat(Co,fe.fontWeight,fe.fontShape))}}else throw new Error("unexpected type: "+ge+" in makeOrd")},Pi=function(ne,fe){if(ee(ne.classes)!==ee(fe.classes)||ne.skew!==fe.skew||ne.maxFontSize!==fe.maxFontSize)return!1;for(var ge in ne.style)if(ne.style.hasOwnProperty(ge)&&ne.style[ge]!==fe.style[ge])return!1;for(var Re in fe.style)if(fe.style.hasOwnProperty(Re)&&ne.style[Re]!==fe.style[Re])return!1;return!0},Ge=function(ne){for(var fe=0;fe<ne.length-1;fe++){var ge=ne[fe],Re=ne[fe+1];ge instanceof et&&Re instanceof et&&Pi(ge,Re)&&(ge.text+=Re.text,ge.height=Math.max(ge.height,Re.height),ge.depth=Math.max(ge.depth,Re.depth),ge.italic=Re.italic,ne.splice(fe+1,1),fe--)}return ne},we=function(ne){for(var fe=0,ge=0,Re=0,ut=0;ut<ne.children.length;ut++){var Lt=ne.children[ut];Lt.height>fe&&(fe=Lt.height),Lt.depth>ge&&(ge=Lt.depth),Lt.maxFontSize>Re&&(Re=Lt.maxFontSize)}ne.height=fe,ne.depth=ge,ne.maxFontSize=Re},Le=function(ne,fe,ge,Re){var ut=new it(ne,fe,ge,Re);return we(ut),ut},De=function(ne,fe,ge,Re){return new it(ne,fe,ge,Re)},We=function(ne,fe,ge){var Re=Le([ne],[],fe);return Re.height=Math.max(ge||fe.fontMetrics().defaultRuleThickness,fe.minRuleThickness),Re.style.borderBottomWidth=Re.height+"em",Re.maxFontSize=1,Re},Fe=function(ne,fe,ge,Re){var ut=new Ye(ne,fe,ge,Re);return we(ut),ut},Je=function(ne){var fe=new ie(ne);return we(fe),fe},vt=function(ne,fe){return ne instanceof ie?Le([],[ne],fe):ne},st=function(ne){if(ne.positionType==="individualShift"){for(var fe=ne.children,ge=[fe[0]],Re=-fe[0].shift-fe[0].elem.depth,ut=Re,Lt=1;Lt<fe.length;Lt++){var br=-fe[Lt].shift-ut-fe[Lt].elem.depth,Or=br-(fe[Lt-1].elem.height+fe[Lt-1].elem.depth);ut=ut+br,ge.push({type:"kern",size:Or}),ge.push(fe[Lt])}return{children:ge,depth:Re}}var Zr;if(ne.positionType==="top"){for(var Cn=ne.positionData,Hn=0;Hn<ne.children.length;Hn++){var si=ne.children[Hn];Cn-=si.type==="kern"?si.size:si.elem.height+si.elem.depth}Zr=Cn}else if(ne.positionType==="bottom")Zr=-ne.positionData;else{var xi=ne.children[0];if(xi.type!=="elem")throw new Error('First child must have type "elem".');if(ne.positionType==="shift")Zr=-xi.elem.depth-ne.positionData;else if(ne.positionType==="firstBaseline")Zr=-xi.elem.depth;else throw new Error("Invalid positionType "+ne.positionType+".")}return{children:ne.children,depth:Zr}},kt=function(ne,fe){for(var ge=st(ne),Re=ge.children,ut=ge.depth,Lt=0,br=0;br<Re.length;br++){var Or=Re[br];if(Or.type==="elem"){var Zr=Or.elem;Lt=Math.max(Lt,Zr.maxFontSize,Zr.height)}}Lt+=2;var Cn=Le(["pstrut"],[]);Cn.style.height=Lt+"em";for(var Hn=[],si=ut,xi=ut,Di=ut,sa=0;sa<Re.length;sa++){var ya=Re[sa];if(ya.type==="kern")Di+=ya.size;else{var Ja=ya.elem,$a=ya.wrapperClasses||[],to=ya.wrapperStyle||{},Io=Le($a,[Cn,Ja],void 0,to);Io.style.top=-Lt-Di-Ja.depth+"em",ya.marginLeft&&(Io.style.marginLeft=ya.marginLeft),ya.marginRight&&(Io.style.marginRight=ya.marginRight),Hn.push(Io),Di+=Ja.height+Ja.depth}si=Math.min(si,Di),xi=Math.max(xi,Di)}var Co=Le(["vlist"],Hn);Co.style.height=xi+"em";var Do;if(si<0){var go=Le([],[]),So=Le(["vlist"],[go]);So.style.height=-si+"em";var is=Le(["vlist-s"],[new et("\u200B")]);Do=[Le(["vlist-r"],[Co,is]),Le(["vlist-r"],[So])]}else Do=[Le(["vlist-r"],[Co])];var ts=Le(["vlist-t"],Do);return Do.length===2&&ts.classes.push("vlist-t2"),ts.height=xi,ts.depth=-si,ts},wr=function(ne,fe){var ge=Le(["mspace"],[],fe),Re=or(ne,fe);return ge.style.marginRight=Re+"em",ge},hr=function(ne,fe,ge){var Re="";switch(ne){case"amsrm":Re="AMS";break;case"textrm":Re="Main";break;case"textsf":Re="SansSerif";break;case"texttt":Re="Typewriter";break;default:Re=ne}var ut;return fe==="textbf"&&ge==="textit"?ut="BoldItalic":fe==="textbf"?ut="Bold":fe==="textit"?ut="Italic":ut="Regular",Re+"-"+ut},Nr={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"}},Kt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},un=function(ne,fe){var ge=Kt[ne],Re=ge[0],ut=ge[1],Lt=ge[2],br=new pe(Re),Or=new He([br],{width:ut+"em",height:Lt+"em",style:"width:"+ut+"em",viewBox:"0 0 "+1e3*ut+" "+1e3*Lt,preserveAspectRatio:"xMinYMin"}),Zr=De(["overlay"],[Or],fe);return Zr.height=Lt,Zr.style.height=Lt+"em",Zr.style.width=ut+"em",Zr},ar={fontMap:Nr,makeSymbol:Jr,mathsym:_n,makeSpan:Le,makeSvgSpan:De,makeLineSpan:We,makeAnchor:Fe,makeFragment:Je,wrapFragment:vt,makeVList:kt,makeOrd:vi,makeGlue:wr,staticSvg:un,svgData:Kt,tryCombineChars:Ge};function Xr(mt,ne){var fe=kr(mt,ne);if(!fe)throw new Error("Expected node of type "+ne+", but got "+(mt?"node of type "+mt.type:String(mt)));return fe}function kr(mt,ne){return mt&&mt.type===ne?mt:null}function gr(mt,ne){var fe=Sn(mt,ne);if(!fe)throw new Error('Expected node of type "atom" and family "'+ne+'", but got '+(mt?mt.type==="atom"?"atom of family "+mt.family:"node of type "+mt.type:String(mt)));return fe}function Sn(mt,ne){return mt&&mt.type==="atom"&&mt.family===ne?mt:null}function Pn(mt){var ne=ii(mt);if(!ne)throw new Error("Expected node of symbol group type, but got "+(mt?"node of type "+mt.type:String(mt)));return ne}function ii(mt){return mt&&(mt.type==="atom"||xt.hasOwnProperty(mt.type))?mt:null}var oi={number:3,unit:"mu"},ti={number:4,unit:"mu"},bi={number:5,unit:"mu"},Bn={mord:{mop:oi,mbin:ti,mrel:bi,minner:oi},mop:{mord:oi,mop:oi,mrel:bi,minner:oi},mbin:{mord:ti,mop:ti,mopen:ti,minner:ti},mrel:{mord:bi,mop:bi,mopen:bi,minner:bi},mopen:{},mclose:{mop:oi,mbin:ti,mrel:bi,minner:oi},mpunct:{mord:oi,mop:oi,mrel:bi,mopen:oi,mclose:oi,mpunct:oi,minner:oi},minner:{mord:oi,mop:oi,mbin:ti,mrel:bi,mopen:oi,mpunct:oi,minner:oi}},_i={mord:{mop:oi},mop:{mord:oi,mop:oi},mbin:{},mrel:{},mopen:{},mclose:{mop:oi},mpunct:{},minner:{mop:oi}},gn={},Vr={},xn={};function tn(mt){for(var ne=mt.type,fe=mt.names,ge=mt.props,Re=mt.handler,ut=mt.htmlBuilder,Lt=mt.mathmlBuilder,br={type:ne,numArgs:ge.numArgs,argTypes:ge.argTypes,greediness:ge.greediness===void 0?1:ge.greediness,allowedInText:!!ge.allowedInText,allowedInMath:ge.allowedInMath===void 0?!0:ge.allowedInMath,numOptionalArgs:ge.numOptionalArgs||0,infix:!!ge.infix,handler:Re},Or=0;Or<fe.length;++Or)gn[fe[Or]]=br;ne&&(ut&&(Vr[ne]=ut),Lt&&(xn[ne]=Lt))}function ui(mt){var ne=mt.type,fe=mt.htmlBuilder,ge=mt.mathmlBuilder;tn({type:ne,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:fe,mathmlBuilder:ge})}var qn=function(ne){var fe=kr(ne,"ordgroup");return fe?fe.body:[ne]},wi=ar.makeSpan,Qn=["leftmost","mbin","mopen","mrel","mop","mpunct"],Hi=["rightmost","mrel","mclose","mpunct"],ri={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT},Mi={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},dn=function(ne,fe,ge,Re){Re===void 0&&(Re=[null,null]);for(var ut=[],Lt=0;Lt<ne.length;Lt++){var br=hi(ne[Lt],fe);if(br instanceof ie){var Or=br.children;ut.push.apply(ut,Or)}else ut.push(br)}if(!ge)return ut;var Zr=fe;if(ne.length===1){var Cn=kr(ne[0],"sizing")||kr(ne[0],"styling");Cn&&(Cn.type==="sizing"?Zr=fe.havingSize(Cn.size):Cn.type==="styling"&&(Zr=fe.havingStyle(ri[Cn.style])))}var Hn=wi([Re[0]||"leftmost"],[],fe),si=wi([Re[1]||"rightmost"],[],fe);return Fr(ut,function(xi,Di){var sa=Di.classes[0],ya=xi.classes[0];sa==="mbin"&&m.contains(Hi,ya)?Di.classes[0]="mord":ya==="mbin"&&m.contains(Qn,sa)&&(xi.classes[0]="mord")},{node:Hn},si),Fr(ut,function(xi,Di){var sa=Xn(Di),ya=Xn(xi),Ja=sa&&ya?xi.hasClass("mtight")?_i[sa][ya]:Bn[sa][ya]:null;if(Ja)return ar.makeGlue(Ja,Zr)},{node:Hn},si),ut},Fr=function mt(ne,fe,ge,Re){Re&&ne.push(Re);for(var ut=0;ut<ne.length;ut++){var Lt=ne[ut],br=bn(Lt);if(br){mt(br.children,fe,ge);continue}if(Lt.classes[0]==="mspace")continue;var Or=fe(Lt,ge.node);Or&&(ge.insertAfter?ge.insertAfter(Or):(ne.unshift(Or),ut++)),ge.node=Lt,ge.insertAfter=function(Zr){return function(Cn){ne.splice(Zr+1,0,Cn),ut++}}(ut)}Re&&ne.pop()},bn=function(ne){return ne instanceof ie||ne instanceof Ye?ne:null},Mn=function mt(ne,fe){var ge=bn(ne);if(ge){var Re=ge.children;if(Re.length){if(fe==="right")return mt(Re[Re.length-1],"right");if(fe==="left")return mt(Re[0],"left")}}return ne},Xn=function(ne,fe){return ne?(fe&&(ne=Mn(ne,fe)),Mi[ne.classes[0]]||null):null},$n=function(ne,fe){var ge=["nulldelimiter"].concat(ne.baseSizingClasses());return wi(fe.concat(ge))},hi=function(ne,fe,ge){if(!ne)return wi();if(Vr[ne.type]){var Re=Vr[ne.type](ne,fe);if(ge&&fe.size!==ge.size){Re=wi(fe.sizingClasses(ge),[Re],fe);var ut=fe.sizeMultiplier/ge.sizeMultiplier;Re.height*=ut,Re.depth*=ut}return Re}else throw new h("Got group of unknown type: '"+ne.type+"'")};function fi(mt,ne){var fe=wi(["base"],mt,ne),ge=wi(["strut"]);return ge.style.height=fe.height+fe.depth+"em",ge.style.verticalAlign=-fe.depth+"em",fe.children.unshift(ge),fe}function gi(mt,ne){var fe=null;mt.length===1&&mt[0].type==="tag"&&(fe=mt[0].tag,mt=mt[0].body);for(var ge=dn(mt,ne,!0),Re=[],ut=[],Lt=0;Lt<ge.length;Lt++)if(ut.push(ge[Lt]),ge[Lt].hasClass("mbin")||ge[Lt].hasClass("mrel")||ge[Lt].hasClass("allowbreak")){for(var br=!1;Lt<ge.length-1&&ge[Lt+1].hasClass("mspace")&&!ge[Lt+1].hasClass("newline");)Lt++,ut.push(ge[Lt]),ge[Lt].hasClass("nobreak")&&(br=!0);br||(Re.push(fi(ut,ne)),ut=[])}else ge[Lt].hasClass("newline")&&(ut.pop(),ut.length>0&&(Re.push(fi(ut,ne)),ut=[]),Re.push(ge[Lt]));ut.length>0&&Re.push(fi(ut,ne));var Or;fe&&(Or=fi(dn(fe,ne,!0)),Or.classes=["tag"],Re.push(Or));var Zr=wi(["katex-html"],Re);if(Zr.setAttribute("aria-hidden","true"),Or){var Cn=Or.children[0];Cn.style.height=Zr.height+Zr.depth+"em",Cn.style.verticalAlign=-Zr.depth+"em"}return Zr}function Wi(mt){return new ie(mt)}var na=function(){function mt(fe,ge){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=fe,this.attributes={},this.children=ge||[]}var ne=mt.prototype;return ne.setAttribute=function(ge,Re){this.attributes[ge]=Re},ne.getAttribute=function(ge){return this.attributes[ge]},ne.toNode=function(){var ge=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var Re in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Re)&&ge.setAttribute(Re,this.attributes[Re]);for(var ut=0;ut<this.children.length;ut++)ge.appendChild(this.children[ut].toNode());return ge},ne.toMarkup=function(){var ge="<"+this.type;for(var Re in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Re)&&(ge+=" "+Re+'="',ge+=m.escape(this.attributes[Re]),ge+='"');ge+=">";for(var ut=0;ut<this.children.length;ut++)ge+=this.children[ut].toMarkup();return ge+="</"+this.type+">",ge},ne.toText=function(){return this.children.map(function(ge){return ge.toText()}).join("")},mt}(),$i=function(){function mt(fe){this.text=void 0,this.text=fe}var ne=mt.prototype;return ne.toNode=function(){return document.createTextNode(this.text)},ne.toMarkup=function(){return m.escape(this.toText())},ne.toText=function(){return this.text},mt}(),Ha=function(){function mt(fe){this.width=void 0,this.character=void 0,this.width=fe,fe>=.05555&&fe<=.05556?this.character="\u200A":fe>=.1666&&fe<=.1667?this.character="\u2009":fe>=.2222&&fe<=.2223?this.character="\u2005":fe>=.2777&&fe<=.2778?this.character="\u2005\u200A":fe>=-.05556&&fe<=-.05555?this.character="\u200A\u2063":fe>=-.1667&&fe<=-.1666?this.character="\u2009\u2063":fe>=-.2223&&fe<=-.2222?this.character="\u205F\u2063":fe>=-.2778&&fe<=-.2777?this.character="\u2005\u2063":this.character=null}var ne=mt.prototype;return ne.toNode=function(){if(this.character)return document.createTextNode(this.character);var ge=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return ge.setAttribute("width",this.width+"em"),ge},ne.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},ne.toText=function(){return this.character?this.character:" "},mt}(),pi={MathNode:na,TextNode:$i,SpaceNode:Ha,newDocumentFragment:Wi},ln=function(ne,fe,ge){return Be[fe][ne]&&Be[fe][ne].replace&&ne.charCodeAt(0)!==55349&&!(qt.hasOwnProperty(ne)&&ge&&(ge.fontFamily&&ge.fontFamily.substr(4,2)==="tt"||ge.font&&ge.font.substr(4,2)==="tt"))&&(ne=Be[fe][ne].replace),new pi.TextNode(ne)},Ii=function(ne){return ne.length===1?ne[0]:new pi.MathNode("mrow",ne)},Ji=function(ne,fe){if(fe.fontFamily==="texttt")return"monospace";if(fe.fontFamily==="textsf")return fe.fontShape==="textit"&&fe.fontWeight==="textbf"?"sans-serif-bold-italic":fe.fontShape==="textit"?"sans-serif-italic":fe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(fe.fontShape==="textit"&&fe.fontWeight==="textbf")return"bold-italic";if(fe.fontShape==="textit")return"italic";if(fe.fontWeight==="textbf")return"bold";var ge=fe.font;if(!ge||ge==="mathnormal")return null;var Re=ne.mode;if(ge==="mathit")return"italic";if(ge==="boldsymbol")return"bold-italic";if(ge==="mathbf")return"bold";if(ge==="mathbb")return"double-struck";if(ge==="mathfrak")return"fraktur";if(ge==="mathscr"||ge==="mathcal")return"script";if(ge==="mathsf")return"sans-serif";if(ge==="mathtt")return"monospace";var ut=ne.text;if(m.contains(["\\imath","\\jmath"],ut))return null;Be[Re][ut]&&Be[Re][ut].replace&&(ut=Be[Re][ut].replace);var Lt=ar.fontMap[ge].fontName;return Ue(ut,Lt,Re)?ar.fontMap[ge].variant:null},Fi=function(ne,fe,ge){if(ne.length===1){var Re=zt(ne[0],fe);return ge&&Re instanceof na&&Re.type==="mo"&&(Re.setAttribute("lspace","0em"),Re.setAttribute("rspace","0em")),[Re]}for(var ut=[],Lt,br=0;br<ne.length;br++){var Or=zt(ne[br],fe);if(Or instanceof na&&Lt instanceof na){if(Or.type==="mtext"&&Lt.type==="mtext"&&Or.getAttribute("mathvariant")===Lt.getAttribute("mathvariant")){var Zr;(Zr=Lt.children).push.apply(Zr,Or.children);continue}else if(Or.type==="mn"&&Lt.type==="mn"){var Cn;(Cn=Lt.children).push.apply(Cn,Or.children);continue}else if(Or.type==="mi"&&Or.children.length===1&&Lt.type==="mn"){var Hn=Or.children[0];if(Hn instanceof $i&&Hn.text==="."){var si;(si=Lt.children).push.apply(si,Or.children);continue}}else if(Lt.type==="mi"&&Lt.children.length===1){var xi=Lt.children[0];if(xi instanceof $i&&xi.text==="\u0338"&&(Or.type==="mo"||Or.type==="mi"||Or.type==="mn")){var Di=Or.children[0];Di instanceof $i&&Di.text.length>0&&(Di.text=Di.text.slice(0,1)+"\u0338"+Di.text.slice(1),ut.pop())}}}ut.push(Or),Lt=Or}return ut},ea=function(ne,fe,ge){return Ii(Fi(ne,fe,ge))},zt=function(ne,fe){if(!ne)return new pi.MathNode("mrow");if(xn[ne.type]){var ge=xn[ne.type](ne,fe);return ge}else throw new h("Got group of unknown type: '"+ne.type+"'")};function Gr(mt,ne,fe,ge){var Re=Fi(mt,fe),ut;Re.length===1&&Re[0]instanceof na&&m.contains(["mrow","mtable"],Re[0].type)?ut=Re[0]:ut=new pi.MathNode("mrow",Re);var Lt=new pi.MathNode("annotation",[new pi.TextNode(ne)]);Lt.setAttribute("encoding","application/x-tex");var br=new pi.MathNode("semantics",[ut,Lt]),Or=new pi.MathNode("math",[br]);Or.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var Zr=ge?"katex":"katex-mathml";return ar.makeSpan([Zr],[Or])}var nn=function(ne){return new Pt({style:ne.displayMode?j.DISPLAY:j.TEXT,maxSize:ne.maxSize,minRuleThickness:ne.minRuleThickness})},fn=function(ne,fe){if(fe.displayMode){var ge=["katex-display"];fe.leqno&&ge.push("leqno"),fe.fleqn&&ge.push("fleqn"),ne=ar.makeSpan(ge,[ne])}return ne},Xe=function(ne,fe,ge){var Re=nn(ge),ut;if(ge.output==="mathml")return Gr(ne,fe,Re,!0);if(ge.output==="html"){var Lt=gi(ne,Re);ut=ar.makeSpan(["katex"],[Lt])}else{var br=Gr(ne,fe,Re,!1),Or=gi(ne,Re);ut=ar.makeSpan(["katex"],[br,Or])}return fn(ut,ge)},Ot=function(ne,fe,ge){var Re=nn(ge),ut=gi(ne,Re),Lt=ar.makeSpan(["katex"],[ut]);return fn(Lt,ge)},cr=Xe,lr={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Ir=function(ne){var fe=new pi.MathNode("mo",[new pi.TextNode(lr[ne.substr(1)])]);return fe.setAttribute("stretchy","true"),fe},Dr={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]},Wr=function(ne){return ne.type==="ordgroup"?ne.body.length:1},on=function(ne,fe){function ge(){var Or=4e5,Zr=ne.label.substr(1);if(m.contains(["widehat","widecheck","widetilde","utilde"],Zr)){var Cn=ne,Hn=Wr(Cn.base),si,xi,Di;if(Hn>5)Zr==="widehat"||Zr==="widecheck"?(si=420,Or=2364,Di=.42,xi=Zr+"4"):(si=312,Or=2340,Di=.34,xi="tilde4");else{var sa=[1,1,2,2,3,3][Hn];Zr==="widehat"||Zr==="widecheck"?(Or=[0,1062,2364,2364,2364][sa],si=[0,239,300,360,420][sa],Di=[0,.24,.3,.3,.36,.42][sa],xi=Zr+sa):(Or=[0,600,1033,2339,2340][sa],si=[0,260,286,306,312][sa],Di=[0,.26,.286,.3,.306,.34][sa],xi="tilde"+sa)}var ya=new pe(xi),Ja=new He([ya],{width:"100%",height:Di+"em",viewBox:"0 0 "+Or+" "+si,preserveAspectRatio:"none"});return{span:ar.makeSvgSpan([],[Ja],fe),minWidth:0,height:Di}}else{var $a=[],to=Dr[Zr],Io=to[0],Co=to[1],Do=to[2],go=Do/1e3,So=Io.length,is,ts;if(So===1){var To=to[3];is=["hide-tail"],ts=[To]}else if(So===2)is=["halfarrow-left","halfarrow-right"],ts=["xMinYMin","xMaxYMin"];else if(So===3)is=["brace-left","brace-center","brace-right"],ts=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+So+" children.");for(var Yi=0;Yi<So;Yi++){var Rs=new pe(Io[Yi]),Es=new He([Rs],{width:"400em",height:go+"em",viewBox:"0 0 "+Or+" "+Do,preserveAspectRatio:ts[Yi]+" slice"}),as=ar.makeSvgSpan([is[Yi]],[Es],fe);if(So===1)return{span:as,minWidth:Co,height:go};as.style.height=go+"em",$a.push(as)}return{span:ar.makeSpan(["stretchy"],$a,fe),minWidth:Co,height:go}}}var Re=ge(),ut=Re.span,Lt=Re.minWidth,br=Re.height;return ut.height=br,ut.style.height=br+"em",Lt>0&&(ut.style.minWidth=Lt+"em"),ut},En=function(ne,fe,ge,Re){var ut,Lt=ne.height+ne.depth+2*ge;if(/fbox|color/.test(fe)){if(ut=ar.makeSpan(["stretchy",fe],[],Re),fe==="fbox"){var br=Re.color&&Re.getColor();br&&(ut.style.borderColor=br)}}else{var Or=[];/^[bx]cancel$/.test(fe)&&Or.push(new ae({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(fe)&&Or.push(new ae({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var Zr=new He(Or,{width:"100%",height:Lt+"em"});ut=ar.makeSvgSpan([],[Zr],Re)}return ut.height=Lt,ut.style.height=Lt+"em",ut},vn={encloseSpan:En,mathMLnode:Ir,svgSpan:on},Dn=function(ne,fe){var ge,Re,ut=kr(ne,"supsub"),Lt;ut?(Re=Xr(ut.base,"accent"),ge=Re.base,ut.base=ge,Lt=be(hi(ut,fe)),ut.base=Re):(Re=Xr(ne,"accent"),ge=Re.base);var br=hi(ge,fe.havingCrampedStyle()),Or=Re.isShifty&&m.isCharacterBox(ge),Zr=0;if(Or){var Cn=m.getBaseElem(ge),Hn=hi(Cn,fe.havingCrampedStyle());Zr=re(Hn).skew}var si=Math.min(br.height,fe.fontMetrics().xHeight),xi;if(Re.isStretchy)xi=vn.svgSpan(Re,fe),xi=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"elem",elem:xi,wrapperClasses:["svg-align"],wrapperStyle:Zr>0?{width:"calc(100% - "+2*Zr+"em)",marginLeft:2*Zr+"em"}:void 0}]},fe);else{var Di,sa;Re.label==="\\vec"?(Di=ar.staticSvg("vec",fe),sa=ar.svgData.vec[1]):(Di=ar.makeOrd({mode:Re.mode,text:Re.label},fe,"textord"),Di=re(Di),Di.italic=0,sa=Di.width),xi=ar.makeSpan(["accent-body"],[Di]);var ya=Re.label==="\\textcircled";ya&&(xi.classes.push("accent-full"),si=br.height);var Ja=Zr;ya||(Ja-=sa/2),xi.style.left=Ja+"em",Re.label==="\\textcircled"&&(xi.style.top=".2em"),xi=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"kern",size:-si},{type:"elem",elem:xi}]},fe)}var $a=ar.makeSpan(["mord","accent"],[xi],fe);return Lt?(Lt.children[0]=$a,Lt.height=Math.max($a.height,Lt.height),Lt.classes[0]="mord",Lt):$a},Un=function(ne,fe){var ge=ne.isStretchy?vn.mathMLnode(ne.label):new pi.MathNode("mo",[ln(ne.label,ne.mode)]),Re=new pi.MathNode("mover",[zt(ne.base,fe),ge]);return Re.setAttribute("accent","true"),Re},wn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(mt){return"\\"+mt}).join("|"));tn({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(ne,fe){var ge=fe[0],Re=!wn.test(ne.funcName),ut=!Re||ne.funcName==="\\widehat"||ne.funcName==="\\widetilde"||ne.funcName==="\\widecheck";return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:Re,isShifty:ut,base:ge}},htmlBuilder:Dn,mathmlBuilder:Un}),tn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(ne,fe){var ge=fe[0];return{type:"accent",mode:ne.parser.mode,label:ne.funcName,isStretchy:!1,isShifty:!0,base:ge}},htmlBuilder:Dn,mathmlBuilder:Un}),tn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];return{type:"accentUnder",mode:ge.mode,label:Re,base:ut}},htmlBuilder:function(ne,fe){var ge=hi(ne.base,fe),Re=vn.svgSpan(ne,fe),ut=ne.label==="\\utilde"?.12:0,Lt=ar.makeVList({positionType:"bottom",positionData:Re.height+ut,children:[{type:"elem",elem:Re,wrapperClasses:["svg-align"]},{type:"kern",size:ut},{type:"elem",elem:ge}]},fe);return ar.makeSpan(["mord","accentunder"],[Lt],fe)},mathmlBuilder:function(ne,fe){var ge=vn.mathMLnode(ne.label),Re=new pi.MathNode("munder",[zt(ne.base,fe),ge]);return Re.setAttribute("accentunder","true"),Re}});var In=function(ne){var fe=new pi.MathNode("mpadded",ne?[ne]:[]);return fe.setAttribute("width","+0.6em"),fe.setAttribute("lspace","0.3em"),fe};tn({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(ne,fe,ge){var Re=ne.parser,ut=ne.funcName;return{type:"xArrow",mode:Re.mode,label:ut,body:fe[0],below:ge[0]}},htmlBuilder:function(ne,fe){var ge=fe.style,Re=fe.havingStyle(ge.sup()),ut=ar.wrapFragment(hi(ne.body,Re,fe),fe);ut.classes.push("x-arrow-pad");var Lt;ne.below&&(Re=fe.havingStyle(ge.sub()),Lt=ar.wrapFragment(hi(ne.below,Re,fe),fe),Lt.classes.push("x-arrow-pad"));var br=vn.svgSpan(ne,fe),Or=-fe.fontMetrics().axisHeight+.5*br.height,Zr=-fe.fontMetrics().axisHeight-.5*br.height-.111;(ut.depth>.25||ne.label==="\\xleftequilibrium")&&(Zr-=ut.depth);var Cn;if(Lt){var Hn=-fe.fontMetrics().axisHeight+Lt.height+.5*br.height+.111;Cn=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ut,shift:Zr},{type:"elem",elem:br,shift:Or},{type:"elem",elem:Lt,shift:Hn}]},fe)}else Cn=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ut,shift:Zr},{type:"elem",elem:br,shift:Or}]},fe);return Cn.children[0].children[0].children[1].classes.push("svg-align"),ar.makeSpan(["mrel","x-arrow"],[Cn],fe)},mathmlBuilder:function(ne,fe){var ge=vn.mathMLnode(ne.label),Re;if(ne.body){var ut=In(zt(ne.body,fe));if(ne.below){var Lt=In(zt(ne.below,fe));Re=new pi.MathNode("munderover",[ge,Lt,ut])}else Re=new pi.MathNode("mover",[ge,ut])}else if(ne.below){var br=In(zt(ne.below,fe));Re=new pi.MathNode("munder",[ge,br])}else Re=In(),Re=new pi.MathNode("mover",[ge,Re]);return Re}}),tn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){for(var ge=ne.parser,Re=Xr(fe[0],"ordgroup"),ut=Re.body,Lt="",br=0;br<ut.length;br++){var Or=Xr(ut[br],"textord");Lt+=Or.text}var Zr=parseInt(Lt);if(isNaN(Zr))throw new h("\\@char has non-numeric argument "+Lt);return{type:"textord",mode:ge.mode,text:String.fromCharCode(Zr)}}});var Tn=function(ne,fe){var ge=dn(ne.body,fe.withColor(ne.color),!1);return ar.makeFragment(ge)},Kn=function(ne,fe){var ge=Fi(ne.body,fe.withColor(ne.color)),Re=new pi.MathNode("mstyle",ge);return Re.setAttribute("mathcolor",ne.color),Re};tn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(ne,fe){var ge=ne.parser,Re=Xr(fe[0],"color-token").color,ut=fe[1];return{type:"color",mode:ge.mode,color:Re,body:qn(ut)}},htmlBuilder:Tn,mathmlBuilder:Kn}),tn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(ne,fe){var ge=ne.parser,Re=ne.breakOnTokenText,ut=Xr(fe[0],"color-token").color;ge.gullet.macros.set("\\current@color",ut);var Lt=ge.parseExpression(!0,Re);return{type:"color",mode:ge.mode,color:ut,body:Lt}},htmlBuilder:Tn,mathmlBuilder:Kn}),tn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,fe,ge){var Re=ne.parser,ut=ne.funcName,Lt=ge[0],br=ut==="\\cr",Or=!1;return br||(Re.settings.displayMode&&Re.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Or=!1:Or=!0),{type:"cr",mode:Re.mode,newLine:Or,newRow:br,size:Lt&&Xr(Lt,"size").value}},htmlBuilder:function(ne,fe){if(ne.newRow)throw new h("\\cr valid only within a tabular/array environment");var ge=ar.makeSpan(["mspace"],[],fe);return ne.newLine&&(ge.classes.push("newline"),ne.size&&(ge.style.marginTop=or(ne.size,fe)+"em")),ge},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mspace");return ne.newLine&&(ge.setAttribute("linebreak","newline"),ne.size&&ge.setAttribute("height",or(ne.size,fe)+"em")),ge}});var Yn=function(ne,fe,ge){var Re=Be.math[ne]&&Be.math[ne].replace,ut=Ue(Re||ne,fe,ge);if(!ut)throw new Error("Unsupported symbol "+ne+" and font size "+fe+".");return ut},ni=function(ne,fe,ge,Re){var ut=ge.havingBaseStyle(fe),Lt=ar.makeSpan(Re.concat(ut.sizingClasses(ge)),[ne],ge),br=ut.sizeMultiplier/ge.sizeMultiplier;return Lt.height*=br,Lt.depth*=br,Lt.maxFontSize=ut.sizeMultiplier,Lt},yi=function(ne,fe,ge){var Re=fe.havingBaseStyle(ge),ut=(1-fe.sizeMultiplier/Re.sizeMultiplier)*fe.fontMetrics().axisHeight;ne.classes.push("delimcenter"),ne.style.top=ut+"em",ne.height-=ut,ne.depth+=ut},li=function(ne,fe,ge,Re,ut,Lt){var br=ar.makeSymbol(ne,"Main-Regular",ut,Re),Or=ni(br,fe,Re,Lt);return ge&&yi(Or,Re,fe),Or},Oi=function(ne,fe,ge,Re){return ar.makeSymbol(ne,"Size"+fe+"-Regular",ge,Re)},Bi=function(ne,fe,ge,Re,ut,Lt){var br=Oi(ne,fe,ut,Re),Or=ni(ar.makeSpan(["delimsizing","size"+fe],[br],Re),j.TEXT,Re,Lt);return ge&&yi(Or,Re,j.TEXT),Or},Si=function(ne,fe,ge){var Re;fe==="Size1-Regular"?Re="delim-size1":Re="delim-size4";var ut=ar.makeSpan(["delimsizinginner",Re],[ar.makeSpan([],[ar.makeSymbol(ne,fe,ge)])]);return{type:"elem",elem:ut}},mi={type:"kern",size:-.005},Li=function(ne,fe,ge,Re,ut,Lt){var br,Or,Zr,Cn;br=Zr=Cn=ne,Or=null;var Hn="Size1-Regular";ne==="\\uparrow"?Zr=Cn="\u23D0":ne==="\\Uparrow"?Zr=Cn="\u2016":ne==="\\downarrow"?br=Zr="\u23D0":ne==="\\Downarrow"?br=Zr="\u2016":ne==="\\updownarrow"?(br="\\uparrow",Zr="\u23D0",Cn="\\downarrow"):ne==="\\Updownarrow"?(br="\\Uparrow",Zr="\u2016",Cn="\\Downarrow"):ne==="["||ne==="\\lbrack"?(br="\u23A1",Zr="\u23A2",Cn="\u23A3",Hn="Size4-Regular"):ne==="]"||ne==="\\rbrack"?(br="\u23A4",Zr="\u23A5",Cn="\u23A6",Hn="Size4-Regular"):ne==="\\lfloor"||ne==="\u230A"?(Zr=br="\u23A2",Cn="\u23A3",Hn="Size4-Regular"):ne==="\\lceil"||ne==="\u2308"?(br="\u23A1",Zr=Cn="\u23A2",Hn="Size4-Regular"):ne==="\\rfloor"||ne==="\u230B"?(Zr=br="\u23A5",Cn="\u23A6",Hn="Size4-Regular"):ne==="\\rceil"||ne==="\u2309"?(br="\u23A4",Zr=Cn="\u23A5",Hn="Size4-Regular"):ne==="("||ne==="\\lparen"?(br="\u239B",Zr="\u239C",Cn="\u239D",Hn="Size4-Regular"):ne===")"||ne==="\\rparen"?(br="\u239E",Zr="\u239F",Cn="\u23A0",Hn="Size4-Regular"):ne==="\\{"||ne==="\\lbrace"?(br="\u23A7",Or="\u23A8",Cn="\u23A9",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\}"||ne==="\\rbrace"?(br="\u23AB",Or="\u23AC",Cn="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\lgroup"||ne==="\u27EE"?(br="\u23A7",Cn="\u23A9",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\rgroup"||ne==="\u27EF"?(br="\u23AB",Cn="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):ne==="\\lmoustache"||ne==="\u23B0"?(br="\u23A7",Cn="\u23AD",Zr="\u23AA",Hn="Size4-Regular"):(ne==="\\rmoustache"||ne==="\u23B1")&&(br="\u23AB",Cn="\u23A9",Zr="\u23AA",Hn="Size4-Regular");var si=Yn(br,Hn,ut),xi=si.height+si.depth,Di=Yn(Zr,Hn,ut),sa=Di.height+Di.depth,ya=Yn(Cn,Hn,ut),Ja=ya.height+ya.depth,$a=0,to=1;if(Or!==null){var Io=Yn(Or,Hn,ut);$a=Io.height+Io.depth,to=2}var Co=xi+Ja+$a,Do=Math.max(0,Math.ceil((fe-Co)/(to*sa))),go=Co+Do*to*sa,So=Re.fontMetrics().axisHeight;ge&&(So*=Re.sizeMultiplier);var is=go/2-So,ts=(Do+1)*.005-sa,To=[];if(To.push(Si(Cn,Hn,ut)),Or===null)for(var Yi=0;Yi<Do;Yi++)To.push(mi),To.push(Si(Zr,Hn,ut));else{for(var Rs=0;Rs<Do;Rs++)To.push(mi),To.push(Si(Zr,Hn,ut));To.push({type:"kern",size:ts}),To.push(Si(Zr,Hn,ut)),To.push(mi),To.push(Si(Or,Hn,ut));for(var Es=0;Es<Do;Es++)To.push(mi),To.push(Si(Zr,Hn,ut))}To.push({type:"kern",size:ts}),To.push(Si(Zr,Hn,ut)),To.push(mi),To.push(Si(br,Hn,ut));var as=Re.havingBaseStyle(j.TEXT),Qo=ar.makeVList({positionType:"bottom",positionData:is,children:To},as);return ni(ar.makeSpan(["delimsizing","mult"],[Qo],as),j.TEXT,Re,Lt)},Wn=80,Ri=.08,zi=function(ne,fe,ge,Re,ut){var Lt=he(ne,Re,ge),br=new pe(ne,Lt),Or=new He([br],{width:"400em",height:fe+"em",viewBox:"0 0 400000 "+ge,preserveAspectRatio:"xMinYMin slice"});return ar.makeSvgSpan(["hide-tail"],[Or],ut)},yr=function(ne,fe){var ge=fe.havingBaseSizing(),Re=sn("\\surd",ne*ge.sizeMultiplier,Hr,ge),ut=ge.sizeMultiplier,Lt=Math.max(0,fe.minRuleThickness-fe.fontMetrics().sqrtRuleThickness),br,Or=0,Zr=0,Cn=0,Hn;return Re.type==="small"?(Cn=1e3+1e3*Lt+Wn,ne<1?ut=1:ne<1.4&&(ut=.7),Or=(1+Lt+Ri)/ut,Zr=(1+Lt)/ut,br=zi("sqrtMain",Or,Cn,Lt,fe),br.style.minWidth="0.853em",Hn=.833/ut):Re.type==="large"?(Cn=(1e3+Wn)*Vt[Re.size],Zr=(Vt[Re.size]+Lt)/ut,Or=(Vt[Re.size]+Lt+Ri)/ut,br=zi("sqrtSize"+Re.size,Or,Cn,Lt,fe),br.style.minWidth="1.02em",Hn=1/ut):(Or=ne+Lt+Ri,Zr=ne+Lt,Cn=Math.floor(1e3*ne+Lt)+Wn,br=zi("sqrtTall",Or,Cn,Lt,fe),br.style.minWidth="0.742em",Hn=1.056),br.height=Zr,br.style.height=Or+"em",{span:br,advanceWidth:Hn,ruleWidth:(fe.fontMetrics().sqrtRuleThickness+Lt)*ut}},Mr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Qr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],_r=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Vt=[0,1.2,1.8,2.4,3],Sr=function(ne,fe,ge,Re,ut){if(ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle"),m.contains(Mr,ne)||m.contains(_r,ne))return Bi(ne,fe,!1,ge,Re,ut);if(m.contains(Qr,ne))return Li(ne,Vt[fe],!1,ge,Re,ut);throw new h("Illegal delimiter: '"+ne+"'")},Zt=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ur=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"stack"}],Hr=[{type:"small",style:j.SCRIPTSCRIPT},{type:"small",style:j.SCRIPT},{type:"small",style:j.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],pn=function(ne){if(ne.type==="small")return"Main-Regular";if(ne.type==="large")return"Size"+ne.size+"-Regular";if(ne.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+ne.type+"' here.")},sn=function(ne,fe,ge,Re){for(var ut=Math.min(2,3-Re.style.size),Lt=ut;Lt<ge.length&&!(ge[Lt].type==="stack");Lt++){var br=Yn(ne,pn(ge[Lt]),"math"),Or=br.height+br.depth;if(ge[Lt].type==="small"){var Zr=Re.havingBaseStyle(ge[Lt].style);Or*=Zr.sizeMultiplier}if(Or>fe)return ge[Lt]}return ge[ge.length-1]},yn=function(ne,fe,ge,Re,ut,Lt){ne==="<"||ne==="\\lt"||ne==="\u27E8"?ne="\\langle":(ne===">"||ne==="\\gt"||ne==="\u27E9")&&(ne="\\rangle");var br;m.contains(_r,ne)?br=Zt:m.contains(Mr,ne)?br=Hr:br=Ur;var Or=sn(ne,fe,br,Re);return Or.type==="small"?li(ne,Or.style,ge,Re,ut,Lt):Or.type==="large"?Bi(ne,Or.size,ge,Re,ut,Lt):Li(ne,fe,ge,Re,ut,Lt)},Fn=function(ne,fe,ge,Re,ut,Lt){var br=Re.fontMetrics().axisHeight*Re.sizeMultiplier,Or=901,Zr=5/Re.fontMetrics().ptPerEm,Cn=Math.max(fe-br,ge+br),Hn=Math.max(Cn/500*Or,2*Cn-Zr);return yn(ne,Hn,!0,Re,ut,Lt)},Gn={sqrtImage:yr,sizedDelim:Sr,customSizedDelim:yn,leftRightDelim:Fn},Jn={"\\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}},Ci=["(","\\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 ta(mt,ne){var fe=ii(mt);if(fe&&m.contains(Ci,fe.text))return fe;throw new h("Invalid delimiter: '"+(fe?fe.text:JSON.stringify(mt))+"' after '"+ne.funcName+"'",mt)}tn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(ne,fe){var ge=ta(fe[0],ne);return{type:"delimsizing",mode:ne.parser.mode,size:Jn[ne.funcName].size,mclass:Jn[ne.funcName].mclass,delim:ge.text}},htmlBuilder:function(ne,fe){return ne.delim==="."?ar.makeSpan([ne.mclass]):Gn.sizedDelim(ne.delim,ne.size,fe,ne.mode,[ne.mclass])},mathmlBuilder:function(ne){var fe=[];ne.delim!=="."&&fe.push(ln(ne.delim,ne.mode));var ge=new pi.MathNode("mo",fe);return ne.mclass==="mopen"||ne.mclass==="mclose"?ge.setAttribute("fence","true"):ge.setAttribute("fence","false"),ge}});function oa(mt){if(!mt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}tn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser.gullet.macros.get("\\current@color");if(ge&&typeof ge!="string")throw new h("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:ne.parser.mode,delim:ta(fe[0],ne).text,color:ge}}}),tn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(ne,fe){var ge=ta(fe[0],ne),Re=ne.parser;++Re.leftrightDepth;var ut=Re.parseExpression(!1);--Re.leftrightDepth,Re.expect("\\right",!1);var Lt=Xr(Re.parseFunction(),"leftright-right");return{type:"leftright",mode:Re.mode,body:ut,left:ge.text,right:Lt.delim,rightColor:Lt.color}},htmlBuilder:function(ne,fe){oa(ne);for(var ge=dn(ne.body,fe,!0,["mopen","mclose"]),Re=0,ut=0,Lt=!1,br=0;br<ge.length;br++)ge[br].isMiddle?Lt=!0:(Re=Math.max(ge[br].height,Re),ut=Math.max(ge[br].depth,ut));Re*=fe.sizeMultiplier,ut*=fe.sizeMultiplier;var Or;if(ne.left==="."?Or=$n(fe,["mopen"]):Or=Gn.leftRightDelim(ne.left,Re,ut,fe,ne.mode,["mopen"]),ge.unshift(Or),Lt)for(var Zr=1;Zr<ge.length;Zr++){var Cn=ge[Zr],Hn=Cn.isMiddle;Hn&&(ge[Zr]=Gn.leftRightDelim(Hn.delim,Re,ut,Hn.options,ne.mode,[]))}var si;if(ne.right===".")si=$n(fe,["mclose"]);else{var xi=ne.rightColor?fe.withColor(ne.rightColor):fe;si=Gn.leftRightDelim(ne.right,Re,ut,xi,ne.mode,["mclose"])}return ge.push(si),ar.makeSpan(["minner"],ge,fe)},mathmlBuilder:function(ne,fe){oa(ne);var ge=Fi(ne.body,fe);if(ne.left!=="."){var Re=new pi.MathNode("mo",[ln(ne.left,ne.mode)]);Re.setAttribute("fence","true"),ge.unshift(Re)}if(ne.right!=="."){var ut=new pi.MathNode("mo",[ln(ne.right,ne.mode)]);ut.setAttribute("fence","true"),ne.rightColor&&ut.setAttribute("mathcolor",ne.rightColor),ge.push(ut)}return Ii(ge)}}),tn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(ne,fe){var ge=ta(fe[0],ne);if(!ne.parser.leftrightDepth)throw new h("\\middle without preceding \\left",ge);return{type:"middle",mode:ne.parser.mode,delim:ge.text}},htmlBuilder:function(ne,fe){var ge;if(ne.delim===".")ge=$n(fe,[]);else{ge=Gn.sizedDelim(ne.delim,1,fe,ne.mode,[]);var Re={delim:ne.delim,options:fe};ge.isMiddle=Re}return ge},mathmlBuilder:function(ne,fe){var ge=ne.delim==="\\vert"||ne.delim==="|"?ln("|","text"):ln(ne.delim,ne.mode),Re=new pi.MathNode("mo",[ge]);return Re.setAttribute("fence","true"),Re.setAttribute("lspace","0.05em"),Re.setAttribute("rspace","0.05em"),Re}});var da=function(ne,fe){var ge=ar.wrapFragment(hi(ne.body,fe),fe),Re=ne.label.substr(1),ut=fe.sizeMultiplier,Lt,br=0,Or=m.isCharacterBox(ne.body);if(Re==="sout")Lt=ar.makeSpan(["stretchy","sout"]),Lt.height=fe.fontMetrics().defaultRuleThickness/ut,br=-.5*fe.fontMetrics().xHeight;else{/cancel/.test(Re)?Or||ge.classes.push("cancel-pad"):ge.classes.push("boxpad");var Zr=0,Cn=0;/box/.test(Re)?(Cn=Math.max(fe.fontMetrics().fboxrule,fe.minRuleThickness),Zr=fe.fontMetrics().fboxsep+(Re==="colorbox"?0:Cn)):Zr=Or?.2:0,Lt=vn.encloseSpan(ge,Re,Zr,fe),/fbox|boxed|fcolorbox/.test(Re)&&(Lt.style.borderStyle="solid",Lt.style.borderWidth=Cn+"em"),br=ge.depth+Zr,ne.backgroundColor&&(Lt.style.backgroundColor=ne.backgroundColor,ne.borderColor&&(Lt.style.borderColor=ne.borderColor))}var Hn;return ne.backgroundColor?Hn=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Lt,shift:br},{type:"elem",elem:ge,shift:0}]},fe):Hn=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ge,shift:0},{type:"elem",elem:Lt,shift:br,wrapperClasses:/cancel/.test(Re)?["svg-align"]:[]}]},fe),/cancel/.test(Re)&&(Hn.height=ge.height,Hn.depth=ge.depth),/cancel/.test(Re)&&!Or?ar.makeSpan(["mord","cancel-lap"],[Hn],fe):ar.makeSpan(["mord"],[Hn],fe)},ca=function(ne,fe){var ge=0,Re=new pi.MathNode(ne.label.indexOf("colorbox")>-1?"mpadded":"menclose",[zt(ne.body,fe)]);switch(ne.label){case"\\cancel":Re.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":Re.setAttribute("notation","downdiagonalstrike");break;case"\\sout":Re.setAttribute("notation","horizontalstrike");break;case"\\fbox":Re.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(ge=fe.fontMetrics().fboxsep*fe.fontMetrics().ptPerEm,Re.setAttribute("width","+"+2*ge+"pt"),Re.setAttribute("height","+"+2*ge+"pt"),Re.setAttribute("lspace",ge+"pt"),Re.setAttribute("voffset",ge+"pt"),ne.label==="\\fcolorbox"){var ut=Math.max(fe.fontMetrics().fboxrule,fe.minRuleThickness);Re.setAttribute("style","border: "+ut+"em solid "+String(ne.borderColor))}break;case"\\xcancel":Re.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return ne.backgroundColor&&Re.setAttribute("mathbackground",ne.backgroundColor),Re};tn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(ne,fe,ge){var Re=ne.parser,ut=ne.funcName,Lt=Xr(fe[0],"color-token").color,br=fe[1];return{type:"enclose",mode:Re.mode,label:ut,backgroundColor:Lt,body:br}},htmlBuilder:da,mathmlBuilder:ca}),tn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(ne,fe,ge){var Re=ne.parser,ut=ne.funcName,Lt=Xr(fe[0],"color-token").color,br=Xr(fe[1],"color-token").color,Or=fe[2];return{type:"enclose",mode:Re.mode,label:ut,backgroundColor:br,borderColor:Lt,body:Or}},htmlBuilder:da,mathmlBuilder:ca}),tn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(ne,fe){var ge=ne.parser;return{type:"enclose",mode:ge.mode,label:"\\fbox",body:fe[0]}}}),tn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(ne,fe,ge){var Re=ne.parser,ut=ne.funcName,Lt=fe[0];return{type:"enclose",mode:Re.mode,label:ut,body:Lt}},htmlBuilder:da,mathmlBuilder:ca});var ma={};function Ui(mt){for(var ne=mt.type,fe=mt.names,ge=mt.props,Re=mt.handler,ut=mt.htmlBuilder,Lt=mt.mathmlBuilder,br={type:ne,numArgs:ge.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:Re},Or=0;Or<fe.length;++Or)ma[fe[Or]]=br;ut&&(Vr[ne]=ut),Lt&&(xn[ne]=Lt)}function Ni(mt){var ne=[];mt.consumeSpaces();for(var fe=mt.fetch().text;fe==="\\hline"||fe==="\\hdashline";)mt.consume(),ne.push(fe==="\\hdashline"),mt.consumeSpaces(),fe=mt.fetch().text;return ne}function ra(mt,ne,fe){var ge=ne.hskipBeforeAndAfter,Re=ne.addJot,ut=ne.cols,Lt=ne.arraystretch,br=ne.colSeparationType;if(mt.gullet.beginGroup(),mt.gullet.macros.set("\\\\","\\cr"),!Lt){var Or=mt.gullet.expandMacroAsText("\\arraystretch");if(Or==null)Lt=1;else if(Lt=parseFloat(Or),!Lt||Lt<0)throw new h("Invalid \\arraystretch: "+Or)}mt.gullet.beginGroup();var Zr=[],Cn=[Zr],Hn=[],si=[];for(si.push(Ni(mt));;){var xi=mt.parseExpression(!1,"\\cr");mt.gullet.endGroup(),mt.gullet.beginGroup(),xi={type:"ordgroup",mode:mt.mode,body:xi},fe&&(xi={type:"styling",mode:mt.mode,style:fe,body:[xi]}),Zr.push(xi);var Di=mt.fetch().text;if(Di==="&")mt.consume();else if(Di==="\\end"){Zr.length===1&&xi.type==="styling"&&xi.body[0].body.length===0&&Cn.pop(),si.length<Cn.length+1&&si.push([]);break}else if(Di==="\\cr"){var sa=Xr(mt.parseFunction(),"cr");Hn.push(sa.size),si.push(Ni(mt)),Zr=[],Cn.push(Zr)}else throw new h("Expected & or \\\\ or \\cr or \\end",mt.nextToken)}return mt.gullet.endGroup(),mt.gullet.endGroup(),{type:"array",mode:mt.mode,addJot:Re,arraystretch:Lt,body:Cn,cols:ut,rowGaps:Hn,hskipBeforeAndAfter:ge,hLinesBeforeRow:si,colSeparationType:br}}function qi(mt){return mt.substr(0,1)==="d"?"display":"text"}var va=function(ne,fe){var ge,Re,ut=ne.body.length,Lt=ne.hLinesBeforeRow,br=0,Or=new Array(ut),Zr=[],Cn=Math.max(fe.fontMetrics().arrayRuleWidth,fe.minRuleThickness),Hn=1/fe.fontMetrics().ptPerEm,si=5*Hn;if(ne.colSeparationType&&ne.colSeparationType==="small"){var xi=fe.havingStyle(j.SCRIPT).sizeMultiplier;si=.2778*(xi/fe.sizeMultiplier)}var Di=12*Hn,sa=3*Hn,ya=ne.arraystretch*Di,Ja=.7*ya,$a=.3*ya,to=0;function Io(js){for(var Xa=0;Xa<js.length;++Xa)Xa>0&&(to+=.25),Zr.push({pos:to,isDashed:js[Xa]})}for(Io(Lt[0]),ge=0;ge<ne.body.length;++ge){var Co=ne.body[ge],Do=Ja,go=$a;br<Co.length&&(br=Co.length);var So=new Array(Co.length);for(Re=0;Re<Co.length;++Re){var is=hi(Co[Re],fe);go<is.depth&&(go=is.depth),Do<is.height&&(Do=is.height),So[Re]=is}var ts=ne.rowGaps[ge],To=0;ts&&(To=or(ts,fe),To>0&&(To+=$a,go<To&&(go=To),To=0)),ne.addJot&&(go+=sa),So.height=Do,So.depth=go,to+=Do,So.pos=to,to+=go+To,Or[ge]=So,Io(Lt[ge+1])}var Yi=to/2+fe.fontMetrics().axisHeight,Rs=ne.cols||[],Es=[],as,Qo;for(Re=0,Qo=0;Re<br||Qo<Rs.length;++Re,++Qo){for(var hs=Rs[Qo]||{},Al=!0;hs.type==="separator";){if(Al||(as=ar.makeSpan(["arraycolsep"],[]),as.style.width=fe.fontMetrics().doubleRuleSep+"em",Es.push(as)),hs.separator==="|"||hs.separator===":"){var sl=hs.separator==="|"?"solid":"dashed",fs=ar.makeSpan(["vertical-separator"],[],fe);fs.style.height=to+"em",fs.style.borderRightWidth=Cn+"em",fs.style.borderRightStyle=sl,fs.style.margin="0 -"+Cn/2+"em",fs.style.verticalAlign=-(to-Yi)+"em",Es.push(fs)}else throw new h("Invalid separator type: "+hs.separator);Qo++,hs=Rs[Qo]||{},Al=!1}if(Re>=br)continue;var Lo=void 0;(Re>0||ne.hskipBeforeAndAfter)&&(Lo=m.deflt(hs.pregap,si),Lo!==0&&(as=ar.makeSpan(["arraycolsep"],[]),as.style.width=Lo+"em",Es.push(as)));var ls=[];for(ge=0;ge<ut;++ge){var Zs=Or[ge],As=Zs[Re];if(!As)continue;var Fs=Zs.pos-Yi;As.depth=Zs.depth,As.height=Zs.height,ls.push({type:"elem",elem:As,shift:Fs})}ls=ar.makeVList({positionType:"individualShift",children:ls},fe),ls=ar.makeSpan(["col-align-"+(hs.align||"c")],[ls]),Es.push(ls),(Re<br-1||ne.hskipBeforeAndAfter)&&(Lo=m.deflt(hs.postgap,si),Lo!==0&&(as=ar.makeSpan(["arraycolsep"],[]),as.style.width=Lo+"em",Es.push(as)))}if(Or=ar.makeSpan(["mtable"],Es),Zr.length>0){for(var Us=ar.makeLineSpan("hline",fe,Cn),Ds=ar.makeLineSpan("hdashline",fe,Cn),al=[{type:"elem",elem:Or,shift:0}];Zr.length>0;){var $s=Zr.pop(),Ys=$s.pos-Yi;$s.isDashed?al.push({type:"elem",elem:Ds,shift:Ys}):al.push({type:"elem",elem:Us,shift:Ys})}Or=ar.makeVList({positionType:"individualShift",children:al},fe)}return ar.makeSpan(["mord"],[Or],fe)},Oa={c:"center ",l:"left ",r:"right "},Zi=function(ne,fe){var ge=new pi.MathNode("mtable",ne.body.map(function(to){return new pi.MathNode("mtr",to.map(function(Io){return new pi.MathNode("mtd",[zt(Io,fe)])}))})),Re=ne.arraystretch===.5?.1:.16+ne.arraystretch-1+(ne.addJot?.09:0);ge.setAttribute("rowspacing",Re+"em");var ut="",Lt="";if(ne.cols){var br=ne.cols,Or="",Zr=!1,Cn=0,Hn=br.length;br[0].type==="separator"&&(ut+="top ",Cn=1),br[br.length-1].type==="separator"&&(ut+="bottom ",Hn-=1);for(var si=Cn;si<Hn;si++)br[si].type==="align"?(Lt+=Oa[br[si].align],Zr&&(Or+="none "),Zr=!0):br[si].type==="separator"&&(Zr&&(Or+=br[si].separator==="|"?"solid ":"dashed ",Zr=!1));ge.setAttribute("columnalign",Lt.trim()),/[sd]/.test(Or)&&ge.setAttribute("columnlines",Or.trim())}if(ne.colSeparationType==="align"){for(var xi=ne.cols||[],Di="",sa=1;sa<xi.length;sa++)Di+=sa%2?"0em ":"1em ";ge.setAttribute("columnspacing",Di.trim())}else ne.colSeparationType==="alignat"?ge.setAttribute("columnspacing","0em"):ne.colSeparationType==="small"?ge.setAttribute("columnspacing","0.2778em"):ge.setAttribute("columnspacing","1em");var ya="",Ja=ne.hLinesBeforeRow;ut+=Ja[0].length>0?"left ":"",ut+=Ja[Ja.length-1].length>0?"right ":"";for(var $a=1;$a<Ja.length-1;$a++)ya+=Ja[$a].length===0?"none ":Ja[$a][0]?"dashed ":"solid ";return/[sd]/.test(ya)&&ge.setAttribute("rowlines",ya.trim()),ut!==""&&(ge=new pi.MathNode("menclose",[ge]),ge.setAttribute("notation",ut.trim())),ne.arraystretch&&ne.arraystretch<1&&(ge=new pi.MathNode("mstyle",[ge]),ge.setAttribute("scriptlevel","1")),ge},Xi=function(ne,fe){var ge=[],Re=ra(ne.parser,{cols:ge,addJot:!0},"display"),ut,Lt=0,br={type:"ordgroup",mode:ne.mode,body:[]},Or=kr(fe[0],"ordgroup");if(Or){for(var Zr="",Cn=0;Cn<Or.body.length;Cn++){var Hn=Xr(Or.body[Cn],"textord");Zr+=Hn.text}ut=Number(Zr),Lt=ut*2}var si=!Lt;Re.body.forEach(function(ya){for(var Ja=1;Ja<ya.length;Ja+=2){var $a=Xr(ya[Ja],"styling"),to=Xr($a.body[0],"ordgroup");to.body.unshift(br)}if(si)Lt<ya.length&&(Lt=ya.length);else{var Io=ya.length/2;if(ut<Io)throw new h("Too many math in a row: "+("expected "+ut+", but got "+Io),ya[0])}});for(var xi=0;xi<Lt;++xi){var Di="r",sa=0;xi%2===1?Di="l":xi>0&&si&&(sa=1),ge[xi]={type:"align",align:Di,pregap:sa,postgap:0}}return Re.colSeparationType=si?"align":"alignat",Re};Ui({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(ne,fe){var ge=ii(fe[0]),Re=ge?[fe[0]]:Xr(fe[0],"ordgroup").body,ut=Re.map(function(br){var Or=Pn(br),Zr=Or.text;if("lcr".indexOf(Zr)!==-1)return{type:"align",align:Zr};if(Zr==="|")return{type:"separator",separator:"|"};if(Zr===":")return{type:"separator",separator:":"};throw new h("Unknown column alignment: "+Zr,br)}),Lt={cols:ut,hskipBeforeAndAfter:!0};return ra(ne.parser,Lt,qi(ne.envName))},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(ne){var fe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[ne.envName],ge={hskipBeforeAndAfter:!1},Re=ra(ne.parser,ge,qi(ne.envName));return fe?{type:"leftright",mode:ne.mode,body:[Re],left:fe[0],right:fe[1],rightColor:void 0}:Re},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(ne){var fe={arraystretch:.5},ge=ra(ne.parser,fe,"script");return ge.colSeparationType="small",ge},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["subarray"],props:{numArgs:1},handler:function(ne,fe){var ge=ii(fe[0]),Re=ge?[fe[0]]:Xr(fe[0],"ordgroup").body,ut=Re.map(function(br){var Or=Pn(br),Zr=Or.text;if("lc".indexOf(Zr)!==-1)return{type:"align",align:Zr};throw new h("Unknown column alignment: "+Zr,br)});if(ut.length>1)throw new h("{subarray} can contain only one column");var Lt={cols:ut,hskipBeforeAndAfter:!1,arraystretch:.5};if(Lt=ra(ne.parser,Lt,"script"),Lt.body[0].length>1)throw new h("{subarray} can contain only one column");return Lt},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(ne){var fe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ge=ra(ne.parser,fe,qi(ne.envName));return{type:"leftright",mode:ne.mode,body:[ge],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["aligned"],props:{numArgs:0},handler:Xi,htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["gathered"],props:{numArgs:0},handler:function(ne){var fe={cols:[{type:"align",align:"c"}],addJot:!0};return ra(ne.parser,fe,"display")},htmlBuilder:va,mathmlBuilder:Zi}),Ui({type:"array",names:["alignedat"],props:{numArgs:1},handler:Xi,htmlBuilder:va,mathmlBuilder:Zi}),tn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(ne,fe){throw new h(ne.funcName+" valid only within array environment")}});var La=ma,Aa=La;tn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];if(ut.type!=="ordgroup")throw new h("Invalid environment name",ut);for(var Lt="",br=0;br<ut.body.length;++br)Lt+=Xr(ut.body[br],"textord").text;if(Re==="\\begin"){if(!Aa.hasOwnProperty(Lt))throw new h("No such environment: "+Lt,ut);var Or=Aa[Lt],Zr=ge.parseArguments("\\begin{"+Lt+"}",Or),Cn=Zr.args,Hn=Zr.optArgs,si={mode:ge.mode,envName:Lt,parser:ge},xi=Or.handler(si,Cn,Hn);ge.expect("\\end",!1);var Di=ge.nextToken,sa=Xr(ge.parseFunction(),"environment");if(sa.name!==Lt)throw new h("Mismatch: \\begin{"+Lt+"} matched by \\end{"+sa.name+"}",Di);return xi}return{type:"environment",mode:ge.mode,name:Lt,nameGroup:ut}}});var Ti=ar.makeSpan;function Sa(mt,ne){var fe=dn(mt.body,ne,!0);return Ti([mt.mclass],fe,ne)}function Ra(mt,ne){var fe,ge=Fi(mt.body,ne);return mt.mclass==="minner"?pi.newDocumentFragment(ge):(mt.mclass==="mord"?mt.isCharacterBox?(fe=ge[0],fe.type="mi"):fe=new pi.MathNode("mi",ge):(mt.isCharacterBox?(fe=ge[0],fe.type="mo"):fe=new pi.MathNode("mo",ge),mt.mclass==="mbin"?(fe.attributes.lspace="0.22em",fe.attributes.rspace="0.22em"):mt.mclass==="mpunct"?(fe.attributes.lspace="0em",fe.attributes.rspace="0.17em"):(mt.mclass==="mopen"||mt.mclass==="mclose")&&(fe.attributes.lspace="0em",fe.attributes.rspace="0em")),fe)}tn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];return{type:"mclass",mode:ge.mode,mclass:"m"+Re.substr(5),body:qn(ut),isCharacterBox:m.isCharacterBox(ut)}},htmlBuilder:Sa,mathmlBuilder:Ra});var Na=function(ne){var fe=ne.type==="ordgroup"&&ne.body.length?ne.body[0]:ne;return fe.type==="atom"&&(fe.family==="bin"||fe.family==="rel")?"m"+fe.family:"mord"};tn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(ne,fe){var ge=ne.parser;return{type:"mclass",mode:ge.mode,mclass:Na(fe[0]),body:[fe[1]],isCharacterBox:m.isCharacterBox(fe[1])}}}),tn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[1],Lt=fe[0],br;Re!=="\\stackrel"?br=Na(ut):br="mrel";var Or={type:"op",mode:ut.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:Re!=="\\stackrel",body:qn(ut)},Zr={type:"supsub",mode:Lt.mode,base:Or,sup:Re==="\\underset"?null:Lt,sub:Re==="\\underset"?Lt:null};return{type:"mclass",mode:ge.mode,mclass:br,body:[Zr],isCharacterBox:m.isCharacterBox(Zr)}},htmlBuilder:Sa,mathmlBuilder:Ra});var Ua=function(ne,fe){var ge=ne.font,Re=fe.withFont(ge);return hi(ne.body,Re)},Pa=function(ne,fe){var ge=ne.font,Re=fe.withFont(ge);return zt(ne.body,Re)},za={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0],Lt=Re;return Lt in za&&(Lt=za[Lt]),{type:"font",mode:ge.mode,font:Lt.slice(1),body:ut}},htmlBuilder:Ua,mathmlBuilder:Pa}),tn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(ne,fe){var ge=ne.parser,Re=fe[0],ut=m.isCharacterBox(Re);return{type:"mclass",mode:ge.mode,mclass:Na(Re),body:[{type:"font",mode:ge.mode,font:"boldsymbol",body:Re}],isCharacterBox:ut}}}),tn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=ne.breakOnTokenText,Lt=ge.mode,br=ge.parseExpression(!0,ut),Or="math"+Re.slice(1);return{type:"font",mode:Lt,font:Or,body:{type:"ordgroup",mode:ge.mode,body:br}}},htmlBuilder:Ua,mathmlBuilder:Pa});var xa=function(ne,fe){var ge=fe;return ne==="display"?ge=ge.id>=j.SCRIPT.id?ge.text():j.DISPLAY:ne==="text"&&ge.size===j.DISPLAY.size?ge=j.TEXT:ne==="script"?ge=j.SCRIPT:ne==="scriptscript"&&(ge=j.SCRIPTSCRIPT),ge},ja=function(ne,fe){var ge=xa(ne.size,fe.style),Re=ge.fracNum(),ut=ge.fracDen(),Lt;Lt=fe.havingStyle(Re);var br=hi(ne.numer,Lt,fe);if(ne.continued){var Or=8.5/fe.fontMetrics().ptPerEm,Zr=3.5/fe.fontMetrics().ptPerEm;br.height=br.height<Or?Or:br.height,br.depth=br.depth<Zr?Zr:br.depth}Lt=fe.havingStyle(ut);var Cn=hi(ne.denom,Lt,fe),Hn,si,xi;ne.hasBarLine?(ne.barSize?(si=or(ne.barSize,fe),Hn=ar.makeLineSpan("frac-line",fe,si)):Hn=ar.makeLineSpan("frac-line",fe),si=Hn.height,xi=Hn.height):(Hn=null,si=0,xi=fe.fontMetrics().defaultRuleThickness);var Di,sa,ya;ge.size===j.DISPLAY.size||ne.size==="display"?(Di=fe.fontMetrics().num1,si>0?sa=3*xi:sa=7*xi,ya=fe.fontMetrics().denom1):(si>0?(Di=fe.fontMetrics().num2,sa=xi):(Di=fe.fontMetrics().num3,sa=3*xi),ya=fe.fontMetrics().denom2);var Ja;if(Hn){var to=fe.fontMetrics().axisHeight;Di-br.depth-(to+.5*si)<sa&&(Di+=sa-(Di-br.depth-(to+.5*si))),to-.5*si-(Cn.height-ya)<sa&&(ya+=sa-(to-.5*si-(Cn.height-ya)));var Io=-(to-.5*si);Ja=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:ya},{type:"elem",elem:Hn,shift:Io},{type:"elem",elem:br,shift:-Di}]},fe)}else{var $a=Di-br.depth-(Cn.height-ya);$a<sa&&(Di+=.5*(sa-$a),ya+=.5*(sa-$a)),Ja=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:ya},{type:"elem",elem:br,shift:-Di}]},fe)}Lt=fe.havingStyle(ge),Ja.height*=Lt.sizeMultiplier/fe.sizeMultiplier,Ja.depth*=Lt.sizeMultiplier/fe.sizeMultiplier;var Co;ge.size===j.DISPLAY.size?Co=fe.fontMetrics().delim1:Co=fe.fontMetrics().delim2;var Do,go;return ne.leftDelim==null?Do=$n(fe,["mopen"]):Do=Gn.customSizedDelim(ne.leftDelim,Co,!0,fe.havingStyle(ge),ne.mode,["mopen"]),ne.continued?go=ar.makeSpan([]):ne.rightDelim==null?go=$n(fe,["mclose"]):go=Gn.customSizedDelim(ne.rightDelim,Co,!0,fe.havingStyle(ge),ne.mode,["mclose"]),ar.makeSpan(["mord"].concat(Lt.sizingClasses(fe)),[Do,ar.makeSpan(["mfrac"],[Ja]),go],fe)},io=function(ne,fe){var ge=new pi.MathNode("mfrac",[zt(ne.numer,fe),zt(ne.denom,fe)]);if(!ne.hasBarLine)ge.setAttribute("linethickness","0px");else if(ne.barSize){var Re=or(ne.barSize,fe);ge.setAttribute("linethickness",Re+"em")}var ut=xa(ne.size,fe.style);if(ut.size!==fe.style.size){ge=new pi.MathNode("mstyle",[ge]);var Lt=ut.size===j.DISPLAY.size?"true":"false";ge.setAttribute("displaystyle",Lt),ge.setAttribute("scriptlevel","0")}if(ne.leftDelim!=null||ne.rightDelim!=null){var br=[];if(ne.leftDelim!=null){var Or=new pi.MathNode("mo",[new pi.TextNode(ne.leftDelim.replace("\\",""))]);Or.setAttribute("fence","true"),br.push(Or)}if(br.push(ge),ne.rightDelim!=null){var Zr=new pi.MathNode("mo",[new pi.TextNode(ne.rightDelim.replace("\\",""))]);Zr.setAttribute("fence","true"),br.push(Zr)}return Ii(br)}return ge};tn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0],Lt=fe[1],br,Or=null,Zr=null,Cn="auto";switch(Re){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":br=!0;break;case"\\\\atopfrac":br=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":br=!1,Or="(",Zr=")";break;case"\\\\bracefrac":br=!1,Or="\\{",Zr="\\}";break;case"\\\\brackfrac":br=!1,Or="[",Zr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(Re){case"\\cfrac":case"\\dfrac":case"\\dbinom":Cn="display";break;case"\\tfrac":case"\\tbinom":Cn="text";break}return{type:"genfrac",mode:ge.mode,continued:Re==="\\cfrac",numer:ut,denom:Lt,hasBarLine:br,leftDelim:Or,rightDelim:Zr,size:Cn,barSize:null}},htmlBuilder:ja,mathmlBuilder:io}),tn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(ne){var fe=ne.parser,ge=ne.funcName,Re=ne.token,ut;switch(ge){case"\\over":ut="\\frac";break;case"\\choose":ut="\\binom";break;case"\\atop":ut="\\\\atopfrac";break;case"\\brace":ut="\\\\bracefrac";break;case"\\brack":ut="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:fe.mode,replaceWith:ut,token:Re}}});var ia=["display","text","script","scriptscript"],lo=function(ne){var fe=null;return ne.length>0&&(fe=ne,fe=fe==="."?null:fe),fe};tn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(ne,fe){var ge=ne.parser,Re=fe[4],ut=fe[5],Lt=kr(fe[0],"atom");Lt&&(Lt=gr(fe[0],"open"));var br=Lt?lo(Lt.text):null,Or=kr(fe[1],"atom");Or&&(Or=gr(fe[1],"close"));var Zr=Or?lo(Or.text):null,Cn=Xr(fe[2],"size"),Hn,si=null;Cn.isBlank?Hn=!0:(si=Cn.value,Hn=si.number>0);var xi="auto",Di=kr(fe[3],"ordgroup");if(Di){if(Di.body.length>0){var sa=Xr(Di.body[0],"textord");xi=ia[Number(sa.text)]}}else Di=Xr(fe[3],"textord"),xi=ia[Number(Di.text)];return{type:"genfrac",mode:ge.mode,numer:Re,denom:ut,continued:!1,hasBarLine:Hn,barSize:si,leftDelim:br,rightDelim:Zr,size:xi}},htmlBuilder:ja,mathmlBuilder:io}),tn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=ne.token;return{type:"infix",mode:ge.mode,replaceWith:"\\\\abovefrac",size:Xr(fe[0],"size").value,token:ut}}}),tn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0],Lt=u(Xr(fe[1],"infix").size),br=fe[2],Or=Lt.number>0;return{type:"genfrac",mode:ge.mode,numer:ut,denom:br,continued:!1,hasBarLine:Or,barSize:Lt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ja,mathmlBuilder:io});var Ga=function(ne,fe){var ge=fe.style,Re,ut,Lt=kr(ne,"supsub");Lt?(Re=Lt.sup?hi(Lt.sup,fe.havingStyle(ge.sup()),fe):hi(Lt.sub,fe.havingStyle(ge.sub()),fe),ut=Xr(Lt.base,"horizBrace")):ut=Xr(ne,"horizBrace");var br=hi(ut.base,fe.havingBaseStyle(j.DISPLAY)),Or=vn.svgSpan(ut,fe),Zr;if(ut.isOver?(Zr=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"kern",size:.1},{type:"elem",elem:Or}]},fe),Zr.children[0].children[0].children[1].classes.push("svg-align")):(Zr=ar.makeVList({positionType:"bottom",positionData:br.depth+.1+Or.height,children:[{type:"elem",elem:Or},{type:"kern",size:.1},{type:"elem",elem:br}]},fe),Zr.children[0].children[0].children[0].classes.push("svg-align")),Re){var Cn=ar.makeSpan(["mord",ut.isOver?"mover":"munder"],[Zr],fe);ut.isOver?Zr=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Cn},{type:"kern",size:.2},{type:"elem",elem:Re}]},fe):Zr=ar.makeVList({positionType:"bottom",positionData:Cn.depth+.2+Re.height+Re.depth,children:[{type:"elem",elem:Re},{type:"kern",size:.2},{type:"elem",elem:Cn}]},fe)}return ar.makeSpan(["mord",ut.isOver?"mover":"munder"],[Zr],fe)},Ca=function(ne,fe){var ge=vn.mathMLnode(ne.label);return new pi.MathNode(ne.isOver?"mover":"munder",[zt(ne.base,fe),ge])};tn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName;return{type:"horizBrace",mode:ge.mode,label:Re,isOver:/^\\over/.test(Re),base:fe[0]}},htmlBuilder:Ga,mathmlBuilder:Ca}),tn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=fe[1],ut=Xr(fe[0],"url").url;return ge.settings.isTrusted({command:"\\href",url:ut})?{type:"href",mode:ge.mode,href:ut,body:qn(Re)}:ge.formatUnsupportedCmd("\\href")},htmlBuilder:function(ne,fe){var ge=dn(ne.body,fe,!1);return ar.makeAnchor(ne.href,[],ge,fe)},mathmlBuilder:function(ne,fe){var ge=ea(ne.body,fe);return ge instanceof na||(ge=new na("mrow",[ge])),ge.setAttribute("href",ne.href),ge}}),tn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=Xr(fe[0],"url").url;if(!ge.settings.isTrusted({command:"\\url",url:Re}))return ge.formatUnsupportedCmd("\\url");for(var ut=[],Lt=0;Lt<Re.length;Lt++){var br=Re[Lt];br==="~"&&(br="\\textasciitilde"),ut.push({type:"textord",mode:"text",text:br})}var Or={type:"text",mode:ge.mode,font:"\\texttt",body:ut};return{type:"href",mode:ge.mode,href:Re,body:qn(Or)}}}),tn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser;return{type:"htmlmathml",mode:ge.mode,html:qn(fe[0]),mathml:qn(fe[1])}},htmlBuilder:function(ne,fe){var ge=dn(ne.html,fe,!1);return ar.makeFragment(ge)},mathmlBuilder:function(ne,fe){return ea(ne.mathml,fe)}});var Qa=function(ne){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(ne))return{number:+ne,unit:"bp"};var fe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(ne);if(!fe)throw new h("Invalid size: '"+ne+"' in \\includegraphics");var ge={number:+(fe[1]+fe[2]),unit:fe[3]};if(!pr(ge))throw new h("Invalid unit: '"+ge.unit+"' in \\includegraphics.");return ge};tn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(ne,fe,ge){var Re=ne.parser,ut={number:0,unit:"em"},Lt={number:.9,unit:"em"},br={number:0,unit:"em"},Or="";if(ge[0])for(var Zr=Xr(ge[0],"raw").string,Cn=Zr.split(","),Hn=0;Hn<Cn.length;Hn++){var si=Cn[Hn].split("=");if(si.length===2){var xi=si[1].trim();switch(si[0].trim()){case"alt":Or=xi;break;case"width":ut=Qa(xi);break;case"height":Lt=Qa(xi);break;case"totalheight":br=Qa(xi);break;default:throw new h("Invalid key: '"+si[0]+"' in \\includegraphics.")}}}var Di=Xr(fe[0],"url").url;return Or===""&&(Or=Di,Or=Or.replace(/^.*[\\/]/,""),Or=Or.substring(0,Or.lastIndexOf("."))),Re.settings.isTrusted({command:"\\includegraphics",url:Di})?{type:"includegraphics",mode:Re.mode,alt:Or,width:ut,height:Lt,totalheight:br,src:Di}:Re.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(ne,fe){var ge=or(ne.height,fe),Re=0;ne.totalheight.number>0&&(Re=or(ne.totalheight,fe)-ge,Re=Number(Re.toFixed(2)));var ut=0;ne.width.number>0&&(ut=or(ne.width,fe));var Lt={height:ge+Re+"em"};ut>0&&(Lt.width=ut+"em"),Re>0&&(Lt.verticalAlign=-Re+"em");var br=new nt(ne.src,ne.alt,Lt);return br.height=ge,br.depth=Re,br},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mglyph",[]);ge.setAttribute("alt",ne.alt);var Re=or(ne.height,fe),ut=0;if(ne.totalheight.number>0&&(ut=or(ne.totalheight,fe)-Re,ut=ut.toFixed(2),ge.setAttribute("valign","-"+ut+"em")),ge.setAttribute("height",Re+ut+"em"),ne.width.number>0){var Lt=or(ne.width,fe);ge.setAttribute("width",Lt+"em")}return ge.setAttribute("src",ne.src),ge}}),tn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=Xr(fe[0],"size");if(ge.settings.strict){var Lt=Re[1]==="m",br=ut.value.unit==="mu";Lt?(br||ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Re+" supports only mu units, "+("not "+ut.value.unit+" units")),ge.mode!=="math"&&ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Re+" works only in math mode")):br&&ge.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+Re+" doesn't support mu units")}return{type:"kern",mode:ge.mode,dimension:ut.value}},htmlBuilder:function(ne,fe){return ar.makeGlue(ne.dimension,fe)},mathmlBuilder:function(ne,fe){var ge=or(ne.dimension,fe);return new pi.SpaceNode(ge)}}),tn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];return{type:"lap",mode:ge.mode,alignment:Re.slice(5),body:ut}},htmlBuilder:function(ne,fe){var ge;ne.alignment==="clap"?(ge=ar.makeSpan([],[hi(ne.body,fe)]),ge=ar.makeSpan(["inner"],[ge],fe)):ge=ar.makeSpan(["inner"],[hi(ne.body,fe)]);var Re=ar.makeSpan(["fix"],[]),ut=ar.makeSpan([ne.alignment],[ge,Re],fe),Lt=ar.makeSpan(["strut"]);return Lt.style.height=ut.height+ut.depth+"em",Lt.style.verticalAlign=-ut.depth+"em",ut.children.unshift(Lt),ut=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ut}]},fe),ar.makeSpan(["mord"],[ut],fe)},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mpadded",[zt(ne.body,fe)]);if(ne.alignment!=="rlap"){var Re=ne.alignment==="llap"?"-1":"-0.5";ge.setAttribute("lspace",Re+"width")}return ge.setAttribute("width","0px"),ge}}),tn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,fe){var ge=ne.funcName,Re=ne.parser,ut=Re.mode;Re.switchMode("math");var Lt=ge==="\\("?"\\)":"$",br=Re.parseExpression(!1,Lt);return Re.expect(Lt),Re.switchMode(ut),{type:"styling",mode:Re.mode,style:"text",body:br}}}),tn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(ne,fe){throw new h("Mismatched "+ne.funcName)}});var Da=function(ne,fe){switch(fe.style.size){case j.DISPLAY.size:return ne.display;case j.TEXT.size:return ne.text;case j.SCRIPT.size:return ne.script;case j.SCRIPTSCRIPT.size:return ne.scriptscript;default:return ne.text}};tn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(ne,fe){var ge=ne.parser;return{type:"mathchoice",mode:ge.mode,display:qn(fe[0]),text:qn(fe[1]),script:qn(fe[2]),scriptscript:qn(fe[3])}},htmlBuilder:function(ne,fe){var ge=Da(ne,fe),Re=dn(ge,fe,!1);return ar.makeFragment(Re)},mathmlBuilder:function(ne,fe){var ge=Da(ne,fe);return ea(ge,fe)}});var Ia=function(ne,fe,ge,Re,ut,Lt,br){ne=ar.makeSpan([],[ne]);var Or,Zr;if(fe){var Cn=hi(fe,Re.havingStyle(ut.sup()),Re);Zr={elem:Cn,kern:Math.max(Re.fontMetrics().bigOpSpacing1,Re.fontMetrics().bigOpSpacing3-Cn.depth)}}if(ge){var Hn=hi(ge,Re.havingStyle(ut.sub()),Re);Or={elem:Hn,kern:Math.max(Re.fontMetrics().bigOpSpacing2,Re.fontMetrics().bigOpSpacing4-Hn.height)}}var si;if(Zr&&Or){var xi=Re.fontMetrics().bigOpSpacing5+Or.elem.height+Or.elem.depth+Or.kern+ne.depth+br;si=ar.makeVList({positionType:"bottom",positionData:xi,children:[{type:"kern",size:Re.fontMetrics().bigOpSpacing5},{type:"elem",elem:Or.elem,marginLeft:-Lt+"em"},{type:"kern",size:Or.kern},{type:"elem",elem:ne},{type:"kern",size:Zr.kern},{type:"elem",elem:Zr.elem,marginLeft:Lt+"em"},{type:"kern",size:Re.fontMetrics().bigOpSpacing5}]},Re)}else if(Or){var Di=ne.height-br;si=ar.makeVList({positionType:"top",positionData:Di,children:[{type:"kern",size:Re.fontMetrics().bigOpSpacing5},{type:"elem",elem:Or.elem,marginLeft:-Lt+"em"},{type:"kern",size:Or.kern},{type:"elem",elem:ne}]},Re)}else if(Zr){var sa=ne.depth+br;si=ar.makeVList({positionType:"bottom",positionData:sa,children:[{type:"elem",elem:ne},{type:"kern",size:Zr.kern},{type:"elem",elem:Zr.elem,marginLeft:Lt+"em"},{type:"kern",size:Re.fontMetrics().bigOpSpacing5}]},Re)}else return ne;return ar.makeSpan(["mop","op-limits"],[si],Re)},yo=["\\smallint"],ao=function(ne,fe){var ge,Re,ut=!1,Lt,br=kr(ne,"supsub");br?(ge=br.sup,Re=br.sub,Lt=Xr(br.base,"op"),ut=!0):Lt=Xr(ne,"op");var Or=fe.style,Zr=!1;Or.size===j.DISPLAY.size&&Lt.symbol&&!m.contains(yo,Lt.name)&&(Zr=!0);var Cn;if(Lt.symbol){var Hn=Zr?"Size2-Regular":"Size1-Regular",si="";if((Lt.name==="\\oiint"||Lt.name==="\\oiiint")&&(si=Lt.name.substr(1),Lt.name=si==="oiint"?"\\iint":"\\iiint"),Cn=ar.makeSymbol(Lt.name,Hn,"math",fe,["mop","op-symbol",Zr?"large-op":"small-op"]),si.length>0){var xi=Cn.italic,Di=ar.staticSvg(si+"Size"+(Zr?"2":"1"),fe);Cn=ar.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Cn,shift:0},{type:"elem",elem:Di,shift:Zr?.08:0}]},fe),Lt.name="\\"+si,Cn.classes.unshift("mop"),Cn.italic=xi}}else if(Lt.body){var sa=dn(Lt.body,fe,!0);sa.length===1&&sa[0]instanceof et?(Cn=sa[0],Cn.classes[0]="mop"):Cn=ar.makeSpan(["mop"],ar.tryCombineChars(sa),fe)}else{for(var ya=[],Ja=1;Ja<Lt.name.length;Ja++)ya.push(ar.mathsym(Lt.name[Ja],Lt.mode,fe));Cn=ar.makeSpan(["mop"],ya,fe)}var $a=0,to=0;return(Cn instanceof et||Lt.name==="\\oiint"||Lt.name==="\\oiiint")&&!Lt.suppressBaseShift&&($a=(Cn.height-Cn.depth)/2-fe.fontMetrics().axisHeight,to=Cn.italic),ut?Ia(Cn,ge,Re,fe,Or,to,$a):($a&&(Cn.style.position="relative",Cn.style.top=$a+"em"),Cn)},bo=function(ne,fe){var ge;if(ne.symbol)ge=new na("mo",[ln(ne.name,ne.mode)]),m.contains(yo,ne.name)&&ge.setAttribute("largeop","false");else if(ne.body)ge=new na("mo",Fi(ne.body,fe));else{ge=new na("mi",[new $i(ne.name.slice(1))]);var Re=new na("mo",[ln("\u2061","text")]);ne.parentIsSupSub?ge=new na("mo",[ge,Re]):ge=Wi([ge,Re])}return ge},co={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};tn({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(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=Re;return ut.length===1&&(ut=co[ut]),{type:"op",mode:ge.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:ut}},htmlBuilder:ao,mathmlBuilder:bo}),tn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=fe[0];return{type:"op",mode:ge.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:qn(Re)}},htmlBuilder:ao,mathmlBuilder:bo});var uo={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};tn({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(ne){var fe=ne.parser,ge=ne.funcName;return{type:"op",mode:fe.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ge}},htmlBuilder:ao,mathmlBuilder:bo}),tn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(ne){var fe=ne.parser,ge=ne.funcName;return{type:"op",mode:fe.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ge}},htmlBuilder:ao,mathmlBuilder:bo}),tn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(ne){var fe=ne.parser,ge=ne.funcName,Re=ge;return Re.length===1&&(Re=uo[Re]),{type:"op",mode:fe.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:Re}},htmlBuilder:ao,mathmlBuilder:bo});var Ya=function(ne,fe){var ge,Re,ut=!1,Lt,br=kr(ne,"supsub");br?(ge=br.sup,Re=br.sub,Lt=Xr(br.base,"operatorname"),ut=!0):Lt=Xr(ne,"operatorname");var Or;if(Lt.body.length>0){for(var Zr=Lt.body.map(function(xi){var Di=xi.text;return typeof Di=="string"?{type:"textord",mode:xi.mode,text:Di}:xi}),Cn=dn(Zr,fe.withFont("mathrm"),!0),Hn=0;Hn<Cn.length;Hn++){var si=Cn[Hn];si instanceof et&&(si.text=si.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Or=ar.makeSpan(["mop"],Cn,fe)}else Or=ar.makeSpan(["mop"],[],fe);return ut?Ia(Or,ge,Re,fe,fe.style,0,0):Or},eo=function(ne,fe){for(var ge=Fi(ne.body,fe.withFont("mathrm")),Re=!0,ut=0;ut<ge.length;ut++){var Lt=ge[ut];if(!(Lt instanceof pi.SpaceNode))if(Lt instanceof pi.MathNode)switch(Lt.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var br=Lt.children[0];Lt.children.length===1&&br instanceof pi.TextNode?br.text=br.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):Re=!1;break}default:Re=!1}else Re=!1}if(Re){var Or=ge.map(function(Hn){return Hn.toText()}).join("");ge=[new pi.TextNode(Or)]}var Zr=new pi.MathNode("mi",ge);Zr.setAttribute("mathvariant","normal");var Cn=new pi.MathNode("mo",[ln("\u2061","text")]);return ne.parentIsSupSub?new pi.MathNode("mo",[Zr,Cn]):pi.newDocumentFragment([Zr,Cn])};tn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];return{type:"operatorname",mode:ge.mode,body:qn(ut),alwaysHandleSupSub:Re==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ya,mathmlBuilder:eo}),ui({type:"ordgroup",htmlBuilder:function(ne,fe){return ne.semisimple?ar.makeFragment(dn(ne.body,fe,!1)):ar.makeSpan(["mord"],dn(ne.body,fe,!0),fe)},mathmlBuilder:function(ne,fe){return ea(ne.body,fe,!0)}}),tn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(ne,fe){var ge=ne.parser,Re=fe[0];return{type:"overline",mode:ge.mode,body:Re}},htmlBuilder:function(ne,fe){var ge=hi(ne.body,fe.havingCrampedStyle()),Re=ar.makeLineSpan("overline-line",fe),ut=fe.fontMetrics().defaultRuleThickness,Lt=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge},{type:"kern",size:3*ut},{type:"elem",elem:Re},{type:"kern",size:ut}]},fe);return ar.makeSpan(["mord","overline"],[Lt],fe)},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ge.setAttribute("stretchy","true");var Re=new pi.MathNode("mover",[zt(ne.body,fe),ge]);return Re.setAttribute("accent","true"),Re}}),tn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=fe[0];return{type:"phantom",mode:ge.mode,body:qn(Re)}},htmlBuilder:function(ne,fe){var ge=dn(ne.body,fe.withPhantom(),!1);return ar.makeFragment(ge)},mathmlBuilder:function(ne,fe){var ge=Fi(ne.body,fe);return new pi.MathNode("mphantom",ge)}}),tn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=fe[0];return{type:"hphantom",mode:ge.mode,body:Re}},htmlBuilder:function(ne,fe){var ge=ar.makeSpan([],[hi(ne.body,fe.withPhantom())]);if(ge.height=0,ge.depth=0,ge.children)for(var Re=0;Re<ge.children.length;Re++)ge.children[Re].height=0,ge.children[Re].depth=0;return ge=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge}]},fe),ar.makeSpan(["mord"],[ge],fe)},mathmlBuilder:function(ne,fe){var ge=Fi(qn(ne.body),fe),Re=new pi.MathNode("mphantom",ge),ut=new pi.MathNode("mpadded",[Re]);return ut.setAttribute("height","0px"),ut.setAttribute("depth","0px"),ut}}),tn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=fe[0];return{type:"vphantom",mode:ge.mode,body:Re}},htmlBuilder:function(ne,fe){var ge=ar.makeSpan(["inner"],[hi(ne.body,fe.withPhantom())]),Re=ar.makeSpan(["fix"],[]);return ar.makeSpan(["mord","rlap"],[ge,Re],fe)},mathmlBuilder:function(ne,fe){var ge=Fi(qn(ne.body),fe),Re=new pi.MathNode("mphantom",ge),ut=new pi.MathNode("mpadded",[Re]);return ut.setAttribute("width","0px"),ut}}),tn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=Xr(fe[0],"size").value,ut=fe[1];return{type:"raisebox",mode:ge.mode,dy:Re,body:ut}},htmlBuilder:function(ne,fe){var ge=hi(ne.body,fe),Re=or(ne.dy,fe);return ar.makeVList({positionType:"shift",positionData:-Re,children:[{type:"elem",elem:ge}]},fe)},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mpadded",[zt(ne.body,fe)]),Re=ne.dy.number+ne.dy.unit;return ge.setAttribute("voffset",Re),ge}}),tn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(ne,fe,ge){var Re=ne.parser,ut=ge[0],Lt=Xr(fe[0],"size"),br=Xr(fe[1],"size");return{type:"rule",mode:Re.mode,shift:ut&&Xr(ut,"size").value,width:Lt.value,height:br.value}},htmlBuilder:function(ne,fe){var ge=ar.makeSpan(["mord","rule"],[],fe),Re=or(ne.width,fe),ut=or(ne.height,fe),Lt=ne.shift?or(ne.shift,fe):0;return ge.style.borderRightWidth=Re+"em",ge.style.borderTopWidth=ut+"em",ge.style.bottom=Lt+"em",ge.width=Re,ge.height=ut+Lt,ge.depth=-Lt,ge.maxFontSize=ut*1.125*fe.sizeMultiplier,ge},mathmlBuilder:function(ne,fe){var ge=or(ne.width,fe),Re=or(ne.height,fe),ut=ne.shift?or(ne.shift,fe):0,Lt=fe.color&&fe.getColor()||"black",br=new pi.MathNode("mspace");br.setAttribute("mathbackground",Lt),br.setAttribute("width",ge+"em"),br.setAttribute("height",Re+"em");var Or=new pi.MathNode("mpadded",[br]);return ut>=0?Or.setAttribute("height","+"+ut+"em"):(Or.setAttribute("height",ut+"em"),Or.setAttribute("depth","+"+-ut+"em")),Or.setAttribute("voffset",ut+"em"),Or}});function wa(mt,ne,fe){for(var ge=dn(mt,ne,!1),Re=ne.sizeMultiplier/fe.sizeMultiplier,ut=0;ut<ge.length;ut++){var Lt=ge[ut].classes.indexOf("sizing");Lt<0?Array.prototype.push.apply(ge[ut].classes,ne.sizingClasses(fe)):ge[ut].classes[Lt+1]==="reset-size"+ne.size&&(ge[ut].classes[Lt+1]="reset-size"+fe.size),ge[ut].height*=Re,ge[ut].depth*=Re}return ar.makeFragment(ge)}var ro=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fo=function(ne,fe){var ge=fe.havingSize(ne.size);return wa(ne.body,ge,fe)};tn({type:"sizing",names:ro,props:{numArgs:0,allowedInText:!0},handler:function(ne,fe){var ge=ne.breakOnTokenText,Re=ne.funcName,ut=ne.parser,Lt=ut.parseExpression(!1,ge);return{type:"sizing",mode:ut.mode,size:ro.indexOf(Re)+1,body:Lt}},htmlBuilder:fo,mathmlBuilder:function(ne,fe){var ge=fe.havingSize(ne.size),Re=Fi(ne.body,ge),ut=new pi.MathNode("mstyle",Re);return ut.setAttribute("mathsize",ge.sizeMultiplier+"em"),ut}}),tn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(ne,fe,ge){var Re=ne.parser,ut=!1,Lt=!1,br=ge[0]&&Xr(ge[0],"ordgroup");if(br)for(var Or="",Zr=0;Zr<br.body.length;++Zr){var Cn=br.body[Zr];if(Or=Cn.text,Or==="t")ut=!0;else if(Or==="b")Lt=!0;else{ut=!1,Lt=!1;break}}else ut=!0,Lt=!0;var Hn=fe[0];return{type:"smash",mode:Re.mode,body:Hn,smashHeight:ut,smashDepth:Lt}},htmlBuilder:function(ne,fe){var ge=ar.makeSpan([],[hi(ne.body,fe)]);if(!ne.smashHeight&&!ne.smashDepth)return ge;if(ne.smashHeight&&(ge.height=0,ge.children))for(var Re=0;Re<ge.children.length;Re++)ge.children[Re].height=0;if(ne.smashDepth&&(ge.depth=0,ge.children))for(var ut=0;ut<ge.children.length;ut++)ge.children[ut].depth=0;var Lt=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge}]},fe);return ar.makeSpan(["mord"],[Lt],fe)},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mpadded",[zt(ne.body,fe)]);return ne.smashHeight&&ge.setAttribute("height","0px"),ne.smashDepth&&ge.setAttribute("depth","0px"),ge}}),tn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(ne,fe,ge){var Re=ne.parser,ut=ge[0],Lt=fe[0];return{type:"sqrt",mode:Re.mode,body:Lt,index:ut}},htmlBuilder:function(ne,fe){var ge=hi(ne.body,fe.havingCrampedStyle());ge.height===0&&(ge.height=fe.fontMetrics().xHeight),ge=ar.wrapFragment(ge,fe);var Re=fe.fontMetrics(),ut=Re.defaultRuleThickness,Lt=ut;fe.style.id<j.TEXT.id&&(Lt=fe.fontMetrics().xHeight);var br=ut+Lt/4,Or=ge.height+ge.depth+br+ut,Zr=Gn.sqrtImage(Or,fe),Cn=Zr.span,Hn=Zr.ruleWidth,si=Zr.advanceWidth,xi=Cn.height-Hn;xi>ge.height+ge.depth+br&&(br=(br+xi-ge.height-ge.depth)/2);var Di=Cn.height-ge.height-br-Hn;ge.style.paddingLeft=si+"em";var sa=ar.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ge,wrapperClasses:["svg-align"]},{type:"kern",size:-(ge.height+Di)},{type:"elem",elem:Cn},{type:"kern",size:Hn}]},fe);if(ne.index){var ya=fe.havingStyle(j.SCRIPTSCRIPT),Ja=hi(ne.index,ya,fe),$a=.6*(sa.height-sa.depth),to=ar.makeVList({positionType:"shift",positionData:-$a,children:[{type:"elem",elem:Ja}]},fe),Io=ar.makeSpan(["root"],[to]);return ar.makeSpan(["mord","sqrt"],[Io,sa],fe)}else return ar.makeSpan(["mord","sqrt"],[sa],fe)},mathmlBuilder:function(ne,fe){var ge=ne.body,Re=ne.index;return Re?new pi.MathNode("mroot",[zt(ge,fe),zt(Re,fe)]):new pi.MathNode("msqrt",[zt(ge,fe)])}});var ki={display:j.DISPLAY,text:j.TEXT,script:j.SCRIPT,scriptscript:j.SCRIPTSCRIPT};tn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(ne,fe){var ge=ne.breakOnTokenText,Re=ne.funcName,ut=ne.parser,Lt=ut.parseExpression(!0,ge),br=Re.slice(1,Re.length-5);return{type:"styling",mode:ut.mode,style:br,body:Lt}},htmlBuilder:function(ne,fe){var ge=ki[ne.style],Re=fe.havingStyle(ge).withFont("");return wa(ne.body,Re,fe)},mathmlBuilder:function(ne,fe){var ge=ki[ne.style],Re=fe.havingStyle(ge),ut=Fi(ne.body,Re),Lt=new pi.MathNode("mstyle",ut),br={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Or=br[ne.style];return Lt.setAttribute("scriptlevel",Or[0]),Lt.setAttribute("displaystyle",Or[1]),Lt}});var Ma=function(ne,fe){var ge=ne.base;if(ge)if(ge.type==="op"){var Re=ge.limits&&(fe.style.size===j.DISPLAY.size||ge.alwaysHandleSupSub);return Re?ao:null}else if(ge.type==="operatorname"){var ut=ge.alwaysHandleSupSub&&(fe.style.size===j.DISPLAY.size||ge.limits);return ut?Ya:null}else{if(ge.type==="accent")return m.isCharacterBox(ge.base)?Dn:null;if(ge.type==="horizBrace"){var Lt=!ne.sub;return Lt===ge.isOver?Ga:null}else return null}else return null};ui({type:"supsub",htmlBuilder:function(ne,fe){var ge=Ma(ne,fe);if(ge)return ge(ne,fe);var Re=ne.base,ut=ne.sup,Lt=ne.sub,br=hi(Re,fe),Or,Zr,Cn=fe.fontMetrics(),Hn=0,si=0,xi=Re&&m.isCharacterBox(Re);if(ut){var Di=fe.havingStyle(fe.style.sup());Or=hi(ut,Di,fe),xi||(Hn=br.height-Di.fontMetrics().supDrop*Di.sizeMultiplier/fe.sizeMultiplier)}if(Lt){var sa=fe.havingStyle(fe.style.sub());Zr=hi(Lt,sa,fe),xi||(si=br.depth+sa.fontMetrics().subDrop*sa.sizeMultiplier/fe.sizeMultiplier)}var ya;fe.style===j.DISPLAY?ya=Cn.sup1:fe.style.cramped?ya=Cn.sup3:ya=Cn.sup2;var Ja=fe.sizeMultiplier,$a=.5/Cn.ptPerEm/Ja+"em",to=null;if(Zr){var Io=ne.base&&ne.base.type==="op"&&ne.base.name&&(ne.base.name==="\\oiint"||ne.base.name==="\\oiiint");(br instanceof et||Io)&&(to=-br.italic+"em")}var Co;if(Or&&Zr){Hn=Math.max(Hn,ya,Or.depth+.25*Cn.xHeight),si=Math.max(si,Cn.sub2);var Do=Cn.defaultRuleThickness,go=4*Do;if(Hn-Or.depth-(Zr.height-si)<go){si=go-(Hn-Or.depth)+Zr.height;var So=.8*Cn.xHeight-(Hn-Or.depth);So>0&&(Hn+=So,si-=So)}var is=[{type:"elem",elem:Zr,shift:si,marginRight:$a,marginLeft:to},{type:"elem",elem:Or,shift:-Hn,marginRight:$a}];Co=ar.makeVList({positionType:"individualShift",children:is},fe)}else if(Zr){si=Math.max(si,Cn.sub1,Zr.height-.8*Cn.xHeight);var ts=[{type:"elem",elem:Zr,marginLeft:to,marginRight:$a}];Co=ar.makeVList({positionType:"shift",positionData:si,children:ts},fe)}else if(Or)Hn=Math.max(Hn,ya,Or.depth+.25*Cn.xHeight),Co=ar.makeVList({positionType:"shift",positionData:-Hn,children:[{type:"elem",elem:Or,marginRight:$a}]},fe);else throw new Error("supsub must have either sup or sub.");var To=Xn(br,"right")||"mord";return ar.makeSpan([To],[br,ar.makeSpan(["msupsub"],[Co])],fe)},mathmlBuilder:function(ne,fe){var ge=!1,Re,ut,Lt=kr(ne.base,"horizBrace");Lt&&(ut=!!ne.sup,ut===Lt.isOver&&(ge=!0,Re=Lt.isOver)),ne.base&&(ne.base.type==="op"||ne.base.type==="operatorname")&&(ne.base.parentIsSupSub=!0);var br=[zt(ne.base,fe)];ne.sub&&br.push(zt(ne.sub,fe)),ne.sup&&br.push(zt(ne.sup,fe));var Or;if(ge)Or=Re?"mover":"munder";else if(ne.sub)if(ne.sup){var Hn=ne.base;Hn&&Hn.type==="op"&&Hn.limits&&fe.style===j.DISPLAY||Hn&&Hn.type==="operatorname"&&Hn.alwaysHandleSupSub&&(fe.style===j.DISPLAY||Hn.limits)?Or="munderover":Or="msubsup"}else{var Cn=ne.base;Cn&&Cn.type==="op"&&Cn.limits&&(fe.style===j.DISPLAY||Cn.alwaysHandleSupSub)||Cn&&Cn.type==="operatorname"&&Cn.alwaysHandleSupSub&&(Cn.limits||fe.style===j.DISPLAY)?Or="munder":Or="msub"}else{var Zr=ne.base;Zr&&Zr.type==="op"&&Zr.limits&&(fe.style===j.DISPLAY||Zr.alwaysHandleSupSub)||Zr&&Zr.type==="operatorname"&&Zr.alwaysHandleSupSub&&(Zr.limits||fe.style===j.DISPLAY)?Or="mover":Or="msup"}var si=new pi.MathNode(Or,br);return si}}),ui({type:"atom",htmlBuilder:function(ne,fe){return ar.mathsym(ne.text,ne.mode,fe,["m"+ne.family])},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mo",[ln(ne.text,ne.mode)]);if(ne.family==="bin"){var Re=Ji(ne,fe);Re==="bold-italic"&&ge.setAttribute("mathvariant",Re)}else ne.family==="punct"?ge.setAttribute("separator","true"):(ne.family==="open"||ne.family==="close")&&ge.setAttribute("stretchy","false");return ge}});var Ro={mi:"italic",mn:"normal",mtext:"normal"};ui({type:"mathord",htmlBuilder:function(ne,fe){return ar.makeOrd(ne,fe,"mathord")},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mi",[ln(ne.text,ne.mode,fe)]),Re=Ji(ne,fe)||"italic";return Re!==Ro[ge.type]&&ge.setAttribute("mathvariant",Re),ge}}),ui({type:"textord",htmlBuilder:function(ne,fe){return ar.makeOrd(ne,fe,"textord")},mathmlBuilder:function(ne,fe){var ge=ln(ne.text,ne.mode,fe),Re=Ji(ne,fe)||"normal",ut;return ne.mode==="text"?ut=new pi.MathNode("mtext",[ge]):/[0-9]/.test(ne.text)?ut=new pi.MathNode("mn",[ge]):ne.text==="\\prime"?ut=new pi.MathNode("mo",[ge]):ut=new pi.MathNode("mi",[ge]),Re!==Ro[ut.type]&&ut.setAttribute("mathvariant",Re),ut}});var jo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Vo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ui({type:"spacing",htmlBuilder:function(ne,fe){if(Vo.hasOwnProperty(ne.text)){var ge=Vo[ne.text].className||"";if(ne.mode==="text"){var Re=ar.makeOrd(ne,fe,"textord");return Re.classes.push(ge),Re}else return ar.makeSpan(["mspace",ge],[ar.mathsym(ne.text,ne.mode,fe)],fe)}else{if(jo.hasOwnProperty(ne.text))return ar.makeSpan(["mspace",jo[ne.text]],[],fe);throw new h('Unknown type of space "'+ne.text+'"')}},mathmlBuilder:function(ne,fe){var ge;if(Vo.hasOwnProperty(ne.text))ge=new pi.MathNode("mtext",[new pi.TextNode("\xA0")]);else{if(jo.hasOwnProperty(ne.text))return new pi.MathNode("mspace");throw new h('Unknown type of space "'+ne.text+'"')}return ge}});var Xo=function(){var ne=new pi.MathNode("mtd",[]);return ne.setAttribute("width","50%"),ne};ui({type:"tag",mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mtable",[new pi.MathNode("mtr",[Xo(),new pi.MathNode("mtd",[ea(ne.body,fe)]),Xo(),new pi.MathNode("mtd",[ea(ne.tag,fe)])])]);return ge.setAttribute("width","100%"),ge}});var wo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},_a={"\\textbf":"textbf","\\textmd":"textmd"},Po={"\\textit":"textit","\\textup":"textup"},ds=function(ne,fe){var ge=ne.font;return ge?wo[ge]?fe.withTextFontFamily(wo[ge]):_a[ge]?fe.withTextFontWeight(_a[ge]):fe.withTextFontShape(Po[ge]):fe};tn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser,Re=ne.funcName,ut=fe[0];return{type:"text",mode:ge.mode,body:qn(ut),font:Re}},htmlBuilder:function(ne,fe){var ge=ds(ne,fe),Re=dn(ne.body,ge,!0);return ar.makeSpan(["mord","text"],ar.tryCombineChars(Re),ge)},mathmlBuilder:function(ne,fe){var ge=ds(ne,fe);return ea(ne.body,ge)}}),tn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(ne,fe){var ge=ne.parser;return{type:"underline",mode:ge.mode,body:fe[0]}},htmlBuilder:function(ne,fe){var ge=hi(ne.body,fe),Re=ar.makeLineSpan("underline-line",fe),ut=fe.fontMetrics().defaultRuleThickness,Lt=ar.makeVList({positionType:"top",positionData:ge.height,children:[{type:"kern",size:ut},{type:"elem",elem:Re},{type:"kern",size:3*ut},{type:"elem",elem:ge}]},fe);return ar.makeSpan(["mord","underline"],[Lt],fe)},mathmlBuilder:function(ne,fe){var ge=new pi.MathNode("mo",[new pi.TextNode("\u203E")]);ge.setAttribute("stretchy","true");var Re=new pi.MathNode("munder",[zt(ne.body,fe),ge]);return Re.setAttribute("accentunder","true"),Re}}),tn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(ne,fe,ge){throw new h("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(ne,fe){for(var ge=ho(ne),Re=[],ut=fe.havingStyle(fe.style.text()),Lt=0;Lt<ge.length;Lt++){var br=ge[Lt];br==="~"&&(br="\\textasciitilde"),Re.push(ar.makeSymbol(br,"Typewriter-Regular",ne.mode,ut,["mord","texttt"]))}return ar.makeSpan(["mord","text"].concat(ut.sizingClasses(fe)),ar.tryCombineChars(Re),ut)},mathmlBuilder:function(ne,fe){var ge=new pi.TextNode(ho(ne)),Re=new pi.MathNode("mtext",[ge]);return Re.setAttribute("mathvariant","monospace"),Re}});var ho=function(ne){return ne.body.replace(/ /g,ne.star?"\u2423":"\xA0")},Oo=gn,Ka=Oo,Go=`[ \r
]`,nl="\\\\[a-zA-Z@]+",Ts="\\\\[^\uD800-\uDFFF]",Is=""+nl+Go+"*",xs=new RegExp("^("+nl+")"+Go+"*$"),ps="[\u0300-\u036F]",Os=new RegExp(ps+"+$"),Ho="("+Go+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(ps+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ps+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Ts+")"),mo=function(){function mt(fe,ge){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=fe,this.settings=ge,this.tokenRegex=new RegExp(Ho,"g"),this.catcodes={"%":14}}var ne=mt.prototype;return ne.setCatcode=function(ge,Re){this.catcodes[ge]=Re},ne.lex=function(){var ge=this.input,Re=this.tokenRegex.lastIndex;if(Re===ge.length)return new t("EOF",new C(this,Re,Re));var ut=this.tokenRegex.exec(ge);if(ut===null||ut.index!==Re)throw new h("Unexpected character: '"+ge[Re]+"'",new t(ge[Re],new C(this,Re,Re+1)));var Lt=ut[2]||" ";if(this.catcodes[Lt]===14){var br=ge.indexOf(`
`,this.tokenRegex.lastIndex);return br===-1?(this.tokenRegex.lastIndex=ge.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=br+1,this.lex()}var Or=Lt.match(xs);return Or&&(Lt=Or[1]),new t(Lt,new C(this,Re,this.tokenRegex.lastIndex))},mt}(),es=function(){function mt(fe,ge){fe===void 0&&(fe={}),ge===void 0&&(ge={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ge,this.builtins=fe,this.undefStack=[]}var ne=mt.prototype;return ne.beginGroup=function(){this.undefStack.push({})},ne.endGroup=function(){if(this.undefStack.length===0)throw new h("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var ge=this.undefStack.pop();for(var Re in ge)ge.hasOwnProperty(Re)&&(ge[Re]===void 0?delete this.current[Re]:this.current[Re]=ge[Re])},ne.has=function(ge){return this.current.hasOwnProperty(ge)||this.builtins.hasOwnProperty(ge)},ne.get=function(ge){return this.current.hasOwnProperty(ge)?this.current[ge]:this.builtins[ge]},ne.set=function(ge,Re,ut){if(ut===void 0&&(ut=!1),ut){for(var Lt=0;Lt<this.undefStack.length;Lt++)delete this.undefStack[Lt][ge];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ge]=Re)}else{var br=this.undefStack[this.undefStack.length-1];br&&!br.hasOwnProperty(ge)&&(br[ge]=this.current[ge])}this.current[ge]=Re},mt}(),Ko={},ko=Ko;function zr(mt,ne){Ko[mt]=ne}zr("\\@firstoftwo",function(mt){var ne=mt.consumeArgs(2);return{tokens:ne[0],numArgs:0}}),zr("\\@secondoftwo",function(mt){var ne=mt.consumeArgs(2);return{tokens:ne[1],numArgs:0}}),zr("\\@ifnextchar",function(mt){var ne=mt.consumeArgs(3),fe=mt.future();return ne[0].length===1&&ne[0][0].text===fe.text?{tokens:ne[1],numArgs:0}:{tokens:ne[2],numArgs:0}}),zr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),zr("\\TextOrMath",function(mt){var ne=mt.consumeArgs(2);return mt.mode==="text"?{tokens:ne[0],numArgs:0}:{tokens:ne[1],numArgs:0}});var Yo={"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};zr("\\char",function(mt){var ne=mt.popToken(),fe,ge="";if(ne.text==="'")fe=8,ne=mt.popToken();else if(ne.text==='"')fe=16,ne=mt.popToken();else if(ne.text==="`")if(ne=mt.popToken(),ne.text[0]==="\\")ge=ne.text.charCodeAt(1);else{if(ne.text==="EOF")throw new h("\\char` missing argument");ge=ne.text.charCodeAt(0)}else fe=10;if(fe){if(ge=Yo[ne.text],ge==null||ge>=fe)throw new h("Invalid base-"+fe+" digit "+ne.text);for(var Re;(Re=Yo[mt.future().text])!=null&&Re<fe;)ge*=fe,ge+=Re,mt.popToken()}return"\\@char{"+ge+"}"});var il=function(ne,fe){var ge=ne.consumeArgs(1)[0];if(ge.length!==1)throw new h("\\gdef's first argument must be a macro name");var Re=ge[0].text,ut=0;for(ge=ne.consumeArgs(1)[0];ge.length===1&&ge[0].text==="#";){if(ge=ne.consumeArgs(1)[0],ge.length!==1)throw new h('Invalid argument number length "'+ge.length+'"');if(!/^[1-9]$/.test(ge[0].text))throw new h('Invalid argument number "'+ge[0].text+'"');if(ut++,parseInt(ge[0].text)!==ut)throw new h('Argument number "'+ge[0].text+'" out of order');ge=ne.consumeArgs(1)[0]}return ne.macros.set(Re,{tokens:ge,numArgs:ut},fe),""};zr("\\gdef",function(mt){return il(mt,!0)}),zr("\\def",function(mt){return il(mt,!1)}),zr("\\global",function(mt){var ne=mt.consumeArgs(1)[0];if(ne.length!==1)throw new h("Invalid command after \\global");var fe=ne[0].text;if(fe==="\\def")return il(mt,!0);throw new h("Invalid command '"+fe+"' after \\global")});var Ks=function(ne,fe,ge){var Re=ne.consumeArgs(1)[0];if(Re.length!==1)throw new h("\\newcommand's first argument must be a macro name");var ut=Re[0].text,Lt=ne.isDefined(ut);if(Lt&&!fe)throw new h("\\newcommand{"+ut+"} attempting to redefine "+(ut+"; use \\renewcommand"));if(!Lt&&!ge)throw new h("\\renewcommand{"+ut+"} when command "+ut+" does not yet exist; use \\newcommand");var br=0;if(Re=ne.consumeArgs(1)[0],Re.length===1&&Re[0].text==="["){for(var Or="",Zr=ne.expandNextToken();Zr.text!=="]"&&Zr.text!=="EOF";)Or+=Zr.text,Zr=ne.expandNextToken();if(!Or.match(/^\s*[0-9]+\s*$/))throw new h("Invalid number of arguments: "+Or);br=parseInt(Or),Re=ne.consumeArgs(1)[0]}return ne.macros.set(ut,{tokens:Re,numArgs:br}),""};zr("\\newcommand",function(mt){return Ks(mt,!1,!0)}),zr("\\renewcommand",function(mt){return Ks(mt,!0,!1)}),zr("\\providecommand",function(mt){return Ks(mt,!0,!0)}),zr("\\bgroup","{"),zr("\\egroup","}"),zr("\\lq","`"),zr("\\rq","'"),zr("\\aa","\\r a"),zr("\\AA","\\r A"),zr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),zr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),zr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),zr("\u212C","\\mathscr{B}"),zr("\u2130","\\mathscr{E}"),zr("\u2131","\\mathscr{F}"),zr("\u210B","\\mathscr{H}"),zr("\u2110","\\mathscr{I}"),zr("\u2112","\\mathscr{L}"),zr("\u2133","\\mathscr{M}"),zr("\u211B","\\mathscr{R}"),zr("\u212D","\\mathfrak{C}"),zr("\u210C","\\mathfrak{H}"),zr("\u2128","\\mathfrak{Z}"),zr("\\Bbbk","\\Bbb{k}"),zr("\xB7","\\cdotp"),zr("\\llap","\\mathllap{\\textrm{#1}}"),zr("\\rlap","\\mathrlap{\\textrm{#1}}"),zr("\\clap","\\mathclap{\\textrm{#1}}"),zr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),zr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),zr("\\ne","\\neq"),zr("\u2260","\\neq"),zr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),zr("\u2209","\\notin"),zr("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),zr("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),zr("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),zr("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),zr("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),zr("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),zr("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),zr("\u27C2","\\perp"),zr("\u203C","\\mathclose{!\\mkern-0.8mu!}"),zr("\u220C","\\notni"),zr("\u231C","\\ulcorner"),zr("\u231D","\\urcorner"),zr("\u231E","\\llcorner"),zr("\u231F","\\lrcorner"),zr("\xA9","\\copyright"),zr("\xAE","\\textregistered"),zr("\uFE0F","\\textregistered"),zr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),zr("\u22EE","\\vdots"),zr("\\varGamma","\\mathit{\\Gamma}"),zr("\\varDelta","\\mathit{\\Delta}"),zr("\\varTheta","\\mathit{\\Theta}"),zr("\\varLambda","\\mathit{\\Lambda}"),zr("\\varXi","\\mathit{\\Xi}"),zr("\\varPi","\\mathit{\\Pi}"),zr("\\varSigma","\\mathit{\\Sigma}"),zr("\\varUpsilon","\\mathit{\\Upsilon}"),zr("\\varPhi","\\mathit{\\Phi}"),zr("\\varPsi","\\mathit{\\Psi}"),zr("\\varOmega","\\mathit{\\Omega}"),zr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),zr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),zr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),zr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),zr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),zr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ps={",":"\\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"};zr("\\dots",function(mt){var ne="\\dotso",fe=mt.expandAfterFuture().text;return fe in Ps?ne=Ps[fe]:fe.substr(0,4)==="\\not"?ne="\\dotsb":fe in Be.math&&(m.contains(["bin","rel"],Be.math[fe].group)&&(ne="\\dotsb")),ne});var no={")":!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};zr("\\dotso",function(mt){var ne=mt.future().text;return ne in no?"\\ldots\\,":"\\ldots"}),zr("\\dotsc",function(mt){var ne=mt.future().text;return ne in no&&ne!==","?"\\ldots\\,":"\\ldots"}),zr("\\cdots",function(mt){var ne=mt.future().text;return ne in no?"\\@cdots\\,":"\\@cdots"}),zr("\\dotsb","\\cdots"),zr("\\dotsm","\\cdots"),zr("\\dotsi","\\!\\cdots"),zr("\\dotsx","\\ldots\\,"),zr("\\DOTSI","\\relax"),zr("\\DOTSB","\\relax"),zr("\\DOTSX","\\relax"),zr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),zr("\\,","\\tmspace+{3mu}{.1667em}"),zr("\\thinspace","\\,"),zr("\\>","\\mskip{4mu}"),zr("\\:","\\tmspace+{4mu}{.2222em}"),zr("\\medspace","\\:"),zr("\\;","\\tmspace+{5mu}{.2777em}"),zr("\\thickspace","\\;"),zr("\\!","\\tmspace-{3mu}{.1667em}"),zr("\\negthinspace","\\!"),zr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),zr("\\negthickspace","\\tmspace-{5mu}{.277em}"),zr("\\enspace","\\kern.5em "),zr("\\enskip","\\hskip.5em\\relax"),zr("\\quad","\\hskip1em\\relax"),zr("\\qquad","\\hskip2em\\relax"),zr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),zr("\\tag@paren","\\tag@literal{({#1})}"),zr("\\tag@literal",function(mt){if(mt.macros.get("\\df@tag"))throw new h("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),zr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),zr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),zr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),zr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),zr("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),zr("\\\\","\\newline"),zr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ao=ze["Main-Regular"]["T".charCodeAt(0)][1]-.7*ze["Main-Regular"]["A".charCodeAt(0)][1]+"em";zr("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),zr("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ao+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),zr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),zr("\\@hspace","\\hskip #1\\relax"),zr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),zr("\\ordinarycolon",":"),zr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),zr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),zr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),zr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),zr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),zr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),zr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),zr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),zr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),zr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),zr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),zr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),zr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),zr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),zr("\u2237","\\dblcolon"),zr("\u2239","\\eqcolon"),zr("\u2254","\\coloneqq"),zr("\u2255","\\eqqcolon"),zr("\u2A74","\\Coloneqq"),zr("\\ratio","\\vcentcolon"),zr("\\coloncolon","\\dblcolon"),zr("\\colonequals","\\coloneqq"),zr("\\coloncolonequals","\\Coloneqq"),zr("\\equalscolon","\\eqqcolon"),zr("\\equalscoloncolon","\\Eqqcolon"),zr("\\colonminus","\\coloneq"),zr("\\coloncolonminus","\\Coloneq"),zr("\\minuscolon","\\eqcolon"),zr("\\minuscoloncolon","\\Eqcolon"),zr("\\coloncolonapprox","\\Colonapprox"),zr("\\coloncolonsim","\\Colonsim"),zr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),zr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),zr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),zr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),zr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),zr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),zr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),zr("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),zr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),zr("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),zr("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),zr("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),zr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),zr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),zr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),zr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),zr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),zr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),zr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),zr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),zr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),zr("\u27E6","\\llbracket"),zr("\u27E7","\\rrbracket"),zr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),zr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),zr("\u2983","\\lBrace"),zr("\u2984","\\rBrace"),zr("\\darr","\\downarrow"),zr("\\dArr","\\Downarrow"),zr("\\Darr","\\Downarrow"),zr("\\lang","\\langle"),zr("\\rang","\\rangle"),zr("\\uarr","\\uparrow"),zr("\\uArr","\\Uparrow"),zr("\\Uarr","\\Uparrow"),zr("\\N","\\mathbb{N}"),zr("\\R","\\mathbb{R}"),zr("\\Z","\\mathbb{Z}"),zr("\\alef","\\aleph"),zr("\\alefsym","\\aleph"),zr("\\Alpha","\\mathrm{A}"),zr("\\Beta","\\mathrm{B}"),zr("\\bull","\\bullet"),zr("\\Chi","\\mathrm{X}"),zr("\\clubs","\\clubsuit"),zr("\\cnums","\\mathbb{C}"),zr("\\Complex","\\mathbb{C}"),zr("\\Dagger","\\ddagger"),zr("\\diamonds","\\diamondsuit"),zr("\\empty","\\emptyset"),zr("\\Epsilon","\\mathrm{E}"),zr("\\Eta","\\mathrm{H}"),zr("\\exist","\\exists"),zr("\\harr","\\leftrightarrow"),zr("\\hArr","\\Leftrightarrow"),zr("\\Harr","\\Leftrightarrow"),zr("\\hearts","\\heartsuit"),zr("\\image","\\Im"),zr("\\infin","\\infty"),zr("\\Iota","\\mathrm{I}"),zr("\\isin","\\in"),zr("\\Kappa","\\mathrm{K}"),zr("\\larr","\\leftarrow"),zr("\\lArr","\\Leftarrow"),zr("\\Larr","\\Leftarrow"),zr("\\lrarr","\\leftrightarrow"),zr("\\lrArr","\\Leftrightarrow"),zr("\\Lrarr","\\Leftrightarrow"),zr("\\Mu","\\mathrm{M}"),zr("\\natnums","\\mathbb{N}"),zr("\\Nu","\\mathrm{N}"),zr("\\Omicron","\\mathrm{O}"),zr("\\plusmn","\\pm"),zr("\\rarr","\\rightarrow"),zr("\\rArr","\\Rightarrow"),zr("\\Rarr","\\Rightarrow"),zr("\\real","\\Re"),zr("\\reals","\\mathbb{R}"),zr("\\Reals","\\mathbb{R}"),zr("\\Rho","\\mathrm{P}"),zr("\\sdot","\\cdot"),zr("\\sect","\\S"),zr("\\spades","\\spadesuit"),zr("\\sub","\\subset"),zr("\\sube","\\subseteq"),zr("\\supe","\\supseteq"),zr("\\Tau","\\mathrm{T}"),zr("\\thetasym","\\vartheta"),zr("\\weierp","\\wp"),zr("\\Zeta","\\mathrm{Z}"),zr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),zr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),zr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),zr("\\blue","\\textcolor{##6495ed}{#1}"),zr("\\orange","\\textcolor{##ffa500}{#1}"),zr("\\pink","\\textcolor{##ff00af}{#1}"),zr("\\red","\\textcolor{##df0030}{#1}"),zr("\\green","\\textcolor{##28ae7b}{#1}"),zr("\\gray","\\textcolor{gray}{#1}"),zr("\\purple","\\textcolor{##9d38bd}{#1}"),zr("\\blueA","\\textcolor{##ccfaff}{#1}"),zr("\\blueB","\\textcolor{##80f6ff}{#1}"),zr("\\blueC","\\textcolor{##63d9ea}{#1}"),zr("\\blueD","\\textcolor{##11accd}{#1}"),zr("\\blueE","\\textcolor{##0c7f99}{#1}"),zr("\\tealA","\\textcolor{##94fff5}{#1}"),zr("\\tealB","\\textcolor{##26edd5}{#1}"),zr("\\tealC","\\textcolor{##01d1c1}{#1}"),zr("\\tealD","\\textcolor{##01a995}{#1}"),zr("\\tealE","\\textcolor{##208170}{#1}"),zr("\\greenA","\\textcolor{##b6ffb0}{#1}"),zr("\\greenB","\\textcolor{##8af281}{#1}"),zr("\\greenC","\\textcolor{##74cf70}{#1}"),zr("\\greenD","\\textcolor{##1fab54}{#1}"),zr("\\greenE","\\textcolor{##0d923f}{#1}"),zr("\\goldA","\\textcolor{##ffd0a9}{#1}"),zr("\\goldB","\\textcolor{##ffbb71}{#1}"),zr("\\goldC","\\textcolor{##ff9c39}{#1}"),zr("\\goldD","\\textcolor{##e07d10}{#1}"),zr("\\goldE","\\textcolor{##a75a05}{#1}"),zr("\\redA","\\textcolor{##fca9a9}{#1}"),zr("\\redB","\\textcolor{##ff8482}{#1}"),zr("\\redC","\\textcolor{##f9685d}{#1}"),zr("\\redD","\\textcolor{##e84d39}{#1}"),zr("\\redE","\\textcolor{##bc2612}{#1}"),zr("\\maroonA","\\textcolor{##ffbde0}{#1}"),zr("\\maroonB","\\textcolor{##ff92c6}{#1}"),zr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),zr("\\maroonD","\\textcolor{##ca337c}{#1}"),zr("\\maroonE","\\textcolor{##9e034e}{#1}"),zr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),zr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),zr("\\purpleC","\\textcolor{##aa87ff}{#1}"),zr("\\purpleD","\\textcolor{##7854ab}{#1}"),zr("\\purpleE","\\textcolor{##543b78}{#1}"),zr("\\mintA","\\textcolor{##f5f9e8}{#1}"),zr("\\mintB","\\textcolor{##edf2df}{#1}"),zr("\\mintC","\\textcolor{##e0e5cc}{#1}"),zr("\\grayA","\\textcolor{##f6f7f7}{#1}"),zr("\\grayB","\\textcolor{##f0f1f2}{#1}"),zr("\\grayC","\\textcolor{##e3e5e6}{#1}"),zr("\\grayD","\\textcolor{##d6d8da}{#1}"),zr("\\grayE","\\textcolor{##babec2}{#1}"),zr("\\grayF","\\textcolor{##888d93}{#1}"),zr("\\grayG","\\textcolor{##626569}{#1}"),zr("\\grayH","\\textcolor{##3b3e40}{#1}"),zr("\\grayI","\\textcolor{##21242c}{#1}"),zr("\\kaBlue","\\textcolor{##314453}{#1}"),zr("\\kaGreen","\\textcolor{##71B307}{#1}");var Fo={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},ns=function(){function mt(fe,ge,Re){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=ge,this.expansionCount=0,this.feed(fe),this.macros=new es(ko,ge.macros),this.mode=Re,this.stack=[]}var ne=mt.prototype;return ne.feed=function(ge){this.lexer=new mo(ge,this.settings)},ne.switchMode=function(ge){this.mode=ge},ne.beginGroup=function(){this.macros.beginGroup()},ne.endGroup=function(){this.macros.endGroup()},ne.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},ne.popToken=function(){return this.future(),this.stack.pop()},ne.pushToken=function(ge){this.stack.push(ge)},ne.pushTokens=function(ge){var Re;(Re=this.stack).push.apply(Re,ge)},ne.consumeSpaces=function(){for(;;){var ge=this.future();if(ge.text===" ")this.stack.pop();else break}},ne.consumeArgs=function(ge){for(var Re=[],ut=0;ut<ge;++ut){this.consumeSpaces();var Lt=this.popToken();if(Lt.text==="{"){for(var br=[],Or=1;Or!==0;){var Zr=this.popToken();if(br.push(Zr),Zr.text==="{")++Or;else if(Zr.text==="}")--Or;else if(Zr.text==="EOF")throw new h("End of input in macro argument",Lt)}br.pop(),br.reverse(),Re[ut]=br}else{if(Lt.text==="EOF")throw new h("End of input expecting macro argument");Re[ut]=[Lt]}}return Re},ne.expandOnce=function(){var ge=this.popToken(),Re=ge.text,ut=this._getExpansion(Re);if(ut==null)return this.pushToken(ge),ge;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new h("Too many expansions: infinite loop or need to increase maxExpand setting");var Lt=ut.tokens;if(ut.numArgs){var br=this.consumeArgs(ut.numArgs);Lt=Lt.slice();for(var Or=Lt.length-1;Or>=0;--Or){var Zr=Lt[Or];if(Zr.text==="#"){if(Or===0)throw new h("Incomplete placeholder at end of macro body",Zr);if(Zr=Lt[--Or],Zr.text==="#")Lt.splice(Or+1,1);else if(/^[1-9]$/.test(Zr.text)){var Cn;(Cn=Lt).splice.apply(Cn,[Or,2].concat(br[+Zr.text-1]))}else throw new h("Not a valid argument number",Zr)}}}return this.pushTokens(Lt),Lt},ne.expandAfterFuture=function(){return this.expandOnce(),this.future()},ne.expandNextToken=function(){for(;;){var ge=this.expandOnce();if(ge instanceof t)if(ge.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},ne.expandMacro=function(ge){if(!this.macros.get(ge))return;var Re=[],ut=this.stack.length;for(this.pushToken(new t(ge));this.stack.length>ut;){var Lt=this.expandOnce();Lt instanceof t&&Re.push(this.stack.pop())}return Re},ne.expandMacroAsText=function(ge){var Re=this.expandMacro(ge);return Re&&Re.map(function(ut){return ut.text}).join("")},ne._getExpansion=function(ge){var Re=this.macros.get(ge);if(Re==null)return Re;var ut=typeof Re=="function"?Re(this):Re;if(typeof ut=="string"){var Lt=0;if(ut.indexOf("#")!==-1)for(var br=ut.replace(/##/g,"");br.indexOf("#"+(Lt+1))!==-1;)++Lt;for(var Or=new mo(ut,this.settings),Zr=[],Cn=Or.lex();Cn.text!=="EOF";)Zr.push(Cn),Cn=Or.lex();Zr.reverse();var Hn={tokens:Zr,numArgs:Lt};return Hn}return ut},ne.isDefined=function(ge){return this.macros.has(ge)||Ka.hasOwnProperty(ge)||Be.math.hasOwnProperty(ge)||Be.text.hasOwnProperty(ge)||Fo.hasOwnProperty(ge)},mt}(),ys={"\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"}},ms={\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"},_s=function(){function mt(fe,ge){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 ns(fe,ge,this.mode),this.settings=ge,this.leftrightDepth=0}var ne=mt.prototype;return ne.expect=function(ge,Re){if(Re===void 0&&(Re=!0),this.fetch().text!==ge)throw new h("Expected '"+ge+"', got '"+this.fetch().text+"'",this.fetch());Re&&this.consume()},ne.consume=function(){this.nextToken=null},ne.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},ne.switchMode=function(ge){this.mode=ge,this.gullet.switchMode(ge)},ne.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var ge=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),ge},ne.parseExpression=function(ge,Re){for(var ut=[];;){this.mode==="math"&&this.consumeSpaces();var Lt=this.fetch();if(mt.endOfExpression.indexOf(Lt.text)!==-1)break;if(Re&&Lt.text===Re)break;if(ge&&Ka[Lt.text]&&Ka[Lt.text].infix)break;var br=this.parseAtom(Re);if(!br)break;ut.push(br)}return this.mode==="text"&&this.formLigatures(ut),this.handleInfixNodes(ut)},ne.handleInfixNodes=function(ge){for(var Re=-1,ut,Lt=0;Lt<ge.length;Lt++){var br=kr(ge[Lt],"infix");if(br){if(Re!==-1)throw new h("only one infix operator per group",br.token);Re=Lt,ut=br.replaceWith}}if(Re!==-1&&ut){var Or,Zr,Cn=ge.slice(0,Re),Hn=ge.slice(Re+1);Cn.length===1&&Cn[0].type==="ordgroup"?Or=Cn[0]:Or={type:"ordgroup",mode:this.mode,body:Cn},Hn.length===1&&Hn[0].type==="ordgroup"?Zr=Hn[0]:Zr={type:"ordgroup",mode:this.mode,body:Hn};var si;return ut==="\\\\abovefrac"?si=this.callFunction(ut,[Or,ge[Re],Zr],[]):si=this.callFunction(ut,[Or,Zr],[]),[si]}else return ge},ne.handleSupSubscript=function(ge){var Re=this.fetch(),ut=Re.text;this.consume();var Lt=this.parseGroup(ge,!1,mt.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Lt)throw new h("Expected group after '"+ut+"'",Re);return Lt},ne.formatUnsupportedCmd=function(ge){for(var Re=[],ut=0;ut<ge.length;ut++)Re.push({type:"textord",mode:"text",text:ge[ut]});var Lt={type:"text",mode:this.mode,body:Re},br={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Lt]};return br},ne.parseAtom=function(ge){var Re=this.parseGroup("atom",!1,null,ge);if(this.mode==="text")return Re;for(var ut,Lt;;){this.consumeSpaces();var br=this.fetch();if(br.text==="\\limits"||br.text==="\\nolimits"){var Or=kr(Re,"op");if(Or){var Zr=br.text==="\\limits";Or.limits=Zr,Or.alwaysHandleSupSub=!0}else if(Or=kr(Re,"operatorname"),Or&&Or.alwaysHandleSupSub){var Cn=br.text==="\\limits";Or.limits=Cn}else throw new h("Limit controls must follow a math operator",br);this.consume()}else if(br.text==="^"){if(ut)throw new h("Double superscript",br);ut=this.handleSupSubscript("superscript")}else if(br.text==="_"){if(Lt)throw new h("Double subscript",br);Lt=this.handleSupSubscript("subscript")}else if(br.text==="'"){if(ut)throw new h("Double superscript",br);var Hn={type:"textord",mode:this.mode,text:"\\prime"},si=[Hn];for(this.consume();this.fetch().text==="'";)si.push(Hn),this.consume();this.fetch().text==="^"&&si.push(this.handleSupSubscript("superscript")),ut={type:"ordgroup",mode:this.mode,body:si}}else break}return ut||Lt?{type:"supsub",mode:this.mode,base:Re,sup:ut,sub:Lt}:Re},ne.parseFunction=function(ge,Re,ut){var Lt=this.fetch(),br=Lt.text,Or=Ka[br];if(!Or)return null;if(this.consume(),ut!=null&&Or.greediness<=ut)throw new h("Got function '"+br+"' with no arguments"+(Re?" as "+Re:""),Lt);if(this.mode==="text"&&!Or.allowedInText)throw new h("Can't use function '"+br+"' in text mode",Lt);if(this.mode==="math"&&Or.allowedInMath===!1)throw new h("Can't use function '"+br+"' in math mode",Lt);var Zr=this.parseArguments(br,Or),Cn=Zr.args,Hn=Zr.optArgs;return this.callFunction(br,Cn,Hn,Lt,ge)},ne.callFunction=function(ge,Re,ut,Lt,br){var Or={funcName:ge,parser:this,token:Lt,breakOnTokenText:br},Zr=Ka[ge];if(Zr&&Zr.handler)return Zr.handler(Or,Re,ut);throw new h("No function handler for "+ge)},ne.parseArguments=function(ge,Re){var ut=Re.numArgs+Re.numOptionalArgs;if(ut===0)return{args:[],optArgs:[]};for(var Lt=Re.greediness,br=[],Or=[],Zr=0;Zr<ut;Zr++){var Cn=Re.argTypes&&Re.argTypes[Zr],Hn=Zr<Re.numOptionalArgs,si=Zr>0&&!Hn||Zr===0&&!Hn&&this.mode==="math",xi=this.parseGroupOfType("argument to '"+ge+"'",Cn,Hn,Lt,si);if(!xi){if(Hn){Or.push(null);continue}throw new h("Expected group after '"+ge+"'",this.fetch())}(Hn?Or:br).push(xi)}return{args:br,optArgs:Or}},ne.parseGroupOfType=function(ge,Re,ut,Lt,br){switch(Re){case"color":return br&&this.consumeSpaces(),this.parseColorGroup(ut);case"size":return br&&this.consumeSpaces(),this.parseSizeGroup(ut);case"url":return this.parseUrlGroup(ut,br);case"math":case"text":return this.parseGroup(ge,ut,Lt,void 0,Re,br);case"hbox":{var Or=this.parseGroup(ge,ut,Lt,void 0,"text",br);if(!Or)return Or;var Zr={type:"styling",mode:Or.mode,body:[Or],style:"text"};return Zr}case"raw":{if(br&&this.consumeSpaces(),ut&&this.fetch().text==="{")return null;var Cn=this.parseStringGroup("raw",ut,!0);if(Cn)return{type:"raw",mode:"text",string:Cn.text};throw new h("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ge,ut,Lt,void 0,void 0,br);default:throw new h("Unknown group type as "+ge,this.fetch())}},ne.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},ne.parseStringGroup=function(ge,Re,ut){var Lt=Re?"[":"{",br=Re?"]":"}",Or=this.fetch();if(Or.text!==Lt){if(Re)return null;if(ut&&Or.text!=="EOF"&&/[^{}[\]]/.test(Or.text))return this.consume(),Or}var Zr=this.mode;this.mode="text",this.expect(Lt);for(var Cn="",Hn=this.fetch(),si=0,xi=Hn,Di;(Di=this.fetch()).text!==br||ut&&si>0;){switch(Di.text){case"EOF":throw new h("Unexpected end of input in "+ge,Hn.range(xi,Cn));case Lt:si++;break;case br:si--;break}xi=Di,Cn+=xi.text,this.consume()}return this.expect(br),this.mode=Zr,Hn.range(xi,Cn)},ne.parseRegexGroup=function(ge,Re){var ut=this.mode;this.mode="text";for(var Lt=this.fetch(),br=Lt,Or="",Zr;(Zr=this.fetch()).text!=="EOF"&&ge.test(Or+Zr.text);)br=Zr,Or+=br.text,this.consume();if(Or==="")throw new h("Invalid "+Re+": '"+Lt.text+"'",Lt);return this.mode=ut,Lt.range(br,Or)},ne.parseColorGroup=function(ge){var Re=this.parseStringGroup("color",ge);if(!Re)return null;var ut=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(Re.text);if(!ut)throw new h("Invalid color: '"+Re.text+"'",Re);var Lt=ut[0];return/^[0-9a-f]{6}$/i.test(Lt)&&(Lt="#"+Lt),{type:"color-token",mode:this.mode,color:Lt}},ne.parseSizeGroup=function(ge){var Re,ut=!1;if(!ge&&this.fetch().text!=="{"?Re=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):Re=this.parseStringGroup("size",ge),!Re)return null;!ge&&Re.text.length===0&&(Re.text="0pt",ut=!0);var Lt=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Re.text);if(!Lt)throw new h("Invalid size: '"+Re.text+"'",Re);var br={number:+(Lt[1]+Lt[2]),unit:Lt[3]};if(!pr(br))throw new h("Invalid unit: '"+br.unit+"'",Re);return{type:"size",mode:this.mode,value:br,isBlank:ut}},ne.parseUrlGroup=function(ge,Re){this.gullet.lexer.setCatcode("%",13);var ut=this.parseStringGroup("url",ge,!0);if(this.gullet.lexer.setCatcode("%",14),!ut)return null;var Lt=ut.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Lt}},ne.parseGroup=function(ge,Re,ut,Lt,br,Or){var Zr=this.mode;br&&this.switchMode(br),Or&&this.consumeSpaces();var Cn=this.fetch(),Hn=Cn.text,si;if(Re?Hn==="[":Hn==="{"||Hn==="\\begingroup"){this.consume();var xi=mt.endOfGroup[Hn];this.gullet.beginGroup();var Di=this.parseExpression(!1,xi),sa=this.fetch();this.expect(xi),this.gullet.endGroup(),si={type:"ordgroup",mode:this.mode,loc:C.range(Cn,sa),body:Di,semisimple:Hn==="\\begingroup"||void 0}}else if(Re)si=null;else if(si=this.parseFunction(Lt,ge,ut)||this.parseSymbol(),si==null&&Hn[0]==="\\"&&!Fo.hasOwnProperty(Hn)){if(this.settings.throwOnError)throw new h("Undefined control sequence: "+Hn,Cn);si=this.formatUnsupportedCmd(Hn),this.consume()}return br&&this.switchMode(Zr),si},ne.formLigatures=function(ge){for(var Re=ge.length-1,ut=0;ut<Re;++ut){var Lt=ge[ut],br=Lt.text;br==="-"&&ge[ut+1].text==="-"&&(ut+1<Re&&ge[ut+2].text==="-"?(ge.splice(ut,3,{type:"textord",mode:"text",loc:C.range(Lt,ge[ut+2]),text:"---"}),Re-=2):(ge.splice(ut,2,{type:"textord",mode:"text",loc:C.range(Lt,ge[ut+1]),text:"--"}),Re-=1)),(br==="'"||br==="`")&&ge[ut+1].text===br&&(ge.splice(ut,2,{type:"textord",mode:"text",loc:C.range(Lt,ge[ut+1]),text:br+br}),Re-=1)}},ne.parseSymbol=function(){var ge=this.fetch(),Re=ge.text;if(/^\\verb[^a-zA-Z]/.test(Re)){this.consume();var ut=Re.slice(5),Lt=ut.charAt(0)==="*";if(Lt&&(ut=ut.slice(1)),ut.length<2||ut.charAt(0)!==ut.slice(-1))throw new h(`\\verb assertion failed --
please report what input caused this bug`);return ut=ut.slice(1,-1),{type:"verb",mode:"text",body:ut,star:Lt}}ms.hasOwnProperty(Re[0])&&!Be[this.mode][Re[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+Re[0]+'" used in math mode',ge),Re=ms[Re[0]]+Re.substr(1));var br=Os.exec(Re);br&&(Re=Re.substring(0,br.index),Re==="i"?Re="\u0131":Re==="j"&&(Re="\u0237"));var Or;if(Be[this.mode][Re]){this.settings.strict&&this.mode==="math"&&Gt.indexOf(Re)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+Re[0]+'" used in math mode',ge);var Zr=Be[this.mode][Re].group,Cn=C.range(ge),Hn;if(Et.hasOwnProperty(Zr)){var si=Zr;Hn={type:"atom",mode:this.mode,family:si,loc:Cn,text:Re}}else Hn={type:Zr,mode:this.mode,loc:Cn,text:Re};Or=Hn}else if(Re.charCodeAt(0)>=128)this.settings.strict&&(X(Re.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+Re[0]+'" used in math mode',ge):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+Re[0]+'"'+(" ("+Re.charCodeAt(0)+")"),ge)),Or={type:"textord",mode:"text",loc:C.range(ge),text:Re};else return null;if(this.consume(),br)for(var xi=0;xi<br[0].length;xi++){var Di=br[0][xi];if(!ys[Di])throw new h("Unknown accent ' "+Di+"'",ge);var sa=ys[Di][this.mode];if(!sa)throw new h("Accent "+Di+" unsupported in "+this.mode+" mode",ge);Or={type:"accent",mode:this.mode,loc:C.range(ge),label:sa,isStretchy:!1,isShifty:!0,base:Or}}return Or},mt}();_s.endOfExpression=["}","\\endgroup","\\end","\\right","&"],_s.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},_s.SUPSUB_GREEDINESS=1;var ol=function(ne,fe){if(!(typeof ne=="string"||ne instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ge=new _s(ne,fe);delete ge.gullet.macros.current["\\df@tag"];var Re=ge.parse();if(ge.gullet.macros.get("\\df@tag")){if(!fe.displayMode)throw new h("\\tag works only in display equations");ge.gullet.feed("\\df@tag"),Re=[{type:"tag",mode:"text",body:Re,tag:ge.parse()}]}return Re},Ls=ol,Gs=function(ne,fe,ge){fe.textContent="";var Re=St(ne,ge).toNode();fe.appendChild(Re)};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."),Gs=function(){throw new h("KaTeX doesn't work in quirks mode.")}));var ks=function(ne,fe){var ge=St(ne,fe).toMarkup();return ge},gs=function(ne,fe){var ge=new A(fe);return Ls(ne,ge)},Ns=function(ne,fe,ge){if(ge.throwOnError||!(ne instanceof h))throw ne;var Re=ar.makeSpan(["katex-error"],[new et(fe)]);return Re.setAttribute("title",ne.toString()),Re.setAttribute("style","color:"+ge.errorColor),Re},St=function(ne,fe){var ge=new A(fe);try{var Re=Ls(ne,ge);return Xe(Re,ne,ge)}catch(ut){return Ns(ut,ne,ge)}},Dt=function(ne,fe){var ge=new A(fe);try{var Re=Ls(ne,ge);return Ot(Re,ne,ge)}catch(ut){return Ns(ut,ne,ge)}},rn={version:"0.11.1",render:Gs,renderToString:ks,ParseError:h,__parse:gs,__renderToDomTree:St,__renderToHTMLTree:Dt,__setFontMetrics:gt,__defineSymbol:ce,__defineMacro:zr,__domTree:{Span:it,Anchor:Ye,SymbolNode:et,SvgNode:He,PathNode:pe,LineNode:ae}},On=_.default=rn}]).default})},P2fV:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("Q9mQ"),E=d("+L6B"),C=d("sE09"),t=d.n(C)},P2ho:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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};z.default=O},P47w:function(ue,z,d){var O=d("hydK"),_=O.createElement,I=d("IMiH"),E=d("mFDi"),C=d("Fofx"),t=d("6GrX"),p=d("pzxd"),h=d("dqUG"),o=I.CMD,r=Array.prototype.join,s="none",l=Math.round,n=Math.sin,c=Math.cos,e=Math.PI,a=Math.PI*2,i=180/e,u=1e-4;function f(K){return l(K*1e4)/1e4}function m(K){return K<u&&K>-u}function A(K,W){var X=W?K.textFill:K.fill;return X!=null&&X!==s}function g(K,W){var X=W?K.textStroke:K.stroke;return X!=null&&X!==s}function v(K,W){W&&b(K,"transform","matrix("+r.call(W,",")+")")}function b(K,W,X){(!X||X.type!=="linear"&&X.type!=="radial")&&K.setAttribute(W,X)}function S(K,W,X){K.setAttributeNS("http://www.w3.org/1999/xlink",W,X)}function y(K,W,X,V){if(A(W,X)){var Z=X?W.textFill:W.fill;Z=Z==="transparent"?s:Z,b(K,"fill",Z),b(K,"fill-opacity",W.fillOpacity!=null?W.fillOpacity*W.opacity:W.opacity)}else b(K,"fill",s);if(g(W,X)){var G=X?W.textStroke:W.stroke;G=G==="transparent"?s:G,b(K,"stroke",G);var Y=X?W.textStrokeWidth:W.lineWidth,te=!X&&W.strokeNoScale?V.getLineScale():1;b(K,"stroke-width",Y/te),b(K,"paint-order",X?"stroke":"fill"),b(K,"stroke-opacity",W.strokeOpacity!=null?W.strokeOpacity:W.opacity);var se=W.lineDash;se?(b(K,"stroke-dasharray",W.lineDash.join(",")),b(K,"stroke-dashoffset",l(W.lineDashOffset||0))):b(K,"stroke-dasharray",""),W.lineCap&&b(K,"stroke-linecap",W.lineCap),W.lineJoin&&b(K,"stroke-linejoin",W.lineJoin),W.miterLimit&&b(K,"stroke-miterlimit",W.miterLimit)}else b(K,"stroke",s)}function w(K){for(var W=[],X=K.data,V=K.len(),Z=0;Z<V;){var G=X[Z++],Y="",te=0;switch(G){case o.M:Y="M",te=2;break;case o.L:Y="L",te=2;break;case o.Q:Y="Q",te=4;break;case o.C:Y="C",te=6;break;case o.A:var se=X[Z++],Ce=X[Z++],he=X[Z++],xe=X[Z++],ie=X[Z++],ee=X[Z++],Ze=X[Z++],Se=X[Z++],Ne=Math.abs(ee),it=m(Ne-a)||(Se?ee>=a:-ee>=a),Ye=ee>0?ee%a:ee%a+a,nt=!1;it?nt=!0:m(Ne)?nt=!1:nt=Ye>=e===!!Se;var je=f(se+he*c(ie)),et=f(Ce+xe*n(ie));it&&(Se?ee=a-1e-4:ee=-a+1e-4,nt=!0,Z===9&&W.push("M",je,et));var He=f(se+he*c(ie+ee)),pe=f(Ce+xe*n(ie+ee));W.push("A",f(he),f(xe),l(Ze*i),+nt,+Se,He,pe);break;case o.Z:Y="Z";break;case o.R:var He=f(X[Z++]),pe=f(X[Z++]),ae=f(X[Z++]),re=f(X[Z++]);W.push("M",He,pe,"L",He+ae,pe,"L",He+ae,pe+re,"L",He,pe+re,"L",He,pe);break}Y&&W.push(Y);for(var be=0;be<te;be++)W.push(f(X[Z++]))}return W.join(" ")}var x={};x.brush=function(K){var W=K.style,X=K.__svgEl;X||(X=_("path"),K.__svgEl=X),K.path||K.createPathProxy();var V=K.path;if(K.__dirtyPath){V.beginPath(),V.subPixelOptimize=!1,K.buildPath(V,K.shape),K.__dirtyPath=!1;var Z=w(V);Z.indexOf("NaN")<0&&b(X,"d",Z)}y(X,W,!1,K),v(X,K.transform),W.text!=null?D(K,K.getBoundingRect()):H(K)};var T={};T.brush=function(K){var W=K.style,X=W.image;if(X instanceof HTMLImageElement){var V=X.src;X=V}if(!X)return;var Z=W.x||0,G=W.y||0,Y=W.width,te=W.height,se=K.__svgEl;se||(se=_("image"),K.__svgEl=se),X!==K.__imageSrc&&(S(se,"href",X),K.__imageSrc=X),b(se,"width",Y),b(se,"height",te),b(se,"x",Z),b(se,"y",G),v(se,K.transform),W.text!=null?D(K,K.getBoundingRect()):H(K)};var L={},R=new E,P={},k=[],U={left:"start",right:"end",center:"middle",middle:"middle"},D=function(W,X){var V=W.style,Z=W.transform,G=W instanceof h||V.transformText;W.__dirty&&p.normalizeTextStyle(V,!0);var Y=V.text;if(Y!=null&&(Y+=""),!p.needDrawText(Y,V))return;Y==null&&(Y=""),!G&&Z&&(R.copy(X),R.applyTransform(Z),X=R);var te=W.__textSvgEl;te||(te=_("text"),W.__textSvgEl=te);var se=te.style,Ce=V.font||t.DEFAULT_FONT,he=te.__computedFont;Ce!==te.__styleFont&&(se.font=te.__styleFont=Ce,he=te.__computedFont=se.font);var xe=V.textPadding,ie=V.textLineHeight,ee=W.__textCotentBlock;(!ee||W.__dirtyText)&&(ee=W.__textCotentBlock=t.parsePlainText(Y,he,xe,ie,V.truncate));var Ze=ee.outerHeight,Se=ee.lineHeight;p.getBoxPosition(P,W,V,X);var Ne=P.baseX,it=P.baseY,Ye=P.textAlign||"left",nt=P.textVerticalAlign;M(te,G,Z,V,X,Ne,it);var je=t.adjustTextY(it,Ze,nt),et=Ne,He=je;xe&&(et=B(Ne,Ye,xe),He+=xe[0]),He+=Se/2,y(te,V,!0,W);var pe=ee.canCacheByTextString,ae=W.__tspanList||(W.__tspanList=[]),re=ae.length;if(pe&&W.__canCacheByTextString&&W.__text===Y){if(W.__dirtyText&&re)for(var be=0;be<re;++be)j(ae[be],Ye,et,He+be*Se)}else{W.__text=Y,W.__canCacheByTextString=pe;for(var ze=ee.lines,Ke=ze.length,be=0;be<Ke;be++){var Te=ae[be],gt=ze[be];Te?Te.__zrText!==gt&&(Te.innerHTML="",Te.appendChild(document.createTextNode(gt))):(Te=ae[be]=_("tspan"),te.appendChild(Te),Te.appendChild(document.createTextNode(gt))),j(Te,Ye,et,He+be*Se)}if(re>Ke){for(;be<re;be++)te.removeChild(ae[be]);ae.length=Ke}}};function M(K,W,X,V,Z,G,Y){C.identity(k),W&&X&&C.copy(k,X);var te=V.textRotation;if(Z&&te){var se=V.textOrigin;se==="center"?(G=Z.width/2+Z.x,Y=Z.height/2+Z.y):se&&(G=se[0]+Z.x,Y=se[1]+Z.y),k[4]-=G,k[5]-=Y,C.rotate(k,k,te),k[4]+=G,k[5]+=Y}v(K,k)}function B(K,W,X){return W==="right"?K-X[1]:W==="center"?K+X[3]/2-X[1]/2:K+X[3]}function j(K,W,X,V){b(K,"dominant-baseline","middle"),b(K,"text-anchor",U[W]),b(K,"x",X),b(K,"y",V)}function H(K){K&&K.__textSvgEl&&(K.__textSvgEl.parentNode&&K.__textSvgEl.parentNode.removeChild(K.__textSvgEl),K.__textSvgEl=null,K.__tspanList=[],K.__text=null)}L.drawRectText=D,L.brush=function(K){var W=K.style;W.text!=null?D(K,!1):H(K)},z.path=x,z.image=T,z.text=L},P4Qj:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.removeSensor=z.getSensor=void 0;var O=E(d("chpo")),_=d("FxDU"),I=d("24YM");function E(h){return h&&h.__esModule?h:{default:h}}var C={},t=function(o){var r=o.getAttribute(I.SizeSensorId);if(r&&C[r])return C[r];var s=(0,O.default)();o.setAttribute(I.SizeSensorId,s);var l=(0,_.createSensor)(o);return C[s]=l,l};z.getSensor=t;var p=function(o){var r=o.element.getAttribute(I.SizeSensorId);o.element.removeAttribute(I.SizeSensorId),o.destroy(),r&&C[r]&&delete C[r]};z.removeSensor=p},P5Jw:function(ue,z,d){"use strict";var O=d("rHrb"),_=O.CopyToClipboard;_.CopyToClipboard=_,ue.exports=_},PArb:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("q1tI"),t=d.n(C),p=d("TSYQ"),h=d.n(p),o=d("H84U"),r=function(l,n){var c={};for(var e in l)Object.prototype.hasOwnProperty.call(l,e)&&n.indexOf(e)<0&&(c[e]=l[e]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,e=Object.getOwnPropertySymbols(l);a<e.length;a++)n.indexOf(e[a])<0&&Object.prototype.propertyIsEnumerable.call(l,e[a])&&(c[e[a]]=l[e[a]]);return c},s=function(n){return C.createElement(o.a,null,function(c){var e,a=c.getPrefixCls,i=c.direction,u=n.prefixCls,f=n.type,m=f===void 0?"horizontal":f,A=n.orientation,g=A===void 0?"center":A,v=n.className,b=n.children,S=n.dashed,y=n.plain,w=r(n,["prefixCls","type","orientation","className","children","dashed","plain"]),x=a("divider",u),T=g.length>0?"-".concat(g):g,L=!!b,R=h()(v,x,"".concat(x,"-").concat(m),(e={},E()(e,"".concat(x,"-with-text"),L),E()(e,"".concat(x,"-with-text").concat(T),L),E()(e,"".concat(x,"-dashed"),!!S),E()(e,"".concat(x,"-plain"),!!y),E()(e,"".concat(x,"-rtl"),i==="rtl"),e));return C.createElement("div",_()({className:R},w,{role:"separator"}),b&&C.createElement("span",{className:"".concat(x,"-inner-text")},b))})};z.a=s},PD8m:function(ue,z){ue.exports={name:"memoryStorage",read:O,write:_,each:I,remove:E,clearAll:C};var d={};function O(t){return d[t]}function _(t,p){d[t]=p}function I(t){for(var p in d)d.hasOwnProperty(p)&&t(d[p],p)}function E(t){delete d[t]}function C(t){d={}}},PEeC:function(ue,z,d){"use strict";d.d(z,"a",function(){return C}),d.d(z,"b",function(){return t});var O=d("RIqP"),_=d.n(O),I=d("xEkU"),E=d.n(I);function C(p){var h,o=function(l){return function(){h=null,p.apply(void 0,_()(l))}},r=function(){if(h==null){for(var l=arguments.length,n=new Array(l),c=0;c<l;c++)n[c]=arguments[c];h=E()(o(n))}};return r.cancel=function(){return E.a.cancel(h)},r}function t(){return function(p,h,o){var r=o.value,s=!1;return{configurable:!0,get:function(){if(s||this===p.prototype||this.hasOwnProperty(h))return r;var n=C(r.bind(this));return s=!0,Object.defineProperty(this,h,{value:n,configurable:!0,writable:!0}),s=!1,n}}}}},PKem:function(ue,z,d){"use strict";d.d(z,"a",function(){return A});var O=d("RIqP"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("pVnL"),t=d.n(C),p=d("lwsE"),h=d.n(p),o=d("W8MJ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d.n(e),i=d("TSYQ"),u=d.n(i),f=d("H84U"),m=function(T,L){var R={};for(var P in T)Object.prototype.hasOwnProperty.call(T,P)&&L.indexOf(P)<0&&(R[P]=T[P]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,P=Object.getOwnPropertySymbols(T);k<P.length;k++)L.indexOf(P[k])<0&&Object.prototype.propertyIsEnumerable.call(T,P[k])&&(R[P[k]]=T[P[k]]);return R},A=e.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function g(T){var L=T.suffixCls,R=T.tagName,P=T.displayName;return function(k){var U;return U=function(D){l()(B,D);var M=c()(B);function B(){var j;return h()(this,B),j=M.apply(this,arguments),j.renderComponent=function(H){var K=H.getPrefixCls,W=j.props.prefixCls,X=K(L,W);return e.createElement(k,t()({prefixCls:X,tagName:R},j.props))},j}return r()(B,[{key:"render",value:function(){return e.createElement(f.a,null,this.renderComponent)}}]),B}(e.Component),U.displayName=P,U}}var v=function(L){var R=L.prefixCls,P=L.className,k=L.children,U=L.tagName,D=m(L,["prefixCls","className","children","tagName"]),M=u()(R,P);return e.createElement(U,t()({className:M},D),k)},b=function(T){l()(R,T);var L=c()(R);function R(){var P;return h()(this,R),P=L.apply(this,arguments),P.state={siders:[]},P.renderComponent=function(k){var U,D=k.direction,M=P.props,B=M.prefixCls,j=M.className,H=M.children,K=M.hasSider,W=M.tagName,X=m(M,["prefixCls","className","children","hasSider","tagName"]),V=u()(B,(U={},E()(U,"".concat(B,"-has-sider"),typeof K=="boolean"?K:P.state.siders.length>0),E()(U,"".concat(B,"-rtl"),D==="rtl"),U),j);return e.createElement(A.Provider,{value:{siderHook:P.getSiderHook()}},e.createElement(W,t()({className:V},X),H))},P}return r()(R,[{key:"getSiderHook",value:function(){var k=this;return{addSider:function(D){k.setState(function(M){return{siders:[].concat(_()(M.siders),[D])}})},removeSider:function(D){k.setState(function(M){return{siders:M.siders.filter(function(B){return B!==D})}})}}}},{key:"render",value:function(){return e.createElement(f.a,null,this.renderComponent)}}]),R}(e.Component),S=g({suffixCls:"layout",tagName:"section",displayName:"Layout"})(b),y=g({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v),w=g({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v),x=g({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);S.Header=y,S.Footer=w,S.Content=x,z.b=S},PNag:function(ue,z,d){var O=d("bYtY"),_=d("SKnc"),I=d("YH21"),E=d("crZl"),C=d("IwbS"),t=d("OELB"),p=d("72pK"),h=d("y7Aq"),o=d("4NO4"),r=t.linearMap,s=O.each,l=Math.min,n=Math.max,c=12,e=6,a=E.extend({type:"visualMap.continuous",init:function(){a.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(b,S,y,w){(!w||w.type!=="selectDataRange"||w.from!==this.uid)&&this._buildView()},_buildView:function(){this.group.removeAll();var b=this.visualMapModel,S=this.group;this._orient=b.get("orient"),this._useHandle=b.get("calculable"),this._resetInterval(),this._renderBar(S);var y=b.get("text");this._renderEndsText(S,y,0),this._renderEndsText(S,y,1),this._updateView(!0),this.renderBackground(S),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(S)},_renderEndsText:function(b,S,y){if(!S)return;var w=S[1-y];w=w!=null?w+"":"";var x=this.visualMapModel,T=x.get("textGap"),L=x.itemSize,R=this._shapes.barGroup,P=this._applyTransform([L[0]/2,y===0?-T:L[1]+T],R),k=this._applyTransform(y===0?"bottom":"top",R),U=this._orient,D=this.visualMapModel.textStyleModel;this.group.add(new C.Text({style:{x:P[0],y:P[1],textVerticalAlign:U==="horizontal"?"middle":k,textAlign:U==="horizontal"?k:"center",text:w,textFont:D.getFont(),textFill:D.getTextColor()}}))},_renderBar:function(b){var S=this.visualMapModel,y=this._shapes,w=S.itemSize,x=this._orient,T=this._useHandle,L=h.getItemAlign(S,this.api,w),R=y.barGroup=this._createBarGroup(L);R.add(y.outOfRange=i()),R.add(y.inRange=i(null,T?g(this._orient):null,O.bind(this._dragHandle,this,"all",!1),O.bind(this._dragHandle,this,"all",!0)));var P=S.textStyleModel.getTextRect("\u56FD"),k=n(P.width,P.height);T&&(y.handleThumbs=[],y.handleLabels=[],y.handleLabelPoints=[],this._createHandle(R,0,w,k,x,L),this._createHandle(R,1,w,k,x,L)),this._createIndicator(R,w,k,x),b.add(R)},_createHandle:function(b,S,y,w,x){var T=O.bind(this._dragHandle,this,S,!1),L=O.bind(this._dragHandle,this,S,!0),R=i(u(S,w),g(this._orient),T,L);R.position[0]=y[0],b.add(R);var P=this.visualMapModel.textStyleModel,k=new C.Text({draggable:!0,drift:T,onmousemove:function(M){I.stop(M.event)},ondragend:L,style:{x:0,y:0,text:"",textFont:P.getFont(),textFill:P.getTextColor()}});this.group.add(k);var U=[x==="horizontal"?w/2:w*1.5,x==="horizontal"?S===0?-(w*1.5):w*1.5:S===0?-w/2:w/2],D=this._shapes;D.handleThumbs[S]=R,D.handleLabelPoints[S]=U,D.handleLabels[S]=k},_createIndicator:function(b,S,y,w){var x=i([[0,0]],"move");x.position[0]=S[0],x.attr({invisible:!0,silent:!0}),b.add(x);var T=this.visualMapModel.textStyleModel,L=new C.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:T.getFont(),textFill:T.getTextColor()}});this.group.add(L);var R=[w==="horizontal"?y/2:e+3,0],P=this._shapes;P.indicator=x,P.indicatorLabel=L,P.indicatorLabelPoint=R},_dragHandle:function(b,S,y,w){if(!this._useHandle)return;if(this._dragging=!S,!S){var x=this._applyTransform([y,w],this._shapes.barGroup,!0);this._updateInterval(b,x[1]),this._updateView()}S===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),S?!this._hovering&&this._clearHoverLinkToSeries():A(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[b],!1)},_resetInterval:function(){var b=this.visualMapModel,S=this._dataInterval=b.getSelected(),y=b.getExtent(),w=[0,b.itemSize[1]];this._handleEnds=[r(S[0],y,w,!0),r(S[1],y,w,!0)]},_updateInterval:function(b,S){S=S||0;var y=this.visualMapModel,w=this._handleEnds,x=[0,y.itemSize[1]];p(S,w,x,b,0);var T=y.getExtent();this._dataInterval=[r(w[0],x,T,!0),r(w[1],x,T,!0)]},_updateView:function(b){var S=this.visualMapModel,y=S.getExtent(),w=this._shapes,x=[0,S.itemSize[1]],T=b?x:this._handleEnds,L=this._createBarVisual(this._dataInterval,y,T,"inRange"),R=this._createBarVisual(y,y,x,"outOfRange");w.inRange.setStyle({fill:L.barColor,opacity:L.opacity}).setShape("points",L.barPoints),w.outOfRange.setStyle({fill:R.barColor,opacity:R.opacity}).setShape("points",R.barPoints),this._updateHandle(T,L)},_createBarVisual:function(b,S,y,w){var x={forceState:w,convertOpacityToAlpha:!0},T=this._makeColorGradient(b,x),L=[this.getControllerVisual(b[0],"symbolSize",x),this.getControllerVisual(b[1],"symbolSize",x)],R=this._createBarPoints(y,L);return{barColor:new _(0,0,0,1,T),barPoints:R,handlesColor:[T[0].color,T[T.length-1].color]}},_makeColorGradient:function(b,S){var y=100,w=[],x=(b[1]-b[0])/y;w.push({color:this.getControllerVisual(b[0],"color",S),offset:0});for(var T=1;T<y;T++){var L=b[0]+x*T;if(L>b[1])break;w.push({color:this.getControllerVisual(L,"color",S),offset:T/y})}return w.push({color:this.getControllerVisual(b[1],"color",S),offset:1}),w},_createBarPoints:function(b,S){var y=this.visualMapModel.itemSize;return[[y[0]-S[0],b[0]],[y[0],b[0]],[y[0],b[1]],[y[0]-S[1],b[1]]]},_createBarGroup:function(b){var S=this._orient,y=this.visualMapModel.get("inverse");return new C.Group(S==="horizontal"&&!y?{scale:b==="bottom"?[1,1]:[-1,1],rotation:Math.PI/2}:S==="horizontal"&&y?{scale:b==="bottom"?[-1,1]:[1,1],rotation:-Math.PI/2}:S==="vertical"&&!y?{scale:b==="left"?[1,-1]:[-1,-1]}:{scale:b==="left"?[1,1]:[-1,1]})},_updateHandle:function(b,S){if(!this._useHandle)return;var y=this._shapes,w=this.visualMapModel,x=y.handleThumbs,T=y.handleLabels;s([0,1],function(L){var R=x[L];R.setStyle("fill",S.handlesColor[L]),R.position[1]=b[L];var P=C.applyTransform(y.handleLabelPoints[L],C.getTransform(R,this.group));T[L].setStyle({x:P[0],y:P[1],text:w.formatValueText(this._dataInterval[L]),textVerticalAlign:"middle",textAlign:this._applyTransform(this._orient==="horizontal"?L===0?"bottom":"top":"left",y.barGroup)})},this)},_showIndicator:function(b,S,y,w){var x=this.visualMapModel,T=x.getExtent(),L=x.itemSize,R=[0,L[1]],P=r(b,T,R,!0),k=this._shapes,U=k.indicator;if(!U)return;U.position[1]=P,U.attr("invisible",!1),U.setShape("points",f(!!y,w,P,L[1]));var D={convertOpacityToAlpha:!0},M=this.getControllerVisual(b,"color",D);U.setStyle("fill",M);var B=C.applyTransform(k.indicatorLabelPoint,C.getTransform(U,this.group)),j=k.indicatorLabel;j.attr("invisible",!1);var H=this._applyTransform("left",k.barGroup),K=this._orient;j.setStyle({text:(y||"")+x.formatValueText(S),textVerticalAlign:K==="horizontal"?H:"middle",textAlign:K==="horizontal"?"center":H,x:B[0],y:B[1]})},_enableHoverLinkToSeries:function(){var b=this;this._shapes.barGroup.on("mousemove",function(S){if(b._hovering=!0,!b._dragging){var y=b.visualMapModel.itemSize,w=b._applyTransform([S.offsetX,S.offsetY],b._shapes.barGroup,!0,!0);w[1]=l(n(0,w[1]),y[1]),b._doHoverLinkToSeries(w[1],0<=w[0]&&w[0]<=y[0])}}).on("mouseout",function(){b._hovering=!1,!b._dragging&&b._clearHoverLinkToSeries()})},_enableHoverLinkFromSeries:function(){var b=this.api.getZr();this.visualMapModel.option.hoverLink?(b.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),b.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(b,S){var y=this.visualMapModel,w=y.itemSize;if(!y.option.hoverLink)return;var x=[0,w[1]],T=y.getExtent();b=l(n(x[0],b),x[1]);var L=m(y,T,x),R=[b-L,b+L],P=r(b,x,T,!0),k=[r(R[0],x,T,!0),r(R[1],x,T,!0)];R[0]<x[0]&&(k[0]=-Infinity),R[1]>x[1]&&(k[1]=Infinity),S&&(k[0]===-Infinity?this._showIndicator(P,k[1],"< ",L):k[1]===Infinity?this._showIndicator(P,k[0],"> ",L):this._showIndicator(P,P,"\u2248 ",L));var U=this._hoverLinkDataIndices,D=[];(S||A(y))&&(D=this._hoverLinkDataIndices=y.findTargetDataIndices(k));var M=o.compressBatches(U,D);this._dispatchHighDown("downplay",h.makeHighDownBatch(M[0],y)),this._dispatchHighDown("highlight",h.makeHighDownBatch(M[1],y))},_hoverLinkFromSeriesMouseOver:function(b){var S=b.target,y=this.visualMapModel;if(!S||S.dataIndex==null)return;var w=this.ecModel.getSeriesByIndex(S.seriesIndex);if(!y.isTargetSeries(w))return;var x=w.getData(S.dataType),T=x.get(y.getDataDimension(x),S.dataIndex,!0);isNaN(T)||this._showIndicator(T,T)},_hideIndicator:function(){var b=this._shapes;b.indicator&&b.indicator.attr("invisible",!0),b.indicatorLabel&&b.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var b=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",h.makeHighDownBatch(b,this.visualMapModel)),b.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var b=this.api.getZr();b.off("mouseover",this._hoverLinkFromSeriesMouseOver),b.off("mouseout",this._hideIndicator)},_applyTransform:function(b,S,y,w){var x=C.getTransform(S,w?null:this.group);return C[O.isArray(b)?"applyTransform":"transformDirection"](b,x,y)},_dispatchHighDown:function(b,S){S&&S.length&&this.api.dispatchAction({type:b,batch:S})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function i(b,S,y,w){return new C.Polygon({shape:{points:b},draggable:!!y,cursor:S,drift:y,onmousemove:function(x){I.stop(x.event)},ondragend:w})}function u(b,S){return b===0?[[0,0],[S,0],[S,-S]]:[[0,0],[S,0],[S,S]]}function f(b,S,y,w){return b?[[0,-l(S,n(y,0))],[e,0],[0,l(S,n(w-y,0))]]:[[0,0],[5,-5],[5,5]]}function m(b,S,y){var w=c/2,x=b.get("hoverLinkDataSize");return x&&(w=r(x,S,y,!0)/2),w}function A(b){var S=b.get("hoverLinkOnHandle");return!!(S==null?b.get("realtime"):S)}function g(b){return b==="vertical"?"ns-resize":"ew-resize"}var v=a;ue.exports=v},PQMj:function(ue,z,d){},PSzr:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},ProS:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("aX58"),E=d("bYtY"),C=d("Qe9p"),t=d("ItGF"),p=d("BPZU"),h=d("H6uX"),o=d("fmMI"),r=d("hD7B"),s=d("IDmD"),l=d("ypgQ"),n=d("+wW9"),c=d("0V0F"),e=d("bLfw"),a=d("T4UG"),i=d("sS/r"),u=d("6Ic6"),f=d("IwbS"),m=d("4NO4"),A=d("iLNv"),g=A.throttle,v=d("/WM3"),b=d("uAnK"),S=d("mYwL"),y=d("af/B"),w=d("xTNl"),x=d("8hn6");d("A1Ka");var T=d("7DRL"),L=E.assert,R=E.each,P=E.isFunction,k=E.isObject,U=e.parseClassType,D="4.8.0",M={zrender:"4.3.1"},B=1,j=1e3,H=800,K=900,W=5e3,X=1e3,V=1100,Z=2e3,G=3e3,Y=3500,te=4e3,se=5e3,Ce={PROCESSOR:{FILTER:j,SERIES_FILTER:H,STATISTIC:W},VISUAL:{LAYOUT:X,PROGRESSIVE_LAYOUT:V,GLOBAL:Z,CHART:G,POST_CHART_LAYOUT:Y,COMPONENT:te,BRUSH:se}},he="__flagInMainProcess",xe="__optionUpdated",ie=/^[a-zA-Z0-9_]+$/;function ee(At,Ft){return function(pr,or,ir){if(!Ft&&this._disposed){wt(this.id);return}pr=pr&&pr.toLowerCase(),h.prototype[At].call(this,pr,or,ir)}}function Ze(){h.call(this)}Ze.prototype.on=ee("on",!0),Ze.prototype.off=ee("off",!0),Ze.prototype.one=ee("one",!0),E.mixin(Ze,h);function Se(At,Ft,pr){pr=pr||{},typeof Ft=="string"&&(Ft=lt[Ft]),this.id,this.group,this._dom=At;var or="canvas",ir=this._zr=I.init(At,{renderer:pr.renderer||or,devicePixelRatio:pr.devicePixelRatio,width:pr.width,height:pr.height});this._throttledZrFlush=g(E.bind(ir.flush,ir),17);var Ft=E.clone(Ft);Ft&&n(Ft,!0),this._theme=Ft,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new s;var Yr=this._api=Be(this);function Jr(_n,Nn){return _n.__prio-Nn.__prio}p(tr,Jr),p(Ve,Jr),this._scheduler=new y(this,Yr,Ve,tr),h.call(this,this._ecEventProcessor=new ce),this._messageCenter=new Ze,this._initEvents(),this.resize=E.bind(this.resize,this),this._pendingActions=[],ir.animation.on("frame",this._onframe,this),re(ir,this),E.setAsPrimitive(this)}var Ne=Se.prototype;Ne._onframe=function(){if(this._disposed)return;var At=this._scheduler;if(this[xe]){var Ft=this[xe].silent;this[he]=!0,nt(this),Ye.update.call(this),this[he]=!1,this[xe]=!1,pe.call(this,Ft),ae.call(this,Ft)}else if(At.unfinished){var pr=B,or=this._model,ir=this._api;At.unfinished=!1;do{var Yr=+new Date;At.performSeriesTasks(or),At.performDataProcessorTasks(or),et(this,or),At.performVisualTasks(or),gt(this,this._model,ir,"remain"),pr-=+new Date-Yr}while(pr>0&&At.unfinished);At.unfinished||this._zr.flush()}},Ne.getDom=function(){return this._dom},Ne.getZr=function(){return this._zr},Ne.setOption=function(At,Ft,pr){if(this._disposed){wt(this.id);return}var or;if(k(Ft)&&(pr=Ft.lazyUpdate,or=Ft.silent,Ft=Ft.notMerge),this[he]=!0,!this._model||Ft){var ir=new l(this._api),Yr=this._theme,Jr=this._model=new o;Jr.scheduler=this._scheduler,Jr.init(null,null,Yr,ir)}this._model.setOption(At,de),pr?(this[xe]={silent:or},this[he]=!1):(nt(this),Ye.update.call(this),this._zr.flush(),this[xe]=!1,this[he]=!1,pe.call(this,or),ae.call(this,or))},Ne.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Ne.getModel=function(){return this._model},Ne.getOption=function(){return this._model&&this._model.getOption()},Ne.getWidth=function(){return this._zr.getWidth()},Ne.getHeight=function(){return this._zr.getHeight()},Ne.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Ne.getRenderedCanvas=function(At){if(!t.canvasSupported)return;At=At||{},At.pixelRatio=At.pixelRatio||1,At.backgroundColor=At.backgroundColor||this._model.get("backgroundColor");var Ft=this._zr;return Ft.painter.getRenderedCanvas(At)},Ne.getSvgDataURL=function(){if(!t.svgSupported)return;var At=this._zr,Ft=At.storage.getDisplayList();return E.each(Ft,function(pr){pr.stopAnimation(!0)}),At.painter.toDataURL()},Ne.getDataURL=function(At){if(this._disposed){wt(this.id);return}At=At||{};var Ft=At.excludeComponents,pr=this._model,or=[],ir=this;R(Ft,function(Jr){pr.eachComponent({mainType:Jr},function(_n){var Nn=ir._componentsMap[_n.__viewId];Nn.group.ignore||(or.push(Nn),Nn.group.ignore=!0)})});var Yr=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.getRenderedCanvas(At).toDataURL("image/"+(At&&At.type||"png"));return R(or,function(Jr){Jr.group.ignore=!1}),Yr},Ne.getConnectedDataURL=function(At){if(this._disposed){wt(this.id);return}if(!t.canvasSupported)return;var Ft=At.type==="svg",pr=this.group,or=Math.min,ir=Math.max,Yr=Infinity;if(Kr[pr]){var Jr=Yr,_n=Yr,Nn=-Yr,zn=-Yr,ei=[],vi=At&&At.pixelRatio||1;E.each(sr,function(We,Fe){if(We.group===pr){var Je=Ft?We.getZr().painter.getSvgDom().innerHTML:We.getRenderedCanvas(E.clone(At)),vt=We.getDom().getBoundingClientRect();Jr=or(vt.left,Jr),_n=or(vt.top,_n),Nn=ir(vt.right,Nn),zn=ir(vt.bottom,zn),ei.push({dom:Je,left:vt.left,top:vt.top})}}),Jr*=vi,_n*=vi,Nn*=vi,zn*=vi;var Pi=Nn-Jr,Ge=zn-_n,we=E.createCanvas(),Le=I.init(we,{renderer:Ft?"svg":"canvas"});if(Le.resize({width:Pi,height:Ge}),Ft){var De="";return R(ei,function(We){var Fe=We.left-Jr,Je=We.top-_n;De+='<g transform="translate('+Fe+","+Je+')">'+We.dom+"</g>"}),Le.painter.getSvgRoot().innerHTML=De,At.connectedBackgroundColor&&Le.painter.setBackgroundColor(At.connectedBackgroundColor),Le.refreshImmediately(),Le.painter.toDataURL()}else return At.connectedBackgroundColor&&Le.add(new f.Rect({shape:{x:0,y:0,width:Pi,height:Ge},style:{fill:At.connectedBackgroundColor}})),R(ei,function(We){var Fe=new f.Image({style:{x:We.left*vi-Jr,y:We.top*vi-_n,image:We.dom}});Le.add(Fe)}),Le.refreshImmediately(),we.toDataURL("image/"+(At&&At.type||"png"))}else return this.getDataURL(At)},Ne.convertToPixel=E.curry(it,"convertToPixel"),Ne.convertFromPixel=E.curry(it,"convertFromPixel");function it(At,Ft,pr){if(this._disposed){wt(this.id);return}var or=this._model,ir=this._coordSysMgr.getCoordinateSystems(),Yr;Ft=m.parseFinder(or,Ft);for(var Jr=0;Jr<ir.length;Jr++){var _n=ir[Jr];if(_n[At]&&(Yr=_n[At](or,Ft,pr))!=null)return Yr}}Ne.containPixel=function(At,Ft){if(this._disposed){wt(this.id);return}var pr=this._model,or;return At=m.parseFinder(pr,At),E.each(At,function(ir,Yr){Yr.indexOf("Models")>=0&&E.each(ir,function(Jr){var _n=Jr.coordinateSystem;if(_n&&_n.containPoint)or|=!!_n.containPoint(Ft);else if(Yr==="seriesModels"){var Nn=this._chartsMap[Jr.__viewId];Nn&&Nn.containPoint&&(or|=Nn.containPoint(Ft,Jr))}},this)},this),!!or},Ne.getVisual=function(At,Ft){var pr=this._model;At=m.parseFinder(pr,At,{defaultMainType:"series"});var or=At.seriesModel,ir=or.getData(),Yr=At.hasOwnProperty("dataIndexInside")?At.dataIndexInside:At.hasOwnProperty("dataIndex")?ir.indexOfRawIndex(At.dataIndex):null;return Yr!=null?ir.getItemVisual(Yr,Ft):ir.getVisual(Ft)},Ne.getViewOfComponentModel=function(At){return this._componentsMap[At.__viewId]},Ne.getViewOfSeriesModel=function(At){return this._chartsMap[At.__viewId]};var Ye={prepareAndUpdate:function(At){nt(this),Ye.update.call(this,At)},update:function(At){var Ft=this._model,pr=this._api,or=this._zr,ir=this._coordSysMgr,Yr=this._scheduler;if(!Ft)return;Yr.restoreData(Ft,At),Yr.performSeriesTasks(Ft),ir.create(Ft,pr),Yr.performDataProcessorTasks(Ft,At),et(this,Ft),ir.update(Ft,pr),ze(Ft),Yr.performVisualTasks(Ft,At),Ke(this,Ft,pr,At);var Jr=Ft.get("backgroundColor")||"transparent";if(t.canvasSupported)or.setBackgroundColor(Jr);else{var _n=C.parse(Jr);Jr=C.stringify(_n,"rgb"),_n[3]===0&&(Jr="transparent")}Ue(Ft,pr)},updateTransform:function(At){var Ft=this._model,pr=this,or=this._api;if(!Ft)return;var ir=[];Ft.eachComponent(function(Jr,_n){var Nn=pr.getViewOfComponentModel(_n);if(Nn&&Nn.__alive)if(Nn.updateTransform){var zn=Nn.updateTransform(_n,Ft,or,At);zn&&zn.update&&ir.push(Nn)}else ir.push(Nn)});var Yr=E.createHashMap();Ft.eachSeries(function(Jr){var _n=pr._chartsMap[Jr.__viewId];if(_n.updateTransform){var Nn=_n.updateTransform(Jr,Ft,or,At);Nn&&Nn.update&&Yr.set(Jr.uid,1)}else Yr.set(Jr.uid,1)}),ze(Ft),this._scheduler.performVisualTasks(Ft,At,{setDirty:!0,dirtyMap:Yr}),gt(pr,Ft,or,At,Yr),Ue(Ft,this._api)},updateView:function(At){var Ft=this._model;if(!Ft)return;u.markUpdateMethod(At,"updateView"),ze(Ft),this._scheduler.performVisualTasks(Ft,At,{setDirty:!0}),Ke(this,this._model,this._api,At),Ue(Ft,this._api)},updateVisual:function(At){Ye.update.call(this,At)},updateLayout:function(At){Ye.update.call(this,At)}};function nt(At){var Ft=At._model,pr=At._scheduler;pr.restorePipelines(Ft),pr.prepareStageTasks(),be(At,"component",Ft,pr),be(At,"chart",Ft,pr),pr.plan()}function je(At,Ft,pr,or,ir){var Yr=At._model;if(!or){R(At._componentsViews.concat(At._chartsViews),zn);return}var Jr={};Jr[or+"Id"]=pr[or+"Id"],Jr[or+"Index"]=pr[or+"Index"],Jr[or+"Name"]=pr[or+"Name"];var _n={mainType:or,query:Jr};ir&&(_n.subType=ir);var Nn=pr.excludeSeriesId;Nn!=null&&(Nn=E.createHashMap(m.normalizeToArray(Nn))),Yr&&Yr.eachComponent(_n,function(ei){(!Nn||Nn.get(ei.id)==null)&&zn(At[or==="series"?"_chartsMap":"_componentsMap"][ei.__viewId])},At);function zn(ei){ei&&ei.__alive&&ei[Ft]&&ei[Ft](ei.__model,Yr,At._api,pr)}}Ne.resize=function(At){if(this._disposed){wt(this.id);return}this._zr.resize(At);var Ft=this._model;if(this._loadingFX&&this._loadingFX.resize(),!Ft)return;var pr=Ft.resetOption("media"),or=At&&At.silent;this[he]=!0,pr&&nt(this),Ye.update.call(this),this[he]=!1,pe.call(this,or),ae.call(this,or)};function et(At,Ft){var pr=At._chartsMap,or=At._scheduler;Ft.eachSeries(function(ir){or.updateStreamModes(ir,pr[ir.__viewId])})}Ne.showLoading=function(At,Ft){if(this._disposed){wt(this.id);return}if(k(At)&&(Ft=At,At=""),At=At||"default",this.hideLoading(),!Xt[At])return;var pr=Xt[At](this._api,Ft),or=this._zr;this._loadingFX=pr,or.add(pr)},Ne.hideLoading=function(){if(this._disposed){wt(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},Ne.makeActionFromEvent=function(At){var Ft=E.extend({},At);return Ft.type=dt[At.type],Ft},Ne.dispatchAction=function(At,Ft){if(this._disposed){wt(this.id);return}if(k(Ft)||(Ft={silent:!!Ft}),!q[At.type])return;if(!this._model)return;if(this[he]){this._pendingActions.push(At);return}He.call(this,At,Ft.silent),Ft.flush?this._zr.flush(!0):Ft.flush!==!1&&t.browser.weChat&&this._throttledZrFlush(),pe.call(this,Ft.silent),ae.call(this,Ft.silent)};function He(At,Ft){var pr=At.type,or=At.escapeConnect,ir=q[pr],Yr=ir.actionInfo,Jr=(Yr.update||"update").split(":"),_n=Jr.pop();Jr=Jr[0]!=null&&U(Jr[0]),this[he]=!0;var Nn=[At],zn=!1;At.batch&&(zn=!0,Nn=E.map(At.batch,function(Ge){return Ge=E.defaults(E.extend({},Ge),At),Ge.batch=null,Ge}));var ei=[],vi,Pi=pr==="highlight"||pr==="downplay";R(Nn,function(Ge){vi=ir.action(Ge,this._model,this._api),vi=vi||E.extend({},Ge),vi.type=Yr.event||vi.type,ei.push(vi),Pi?je(this,_n,Ge,"series"):Jr&&je(this,_n,Ge,Jr.main,Jr.sub)},this),_n!=="none"&&!Pi&&!Jr&&(this[xe]?(nt(this),Ye.update.call(this,At),this[xe]=!1):Ye[_n].call(this,At)),zn?vi={type:Yr.event||pr,escapeConnect:or,batch:ei}:vi=ei[0],this[he]=!1,!Ft&&this._messageCenter.trigger(vi.type,vi)}function pe(At){for(var Ft=this._pendingActions;Ft.length;){var pr=Ft.shift();He.call(this,pr,At)}}function ae(At){!At&&this.trigger("updated")}function re(At,Ft){At.on("rendered",function(){Ft.trigger("rendered"),At.animation.isFinished()&&!Ft[xe]&&!Ft._scheduler.unfinished&&!Ft._pendingActions.length&&Ft.trigger("finished")})}Ne.appendData=function(At){if(this._disposed){wt(this.id);return}var Ft=At.seriesIndex,pr=this.getModel(),or=pr.getSeriesByIndex(Ft);or.appendData(At),this._scheduler.unfinished=!0},Ne.on=ee("on",!1),Ne.off=ee("off",!1),Ne.one=ee("one",!1);function be(At,Ft,pr,or){for(var ir=Ft==="component",Yr=ir?At._componentsViews:At._chartsViews,Jr=ir?At._componentsMap:At._chartsMap,_n=At._zr,Nn=At._api,zn=0;zn<Yr.length;zn++)Yr[zn].__alive=!1;ir?pr.eachComponent(function(Pi,Ge){Pi!=="series"&&ei(Ge)}):pr.eachSeries(ei);function ei(Pi){var Ge="_ec_"+Pi.id+"_"+Pi.type,we=Jr[Ge];if(!we){var Le=U(Pi.type),De=ir?i.getClass(Le.main,Le.sub):u.getClass(Le.sub);we=new De,we.init(pr,Nn),Jr[Ge]=we,Yr.push(we),_n.add(we.group)}Pi.__viewId=we.__id=Ge,we.__alive=!0,we.__model=Pi,we.group.__ecComponentInfo={mainType:Pi.mainType,index:Pi.componentIndex},!ir&&or.prepareView(we,Pi,pr,Nn)}for(var zn=0;zn<Yr.length;){var vi=Yr[zn];vi.__alive?zn++:(!ir&&vi.renderTask.dispose(),_n.remove(vi.group),vi.dispose(pr,Nn),Yr.splice(zn,1),delete Jr[vi.__id],vi.__id=vi.group.__ecComponentInfo=null)}}function ze(At){At.clearColorPalette(),At.eachSeries(function(Ft){Ft.clearColorPalette()})}function Ke(At,Ft,pr,or){Te(At,Ft,pr,or),R(At._chartsViews,function(ir){ir.__alive=!1}),gt(At,Ft,pr,or),R(At._chartsViews,function(ir){ir.__alive||ir.remove(Ft,pr)})}function Te(At,Ft,pr,or,ir){R(ir||At._componentsViews,function(Yr){var Jr=Yr.__model;Yr.render(Jr,Ft,pr,or),Tt(Jr,Yr)})}function gt(At,Ft,pr,or,ir){var Yr=At._scheduler,Jr;Ft.eachSeries(function(_n){var Nn=At._chartsMap[_n.__viewId];Nn.__alive=!0;var zn=Nn.renderTask;Yr.updatePayload(zn,or),ir&&ir.get(_n.uid)&&zn.dirty(),Jr|=zn.perform(Yr.getPerformArgs(zn)),Nn.group.silent=!!_n.get("silent"),Tt(_n,Nn),xt(_n,Nn)}),Yr.unfinished|=Jr,Et(At,Ft),b(At._zr.dom,Ft)}function Ue(At,Ft){R(Ht,function(pr){pr(At,Ft)})}var bt=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];Ne._initEvents=function(){R(bt,function(At){var Ft=function(pr){var or=this.getModel(),ir=pr.target,Yr,Jr=At==="globalout";if(Jr)Yr={};else if(ir&&ir.dataIndex!=null){var _n=ir.dataModel||or.getSeriesByIndex(ir.seriesIndex);Yr=_n&&_n.getDataParams(ir.dataIndex,ir.dataType,ir)||{}}else ir&&ir.eventData&&(Yr=E.extend({},ir.eventData));if(Yr){var Nn=Yr.componentType,zn=Yr.componentIndex;(Nn==="markLine"||Nn==="markPoint"||Nn==="markArea")&&(Nn="series",zn=Yr.seriesIndex);var ei=Nn&&zn!=null&&or.getComponent(Nn,zn),vi=ei&&this[ei.mainType==="series"?"_chartsMap":"_componentsMap"][ei.__viewId];Yr.event=pr,Yr.type=At,this._ecEventProcessor.eventInfo={targetEl:ir,packedEvent:Yr,model:ei,view:vi},this.trigger(At,Yr)}};Ft.zrEventfulCallAtLast=!0,this._zr.on(At,Ft,this)},this),R(dt,function(At,Ft){this._messageCenter.on(Ft,function(pr){this.trigger(Ft,pr)},this)},this)},Ne.isDisposed=function(){return this._disposed},Ne.clear=function(){if(this._disposed){wt(this.id);return}this.setOption({series:[]},!0)},Ne.dispose=function(){if(this._disposed){wt(this.id);return}this._disposed=!0,m.setAttribute(this.getDom(),Nt,"");var At=this._api,Ft=this._model;R(this._componentsViews,function(pr){pr.dispose(Ft,At)}),R(this._chartsViews,function(pr){pr.dispose(Ft,At)}),this._zr.dispose(),delete sr[this.id]},E.mixin(Se,h);function wt(At){}function Et(At,Ft){var pr=At._zr,or=pr.storage,ir=0;or.traverse(function(Yr){ir++}),ir>Ft.get("hoverLayerThreshold")&&!t.node&&Ft.eachSeries(function(Yr){if(Yr.preventUsingHoverLayer)return;var Jr=At._chartsMap[Yr.__viewId];Jr.__alive&&Jr.group.traverse(function(_n){_n.useHoverLayer=!0})})}function xt(At,Ft){var pr=At.get("blendMode")||null;Ft.group.traverse(function(or){or.isGroup||or.style.blend!==pr&&or.setStyle("blend",pr),or.eachPendingDisplayable&&or.eachPendingDisplayable(function(ir){ir.setStyle("blend",pr)})})}function Tt(At,Ft){var pr=At.get("z"),or=At.get("zlevel");Ft.group.traverse(function(ir){ir.type!=="group"&&(pr!=null&&(ir.z=pr),or!=null&&(ir.zlevel=or))})}function Be(At){var Ft=At._coordSysMgr;return E.extend(new r(At),{getCoordinateSystems:E.bind(Ft.getCoordinateSystems,Ft),getComponentByElement:function(pr){for(;pr;){var or=pr.__ecComponentInfo;if(or!=null)return At._model.getComponent(or.mainType,or.index);pr=pr.parent}}})}function ce(){this.eventInfo}ce.prototype={constructor:ce,normalizeQuery:function(At){var Ft={},pr={},or={};if(E.isString(At)){var ir=U(At);Ft.mainType=ir.main||null,Ft.subType=ir.sub||null}else{var Yr=["Index","Name","Id"],Jr={name:1,dataIndex:1,dataType:1};E.each(At,function(_n,Nn){for(var zn=!1,ei=0;ei<Yr.length;ei++){var vi=Yr[ei],Pi=Nn.lastIndexOf(vi);if(Pi>0&&Pi===Nn.length-vi.length){var Ge=Nn.slice(0,Pi);Ge!=="data"&&(Ft.mainType=Ge,Ft[vi.toLowerCase()]=_n,zn=!0)}}Jr.hasOwnProperty(Nn)&&(pr[Nn]=_n,zn=!0),zn||(or[Nn]=_n)})}return{cptQuery:Ft,dataQuery:pr,otherQuery:or}},filter:function(At,Ft,pr){var or=this.eventInfo;if(!or)return!0;var ir=or.targetEl,Yr=or.packedEvent,Jr=or.model,_n=or.view;if(!Jr||!_n)return!0;var Nn=Ft.cptQuery,zn=Ft.dataQuery;return ei(Nn,Jr,"mainType")&&ei(Nn,Jr,"subType")&&ei(Nn,Jr,"index","componentIndex")&&ei(Nn,Jr,"name")&&ei(Nn,Jr,"id")&&ei(zn,Yr,"name")&&ei(zn,Yr,"dataIndex")&&ei(zn,Yr,"dataType")&&(!_n.filterForExposedEvent||_n.filterForExposedEvent(At,Ft.otherQuery,ir,Yr));function ei(vi,Pi,Ge,we){return vi[Ge]==null||Pi[we||Ge]===vi[Ge]}},afterTrigger:function(){this.eventInfo=null}};var q={},dt={},Ve=[],de=[],Ht=[],tr=[],lt={},Xt={},sr={},Kr={},rr=new Date-0,nr=new Date-0,Nt="_echarts_instance_";function ot(At){var Ft=0,pr=1,or=2,ir="__connectUpdateStatus";function Yr(Jr,_n){for(var Nn=0;Nn<Jr.length;Nn++){var zn=Jr[Nn];zn[ir]=_n}}R(dt,function(Jr,_n){At._messageCenter.on(_n,function(Nn){if(Kr[At.group]&&At[ir]!==Ft){if(Nn&&Nn.escapeConnect)return;var zn=At.makeActionFromEvent(Nn),ei=[];R(sr,function(vi){vi!==At&&vi.group===At.group&&ei.push(vi)}),Yr(ei,Ft),R(ei,function(vi){vi[ir]!==pr&&vi.dispatchAction(zn)}),Yr(ei,or)}})})}function Qe(At,Ft,pr){var or=An(At);if(or)return or;var ir=new Se(At,Ft,pr);return ir.id="ec_"+rr++,sr[ir.id]=ir,m.setAttribute(At,Nt,ir.id),ot(ir),ir}function qt(At){if(E.isArray(At)){var Ft=At;At=null,R(Ft,function(pr){pr.group!=null&&(At=pr.group)}),At=At||"g_"+nr++,R(Ft,function(pr){pr.group=At})}return Kr[At]=!0,At}function xr(At){Kr[At]=!1}var vr=xr;function fr(At){typeof At=="string"?At=sr[At]:At instanceof Se||(At=An(At)),At instanceof Se&&!At.isDisposed()&&At.dispose()}function An(At){return sr[m.getAttribute(At,Nt)]}function $r(At){return sr[At]}function Ln(At,Ft){lt[At]=Ft}function $e(At){de.push(At)}function tt(At,Ft){Gt(Ve,At,Ft,j)}function ve(At){Ht.push(At)}function _e(At,Ft,pr){typeof Ft=="function"&&(pr=Ft,Ft="");var or=k(At)?At.type:[At,At={event:Ft}][0];At.event=(At.event||or).toLowerCase(),Ft=At.event,L(ie.test(or)&&ie.test(Ft)),q[or]||(q[or]={action:pr,actionInfo:At}),dt[Ft]=or}function ke(At,Ft){s.register(At,Ft)}function rt(At){var Ft=s.get(At);if(Ft)return Ft.getDimensionsInfo?Ft.getDimensionsInfo():Ft.dimensions.slice()}function Wt(At,Ft){Gt(tr,At,Ft,X,"layout")}function Bt(At,Ft){Gt(tr,At,Ft,G,"visual")}function Gt(At,Ft,pr,or,ir){(P(Ft)||k(Ft))&&(pr=Ft,Ft=or);var Yr=y.wrapStageHandler(pr,ir);return Yr.__prio=Ft,Yr.__raw=pr,At.push(Yr),Yr}function Rr(At,Ft){Xt[At]=Ft}function Pr(At){return e.extend(At)}function cn(At){return i.extend(At)}function Ut(At){return a.extend(At)}function pt(At){return u.extend(At)}function ct(At){E.$override("createCanvas",At)}function Qt(At,Ft,pr){T.registerMap(At,Ft,pr)}function Jt(At){var Ft=T.retrieveMap(At);return Ft&&Ft[0]&&{geoJson:Ft[0].geoJSON,specialAreas:Ft[0].specialAreas}}Bt(Z,v),$e(n),tt(K,c),Rr("default",S),_e({type:"highlight",event:"highlight",update:"highlight"},E.noop),_e({type:"downplay",event:"downplay",update:"downplay"},E.noop),Ln("light",w),Ln("dark",x);var yt={};z.version=D,z.dependencies=M,z.PRIORITY=Ce,z.init=Qe,z.connect=qt,z.disConnect=xr,z.disconnect=vr,z.dispose=fr,z.getInstanceByDom=An,z.getInstanceById=$r,z.registerTheme=Ln,z.registerPreprocessor=$e,z.registerProcessor=tt,z.registerPostUpdate=ve,z.registerAction=_e,z.registerCoordinateSystem=ke,z.getCoordinateSystemDimensions=rt,z.registerLayout=Wt,z.registerVisual=Bt,z.registerLoading=Rr,z.extendComponentModel=Pr,z.extendComponentView=cn,z.extendSeriesModel=Ut,z.extendChartView=pt,z.setCanvasCreator=ct,z.registerMap=Qt,z.getMap=Jt,z.dataTool=yt;var Pt=d("txkQ");(function(){for(var At in Pt)Pt.hasOwnProperty(At)&&(z[At]=Pt[At])})()},"Pv/L":function(ue,z,d){"use strict";d.d(z,"a",function(){return C});var O=d("+kx5"),_=d("Y9hK"),I=d("Qw5x"),E=d("u6e6");function C(t){return Object(O.a)(t)||Object(_.a)(t)||Object(I.a)(t)||Object(E.a)()}},Pw59:function(ue,z,d){"use strict";var O=d("q1tI"),_=d.n(O),I=Object(O.createContext)({});z.a=I},Q7if:function(ue,z,d){var O=d("JEkh"),_=O.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"}}}});ue.exports=_},Q9mQ:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("UADf"),E=d.n(I)},"QB+1":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("Ywus"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},QBsz:function(ue,z){var d=typeof Float32Array=="undefined"?Array:Float32Array;function O(y,w){var x=new d(2);return y==null&&(y=0),w==null&&(w=0),x[0]=y,x[1]=w,x}function _(y,w){return y[0]=w[0],y[1]=w[1],y}function I(y){var w=new d(2);return w[0]=y[0],w[1]=y[1],w}function E(y,w,x){return y[0]=w,y[1]=x,y}function C(y,w,x){return y[0]=w[0]+x[0],y[1]=w[1]+x[1],y}function t(y,w,x,T){return y[0]=w[0]+x[0]*T,y[1]=w[1]+x[1]*T,y}function p(y,w,x){return y[0]=w[0]-x[0],y[1]=w[1]-x[1],y}function h(y){return Math.sqrt(r(y))}var o=h;function r(y){return y[0]*y[0]+y[1]*y[1]}var s=r;function l(y,w,x){return y[0]=w[0]*x[0],y[1]=w[1]*x[1],y}function n(y,w,x){return y[0]=w[0]/x[0],y[1]=w[1]/x[1],y}function c(y,w){return y[0]*w[0]+y[1]*w[1]}function e(y,w,x){return y[0]=w[0]*x,y[1]=w[1]*x,y}function a(y,w){var x=h(w);return x===0?(y[0]=0,y[1]=0):(y[0]=w[0]/x,y[1]=w[1]/x),y}function i(y,w){return Math.sqrt((y[0]-w[0])*(y[0]-w[0])+(y[1]-w[1])*(y[1]-w[1]))}var u=i;function f(y,w){return(y[0]-w[0])*(y[0]-w[0])+(y[1]-w[1])*(y[1]-w[1])}var m=f;function A(y,w){return y[0]=-w[0],y[1]=-w[1],y}function g(y,w,x,T){return y[0]=w[0]+T*(x[0]-w[0]),y[1]=w[1]+T*(x[1]-w[1]),y}function v(y,w,x){var T=w[0],L=w[1];return y[0]=x[0]*T+x[2]*L+x[4],y[1]=x[1]*T+x[3]*L+x[5],y}function b(y,w,x){return y[0]=Math.min(w[0],x[0]),y[1]=Math.min(w[1],x[1]),y}function S(y,w,x){return y[0]=Math.max(w[0],x[0]),y[1]=Math.max(w[1],x[1]),y}z.create=O,z.copy=_,z.clone=I,z.set=E,z.add=C,z.scaleAndAdd=t,z.sub=p,z.len=h,z.length=o,z.lenSquare=r,z.lengthSquare=s,z.mul=l,z.div=n,z.dot=c,z.scale=e,z.normalize=a,z.distance=i,z.dist=u,z.distanceSquare=f,z.distSquare=m,z.negate=A,z.lerp=g,z.applyTransform=v,z.min=b,z.max=S},"QO+J":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.createSensor=void 0;var O=I(d("NohK")),_=d("24YM");function I(C){return C&&C.__esModule?C:{default:C}}var E=function(t){var p=void 0,h=[],o=function(){getComputedStyle(t).position==="static"&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",r),r()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",_.SensorClassName),e.setAttribute("tabindex",_.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e},r=(0,O.default)(function(){h.forEach(function(c){c(t)})}),s=function(e){p||(p=o()),h.indexOf(e)===-1&&h.push(e)},l=function(){p&&p.parentNode&&(p.contentDocument&&p.contentDocument.defaultView.removeEventListener("resize",r),p.parentNode.removeChild(p),p=void 0,h=[])},n=function(e){var a=h.indexOf(e);a!==-1&&h.splice(a,1),h.length===0&&p&&l()};return{element:t,bind:s,destroy:l,unbind:n}};z.createSensor=E},"QQZ/":function(ue,z,d){var O=d("Sq3C"),_=d("Z1HP"),I=d("Sxd8"),E=d("dt0z");function C(t,p,h){t=E(t),p=I(p);var o=p?_(t):0;return p&&o<p?O(p-o,h)+t:t}ue.exports=C},QUw5:function(ue,z,d){var O=d("OlYY"),_=O.extend({type:"dataZoom.select"});ue.exports=_},QV2g:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=O;function O(){for(var E,C=[],t=0;t<256;t++){E=t;for(var p=0;p<8;p++)E=E&1?3988292384^E>>>1:E>>>1;C[t]=E}return C}var _=O();function I(E,C,t,p){var h=_,o=p+t;E^=-1;for(var r=p;r<o;r++)E=E>>>8^h[(E^C[r])&255];return E^-1}},QbM5:function(ue,z,d){},Qe9p:function(ue,z,d){var O=d("1RvN"),_={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 I(w){return w=Math.round(w),w<0?0:w>255?255:w}function E(w){return w=Math.round(w),w<0?0:w>360?360:w}function C(w){return w<0?0:w>1?1:w}function t(w){return w.length&&w.charAt(w.length-1)==="%"?I(parseFloat(w)/100*255):I(parseInt(w,10))}function p(w){return w.length&&w.charAt(w.length-1)==="%"?C(parseFloat(w)/100):C(parseFloat(w))}function h(w,x,T){return T<0?T+=1:T>1&&(T-=1),T*6<1?w+(x-w)*T*6:T*2<1?x:T*3<2?w+(x-w)*(2/3-T)*6:w}function o(w,x,T){return w+(x-w)*T}function r(w,x,T,L,R){return w[0]=x,w[1]=T,w[2]=L,w[3]=R,w}function s(w,x){return w[0]=x[0],w[1]=x[1],w[2]=x[2],w[3]=x[3],w}var l=new O(20),n=null;function c(w,x){n&&s(n,x),n=l.put(w,n||x.slice())}function e(w,x){if(!w)return;x=x||[];var T=l.get(w);if(T)return s(x,T);w=w+"";var L=w.replace(/ /g,"").toLowerCase();if(L in _)return s(x,_[L]),c(w,x),x;if(L.charAt(0)==="#"){if(L.length===4){var R=parseInt(L.substr(1),16);if(!(R>=0&&R<=4095)){r(x,0,0,0,1);return}return r(x,(R&3840)>>4|(R&3840)>>8,R&240|(R&240)>>4,R&15|(R&15)<<4,1),c(w,x),x}else if(L.length===7){var R=parseInt(L.substr(1),16);if(!(R>=0&&R<=16777215)){r(x,0,0,0,1);return}return r(x,(R&16711680)>>16,(R&65280)>>8,R&255,1),c(w,x),x}return}var P=L.indexOf("("),k=L.indexOf(")");if(P!==-1&&k+1===L.length){var U=L.substr(0,P),D=L.substr(P+1,k-(P+1)).split(","),M=1;switch(U){case"rgba":if(D.length!==4){r(x,0,0,0,1);return}M=p(D.pop());case"rgb":if(D.length!==3){r(x,0,0,0,1);return}return r(x,t(D[0]),t(D[1]),t(D[2]),M),c(w,x),x;case"hsla":if(D.length!==4){r(x,0,0,0,1);return}return D[3]=p(D[3]),a(D,x),c(w,x),x;case"hsl":if(D.length!==3){r(x,0,0,0,1);return}return a(D,x),c(w,x),x;default:return}}r(x,0,0,0,1);return}function a(w,x){var T=(parseFloat(w[0])%360+360)%360/360,L=p(w[1]),R=p(w[2]),P=R<=.5?R*(L+1):R+L-R*L,k=R*2-P;return x=x||[],r(x,I(h(k,P,T+1/3)*255),I(h(k,P,T)*255),I(h(k,P,T-1/3)*255),1),w.length===4&&(x[3]=w[3]),x}function i(w){if(!w)return;var x=w[0]/255,T=w[1]/255,L=w[2]/255,R=Math.min(x,T,L),P=Math.max(x,T,L),k=P-R,U=(P+R)/2,D,M;if(k===0)D=0,M=0;else{U<.5?M=k/(P+R):M=k/(2-P-R);var B=((P-x)/6+k/2)/k,j=((P-T)/6+k/2)/k,H=((P-L)/6+k/2)/k;x===P?D=H-j:T===P?D=1/3+B-H:L===P&&(D=2/3+j-B),D<0&&(D+=1),D>1&&(D-=1)}var K=[D*360,M,U];return w[3]!=null&&K.push(w[3]),K}function u(w,x){var T=e(w);if(T){for(var L=0;L<3;L++)x<0?T[L]=T[L]*(1-x)|0:T[L]=(255-T[L])*x+T[L]|0,T[L]>255?T[L]=255:w[L]<0&&(T[L]=0);return y(T,T.length===4?"rgba":"rgb")}}function f(w){var x=e(w);if(x)return((1<<24)+(x[0]<<16)+(x[1]<<8)+ +x[2]).toString(16).slice(1)}function m(w,x,T){if(!(x&&x.length)||!(w>=0&&w<=1))return;T=T||[];var L=w*(x.length-1),R=Math.floor(L),P=Math.ceil(L),k=x[R],U=x[P],D=L-R;return T[0]=I(o(k[0],U[0],D)),T[1]=I(o(k[1],U[1],D)),T[2]=I(o(k[2],U[2],D)),T[3]=C(o(k[3],U[3],D)),T}var A=m;function g(w,x,T){if(!(x&&x.length)||!(w>=0&&w<=1))return;var L=w*(x.length-1),R=Math.floor(L),P=Math.ceil(L),k=e(x[R]),U=e(x[P]),D=L-R,M=y([I(o(k[0],U[0],D)),I(o(k[1],U[1],D)),I(o(k[2],U[2],D)),C(o(k[3],U[3],D))],"rgba");return T?{color:M,leftIndex:R,rightIndex:P,value:L}:M}var v=g;function b(w,x,T,L){if(w=e(w),w)return w=i(w),x!=null&&(w[0]=E(x)),T!=null&&(w[1]=p(T)),L!=null&&(w[2]=p(L)),y(a(w),"rgba")}function S(w,x){if(w=e(w),w&&x!=null)return w[3]=C(x),y(w,"rgba")}function y(w,x){if(!w||!w.length)return;var T=w[0]+","+w[1]+","+w[2];return(x==="rgba"||x==="hsva"||x==="hsla")&&(T+=","+w[3]),x+"("+T+")"}z.parse=e,z.lift=u,z.toHex=f,z.fastLerp=m,z.fastMapToColor=A,z.lerp=g,z.mapToColor=v,z.modifyHSL=b,z.modifyAlpha=S,z.stringify=y},Qi1f:function(ue,z,d){"use strict";d.d(z,"g",function(){return c}),d.d(z,"c",function(){return e}),d.d(z,"a",function(){return i}),d.d(z,"b",function(){return u}),d.d(z,"d",function(){return f}),d.d(z,"e",function(){return m}),d.d(z,"f",function(){return g});var O=d("VTBJ"),_=d("U8pU"),I=d("u3cA"),E=d("q1tI"),C=d.n(E),t=d("Kwbf"),p=d("MNnm"),h="rc-util-key";function o(v){if(v.attachTo)return v.attachTo;var b=document.querySelector("head");return b||document.body}function r(v){var b,S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(p.a)())return null;var y=document.createElement("style");if((b=S.csp)===null||b===void 0?void 0:b.nonce){var w;y.nonce=(w=S.csp)===null||w===void 0?void 0:w.nonce}y.innerHTML=v;var x=o(S),T=x.firstChild;return S.prepend&&x.prepend?x.prepend(y):S.prepend&&T?x.insertBefore(y,T):x.appendChild(y),y}var s=new Map;function l(v,b){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},y=o(S);if(!s.has(y)){var w=r("",S),x=w.parentNode;s.set(y,x),x.removeChild(w)}var T=Array.from(s.get(y).children).find(function(U){return U.tagName==="STYLE"&&U[h]===b});if(T){var L,R;if(((L=S.csp)===null||L===void 0?void 0:L.nonce)&&T.nonce!==((R=S.csp)===null||R===void 0?void 0:R.nonce)){var P;T.nonce=(P=S.csp)===null||P===void 0?void 0:P.nonce}return T.innerHTML!==v&&(T.innerHTML=v),T}var k=r(v,S);return k[h]=b,k}var n=d("Pw59");function c(v,b){Object(t.a)(v,"[@ant-design/icons] ".concat(b))}function e(v){return Object(_.a)(v)==="object"&&typeof v.name=="string"&&typeof v.theme=="string"&&(Object(_.a)(v.icon)==="object"||typeof v.icon=="function")}function a(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(v).reduce(function(b,S){var y=v[S];switch(S){case"class":b.className=y,delete b.class;break;default:b[S]=y}return b},{})}function i(v,b,S){return S?C.a.createElement(v.tag,Object(O.a)(Object(O.a)({key:b},a(v.attrs)),S),(v.children||[]).map(function(y,w){return i(y,"".concat(b,"-").concat(v.tag,"-").concat(w))})):C.a.createElement(v.tag,Object(O.a)({key:b},a(v.attrs)),(v.children||[]).map(function(y,w){return i(y,"".concat(b,"-").concat(v.tag,"-").concat(w))}))}function u(v){return Object(I.generate)(v)[0]}function f(v){return v?Array.isArray(v)?v:[v]:[]}var m={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},A=`
.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);
}
}
`,g=function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:A,S=Object(E.useContext)(n.a),y=S.csp;Object(E.useEffect)(function(){l(b,"@ant-design-icons",{prepend:!0,csp:y})},[])}},Qs3X:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("X+im"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},Qs9O:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},QuXc:function(ue,z){var d=function(I){this.colorStops=I||[]};d.prototype={constructor:d,addColorStop:function(I,E){this.colorStops.push({offset:I,color:E})}};var O=d;ue.exports=O},Qvb6:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("ItGF"),E=d("B9fm"),C=d("gvm7"),t=d("7aKB"),p=d("OELB"),h=d("IwbS"),o=d("Ez2D"),r=d("+TT/"),s=d("Qxkt"),l=d("F9bG"),n=d("aX7z"),c=d("/y7N"),e=d("4NO4"),a=e.getTooltipRenderMode,i=_.bind,u=_.each,f=p.parsePercent,m=new h.Rect({shape:{x:-1,y:-1,width:2,height:2}}),A=O.extendComponentView({type:"tooltip",init:function(x,T){if(I.node)return;var L=x.getComponent("tooltip"),R=L.get("renderMode");this._renderMode=a(R);var P;this._renderMode==="html"?(P=new E(T.getDom(),T,{appendToBody:L.get("appendToBody",!0)}),this._newLine="<br/>"):(P=new C(T),this._newLine=`
`),this._tooltipContent=P},render:function(x,T,L){if(I.node)return;this.group.removeAll(),this._tooltipModel=x,this._ecModel=T,this._api=L,this._lastDataByCoordSys=null,this._alwaysShowContent=x.get("alwaysShowContent");var R=this._tooltipContent;R.update(),R.setEnterable(x.get("enterable")),this._initGlobalListener(),this._keepShow()},_initGlobalListener:function(){var x=this._tooltipModel,T=x.get("triggerOn");l.register("itemTooltip",this._api,i(function(L,R,P){T!=="none"&&(T.indexOf(L)>=0?this._tryShow(R,P):L==="leave"&&this._hide(P))},this))},_keepShow:function(){var x=this._tooltipModel,T=this._ecModel,L=this._api;if(this._lastX!=null&&this._lastY!=null&&x.get("triggerOn")!=="none"){var R=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!L.isDisposed()&&R.manuallyShowTip(x,T,L,{x:R._lastX,y:R._lastY})})}},manuallyShowTip:function(x,T,L,R){if(R.from===this.uid||I.node)return;var P=v(R,L);this._ticket="";var k=R.dataByCoordSys;if(R.tooltip&&R.x!=null&&R.y!=null){var U=m;U.position=[R.x,R.y],U.update(),U.tooltip=R.tooltip,this._tryShow({offsetX:R.x,offsetY:R.y,target:U},P)}else if(k)this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,dataByCoordSys:R.dataByCoordSys,tooltipOption:R.tooltipOption},P);else if(R.seriesIndex!=null){if(this._manuallyAxisShowTip(x,T,L,R))return;var D=o(R,T),M=D.point[0],B=D.point[1];M!=null&&B!=null&&this._tryShow({offsetX:M,offsetY:B,position:R.position,target:D.el},P)}else R.x!=null&&R.y!=null&&(L.dispatchAction({type:"updateAxisPointer",x:R.x,y:R.y}),this._tryShow({offsetX:R.x,offsetY:R.y,position:R.position,target:L.getZr().findHover(R.x,R.y).target},P))},manuallyHideTip:function(x,T,L,R){var P=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&P.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,R.from!==this.uid&&this._hide(v(R,L))},_manuallyAxisShowTip:function(x,T,L,R){var P=R.seriesIndex,k=R.dataIndex,U=T.getComponent("axisPointer").coordSysAxesInfo;if(P==null||k==null||U==null)return;var D=T.getSeriesByIndex(P);if(!D)return;var M=D.getData(),x=g([M.getItemModel(k),D,(D.coordinateSystem||{}).model,x]);return x.get("trigger")!=="axis"?void 0:(L.dispatchAction({type:"updateAxisPointer",seriesIndex:P,dataIndex:k,position:R.position}),!0)},_tryShow:function(x,T){var L=x.target,R=this._tooltipModel;if(!R)return;this._lastX=x.offsetX,this._lastY=x.offsetY;var P=x.dataByCoordSys;P&&P.length?this._showAxisTooltip(P,x):L&&L.dataIndex!=null?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(x,L,T)):L&&L.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(x,L,T)):(this._lastDataByCoordSys=null,this._hide(T))},_showOrMove:function(x,T){var L=x.get("showDelay");T=_.bind(T,this),clearTimeout(this._showTimout),L>0?this._showTimout=setTimeout(T,L):T()},_showAxisTooltip:function(x,T){var L=this._ecModel,R=this._tooltipModel,P=[T.offsetX,T.offsetY],k=[],U=[],D=g([T.tooltipOption,R]),M=this._renderMode,B=this._newLine,j={};u(x,function(K){u(K.dataByAxis,function(W){var X=L.getComponent(W.axisDim+"Axis",W.axisIndex),V=W.value,Z=[];if(!X||V==null)return;var G=c.getValueLabel(V,X.axis,L,W.seriesDataIndices,W.valueLabelOpt);_.each(W.seriesDataIndices,function(te){var se=L.getSeriesByIndex(te.seriesIndex),Ce=te.dataIndexInside,he=se&&se.getDataParams(Ce);if(he.axisDim=W.axisDim,he.axisIndex=W.axisIndex,he.axisType=W.axisType,he.axisId=W.axisId,he.axisValue=n.getAxisRawValue(X.axis,V),he.axisValueLabel=G,he){U.push(he);var xe=se.formatTooltip(Ce,!0,null,M),ie;if(_.isObject(xe)){ie=xe.html;var ee=xe.markers;_.merge(j,ee)}else ie=xe;Z.push(ie)}});var Y=G;M!=="html"?k.push(Z.join(B)):k.push((Y?t.encodeHTML(Y)+B:"")+Z.join(B))})},this),k.reverse(),k=k.join(this._newLine+this._newLine);var H=T.position;this._showOrMove(D,function(){this._updateContentNotChangedOnAxis(x)?this._updatePosition(D,H,P[0],P[1],this._tooltipContent,U):this._showTooltipContent(D,k,U,Math.random(),P[0],P[1],H,void 0,j)})},_showSeriesItemTooltip:function(x,T,L){var R=this._ecModel,P=T.seriesIndex,k=R.getSeriesByIndex(P),U=T.dataModel||k,D=T.dataIndex,M=T.dataType,B=U.getData(M),j=g([B.getItemModel(D),U,k&&(k.coordinateSystem||{}).model,this._tooltipModel]),H=j.get("trigger");if(H!=null&&H!=="item")return;var K=U.getDataParams(D,M),W=U.formatTooltip(D,!1,M,this._renderMode),X,V;_.isObject(W)?(X=W.html,V=W.markers):(X=W,V=null);var Z="item_"+U.name+"_"+D;this._showOrMove(j,function(){this._showTooltipContent(j,X,K,Z,x.offsetX,x.offsetY,x.position,x.target,V)}),L({type:"showTip",dataIndexInside:D,dataIndex:B.getRawIndex(D),seriesIndex:P,from:this.uid})},_showComponentItemTooltip:function(x,T,L){var R=T.tooltip;if(typeof R=="string"){var P=R;R={content:P,formatter:P}}var k=new s(R,this._tooltipModel,this._ecModel),U=k.get("content"),D=Math.random();this._showOrMove(k,function(){this._showTooltipContent(k,U,k.get("formatterParams")||{},D,x.offsetX,x.offsetY,x.position,T)}),L({type:"showTip",from:this.uid})},_showTooltipContent:function(x,T,L,R,P,k,U,D,M){if(this._ticket="",!x.get("showContent")||!x.get("show"))return;var B=this._tooltipContent,j=x.get("formatter");U=U||x.get("position");var H=T;if(j&&typeof j=="string")H=t.formatTpl(j,L,!0);else if(typeof j=="function"){var K=i(function(W,X){W===this._ticket&&(B.setContent(X,M,x),this._updatePosition(x,U,P,k,B,L,D))},this);this._ticket=R,H=j(L,R,K)}B.setContent(H,M,x),B.show(x),this._updatePosition(x,U,P,k,B,L,D)},_updatePosition:function(x,T,L,R,P,k,U){var D=this._api.getWidth(),M=this._api.getHeight();T=T||x.get("position");var B=P.getSize(),j=x.get("align"),H=x.get("verticalAlign"),K=U&&U.getBoundingRect().clone();if(U&&K.applyTransform(U.transform),typeof T=="function"&&(T=T([L,R],k,P.el,K,{viewSize:[D,M],contentSize:B.slice()})),_.isArray(T))L=f(T[0],D),R=f(T[1],M);else if(_.isObject(T)){T.width=B[0],T.height=B[1];var W=r.getLayoutRect(T,{width:D,height:M});L=W.x,R=W.y,j=null,H=null}else if(typeof T=="string"&&U){var X=y(T,K,B);L=X[0],R=X[1]}else{var X=b(L,R,P,D,M,j?null:20,H?null:20);L=X[0],R=X[1]}if(j&&(L-=w(j)?B[0]/2:j==="right"?B[0]:0),H&&(R-=w(H)?B[1]/2:H==="bottom"?B[1]:0),x.get("confine")){var X=S(L,R,P,D,M);L=X[0],R=X[1]}P.moveTo(L,R)},_updateContentNotChangedOnAxis:function(x){var T=this._lastDataByCoordSys,L=!!T&&T.length===x.length;return L&&u(T,function(R,P){var k=R.dataByAxis||{},U=x[P]||{},D=U.dataByAxis||[];L&=k.length===D.length,L&&u(k,function(M,B){var j=D[B]||{},H=M.seriesDataIndices||[],K=j.seriesDataIndices||[];L&=M.value===j.value&&M.axisType===j.axisType&&M.axisId===j.axisId&&H.length===K.length,L&&u(H,function(W,X){var V=K[X];L&=W.seriesIndex===V.seriesIndex&&W.dataIndex===V.dataIndex})})}),this._lastDataByCoordSys=x,!!L},_hide:function(x){this._lastDataByCoordSys=null,x({type:"hideTip",from:this.uid})},dispose:function(x,T){if(I.node)return;this._tooltipContent.dispose(),l.unregister("itemTooltip",T)}});function g(x){for(var T=x.pop();x.length;){var L=x.pop();L&&(s.isInstance(L)&&(L=L.get("tooltip",!0)),typeof L=="string"&&(L={formatter:L}),T=new s(L,T,T.ecModel))}return T}function v(x,T){return x.dispatchAction||_.bind(T.dispatchAction,T)}function b(x,T,L,R,P,k,U){var D=L.getOuterSize(),M=D.width,B=D.height;return k!=null&&(x+M+k>R?x-=M+k:x+=k),U!=null&&(T+B+U>P?T-=B+U:T+=U),[x,T]}function S(x,T,L,R,P){var k=L.getOuterSize(),U=k.width,D=k.height;return x=Math.min(x+U,R)-U,T=Math.min(T+D,P)-D,x=Math.max(x,0),T=Math.max(T,0),[x,T]}function y(x,T,L){var R=L[0],P=L[1],k=5,U=0,D=0,M=T.width,B=T.height;switch(x){case"inside":U=T.x+M/2-R/2,D=T.y+B/2-P/2;break;case"top":U=T.x+M/2-R/2,D=T.y-P-k;break;case"bottom":U=T.x+M/2-R/2,D=T.y+B+k;break;case"left":U=T.x-R-k,D=T.y+B/2-P/2;break;case"right":U=T.x+M+k,D=T.y+B/2-P/2}return[U,D]}function w(x){return x==="center"||x==="middle"}ue.exports=A},Qxkt:function(ue,z,d){var O=d("bYtY"),_=d("ItGF"),I=d("4NO4"),E=I.makeInner,C=d("Yl7c"),t=C.enableClassExtend,p=C.enableClassCheck,h=d("OQFs"),o=d("m9t5"),r=d("/iHx"),s=d("VR9l"),l=O.mixin,n=E();function c(u,f,m){this.parentModel=f,this.ecModel=m,this.option=u}c.prototype={constructor:c,init:null,mergeOption:function(u){O.merge(this.option,u,!0)},get:function(u,f){return u==null?this.option:e(this.option,this.parsePath(u),!f&&a(this,u))},getShallow:function(u,f){var m=this.option,A=m==null?m:m[u],g=!f&&a(this,u);return A==null&&g&&(A=g.getShallow(u)),A},getModel:function(u,f){var m=u==null?this.option:e(this.option,u=this.parsePath(u)),A;return f=f||(A=a(this,u))&&A.getModel(u),new c(m,f,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var u=this.constructor;return new u(O.clone(this.option))},setReadOnly:function(u){},parsePath:function(u){return typeof u=="string"&&(u=u.split(".")),u},customizeGetParent:function(u){n(this).getParent=u},isAnimationEnabled:function(){if(!_.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function e(u,f,m){for(var A=0;A<f.length;A++){if(!f[A])continue;if(u=u&&typeof u=="object"?u[f[A]]:null,u==null)break}return u==null&&m&&(u=m.get(f)),u}function a(u,f){var m=n(u).getParent;return m?m.call(u,f):u.parentModel}t(c),p(c),l(c,h),l(c,o),l(c,r),l(c,s);var i=c;ue.exports=i},QyFq:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},QzjZ:function(ue,z,d){var O=d("S/Yl"),_=d("IDmD");function I(E,C){var t=[];return E.eachComponent("singleAxis",function(p,h){var o=new O(p,E,C);o.name="single_"+h,o.resize(p,C),p.coordinateSystem=o,t.push(o)}),E.eachSeries(function(p){if(p.get("coordinateSystem")==="singleAxis"){var h=E.queryComponents({mainType:"singleAxis",index:p.get("singleAxisIndex"),id:p.get("singleAxisId")})[0];p.coordinateSystem=h&&h.coordinateSystem}}),t}_.register("single",{create:I,dimensions:O.prototype.dimensions})},R4Th:function(ue,z,d){var O=d("ProS"),_=d("9wZj"),I=d("yO87"),E=d("Fofx"),C=d("h8O9"),t=O.extendChartView({type:"effectScatter",init:function(){this._symbolDraw=new _(I)},render:function(p,h,o){var r=p.getData(),s=this._symbolDraw;s.updateData(r),this.group.add(s.group)},updateTransform:function(p,h,o){var r=p.getData();this.group.dirty();var s=C().reset(p);s.progress&&s.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_updateGroupTransform:function(p){var h=p.coordinateSystem;h&&h.getRoamTransform&&(this.group.transform=E.clone(h.getRoamTransform()),this.group.decomposeTransform())},remove:function(p,h){this._symbolDraw&&this._symbolDraw.remove(h)},dispose:function(){}});ue.exports=t},R9oj:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("pwpV"),E=d.n(I)},RBEP:function(ue,z,d){for(var O=d("ProS"),_=d("VaxA"),I=function(){},E=["treemapZoomToNode","treemapRender","treemapMove"],C=0;C<E.length;C++)O.registerAction({type:E[C],update:"updateView"},I);O.registerAction({type:"treemapRootToNode",update:"updateView"},function(t,p){p.eachComponent({mainType:"series",subType:"treemap",query:t},h);function h(o,r){var s=["treemapZoomToNode","treemapRootToNode"],l=_.retrieveTargetInfo(t,s,o);if(l){var n=o.getViewRoot();n&&(t.direction=_.aboveViewRoot(n,l.node)?"rollUp":"drillDown"),o.resetViewRoot(l.node)}}})},RCxd:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="ExclamationCircleOutlined";var p=z.a=_.forwardRef(t)},RDYZ:function(ue,z,d){var O=d("dMvE");function _(E){this._target=E.target,this._life=E.life||1e3,this._delay=E.delay||0,this._initialized=!1,this.loop=E.loop==null?!1:E.loop,this.gap=E.gap||0,this.easing=E.easing||"Linear",this.onframe=E.onframe,this.ondestroy=E.ondestroy,this.onrestart=E.onrestart,this._pausedTime=0,this._paused=!1}_.prototype={constructor:_,step:function(C,t){if(this._initialized||(this._startTime=C+this._delay,this._initialized=!0),this._paused){this._pausedTime+=t;return}var p=(C-this._startTime-this._pausedTime)/this._life;if(p<0)return;p=Math.min(p,1);var h=this.easing,o=typeof h=="string"?O[h]:h,r=typeof o=="function"?o(p):p;return this.fire("frame",r),p===1?this.loop?(this.restart(C),"restart"):(this._needsRemove=!0,"destroy"):null},restart:function(C){var t=(C-this._startTime-this._pausedTime)%this._life;this._startTime=C-t+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(C,t){C="on"+C,this[C]&&this[C](this._target,t)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var I=_;ue.exports=I},RELg:function(ue,z,d){var O=d("MFOe"),_=O.Global;ue.exports={name:"oldIE-userDataStorage",write:p,read:h,each:o,remove:r,clearAll:s};var I="storejs",E=_.document,C=c(),t=(_.navigator?_.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function p(e,a){if(t)return;var i=n(e);C(function(u){u.setAttribute(i,a),u.save(I)})}function h(e){if(t)return;var a=n(e),i=null;return C(function(u){i=u.getAttribute(a)}),i}function o(e){C(function(a){for(var i=a.XMLDocument.documentElement.attributes,u=i.length-1;u>=0;u--){var f=i[u];e(a.getAttribute(f.name),f.name)}})}function r(e){var a=n(e);C(function(i){i.removeAttribute(a),i.save(I)})}function s(){C(function(e){var a=e.XMLDocument.documentElement.attributes;e.load(I);for(var i=a.length-1;i>=0;i--)e.removeAttribute(a[i].name);e.save(I)})}var l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function n(e){return e.replace(/^\d/,"___$&").replace(l,"___")}function c(){if(!E||!E.documentElement||!E.documentElement.addBehavior)return null;var e="script",a,i,u;try{i=new ActiveXObject("htmlfile"),i.open(),i.write("<"+e+">document.w=window</"+e+'><iframe src="/favicon.ico"></iframe>'),i.close(),a=i.w.frames[0].document,u=a.createElement("div")}catch(f){u=E.createElement("div"),a=E.body}return function(f){var m=[].slice.call(arguments,0);m.unshift(u),a.appendChild(u),u.addBehavior("#default#userData"),u.load(I),f.apply(this,m),a.removeChild(u);return}}},RPvy:function(ue,z,d){var O=d("ProS"),_=d("VaxA"),I="sunburstRootToNode";O.registerAction({type:I,update:"updateView"},function(t,p){p.eachComponent({mainType:"series",subType:"sunburst",query:t},h);function h(o,r){var s=_.retrieveTargetInfo(t,[I],o);if(s){var l=o.getViewRoot();l&&(t.direction=_.aboveViewRoot(l,s.node)?"rollUp":"drillDown"),o.resetViewRoot(s.node)}}});var E="sunburstHighlight";O.registerAction({type:E,update:"updateView"},function(t,p){p.eachComponent({mainType:"series",subType:"sunburst",query:t},h);function h(o,r){var s=_.retrieveTargetInfo(t,[E],o);s&&(t.highlight=s.node)}});var C="sunburstUnhighlight";O.registerAction({type:C,update:"updateView"},function(t,p){p.eachComponent({mainType:"series",subType:"sunburst",query:t},h);function h(o,r){t.unhighlight=!0}})},RSch:function(ue,z,d){var O=d("IwbS"),_=d("bYtY");function I(t,p,h){O.Group.call(this),this._createPolyline(t,p,h)}var E=I.prototype;E._createPolyline=function(t,p,h){var o=t.getItemLayout(p),r=new O.Polyline({shape:{points:o}});this.add(r),this._updateCommonStl(t,p,h)},E.updateData=function(t,p,h){var o=t.hostModel,r=this.childAt(0),s={shape:{points:t.getItemLayout(p)}};O.updateProps(r,s,o,p),this._updateCommonStl(t,p,h)},E._updateCommonStl=function(t,p,h){var o=this.childAt(0),r=t.getItemModel(p),s=t.getItemVisual(p,"color"),l=h&&h.lineStyle,n=h&&h.hoverLineStyle;(!h||t.hasItemOption)&&(l=r.getModel("lineStyle").getLineStyle(),n=r.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(_.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=n,O.setHoverStyle(this)},E.updateLayout=function(t,p){var h=this.childAt(0);h.setShape("points",t.getItemLayout(p))},_.inherits(I,O.Group);var C=I;ue.exports=C},RXMa:function(ue,z,d){var O=d("y+Vt"),_=O.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(E,C){var t=C.cx,p=C.cy,h=Math.PI*2;E.moveTo(t+C.r,p),E.arc(t,p,C.r,0,h,!1),E.moveTo(t+C.r0,p),E.arc(t,p,C.r0,0,h,!0)}});ue.exports=_},RZPm:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("JgUQ")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="FileOutlined";var h=E.forwardRef(p);z.default=h},RlCK:function(ue,z,d){var O=d("ProS"),_=d("bYtY");function I(E,C,t){var p={},h=E==="toggleSelected",o;return t.eachComponent("legend",function(r){h&&o!=null?r[o?"select":"unSelect"](C.name):E==="allSelect"||E==="inverseSelect"?r[E]():(r[E](C.name),o=r.isSelected(C.name));var s=r.getData();_.each(s,function(l){var n=l.get("name");if(n===`
`||n==="")return;var c=r.isSelected(n);p.hasOwnProperty(n)?p[n]=p[n]&&c:p[n]=c})}),E==="allSelect"||E==="inverseSelect"?{selected:p}:{name:C.name,selected:p}}O.registerAction("legendToggleSelect","legendselectchanged",_.curry(I,"toggleSelected")),O.registerAction("legendAllSelect","legendselectall",_.curry(I,"allSelect")),O.registerAction("legendInverseSelect","legendinverseselect",_.curry(I,"inverseSelect")),O.registerAction("legendSelect","legendselected",_.curry(I,"select")),O.registerAction("legendUnSelect","legendunselected",_.curry(I,"unSelect"))},RotF:function(ue,z,d){ue.exports=d("LSTS")},Rx6q:function(ue,z){function d(O){var _=O.getRect(),I=O.getRangeInfo();return{coordSys:{type:"calendar",x:_.x,y:_.y,width:_.width,height:_.height,cellWidth:O.getCellWidth(),cellHeight:O.getCellHeight(),rangeInfo:{start:I.start,end:I.end,weeks:I.weeks,dayCount:I.allDay}},api:{coord:function(E,C){return O.dataToPoint(E,C)}}}}ue.exports=d},"S/Yl":function(ue,z,d){var O=d("Zvw2"),_=d("aX7z"),I=d("+TT/"),E=I.getLayoutRect,C=d("bYtY"),t=C.each;function p(o,r,s){this.dimension="single",this.dimensions=["single"],this._axis=null,this._rect,this._init(o,r,s),this.model=o}p.prototype={type:"singleAxis",axisPointerEnabled:!0,constructor:p,_init:function(o,r,s){var l=this.dimension,n=new O(l,_.createScaleByModel(o),[0,0],o.get("type"),o.get("position")),c=n.type==="category";n.onBand=c&&o.get("boundaryGap"),n.inverse=o.get("inverse"),n.orient=o.get("orient"),o.axis=n,n.model=o,n.coordinateSystem=this,this._axis=n},update:function(o,r){o.eachSeries(function(s){if(s.coordinateSystem===this){var l=s.getData();t(l.mapDimension(this.dimension,!0),function(n){this._axis.scale.unionExtentFromData(l,n)},this),_.niceScaleExtent(this._axis.scale,this._axis.model)}},this)},resize:function(o,r){this._rect=E({left:o.get("left"),top:o.get("top"),right:o.get("right"),bottom:o.get("bottom"),width:o.get("width"),height:o.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},getRect:function(){return this._rect},_adjustAxis:function(){var o=this._rect,r=this._axis,s=r.isHorizontal(),l=s?[0,o.width]:[0,o.height],n=r.reverse?1:0;r.setExtent(l[n],l[1-n]),this._updateAxisTransform(r,s?o.x:o.y)},_updateAxisTransform:function(o,r){var s=o.getExtent(),l=s[0]+s[1],n=o.isHorizontal();o.toGlobalCoord=n?function(c){return c+r}:function(c){return l-c+r},o.toLocalCoord=n?function(c){return c-r}:function(c){return l-c+r}},getAxis:function(){return this._axis},getBaseAxis:function(){return this._axis},getAxes:function(){return[this._axis]},getTooltipAxes:function(){return{baseAxes:[this.getAxis()]}},containPoint:function(o){var r=this.getRect(),s=this.getAxis(),l=s.orient;return l==="horizontal"?s.contain(s.toLocalCoord(o[0]))&&o[1]>=r.y&&o[1]<=r.y+r.height:s.contain(s.toLocalCoord(o[1]))&&o[0]>=r.y&&o[0]<=r.y+r.height},pointToData:function(o){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(o[r.orient==="horizontal"?0:1]))]},dataToPoint:function(o){var r=this.getAxis(),s=this.getRect(),l=[],n=r.orient==="horizontal"?0:1;return o instanceof Array&&(o=o[0]),l[n]=r.toGlobalCoord(r.dataToCoord(+o)),l[1-n]=n===0?s.y+s.height/2:s.x+s.width/2,l}};var h=p;ue.exports=h},"SA+Z":function(ue,z,d){var O=d("wTVA"),_=d("EbDI"),I=d("ZhPi"),E=d("wkBT");function C(t){return O(t)||_(t)||I(t)||E()}ue.exports=C,ue.exports.__esModule=!0,ue.exports.default=ue.exports},"SA4+":function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("IwbS"),C=d("zYTA"),t=d("bYtY");function p(s,l,n){var c=s[1]-s[0];l=t.map(l,function(i){return{interval:[(i.interval[0]-s[0])/c,(i.interval[1]-s[0])/c]}});var e=l.length,a=0;return function(i){for(var u=a;u<e;u++){var f=l[u].interval;if(f[0]<=i&&i<=f[1]){a=u;break}}if(u===e)for(var u=a-1;u>=0;u--){var f=l[u].interval;if(f[0]<=i&&i<=f[1]){a=u;break}}return u>=0&&u<e&&n[u]}}function h(s,l){var n=s[1]-s[0];return l=[(l[0]-s[0])/n,(l[1]-s[0])/n],function(c){return c>=l[0]&&c<=l[1]}}function o(s){var l=s.dimensions;return l[0]==="lng"&&l[1]==="lat"}var r=I.extendChartView({type:"heatmap",render:function(s,l,n){var c;l.eachComponent("visualMap",function(a){a.eachTargetSeries(function(i){i===s&&(c=a)})}),this.group.removeAll(),this._incrementalDisplayable=null;var e=s.coordinateSystem;e.type==="cartesian2d"||e.type==="calendar"?this._renderOnCartesianAndCalendar(s,n,0,s.getData().count()):o(e)&&this._renderOnGeo(e,s,c,n)},incrementalPrepareRender:function(s,l,n){this.group.removeAll()},incrementalRender:function(s,l,n,c){var e=l.coordinateSystem;e&&this._renderOnCartesianAndCalendar(l,c,s.start,s.end,!0)},_renderOnCartesianAndCalendar:function(s,l,n,c,e){var a=s.coordinateSystem,i,u;if(a.type==="cartesian2d"){var f=a.getAxis("x"),m=a.getAxis("y");i=f.getBandWidth(),u=m.getBandWidth()}for(var A=this.group,g=s.getData(),v="itemStyle",b="emphasis.itemStyle",S="label",y="emphasis.label",w=s.getModel(v).getItemStyle(["color"]),x=s.getModel(b).getItemStyle(),T=s.getModel(S),L=s.getModel(y),R=a.type,P=R==="cartesian2d"?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],k=n;k<c;k++){var U;if(R==="cartesian2d"){if(isNaN(g.get(P[2],k)))continue;var D=a.dataToPoint([g.get(P[0],k),g.get(P[1],k)]);U=new E.Rect({shape:{x:Math.floor(Math.round(D[0])-i/2),y:Math.floor(Math.round(D[1])-u/2),width:Math.ceil(i),height:Math.ceil(u)},style:{fill:g.getItemVisual(k,"color"),opacity:g.getItemVisual(k,"opacity")}})}else{if(isNaN(g.get(P[1],k)))continue;U=new E.Rect({z2:1,shape:a.dataToRect([g.get(P[0],k)]).contentShape,style:{fill:g.getItemVisual(k,"color"),opacity:g.getItemVisual(k,"opacity")}})}var M=g.getItemModel(k);g.hasItemOption&&(w=M.getModel(v).getItemStyle(["color"]),x=M.getModel(b).getItemStyle(),T=M.getModel(S),L=M.getModel(y));var B=s.getRawValue(k),j="-";B&&B[2]!=null&&(j=B[2]),E.setLabelStyle(w,x,T,L,{labelFetcher:s,labelDataIndex:k,defaultText:j,isRectText:!0}),U.setStyle(w),E.setHoverStyle(U,g.hasItemOption?x:t.extend({},x)),U.incremental=e,e&&(U.useHoverLayer=!0),A.add(U),g.setItemGraphicEl(k,U)}},_renderOnGeo:function(s,l,n,c){var e=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,i=l.getData(),u=this._hmLayer||this._hmLayer||new C;u.blurSize=l.get("blurSize"),u.pointSize=l.get("pointSize"),u.minOpacity=l.get("minOpacity"),u.maxOpacity=l.get("maxOpacity");var f=s.getViewRect().clone(),m=s.getRoamTransform();f.applyTransform(m);var A=Math.max(f.x,0),g=Math.max(f.y,0),v=Math.min(f.width+f.x,c.getWidth()),b=Math.min(f.height+f.y,c.getHeight()),S=v-A,y=b-g,w=[i.mapDimension("lng"),i.mapDimension("lat"),i.mapDimension("value")],x=i.mapArray(w,function(P,k,U){var D=s.dataToPoint([P,k]);return D[0]-=A,D[1]-=g,D.push(U),D}),T=n.getExtent(),L=n.type==="visualMap.continuous"?h(T,n.option.range):p(T,n.getPieceList(),n.option.selected);u.update(x,S,y,e.color.getNormalizer(),{inRange:e.color.getColorMapper(),outOfRange:a.color.getColorMapper()},L);var R=new E.Image({style:{width:S,height:y,x:A,y:g,image:u.canvas},silent:!0});this.group.add(R)},dispose:function(){}});ue.exports=r},SA8n:function(ue,z,d){var O=d("Sj9i"),_=d("QBsz"),I=d("U/Mo"),E=I.getSymbolSize,C=[],t=[],p=[],h=O.quadraticAt,o=_.distSquare,r=Math.abs;function s(n,c,e){for(var a=n[0],i=n[1],u=n[2],f=Infinity,m,A=e*e,g=.1,v=.1;v<=.9;v+=.1){C[0]=h(a[0],i[0],u[0],v),C[1]=h(a[1],i[1],u[1],v);var b=r(o(C,c)-A);b<f&&(f=b,m=v)}for(var S=0;S<32;S++){var y=m+g;t[0]=h(a[0],i[0],u[0],m),t[1]=h(a[1],i[1],u[1],m),p[0]=h(a[0],i[0],u[0],y),p[1]=h(a[1],i[1],u[1],y);var b=o(t,c)-A;if(r(b)<.01)break;var w=o(p,c)-A;g/=2,b<0?w>=0?m=m+g:m=m-g:w>=0?m=m-g:m=m+g}return m}function l(n,c){var e=[],a=O.quadraticSubdivide,i=[[],[],[]],u=[[],[]],f=[];c/=2,n.eachEdge(function(m,A){var g=m.getLayout(),v=m.getVisual("fromSymbol"),b=m.getVisual("toSymbol");g.__original||(g.__original=[_.clone(g[0]),_.clone(g[1])],g[2]&&g.__original.push(_.clone(g[2])));var S=g.__original;if(g[2]!=null){if(_.copy(i[0],S[0]),_.copy(i[1],S[2]),_.copy(i[2],S[1]),v&&v!=="none"){var y=E(m.node1),w=s(i,S[0],y*c);a(i[0][0],i[1][0],i[2][0],w,e),i[0][0]=e[3],i[1][0]=e[4],a(i[0][1],i[1][1],i[2][1],w,e),i[0][1]=e[3],i[1][1]=e[4]}if(b&&b!=="none"){var y=E(m.node2),w=s(i,S[1],y*c);a(i[0][0],i[1][0],i[2][0],w,e),i[1][0]=e[1],i[2][0]=e[2],a(i[0][1],i[1][1],i[2][1],w,e),i[1][1]=e[1],i[2][1]=e[2]}_.copy(g[0],i[0]),_.copy(g[1],i[2]),_.copy(g[2],i[1])}else{if(_.copy(u[0],S[0]),_.copy(u[1],S[1]),_.sub(f,u[1],u[0]),_.normalize(f,f),v&&v!=="none"){var y=E(m.node1);_.scaleAndAdd(u[0],u[0],f,y*c)}if(b&&b!=="none"){var y=E(m.node2);_.scaleAndAdd(u[1],u[1],f,-y*c)}_.copy(g[0],u[0]),_.copy(g[1],u[1])}})}ue.exports=l},SJMd:function(ue,z){/**
* @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 d,O,_,I=!1,E,C;window.PR_SHOULD_USE_CONTINUATION=!0;var t,p;(function(){var h=window,o=["break,continue,do,else,for,if,return,while"],r=[o,"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"],s=[r,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],l=[s,"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=[s,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],c=[s,"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"],e="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",a=[s,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],i="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",u=[o,"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"],f=[o,"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"],m=[o,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],A=[l,c,n,a,i,u,f,m],g=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,v="str",b="kwd",S="com",y="typ",w="lit",x="pun",T="pln",L="tag",R="dec",P="src",k="atn",U="atv",D="nocode",M="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function B(Se){for(var Ne=0,it=!1,Ye=!1,nt=0,je=Se.length;nt<je;++nt){var et=Se[nt];if(et.ignoreCase)Ye=!0;else if(/[a-z]/i.test(et.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){it=!0,Ye=!1;break}}var He={b:8,t:9,n:10,v:11,f:12,r:13};function pe(Ke){var Te=Ke.charCodeAt(0);if(Te!==92)return Te;var gt=Ke.charAt(1);return Te=He[gt],Te||("0"<=gt&&gt<="7"?parseInt(Ke.substring(1),8):gt==="u"||gt==="x"?parseInt(Ke.substring(2),16):Ke.charCodeAt(1))}function ae(Ke){if(Ke<32)return(Ke<16?"\\x0":"\\x")+Ke.toString(16);var Te=String.fromCharCode(Ke);return Te==="\\"||Te==="-"||Te==="]"||Te==="^"?"\\"+Te:Te}function re(Ke){var Te=Ke.substring(1,Ke.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")),gt=[],Ue=Te[0]==="^",bt=["["];Ue&&bt.push("^");for(var wt=Ue?1:0,Et=Te.length;wt<Et;++wt){var xt=Te[wt];if(/\\[bdsw]/i.test(xt))bt.push(xt);else{var Tt=pe(xt),Be;wt+2<Et&&Te[wt+1]==="-"?(Be=pe(Te[wt+2]),wt+=2):Be=Tt,gt.push([Tt,Be]),Be<65||Tt>122||(Be<65||Tt>90||gt.push([Math.max(65,Tt)|32,Math.min(Be,90)|32]),Be<97||Tt>122||gt.push([Math.max(97,Tt)&~32,Math.min(Be,122)&~32]))}}gt.sort(function(Ve,de){return Ve[0]-de[0]||de[1]-Ve[1]});for(var ce=[],q=[],wt=0;wt<gt.length;++wt){var dt=gt[wt];dt[0]<=q[1]+1?q[1]=Math.max(q[1],dt[1]):ce.push(q=dt)}for(var wt=0;wt<ce.length;++wt){var dt=ce[wt];bt.push(ae(dt[0])),dt[1]>dt[0]&&(dt[1]+1>dt[0]&&bt.push("-"),bt.push(ae(dt[1])))}return bt.push("]"),bt.join("")}function be(Ke){for(var Te=Ke.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")),gt=Te.length,Ue=[],bt=0,wt=0;bt<gt;++bt){var Et=Te[bt];if(Et==="(")++wt;else if(Et.charAt(0)==="\\"){var xt=+Et.substring(1);xt&&(xt<=wt?Ue[xt]=-1:Te[bt]=ae(xt))}}for(var bt=1;bt<Ue.length;++bt)Ue[bt]===-1&&(Ue[bt]=++Ne);for(var bt=0,wt=0;bt<gt;++bt){var Et=Te[bt];if(Et==="(")++wt,Ue[wt]||(Te[bt]="(?:");else if(Et.charAt(0)==="\\"){var xt=+Et.substring(1);xt&&xt<=wt&&(Te[bt]="\\"+Ue[xt])}}for(var bt=0;bt<gt;++bt)Te[bt]==="^"&&Te[bt+1]!=="^"&&(Te[bt]="");if(Ke.ignoreCase&&it)for(var bt=0;bt<gt;++bt){var Et=Te[bt],Tt=Et.charAt(0);Et.length>=2&&Tt==="["?Te[bt]=re(Et):Tt!=="\\"&&(Te[bt]=Et.replace(/[a-zA-Z]/g,function(q){var dt=q.charCodeAt(0);return"["+String.fromCharCode(dt&~32,dt|32)+"]"}))}return Te.join("")}for(var ze=[],nt=0,je=Se.length;nt<je;++nt){var et=Se[nt];if(et.global||et.multiline)throw new Error(""+et);ze.push("(?:"+be(et)+")")}return new RegExp(ze.join("|"),Ye?"gi":"g")}function j(Se,Ne){var it=/(?:^|\s)nocode(?:\s|$)/,Ye=[],nt=0,je=[],et=0;function He(pe){var ae=pe.nodeType;if(ae==1){if(it.test(pe.className))return;for(var re=pe.firstChild;re;re=re.nextSibling)He(re);var be=pe.nodeName.toLowerCase();(be==="br"||be==="li")&&(Ye[et]=`
`,je[et<<1]=nt++,je[et++<<1|1]=pe)}else if(ae==3||ae==4){var ze=pe.nodeValue;ze.length&&(Ne?ze=ze.replace(/\r\n?/g,`
`):ze=ze.replace(/[ \t\r\n]+/g," "),Ye[et]=ze,je[et<<1]=nt,nt+=ze.length,je[et++<<1|1]=pe)}}return He(Se),{sourceCode:Ye.join("").replace(/\n$/,""),spans:je}}function H(Se,Ne,it,Ye,nt){if(!it)return;var je={sourceNode:Se,pre:1,langExtension:null,numberLines:null,sourceCode:it,spans:null,basePos:Ne,decorations:null};Ye(je),nt.push.apply(nt,je.decorations)}var K=/\S/;function W(Se){for(var Ne=void 0,it=Se.firstChild;it;it=it.nextSibling){var Ye=it.nodeType;Ne=Ye===1?Ne?Se:it:Ye===3&&K.test(it.nodeValue)?Se:Ne}return Ne===Se?void 0:Ne}function X(Se,Ne){var it={},Ye;(function(){for(var et=Se.concat(Ne),He=[],pe={},ae=0,re=et.length;ae<re;++ae){var be=et[ae],ze=be[3];if(ze)for(var Ke=ze.length;--Ke>=0;)it[ze.charAt(Ke)]=be;var Te=be[1],gt=""+Te;pe.hasOwnProperty(gt)||(He.push(Te),pe[gt]=null)}He.push(/[\0-\uffff]/),Ye=B(He)})();var nt=Ne.length,je=function et(He){for(var pe=He.sourceCode,ae=He.basePos,re=He.sourceNode,be=[ae,T],ze=0,Ke=pe.match(Ye)||[],Te={},gt=0,Ue=Ke.length;gt<Ue;++gt){var bt=Ke[gt],wt=Te[bt],Et=void 0,xt;if(typeof wt=="string")xt=!1;else{var Tt=it[bt.charAt(0)];if(Tt)Et=bt.match(Tt[1]),wt=Tt[0];else{for(var Be=0;Be<nt;++Be)if(Tt=Ne[Be],Et=bt.match(Tt[1]),Et){wt=Tt[0];break}Et||(wt=T)}xt=wt.length>=5&&wt.substring(0,5)==="lang-",xt&&!(Et&&typeof Et[1]=="string")&&(xt=!1,wt=P),xt||(Te[bt]=wt)}var ce=ze;if(ze+=bt.length,!xt)be.push(ae+ce,wt);else{var q=Et[1],dt=bt.indexOf(q),Ve=dt+q.length;Et[2]&&(Ve=bt.length-Et[2].length,dt=Ve-q.length);var de=wt.substring(5);H(re,ae+ce,bt.substring(0,dt),et,be),H(re,ae+ce+dt,q,Ce(de,q),be),H(re,ae+ce+Ve,bt.substring(Ve),et,be)}}He.decorations=be};return je}function V(Se){var Ne=[],it=[];Se.tripleQuotedStrings?Ne.push([v,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):Se.multiLineStrings?Ne.push([v,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Ne.push([v,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),Se.verbatimStrings&&it.push([v,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Ye=Se.hashComments;Ye&&(Se.cStyleComments?(Ye>1?Ne.push([S,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Ne.push([S,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),it.push([v,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Ne.push([S,/^#[^\r\n]*/,null,"#"])),Se.cStyleComments&&(it.push([S,/^\/\/[^\r\n]*/,null]),it.push([S,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var nt=Se.regexLiterals;if(nt){var je=nt>1?"":`
\r`,et=je?".":"[\\S\\s]",He="/(?=[^/*"+je+"])(?:[^/\\x5B\\x5C"+je+"]|\\x5C"+et+"|\\x5B(?:[^\\x5C\\x5D"+je+"]|\\x5C"+et+")*(?:\\x5D|$))+/";it.push(["lang-regex",RegExp("^"+M+"("+He+")")])}var pe=Se.types;pe&&it.push([y,pe]);var ae=(""+Se.keywords).replace(/^ | $/g,"");ae.length&&it.push([b,new RegExp("^(?:"+ae.replace(/[\s,]+/g,"|")+")\\b"),null]),Ne.push([T,/^\s+/,null,` \r
\xA0`]);var re="^.[^\\s\\w.$@'\"`/\\\\]*";return Se.regexLiterals&&(re+="(?!s*/)"),it.push([w,/^@[a-z_$][a-z_$@0-9]*/i,null],[y,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[T,/^[a-z_$][a-z_$@0-9]*/i,null],[w,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[T,/^\\[\s\S]?/,null],[x,new RegExp(re),null]),X(Ne,it)}var Z=V({keywords:A,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function G(Se,Ne,it){for(var Ye=/(?:^|\s)nocode(?:\s|$)/,nt=/\r\n?|\n/,je=Se.ownerDocument,et=je.createElement("li");Se.firstChild;)et.appendChild(Se.firstChild);var He=[et];function pe(Te){var gt=Te.nodeType;if(gt==1&&!Ye.test(Te.className))if(Te.nodeName==="br")ae(Te),Te.parentNode&&Te.parentNode.removeChild(Te);else for(var Ue=Te.firstChild;Ue;Ue=Ue.nextSibling)pe(Ue);else if((gt==3||gt==4)&&it){var bt=Te.nodeValue,wt=bt.match(nt);if(wt){var Et=bt.substring(0,wt.index);Te.nodeValue=Et;var xt=bt.substring(wt.index+wt[0].length);if(xt){var Tt=Te.parentNode;Tt.insertBefore(je.createTextNode(xt),Te.nextSibling)}ae(Te),Et||Te.parentNode.removeChild(Te)}}}function ae(Te){for(;!Te.nextSibling;)if(Te=Te.parentNode,!Te)return;function gt(wt,Et){var xt=Et?wt.cloneNode(!1):wt,Tt=wt.parentNode;if(Tt){var Be=gt(Tt,1),ce=wt.nextSibling;Be.appendChild(xt);for(var q=ce;q;q=ce)ce=q.nextSibling,Be.appendChild(q)}return xt}for(var Ue=gt(Te.nextSibling,0),bt;(bt=Ue.parentNode)&&bt.nodeType===1;)Ue=bt;He.push(Ue)}for(var re=0;re<He.length;++re)pe(He[re]);Ne===(Ne|0)&&He[0].setAttribute("value",Ne);var be=je.createElement("ol");be.className="linenums";for(var ze=Math.max(0,Ne-1|0)||0,re=0,Ke=He.length;re<Ke;++re)et=He[re],et.className="L"+(re+ze)%10,et.firstChild||et.appendChild(je.createTextNode("\xA0")),be.appendChild(et);Se.appendChild(be)}function Y(Se){var Ne=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Ne=Ne&&+Ne[1]<=8;var it=/\n/g,Ye=Se.sourceCode,nt=Ye.length,je=0,et=Se.spans,He=et.length,pe=0,ae=Se.decorations,re=ae.length,be=0;ae[re]=nt;var ze,Ke;for(Ke=ze=0;Ke<re;)ae[Ke]!==ae[Ke+2]?(ae[ze++]=ae[Ke++],ae[ze++]=ae[Ke++]):Ke+=2;for(re=ze,Ke=ze=0;Ke<re;){for(var Te=ae[Ke],gt=ae[Ke+1],Ue=Ke+2;Ue+2<=re&&ae[Ue+1]===gt;)Ue+=2;ae[ze++]=Te,ae[ze++]=gt,Ke=Ue}re=ae.length=ze;var bt=Se.sourceNode,wt="";bt&&(wt=bt.style.display,bt.style.display="none");try{for(var Et=null;pe<He;){var xt=et[pe],Tt=et[pe+2]||nt,Be=ae[be+2]||nt,Ue=Math.min(Tt,Be),ce=et[pe+1],q;if(ce.nodeType!==1&&(q=Ye.substring(je,Ue))){Ne&&(q=q.replace(it,"\r")),ce.nodeValue=q;var dt=ce.ownerDocument,Ve=dt.createElement("span");Ve.className=ae[be+1];var de=ce.parentNode;de.replaceChild(Ve,ce),Ve.appendChild(ce),je<Tt&&(et[pe+1]=ce=dt.createTextNode(Ye.substring(Ue,Tt)),de.insertBefore(ce,Ve.nextSibling))}je=Ue,je>=Tt&&(pe+=2),je>=Be&&(be+=2)}}finally{bt&&(bt.style.display=wt)}}var te={};function se(Se,Ne){for(var it=Ne.length;--it>=0;){var Ye=Ne[it];te.hasOwnProperty(Ye)?h.console&&console.warn("cannot override language handler %s",Ye):te[Ye]=Se}}function Ce(Se,Ne){return Se&&te.hasOwnProperty(Se)||(Se=/^\s*</.test(Ne)?"default-markup":"default-code"),te[Se]}se(Z,["default-code"]),se(X([],[[T,/^[^<?]+/],[R,/^<!\w[^>]*(?:>|$)/],[S,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[x,/^(?:<[%?]|[%?]>)/],["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"]),se(X([[T,/^[\s]+/,null,` \r
`],[U,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[L,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[k,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[x,/^[=<>\/]+/],["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"]),se(X([],[[U,/^[\s\S]+/]]),["uq.val"]),se(V({keywords:l,hashComments:!0,cStyleComments:!0,types:g}),["c","cc","cpp","cxx","cyc","m"]),se(V({keywords:"null,true,false"}),["json"]),se(V({keywords:c,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:g}),["cs"]),se(V({keywords:n,cStyleComments:!0}),["java"]),se(V({keywords:m,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),se(V({keywords:u,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),se(V({keywords:i,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),se(V({keywords:f,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),se(V({keywords:a,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),se(V({keywords:e,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),se(X([],[[v,/^[\s\S]+/]]),["regex"]);function he(Se){var Ne=Se.langExtension;try{var it=j(Se.sourceNode,Se.pre),Ye=it.sourceCode;Se.sourceCode=Ye,Se.spans=it.spans,Se.basePos=0,Ce(Ne,Ye)(Se),Y(Se)}catch(nt){h.console&&console.log(nt&&nt.stack||nt)}}function xe(Se,Ne,it){var Ye=it||!1,nt=Ne||null,je=document.createElement("div");je.innerHTML="<pre>"+Se+"</pre>",je=je.firstChild,Ye&&G(je,Ye,!0);var et={langExtension:nt,numberLines:Ye,sourceNode:je,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return he(et),je.innerHTML}function ie(Se,Ne){var it=Ne||document.body,Ye=it.ownerDocument||document;function nt(xt){return it.getElementsByTagName(xt)}for(var je=[nt("pre"),nt("code"),nt("xmp")],et=[],He=0;He<je.length;++He)for(var pe=0,ae=je[He].length;pe<ae;++pe)et.push(je[He][pe]);je=null;var re=Date;re.now||(re={now:function(){return+new Date}});var be=0,ze=/\blang(?:uage)?-([\w.]+)(?!\S)/,Ke=/\bprettyprint\b/,Te=/\bprettyprinted\b/,gt=/pre|xmp/i,Ue=/^code$/i,bt=/^(?:pre|code|xmp)$/i,wt={};function Et(){for(var xt=h.PR_SHOULD_USE_CONTINUATION?re.now()+250:Infinity;be<et.length&&re.now()<xt;be++){for(var Tt=et[be],Be=wt,ce=Tt;ce=ce.previousSibling;){var q=ce.nodeType,dt=(q===7||q===8)&&ce.nodeValue;if(dt?!/^\??prettify\b/.test(dt):q!==3||/\S/.test(ce.nodeValue))break;if(dt){Be={},dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Qe,qt,xr){Be[qt]=xr});break}}var Ve=Tt.className;if((Be!==wt||Ke.test(Ve))&&!Te.test(Ve)){for(var de=!1,Ht=Tt.parentNode;Ht;Ht=Ht.parentNode){var tr=Ht.tagName;if(bt.test(tr)&&Ht.className&&Ke.test(Ht.className)){de=!0;break}}if(!de){Tt.className+=" prettyprinted";var lt=Be.lang;if(!lt){lt=Ve.match(ze);var Xt;!lt&&(Xt=W(Tt))&&Ue.test(Xt.tagName)&&(lt=Xt.className.match(ze)),lt&&(lt=lt[1])}var sr;if(gt.test(Tt.tagName))sr=1;else{var Kr=Tt.currentStyle,rr=Ye.defaultView,nr=Kr?Kr.whiteSpace:rr&&rr.getComputedStyle?rr.getComputedStyle(Tt,null).getPropertyValue("white-space"):0;sr=nr&&nr.substring(0,3)==="pre"}var Nt=Be.linenums;(Nt=Nt==="true"||+Nt)||(Nt=Ve.match(/\blinenums\b(?::(\d+))?/),Nt=Nt?Nt[1]&&Nt[1].length?+Nt[1]:!0:!1),Nt&&G(Tt,Nt,sr);var ot={langExtension:lt,sourceNode:Tt,numberLines:Nt,pre:sr,sourceCode:null,basePos:null,spans:null,decorations:null};he(ot)}}}be<et.length?h.setTimeout(Et,250):typeof Se=="function"&&Se()}Et()}var ee=h.PR={createSimpleLexer:X,registerLangHandler:se,sourceDecorator:V,PR_ATTRIB_NAME:k,PR_ATTRIB_VALUE:U,PR_COMMENT:S,PR_DECLARATION:R,PR_KEYWORD:b,PR_LITERAL:w,PR_NOCODE:D,PR_PLAIN:T,PR_PUNCTUATION:x,PR_SOURCE:P,PR_STRING:v,PR_TAG:L,PR_TYPE:y,prettyPrintOne:I?h.prettyPrintOne=xe:t=xe,prettyPrint:p=I?h.prettyPrint=ie:p=ie},Ze=h.define;typeof Ze=="function"&&Ze.amd&&Ze("google-code-prettify",[],function(){return ee})})()},SKnc:function(ue,z,d){var O=d("bYtY"),_=d("QuXc"),I=function(t,p,h,o,r,s){this.x=t==null?0:t,this.y=p==null?0:p,this.x2=h==null?1:h,this.y2=o==null?0:o,this.type="linear",this.global=s||!1,_.call(this,r)};I.prototype={constructor:I},O.inherits(I,_);var E=I;ue.exports=E},"SKx+":function(ue,z,d){var O=d("ProS"),_=O.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}}}),I=_;ue.exports=I},SMc4:function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("nkfE"),E=d("ICMv"),C=_.extend({type:"cartesian2dAxis",axis:null,init:function(){C.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){C.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){C.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function t(o,r){return r.type||(r.data?"category":"value")}O.merge(C.prototype,E);var p={offset:0};I("x",C,t,p),I("y",C,t,p);var h=C;ue.exports=h},SRve:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},SUKs:function(ue,z,d){var O=d("LPTA"),_=O.debugMode,I=function(){};_===1&&(I=console.error);var E=I;ue.exports=E},SZEN:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.clientToElement=O;function O(_,I,E){var C=E.getBoundingClientRect(),t={x:0,y:0};return _<C.left?t.x=0:_>=C.right?t.x=C.width-1:t.x=_-C.left,I<C.top?t.y=0:I>=C.bottom?t.y=C.height-1:t.y=I-C.top,t}},Sdc0:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("q1tI"),t=d("rePB"),p=d("ODXe"),h=d("Ff2n"),o=d("TSYQ"),r=d.n(o),s=d("6cGi"),l=d("4IlW"),n=C.forwardRef(function(b,S){var y,w=b.prefixCls,x=w===void 0?"rc-switch":w,T=b.className,L=b.checked,R=b.defaultChecked,P=b.disabled,k=b.loadingIcon,U=b.checkedChildren,D=b.unCheckedChildren,M=b.onClick,B=b.onChange,j=b.onKeyDown,H=Object(h.a)(b,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),K=Object(s.a)(!1,{value:L,defaultValue:R}),W=Object(p.a)(K,2),X=W[0],V=W[1];function Z(se,Ce){var he=X;return P||(he=se,V(he),B==null||B(he,Ce)),he}function G(se){se.which===l.a.LEFT?Z(!1,se):se.which===l.a.RIGHT&&Z(!0,se),j==null||j(se)}function Y(se){var Ce=Z(!X,se);M==null||M(Ce,se)}var te=r()(x,T,(y={},Object(t.a)(y,"".concat(x,"-checked"),X),Object(t.a)(y,"".concat(x,"-disabled"),P),y));return C.createElement("button",Object.assign({},H,{type:"button",role:"switch","aria-checked":X,disabled:P,className:te,ref:S,onKeyDown:G,onClick:Y}),k,C.createElement("span",{className:"".concat(x,"-inner")},X?U:D))});n.displayName="Switch";var c=n,e=d("gZBC"),a=d.n(e),i=d("g0mS"),u=d("H84U"),f=d("3Nzz"),m=d("uaoM"),A=function(b,S){var y={};for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&S.indexOf(w)<0&&(y[w]=b[w]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,w=Object.getOwnPropertySymbols(b);x<w.length;x++)S.indexOf(w[x])<0&&Object.prototype.propertyIsEnumerable.call(b,w[x])&&(y[w[x]]=b[w[x]]);return y},g=C.forwardRef(function(b,S){var y,w=b.prefixCls,x=b.size,T=b.loading,L=b.className,R=L===void 0?"":L,P=b.disabled,k=A(b,["prefixCls","size","loading","className","disabled"]);Object(m.a)("checked"in k||!("value"in k),"Switch","`value` is not a valid prop, do you mean `checked`?");var U=C.useContext(u.b),D=U.getPrefixCls,M=U.direction,B=C.useContext(f.b),j=D("switch",w),H=C.createElement("div",{className:"".concat(j,"-handle")},T&&C.createElement(a.a,{className:"".concat(j,"-loading-icon")})),K=r()(R,(y={},E()(y,"".concat(j,"-small"),(x||B)==="small"),E()(y,"".concat(j,"-loading"),T),E()(y,"".concat(j,"-rtl"),M==="rtl"),y));return C.createElement(i.a,{insertExtraNode:!0},C.createElement(c,_()({},k,{prefixCls:j,className:K,disabled:P||T,ref:S,loadingIcon:H})))});g.__ANT_SWITCH=!0,g.displayName="Switch";var v=z.a=g},SehX:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("2B6p"),E=I.updateCenterAndZoom;O.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(C,t){var p=C.componentType||"series";t.eachComponent({mainType:p,query:C},function(h){var o=h.coordinateSystem;if(o.type!=="geo")return;var r=E(o,C,h.get("scaleLimit"));h.setCenter&&h.setCenter(r.center),h.setZoom&&h.setZoom(r.zoom),p==="series"&&_.each(h.seriesGroup,function(s){s.setCenter(r.center),s.setZoom(r.zoom)})})})},SgGq:function(ue,z,d){var O=d("bYtY"),_=d("H6uX"),I=d("YH21"),E=d("pP6R");function C(e){this.pointerChecker,this._zr=e,this._opt={};var a=O.bind,i=a(t,this),u=a(p,this),f=a(h,this),m=a(o,this),A=a(r,this);_.call(this),this.setPointerChecker=function(g){this.pointerChecker=g},this.enable=function(g,v){this.disable(),this._opt=O.defaults(O.clone(v)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),g==null&&(g=!0),(g===!0||g==="move"||g==="pan")&&(e.on("mousedown",i),e.on("mousemove",u),e.on("mouseup",f)),(g===!0||g==="scale"||g==="zoom")&&(e.on("mousewheel",m),e.on("pinch",A))},this.disable=function(){e.off("mousedown",i),e.off("mousemove",u),e.off("mouseup",f),e.off("mousewheel",m),e.off("pinch",A)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}O.mixin(C,_);function t(e){if(I.isMiddleOrRightButtonOnMouseUpDown(e)||e.target&&e.target.draggable)return;var a=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,a,i)&&(this._x=a,this._y=i,this._dragging=!0)}function p(e){if(!this._dragging||!n("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||E.isTaken(this._zr,"globalPan"))return;var a=e.offsetX,i=e.offsetY,u=this._x,f=this._y,m=a-u,A=i-f;this._x=a,this._y=i,this._opt.preventDefaultMouseMove&&I.stop(e.event),l(this,"pan","moveOnMouseMove",e,{dx:m,dy:A,oldX:u,oldY:f,newX:a,newY:i})}function h(e){I.isMiddleOrRightButtonOnMouseUpDown(e)||(this._dragging=!1)}function o(e){var a=n("zoomOnMouseWheel",e,this._opt),i=n("moveOnMouseWheel",e,this._opt),u=e.wheelDelta,f=Math.abs(u),m=e.offsetX,A=e.offsetY;if(u===0||!a&&!i)return;if(a){var g=f>3?1.4:f>1?1.2:1.1,v=u>0?g:1/g;s(this,"zoom","zoomOnMouseWheel",e,{scale:v,originX:m,originY:A})}if(i){var b=Math.abs(u),S=(u>0?1:-1)*(b>3?.4:b>1?.15:.05);s(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:S,originX:m,originY:A})}}function r(e){if(E.isTaken(this._zr,"globalPan"))return;var a=e.pinchScale>1?1.1:1/1.1;s(this,"zoom",null,e,{scale:a,originX:e.pinchX,originY:e.pinchY})}function s(e,a,i,u,f){e.pointerChecker&&e.pointerChecker(u,f.originX,f.originY)&&(I.stop(u.event),l(e,a,i,u,f))}function l(e,a,i,u,f){f.isAvailableBehavior=O.bind(n,null,i,u),e.trigger(a,f)}function n(e,a,i){var u=i[e];return!e||u&&(!O.isString(u)||a.event[u+"Key"])}var c=C;ue.exports=c},SgaC:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(C,t){if(!(C instanceof t))throw new TypeError("Cannot call a class as a function")}function _(C,t){for(var p=0;p<t.length;p++){var h=t[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(C,h.key,h)}}function I(C,t,p){return t&&_(C.prototype,t),p&&_(C,p),C}var E=function(){function C(){O(this,C),this._subrects=0}return I(C,[{key:"decodeRect",value:function(p,h,o,r,s,l,n){if(this._subrects===0){if(s.rQwait("RRE",4+4))return!1;this._subrects=s.rQshift32();var c=s.rQshiftBytes(4);l.fillRect(p,h,o,r,c)}for(;this._subrects>0;){if(s.rQwait("RRE",4+8))return!1;var e=s.rQshiftBytes(4),a=s.rQshift16(),i=s.rQshift16(),u=s.rQshift16(),f=s.rQshift16();l.fillRect(p+a,h+i,u,f,e),this._subrects--}return!0}}]),C}();z.default=E},Sj0X:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("XuBP")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="DownOutlined";var h=E.forwardRef(p);z.default=h},Sj9i:function(ue,z,d){var O=d("QBsz"),_=O.create,I=O.distSquare,E=Math.pow,C=Math.sqrt,t=1e-8,p=1e-4,h=C(3),o=1/3,r=_(),s=_(),l=_();function n(w){return w>-t&&w<t}function c(w){return w>t||w<-t}function e(w,x,T,L,R){var P=1-R;return P*P*(P*w+3*R*x)+R*R*(R*L+3*P*T)}function a(w,x,T,L,R){var P=1-R;return 3*(((x-w)*P+2*(T-x)*R)*P+(L-T)*R*R)}function i(w,x,T,L,R,P){var k=L+3*(x-T)-w,U=3*(T-x*2+w),D=3*(x-w),M=w-R,B=U*U-3*k*D,j=U*D-9*k*M,H=D*D-3*U*M,K=0;if(n(B)&&n(j))if(n(U))P[0]=0;else{var W=-D/U;W>=0&&W<=1&&(P[K++]=W)}else{var X=j*j-4*B*H;if(n(X)){var V=j/B,W=-U/k+V,Z=-V/2;W>=0&&W<=1&&(P[K++]=W),Z>=0&&Z<=1&&(P[K++]=Z)}else if(X>0){var G=C(X),Y=B*U+1.5*k*(-j+G),te=B*U+1.5*k*(-j-G);Y<0?Y=-E(-Y,o):Y=E(Y,o),te<0?te=-E(-te,o):te=E(te,o);var W=(-U-(Y+te))/(3*k);W>=0&&W<=1&&(P[K++]=W)}else{var se=(2*B*U-3*k*j)/(2*C(B*B*B)),Ce=Math.acos(se)/3,he=C(B),xe=Math.cos(Ce),W=(-U-2*he*xe)/(3*k),Z=(-U+he*(xe+h*Math.sin(Ce)))/(3*k),ie=(-U+he*(xe-h*Math.sin(Ce)))/(3*k);W>=0&&W<=1&&(P[K++]=W),Z>=0&&Z<=1&&(P[K++]=Z),ie>=0&&ie<=1&&(P[K++]=ie)}}return K}function u(w,x,T,L,R){var P=6*T-12*x+6*w,k=9*x+3*L-3*w-9*T,U=3*x-3*w,D=0;if(n(k)){if(c(P)){var M=-U/P;M>=0&&M<=1&&(R[D++]=M)}}else{var B=P*P-4*k*U;if(n(B))R[0]=-P/(2*k);else if(B>0){var j=C(B),M=(-P+j)/(2*k),H=(-P-j)/(2*k);M>=0&&M<=1&&(R[D++]=M),H>=0&&H<=1&&(R[D++]=H)}}return D}function f(w,x,T,L,R,P){var k=(x-w)*R+w,U=(T-x)*R+x,D=(L-T)*R+T,M=(U-k)*R+k,B=(D-U)*R+U,j=(B-M)*R+M;P[0]=w,P[1]=k,P[2]=M,P[3]=j,P[4]=j,P[5]=B,P[6]=D,P[7]=L}function m(w,x,T,L,R,P,k,U,D,M,B){var j,H=.005,K=Infinity,W,X,V,Z;r[0]=D,r[1]=M;for(var G=0;G<1;G+=.05)s[0]=e(w,T,R,k,G),s[1]=e(x,L,P,U,G),V=I(r,s),V<K&&(j=G,K=V);K=Infinity;for(var Y=0;Y<32&&!(H<p);Y++)W=j-H,X=j+H,s[0]=e(w,T,R,k,W),s[1]=e(x,L,P,U,W),V=I(s,r),W>=0&&V<K?(j=W,K=V):(l[0]=e(w,T,R,k,X),l[1]=e(x,L,P,U,X),Z=I(l,r),X<=1&&Z<K?(j=X,K=Z):H*=.5);return B&&(B[0]=e(w,T,R,k,j),B[1]=e(x,L,P,U,j)),C(K)}function A(w,x,T,L){var R=1-L;return R*(R*w+2*L*x)+L*L*T}function g(w,x,T,L){return 2*((1-L)*(x-w)+L*(T-x))}function v(w,x,T,L,R){var P=w-2*x+T,k=2*(x-w),U=w-L,D=0;if(n(P)){if(c(k)){var M=-U/k;M>=0&&M<=1&&(R[D++]=M)}}else{var B=k*k-4*P*U;if(n(B)){var M=-k/(2*P);M>=0&&M<=1&&(R[D++]=M)}else if(B>0){var j=C(B),M=(-k+j)/(2*P),H=(-k-j)/(2*P);M>=0&&M<=1&&(R[D++]=M),H>=0&&H<=1&&(R[D++]=H)}}return D}function b(w,x,T){var L=w+T-2*x;return L===0?.5:(w-x)/L}function S(w,x,T,L,R){var P=(x-w)*L+w,k=(T-x)*L+x,U=(k-P)*L+P;R[0]=w,R[1]=P,R[2]=U,R[3]=U,R[4]=k,R[5]=T}function y(w,x,T,L,R,P,k,U,D){var M,B=.005,j=Infinity;r[0]=k,r[1]=U;for(var H=0;H<1;H+=.05){s[0]=A(w,T,R,H),s[1]=A(x,L,P,H);var K=I(r,s);K<j&&(M=H,j=K)}j=Infinity;for(var W=0;W<32&&!(B<p);W++){var X=M-B,V=M+B;s[0]=A(w,T,R,X),s[1]=A(x,L,P,X);var K=I(s,r);if(X>=0&&K<j)M=X,j=K;else{l[0]=A(w,T,R,V),l[1]=A(x,L,P,V);var Z=I(l,r);V<=1&&Z<j?(M=V,j=Z):B*=.5}}return D&&(D[0]=A(w,T,R,M),D[1]=A(x,L,P,M)),C(j)}z.cubicAt=e,z.cubicDerivativeAt=a,z.cubicRootAt=i,z.cubicExtrema=u,z.cubicSubdivide=f,z.cubicProjectPoint=m,z.quadraticAt=A,z.quadraticDerivativeAt=g,z.quadraticRootAt=v,z.quadraticExtremum=b,z.quadraticSubdivide=S,z.quadraticProjectPoint=y},Sp2Z:function(ue,z,d){var O=d("3LNs"),_=d("/y7N"),I=d("AVZG"),E=d("Znkb"),C=O.extend({makeElOption:function(r,s,l,n,c){var e=l.axis,a=e.grid,i=n.get("type"),u=t(a,e).getOtherAxis(e).getGlobalExtent(),f=e.toGlobalCoord(e.dataToCoord(s,!0));if(i&&i!=="none"){var m=_.buildElStyle(n),A=p[i](e,f,u);A.style=m,r.graphicKey=A.type,r.pointer=A}var g=I.layout(a.model,l);_.buildCartesianSingleLabelElOption(s,r,g,l,n,c)},getHandleTransform:function(r,s,l){var n=I.layout(s.axis.grid.model,s,{labelInside:!1});return n.labelMargin=l.get("handle.margin"),{position:_.getTransformedPosition(s.axis,r,n),rotation:n.rotation+(n.labelDirection<0?Math.PI:0)}},updateHandleTransform:function(r,s,l,n){var c=l.axis,e=c.grid,a=c.getGlobalExtent(!0),i=t(e,c).getOtherAxis(c).getGlobalExtent(),u=c.dim==="x"?0:1,f=r.position;f[u]+=s[u],f[u]=Math.min(a[1],f[u]),f[u]=Math.max(a[0],f[u]);var m=(i[1]+i[0])/2,A=[m,m];A[u]=f[u];var g=[{verticalAlign:"middle"},{align:"center"}];return{position:f,rotation:r.rotation,cursorPoint:A,tooltipOption:g[u]}}});function t(r,s){var l={};return l[s.dim+"AxisIndex"]=s.index,r.getCartesian(l)}var p={line:function(r,s,l){var n=_.makeLineShape([s,l[0]],[s,l[1]],h(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,s,l){var n=Math.max(1,r.getBandWidth()),c=l[1]-l[0];return{type:"Rect",shape:_.makeRectShape([s-n/2,l[0]],[n,c],h(r))}}};function h(r){return r.dim==="x"?0:1}E.registerAxisPointerClass("CartesianAxisPointer",C);var o=C;ue.exports=o},Sq3C:function(ue,z,d){var O=d("sKgW"),_=d("zoYe"),I=d("wy8a"),E=d("quyA"),C=d("Z1HP"),t=d("Em2t"),p=Math.ceil;function h(o,r){r=r===void 0?" ":_(r);var s=r.length;if(s<2)return s?O(r,o):r;var l=O(r,p(o/C(r)));return E(r)?I(t(l),0,o).join(""):l.slice(0,o)}ue.exports=h},SqI9:function(ue,z,d){var O=d("y+Vt"),_=d("iXp4"),I=O.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:_(O.prototype.brush),buildPath:function(C,t){var p=t.cx,h=t.cy,o=Math.max(t.r0||0,0),r=Math.max(t.r,0),s=t.startAngle,l=t.endAngle,n=t.clockwise,c=Math.cos(s),e=Math.sin(s);C.moveTo(c*o+p,e*o+h),C.lineTo(c*r+p,e*r+h),C.arc(p,h,r,s,l,!n),C.lineTo(Math.cos(l)*o+p,Math.sin(l)*o+h),o!==0&&C.arc(p,h,o,l,s,n),C.closePath()}});ue.exports=I},SrGk:function(ue,z,d){var O=d("hydK"),_=O.createElement,I=d("bYtY"),E=d("y+Vt"),C=d("Dagg"),t=d("dqUG"),p=d("P47w"),h=p.path,o=p.image,r=p.text,s="0",l="1";function n(e,a,i,u,f){this._zrId=e,this._svgRoot=a,this._tagNames=typeof i=="string"?[i]:i,this._markLabel=u,this._domName=f||"_dom",this.nextId=0}n.prototype.createElement=_,n.prototype.getDefs=function(e){var a=this._svgRoot,i=this._svgRoot.getElementsByTagName("defs");return i.length===0?e?(i=a.insertBefore(this.createElement("defs"),a.firstChild),i.contains||(i.contains=function(u){var f=i.children;if(!f)return!1;for(var m=f.length-1;m>=0;--m)if(f[m]===u)return!0;return!1}),i):null:i[0]},n.prototype.update=function(e,a){if(!e)return;var i=this.getDefs(!1);if(e[this._domName]&&i.contains(e[this._domName]))typeof a=="function"&&a(e);else{var u=this.add(e);u&&(e[this._domName]=u)}},n.prototype.addDom=function(e){var a=this.getDefs(!0);a.appendChild(e)},n.prototype.removeDom=function(e){var a=this.getDefs(!1);a&&e[this._domName]&&(a.removeChild(e[this._domName]),e[this._domName]=null)},n.prototype.getDoms=function(){var e=this.getDefs(!1);if(!e)return[];var a=[];return I.each(this._tagNames,function(i){var u=e.getElementsByTagName(i);a=a.concat([].slice.call(u))}),a},n.prototype.markAllUnused=function(){var e=this.getDoms(),a=this;I.each(e,function(i){i[a._markLabel]=s})},n.prototype.markUsed=function(e){e&&(e[this._markLabel]=l)},n.prototype.removeUnused=function(){var e=this.getDefs(!1);if(!e)return;var a=this.getDoms(),i=this;I.each(a,function(u){u[i._markLabel]!==l&&e.removeChild(u)})},n.prototype.getSvgProxy=function(e){return e instanceof E?h:e instanceof C?o:e instanceof t?r:h},n.prototype.getTextSvgElement=function(e){return e.__textSvgEl},n.prototype.getSvgElement=function(e){return e.__svgEl};var c=n;ue.exports=c},Swgg:function(ue,z,d){var O=d("fc+c"),_=O.extend({type:"dataZoom.select"});ue.exports=_},Sxd8:function(ue,z,d){var O=d("ZCgT");function _(I){var E=O(I),C=E%1;return E===E?C?E-C:E:0}ue.exports=_},T1rO:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("zdCA"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},T4UG:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("ItGF"),C=d("7aKB"),t=C.formatTime,p=C.encodeHTML,h=C.addCommas,o=C.getTooltipMarker,r=d("4NO4"),s=d("bLfw"),l=d("5Hur"),n=d("OKJ2"),c=d("+TT/"),e=c.getLayoutParams,a=c.mergeLayoutParam,i=d("9H2F"),u=i.createTask,f=d("D5nY"),m=f.prepareSource,A=f.getSource,g=d("KxfA"),v=g.retrieveRawValue,b=r.makeInner(),S=s.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(D,M,B,j){this.seriesIndex=this.componentIndex,this.dataTask=u({count:x,reset:T}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(D,B),m(this);var H=this.getInitialData(D,B);R(H,this),this.dataTask.context.data=H,b(this).dataBeforeProcessed=H,y(this)},mergeDefaultAndTheme:function(D,M){var B=this.layoutMode,j=B?e(D):{},H=this.subType;s.hasClass(H)&&(H+="Series"),I.merge(D,M.getTheme().get(this.subType)),I.merge(D,this.getDefaultOption()),r.defaultEmphasis(D,"label",["show"]),this.fillDataTextStyle(D.data),B&&a(D,j,B)},mergeOption:function(D,M){D=I.merge(this.option,D,!0),this.fillDataTextStyle(D.data);var B=this.layoutMode;B&&a(this.option,D,B),m(this);var j=this.getInitialData(D,M);R(j,this),this.dataTask.dirty(),this.dataTask.context.data=j,b(this).dataBeforeProcessed=j,y(this)},fillDataTextStyle:function(D){if(D&&!I.isTypedArray(D))for(var M=["show"],B=0;B<D.length;B++)D[B]&&D[B].label&&r.defaultEmphasis(D[B],"label",M)},getInitialData:function(){},appendData:function(D){var M=this.getRawData();M.appendData(D.data)},getData:function(D){var M=k(this);if(M){var B=M.context.data;return D==null?B:B.getLinkedData(D)}else return b(this).data},setData:function(D){var M=k(this);if(M){var B=M.context;B.data!==D&&M.modifyOutputEnd&&M.setOutputEnd(D.count()),B.outputData=D,M!==this.dataTask&&(B.data=D)}b(this).data=D},getSource:function(){return A(this)},getRawData:function(){return b(this).dataBeforeProcessed},getBaseAxis:function(){var D=this.coordinateSystem;return D&&D.getBaseAxis&&D.getBaseAxis()},formatTooltip:function(D,M,B,j){var H=this;j=j||"html";var K=j==="html"?"<br/>":`
`,W=j==="richText",X={},V=0;function Z(je){var et=I.reduce(je,function(be,ze,Ke){var Te=Y.getDimensionInfo(Ke);return be|=Te&&Te.tooltip!==!1&&Te.displayName!=null},0),He=[];te.length?I.each(te,function(be){pe(v(Y,D,be),be)}):I.each(je,pe);function pe(be,ze){var Ke=Y.getDimensionInfo(ze);if(!Ke||Ke.otherDims.tooltip===!1)return;var Te=Ke.type,gt="sub"+H.seriesIndex+"at"+V,Ue=o({color:xe,type:"subItem",renderMode:j,markerId:gt}),bt=typeof Ue=="string"?Ue:Ue.content,wt=(et?bt+p(Ke.displayName||"-")+": ":"")+p(Te==="ordinal"?be+"":Te==="time"?M?"":t("yyyy/MM/dd hh:mm:ss",be):h(be));wt&&He.push(wt),W&&(X[gt]=xe,++V)}var ae=et?W?`
`:"<br/>":"",re=ae+He.join(ae||", ");return{renderMode:j,content:re,style:X}}function G(je){return{renderMode:j,content:p(h(je)),style:X}}var Y=this.getData(),te=Y.mapDimension("defaultedTooltip",!0),se=te.length,Ce=this.getRawValue(D),he=I.isArray(Ce),xe=Y.getItemVisual(D,"color");I.isObject(xe)&&xe.colorStops&&(xe=(xe.colorStops[0]||{}).color),xe=xe||"transparent";var ie=se>1||he&&!se?Z(Ce):G(se?v(Y,D,te[0]):he?Ce[0]:Ce),ee=ie.content,Ze=H.seriesIndex+"at"+V,Se=o({color:xe,type:"item",renderMode:j,markerId:Ze});X[Ze]=xe,++V;var Ne=Y.getName(D),it=this.name;r.isNameSpecified(this)||(it=""),it=it?p(it)+(M?": ":K):"";var Ye=typeof Se=="string"?Se:Se.content,nt=M?Ye+it+ee:it+Ye+(Ne?p(Ne)+": "+ee:ee);return{html:nt,markers:X}},isAnimationEnabled:function(){if(E.node)return!1;var D=this.getShallow("animation");return D&&(this.getData().count()>this.getShallow("animationThreshold")&&(D=!1)),D},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(D,M,B){var j=this.ecModel,H=l.getColorFromPalette.call(this,D,M,B);return H||(H=j.getColorFromPalette(D,M,B)),H},coordDimToDataDim:function(D){return this.getRawData().mapDimension(D,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});I.mixin(S,n),I.mixin(S,l);function y(D){var M=D.name;r.isNameSpecified(D)||(D.name=w(D)||M)}function w(D){var M=D.getRawData(),B=M.mapDimension("seriesName",!0),j=[];return I.each(B,function(H){var K=M.getDimensionInfo(H);K.displayName&&j.push(K.displayName)}),j.join(" ")}function x(D){return D.model.getRawData().count()}function T(D){var M=D.model;return M.setData(M.getRawData().cloneShallow()),L}function L(D,M){M.outputData&&D.end>M.outputData.count()&&M.model.getRawData().cloneShallow(M.outputData)}function R(D,M){I.each(D.CHANGABLE_METHODS,function(B){D.wrapMethod(B,I.curry(P,M))})}function P(D){var M=k(D);M&&M.setOutputEnd(this.count())}function k(D){var M=(D.ecModel||{}).scheduler,B=M&&M.getPipeline(D.uid);if(B){var j=B.currentTask;if(j){var H=j.agentStubMap;H&&(j=H.get(D.uid))}return j}}var U=S;ue.exports=U},T6xi:function(ue,z,d){var O=d("YgsL"),_=d("nCxF");function I(E,C,t){var p=C.points,h=C.smooth;if(p&&p.length>=2){if(h&&h!=="spline"){var o=_(p,h,t,C.smoothConstraint);E.moveTo(p[0][0],p[0][1]);for(var r=p.length,s=0;s<(t?r:r-1);s++){var l=o[s*2],n=o[s*2+1],c=p[(s+1)%r];E.bezierCurveTo(l[0],l[1],n[0],n[1],c[0],c[1])}}else{h==="spline"&&(p=O(p,t)),E.moveTo(p[0][0],p[0][1]);for(var s=1,e=p.length;s<e;s++)E.lineTo(p[s][0],p[s][1])}t&&E.closePath()}}z.buildPath=I},TIY9:function(ue,z,d){var O=d("bYtY"),_=O.each,I=d("vafp"),E=d("4NO4"),C=E.makeInner,t=d("Mgri"),p=d("F5Ls"),h=d("a9QJ"),o=d("p/La"),r=C(),s={load:function(n,c,e){var a=r(c).parsed;if(a)return a;var i=c.specialAreas||{},u=c.geoJSON,f;try{f=u?I(u,e):[]}catch(m){throw new Error(`Invalid geoJson format
`+m.message)}return t(n,f),_(f,function(m){var A=m.name;p(n,m),h(n,m),o(n,m);var g=i[A];g&&m.transformTo(g.left,g.top,g.width,g.height)}),r(c).parsed={regions:f,boundingRect:l(f)}}};function l(n){for(var c,e=0;e<n.length;e++){var a=n[e].getBoundingRect();c=c||a.clone(),c.union(a)}return c}ue.exports=s},TJmX:function(ue,z,d){var O=d("zM3Q"),_=["itemStyle","borderColor"],I=["itemStyle","borderColor0"],E=["itemStyle","color"],C=["itemStyle","color0"],t={seriesType:"candlestick",plan:O(),performRawSeries:!0,reset:function(p,h){var o=p.getData();if(o.setVisual({legendSymbol:"roundRect",colorP:l(1,p),colorN:l(-1,p),borderColorP:n(1,p),borderColorN:n(-1,p)}),h.isSeriesFiltered(p))return;var r=p.pipelineContext.large;return!r&&{progress:s};function s(c,e){for(var a;(a=c.next())!=null;){var i=e.getItemModel(a),u=e.getItemLayout(a).sign;e.setItemVisual(a,{color:l(u,i),borderColor:n(u,i)})}}function l(c,e){return e.get(c>0?E:C)}function n(c,e){return e.get(c>0?_:I)}}};ue.exports=t},TWL2:function(ue,z,d){var O=d("IwbS"),_=d("bYtY"),I=d("6Ic6");function E(o,r){O.Group.call(this);var s=new O.Polygon,l=new O.Polyline,n=new O.Text;this.add(s),this.add(l),this.add(n),this.highDownOnUpdate=function(c,e){e==="emphasis"?(l.ignore=l.hoverIgnore,n.ignore=n.hoverIgnore):(l.ignore=l.normalIgnore,n.ignore=n.normalIgnore)},this.updateData(o,r,!0)}var C=E.prototype,t=["itemStyle","opacity"];C.updateData=function(o,r,s){var l=this.childAt(0),n=o.hostModel,c=o.getItemModel(r),e=o.getItemLayout(r),a=o.getItemModel(r).get(t);a=a==null?1:a,l.useStyle({}),s?(l.setShape({points:e.points}),l.setStyle({opacity:0}),O.initProps(l,{style:{opacity:a}},n,r)):O.updateProps(l,{style:{opacity:a},shape:{points:e.points}},n,r);var i=c.getModel("itemStyle"),u=o.getItemVisual(r,"color");l.setStyle(_.defaults({lineJoin:"round",fill:u},i.getItemStyle(["opacity"]))),l.hoverStyle=i.getModel("emphasis").getItemStyle(),this._updateLabel(o,r),O.setHoverStyle(this)},C._updateLabel=function(o,r){var s=this.childAt(1),l=this.childAt(2),n=o.hostModel,c=o.getItemModel(r),e=o.getItemLayout(r),a=e.label,i=o.getItemVisual(r,"color");O.updateProps(s,{shape:{points:a.linePoints||a.linePoints}},n,r),O.updateProps(l,{style:{x:a.x,y:a.y}},n,r),l.attr({rotation:a.rotation,origin:[a.x,a.y],z2:10});var u=c.getModel("label"),f=c.getModel("emphasis.label"),m=c.getModel("labelLine"),A=c.getModel("emphasis.labelLine"),i=o.getItemVisual(r,"color");O.setLabelStyle(l.style,l.hoverStyle={},u,f,{labelFetcher:o.hostModel,labelDataIndex:r,defaultText:o.getName(r),autoColor:i,useInsideStyle:!!a.inside},{textAlign:a.textAlign,textVerticalAlign:a.verticalAlign}),l.ignore=l.normalIgnore=!u.get("show"),l.hoverIgnore=!f.get("show"),s.ignore=s.normalIgnore=!m.get("show"),s.hoverIgnore=!A.get("show"),s.setStyle({stroke:i}),s.setStyle(m.getModel("lineStyle").getLineStyle()),s.hoverStyle=A.getModel("lineStyle").getLineStyle()},_.inherits(E,O.Group);var p=I.extend({type:"funnel",render:function(o,r,s){var l=o.getData(),n=this._data,c=this.group;l.diff(n).add(function(e){var a=new E(l,e);l.setItemGraphicEl(e,a),c.add(a)}).update(function(e,a){var i=n.getItemGraphicEl(a);i.updateData(l,e),c.add(i),l.setItemGraphicEl(e,i)}).remove(function(e){var a=n.getItemGraphicEl(e);c.remove(a)}).execute(),this._data=l},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}}),h=p;ue.exports=h},TYVI:function(ue,z,d){var O=d("5GtS"),_=d("T4UG"),I=_.extend({type:"series.gauge",getInitialData:function(C,t){return O(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}}}),E=I;ue.exports=E},Tghj:function(ue,z,d){(function(O){var _;typeof window!="undefined"?_=window.__DEV__:typeof O!="undefined"&&(_=O.__DEV__),typeof _=="undefined"&&(_=!0);var I=_;z.__DEV__=I}).call(this,d("yLpj"))},ThAp:function(ue,z,d){var O=d("bYtY"),_=d("5GtS"),I=d("T4UG"),E=d("7aKB"),C=E.encodeHTML,t=E.addCommas,p=d("cCMj"),h=d("KxfA"),o=h.retrieveRawAttr,r=d("W4dC"),s=d("D5nY"),l=s.makeSeriesEncodeForNameBased,n=I.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(e){for(var a=_(this,{coordDimensions:["value"],encodeDefaulter:O.curry(l,this)}),i=a.mapDimension("value"),u=O.createHashMap(),f=[],m=[],A=0,g=a.count();A<g;A++){var v=a.getName(A);u.set(v,!0),f.push({name:v,value:a.get(i,A),selected:o(a,A,"selected")})}var b=r.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return O.each(b.regions,function(S){var y=S.name;u.get(y)||(f.push({name:y}),m.push(y))}),this.updateSelectedMap(f),a.appendValues([],m),a},getHostGeoModel:function(){var e=this.option.geoIndex;return e!=null?this.dependentModels.geo[e]:null},getMapType:function(){return(this.getHostGeoModel()||this).option.map},getRawValue:function(e){var a=this.getData();return a.get(a.mapDimension("value"),e)},getRegionModel:function(e){var a=this.getData();return a.getItemModel(a.indexOfName(e))},formatTooltip:function(e){for(var a=this.getData(),i=t(this.getRawValue(e)),u=a.getName(e),f=this.seriesGroup,m=[],A=0;A<f.length;A++){var g=f[A].originalData.indexOfName(u),v=a.mapDimension("value");isNaN(f[A].originalData.get(v,g))||m.push(C(f[A].name))}return m.join(", ")+"<br />"+C(u+" : "+i)},getTooltipPosition:function(e){if(e!=null){var a=this.getData().getName(e),i=this.coordinateSystem,u=i.getRegion(a);return u&&i.dataToPoint(u.center)}},setZoom:function(e){this.option.zoom=e},setCenter:function(e){this.option.center=e},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"}});O.mixin(n,p);var c=n;ue.exports=c},TkdX:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I={NONE:"none",DESCENDANT:"descendant",ANCESTOR:"ancestor",SELF:"self"},E=2,C=4;function t(n,c,e){_.Group.call(this);var a=new _.Sector({z2:E});a.seriesIndex=c.seriesIndex;var i=new _.Text({z2:C,silent:n.getModel("label").get("silent")});this.add(a),this.add(i),this.updateData(!0,n,"normal",c,e);function u(){i.ignore=i.hoverIgnore}function f(){i.ignore=i.normalIgnore}this.on("emphasis",u).on("normal",f).on("mouseover",u).on("mouseout",f)}var p=t.prototype;p.updateData=function(n,c,e,a,i){this.node=c,c.piece=this,a=a||this._seriesModel,i=i||this._ecModel;var u=this.childAt(0);u.dataIndex=c.dataIndex;var f=c.getModel(),m=c.getLayout(),A=O.extend({},m);A.label=null;var g=o(c,a,i);l(c,a,g);var v=f.getModel("itemStyle").getItemStyle(),b;if(e==="normal")b=v;else{var S=f.getModel(e+".itemStyle").getItemStyle();b=O.merge(S,v)}b=O.defaults({lineJoin:"bevel",fill:b.fill||g},b),n?(u.setShape(A),u.shape.r=m.r0,_.updateProps(u,{shape:{r:m.r}},a,c.dataIndex),u.useStyle(b)):typeof b.fill=="object"&&b.fill.type||typeof u.style.fill=="object"&&u.style.fill.type?(_.updateProps(u,{shape:A},a),u.useStyle(b)):_.updateProps(u,{shape:A,style:b},a),this._updateLabel(a,g,e);var y=f.getShallow("cursor");if(y&&u.attr("cursor",y),n){var w=a.getShallow("highlightPolicy");this._initEvents(u,c,a,w)}this._seriesModel=a||this._seriesModel,this._ecModel=i||this._ecModel,_.setHoverStyle(this)},p.onEmphasis=function(n){var c=this;this.node.hostTree.root.eachNode(function(e){e.piece&&(c.node===e?e.piece.updateData(!1,e,"emphasis"):s(e,c.node,n)?e.piece.childAt(0).trigger("highlight"):n!==I.NONE&&e.piece.childAt(0).trigger("downplay"))})},p.onNormal=function(){this.node.hostTree.root.eachNode(function(n){n.piece&&n.piece.updateData(!1,n,"normal")})},p.onHighlight=function(){this.updateData(!1,this.node,"highlight")},p.onDownplay=function(){this.updateData(!1,this.node,"downplay")},p._updateLabel=function(n,c,e){var a=this.node.getModel(),i=a.getModel("label"),u=e==="normal"||e==="emphasis"?i:a.getModel(e+".label"),f=a.getModel("emphasis.label"),m=O.retrieve(n.getFormattedLabel(this.node.dataIndex,e,null,null,"label"),this.node.name);M("show")===!1&&(m="");var A=this.node.getLayout(),g=u.get("minAngle");g==null&&(g=i.get("minAngle")),g=g/180*Math.PI;var v=A.endAngle-A.startAngle;g!=null&&Math.abs(v)<g&&(m="");var b=this.childAt(1);_.setLabelStyle(b.style,b.hoverStyle||{},i,f,{defaultText:u.getShallow("show")?m:null,autoColor:c,useInsideStyle:!0});var S=(A.startAngle+A.endAngle)/2,y=Math.cos(S),w=Math.sin(S),x,T=M("position"),L=M("distance")||0,R=M("align");T==="outside"?(x=A.r+L,R=S>Math.PI/2?"right":"left"):!R||R==="center"?(x=(A.r+A.r0)/2,R="center"):R==="left"?(x=A.r0+L,S>Math.PI/2&&(R="right")):R==="right"&&(x=A.r-L,S>Math.PI/2&&(R="left")),b.attr("style",{text:m,textAlign:R,textVerticalAlign:M("verticalAlign")||"middle",opacity:M("opacity")});var P=x*y+A.cx,k=x*w+A.cy;b.attr("position",[P,k]);var U=M("rotate"),D=0;U==="radial"?(D=-S,D<-Math.PI/2&&(D+=Math.PI)):U==="tangential"?(D=Math.PI/2-S,D>Math.PI/2?D-=Math.PI:D<-Math.PI/2&&(D+=Math.PI)):typeof U=="number"&&(D=U*Math.PI/180),b.attr("rotation",D);function M(B){var j=u.get(B);return j==null?i.get(B):j}},p._initEvents=function(n,c,e,a){n.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,u=function(){i.onEmphasis(a)},f=function(){i.onNormal()},m=function(){i.onDownplay()},A=function(){i.onHighlight()};e.isAnimationEnabled()&&n.on("mouseover",u).on("mouseout",f).on("emphasis",u).on("normal",f).on("downplay",m).on("highlight",A)},O.inherits(t,_.Group);var h=t;function o(n,c,e){var a=n.getVisual("color"),i=n.getVisual("visualMeta");(!i||i.length===0)&&(a=null);var u=n.getModel("itemStyle").get("color");if(u)return u;if(a)return a;if(n.depth===0)return e.option.color[0];var f=e.option.color.length;return u=e.option.color[r(n)%f],u}function r(n){for(var c=n;c.depth>1;)c=c.parentNode;var e=n.getAncestors()[0];return O.indexOf(e.children,c)}function s(n,c,e){return e===I.NONE?!1:e===I.SELF?n===c:e===I.ANCESTOR?n===c||n.isAncestorOf(c):n===c||n.isDescendantOf(c)}function l(n,c,e){var a=c.getData();a.setItemVisual(n.dataIndex,"color",e)}ue.exports=h},Tp9H:function(ue,z,d){var O=d("ItGF"),_=d("Kagy"),I=d("IUWy"),E=_.toolbox.saveAsImage;function C(h){this.model=h}C.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:E.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:E.lang.slice()},C.prototype.unusable=!O.canvasSupported;var t=C.prototype;t.onclick=function(h,o){var r=this.model,s=r.get("name")||h.get("title.0.text")||"echarts",l=o.getZr().painter.getType()==="svg",n=l?"svg":r.get("type",!0)||"png",c=o.getConnectedDataURL({type:n,backgroundColor:r.get("backgroundColor",!0)||h.get("backgroundColor")||"#fff",connectedBackgroundColor:r.get("connectedBackgroundColor"),excludeComponents:r.get("excludeComponents"),pixelRatio:r.get("pixelRatio")});if(typeof MouseEvent=="function"&&!O.browser.ie&&!O.browser.edge){var e=document.createElement("a");e.download=s+"."+n,e.target="_blank",e.href=c;var a=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});e.dispatchEvent(a)}else if(window.navigator.msSaveOrOpenBlob){for(var i=atob(c.split(",")[1]),u=i.length,f=new Uint8Array(u);u--;)f[u]=i.charCodeAt(u);var m=new Blob([f]);window.navigator.msSaveOrOpenBlob(m,s+"."+n)}else{var A=r.get("lang"),g='<body style="margin:0;"><img src="'+c+'" style="max-width:100%;" title="'+(A&&A[0]||"")+'" /></body>',v=window.open();v.document.write(g)}},I.register("saveAsImage",C);var p=C;ue.exports=p},"U/Mo":function(ue,z){function d(_){var I=_.coordinateSystem;if(I.type!=="view")return 1;var E=_.option.nodeScaleRatio,C=I.scale,t=C&&C[0]||1,p=I.getZoom(),h=(p-1)*E+1;return h/t}function O(_){var I=_.getVisual("symbolSize");return I instanceof Array&&(I=(I[0]+I[1])/2),+I}z.getNodeGlobalScale=d,z.getSymbolSize=O},UADf:function(ue,z,d){},UOVi:function(ue,z,d){var O=d("bYtY"),_=d("7aKB"),I=["x","y","z","radius","angle","single"],E=["cartesian2d","polar","singleAxis"];function C(o){return O.indexOf(E,o)>=0}function t(o,r){o=o.slice();var s=O.map(o,_.capitalFirst);r=(r||[]).slice();var l=O.map(r,_.capitalFirst);return function(n,c){O.each(o,function(e,a){for(var i={name:e,capital:s[a]},u=0;u<r.length;u++)i[r[u]]=e+l[u];n.call(c,i)})}}var p=t(I,["axisIndex","axis","index","id"]);function h(o,r,s){return function(e){var a={nodes:[],records:{}};if(r(function(f){a.records[f.name]={}}),!e)return a;c(e,a);var i;do i=!1,o(u);while(i);function u(f){!l(f,a)&&n(f,a)&&(c(f,a),i=!0)}return a};function l(e,a){return O.indexOf(a.nodes,e)>=0}function n(e,a){var i=!1;return r(function(u){O.each(s(e,u)||[],function(f){a.records[u.name][f]&&(i=!0)})}),i}function c(e,a){a.nodes.push(e),r(function(i){O.each(s(e,i)||[],function(u){a.records[i.name][u]=!0})})}}z.isCoordSupported=C,z.createNameEach=t,z.eachAxisDim=p,z.createLinkedNodesFinder=h},Uc92:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},UmKh:function(ue,z,d){"use strict";var O=d("q1tI"),_=d.n(O),I=function(M){var B=M.prototype;if(!B||!B.isReactComponent)throw new Error("Can only polyfill class components");return typeof B.componentWillReceiveProps!="function"||_.a.Profiler&&(B.UNSAFE_componentWillReceiveProps=B.componentWillReceiveProps,delete B.componentWillReceiveProps),M},E=I;function C(D){var M=[];return _.a.Children.forEach(D,function(B){M.push(B)}),M}function t(D,M){var B=null;return D&&D.forEach(function(j){if(B)return;j&&j.key===M&&(B=j)}),B}function p(D,M,B){var j=null;return D&&D.forEach(function(H){if(H&&H.key===M&&H.props[B]){if(j)throw new Error("two child with same key for <rc-animate> children");j=H}}),j}function h(D,M,B){var j=0;return D&&D.forEach(function(H){if(j)return;j=H&&H.key===M&&!H.props[B]}),j}function o(D,M,B){var j=D.length===M.length;return j&&D.forEach(function(H,K){var W=M[K];H&&W&&((H&&!W||!H&&W||(H.key!==W.key||B&&H.props[B]!==W.props[B]))&&(j=!1))}),j}function r(D,M){var B=[],j={},H=[];return D.forEach(function(K){K&&t(M,K.key)?H.length&&(j[K.key]=H,H=[]):H.push(K)}),M.forEach(function(K){K&&Object.prototype.hasOwnProperty.call(j,K.key)&&(B=B.concat(j[K.key])),B.push(K)}),B=B.concat(H),B}var s=d("i8i4"),l=d.n(s),n=d("UwPn"),c={isAppearSupported:function(M){return M.transitionName&&M.transitionAppear||M.animation.appear},isEnterSupported:function(M){return M.transitionName&&M.transitionEnter||M.animation.enter},isLeaveSupported:function(M){return M.transitionName&&M.transitionLeave||M.animation.leave},allowAppearCallback:function(M){return M.transitionAppear||M.animation.appear},allowEnterCallback:function(M){return M.transitionEnter||M.animation.enter},allowLeaveCallback:function(M){return M.transitionLeave||M.animation.leave}},e=c,a=function(){function D(M,B){for(var j=0;j<B.length;j++){var H=B[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(M,H.key,H)}}return function(M,B,j){return B&&D(M.prototype,B),j&&D(M,j),M}}();function i(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function u(D,M){if(!D)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:D}function f(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(D,M):D.__proto__=M)}var m={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},A=function(D){f(M,D);function M(){return i(this,M),u(this,(M.__proto__||Object.getPrototypeOf(M)).apply(this,arguments))}return a(M,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(j){e.isEnterSupported(this.props)?this.transition("enter",j):j()}},{key:"componentWillAppear",value:function(j){e.isAppearSupported(this.props)?this.transition("appear",j):j()}},{key:"componentWillLeave",value:function(j){e.isLeaveSupported(this.props)?this.transition("leave",j):j()}},{key:"transition",value:function(j,H){var K=this,W=l.a.findDOMNode(this),X=this.props,V=X.transitionName,Z=typeof V=="object";this.stop();var G=function(){K.stopper=null,H()};if((n.b||!X.animation[j])&&V&&X[m[j]]){var Y=Z?V[j]:V+"-"+j,te=Y+"-active";Z&&V[j+"Active"]&&(te=V[j+"Active"]),this.stopper=Object(n.a)(W,{name:Y,active:te},G)}else this.stopper=X.animation[j](W,G)}},{key:"stop",value:function(){var j=this.stopper;j&&(this.stopper=null,j.stop())}},{key:"render",value:function(){return this.props.children}}]),M}(_.a.Component),g=A,v=Object.assign||function(D){for(var M=1;M<arguments.length;M++){var B=arguments[M];for(var j in B)Object.prototype.hasOwnProperty.call(B,j)&&(D[j]=B[j])}return D},b=function(){function D(M,B){for(var j=0;j<B.length;j++){var H=B[j];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(M,H.key,H)}}return function(M,B,j){return B&&D(M.prototype,B),j&&D(M,j),M}}();function S(D,M,B){return M in D?Object.defineProperty(D,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[M]=B,D}function y(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function w(D,M){if(!D)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return M&&(typeof M=="object"||typeof M=="function")?M:D}function x(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof M);D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(D,M):D.__proto__=M)}var T="rc_animate_"+Date.now();function L(D){var M=D.children;return _.a.isValidElement(M)&&!M.key?_.a.cloneElement(M,{key:T}):M}function R(){}var P=function(D){x(M,D);function M(B){y(this,M);var j=w(this,(M.__proto__||Object.getPrototypeOf(M)).call(this,B));return k.call(j),j.currentlyAnimatingKeys={},j.keysToEnter=[],j.keysToLeave=[],j.state={children:C(L(B))},j.childrenRefs={},j}return b(M,[{key:"componentDidMount",value:function(){var j=this,H=this.props.showProp,K=this.state.children;H&&(K=K.filter(function(W){return!!W.props[H]})),K.forEach(function(W){W&&j.performAppear(W.key)})}},{key:"componentWillReceiveProps",value:function(j){var H=this;this.nextProps=j;var K=C(L(j)),W=this.props;W.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(Y){H.stop(Y)});var X=W.showProp,V=this.currentlyAnimatingKeys,Z=W.exclusive?C(L(W)):this.state.children,G=[];X?(Z.forEach(function(Y){var te=Y&&t(K,Y.key),se=void 0;(!te||!te.props[X])&&Y.props[X]?se=_.a.cloneElement(te||Y,S({},X,!0)):se=te,se&&G.push(se)}),K.forEach(function(Y){(!Y||!t(Z,Y.key))&&G.push(Y)})):G=r(Z,K),this.setState({children:G}),K.forEach(function(Y){var te=Y&&Y.key;if(Y&&V[te])return;var se=Y&&t(Z,te);if(X){var Ce=Y.props[X];if(se){var he=p(Z,te,X);!he&&Ce&&H.keysToEnter.push(te)}else Ce&&H.keysToEnter.push(te)}else se||H.keysToEnter.push(te)}),Z.forEach(function(Y){var te=Y&&Y.key;if(Y&&V[te])return;var se=Y&&t(K,te);if(X){var Ce=Y.props[X];if(se){var he=p(K,te,X);!he&&Ce&&H.keysToLeave.push(te)}else Ce&&H.keysToLeave.push(te)}else se||H.keysToLeave.push(te)})}},{key:"componentDidUpdate",value:function(){var j=this.keysToEnter;this.keysToEnter=[],j.forEach(this.performEnter);var H=this.keysToLeave;this.keysToLeave=[],H.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(j,H){var K=this.props.showProp;return K?p(j,H,K):t(j,H)}},{key:"stop",value:function(j){delete this.currentlyAnimatingKeys[j];var H=this.childrenRefs[j];H&&H.stop()}},{key:"render",value:function(){var j=this,H=this.props;this.nextProps=H;var K=this.state.children,W=null;K&&(W=K.map(function(Z){if(Z==null)return Z;if(!Z.key)throw new Error("must set key for <rc-animate> children");return _.a.createElement(g,{key:Z.key,ref:function(Y){j.childrenRefs[Z.key]=Y},animation:H.animation,transitionName:H.transitionName,transitionEnter:H.transitionEnter,transitionAppear:H.transitionAppear,transitionLeave:H.transitionLeave},Z)}));var X=H.component;if(X){var V=H;return typeof X=="string"&&(V=v({className:H.className,style:H.style},H.componentProps)),_.a.createElement(X,V,W)}return W[0]||null}}]),M}(_.a.Component);P.isAnimate=!0,P.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:R,onEnter:R,onLeave:R,onAppear:R};var k=function(){var M=this;this.performEnter=function(B){M.childrenRefs[B]&&(M.currentlyAnimatingKeys[B]=!0,M.childrenRefs[B].componentWillEnter(M.handleDoneAdding.bind(M,B,"enter")))},this.performAppear=function(B){M.childrenRefs[B]&&(M.currentlyAnimatingKeys[B]=!0,M.childrenRefs[B].componentWillAppear(M.handleDoneAdding.bind(M,B,"appear")))},this.handleDoneAdding=function(B,j){var H=M.props;if(delete M.currentlyAnimatingKeys[B],H.exclusive&&H!==M.nextProps)return;var K=C(L(H));M.isValidChildByKey(K,B)?j==="appear"?e.allowAppearCallback(H)&&(H.onAppear(B),H.onEnd(B,!0)):e.allowEnterCallback(H)&&(H.onEnter(B),H.onEnd(B,!0)):M.performLeave(B)},this.performLeave=function(B){M.childrenRefs[B]&&(M.currentlyAnimatingKeys[B]=!0,M.childrenRefs[B].componentWillLeave(M.handleDoneLeaving.bind(M,B)))},this.handleDoneLeaving=function(B){var j=M.props;if(delete M.currentlyAnimatingKeys[B],j.exclusive&&j!==M.nextProps)return;var H=C(L(j));if(M.isValidChildByKey(H,B))M.performEnter(B);else{var K=function(){e.allowLeaveCallback(j)&&(j.onLeave(B),j.onEnd(B,!1))};o(M.state.children,H,j.showProp)?K():M.setState({children:H},K)}}},U=z.a=E(P)},UnoB:function(ue,z,d){var O=d("bYtY"),_=d("OELB");function I(t,p){t.eachSeriesByType("themeRiver",function(h){var o=h.getData(),r=h.coordinateSystem,s={},l=r.getRect();s.rect=l;var n=h.get("boundaryGap"),c=r.getAxis();if(s.boundaryGap=n,c.orient==="horizontal"){n[0]=_.parsePercent(n[0],l.height),n[1]=_.parsePercent(n[1],l.height);var e=l.height-n[0]-n[1];E(o,h,e)}else{n[0]=_.parsePercent(n[0],l.width),n[1]=_.parsePercent(n[1],l.width);var a=l.width-n[0]-n[1];E(o,h,a)}o.setLayout("layoutInfo",s)})}function E(t,p,h){if(!t.count())return;for(var o=p.coordinateSystem,r=p.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),n=O.map(r,function(g){return O.map(g.indices,function(v){var b=o.dataToPoint(t.get(s,v));return b[1]=t.get(l,v),b})}),c=C(n),e=c.y0,a=h/c.max,i=r.length,u=r[0].indices.length,f,m=0;m<u;++m){f=e[m]*a,t.setItemLayout(r[0].indices[m],{layerIndex:0,x:n[0][m][0],y0:f,y:n[0][m][1]*a});for(var A=1;A<i;++A)f+=n[A-1][m][1]*a,t.setItemLayout(r[A].indices[m],{layerIndex:A,x:n[A][m][0],y0:f,y:n[A][m][1]*a})}}function C(t){for(var p=t.length,h=t[0].length,o=[],r=[],s=0,l,n={},c=0;c<h;++c){for(var e=0,l=0;e<p;++e)l+=t[e][c][1];l>s&&(s=l),o.push(l)}for(var a=0;a<h;++a)r[a]=(s-o[a])/2;s=0;for(var i=0;i<h;++i){var u=o[i]+r[i];u>s&&(s=u)}return n.y0=r,n.max=s,n}ue.exports=I},Urep:function(ue,z,d){},V7ic:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("digP")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="FileTwoTone";var h=E.forwardRef(p);z.default=h},VFCP:function(ue,z,d){d("dBmv"),d("KamJ")},VNzZ:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("cDf5"),c=d.n(n),e=d("q1tI"),a=d("TSYQ"),i=d.n(a),u=d("BGR+"),f=d("t23M"),m=d("H84U"),A=d("PEeC"),g=d("zT1h");function v(M){return M!==window?M.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function b(M,B,j){return j!==void 0&&B.top>M.top-j?j+B.top:void 0}function S(M,B,j){if(j!==void 0&&B.bottom<M.bottom+j){var H=window.innerHeight-B.bottom;return j+H}return}var y=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"],w=[];function x(){return w}function T(M,B){if(!M)return;var j=w.find(function(H){return H.target===M});j?j.affixList.push(B):(j={target:M,affixList:[B],eventHandlers:{}},w.push(j),y.forEach(function(H){j.eventHandlers[H]=Object(g.a)(M,H,function(){j.affixList.forEach(function(K){K.lazyUpdatePosition()})})}))}function L(M){var B=w.find(function(j){var H=j.affixList.some(function(K){return K===M});return H&&(j.affixList=j.affixList.filter(function(K){return K!==M})),H});B&&B.affixList.length===0&&(w=w.filter(function(j){return j!==B}),y.forEach(function(j){var H=B.eventHandlers[j];H&&H.remove&&H.remove()}))}var R=function(M,B,j,H){var K=arguments.length,W=K<3?B:H===null?H=Object.getOwnPropertyDescriptor(B,j):H,X;if((typeof Reflect=="undefined"?"undefined":c()(Reflect))==="object"&&typeof Reflect.decorate=="function")W=Reflect.decorate(M,B,j,H);else for(var V=M.length-1;V>=0;V--)(X=M[V])&&(W=(K<3?X(W):K>3?X(B,j,W):X(B,j))||W);return K>3&&W&&Object.defineProperty(B,j,W),W};function P(){return typeof window!="undefined"?window:null}var k;(function(M){M[M.None=0]="None",M[M.Prepare=1]="Prepare"})(k||(k={}));var U=function(M){r()(j,M);var B=l()(j);function j(){var H;return t()(this,j),H=B.apply(this,arguments),H.state={status:k.None,lastAffix:!1,prevTarget:null},H.getOffsetTop=function(){var K=H.props.offsetBottom,W=H.props.offsetTop;return K===void 0&&W===void 0&&(W=0),W},H.getOffsetBottom=function(){return H.props.offsetBottom},H.savePlaceholderNode=function(K){H.placeholderNode=K},H.saveFixedNode=function(K){H.fixedNode=K},H.measure=function(){var K=H.state,W=K.status,X=K.lastAffix,V=H.props.onChange,Z=H.getTargetFunc();if(W!==k.Prepare||!H.fixedNode||!H.placeholderNode||!Z)return;var G=H.getOffsetTop(),Y=H.getOffsetBottom(),te=Z();if(!te)return;var se={status:k.None},Ce=v(te),he=v(H.placeholderNode),xe=b(he,Ce,G),ie=S(he,Ce,Y);xe!==void 0?(se.affixStyle={position:"fixed",top:xe,width:he.width,height:he.height},se.placeholderStyle={width:he.width,height:he.height}):ie!==void 0&&(se.affixStyle={position:"fixed",bottom:ie,width:he.width,height:he.height},se.placeholderStyle={width:he.width,height:he.height}),se.lastAffix=!!se.affixStyle,V&&X!==se.lastAffix&&V(se.lastAffix),H.setState(se)},H.prepareMeasure=function(){if(H.setState({status:k.Prepare,affixStyle:void 0,placeholderStyle:void 0}),!1)var K},H.render=function(){var K=H.context.getPrefixCls,W=H.state,X=W.affixStyle,V=W.placeholderStyle,Z=H.props,G=Z.prefixCls,Y=Z.children,te=i()(E()({},K("affix",G),X)),se=Object(u.default)(H.props,["prefixCls","offsetTop","offsetBottom","target","onChange"]);return e.createElement(f.a,{onResize:function(){H.updatePosition()}},e.createElement("div",_()({},se,{ref:H.savePlaceholderNode}),X&&e.createElement("div",{style:V,"aria-hidden":"true"}),e.createElement("div",{className:te,ref:H.saveFixedNode,style:X},e.createElement(f.a,{onResize:function(){H.updatePosition()}},Y))))},H}return h()(j,[{key:"getTargetFunc",value:function(){var K=this.context.getTargetContainer,W=this.props.target;return W!==void 0?W:K||P}},{key:"componentDidMount",value:function(){var K=this,W=this.getTargetFunc();W&&(this.timeout=setTimeout(function(){T(W(),K),K.updatePosition()}))}},{key:"componentDidUpdate",value:function(K){var W=this.state.prevTarget,X=this.getTargetFunc(),V=null;X&&(V=X()||null),W!==V&&(L(this),V&&(T(V,this),this.updatePosition()),this.setState({prevTarget:V})),(K.offsetTop!==this.props.offsetTop||K.offsetBottom!==this.props.offsetBottom)&&this.updatePosition(),this.measure()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout),L(this),this.updatePosition.cancel(),this.lazyUpdatePosition.cancel()}},{key:"updatePosition",value:function(){this.prepareMeasure()}},{key:"lazyUpdatePosition",value:function(){var K=this.getTargetFunc(),W=this.state.affixStyle;if(K&&W){var X=this.getOffsetTop(),V=this.getOffsetBottom(),Z=K();if(Z&&this.placeholderNode){var G=v(Z),Y=v(this.placeholderNode),te=b(Y,G,X),se=S(Y,G,V);if(te!==void 0&&W.top===te||se!==void 0&&W.bottom===se)return}}this.prepareMeasure()}}]),j}(e.Component);U.contextType=m.b,R([Object(A.b)()],U.prototype,"updatePosition",null),R([Object(A.b)()],U.prototype,"lazyUpdatePosition",null);var D=z.a=U},VPsl:function(ue,z){function d(O){O.eachSeriesByType("map",function(_){var I=_.get("color"),E=_.getModel("itemStyle"),C=E.get("areaColor"),t=E.get("color")||I[_.seriesIndex%I.length];_.getData().setVisual({areaColor:C,color:t})})}ue.exports=d},VR9l:function(ue,z,d){var O=d("KCsZ"),_=O([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),I={getItemStyle:function(E,C){var t=_(this,E,C),p=this.getBorderLineDash();return p&&(t.lineDash=p),t},getBorderLineDash:function(){var E=this.get("borderType");return E==="solid"||E==null?null:E==="dashed"?[5,5]:[1,1]}};ue.exports=I},VSLf:function(ue,z,d){d("I+Bx"),d("F0hE"),d("bBKM")},VSMT:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.decodeUTF8=O,z.encodeUTF8=_;function O(I){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;try{return decodeURIComponent(escape(I))}catch(C){if(C instanceof URIError&&E)return I;throw C}}function _(I){return unescape(encodeURIComponent(I))}},VXYp:function(ue,z,d){var O=d("bYtY"),_=d("SgGq"),I=d("iLNv"),E="\0_ec_dataZoom_roams";function C(n,c){var e=h(n),a=c.dataZoomId,i=c.coordId;O.each(e,function(m,A){var g=m.dataZoomInfos;g[a]&&O.indexOf(c.allCoordIds,i)<0&&(delete g[a],m.count--)}),r(e);var u=e[i];u||(u=e[i]={coordId:i,dataZoomInfos:{},count:0},u.controller=o(n,u),u.dispatchAction=O.curry(s,n)),!u.dataZoomInfos[a]&&u.count++,u.dataZoomInfos[a]=c;var f=l(u.dataZoomInfos);u.controller.enable(f.controlType,f.opt),u.controller.setPointerChecker(c.containsPoint),I.createOrUpdate(u,"dispatchAction",c.dataZoomModel.get("throttle",!0),"fixRate")}function t(n,c){var e=h(n);O.each(e,function(a){a.controller.dispose();var i=a.dataZoomInfos;i[c]&&(delete i[c],a.count--)}),r(e)}function p(n){return n.type+"\0_"+n.id}function h(n){var c=n.getZr();return c[E]||(c[E]={})}function o(n,c){var e=new _(n.getZr());return O.each(["pan","zoom","scrollMove"],function(a){e.on(a,function(i){var u=[];O.each(c.dataZoomInfos,function(f){if(!i.isAvailableBehavior(f.dataZoomModel.option))return;var m=(f.getRange||{})[a],A=m&&m(c.controller,i);!f.dataZoomModel.get("disabled",!0)&&A&&u.push({dataZoomId:f.dataZoomId,start:A[0],end:A[1]})}),u.length&&c.dispatchAction(u)})}),e}function r(n){O.each(n,function(c,e){c.count||(c.controller.dispose(),delete n[e])})}function s(n,c){n.dispatchAction({type:"dataZoom",batch:c})}function l(n){var c,e="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return O.each(n,function(u){var f=u.dataZoomModel,m=f.get("disabled",!0)?!1:f.get("zoomLock",!0)?"move":!0;a[e+m]>a[e+c]&&(c=m),i&=f.get("preventDefaultMouseMove",!0)}),{controlType:c,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}z.register=C,z.unregister=t,z.generateCoordId=p},VaxA:function(ue,z,d){var O=d("bYtY");function _(t,p,h){if(t&&O.indexOf(p,t.type)>=0){var o=h.getData().tree.root,r=t.targetNode;if(typeof r=="string"&&(r=o.getNodeById(r)),r&&o.contains(r))return{node:r};var s=t.targetNodeId;if(s!=null&&(r=o.getNodeById(s)))return{node:r}}}function I(t){for(var p=[];t;)t=t.parentNode,t&&p.push(t);return p.reverse()}function E(t,p){var h=I(t);return O.indexOf(h,p)>=0}function C(t,p){for(var h=[];t;){var o=t.dataIndex;h.push({name:t.name,dataIndex:o,value:p.getRawValue(o)}),t=t.parentNode}return h.reverse(),h}z.retrieveTargetInfo=_,z.getPathToRoot=I,z.aboveViewRoot=E,z.wrapTreePathInfo=C},Vi4m:function(ue,z,d){var O=d("bYtY");function _(E){E!=null&&O.extend(this,E),this.otherDims={}}var I=_;ue.exports=I},Vl3Y:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("J4zp"),E=d.n(I),C=d("lSNA"),t=d.n(C),p=d("q1tI"),h=d("TSYQ"),o=d.n(h),r=d("85Yc"),s=d("H84U"),l=d("BGR+"),n=p.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),c=p.createContext({updateItemErrors:function(){}}),e=function(Ht){var tr=Object(l.default)(Ht,["prefixCls"]);return p.createElement(r.FormProvider,tr)};function a(de){return typeof de=="object"&&de!=null&&de.nodeType===1}function i(de,Ht){return(!Ht||de!=="hidden")&&de!=="visible"&&de!=="clip"}function u(de,Ht){if(de.clientHeight<de.scrollHeight||de.clientWidth<de.scrollWidth){var tr=getComputedStyle(de,null);return i(tr.overflowY,Ht)||i(tr.overflowX,Ht)||function(lt){var Xt=function(sr){if(!sr.ownerDocument||!sr.ownerDocument.defaultView)return null;try{return sr.ownerDocument.defaultView.frameElement}catch(Kr){return null}}(lt);return!!Xt&&(Xt.clientHeight<lt.scrollHeight||Xt.clientWidth<lt.scrollWidth)}(de)}return!1}function f(de,Ht,tr,lt,Xt,sr,Kr,rr){return sr<de&&Kr>Ht||sr>de&&Kr<Ht?0:sr<=de&&rr<=tr||Kr>=Ht&&rr>=tr?sr-de-lt:Kr>Ht&&rr<tr||sr<de&&rr>tr?Kr-Ht+Xt:0}var m=function(de,Ht){var tr=window,lt=Ht.scrollMode,Xt=Ht.block,sr=Ht.inline,Kr=Ht.boundary,rr=Ht.skipOverflowHiddenElements,nr=typeof Kr=="function"?Kr:function(Nn){return Nn!==Kr};if(!a(de))throw new TypeError("Invalid target");for(var Nt=document.scrollingElement||document.documentElement,ot=[],Qe=de;a(Qe)&&nr(Qe);){if((Qe=Qe.parentElement)===Nt){ot.push(Qe);break}Qe!=null&&Qe===document.body&&u(Qe)&&!u(document.documentElement)||Qe!=null&&u(Qe,rr)&&ot.push(Qe)}for(var qt=tr.visualViewport?tr.visualViewport.width:innerWidth,xr=tr.visualViewport?tr.visualViewport.height:innerHeight,vr=window.scrollX||pageXOffset,fr=window.scrollY||pageYOffset,An=de.getBoundingClientRect(),$r=An.height,Ln=An.width,$e=An.top,tt=An.right,ve=An.bottom,_e=An.left,ke=Xt==="start"||Xt==="nearest"?$e:Xt==="end"?ve:$e+$r/2,rt=sr==="center"?_e+Ln/2:sr==="end"?tt:_e,Wt=[],Bt=0;Bt<ot.length;Bt++){var Gt=ot[Bt],Rr=Gt.getBoundingClientRect(),Pr=Rr.height,cn=Rr.width,Ut=Rr.top,pt=Rr.right,ct=Rr.bottom,Qt=Rr.left;if(lt==="if-needed"&&$e>=0&&_e>=0&&ve<=xr&&tt<=qt&&$e>=Ut&&ve<=ct&&_e>=Qt&&tt<=pt)return Wt;var Jt=getComputedStyle(Gt),yt=parseInt(Jt.borderLeftWidth,10),Pt=parseInt(Jt.borderTopWidth,10),At=parseInt(Jt.borderRightWidth,10),Ft=parseInt(Jt.borderBottomWidth,10),pr=0,or=0,ir="offsetWidth"in Gt?Gt.offsetWidth-Gt.clientWidth-yt-At:0,Yr="offsetHeight"in Gt?Gt.offsetHeight-Gt.clientHeight-Pt-Ft:0;if(Nt===Gt)pr=Xt==="start"?ke:Xt==="end"?ke-xr:Xt==="nearest"?f(fr,fr+xr,xr,Pt,Ft,fr+ke,fr+ke+$r,$r):ke-xr/2,or=sr==="start"?rt:sr==="center"?rt-qt/2:sr==="end"?rt-qt:f(vr,vr+qt,qt,yt,At,vr+rt,vr+rt+Ln,Ln),pr=Math.max(0,pr+fr),or=Math.max(0,or+vr);else{pr=Xt==="start"?ke-Ut-Pt:Xt==="end"?ke-ct+Ft+Yr:Xt==="nearest"?f(Ut,ct,Pr,Pt,Ft+Yr,ke,ke+$r,$r):ke-(Ut+Pr/2)+Yr/2,or=sr==="start"?rt-Qt-yt:sr==="center"?rt-(Qt+cn/2)+ir/2:sr==="end"?rt-pt+At+ir:f(Qt,pt,cn,yt,At+ir,rt,rt+Ln,Ln);var Jr=Gt.scrollLeft,_n=Gt.scrollTop;ke+=_n-(pr=Math.max(0,Math.min(_n+pr,Gt.scrollHeight-Pr+Yr))),rt+=Jr-(or=Math.max(0,Math.min(Jr+or,Gt.scrollWidth-cn+ir)))}Wt.push({el:Gt,top:pr,left:or})}return Wt};function A(de){return de===Object(de)&&Object.keys(de).length!==0}function g(de,Ht){Ht===void 0&&(Ht="auto");var tr="scrollBehavior"in document.body.style;de.forEach(function(lt){var Xt=lt.el,sr=lt.top,Kr=lt.left;Xt.scroll&&tr?Xt.scroll({top:sr,left:Kr,behavior:Ht}):(Xt.scrollTop=sr,Xt.scrollLeft=Kr)})}function v(de){return de===!1?{block:"end",inline:"nearest"}:A(de)?de:{block:"start",inline:"nearest"}}function b(de,Ht){var tr=!de.ownerDocument.documentElement.contains(de);if(A(Ht)&&typeof Ht.behavior=="function")return Ht.behavior(tr?[]:m(de,Ht));if(tr)return;var lt=v(Ht);return g(m(de,lt),lt.behavior)}var S=b;function y(de){return de===void 0||de===!1?[]:Array.isArray(de)?de:[de]}function w(de,Ht){if(!de.length)return;var tr=de.join("_");return Ht?"".concat(Ht,"_").concat(tr):tr}function x(de){var Ht=y(de);return Ht.join("_")}function T(de){var Ht=Object(r.useForm)(),tr=E()(Ht,1),lt=tr[0],Xt=Object(p.useRef)({}),sr=Object(p.useMemo)(function(){return de||_()(_()({},lt),{__INTERNAL__:{itemRef:function(rr){return function(nr){var Nt=x(rr);nr?Xt.current[Nt]=nr:delete Xt.current[Nt]}}},scrollToField:function(rr){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Nt=y(rr),ot=w(Nt,sr.__INTERNAL__.name),Qe=ot?document.getElementById(ot):null;Qe&&S(Qe,_()({scrollMode:"if-needed",block:"nearest"},nr))},getFieldInstance:function(rr){var nr=x(rr);return Xt.current[nr]}})},[de,lt]);return[sr]}var L=d("3Nzz"),R=function(de,Ht){var tr={};for(var lt in de)Object.prototype.hasOwnProperty.call(de,lt)&&Ht.indexOf(lt)<0&&(tr[lt]=de[lt]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(de);Xt<lt.length;Xt++)Ht.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(de,lt[Xt])&&(tr[lt[Xt]]=de[lt[Xt]]);return tr},P=function(Ht,tr){var lt,Xt=p.useContext(L.b),sr=p.useContext(s.b),Kr=sr.getPrefixCls,rr=sr.direction,nr=Ht.name,Nt=Ht.prefixCls,ot=Ht.className,Qe=ot===void 0?"":ot,qt=Ht.size,xr=qt===void 0?Xt:qt,vr=Ht.form,fr=Ht.colon,An=Ht.labelAlign,$r=Ht.labelCol,Ln=Ht.wrapperCol,$e=Ht.hideRequiredMark,tt=Ht.layout,ve=tt===void 0?"horizontal":tt,_e=Ht.scrollToFirstError,ke=Ht.requiredMark,rt=Ht.onFinishFailed,Wt=R(Ht,["prefixCls","className","size","form","colon","labelAlign","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed"]),Bt=Object(p.useMemo)(function(){return ke!==void 0?ke:!$e},[$e,ke]),Gt=Kr("form",Nt),Rr=o()(Gt,(lt={},t()(lt,"".concat(Gt,"-").concat(ve),!0),t()(lt,"".concat(Gt,"-hide-required-mark"),Bt===!1),t()(lt,"".concat(Gt,"-rtl"),rr==="rtl"),t()(lt,"".concat(Gt,"-").concat(xr),xr),lt),Qe),Pr=T(vr),cn=E()(Pr,1),Ut=cn[0],pt=Ut.__INTERNAL__;pt.name=nr;var ct=Object(p.useMemo)(function(){return{name:nr,labelAlign:An,labelCol:$r,wrapperCol:Ln,vertical:ve==="vertical",colon:fr,requiredMark:Bt,itemRef:pt.itemRef}},[nr,An,$r,Ln,ve,fr,Bt]);p.useImperativeHandle(tr,function(){return Ut});var Qt=function(yt){rt&&rt(yt),_e&&yt.errorFields.length&&Ut.scrollToField(yt.errorFields[0].name)};return p.createElement(L.a,{size:xr},p.createElement(n.Provider,{value:ct},p.createElement(r.default,_()({id:nr},Wt,{onFinishFailed:Qt,form:Ut,className:Rr}))))},k=p.forwardRef(P),U=k,D=d("cDf5"),M=d.n(D),B=d("RIqP"),j=d.n(B),H=d("Y+p1"),K=d.n(H),W=d("KW7l"),X=d("c+Xe"),V=d("qrJ5"),Z=d("CWQg"),G=d("uaoM"),Y=d("/kpp"),te=d("YMnH"),se=d("ZvpZ"),Ce=function(Ht){var tr=Ht.prefixCls,lt=Ht.label,Xt=Ht.htmlFor,sr=Ht.labelCol,Kr=Ht.labelAlign,rr=Ht.colon,nr=Ht.required,Nt=Ht.requiredMark,ot=Object(te.b)("Form"),Qe=E()(ot,1),qt=Qe[0];return lt?p.createElement(n.Consumer,{key:"label"},function(xr){var vr,fr=xr.vertical,An=xr.labelAlign,$r=xr.labelCol,Ln=xr.colon,$e,tt=sr||$r||{},ve=Kr||An,_e="".concat(tr,"-item-label"),ke=o()(_e,ve==="left"&&"".concat(_e,"-left"),tt.className),rt=lt,Wt=rr===!0||Ln!==!1&&rr!==!1,Bt=Wt&&!fr;Bt&&typeof lt=="string"&&lt.trim()!==""&&(rt=lt.replace(/[:|]\s*$/,"")),Nt==="optional"&&!nr&&(rt=p.createElement(p.Fragment,null,rt,p.createElement("span",{className:"".concat(tr,"-item-optional")},(qt==null?void 0:qt.optional)||(($e=se.a.Form)===null||$e===void 0?void 0:$e.optional))));var Gt=o()((vr={},t()(vr,"".concat(tr,"-item-required"),nr),t()(vr,"".concat(tr,"-item-required-mark-optional"),Nt==="optional"),t()(vr,"".concat(tr,"-item-no-colon"),!Wt),vr));return p.createElement(Y.a,_()({},tt,{className:ke}),p.createElement("label",{htmlFor:Xt,className:Gt,title:typeof lt=="string"?lt:""},rt))}):null},he=Ce,xe=d("gZBC"),ie=d.n(xe),ee=d("kbBi"),Ze=d.n(ee),Se=d("J84W"),Ne=d.n(Se),it=d("sKbD"),Ye=d.n(it),nt=d("YrtM"),je=d("8XRh"),et=d("hkKa");function He(de,Ht,tr){var lt=p.useRef({errors:de,visible:!!de.length}),Xt=Object(et.a)(),sr=function(){var rr=lt.current.visible,nr=!!de.length,Nt=lt.current.errors;lt.current.errors=de,lt.current.visible=nr,rr!==nr?Ht(nr):(Nt.length!==de.length||Nt.some(function(ot,Qe){return ot!==de[Qe]}))&&Xt()};return p.useEffect(function(){if(!tr){var Kr=setTimeout(sr,10);return function(){return clearTimeout(Kr)}}},[de]),tr&&sr(),[lt.current.visible,lt.current.errors]}var pe={success:Ne.a,warning:Ye.a,error:Ze.a,validating:ie.a},ae=function(Ht){var tr=Ht.prefixCls,lt=Ht.wrapperCol,Xt=Ht.children,sr=Ht.help,Kr=Ht.errors,rr=Ht.onDomErrorVisibleChange,nr=Ht.hasFeedback,Nt=Ht.validateStatus,ot=Ht.extra,Qe=Object(et.a)(),qt="".concat(tr,"-item"),xr=p.useContext(n),vr=lt||xr.wrapperCol||{},fr=o()("".concat(qt,"-control"),vr.className),An=He(Kr,function(rt){rt&&Promise.resolve().then(function(){rr(!0)}),Qe()},!!sr),$r=E()(An,2),Ln=$r[0],$e=$r[1];p.useEffect(function(){return function(){rr(!1)}},[]);var tt=Object(nt.a)(function(){return $e},Ln,function(rt,Wt){return Wt}),ve=Nt&&pe[Nt],_e=nr&&ve?p.createElement("span",{className:"".concat(qt,"-children-icon")},p.createElement(ve,null)):null,ke=_()({},xr);return delete ke.labelCol,delete ke.wrapperCol,p.createElement(n.Provider,{value:ke},p.createElement(Y.a,_()({},vr,{className:fr}),p.createElement("div",{className:"".concat(qt,"-control-input")},p.createElement("div",{className:"".concat(qt,"-control-input-content")},Xt),_e),p.createElement(je.default,{motionDeadline:500,visible:Ln,motionName:"show-help",onLeaveEnd:function(){rr(!1)},motionAppear:!0,removeOnLeave:!0},function(rt){var Wt=rt.className;return p.createElement("div",{className:o()("".concat(qt,"-explain"),Wt),key:"help"},tt.map(function(Bt,Gt){return p.createElement("div",{key:Gt,role:"alert"},Bt)}))}),ot&&p.createElement("div",{className:"".concat(qt,"-extra")},ot)))},re=ae,be=d("0n0R"),ze=d("xEkU"),Ke=d.n(ze);function Te(de){var Ht=p.useState(de),tr=E()(Ht,2),lt=tr[0],Xt=tr[1],sr=Object(p.useRef)(null),Kr=Object(p.useRef)([]),rr=Object(p.useRef)(!1);p.useEffect(function(){return function(){rr.current=!0,Ke.a.cancel(sr.current)}},[]);function nr(Nt){if(rr.current)return;sr.current===null&&(Kr.current=[],sr.current=Ke()(function(){sr.current=null,Xt(function(ot){var Qe=ot;return Kr.current.forEach(function(qt){Qe=qt(Qe)}),Qe})})),Kr.current.push(Nt)}return[lt,nr]}function gt(){var de=p.useContext(n),Ht=de.itemRef,tr=p.useRef({});function lt(Xt,sr){var Kr=sr&&M()(sr)==="object"&&sr.ref,rr=Xt.join("_");return(tr.current.name!==rr||tr.current.originRef!==Kr)&&(tr.current.name=rr,tr.current.originRef=Kr,tr.current.ref=Object(X.a)(Ht(Xt),Kr)),tr.current.ref}return lt}var Ue=function(de,Ht){var tr={};for(var lt in de)Object.prototype.hasOwnProperty.call(de,lt)&&Ht.indexOf(lt)<0&&(tr[lt]=de[lt]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(de);Xt<lt.length;Xt++)Ht.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(de,lt[Xt])&&(tr[lt[Xt]]=de[lt[Xt]]);return tr},bt=Object(Z.a)("success","warning","error","validating",""),wt=p.memo(function(de){var Ht=de.children;return Ht},function(de,Ht){return de.value===Ht.value&&de.update===Ht.update});function Et(de){return de===null&&Object(G.a)(!1,"Form.Item","`null` is passed as `name` property"),!(de==null)}function xt(de){var Ht=de.name,tr=de.fieldKey,lt=de.noStyle,Xt=de.dependencies,sr=de.prefixCls,Kr=de.style,rr=de.className,nr=de.shouldUpdate,Nt=de.hasFeedback,ot=de.help,Qe=de.rules,qt=de.validateStatus,xr=de.children,vr=de.required,fr=de.label,An=de.trigger,$r=An===void 0?"onChange":An,Ln=de.validateTrigger,$e=de.hidden,tt=Ue(de,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger","hidden"]),ve=p.useRef(!1),_e=p.useContext(s.b),ke=_e.getPrefixCls,rt=p.useContext(n),Wt=rt.name,Bt=rt.requiredMark,Gt=p.useContext(c),Rr=Gt.updateItemErrors,Pr=p.useState(!!ot),cn=E()(Pr,2),Ut=cn[0],pt=cn[1],ct=p.useRef(qt),Qt=Te({}),Jt=E()(Qt,2),yt=Jt[0],Pt=Jt[1],At=p.useContext(W.b),Ft=At.validateTrigger,pr=Ln!==void 0?Ln:Ft;function or(Ge){ve.current||pt(Ge)}var ir=Et(Ht),Yr=p.useRef([]);p.useEffect(function(){return function(){ve.current=!0,Rr(Yr.current.join("__SPLIT__"),[])}},[]);var Jr=ke("form",sr),_n=lt?Rr:function(Ge,we){Pt(function(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return K()(Le[Ge],we)?Le:_()(_()({},Le),t()({},Ge,we))})},Nn=gt();function zn(Ge,we,Le,De){var We,Fe;if(lt&&!$e)return Ge;var Je=[];Object.keys(yt).forEach(function(wr){Je=[].concat(j()(Je),j()(yt[wr]||[]))});var vt;ot!=null?vt=y(ot):(vt=Le?Le.errors:[],vt=[].concat(j()(vt),j()(Je)));var st="";qt!==void 0?st=qt:(Le==null?void 0:Le.validating)?st="validating":((Fe=Le==null?void 0:Le.errors)===null||Fe===void 0?void 0:Fe.length)||Je.length?st="error":(Le==null?void 0:Le.touched)&&(st="success"),Ut&&ot&&(ct.current=st);var kt=(We={},t()(We,"".concat(Jr,"-item"),!0),t()(We,"".concat(Jr,"-item-with-help"),Ut||ot),t()(We,"".concat(rr),!!rr),t()(We,"".concat(Jr,"-item-has-feedback"),st&&Nt),t()(We,"".concat(Jr,"-item-has-success"),st==="success"),t()(We,"".concat(Jr,"-item-has-warning"),st==="warning"),t()(We,"".concat(Jr,"-item-has-error"),st==="error"),t()(We,"".concat(Jr,"-item-has-error-leave"),!ot&&Ut&&ct.current==="error"),t()(We,"".concat(Jr,"-item-is-validating"),st==="validating"),t()(We,"".concat(Jr,"-item-hidden"),$e),We);return p.createElement(V.a,_()({className:o()(kt),style:Kr,key:"row"},Object(l.default)(tt,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","preserve","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),p.createElement(he,_()({htmlFor:we,required:De,requiredMark:Bt},de,{prefixCls:Jr})),p.createElement(re,_()({},de,Le,{errors:vt,prefixCls:Jr,onDomErrorVisibleChange:or,validateStatus:st}),p.createElement(c.Provider,{value:{updateItemErrors:_n}},Ge)))}var ei=typeof xr=="function",vi=p.useRef(0);if(vi.current+=1,!ir&&!ei&&!Xt)return zn(xr);var Pi={};return typeof fr=="string"&&(Pi.label=fr),p.createElement(r.Field,_()({},de,{messageVariables:Pi,trigger:$r,validateTrigger:pr,onReset:function(){or(!1)}}),function(Ge,we,Le){var De=we.errors,We=y(Ht).length&&we?we.name:[],Fe=w(We,Wt);if(lt){if(Yr.current=j()(We),tr){var Je=Array.isArray(tr)?tr:[tr];Yr.current=[].concat(j()(We.slice(0,-1)),j()(Je))}Rr(Yr.current.join("__SPLIT__"),De)}var vt=vr!==void 0?vr:!!(Qe&&Qe.some(function(Nr){if(Nr&&M()(Nr)==="object"&&Nr.required)return!0;if(typeof Nr=="function"){var Kt=Nr(Le);return Kt&&Kt.required}return!1})),st=_()({},Ge),kt=null;if(Object(G.a)(!(nr&&Xt),"Form.Item","`shouldUpdate` and `dependencies` shouldn't be used together. See https://ant.design/components/form/#dependencies."),Array.isArray(xr)&&ir)Object(G.a)(!1,"Form.Item","`children` is array of render props cannot have `name`."),kt=xr;else if(ei&&(!(nr||Xt)||ir))Object(G.a)(!!(nr||Xt),"Form.Item","`children` of render props only work with `shouldUpdate` or `dependencies`."),Object(G.a)(!ir,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");else if(Xt&&!ei&&!ir)Object(G.a)(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else if(Object(be.b)(xr)){Object(G.a)(xr.props.defaultValue===void 0,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var wr=_()(_()({},xr.props),st);wr.id||(wr.id=Fe),Object(X.c)(xr)&&(wr.ref=Nn(We,xr));var hr=new Set([].concat(j()(y($r)),j()(y(pr))));hr.forEach(function(Nr){wr[Nr]=function(){for(var Kt,un,ar,Xr,kr,gr=arguments.length,Sn=new Array(gr),Pn=0;Pn<gr;Pn++)Sn[Pn]=arguments[Pn];(ar=st[Nr])===null||ar===void 0||(Kt=ar).call.apply(Kt,[st].concat(Sn)),(kr=(Xr=xr.props)[Nr])===null||kr===void 0||(un=kr).call.apply(un,[Xr].concat(Sn))}}),kt=p.createElement(wt,{value:st[de.valuePropName||"value"],update:vi.current},Object(be.a)(xr,wr))}else ei&&(nr||Xt)&&!ir?kt=xr(Le):(Object(G.a)(!We.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),kt=xr);return zn(kt,Fe,we,vt)})}var Tt=xt,Be=function(de,Ht){var tr={};for(var lt in de)Object.prototype.hasOwnProperty.call(de,lt)&&Ht.indexOf(lt)<0&&(tr[lt]=de[lt]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xt=0,lt=Object.getOwnPropertySymbols(de);Xt<lt.length;Xt++)Ht.indexOf(lt[Xt])<0&&Object.prototype.propertyIsEnumerable.call(de,lt[Xt])&&(tr[lt[Xt]]=de[lt[Xt]]);return tr},ce=function(Ht){var tr=Ht.children,lt=Be(Ht,["children"]);return Object(G.a)(!!lt.name,"Form.List","Miss `name` prop."),p.createElement(r.List,lt,function(Xt,sr){return tr(Xt.map(function(Kr){return _()(_()({},Kr),{fieldKey:Kr.key})}),sr)})},q=ce,dt=U;dt.Item=Tt,dt.List=q,dt.useForm=T,dt.Provider=e,dt.create=function(){Object(G.a)(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};var Ve=z.a=dt},VpOo:function(ue,z){function d(O,_){var I=_.x,E=_.y,C=_.width,t=_.height,p=_.r,h,o,r,s;C<0&&(I=I+C,C=-C),t<0&&(E=E+t,t=-t),typeof p=="number"?h=o=r=s=p:p instanceof Array?p.length===1?h=o=r=s=p[0]:p.length===2?(h=r=p[0],o=s=p[1]):p.length===3?(h=p[0],o=s=p[1],r=p[2]):(h=p[0],o=p[1],r=p[2],s=p[3]):h=o=r=s=0;var l;h+o>C&&(l=h+o,h*=C/l,o*=C/l),r+s>C&&(l=r+s,r*=C/l,s*=C/l),o+r>t&&(l=o+r,o*=t/l,r*=t/l),h+s>t&&(l=h+s,h*=t/l,s*=t/l),O.moveTo(I+h,E),O.lineTo(I+C-o,E),o!==0&&O.arc(I+C-o,E+o,o,-Math.PI/2,0),O.lineTo(I+C,E+t-r),r!==0&&O.arc(I+C-r,E+t-r,r,0,Math.PI/2),O.lineTo(I+s,E+t),s!==0&&O.arc(I+s,E+t-s,s,Math.PI/2,Math.PI),O.lineTo(I,E+h),h!==0&&O.arc(I+h,E+h,h,Math.PI,Math.PI*1.5)}z.buildPath=d},"VrN/":function(ue,z,d){(function(O,_){ue.exports=_()})(this,function(){"use strict";var O=navigator.userAgent,_=navigator.platform,I=/gecko\/\d/i.test(O),E=/MSIE \d/.test(O),C=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(O),t=/Edge\/(\d+)/.exec(O),p=E||C||t,h=p&&(E?document.documentMode||6:+(t||C)[1]),o=!t&&/WebKit\//.test(O),r=o&&/Qt\/\d+\.\d+/.test(O),s=!t&&/Chrome\//.test(O),l=/Opera\//.test(O),n=/Apple Computer/.test(navigator.vendor),c=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(O),e=/PhantomJS/.test(O),a=!t&&/AppleWebKit/.test(O)&&/Mobile\/\w+/.test(O),i=/Android/.test(O),u=a||i||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(O),f=a||/Mac/.test(_),m=/\bCrOS\b/.test(O),A=/win/i.test(_),g=l&&O.match(/Version\/(\d*\.\d*)/);g&&(g=Number(g[1])),g&&g>=15&&(l=!1,o=!0);var v=f&&(r||l&&(g==null||g<12.11)),b=I||p&&h>=9;function S(N){return new RegExp("(^|\\s)"+N+"(?:$|\\s)\\s*")}var y=function(F,Q){var $=F.className,oe=S(Q).exec($);if(oe){var Oe=$.slice(oe.index+oe[0].length);F.className=$.slice(0,oe.index)+(Oe?oe[1]+Oe:"")}};function w(N){for(var F=N.childNodes.length;F>0;--F)N.removeChild(N.firstChild);return N}function x(N,F){return w(N).appendChild(F)}function T(N,F,Q,$){var oe=document.createElement(N);if(Q&&(oe.className=Q),$&&(oe.style.cssText=$),typeof F=="string")oe.appendChild(document.createTextNode(F));else if(F)for(var Oe=0;Oe<F.length;++Oe)oe.appendChild(F[Oe]);return oe}function L(N,F,Q,$){var oe=T(N,F,Q,$);return oe.setAttribute("role","presentation"),oe}var R;document.createRange?R=function(F,Q,$,oe){var Oe=document.createRange();return Oe.setEnd(oe||F,$),Oe.setStart(F,Q),Oe}:R=function(F,Q,$){var oe=document.body.createTextRange();try{oe.moveToElementText(F.parentNode)}catch(Oe){return oe}return oe.collapse(!0),oe.moveEnd("character",$),oe.moveStart("character",Q),oe};function P(N,F){if(F.nodeType==3&&(F=F.parentNode),N.contains)return N.contains(F);do if(F.nodeType==11&&(F=F.host),F==N)return!0;while(F=F.parentNode)}function k(){var N;try{N=document.activeElement}catch(F){N=document.body||null}for(;N&&N.shadowRoot&&N.shadowRoot.activeElement;)N=N.shadowRoot.activeElement;return N}function U(N,F){var Q=N.className;S(F).test(Q)||(N.className+=(Q?" ":"")+F)}function D(N,F){for(var Q=N.split(" "),$=0;$<Q.length;$++)Q[$]&&!S(Q[$]).test(F)&&(F+=" "+Q[$]);return F}var M=function(F){F.select()};a?M=function(F){F.selectionStart=0,F.selectionEnd=F.value.length}:p&&(M=function(F){try{F.select()}catch(Q){}});function B(N){var F=Array.prototype.slice.call(arguments,1);return function(){return N.apply(null,F)}}function j(N,F,Q){F||(F={});for(var $ in N)N.hasOwnProperty($)&&(Q!==!1||!F.hasOwnProperty($))&&(F[$]=N[$]);return F}function H(N,F,Q,$,oe){F==null&&(F=N.search(/[^\s\u00a0]/),F==-1&&(F=N.length));for(var Oe=$||0,ft=oe||0;;){var _t=N.indexOf(" ",Oe);if(_t<0||_t>=F)return ft+(F-Oe);ft+=_t-Oe,ft+=Q-ft%Q,Oe=_t+1}}var K=function(){this.id=null,this.f=null,this.time=0,this.handler=B(this.onTimeout,this)};K.prototype.onTimeout=function(N){N.id=0,N.time<=+new Date?N.f():setTimeout(N.handler,N.time-+new Date)},K.prototype.set=function(N,F){this.f=F;var Q=+new Date+N;(!this.id||Q<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,N),this.time=Q)};function W(N,F){for(var Q=0;Q<N.length;++Q)if(N[Q]==F)return Q;return-1}var X=50,V={toString:function(){return"CodeMirror.Pass"}},Z={scroll:!1},G={origin:"*mouse"},Y={origin:"+move"};function te(N,F,Q){for(var $=0,oe=0;;){var Oe=N.indexOf(" ",$);Oe==-1&&(Oe=N.length);var ft=Oe-$;if(Oe==N.length||oe+ft>=F)return $+Math.min(ft,F-oe);if(oe+=Oe-$,oe+=Q-oe%Q,$=Oe+1,oe>=F)return $}}var se=[""];function Ce(N){for(;se.length<=N;)se.push(he(se)+" ");return se[N]}function he(N){return N[N.length-1]}function xe(N,F){for(var Q=[],$=0;$<N.length;$++)Q[$]=F(N[$],$);return Q}function ie(N,F,Q){for(var $=0,oe=Q(F);$<N.length&&Q(N[$])<=oe;)$++;N.splice($,0,F)}function ee(){}function Ze(N,F){var Q;return Object.create?Q=Object.create(N):(ee.prototype=N,Q=new ee),F&&j(F,Q),Q}var Se=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function Ne(N){return/\w/.test(N)||N>"\x80"&&(N.toUpperCase()!=N.toLowerCase()||Se.test(N))}function it(N,F){return F?F.source.indexOf("\\w")>-1&&Ne(N)?!0:F.test(N):Ne(N)}function Ye(N){for(var F in N)if(N.hasOwnProperty(F)&&N[F])return!1;return!0}var nt=/[\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 je(N){return N.charCodeAt(0)>=768&&nt.test(N)}function et(N,F,Q){for(;(Q<0?F>0:F<N.length)&&je(N.charAt(F));)F+=Q;return F}function He(N,F,Q){for(var $=F>Q?-1:1;;){if(F==Q)return F;var oe=(F+Q)/2,Oe=$<0?Math.ceil(oe):Math.floor(oe);if(Oe==F)return N(Oe)?F:Q;N(Oe)?Q=Oe:F=Oe+$}}function pe(N,F,Q,$){if(!N)return $(F,Q,"ltr",0);for(var oe=!1,Oe=0;Oe<N.length;++Oe){var ft=N[Oe];(ft.from<Q&&ft.to>F||F==Q&&ft.to==F)&&($(Math.max(ft.from,F),Math.min(ft.to,Q),ft.level==1?"rtl":"ltr",Oe),oe=!0)}oe||$(F,Q,"ltr")}var ae=null;function re(N,F,Q){var $;ae=null;for(var oe=0;oe<N.length;++oe){var Oe=N[oe];if(Oe.from<F&&Oe.to>F)return oe;Oe.to==F&&(Oe.from!=Oe.to&&Q=="before"?$=oe:ae=oe),Oe.from==F&&(Oe.from!=Oe.to&&Q!="before"?$=oe:ae=oe)}return $!=null?$:ae}var be=function(){var N="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",F="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function Q(er){return er<=247?N.charAt(er):1424<=er&&er<=1524?"R":1536<=er&&er<=1785?F.charAt(er-1536):1774<=er&&er<=2220?"r":8192<=er&&er<=8203?"w":er==8204?"b":"L"}var $=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,oe=/[stwN]/,Oe=/[LRr]/,ft=/[Lb1n]/,_t=/[1n]/;function Yt(er,en,hn){this.level=er,this.from=en,this.to=hn}return function(er,en){var hn=en=="ltr"?"L":"R";if(er.length==0||en=="ltr"&&!$.test(er))return!1;for(var Rn=er.length,kn=[],Ai=0;Ai<Rn;++Ai)kn.push(Q(er.charCodeAt(Ai)));for(var Ki=0,Qi=hn;Ki<Rn;++Ki){var Gi=kn[Ki];Gi=="m"?kn[Ki]=Qi:Qi=Gi}for(var Vi=0,fa=hn;Vi<Rn;++Vi){var ba=kn[Vi];ba=="1"&&fa=="r"?kn[Vi]="n":Oe.test(ba)&&(fa=ba,ba=="r"&&(kn[Vi]="R"))}for(var qa=1,ka=kn[0];qa<Rn-1;++qa){var Eo=kn[qa];Eo=="+"&&ka=="1"&&kn[qa+1]=="1"?kn[qa]="1":Eo==","&&ka==kn[qa+1]&&(ka=="1"||ka=="n")&&(kn[qa]=ka),ka=Eo}for(var Wo=0;Wo<Rn;++Wo){var cs=kn[Wo];if(cs==",")kn[Wo]="N";else if(cs=="%"){var $o=void 0;for($o=Wo+1;$o<Rn&&kn[$o]=="%";++$o);for(var Ms=Wo&&kn[Wo-1]=="!"||$o<Rn&&kn[$o]=="1"?"1":"N",Qs=Wo;Qs<$o;++Qs)kn[Qs]=Ms;Wo=$o-1}}for(var Cs=0,Js=hn;Cs<Rn;++Cs){var Bs=kn[Cs];Js=="L"&&Bs=="1"?kn[Cs]="L":Oe.test(Bs)&&(Js=Bs)}for(var aa=0;aa<Rn;++aa)if(oe.test(kn[aa])){var os=void 0;for(os=aa+1;os<Rn&&oe.test(kn[os]);++os);for(var rs=(aa?kn[aa-1]:hn)=="L",vs=(os<Rn?kn[os]:hn)=="L",vc=rs==vs?rs?"L":"R":hn,No=aa;No<os;++No)kn[No]=vc;aa=os-1}for(var vo=[],ml,Xs=0;Xs<Rn;)if(ft.test(kn[Xs])){var yc=Xs;for(++Xs;Xs<Rn&&ft.test(kn[Xs]);++Xs);vo.push(new Yt(0,yc,Xs))}else{var Rl=Xs,gl=vo.length,Gl=en=="rtl"?1:0;for(++Xs;Xs<Rn&&kn[Xs]!="L";++Xs);for(var rl=Rl;rl<Xs;)if(_t.test(kn[rl])){Rl<rl&&(vo.splice(gl,0,new Yt(1,Rl,rl)),gl+=Gl);var Dl=rl;for(++rl;rl<Xs&&_t.test(kn[rl]);++rl);vo.splice(gl,0,new Yt(2,Dl,rl)),gl+=Gl,Rl=rl}else++rl;Rl<Xs&&vo.splice(gl,0,new Yt(1,Rl,Xs))}return en=="ltr"&&(vo[0].level==1&&(ml=er.match(/^\s+/))&&(vo[0].from=ml[0].length,vo.unshift(new Yt(0,0,ml[0].length))),he(vo).level==1&&(ml=er.match(/\s+$/))&&(he(vo).to-=ml[0].length,vo.push(new Yt(0,Rn-ml[0].length,Rn)))),en=="rtl"?vo.reverse():vo}}();function ze(N,F){var Q=N.order;return Q==null&&(Q=N.order=be(N.text,F)),Q}var Ke=[],Te=function(F,Q,$){if(F.addEventListener)F.addEventListener(Q,$,!1);else if(F.attachEvent)F.attachEvent("on"+Q,$);else{var oe=F._handlers||(F._handlers={});oe[Q]=(oe[Q]||Ke).concat($)}};function gt(N,F){return N._handlers&&N._handlers[F]||Ke}function Ue(N,F,Q){if(N.removeEventListener)N.removeEventListener(F,Q,!1);else if(N.detachEvent)N.detachEvent("on"+F,Q);else{var $=N._handlers,oe=$&&$[F];if(oe){var Oe=W(oe,Q);Oe>-1&&($[F]=oe.slice(0,Oe).concat(oe.slice(Oe+1)))}}}function bt(N,F){var Q=gt(N,F);if(!Q.length)return;for(var $=Array.prototype.slice.call(arguments,2),oe=0;oe<Q.length;++oe)Q[oe].apply(null,$)}function wt(N,F,Q){return typeof F=="string"&&(F={type:F,preventDefault:function(){this.defaultPrevented=!0}}),bt(N,Q||F.type,N,F),q(F)||F.codemirrorIgnore}function Et(N){var F=N._handlers&&N._handlers.cursorActivity;if(!F)return;for(var Q=N.curOp.cursorActivityHandlers||(N.curOp.cursorActivityHandlers=[]),$=0;$<F.length;++$)W(Q,F[$])==-1&&Q.push(F[$])}function xt(N,F){return gt(N,F).length>0}function Tt(N){N.prototype.on=function(F,Q){Te(this,F,Q)},N.prototype.off=function(F,Q){Ue(this,F,Q)}}function Be(N){N.preventDefault?N.preventDefault():N.returnValue=!1}function ce(N){N.stopPropagation?N.stopPropagation():N.cancelBubble=!0}function q(N){return N.defaultPrevented!=null?N.defaultPrevented:N.returnValue==!1}function dt(N){Be(N),ce(N)}function Ve(N){return N.target||N.srcElement}function de(N){var F=N.which;return F==null&&(N.button&1?F=1:N.button&2?F=3:N.button&4&&(F=2)),f&&N.ctrlKey&&F==1&&(F=3),F}var Ht=function(){if(p&&h<9)return!1;var N=T("div");return"draggable"in N||"dragDrop"in N}(),tr;function lt(N){if(tr==null){var F=T("span","\u200B");x(N,T("span",[F,document.createTextNode("x")])),N.firstChild.offsetHeight!=0&&(tr=F.offsetWidth<=1&&F.offsetHeight>2&&!(p&&h<8))}var Q=tr?T("span","\u200B"):T("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return Q.setAttribute("cm-text",""),Q}var Xt;function sr(N){if(Xt!=null)return Xt;var F=x(N,document.createTextNode("A\u062EA")),Q=R(F,0,1).getBoundingClientRect(),$=R(F,1,2).getBoundingClientRect();return w(N),!Q||Q.left==Q.right?!1:Xt=$.right-Q.right<3}var Kr=`
b`.split(/\n/).length!=3?function(N){for(var F=0,Q=[],$=N.length;F<=$;){var oe=N.indexOf(`
`,F);oe==-1&&(oe=N.length);var Oe=N.slice(F,N.charAt(oe-1)=="\r"?oe-1:oe),ft=Oe.indexOf("\r");ft!=-1?(Q.push(Oe.slice(0,ft)),F+=ft+1):(Q.push(Oe),F=oe+1)}return Q}:function(N){return N.split(/\r\n?|\n/)},rr=window.getSelection?function(N){try{return N.selectionStart!=N.selectionEnd}catch(F){return!1}}:function(N){var F;try{F=N.ownerDocument.selection.createRange()}catch(Q){}return!F||F.parentElement()!=N?!1:F.compareEndPoints("StartToEnd",F)!=0},nr=function(){var N=T("div");return"oncopy"in N?!0:(N.setAttribute("oncopy","return;"),typeof N.oncopy=="function")}(),Nt=null;function ot(N){if(Nt!=null)return Nt;var F=x(N,T("span","x")),Q=F.getBoundingClientRect(),$=R(F,0,1).getBoundingClientRect();return Nt=Math.abs(Q.left-$.left)>1}var Qe={},qt={};function xr(N,F){arguments.length>2&&(F.dependencies=Array.prototype.slice.call(arguments,2)),Qe[N]=F}function vr(N,F){qt[N]=F}function fr(N){if(typeof N=="string"&&qt.hasOwnProperty(N))N=qt[N];else if(N&&typeof N.name=="string"&&qt.hasOwnProperty(N.name)){var F=qt[N.name];typeof F=="string"&&(F={name:F}),N=Ze(F,N),N.name=F.name}else{if(typeof N=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(N))return fr("application/xml");if(typeof N=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(N))return fr("application/json")}return typeof N=="string"?{name:N}:N||{name:"null"}}function An(N,F){F=fr(F);var Q=Qe[F.name];if(!Q)return An(N,"text/plain");var $=Q(N,F);if($r.hasOwnProperty(F.name)){var oe=$r[F.name];for(var Oe in oe){if(!oe.hasOwnProperty(Oe))continue;$.hasOwnProperty(Oe)&&($["_"+Oe]=$[Oe]),$[Oe]=oe[Oe]}}if($.name=F.name,F.helperType&&($.helperType=F.helperType),F.modeProps)for(var ft in F.modeProps)$[ft]=F.modeProps[ft];return $}var $r={};function Ln(N,F){var Q=$r.hasOwnProperty(N)?$r[N]:$r[N]={};j(F,Q)}function $e(N,F){if(F===!0)return F;if(N.copyState)return N.copyState(F);var Q={};for(var $ in F){var oe=F[$];oe instanceof Array&&(oe=oe.concat([])),Q[$]=oe}return Q}function tt(N,F){for(var Q;N.innerMode&&!(Q=N.innerMode(F),!Q||Q.mode==N);)F=Q.state,N=Q.mode;return Q||{mode:N,state:F}}function ve(N,F,Q){return N.startState?N.startState(F,Q):!0}var _e=function(F,Q,$){this.pos=this.start=0,this.string=F,this.tabSize=Q||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=$};_e.prototype.eol=function(){return this.pos>=this.string.length},_e.prototype.sol=function(){return this.pos==this.lineStart},_e.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},_e.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},_e.prototype.eat=function(N){var F=this.string.charAt(this.pos),Q;if(typeof N=="string"?Q=F==N:Q=F&&(N.test?N.test(F):N(F)),Q)return++this.pos,F},_e.prototype.eatWhile=function(N){for(var F=this.pos;this.eat(N););return this.pos>F},_e.prototype.eatSpace=function(){for(var N=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>N},_e.prototype.skipToEnd=function(){this.pos=this.string.length},_e.prototype.skipTo=function(N){var F=this.string.indexOf(N,this.pos);if(F>-1)return this.pos=F,!0},_e.prototype.backUp=function(N){this.pos-=N},_e.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=H(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?H(this.string,this.lineStart,this.tabSize):0)},_e.prototype.indentation=function(){return H(this.string,null,this.tabSize)-(this.lineStart?H(this.string,this.lineStart,this.tabSize):0)},_e.prototype.match=function(N,F,Q){if(typeof N=="string"){var $=function(_t){return Q?_t.toLowerCase():_t},oe=this.string.substr(this.pos,N.length);if($(oe)==$(N))return F!==!1&&(this.pos+=N.length),!0}else{var Oe=this.string.slice(this.pos).match(N);return Oe&&Oe.index>0?null:(Oe&&F!==!1&&(this.pos+=Oe[0].length),Oe)}},_e.prototype.current=function(){return this.string.slice(this.start,this.pos)},_e.prototype.hideFirstChars=function(N,F){this.lineStart+=N;try{return F()}finally{this.lineStart-=N}},_e.prototype.lookAhead=function(N){var F=this.lineOracle;return F&&F.lookAhead(N)},_e.prototype.baseToken=function(){var N=this.lineOracle;return N&&N.baseToken(this.pos)};function ke(N,F){if(F-=N.first,F<0||F>=N.size)throw new Error("There is no line "+(F+N.first)+" in the document.");for(var Q=N;!Q.lines;)for(var $=0;;++$){var oe=Q.children[$],Oe=oe.chunkSize();if(F<Oe){Q=oe;break}F-=Oe}return Q.lines[F]}function rt(N,F,Q){var $=[],oe=F.line;return N.iter(F.line,Q.line+1,function(Oe){var ft=Oe.text;oe==Q.line&&(ft=ft.slice(0,Q.ch)),oe==F.line&&(ft=ft.slice(F.ch)),$.push(ft),++oe}),$}function Wt(N,F,Q){var $=[];return N.iter(F,Q,function(oe){$.push(oe.text)}),$}function Bt(N,F){var Q=F-N.height;if(Q)for(var $=N;$;$=$.parent)$.height+=Q}function Gt(N){if(N.parent==null)return null;for(var F=N.parent,Q=W(F.lines,N),$=F.parent;$;F=$,$=$.parent)for(var oe=0;!($.children[oe]==F);++oe)Q+=$.children[oe].chunkSize();return Q+F.first}function Rr(N,F){var Q=N.first;e:do{for(var $=0;$<N.children.length;++$){var oe=N.children[$],Oe=oe.height;if(F<Oe){N=oe;continue e}F-=Oe,Q+=oe.chunkSize()}return Q}while(!N.lines);for(var ft=0;ft<N.lines.length;++ft){var _t=N.lines[ft],Yt=_t.height;if(F<Yt)break;F-=Yt}return Q+ft}function Pr(N,F){return F>=N.first&&F<N.first+N.size}function cn(N,F){return String(N.lineNumberFormatter(F+N.firstLineNumber))}function Ut(N,F,Q){if(Q===void 0&&(Q=null),!(this instanceof Ut))return new Ut(N,F,Q);this.line=N,this.ch=F,this.sticky=Q}function pt(N,F){return N.line-F.line||N.ch-F.ch}function ct(N,F){return N.sticky==F.sticky&&pt(N,F)==0}function Qt(N){return Ut(N.line,N.ch)}function Jt(N,F){return pt(N,F)<0?F:N}function yt(N,F){return pt(N,F)<0?N:F}function Pt(N,F){return Math.max(N.first,Math.min(F,N.first+N.size-1))}function At(N,F){if(F.line<N.first)return Ut(N.first,0);var Q=N.first+N.size-1;return F.line>Q?Ut(Q,ke(N,Q).text.length):Ft(F,ke(N,F.line).text.length)}function Ft(N,F){var Q=N.ch;return Q==null||Q>F?Ut(N.line,F):Q<0?Ut(N.line,0):N}function pr(N,F){for(var Q=[],$=0;$<F.length;$++)Q[$]=At(N,F[$]);return Q}var or=function(F,Q){this.state=F,this.lookAhead=Q},ir=function(F,Q,$,oe){this.state=Q,this.doc=F,this.line=$,this.maxLookAhead=oe||0,this.baseTokens=null,this.baseTokenPos=1};ir.prototype.lookAhead=function(N){var F=this.doc.getLine(this.line+N);return F!=null&&N>this.maxLookAhead&&(this.maxLookAhead=N),F},ir.prototype.baseToken=function(N){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=N;)this.baseTokenPos+=2;var F=this.baseTokens[this.baseTokenPos+1];return{type:F&&F.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-N}},ir.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ir.fromSaved=function(N,F,Q){return F instanceof or?new ir(N,$e(N.mode,F.state),Q,F.lookAhead):new ir(N,$e(N.mode,F),Q)},ir.prototype.save=function(N){var F=N!==!1?$e(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new or(F,this.maxLookAhead):F};function Yr(N,F,Q,$){var oe=[N.state.modeGen],Oe={};we(N,F.text,N.doc.mode,Q,function(er,en){return oe.push(er,en)},Oe,$);for(var ft=Q.state,_t=function(en){Q.baseTokens=oe;var hn=N.state.overlays[en],Rn=1,kn=0;Q.state=!0,we(N,F.text,hn.mode,Q,function(Ai,Ki){for(var Qi=Rn;kn<Ai;){var Gi=oe[Rn];Gi>Ai&&oe.splice(Rn,1,Ai,oe[Rn+1],Gi),Rn+=2,kn=Math.min(Ai,Gi)}if(!Ki)return;if(hn.opaque)oe.splice(Qi,Rn-Qi,Ai,"overlay "+Ki),Rn=Qi+2;else for(;Qi<Rn;Qi+=2){var Vi=oe[Qi+1];oe[Qi+1]=(Vi?Vi+" ":"")+"overlay "+Ki}},Oe),Q.state=ft,Q.baseTokens=null,Q.baseTokenPos=1},Yt=0;Yt<N.state.overlays.length;++Yt)_t(Yt);return{styles:oe,classes:Oe.bgClass||Oe.textClass?Oe:null}}function Jr(N,F,Q){if(!F.styles||F.styles[0]!=N.state.modeGen){var $=_n(N,Gt(F)),oe=F.text.length>N.options.maxHighlightLength&&$e(N.doc.mode,$.state),Oe=Yr(N,F,$);oe&&($.state=oe),F.stateAfter=$.save(!oe),F.styles=Oe.styles,Oe.classes?F.styleClasses=Oe.classes:F.styleClasses&&(F.styleClasses=null),Q===N.doc.highlightFrontier&&(N.doc.modeFrontier=Math.max(N.doc.modeFrontier,++N.doc.highlightFrontier))}return F.styles}function _n(N,F,Q){var $=N.doc,oe=N.display;if(!$.mode.startState)return new ir($,!0,F);var Oe=Le(N,F,Q),ft=Oe>$.first&&ke($,Oe-1).stateAfter,_t=ft?ir.fromSaved($,ft,Oe):new ir($,ve($.mode),Oe);return $.iter(Oe,F,function(Yt){Nn(N,Yt.text,_t);var er=_t.line;Yt.stateAfter=er==F-1||er%5==0||er>=oe.viewFrom&&er<oe.viewTo?_t.save():null,_t.nextLine()}),Q&&($.modeFrontier=_t.line),_t}function Nn(N,F,Q,$){var oe=N.doc.mode,Oe=new _e(F,N.options.tabSize,Q);for(Oe.start=Oe.pos=$||0,F==""&&zn(oe,Q.state);!Oe.eol();)ei(oe,Oe,Q.state),Oe.start=Oe.pos}function zn(N,F){if(N.blankLine)return N.blankLine(F);if(!N.innerMode)return;var Q=tt(N,F);if(Q.mode.blankLine)return Q.mode.blankLine(Q.state)}function ei(N,F,Q,$){for(var oe=0;oe<10;oe++){$&&($[0]=tt(N,Q).mode);var Oe=N.token(F,Q);if(F.pos>F.start)return Oe}throw new Error("Mode "+N.name+" failed to advance stream.")}var vi=function(F,Q,$){this.start=F.start,this.end=F.pos,this.string=F.current(),this.type=Q||null,this.state=$};function Pi(N,F,Q,$){var oe=N.doc,Oe=oe.mode,ft;F=At(oe,F);var _t=ke(oe,F.line),Yt=_n(N,F.line,Q),er=new _e(_t.text,N.options.tabSize,Yt),en;for($&&(en=[]);($||er.pos<F.ch)&&!er.eol();)er.start=er.pos,ft=ei(Oe,er,Yt.state),$&&en.push(new vi(er,ft,$e(oe.mode,Yt.state)));return $?en:new vi(er,ft,Yt.state)}function Ge(N,F){if(N)for(;;){var Q=N.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!Q)break;N=N.slice(0,Q.index)+N.slice(Q.index+Q[0].length);var $=Q[1]?"bgClass":"textClass";F[$]==null?F[$]=Q[2]:new RegExp("(?:^|\\s)"+Q[2]+"(?:$|\\s)").test(F[$])||(F[$]+=" "+Q[2])}return N}function we(N,F,Q,$,oe,Oe,ft){var _t=Q.flattenSpans;_t==null&&(_t=N.options.flattenSpans);var Yt=0,er=null,en=new _e(F,N.options.tabSize,$),hn,Rn=N.options.addModeClass&&[null];for(F==""&&Ge(zn(Q,$.state),Oe);!en.eol();){if(en.pos>N.options.maxHighlightLength?(_t=!1,ft&&Nn(N,F,$,en.pos),en.pos=F.length,hn=null):hn=Ge(ei(Q,en,$.state,Rn),Oe),Rn){var kn=Rn[0].name;kn&&(hn="m-"+(hn?kn+" "+hn:kn))}if(!_t||er!=hn){for(;Yt<en.start;)Yt=Math.min(en.start,Yt+5e3),oe(Yt,er);er=hn}en.start=en.pos}for(;Yt<en.pos;){var Ai=Math.min(en.pos,Yt+5e3);oe(Ai,er),Yt=Ai}}function Le(N,F,Q){for(var $,oe,Oe=N.doc,ft=Q?-1:F-(N.doc.mode.innerMode?1e3:100),_t=F;_t>ft;--_t){if(_t<=Oe.first)return Oe.first;var Yt=ke(Oe,_t-1),er=Yt.stateAfter;if(er&&(!Q||_t+(er instanceof or?er.lookAhead:0)<=Oe.modeFrontier))return _t;var en=H(Yt.text,null,N.options.tabSize);(oe==null||$>en)&&(oe=_t-1,$=en)}return oe}function De(N,F){if(N.modeFrontier=Math.min(N.modeFrontier,F),N.highlightFrontier<F-10)return;for(var Q=N.first,$=F-1;$>Q;$--){var oe=ke(N,$).stateAfter;if(oe&&(!(oe instanceof or)||$+oe.lookAhead<F)){Q=$+1;break}}N.highlightFrontier=Math.min(N.highlightFrontier,Q)}var We=!1,Fe=!1;function Je(){We=!0}function vt(){Fe=!0}function st(N,F,Q){this.marker=N,this.from=F,this.to=Q}function kt(N,F){if(N)for(var Q=0;Q<N.length;++Q){var $=N[Q];if($.marker==F)return $}}function wr(N,F){for(var Q,$=0;$<N.length;++$)N[$]!=F&&(Q||(Q=[])).push(N[$]);return Q}function hr(N,F){N.markedSpans=N.markedSpans?N.markedSpans.concat([F]):[F],F.marker.attachLine(N)}function Nr(N,F,Q){var $;if(N)for(var oe=0;oe<N.length;++oe){var Oe=N[oe],ft=Oe.marker,_t=Oe.from==null||(ft.inclusiveLeft?Oe.from<=F:Oe.from<F);if(_t||Oe.from==F&&ft.type=="bookmark"&&(!Q||!Oe.marker.insertLeft)){var Yt=Oe.to==null||(ft.inclusiveRight?Oe.to>=F:Oe.to>F);($||($=[])).push(new st(ft,Oe.from,Yt?null:Oe.to))}}return $}function Kt(N,F,Q){var $;if(N)for(var oe=0;oe<N.length;++oe){var Oe=N[oe],ft=Oe.marker,_t=Oe.to==null||(ft.inclusiveRight?Oe.to>=F:Oe.to>F);if(_t||Oe.from==F&&ft.type=="bookmark"&&(!Q||Oe.marker.insertLeft)){var Yt=Oe.from==null||(ft.inclusiveLeft?Oe.from<=F:Oe.from<F);($||($=[])).push(new st(ft,Yt?null:Oe.from-F,Oe.to==null?null:Oe.to-F))}}return $}function un(N,F){if(F.full)return null;var Q=Pr(N,F.from.line)&&ke(N,F.from.line).markedSpans,$=Pr(N,F.to.line)&&ke(N,F.to.line).markedSpans;if(!Q&&!$)return null;var oe=F.from.ch,Oe=F.to.ch,ft=pt(F.from,F.to)==0,_t=Nr(Q,oe,ft),Yt=Kt($,Oe,ft),er=F.text.length==1,en=he(F.text).length+(er?oe:0);if(_t)for(var hn=0;hn<_t.length;++hn){var Rn=_t[hn];if(Rn.to==null){var kn=kt(Yt,Rn.marker);kn?er&&(Rn.to=kn.to==null?null:kn.to+en):Rn.to=oe}}if(Yt)for(var Ai=0;Ai<Yt.length;++Ai){var Ki=Yt[Ai];if(Ki.to!=null&&(Ki.to+=en),Ki.from==null){var Qi=kt(_t,Ki.marker);Qi||(Ki.from=en,er&&(_t||(_t=[])).push(Ki))}else Ki.from+=en,er&&(_t||(_t=[])).push(Ki)}_t&&(_t=ar(_t)),Yt&&Yt!=_t&&(Yt=ar(Yt));var Gi=[_t];if(!er){var Vi=F.text.length-2,fa;if(Vi>0&&_t)for(var ba=0;ba<_t.length;++ba)_t[ba].to==null&&(fa||(fa=[])).push(new st(_t[ba].marker,null,null));for(var qa=0;qa<Vi;++qa)Gi.push(fa);Gi.push(Yt)}return Gi}function ar(N){for(var F=0;F<N.length;++F){var Q=N[F];Q.from!=null&&Q.from==Q.to&&Q.marker.clearWhenEmpty!==!1&&N.splice(F--,1)}return N.length?N:null}function Xr(N,F,Q){var $=null;if(N.iter(F.line,Q.line+1,function(kn){if(kn.markedSpans)for(var Ai=0;Ai<kn.markedSpans.length;++Ai){var Ki=kn.markedSpans[Ai].marker;Ki.readOnly&&(!$||W($,Ki)==-1)&&($||($=[])).push(Ki)}}),!$)return null;for(var oe=[{from:F,to:Q}],Oe=0;Oe<$.length;++Oe)for(var ft=$[Oe],_t=ft.find(0),Yt=0;Yt<oe.length;++Yt){var er=oe[Yt];if(pt(er.to,_t.from)<0||pt(er.from,_t.to)>0)continue;var en=[Yt,1],hn=pt(er.from,_t.from),Rn=pt(er.to,_t.to);(hn<0||!ft.inclusiveLeft&&!hn)&&en.push({from:er.from,to:_t.from}),(Rn>0||!ft.inclusiveRight&&!Rn)&&en.push({from:_t.to,to:er.to}),oe.splice.apply(oe,en),Yt+=en.length-3}return oe}function kr(N){var F=N.markedSpans;if(!F)return;for(var Q=0;Q<F.length;++Q)F[Q].marker.detachLine(N);N.markedSpans=null}function gr(N,F){if(!F)return;for(var Q=0;Q<F.length;++Q)F[Q].marker.attachLine(N);N.markedSpans=F}function Sn(N){return N.inclusiveLeft?-1:0}function Pn(N){return N.inclusiveRight?1:0}function ii(N,F){var Q=N.lines.length-F.lines.length;if(Q!=0)return Q;var $=N.find(),oe=F.find(),Oe=pt($.from,oe.from)||Sn(N)-Sn(F);if(Oe)return-Oe;var ft=pt($.to,oe.to)||Pn(N)-Pn(F);return ft||F.id-N.id}function oi(N,F){var Q=Fe&&N.markedSpans,$;if(Q)for(var oe=void 0,Oe=0;Oe<Q.length;++Oe)oe=Q[Oe],oe.marker.collapsed&&(F?oe.from:oe.to)==null&&(!$||ii($,oe.marker)<0)&&($=oe.marker);return $}function ti(N){return oi(N,!0)}function bi(N){return oi(N,!1)}function Bn(N,F){var Q=Fe&&N.markedSpans,$;if(Q)for(var oe=0;oe<Q.length;++oe){var Oe=Q[oe];Oe.marker.collapsed&&(Oe.from==null||Oe.from<F)&&(Oe.to==null||Oe.to>F)&&(!$||ii($,Oe.marker)<0)&&($=Oe.marker)}return $}function _i(N,F,Q,$,oe){var Oe=ke(N,F),ft=Fe&&Oe.markedSpans;if(ft)for(var _t=0;_t<ft.length;++_t){var Yt=ft[_t];if(!Yt.marker.collapsed)continue;var er=Yt.marker.find(0),en=pt(er.from,Q)||Sn(Yt.marker)-Sn(oe),hn=pt(er.to,$)||Pn(Yt.marker)-Pn(oe);if(en>=0&&hn<=0||en<=0&&hn>=0)continue;if(en<=0&&(Yt.marker.inclusiveRight&&oe.inclusiveLeft?pt(er.to,Q)>=0:pt(er.to,Q)>0)||en>=0&&(Yt.marker.inclusiveRight&&oe.inclusiveLeft?pt(er.from,$)<=0:pt(er.from,$)<0))return!0}}function gn(N){for(var F;F=ti(N);)N=F.find(-1,!0).line;return N}function Vr(N){for(var F;F=bi(N);)N=F.find(1,!0).line;return N}function xn(N){for(var F,Q;F=bi(N);)N=F.find(1,!0).line,(Q||(Q=[])).push(N);return Q}function tn(N,F){var Q=ke(N,F),$=gn(Q);return Q==$?F:Gt($)}function ui(N,F){if(F>N.lastLine())return F;var Q=ke(N,F),$;if(!qn(N,Q))return F;for(;$=bi(Q);)Q=$.find(1,!0).line;return Gt(Q)+1}function qn(N,F){var Q=Fe&&F.markedSpans;if(Q)for(var $=void 0,oe=0;oe<Q.length;++oe){if($=Q[oe],!$.marker.collapsed)continue;if($.from==null)return!0;if($.marker.widgetNode)continue;if($.from==0&&$.marker.inclusiveLeft&&wi(N,F,$))return!0}}function wi(N,F,Q){if(Q.to==null){var $=Q.marker.find(1,!0);return wi(N,$.line,kt($.line.markedSpans,Q.marker))}if(Q.marker.inclusiveRight&&Q.to==F.text.length)return!0;for(var oe=void 0,Oe=0;Oe<F.markedSpans.length;++Oe)if(oe=F.markedSpans[Oe],oe.marker.collapsed&&!oe.marker.widgetNode&&oe.from==Q.to&&(oe.to==null||oe.to!=Q.from)&&(oe.marker.inclusiveLeft||Q.marker.inclusiveRight)&&wi(N,F,oe))return!0}function Qn(N){N=gn(N);for(var F=0,Q=N.parent,$=0;$<Q.lines.length;++$){var oe=Q.lines[$];if(oe==N)break;F+=oe.height}for(var Oe=Q.parent;Oe;Q=Oe,Oe=Q.parent)for(var ft=0;ft<Oe.children.length;++ft){var _t=Oe.children[ft];if(_t==Q)break;F+=_t.height}return F}function Hi(N){if(N.height==0)return 0;for(var F=N.text.length,Q,$=N;Q=ti($);){var oe=Q.find(0,!0);$=oe.from.line,F+=oe.from.ch-oe.to.ch}for($=N;Q=bi($);){var Oe=Q.find(0,!0);F-=$.text.length-Oe.from.ch,$=Oe.to.line,F+=$.text.length-Oe.to.ch}return F}function ri(N){var F=N.display,Q=N.doc;F.maxLine=ke(Q,Q.first),F.maxLineLength=Hi(F.maxLine),F.maxLineChanged=!0,Q.iter(function($){var oe=Hi($);oe>F.maxLineLength&&(F.maxLineLength=oe,F.maxLine=$)})}var Mi=function(F,Q,$){this.text=F,gr(this,Q),this.height=$?$(this):1};Mi.prototype.lineNo=function(){return Gt(this)},Tt(Mi);function dn(N,F,Q,$){N.text=F,N.stateAfter&&(N.stateAfter=null),N.styles&&(N.styles=null),N.order!=null&&(N.order=null),kr(N),gr(N,Q);var oe=$?$(N):1;oe!=N.height&&Bt(N,oe)}function Fr(N){N.parent=null,kr(N)}var bn={},Mn={};function Xn(N,F){if(!N||/^\s*$/.test(N))return null;var Q=F.addModeClass?Mn:bn;return Q[N]||(Q[N]=N.replace(/\S+/g,"cm-$&"))}function $n(N,F){var Q=L("span",null,null,o?"padding-right: .1px":null),$={pre:L("pre",[Q],"CodeMirror-line"),content:Q,col:0,pos:0,cm:N,trailingSpace:!1,splitSpaces:N.getOption("lineWrapping")};F.measure={};for(var oe=0;oe<=(F.rest?F.rest.length:0);oe++){var Oe=oe?F.rest[oe-1]:F.line,ft=void 0;$.pos=0,$.addToken=fi,sr(N.display.measure)&&(ft=ze(Oe,N.doc.direction))&&($.addToken=Wi($.addToken,ft)),$.map=[];var _t=F!=N.display.externalMeasured&&Gt(Oe);$i(Oe,$,Jr(N,Oe,_t)),Oe.styleClasses&&(Oe.styleClasses.bgClass&&($.bgClass=D(Oe.styleClasses.bgClass,$.bgClass||"")),Oe.styleClasses.textClass&&($.textClass=D(Oe.styleClasses.textClass,$.textClass||""))),$.map.length==0&&$.map.push(0,0,$.content.appendChild(lt(N.display.measure))),oe==0?(F.measure.map=$.map,F.measure.cache={}):((F.measure.maps||(F.measure.maps=[])).push($.map),(F.measure.caches||(F.measure.caches=[])).push({}))}if(o){var Yt=$.content.lastChild;(/\bcm-tab\b/.test(Yt.className)||Yt.querySelector&&Yt.querySelector(".cm-tab"))&&($.content.className="cm-tab-wrap-hack")}return bt(N,"renderLine",N,F.line,$.pre),$.pre.className&&($.textClass=D($.pre.className,$.textClass||"")),$}function hi(N){var F=T("span","\u2022","cm-invalidchar");return F.title="\\u"+N.charCodeAt(0).toString(16),F.setAttribute("aria-label",F.title),F}function fi(N,F,Q,$,oe,Oe,ft){if(!F)return;var _t=N.splitSpaces?gi(F,N.trailingSpace):F,Yt=N.cm.state.specialChars,er=!1,en;if(!Yt.test(F))N.col+=F.length,en=document.createTextNode(_t),N.map.push(N.pos,N.pos+F.length,en),p&&h<9&&(er=!0),N.pos+=F.length;else{en=document.createDocumentFragment();for(var hn=0;;){Yt.lastIndex=hn;var Rn=Yt.exec(F),kn=Rn?Rn.index-hn:F.length-hn;if(kn){var Ai=document.createTextNode(_t.slice(hn,hn+kn));p&&h<9?en.appendChild(T("span",[Ai])):en.appendChild(Ai),N.map.push(N.pos,N.pos+kn,Ai),N.col+=kn,N.pos+=kn}if(!Rn)break;hn+=kn+1;var Ki=void 0;if(Rn[0]==" "){var Qi=N.cm.options.tabSize,Gi=Qi-N.col%Qi;Ki=en.appendChild(T("span",Ce(Gi),"cm-tab")),Ki.setAttribute("role","presentation"),Ki.setAttribute("cm-text"," "),N.col+=Gi}else Rn[0]=="\r"||Rn[0]==`
`?(Ki=en.appendChild(T("span",Rn[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Ki.setAttribute("cm-text",Rn[0]),N.col+=1):(Ki=N.cm.options.specialCharPlaceholder(Rn[0]),Ki.setAttribute("cm-text",Rn[0]),p&&h<9?en.appendChild(T("span",[Ki])):en.appendChild(Ki),N.col+=1);N.map.push(N.pos,N.pos+1,Ki),N.pos++}}if(N.trailingSpace=_t.charCodeAt(F.length-1)==32,Q||$||oe||er||Oe||ft){var Vi=Q||"";$&&(Vi+=$),oe&&(Vi+=oe);var fa=T("span",[en],Vi,Oe);if(ft)for(var ba in ft)ft.hasOwnProperty(ba)&&ba!="style"&&ba!="class"&&fa.setAttribute(ba,ft[ba]);return N.content.appendChild(fa)}N.content.appendChild(en)}function gi(N,F){if(N.length>1&&!/ /.test(N))return N;for(var Q=F,$="",oe=0;oe<N.length;oe++){var Oe=N.charAt(oe);Oe==" "&&Q&&(oe==N.length-1||N.charCodeAt(oe+1)==32)&&(Oe="\xA0"),$+=Oe,Q=Oe==" "}return $}function Wi(N,F){return function(Q,$,oe,Oe,ft,_t,Yt){oe=oe?oe+" cm-force-border":"cm-force-border";for(var er=Q.pos,en=er+$.length;;){for(var hn=void 0,Rn=0;Rn<F.length&&!(hn=F[Rn],hn.to>er&&hn.from<=er);Rn++);if(hn.to>=en)return N(Q,$,oe,Oe,ft,_t,Yt);N(Q,$.slice(0,hn.to-er),oe,Oe,null,_t,Yt),Oe=null,$=$.slice(hn.to-er),er=hn.to}}}function na(N,F,Q,$){var oe=!$&&Q.widgetNode;oe&&N.map.push(N.pos,N.pos+F,oe),!$&&N.cm.display.input.needsContentAttribute&&(oe||(oe=N.content.appendChild(document.createElement("span"))),oe.setAttribute("cm-marker",Q.id)),oe&&(N.cm.display.input.setUneditable(oe),N.content.appendChild(oe)),N.pos+=F,N.trailingSpace=!1}function $i(N,F,Q){var $=N.markedSpans,oe=N.text,Oe=0;if(!$){for(var ft=1;ft<Q.length;ft+=2)F.addToken(F,oe.slice(Oe,Oe=Q[ft]),Xn(Q[ft+1],F.cm.options));return}for(var _t=oe.length,Yt=0,er=1,en="",hn,Rn,kn=0,Ai,Ki,Qi,Gi,Vi;;){if(kn==Yt){Ai=Ki=Qi=Rn="",Vi=null,Gi=null,kn=Infinity;for(var fa=[],ba=void 0,qa=0;qa<$.length;++qa){var ka=$[qa],Eo=ka.marker;if(Eo.type=="bookmark"&&ka.from==Yt&&Eo.widgetNode)fa.push(Eo);else if(ka.from<=Yt&&(ka.to==null||ka.to>Yt||Eo.collapsed&&ka.to==Yt&&ka.from==Yt)){if(ka.to!=null&&ka.to!=Yt&&kn>ka.to&&(kn=ka.to,Ki=""),Eo.className&&(Ai+=" "+Eo.className),Eo.css&&(Rn=(Rn?Rn+";":"")+Eo.css),Eo.startStyle&&ka.from==Yt&&(Qi+=" "+Eo.startStyle),Eo.endStyle&&ka.to==kn&&(ba||(ba=[])).push(Eo.endStyle,ka.to),Eo.title&&((Vi||(Vi={})).title=Eo.title),Eo.attributes)for(var Wo in Eo.attributes)(Vi||(Vi={}))[Wo]=Eo.attributes[Wo];Eo.collapsed&&(!Gi||ii(Gi.marker,Eo)<0)&&(Gi=ka)}else ka.from>Yt&&kn>ka.from&&(kn=ka.from)}if(ba)for(var cs=0;cs<ba.length;cs+=2)ba[cs+1]==kn&&(Ki+=" "+ba[cs]);if(!Gi||Gi.from==Yt)for(var $o=0;$o<fa.length;++$o)na(F,0,fa[$o]);if(Gi&&(Gi.from||0)==Yt){if(na(F,(Gi.to==null?_t+1:Gi.to)-Yt,Gi.marker,Gi.from==null),Gi.to==null)return;Gi.to==Yt&&(Gi=!1)}}if(Yt>=_t)break;for(var Ms=Math.min(_t,kn);;){if(en){var Qs=Yt+en.length;if(!Gi){var Cs=Qs>Ms?en.slice(0,Ms-Yt):en;F.addToken(F,Cs,hn?hn+Ai:Ai,Qi,Yt+Cs.length==kn?Ki:"",Rn,Vi)}if(Qs>=Ms){en=en.slice(Ms-Yt),Yt=Ms;break}Yt=Qs,Qi=""}en=oe.slice(Oe,Oe=Q[er++]),hn=Xn(Q[er++],F.cm.options)}}}function Ha(N,F,Q){this.line=F,this.rest=xn(F),this.size=this.rest?Gt(he(this.rest))-Q+1:1,this.node=this.text=null,this.hidden=qn(N,F)}function pi(N,F,Q){for(var $=[],oe,Oe=F;Oe<Q;Oe=oe){var ft=new Ha(N.doc,ke(N.doc,Oe),Oe);oe=Oe+ft.size,$.push(ft)}return $}var ln=null;function Ii(N){ln?ln.ops.push(N):N.ownsGroup=ln={ops:[N],delayedCallbacks:[]}}function Ji(N){var F=N.delayedCallbacks,Q=0;do{for(;Q<F.length;Q++)F[Q].call(null);for(var $=0;$<N.ops.length;$++){var oe=N.ops[$];if(oe.cursorActivityHandlers)for(;oe.cursorActivityCalled<oe.cursorActivityHandlers.length;)oe.cursorActivityHandlers[oe.cursorActivityCalled++].call(null,oe.cm)}}while(Q<F.length)}function Fi(N,F){var Q=N.ownsGroup;if(!Q)return;try{Ji(Q)}finally{ln=null,F(Q)}}var ea=null;function zt(N,F){var Q=gt(N,F);if(!Q.length)return;var $=Array.prototype.slice.call(arguments,2),oe;ln?oe=ln.delayedCallbacks:ea?oe=ea:(oe=ea=[],setTimeout(Gr,0));for(var Oe=function(Yt){oe.push(function(){return Q[Yt].apply(null,$)})},ft=0;ft<Q.length;++ft)Oe(ft)}function Gr(){var N=ea;ea=null;for(var F=0;F<N.length;++F)N[F]()}function nn(N,F,Q,$){for(var oe=0;oe<F.changes.length;oe++){var Oe=F.changes[oe];Oe=="text"?cr(N,F):Oe=="gutter"?Ir(N,F,Q,$):Oe=="class"?lr(N,F):Oe=="widget"&&Dr(N,F,$)}F.changes=null}function fn(N){return N.node==N.text&&(N.node=T("div",null,null,"position: relative"),N.text.parentNode&&N.text.parentNode.replaceChild(N.node,N.text),N.node.appendChild(N.text),p&&h<8&&(N.node.style.zIndex=2)),N.node}function Xe(N,F){var Q=F.bgClass?F.bgClass+" "+(F.line.bgClass||""):F.line.bgClass;if(Q&&(Q+=" CodeMirror-linebackground"),F.background)Q?F.background.className=Q:(F.background.parentNode.removeChild(F.background),F.background=null);else if(Q){var $=fn(F);F.background=$.insertBefore(T("div",null,Q),$.firstChild),N.display.input.setUneditable(F.background)}}function Ot(N,F){var Q=N.display.externalMeasured;return Q&&Q.line==F.line?(N.display.externalMeasured=null,F.measure=Q.measure,Q.built):$n(N,F)}function cr(N,F){var Q=F.text.className,$=Ot(N,F);F.text==F.node&&(F.node=$.pre),F.text.parentNode.replaceChild($.pre,F.text),F.text=$.pre,$.bgClass!=F.bgClass||$.textClass!=F.textClass?(F.bgClass=$.bgClass,F.textClass=$.textClass,lr(N,F)):Q&&(F.text.className=Q)}function lr(N,F){Xe(N,F),F.line.wrapClass?fn(F).className=F.line.wrapClass:F.node!=F.text&&(F.node.className="");var Q=F.textClass?F.textClass+" "+(F.line.textClass||""):F.line.textClass;F.text.className=Q||""}function Ir(N,F,Q,$){if(F.gutter&&(F.node.removeChild(F.gutter),F.gutter=null),F.gutterBackground&&(F.node.removeChild(F.gutterBackground),F.gutterBackground=null),F.line.gutterClass){var oe=fn(F);F.gutterBackground=T("div",null,"CodeMirror-gutter-background "+F.line.gutterClass,"left: "+(N.options.fixedGutter?$.fixedPos:-$.gutterTotalWidth)+"px; width: "+$.gutterTotalWidth+"px"),N.display.input.setUneditable(F.gutterBackground),oe.insertBefore(F.gutterBackground,F.text)}var Oe=F.line.gutterMarkers;if(N.options.lineNumbers||Oe){var ft=fn(F),_t=F.gutter=T("div",null,"CodeMirror-gutter-wrapper","left: "+(N.options.fixedGutter?$.fixedPos:-$.gutterTotalWidth)+"px");if(N.display.input.setUneditable(_t),ft.insertBefore(_t,F.text),F.line.gutterClass&&(_t.className+=" "+F.line.gutterClass),N.options.lineNumbers&&(!Oe||!Oe["CodeMirror-linenumbers"])&&(F.lineNumber=_t.appendChild(T("div",cn(N.options,Q),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+$.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+N.display.lineNumInnerWidth+"px"))),Oe)for(var Yt=0;Yt<N.display.gutterSpecs.length;++Yt){var er=N.display.gutterSpecs[Yt].className,en=Oe.hasOwnProperty(er)&&Oe[er];en&&_t.appendChild(T("div",[en],"CodeMirror-gutter-elt","left: "+$.gutterLeft[er]+"px; width: "+$.gutterWidth[er]+"px"))}}}function Dr(N,F,Q){F.alignable&&(F.alignable=null);for(var $=S("CodeMirror-linewidget"),oe=F.node.firstChild,Oe=void 0;oe;oe=Oe)Oe=oe.nextSibling,$.test(oe.className)&&F.node.removeChild(oe);on(N,F,Q)}function Wr(N,F,Q,$){var oe=Ot(N,F);return F.text=F.node=oe.pre,oe.bgClass&&(F.bgClass=oe.bgClass),oe.textClass&&(F.textClass=oe.textClass),lr(N,F),Ir(N,F,Q,$),on(N,F,$),F.node}function on(N,F,Q){if(En(N,F.line,F,Q,!0),F.rest)for(var $=0;$<F.rest.length;$++)En(N,F.rest[$],F,Q,!1)}function En(N,F,Q,$,oe){if(!F.widgets)return;for(var Oe=fn(Q),ft=0,_t=F.widgets;ft<_t.length;++ft){var Yt=_t[ft],er=T("div",[Yt.node],"CodeMirror-linewidget"+(Yt.className?" "+Yt.className:""));Yt.handleMouseEvents||er.setAttribute("cm-ignore-events","true"),vn(Yt,er,Q,$),N.display.input.setUneditable(er),oe&&Yt.above?Oe.insertBefore(er,Q.gutter||Q.text):Oe.appendChild(er),zt(Yt,"redraw")}}function vn(N,F,Q,$){if(N.noHScroll){(Q.alignable||(Q.alignable=[])).push(F);var oe=$.wrapperWidth;F.style.left=$.fixedPos+"px",N.coverGutter||(oe-=$.gutterTotalWidth,F.style.paddingLeft=$.gutterTotalWidth+"px"),F.style.width=oe+"px"}N.coverGutter&&(F.style.zIndex=5,F.style.position="relative",N.noHScroll||(F.style.marginLeft=-$.gutterTotalWidth+"px"))}function Dn(N){if(N.height!=null)return N.height;var F=N.doc.cm;if(!F)return 0;if(!P(document.body,N.node)){var Q="position: relative;";N.coverGutter&&(Q+="margin-left: -"+F.display.gutters.offsetWidth+"px;"),N.noHScroll&&(Q+="width: "+F.display.wrapper.clientWidth+"px;"),x(F.display.measure,T("div",[N.node],null,Q))}return N.height=N.node.parentNode.offsetHeight}function Un(N,F){for(var Q=Ve(F);Q!=N.wrapper;Q=Q.parentNode)if(!Q||Q.nodeType==1&&Q.getAttribute("cm-ignore-events")=="true"||Q.parentNode==N.sizer&&Q!=N.mover)return!0}function wn(N){return N.lineSpace.offsetTop}function In(N){return N.mover.offsetHeight-N.lineSpace.offsetHeight}function Tn(N){if(N.cachedPaddingH)return N.cachedPaddingH;var F=x(N.measure,T("pre","x","CodeMirror-line-like")),Q=window.getComputedStyle?window.getComputedStyle(F):F.currentStyle,$={left:parseInt(Q.paddingLeft),right:parseInt(Q.paddingRight)};return!isNaN($.left)&&!isNaN($.right)&&(N.cachedPaddingH=$),$}function Kn(N){return X-N.display.nativeBarWidth}function Yn(N){return N.display.scroller.clientWidth-Kn(N)-N.display.barWidth}function ni(N){return N.display.scroller.clientHeight-Kn(N)-N.display.barHeight}function yi(N,F,Q){var $=N.options.lineWrapping,oe=$&&Yn(N);if(!F.measure.heights||$&&F.measure.width!=oe){var Oe=F.measure.heights=[];if($){F.measure.width=oe;for(var ft=F.text.firstChild.getClientRects(),_t=0;_t<ft.length-1;_t++){var Yt=ft[_t],er=ft[_t+1];Math.abs(Yt.bottom-er.bottom)>2&&Oe.push((Yt.bottom+er.top)/2-Q.top)}}Oe.push(Q.bottom-Q.top)}}function li(N,F,Q){if(N.line==F)return{map:N.measure.map,cache:N.measure.cache};for(var $=0;$<N.rest.length;$++)if(N.rest[$]==F)return{map:N.measure.maps[$],cache:N.measure.caches[$]};for(var oe=0;oe<N.rest.length;oe++)if(Gt(N.rest[oe])>Q)return{map:N.measure.maps[oe],cache:N.measure.caches[oe],before:!0}}function Oi(N,F){F=gn(F);var Q=Gt(F),$=N.display.externalMeasured=new Ha(N.doc,F,Q);$.lineN=Q;var oe=$.built=$n(N,$);return $.text=oe.pre,x(N.display.lineMeasure,oe.pre),$}function Bi(N,F,Q,$){return Li(N,mi(N,F),Q,$)}function Si(N,F){if(F>=N.display.viewFrom&&F<N.display.viewTo)return N.display.view[La(N,F)];var Q=N.display.externalMeasured;if(Q&&F>=Q.lineN&&F<Q.lineN+Q.size)return Q}function mi(N,F){var Q=Gt(F),$=Si(N,Q);$&&!$.text?$=null:$&&$.changes&&(nn(N,$,Q,qi(N)),N.curOp.forceUpdate=!0),$||($=Oi(N,F));var oe=li($,F,Q);return{line:F,view:$,rect:null,map:oe.map,cache:oe.cache,before:oe.before,hasHeights:!1}}function Li(N,F,Q,$,oe){F.before&&(Q=-1);var Oe=Q+($||""),ft;return F.cache.hasOwnProperty(Oe)?ft=F.cache[Oe]:(F.rect||(F.rect=F.view.text.getBoundingClientRect()),F.hasHeights||(yi(N,F.view,F.rect),F.hasHeights=!0),ft=yr(N,F,Q,$),ft.bogus||(F.cache[Oe]=ft)),{left:ft.left,right:ft.right,top:oe?ft.rtop:ft.top,bottom:oe?ft.rbottom:ft.bottom}}var Wn={left:0,right:0,top:0,bottom:0};function Ri(N,F,Q){for(var $,oe,Oe,ft,_t,Yt,er=0;er<N.length;er+=3)if(_t=N[er],Yt=N[er+1],F<_t?(oe=0,Oe=1,ft="left"):F<Yt?(oe=F-_t,Oe=oe+1):(er==N.length-3||F==Yt&&N[er+3]>F)&&(Oe=Yt-_t,oe=Oe-1,F>=Yt&&(ft="right")),oe!=null){if($=N[er+2],_t==Yt&&Q==($.insertLeft?"left":"right")&&(ft=Q),Q=="left"&&oe==0)for(;er&&N[er-2]==N[er-3]&&N[er-1].insertLeft;)$=N[(er-=3)+2],ft="left";if(Q=="right"&&oe==Yt-_t)for(;er<N.length-3&&N[er+3]==N[er+4]&&!N[er+5].insertLeft;)$=N[(er+=3)+2],ft="right";break}return{node:$,start:oe,end:Oe,collapse:ft,coverStart:_t,coverEnd:Yt}}function zi(N,F){var Q=Wn;if(F=="left")for(var $=0;$<N.length&&!((Q=N[$]).left!=Q.right);$++);else for(var oe=N.length-1;oe>=0&&!((Q=N[oe]).left!=Q.right);oe--);return Q}function yr(N,F,Q,$){var oe=Ri(F.map,Q,$),Oe=oe.node,ft=oe.start,_t=oe.end,Yt=oe.collapse,er;if(Oe.nodeType==3){for(var en=0;en<4;en++){for(;ft&&je(F.line.text.charAt(oe.coverStart+ft));)--ft;for(;oe.coverStart+_t<oe.coverEnd&&je(F.line.text.charAt(oe.coverStart+_t));)++_t;if(p&&h<9&&ft==0&&_t==oe.coverEnd-oe.coverStart?er=Oe.parentNode.getBoundingClientRect():er=zi(R(Oe,ft,_t).getClientRects(),$),er.left||er.right||ft==0)break;_t=ft,ft=ft-1,Yt="right"}p&&h<11&&(er=Mr(N.display.measure,er))}else{ft>0&&(Yt=$="right");var hn;N.options.lineWrapping&&(hn=Oe.getClientRects()).length>1?er=hn[$=="right"?hn.length-1:0]:er=Oe.getBoundingClientRect()}if(p&&h<9&&!ft&&(!er||!er.left&&!er.right)){var Rn=Oe.parentNode.getClientRects()[0];Rn?er={left:Rn.left,right:Rn.left+ra(N.display),top:Rn.top,bottom:Rn.bottom}:er=Wn}for(var kn=er.top-F.rect.top,Ai=er.bottom-F.rect.top,Ki=(kn+Ai)/2,Qi=F.view.measure.heights,Gi=0;Gi<Qi.length-1&&!(Ki<Qi[Gi]);Gi++);var Vi=Gi?Qi[Gi-1]:0,fa=Qi[Gi],ba={left:(Yt=="right"?er.right:er.left)-F.rect.left,right:(Yt=="left"?er.left:er.right)-F.rect.left,top:Vi,bottom:fa};return!er.left&&!er.right&&(ba.bogus=!0),N.options.singleCursorHeightPerLine||(ba.rtop=kn,ba.rbottom=Ai),ba}function Mr(N,F){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!ot(N))return F;var Q=screen.logicalXDPI/screen.deviceXDPI,$=screen.logicalYDPI/screen.deviceYDPI;return{left:F.left*Q,right:F.right*Q,top:F.top*$,bottom:F.bottom*$}}function Qr(N){if(N.measure&&(N.measure.cache={},N.measure.heights=null,N.rest))for(var F=0;F<N.rest.length;F++)N.measure.caches[F]={}}function _r(N){N.display.externalMeasure=null,w(N.display.lineMeasure);for(var F=0;F<N.display.view.length;F++)Qr(N.display.view[F])}function Vt(N){_r(N),N.display.cachedCharWidth=N.display.cachedTextHeight=N.display.cachedPaddingH=null,N.options.lineWrapping||(N.display.maxLineChanged=!0),N.display.lineNumChars=null}function Sr(){return s&&i?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Zt(){return s&&i?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Ur(N){var F=0;if(N.widgets)for(var Q=0;Q<N.widgets.length;++Q)N.widgets[Q].above&&(F+=Dn(N.widgets[Q]));return F}function Hr(N,F,Q,$,oe){if(!oe){var Oe=Ur(F);Q.top+=Oe,Q.bottom+=Oe}if($=="line")return Q;$||($="local");var ft=Qn(F);if($=="local"?ft+=wn(N.display):ft-=N.display.viewOffset,$=="page"||$=="window"){var _t=N.display.lineSpace.getBoundingClientRect();ft+=_t.top+($=="window"?0:Zt());var Yt=_t.left+($=="window"?0:Sr());Q.left+=Yt,Q.right+=Yt}return Q.top+=ft,Q.bottom+=ft,Q}function pn(N,F,Q){if(Q=="div")return F;var $=F.left,oe=F.top;if(Q=="page")$-=Sr(),oe-=Zt();else if(Q=="local"||!Q){var Oe=N.display.sizer.getBoundingClientRect();$+=Oe.left,oe+=Oe.top}var ft=N.display.lineSpace.getBoundingClientRect();return{left:$-ft.left,top:oe-ft.top}}function sn(N,F,Q,$,oe){return $||($=ke(N.doc,F.line)),Hr(N,$,Bi(N,$,F.ch,oe),Q)}function yn(N,F,Q,$,oe,Oe){$=$||ke(N.doc,F.line),oe||(oe=mi(N,$));function ft(Ai,Ki){var Qi=Li(N,oe,Ai,Ki?"right":"left",Oe);return Ki?Qi.left=Qi.right:Qi.right=Qi.left,Hr(N,$,Qi,Q)}var _t=ze($,N.doc.direction),Yt=F.ch,er=F.sticky;if(Yt>=$.text.length?(Yt=$.text.length,er="before"):Yt<=0&&(Yt=0,er="after"),!_t)return ft(er=="before"?Yt-1:Yt,er=="before");function en(Ai,Ki,Qi){var Gi=_t[Ki],Vi=Gi.level==1;return ft(Qi?Ai-1:Ai,Vi!=Qi)}var hn=re(_t,Yt,er),Rn=ae,kn=en(Yt,hn,er=="before");return Rn!=null&&(kn.other=en(Yt,Rn,er!="before")),kn}function Fn(N,F){var Q=0;F=At(N.doc,F),N.options.lineWrapping||(Q=ra(N.display)*F.ch);var $=ke(N.doc,F.line),oe=Qn($)+wn(N.display);return{left:Q,right:Q,top:oe,bottom:oe+$.height}}function Gn(N,F,Q,$,oe){var Oe=Ut(N,F,Q);return Oe.xRel=oe,$&&(Oe.outside=$),Oe}function Jn(N,F,Q){var $=N.doc;if(Q+=N.display.viewOffset,Q<0)return Gn($.first,0,null,-1,-1);var oe=Rr($,Q),Oe=$.first+$.size-1;if(oe>Oe)return Gn($.first+$.size-1,ke($,Oe).text.length,null,1,1);F<0&&(F=0);for(var ft=ke($,oe);;){var _t=da(N,ft,oe,F,Q),Yt=Bn(ft,_t.ch+(_t.xRel>0||_t.outside>0?1:0));if(!Yt)return _t;var er=Yt.find(1);if(er.line==oe)return er;ft=ke($,oe=er.line)}}function Ci(N,F,Q,$){$-=Ur(F);var oe=F.text.length,Oe=He(function(ft){return Li(N,Q,ft-1).bottom<=$},oe,0);return oe=He(function(ft){return Li(N,Q,ft).top>$},Oe,oe),{begin:Oe,end:oe}}function ta(N,F,Q,$){Q||(Q=mi(N,F));var oe=Hr(N,F,Li(N,Q,$),"line").top;return Ci(N,F,Q,oe)}function oa(N,F,Q,$){return N.bottom<=Q?!1:N.top>Q?!0:($?N.left:N.right)>F}function da(N,F,Q,$,oe){oe-=Qn(F);var Oe=mi(N,F),ft=Ur(F),_t=0,Yt=F.text.length,er=!0,en=ze(F,N.doc.direction);if(en){var hn=(N.options.lineWrapping?ma:ca)(N,F,Q,Oe,en,$,oe);er=hn.level!=1,_t=er?hn.from:hn.to-1,Yt=er?hn.to:hn.from-1}var Rn=null,kn=null,Ai=He(function(qa){var ka=Li(N,Oe,qa);return ka.top+=ft,ka.bottom+=ft,oa(ka,$,oe,!1)?(ka.top<=oe&&ka.left<=$&&(Rn=qa,kn=ka),!0):!1},_t,Yt),Ki,Qi,Gi=!1;if(kn){var Vi=$-kn.left<kn.right-$,fa=Vi==er;Ai=Rn+(fa?0:1),Qi=fa?"after":"before",Ki=Vi?kn.left:kn.right}else{!er&&(Ai==Yt||Ai==_t)&&Ai++,Qi=Ai==0?"after":Ai==F.text.length?"before":Li(N,Oe,Ai-(er?1:0)).bottom+ft<=oe==er?"after":"before";var ba=yn(N,Ut(Q,Ai,Qi),"line",F,Oe);Ki=ba.left,Gi=oe<ba.top?-1:oe>=ba.bottom?1:0}return Ai=et(F.text,Ai,1),Gn(Q,Ai,Qi,Gi,$-Ki)}function ca(N,F,Q,$,oe,Oe,ft){var _t=He(function(hn){var Rn=oe[hn],kn=Rn.level!=1;return oa(yn(N,Ut(Q,kn?Rn.to:Rn.from,kn?"before":"after"),"line",F,$),Oe,ft,!0)},0,oe.length-1),Yt=oe[_t];if(_t>0){var er=Yt.level!=1,en=yn(N,Ut(Q,er?Yt.from:Yt.to,er?"after":"before"),"line",F,$);oa(en,Oe,ft,!0)&&en.top>ft&&(Yt=oe[_t-1])}return Yt}function ma(N,F,Q,$,oe,Oe,ft){var _t=Ci(N,F,$,ft),Yt=_t.begin,er=_t.end;/\s/.test(F.text.charAt(er-1))&&er--;for(var en=null,hn=null,Rn=0;Rn<oe.length;Rn++){var kn=oe[Rn];if(kn.from>=er||kn.to<=Yt)continue;var Ai=kn.level!=1,Ki=Li(N,$,Ai?Math.min(er,kn.to)-1:Math.max(Yt,kn.from)).right,Qi=Ki<Oe?Oe-Ki+1e9:Ki-Oe;(!en||hn>Qi)&&(en=kn,hn=Qi)}return en||(en=oe[oe.length-1]),en.from<Yt&&(en={from:Yt,to:en.to,level:en.level}),en.to>er&&(en={from:en.from,to:er,level:en.level}),en}var Ui;function Ni(N){if(N.cachedTextHeight!=null)return N.cachedTextHeight;if(Ui==null){Ui=T("pre",null,"CodeMirror-line-like");for(var F=0;F<49;++F)Ui.appendChild(document.createTextNode("x")),Ui.appendChild(T("br"));Ui.appendChild(document.createTextNode("x"))}x(N.measure,Ui);var Q=Ui.offsetHeight/50;return Q>3&&(N.cachedTextHeight=Q),w(N.measure),Q||1}function ra(N){if(N.cachedCharWidth!=null)return N.cachedCharWidth;var F=T("span","xxxxxxxxxx"),Q=T("pre",[F],"CodeMirror-line-like");x(N.measure,Q);var $=F.getBoundingClientRect(),oe=($.right-$.left)/10;return oe>2&&(N.cachedCharWidth=oe),oe||10}function qi(N){for(var F=N.display,Q={},$={},oe=F.gutters.clientLeft,Oe=F.gutters.firstChild,ft=0;Oe;Oe=Oe.nextSibling,++ft){var _t=N.display.gutterSpecs[ft].className;Q[_t]=Oe.offsetLeft+Oe.clientLeft+oe,$[_t]=Oe.clientWidth}return{fixedPos:va(F),gutterTotalWidth:F.gutters.offsetWidth,gutterLeft:Q,gutterWidth:$,wrapperWidth:F.wrapper.clientWidth}}function va(N){return N.scroller.getBoundingClientRect().left-N.sizer.getBoundingClientRect().left}function Oa(N){var F=Ni(N.display),Q=N.options.lineWrapping,$=Q&&Math.max(5,N.display.scroller.clientWidth/ra(N.display)-3);return function(oe){if(qn(N.doc,oe))return 0;var Oe=0;if(oe.widgets)for(var ft=0;ft<oe.widgets.length;ft++)oe.widgets[ft].height&&(Oe+=oe.widgets[ft].height);return Q?Oe+(Math.ceil(oe.text.length/$)||1)*F:Oe+F}}function Zi(N){var F=N.doc,Q=Oa(N);F.iter(function($){var oe=Q($);oe!=$.height&&Bt($,oe)})}function Xi(N,F,Q,$){var oe=N.display;if(!Q&&Ve(F).getAttribute("cm-not-content")=="true")return null;var Oe,ft,_t=oe.lineSpace.getBoundingClientRect();try{Oe=F.clientX-_t.left,ft=F.clientY-_t.top}catch(hn){return null}var Yt=Jn(N,Oe,ft),er;if($&&Yt.xRel>0&&(er=ke(N.doc,Yt.line).text).length==Yt.ch){var en=H(er,er.length,N.options.tabSize)-er.length;Yt=Ut(Yt.line,Math.max(0,Math.round((Oe-Tn(N.display).left)/ra(N.display))-en))}return Yt}function La(N,F){if(F>=N.display.viewTo)return null;if(F-=N.display.viewFrom,F<0)return null;for(var Q=N.display.view,$=0;$<Q.length;$++)if(F-=Q[$].size,F<0)return $}function Aa(N,F,Q,$){F==null&&(F=N.doc.first),Q==null&&(Q=N.doc.first+N.doc.size),$||($=0);var oe=N.display;if($&&Q<oe.viewTo&&(oe.updateLineNumbers==null||oe.updateLineNumbers>F)&&(oe.updateLineNumbers=F),N.curOp.viewChanged=!0,F>=oe.viewTo)Fe&&tn(N.doc,F)<oe.viewTo&&Sa(N);else if(Q<=oe.viewFrom)Fe&&ui(N.doc,Q+$)>oe.viewFrom?Sa(N):(oe.viewFrom+=$,oe.viewTo+=$);else if(F<=oe.viewFrom&&Q>=oe.viewTo)Sa(N);else if(F<=oe.viewFrom){var Oe=Ra(N,Q,Q+$,1);Oe?(oe.view=oe.view.slice(Oe.index),oe.viewFrom=Oe.lineN,oe.viewTo+=$):Sa(N)}else if(Q>=oe.viewTo){var ft=Ra(N,F,F,-1);ft?(oe.view=oe.view.slice(0,ft.index),oe.viewTo=ft.lineN):Sa(N)}else{var _t=Ra(N,F,F,-1),Yt=Ra(N,Q,Q+$,1);_t&&Yt?(oe.view=oe.view.slice(0,_t.index).concat(pi(N,_t.lineN,Yt.lineN)).concat(oe.view.slice(Yt.index)),oe.viewTo+=$):Sa(N)}var er=oe.externalMeasured;er&&(Q<er.lineN?er.lineN+=$:F<er.lineN+er.size&&(oe.externalMeasured=null))}function Ti(N,F,Q){N.curOp.viewChanged=!0;var $=N.display,oe=N.display.externalMeasured;if(oe&&F>=oe.lineN&&F<oe.lineN+oe.size&&($.externalMeasured=null),F<$.viewFrom||F>=$.viewTo)return;var Oe=$.view[La(N,F)];if(Oe.node==null)return;var ft=Oe.changes||(Oe.changes=[]);W(ft,Q)==-1&&ft.push(Q)}function Sa(N){N.display.viewFrom=N.display.viewTo=N.doc.first,N.display.view=[],N.display.viewOffset=0}function Ra(N,F,Q,$){var oe=La(N,F),Oe,ft=N.display.view;if(!Fe||Q==N.doc.first+N.doc.size)return{index:oe,lineN:Q};for(var _t=N.display.viewFrom,Yt=0;Yt<oe;Yt++)_t+=ft[Yt].size;if(_t!=F){if($>0){if(oe==ft.length-1)return null;Oe=_t+ft[oe].size-F,oe++}else Oe=_t-F;F+=Oe,Q+=Oe}for(;tn(N.doc,Q)!=Q;){if(oe==($<0?0:ft.length-1))return null;Q+=$*ft[oe-($<0?1:0)].size,oe+=$}return{index:oe,lineN:Q}}function Na(N,F,Q){var $=N.display,oe=$.view;oe.length==0||F>=$.viewTo||Q<=$.viewFrom?($.view=pi(N,F,Q),$.viewFrom=F):($.viewFrom>F?$.view=pi(N,F,$.viewFrom).concat($.view):$.viewFrom<F&&($.view=$.view.slice(La(N,F))),$.viewFrom=F,$.viewTo<Q?$.view=$.view.concat(pi(N,$.viewTo,Q)):$.viewTo>Q&&($.view=$.view.slice(0,La(N,Q)))),$.viewTo=Q}function Ua(N){for(var F=N.display.view,Q=0,$=0;$<F.length;$++){var oe=F[$];!oe.hidden&&(!oe.node||oe.changes)&&++Q}return Q}function Pa(N){N.display.input.showSelection(N.display.input.prepareSelection())}function za(N,F){F===void 0&&(F=!0);for(var Q=N.doc,$={},oe=$.cursors=document.createDocumentFragment(),Oe=$.selection=document.createDocumentFragment(),ft=0;ft<Q.sel.ranges.length;ft++){if(!F&&ft==Q.sel.primIndex)continue;var _t=Q.sel.ranges[ft];if(_t.from().line>=N.display.viewTo||_t.to().line<N.display.viewFrom)continue;var Yt=_t.empty();(Yt||N.options.showCursorWhenSelecting)&&xa(N,_t.head,oe),Yt||io(N,_t,Oe)}return $}function xa(N,F,Q){var $=yn(N,F,"div",null,null,!N.options.singleCursorHeightPerLine),oe=Q.appendChild(T("div","\xA0","CodeMirror-cursor"));if(oe.style.left=$.left+"px",oe.style.top=$.top+"px",oe.style.height=Math.max(0,$.bottom-$.top)*N.options.cursorHeight+"px",$.other){var Oe=Q.appendChild(T("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Oe.style.display="",Oe.style.left=$.other.left+"px",Oe.style.top=$.other.top+"px",Oe.style.height=($.other.bottom-$.other.top)*.85+"px"}}function ja(N,F){return N.top-F.top||N.left-F.left}function io(N,F,Q){var $=N.display,oe=N.doc,Oe=document.createDocumentFragment(),ft=Tn(N.display),_t=ft.left,Yt=Math.max($.sizerWidth,Yn(N)-$.sizer.offsetLeft)-ft.right,er=oe.direction=="ltr";function en(fa,ba,qa,ka){ba<0&&(ba=0),ba=Math.round(ba),ka=Math.round(ka),Oe.appendChild(T("div",null,"CodeMirror-selected","position: absolute; left: "+fa+`px;
top: `+ba+"px; width: "+(qa==null?Yt-fa:qa)+`px;
height: `+(ka-ba)+"px"))}function hn(fa,ba,qa){var ka=ke(oe,fa),Eo=ka.text.length,Wo,cs;function $o(Cs,Js){return sn(N,Ut(fa,Cs),"div",ka,Js)}function Ms(Cs,Js,Bs){var aa=ta(N,ka,null,Cs),os=Js=="ltr"==(Bs=="after")?"left":"right",rs=Bs=="after"?aa.begin:aa.end-(/\s/.test(ka.text.charAt(aa.end-1))?2:1);return $o(rs,os)[os]}var Qs=ze(ka,oe.direction);return pe(Qs,ba||0,qa==null?Eo:qa,function(Cs,Js,Bs,aa){var os=Bs=="ltr",rs=$o(Cs,os?"left":"right"),vs=$o(Js-1,os?"right":"left"),vc=ba==null&&Cs==0,No=qa==null&&Js==Eo,vo=aa==0,ml=!Qs||aa==Qs.length-1;if(vs.top-rs.top<=3){var Xs=(er?vc:No)&&vo,yc=(er?No:vc)&&ml,Rl=Xs?_t:(os?rs:vs).left,gl=yc?Yt:(os?vs:rs).right;en(Rl,rs.top,gl-Rl,rs.bottom)}else{var Gl,rl,Dl,Mc;os?(Gl=er&&vc&&vo?_t:rs.left,rl=er?Yt:Ms(Cs,Bs,"before"),Dl=er?_t:Ms(Js,Bs,"after"),Mc=er&&No&&ml?Yt:vs.right):(Gl=er?Ms(Cs,Bs,"before"):_t,rl=!er&&vc&&vo?Yt:rs.right,Dl=!er&&No&&ml?_t:vs.left,Mc=er?Ms(Js,Bs,"after"):Yt),en(Gl,rs.top,rl-Gl,rs.bottom),rs.bottom<vs.top&&en(_t,rs.bottom,null,vs.top),en(Dl,vs.top,Mc-Dl,vs.bottom)}(!Wo||ja(rs,Wo)<0)&&(Wo=rs),ja(vs,Wo)<0&&(Wo=vs),(!cs||ja(rs,cs)<0)&&(cs=rs),ja(vs,cs)<0&&(cs=vs)}),{start:Wo,end:cs}}var Rn=F.from(),kn=F.to();if(Rn.line==kn.line)hn(Rn.line,Rn.ch,kn.ch);else{var Ai=ke(oe,Rn.line),Ki=ke(oe,kn.line),Qi=gn(Ai)==gn(Ki),Gi=hn(Rn.line,Rn.ch,Qi?Ai.text.length+1:null).end,Vi=hn(kn.line,Qi?0:null,kn.ch).start;Qi&&(Gi.top<Vi.top-2?(en(Gi.right,Gi.top,null,Gi.bottom),en(_t,Vi.top,Vi.left,Vi.bottom)):en(Gi.right,Gi.top,Vi.left-Gi.right,Gi.bottom)),Gi.bottom<Vi.top&&en(_t,Gi.bottom,null,Vi.top)}Q.appendChild(Oe)}function ia(N){if(!N.state.focused)return;var F=N.display;clearInterval(F.blinker);var Q=!0;F.cursorDiv.style.visibility="",N.options.cursorBlinkRate>0?F.blinker=setInterval(function(){N.hasFocus()||Qa(N),F.cursorDiv.style.visibility=(Q=!Q)?"":"hidden"},N.options.cursorBlinkRate):N.options.cursorBlinkRate<0&&(F.cursorDiv.style.visibility="hidden")}function lo(N){N.state.focused||(N.display.input.focus(),Ca(N))}function Ga(N){N.state.delayingBlurEvent=!0,setTimeout(function(){N.state.delayingBlurEvent&&(N.state.delayingBlurEvent=!1,Qa(N))},100)}function Ca(N,F){if(N.state.delayingBlurEvent&&(N.state.delayingBlurEvent=!1),N.options.readOnly=="nocursor")return;N.state.focused||(bt(N,"focus",N,F),N.state.focused=!0,U(N.display.wrapper,"CodeMirror-focused"),!N.curOp&&N.display.selForContextMenu!=N.doc.sel&&(N.display.input.reset(),o&&setTimeout(function(){return N.display.input.reset(!0)},20)),N.display.input.receivedFocus()),ia(N)}function Qa(N,F){if(N.state.delayingBlurEvent)return;N.state.focused&&(bt(N,"blur",N,F),N.state.focused=!1,y(N.display.wrapper,"CodeMirror-focused")),clearInterval(N.display.blinker),setTimeout(function(){N.state.focused||(N.display.shift=!1)},150)}function Da(N){for(var F=N.display,Q=F.lineDiv.offsetTop,$=0;$<F.view.length;$++){var oe=F.view[$],Oe=N.options.lineWrapping,ft=void 0,_t=0;if(oe.hidden)continue;if(p&&h<8){var Yt=oe.node.offsetTop+oe.node.offsetHeight;ft=Yt-Q,Q=Yt}else{var er=oe.node.getBoundingClientRect();ft=er.bottom-er.top,!Oe&&oe.text.firstChild&&(_t=oe.text.firstChild.getBoundingClientRect().right-er.left-1)}var en=oe.line.height-ft;if((en>.005||en<-.005)&&(Bt(oe.line,ft),Ia(oe.line),oe.rest))for(var hn=0;hn<oe.rest.length;hn++)Ia(oe.rest[hn]);if(_t>N.display.sizerWidth){var Rn=Math.ceil(_t/ra(N.display));Rn>N.display.maxLineLength&&(N.display.maxLineLength=Rn,N.display.maxLine=oe.line,N.display.maxLineChanged=!0)}}}function Ia(N){if(N.widgets)for(var F=0;F<N.widgets.length;++F){var Q=N.widgets[F],$=Q.node.parentNode;$&&(Q.height=$.offsetHeight)}}function yo(N,F,Q){var $=Q&&Q.top!=null?Math.max(0,Q.top):N.scroller.scrollTop;$=Math.floor($-wn(N));var oe=Q&&Q.bottom!=null?Q.bottom:$+N.wrapper.clientHeight,Oe=Rr(F,$),ft=Rr(F,oe);if(Q&&Q.ensure){var _t=Q.ensure.from.line,Yt=Q.ensure.to.line;_t<Oe?(Oe=_t,ft=Rr(F,Qn(ke(F,_t))+N.wrapper.clientHeight)):Math.min(Yt,F.lastLine())>=ft&&(Oe=Rr(F,Qn(ke(F,Yt))-N.wrapper.clientHeight),ft=Yt)}return{from:Oe,to:Math.max(ft,Oe+1)}}function ao(N,F){if(wt(N,"scrollCursorIntoView"))return;var Q=N.display,$=Q.sizer.getBoundingClientRect(),oe=null;if(F.top+$.top<0?oe=!0:F.bottom+$.top>(window.innerHeight||document.documentElement.clientHeight)&&(oe=!1),oe!=null&&!e){var Oe=T("div","\u200B",null,`position: absolute;
top: `+(F.top-Q.viewOffset-wn(N.display))+`px;
height: `+(F.bottom-F.top+Kn(N)+Q.barHeight)+`px;
left: `+F.left+"px; width: "+Math.max(2,F.right-F.left)+"px;");N.display.lineSpace.appendChild(Oe),Oe.scrollIntoView(oe),N.display.lineSpace.removeChild(Oe)}}function bo(N,F,Q,$){$==null&&($=0);var oe;!N.options.lineWrapping&&F==Q&&(F=F.ch?Ut(F.line,F.sticky=="before"?F.ch-1:F.ch,"after"):F,Q=F.sticky=="before"?Ut(F.line,F.ch+1,"before"):F);for(var Oe=0;Oe<5;Oe++){var ft=!1,_t=yn(N,F),Yt=!Q||Q==F?_t:yn(N,Q);oe={left:Math.min(_t.left,Yt.left),top:Math.min(_t.top,Yt.top)-$,right:Math.max(_t.left,Yt.left),bottom:Math.max(_t.bottom,Yt.bottom)+$};var er=uo(N,oe),en=N.doc.scrollTop,hn=N.doc.scrollLeft;if(er.scrollTop!=null&&(Ma(N,er.scrollTop),Math.abs(N.doc.scrollTop-en)>1&&(ft=!0)),er.scrollLeft!=null&&(jo(N,er.scrollLeft),Math.abs(N.doc.scrollLeft-hn)>1&&(ft=!0)),!ft)break}return oe}function co(N,F){var Q=uo(N,F);Q.scrollTop!=null&&Ma(N,Q.scrollTop),Q.scrollLeft!=null&&jo(N,Q.scrollLeft)}function uo(N,F){var Q=N.display,$=Ni(N.display);F.top<0&&(F.top=0);var oe=N.curOp&&N.curOp.scrollTop!=null?N.curOp.scrollTop:Q.scroller.scrollTop,Oe=ni(N),ft={};F.bottom-F.top>Oe&&(F.bottom=F.top+Oe);var _t=N.doc.height+In(Q),Yt=F.top<$,er=F.bottom>_t-$;if(F.top<oe)ft.scrollTop=Yt?0:F.top;else if(F.bottom>oe+Oe){var en=Math.min(F.top,(er?_t:F.bottom)-Oe);en!=oe&&(ft.scrollTop=en)}var hn=N.options.fixedGutter?0:Q.gutters.offsetWidth,Rn=N.curOp&&N.curOp.scrollLeft!=null?N.curOp.scrollLeft:Q.scroller.scrollLeft-hn,kn=Yn(N)-Q.gutters.offsetWidth,Ai=F.right-F.left>kn;return Ai&&(F.right=F.left+kn),F.left<10?ft.scrollLeft=0:F.left<Rn?ft.scrollLeft=Math.max(0,F.left+hn-(Ai?0:10)):F.right>kn+Rn-3&&(ft.scrollLeft=F.right+(Ai?0:10)-kn),ft}function Ya(N,F){if(F==null)return;fo(N),N.curOp.scrollTop=(N.curOp.scrollTop==null?N.doc.scrollTop:N.curOp.scrollTop)+F}function eo(N){fo(N);var F=N.getCursor();N.curOp.scrollToPos={from:F,to:F,margin:N.options.cursorScrollMargin}}function wa(N,F,Q){(F!=null||Q!=null)&&fo(N),F!=null&&(N.curOp.scrollLeft=F),Q!=null&&(N.curOp.scrollTop=Q)}function ro(N,F){fo(N),N.curOp.scrollToPos=F}function fo(N){var F=N.curOp.scrollToPos;if(F){N.curOp.scrollToPos=null;var Q=Fn(N,F.from),$=Fn(N,F.to);ki(N,Q,$,F.margin)}}function ki(N,F,Q,$){var oe=uo(N,{left:Math.min(F.left,Q.left),top:Math.min(F.top,Q.top)-$,right:Math.max(F.right,Q.right),bottom:Math.max(F.bottom,Q.bottom)+$});wa(N,oe.scrollLeft,oe.scrollTop)}function Ma(N,F){if(Math.abs(N.doc.scrollTop-F)<2)return;I||Fo(N,{top:F}),Ro(N,F,!0),I&&Fo(N),ko(N,100)}function Ro(N,F,Q){if(F=Math.max(0,Math.min(N.display.scroller.scrollHeight-N.display.scroller.clientHeight,F)),N.display.scroller.scrollTop==F&&!Q)return;N.doc.scrollTop=F,N.display.scrollbars.setScrollTop(F),N.display.scroller.scrollTop!=F&&(N.display.scroller.scrollTop=F)}function jo(N,F,Q,$){if(F=Math.max(0,Math.min(F,N.display.scroller.scrollWidth-N.display.scroller.clientWidth)),(Q?F==N.doc.scrollLeft:Math.abs(N.doc.scrollLeft-F)<2)&&!$)return;N.doc.scrollLeft=F,_s(N),N.display.scroller.scrollLeft!=F&&(N.display.scroller.scrollLeft=F),N.display.scrollbars.setScrollLeft(F)}function Vo(N){var F=N.display,Q=F.gutters.offsetWidth,$=Math.round(N.doc.height+In(N.display));return{clientHeight:F.scroller.clientHeight,viewHeight:F.wrapper.clientHeight,scrollWidth:F.scroller.scrollWidth,clientWidth:F.scroller.clientWidth,viewWidth:F.wrapper.clientWidth,barLeft:N.options.fixedGutter?Q:0,docHeight:$,scrollHeight:$+Kn(N)+F.barHeight,nativeBarWidth:F.nativeBarWidth,gutterWidth:Q}}var Xo=function(F,Q,$){this.cm=$;var oe=this.vert=T("div",[T("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),Oe=this.horiz=T("div",[T("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");oe.tabIndex=Oe.tabIndex=-1,F(oe),F(Oe),Te(oe,"scroll",function(){oe.clientHeight&&Q(oe.scrollTop,"vertical")}),Te(Oe,"scroll",function(){Oe.clientWidth&&Q(Oe.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,p&&h<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Xo.prototype.update=function(N){var F=N.scrollWidth>N.clientWidth+1,Q=N.scrollHeight>N.clientHeight+1,$=N.nativeBarWidth;if(Q){this.vert.style.display="block",this.vert.style.bottom=F?$+"px":"0";var oe=N.viewHeight-(F?$:0);this.vert.firstChild.style.height=Math.max(0,N.scrollHeight-N.clientHeight+oe)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(F){this.horiz.style.display="block",this.horiz.style.right=Q?$+"px":"0",this.horiz.style.left=N.barLeft+"px";var Oe=N.viewWidth-N.barLeft-(Q?$:0);this.horiz.firstChild.style.width=Math.max(0,N.scrollWidth-N.clientWidth+Oe)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&N.clientHeight>0&&($==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:Q?$:0,bottom:F?$:0}},Xo.prototype.setScrollLeft=function(N){this.horiz.scrollLeft!=N&&(this.horiz.scrollLeft=N),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Xo.prototype.setScrollTop=function(N){this.vert.scrollTop!=N&&(this.vert.scrollTop=N),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Xo.prototype.zeroWidthHack=function(){var N=f&&!c?"12px":"18px";this.horiz.style.height=this.vert.style.width=N,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new K,this.disableVert=new K},Xo.prototype.enableZeroWidthBar=function(N,F,Q){N.style.pointerEvents="auto";function $(){var oe=N.getBoundingClientRect(),Oe=Q=="vert"?document.elementFromPoint(oe.right-1,(oe.top+oe.bottom)/2):document.elementFromPoint((oe.right+oe.left)/2,oe.bottom-1);Oe!=N?N.style.pointerEvents="none":F.set(1e3,$)}F.set(1e3,$)},Xo.prototype.clear=function(){var N=this.horiz.parentNode;N.removeChild(this.horiz),N.removeChild(this.vert)};var wo=function(){};wo.prototype.update=function(){return{bottom:0,right:0}},wo.prototype.setScrollLeft=function(){},wo.prototype.setScrollTop=function(){},wo.prototype.clear=function(){};function _a(N,F){F||(F=Vo(N));var Q=N.display.barWidth,$=N.display.barHeight;Po(N,F);for(var oe=0;oe<4&&Q!=N.display.barWidth||$!=N.display.barHeight;oe++)Q!=N.display.barWidth&&N.options.lineWrapping&&Da(N),Po(N,Vo(N)),Q=N.display.barWidth,$=N.display.barHeight}function Po(N,F){var Q=N.display,$=Q.scrollbars.update(F);Q.sizer.style.paddingRight=(Q.barWidth=$.right)+"px",Q.sizer.style.paddingBottom=(Q.barHeight=$.bottom)+"px",Q.heightForcer.style.borderBottom=$.bottom+"px solid transparent",$.right&&$.bottom?(Q.scrollbarFiller.style.display="block",Q.scrollbarFiller.style.height=$.bottom+"px",Q.scrollbarFiller.style.width=$.right+"px"):Q.scrollbarFiller.style.display="",$.bottom&&N.options.coverGutterNextToScrollbar&&N.options.fixedGutter?(Q.gutterFiller.style.display="block",Q.gutterFiller.style.height=$.bottom+"px",Q.gutterFiller.style.width=F.gutterWidth+"px"):Q.gutterFiller.style.display=""}var ds={native:Xo,null:wo};function ho(N){N.display.scrollbars&&(N.display.scrollbars.clear(),N.display.scrollbars.addClass&&y(N.display.wrapper,N.display.scrollbars.addClass)),N.display.scrollbars=new ds[N.options.scrollbarStyle](function(F){N.display.wrapper.insertBefore(F,N.display.scrollbarFiller),Te(F,"mousedown",function(){N.state.focused&&setTimeout(function(){return N.display.input.focus()},0)}),F.setAttribute("cm-not-content","true")},function(F,Q){Q=="horizontal"?jo(N,F):Ma(N,F)},N),N.display.scrollbars.addClass&&U(N.display.wrapper,N.display.scrollbars.addClass)}var Oo=0;function Ka(N){N.curOp={cm:N,viewChanged:!1,startHeight:N.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:++Oo},Ii(N.curOp)}function Go(N){var F=N.curOp;F&&Fi(F,function(Q){for(var $=0;$<Q.ops.length;$++)Q.ops[$].cm.curOp=null;nl(Q)})}function nl(N){for(var F=N.ops,Q=0;Q<F.length;Q++)Ts(F[Q]);for(var $=0;$<F.length;$++)Is(F[$]);for(var oe=0;oe<F.length;oe++)xs(F[oe]);for(var Oe=0;Oe<F.length;Oe++)ps(F[Oe]);for(var ft=0;ft<F.length;ft++)Os(F[ft])}function Ts(N){var F=N.cm,Q=F.display;il(F),N.updateMaxLine&&ri(F),N.mustUpdate=N.viewChanged||N.forceUpdate||N.scrollTop!=null||N.scrollToPos&&(N.scrollToPos.from.line<Q.viewFrom||N.scrollToPos.to.line>=Q.viewTo)||Q.maxLineChanged&&F.options.lineWrapping,N.update=N.mustUpdate&&new Yo(F,N.mustUpdate&&{top:N.scrollTop,ensure:N.scrollToPos},N.forceUpdate)}function Is(N){N.updatedDisplay=N.mustUpdate&&no(N.cm,N.update)}function xs(N){var F=N.cm,Q=F.display;N.updatedDisplay&&Da(F),N.barMeasure=Vo(F),Q.maxLineChanged&&!F.options.lineWrapping&&(N.adjustWidthTo=Bi(F,Q.maxLine,Q.maxLine.text.length).left+3,F.display.sizerWidth=N.adjustWidthTo,N.barMeasure.scrollWidth=Math.max(Q.scroller.clientWidth,Q.sizer.offsetLeft+N.adjustWidthTo+Kn(F)+F.display.barWidth),N.maxScrollLeft=Math.max(0,Q.sizer.offsetLeft+N.adjustWidthTo-Yn(F))),(N.updatedDisplay||N.selectionChanged)&&(N.preparedSelection=Q.input.prepareSelection())}function ps(N){var F=N.cm;N.adjustWidthTo!=null&&(F.display.sizer.style.minWidth=N.adjustWidthTo+"px",N.maxScrollLeft<F.doc.scrollLeft&&jo(F,Math.min(F.display.scroller.scrollLeft,N.maxScrollLeft),!0),F.display.maxLineChanged=!1);var Q=N.focus&&N.focus==k();N.preparedSelection&&F.display.input.showSelection(N.preparedSelection,Q),(N.updatedDisplay||N.startHeight!=F.doc.height)&&_a(F,N.barMeasure),N.updatedDisplay&&ms(F,N.barMeasure),N.selectionChanged&&ia(F),F.state.focused&&N.updateInput&&F.display.input.reset(N.typing),Q&&lo(N.cm)}function Os(N){var F=N.cm,Q=F.display,$=F.doc;if(N.updatedDisplay&&Ao(F,N.update),Q.wheelStartX!=null&&(N.scrollTop!=null||N.scrollLeft!=null||N.scrollToPos)&&(Q.wheelStartX=Q.wheelStartY=null),N.scrollTop!=null&&Ro(F,N.scrollTop,N.forceScroll),N.scrollLeft!=null&&jo(F,N.scrollLeft,!0,!0),N.scrollToPos){var oe=bo(F,At($,N.scrollToPos.from),At($,N.scrollToPos.to),N.scrollToPos.margin);ao(F,oe)}var Oe=N.maybeHiddenMarkers,ft=N.maybeUnhiddenMarkers;if(Oe)for(var _t=0;_t<Oe.length;++_t)Oe[_t].lines.length||bt(Oe[_t],"hide");if(ft)for(var Yt=0;Yt<ft.length;++Yt)ft[Yt].lines.length&&bt(ft[Yt],"unhide");Q.wrapper.offsetHeight&&($.scrollTop=F.display.scroller.scrollTop),N.changeObjs&&bt(F,"changes",F,N.changeObjs),N.update&&N.update.finish()}function Ho(N,F){if(N.curOp)return F();Ka(N);try{return F()}finally{Go(N)}}function mo(N,F){return function(){if(N.curOp)return F.apply(N,arguments);Ka(N);try{return F.apply(N,arguments)}finally{Go(N)}}}function es(N){return function(){if(this.curOp)return N.apply(this,arguments);Ka(this);try{return N.apply(this,arguments)}finally{Go(this)}}}function Ko(N){return function(){var F=this.cm;if(!F||F.curOp)return N.apply(this,arguments);Ka(F);try{return N.apply(this,arguments)}finally{Go(F)}}}function ko(N,F){N.doc.highlightFrontier<N.display.viewTo&&N.state.highlight.set(F,B(zr,N))}function zr(N){var F=N.doc;if(F.highlightFrontier>=N.display.viewTo)return;var Q=+new Date+N.options.workTime,$=_n(N,F.highlightFrontier),oe=[];F.iter($.line,Math.min(F.first+F.size,N.display.viewTo+500),function(Oe){if($.line>=N.display.viewFrom){var ft=Oe.styles,_t=Oe.text.length>N.options.maxHighlightLength?$e(F.mode,$.state):null,Yt=Yr(N,Oe,$,!0);_t&&($.state=_t),Oe.styles=Yt.styles;var er=Oe.styleClasses,en=Yt.classes;en?Oe.styleClasses=en:er&&(Oe.styleClasses=null);for(var hn=!ft||ft.length!=Oe.styles.length||er!=en&&(!er||!en||er.bgClass!=en.bgClass||er.textClass!=en.textClass),Rn=0;!hn&&Rn<ft.length;++Rn)hn=ft[Rn]!=Oe.styles[Rn];hn&&oe.push($.line),Oe.stateAfter=$.save(),$.nextLine()}else Oe.text.length<=N.options.maxHighlightLength&&Nn(N,Oe.text,$),Oe.stateAfter=$.line%5==0?$.save():null,$.nextLine();if(+new Date>Q)return ko(N,N.options.workDelay),!0}),F.highlightFrontier=$.line,F.modeFrontier=Math.max(F.modeFrontier,$.line),oe.length&&Ho(N,function(){for(var Oe=0;Oe<oe.length;Oe++)Ti(N,oe[Oe],"text")})}var Yo=function(F,Q,$){var oe=F.display;this.viewport=Q,this.visible=yo(oe,F.doc,Q),this.editorIsHidden=!oe.wrapper.offsetWidth,this.wrapperHeight=oe.wrapper.clientHeight,this.wrapperWidth=oe.wrapper.clientWidth,this.oldDisplayWidth=Yn(F),this.force=$,this.dims=qi(F),this.events=[]};Yo.prototype.signal=function(N,F){xt(N,F)&&this.events.push(arguments)},Yo.prototype.finish=function(){for(var N=0;N<this.events.length;N++)bt.apply(null,this.events[N])};function il(N){var F=N.display;!F.scrollbarsClipped&&F.scroller.offsetWidth&&(F.nativeBarWidth=F.scroller.offsetWidth-F.scroller.clientWidth,F.heightForcer.style.height=Kn(N)+"px",F.sizer.style.marginBottom=-F.nativeBarWidth+"px",F.sizer.style.borderRightWidth=Kn(N)+"px",F.scrollbarsClipped=!0)}function Ks(N){if(N.hasFocus())return null;var F=k();if(!F||!P(N.display.lineDiv,F))return null;var Q={activeElt:F};if(window.getSelection){var $=window.getSelection();$.anchorNode&&$.extend&&P(N.display.lineDiv,$.anchorNode)&&(Q.anchorNode=$.anchorNode,Q.anchorOffset=$.anchorOffset,Q.focusNode=$.focusNode,Q.focusOffset=$.focusOffset)}return Q}function Ps(N){if(!N||!N.activeElt||N.activeElt==k())return;if(N.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(N.activeElt.nodeName)&&N.anchorNode&&P(document.body,N.anchorNode)&&P(document.body,N.focusNode)){var F=window.getSelection(),Q=document.createRange();Q.setEnd(N.anchorNode,N.anchorOffset),Q.collapse(!1),F.removeAllRanges(),F.addRange(Q),F.extend(N.focusNode,N.focusOffset)}}function no(N,F){var Q=N.display,$=N.doc;if(F.editorIsHidden)return Sa(N),!1;if(!F.force&&F.visible.from>=Q.viewFrom&&F.visible.to<=Q.viewTo&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo)&&Q.renderedView==Q.view&&Ua(N)==0)return!1;ol(N)&&(Sa(N),F.dims=qi(N));var oe=$.first+$.size,Oe=Math.max(F.visible.from-N.options.viewportMargin,$.first),ft=Math.min(oe,F.visible.to+N.options.viewportMargin);Q.viewFrom<Oe&&Oe-Q.viewFrom<20&&(Oe=Math.max($.first,Q.viewFrom)),Q.viewTo>ft&&Q.viewTo-ft<20&&(ft=Math.min(oe,Q.viewTo)),Fe&&(Oe=tn(N.doc,Oe),ft=ui(N.doc,ft));var _t=Oe!=Q.viewFrom||ft!=Q.viewTo||Q.lastWrapHeight!=F.wrapperHeight||Q.lastWrapWidth!=F.wrapperWidth;Na(N,Oe,ft),Q.viewOffset=Qn(ke(N.doc,Q.viewFrom)),N.display.mover.style.top=Q.viewOffset+"px";var Yt=Ua(N);if(!_t&&Yt==0&&!F.force&&Q.renderedView==Q.view&&(Q.updateLineNumbers==null||Q.updateLineNumbers>=Q.viewTo))return!1;var er=Ks(N);return Yt>4&&(Q.lineDiv.style.display="none"),ns(N,Q.updateLineNumbers,F.dims),Yt>4&&(Q.lineDiv.style.display=""),Q.renderedView=Q.view,Ps(er),w(Q.cursorDiv),w(Q.selectionDiv),Q.gutters.style.height=Q.sizer.style.minHeight=0,_t&&(Q.lastWrapHeight=F.wrapperHeight,Q.lastWrapWidth=F.wrapperWidth,ko(N,400)),Q.updateLineNumbers=null,!0}function Ao(N,F){for(var Q=F.viewport,$=!0;;$=!1){if(!$||!N.options.lineWrapping||F.oldDisplayWidth==Yn(N)){if(Q&&Q.top!=null&&(Q={top:Math.min(N.doc.height+In(N.display)-ni(N),Q.top)}),F.visible=yo(N.display,N.doc,Q),F.visible.from>=N.display.viewFrom&&F.visible.to<=N.display.viewTo)break}else $&&(F.visible=yo(N.display,N.doc,Q));if(!no(N,F))break;Da(N);var oe=Vo(N);Pa(N),_a(N,oe),ms(N,oe),F.force=!1}F.signal(N,"update",N),(N.display.viewFrom!=N.display.reportedViewFrom||N.display.viewTo!=N.display.reportedViewTo)&&(F.signal(N,"viewportChange",N,N.display.viewFrom,N.display.viewTo),N.display.reportedViewFrom=N.display.viewFrom,N.display.reportedViewTo=N.display.viewTo)}function Fo(N,F){var Q=new Yo(N,F);if(no(N,Q)){Da(N),Ao(N,Q);var $=Vo(N);Pa(N),_a(N,$),ms(N,$),Q.finish()}}function ns(N,F,Q){var $=N.display,oe=N.options.lineNumbers,Oe=$.lineDiv,ft=Oe.firstChild;function _t(Ai){var Ki=Ai.nextSibling;return o&&f&&N.display.currentWheelTarget==Ai?Ai.style.display="none":Ai.parentNode.removeChild(Ai),Ki}for(var Yt=$.view,er=$.viewFrom,en=0;en<Yt.length;en++){var hn=Yt[en];if(!hn.hidden)if(!hn.node||hn.node.parentNode!=Oe){var Rn=Wr(N,hn,er,Q);Oe.insertBefore(Rn,ft)}else{for(;ft!=hn.node;)ft=_t(ft);var kn=oe&&F!=null&&F<=er&&hn.lineNumber;hn.changes&&(W(hn.changes,"gutter")>-1&&(kn=!1),nn(N,hn,er,Q)),kn&&(w(hn.lineNumber),hn.lineNumber.appendChild(document.createTextNode(cn(N.options,er)))),ft=hn.node.nextSibling}er+=hn.size}for(;ft;)ft=_t(ft)}function ys(N){var F=N.gutters.offsetWidth;N.sizer.style.marginLeft=F+"px"}function ms(N,F){N.display.sizer.style.minHeight=F.docHeight+"px",N.display.heightForcer.style.top=F.docHeight+"px",N.display.gutters.style.height=F.docHeight+N.display.barHeight+Kn(N)+"px"}function _s(N){var F=N.display,Q=F.view;if(!F.alignWidgets&&(!F.gutters.firstChild||!N.options.fixedGutter))return;for(var $=va(F)-F.scroller.scrollLeft+N.doc.scrollLeft,oe=F.gutters.offsetWidth,Oe=$+"px",ft=0;ft<Q.length;ft++)if(!Q[ft].hidden){N.options.fixedGutter&&(Q[ft].gutter&&(Q[ft].gutter.style.left=Oe),Q[ft].gutterBackground&&(Q[ft].gutterBackground.style.left=Oe));var _t=Q[ft].alignable;if(_t)for(var Yt=0;Yt<_t.length;Yt++)_t[Yt].style.left=Oe}N.options.fixedGutter&&(F.gutters.style.left=$+oe+"px")}function ol(N){if(!N.options.lineNumbers)return!1;var F=N.doc,Q=cn(N.options,F.first+F.size-1),$=N.display;if(Q.length!=$.lineNumChars){var oe=$.measure.appendChild(T("div",[T("div",Q)],"CodeMirror-linenumber CodeMirror-gutter-elt")),Oe=oe.firstChild.offsetWidth,ft=oe.offsetWidth-Oe;return $.lineGutter.style.width="",$.lineNumInnerWidth=Math.max(Oe,$.lineGutter.offsetWidth-ft)+1,$.lineNumWidth=$.lineNumInnerWidth+ft,$.lineNumChars=$.lineNumInnerWidth?Q.length:-1,$.lineGutter.style.width=$.lineNumWidth+"px",ys(N.display),!0}return!1}function Ls(N,F){for(var Q=[],$=!1,oe=0;oe<N.length;oe++){var Oe=N[oe],ft=null;if(typeof Oe!="string"&&(ft=Oe.style,Oe=Oe.className),Oe=="CodeMirror-linenumbers")if(F)$=!0;else continue;Q.push({className:Oe,style:ft})}return F&&!$&&Q.push({className:"CodeMirror-linenumbers",style:null}),Q}function Gs(N){var F=N.gutters,Q=N.gutterSpecs;w(F),N.lineGutter=null;for(var $=0;$<Q.length;++$){var oe=Q[$],Oe=oe.className,ft=oe.style,_t=F.appendChild(T("div",null,"CodeMirror-gutter "+Oe));ft&&(_t.style.cssText=ft),Oe=="CodeMirror-linenumbers"&&(N.lineGutter=_t,_t.style.width=(N.lineNumWidth||1)+"px")}F.style.display=Q.length?"":"none",ys(N)}function ks(N){Gs(N.display),Aa(N),_s(N)}function gs(N,F,Q,$){var oe=this;this.input=Q,oe.scrollbarFiller=T("div",null,"CodeMirror-scrollbar-filler"),oe.scrollbarFiller.setAttribute("cm-not-content","true"),oe.gutterFiller=T("div",null,"CodeMirror-gutter-filler"),oe.gutterFiller.setAttribute("cm-not-content","true"),oe.lineDiv=L("div",null,"CodeMirror-code"),oe.selectionDiv=T("div",null,null,"position: relative; z-index: 1"),oe.cursorDiv=T("div",null,"CodeMirror-cursors"),oe.measure=T("div",null,"CodeMirror-measure"),oe.lineMeasure=T("div",null,"CodeMirror-measure"),oe.lineSpace=L("div",[oe.measure,oe.lineMeasure,oe.selectionDiv,oe.cursorDiv,oe.lineDiv],null,"position: relative; outline: none");var Oe=L("div",[oe.lineSpace],"CodeMirror-lines");oe.mover=T("div",[Oe],null,"position: relative"),oe.sizer=T("div",[oe.mover],"CodeMirror-sizer"),oe.sizerWidth=null,oe.heightForcer=T("div",null,null,"position: absolute; height: "+X+"px; width: 1px;"),oe.gutters=T("div",null,"CodeMirror-gutters"),oe.lineGutter=null,oe.scroller=T("div",[oe.sizer,oe.heightForcer,oe.gutters],"CodeMirror-scroll"),oe.scroller.setAttribute("tabIndex","-1"),oe.wrapper=T("div",[oe.scrollbarFiller,oe.gutterFiller,oe.scroller],"CodeMirror"),p&&h<8&&(oe.gutters.style.zIndex=-1,oe.scroller.style.paddingRight=0),!o&&!(I&&u)&&(oe.scroller.draggable=!0),N&&(N.appendChild?N.appendChild(oe.wrapper):N(oe.wrapper)),oe.viewFrom=oe.viewTo=F.first,oe.reportedViewFrom=oe.reportedViewTo=F.first,oe.view=[],oe.renderedView=null,oe.externalMeasured=null,oe.viewOffset=0,oe.lastWrapHeight=oe.lastWrapWidth=0,oe.updateLineNumbers=null,oe.nativeBarWidth=oe.barHeight=oe.barWidth=0,oe.scrollbarsClipped=!1,oe.lineNumWidth=oe.lineNumInnerWidth=oe.lineNumChars=null,oe.alignWidgets=!1,oe.cachedCharWidth=oe.cachedTextHeight=oe.cachedPaddingH=null,oe.maxLine=null,oe.maxLineLength=0,oe.maxLineChanged=!1,oe.wheelDX=oe.wheelDY=oe.wheelStartX=oe.wheelStartY=null,oe.shift=!1,oe.selForContextMenu=null,oe.activeTouch=null,oe.gutterSpecs=Ls($.gutters,$.lineNumbers),Gs(oe),Q.init(oe)}var Ns=0,St=null;p?St=-.53:I?St=15:s?St=-.7:n&&(St=-1/3);function Dt(N){var F=N.wheelDeltaX,Q=N.wheelDeltaY;return F==null&&N.detail&&N.axis==N.HORIZONTAL_AXIS&&(F=N.detail),Q==null&&N.detail&&N.axis==N.VERTICAL_AXIS?Q=N.detail:Q==null&&(Q=N.wheelDelta),{x:F,y:Q}}function rn(N){var F=Dt(N);return F.x*=St,F.y*=St,F}function On(N,F){var Q=Dt(F),$=Q.x,oe=Q.y,Oe=N.display,ft=Oe.scroller,_t=ft.scrollWidth>ft.clientWidth,Yt=ft.scrollHeight>ft.clientHeight;if(!($&&_t||oe&&Yt))return;if(oe&&f&&o){e:for(var er=F.target,en=Oe.view;er!=ft;er=er.parentNode)for(var hn=0;hn<en.length;hn++)if(en[hn].node==er){N.display.currentWheelTarget=er;break e}}if($&&!I&&!l&&St!=null){oe&&Yt&&Ma(N,Math.max(0,ft.scrollTop+oe*St)),jo(N,Math.max(0,ft.scrollLeft+$*St)),(!oe||oe&&Yt)&&Be(F),Oe.wheelStartX=null;return}if(oe&&St!=null){var Rn=oe*St,kn=N.doc.scrollTop,Ai=kn+Oe.wrapper.clientHeight;Rn<0?kn=Math.max(0,kn+Rn-50):Ai=Math.min(N.doc.height,Ai+Rn+50),Fo(N,{top:kn,bottom:Ai})}Ns<20&&(Oe.wheelStartX==null?(Oe.wheelStartX=ft.scrollLeft,Oe.wheelStartY=ft.scrollTop,Oe.wheelDX=$,Oe.wheelDY=oe,setTimeout(function(){if(Oe.wheelStartX==null)return;var Ki=ft.scrollLeft-Oe.wheelStartX,Qi=ft.scrollTop-Oe.wheelStartY,Gi=Qi&&Oe.wheelDY&&Qi/Oe.wheelDY||Ki&&Oe.wheelDX&&Ki/Oe.wheelDX;if(Oe.wheelStartX=Oe.wheelStartY=null,!Gi)return;St=(St*Ns+Gi)/(Ns+1),++Ns},200)):(Oe.wheelDX+=$,Oe.wheelDY+=oe))}var mt=function(F,Q){this.ranges=F,this.primIndex=Q};mt.prototype.primary=function(){return this.ranges[this.primIndex]},mt.prototype.equals=function(N){if(N==this)return!0;if(N.primIndex!=this.primIndex||N.ranges.length!=this.ranges.length)return!1;for(var F=0;F<this.ranges.length;F++){var Q=this.ranges[F],$=N.ranges[F];if(!ct(Q.anchor,$.anchor)||!ct(Q.head,$.head))return!1}return!0},mt.prototype.deepCopy=function(){for(var N=[],F=0;F<this.ranges.length;F++)N[F]=new ne(Qt(this.ranges[F].anchor),Qt(this.ranges[F].head));return new mt(N,this.primIndex)},mt.prototype.somethingSelected=function(){for(var N=0;N<this.ranges.length;N++)if(!this.ranges[N].empty())return!0;return!1},mt.prototype.contains=function(N,F){F||(F=N);for(var Q=0;Q<this.ranges.length;Q++){var $=this.ranges[Q];if(pt(F,$.from())>=0&&pt(N,$.to())<=0)return Q}return-1};var ne=function(F,Q){this.anchor=F,this.head=Q};ne.prototype.from=function(){return yt(this.anchor,this.head)},ne.prototype.to=function(){return Jt(this.anchor,this.head)},ne.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function fe(N,F,Q){var $=N&&N.options.selectionsMayTouch,oe=F[Q];F.sort(function(Rn,kn){return pt(Rn.from(),kn.from())}),Q=W(F,oe);for(var Oe=1;Oe<F.length;Oe++){var ft=F[Oe],_t=F[Oe-1],Yt=pt(_t.to(),ft.from());if($&&!ft.empty()?Yt>0:Yt>=0){var er=yt(_t.from(),ft.from()),en=Jt(_t.to(),ft.to()),hn=_t.empty()?ft.from()==ft.head:_t.from()==_t.head;Oe<=Q&&--Q,F.splice(--Oe,2,new ne(hn?en:er,hn?er:en))}}return new mt(F,Q)}function ge(N,F){return new mt([new ne(N,F||N)],0)}function Re(N){return N.text?Ut(N.from.line+N.text.length-1,he(N.text).length+(N.text.length==1?N.from.ch:0)):N.to}function ut(N,F){if(pt(N,F.from)<0)return N;if(pt(N,F.to)<=0)return Re(F);var Q=N.line+F.text.length-(F.to.line-F.from.line)-1,$=N.ch;return N.line==F.to.line&&($+=Re(F).ch-F.to.ch),Ut(Q,$)}function Lt(N,F){for(var Q=[],$=0;$<N.sel.ranges.length;$++){var oe=N.sel.ranges[$];Q.push(new ne(ut(oe.anchor,F),ut(oe.head,F)))}return fe(N.cm,Q,N.sel.primIndex)}function br(N,F,Q){return N.line==F.line?Ut(Q.line,N.ch-F.ch+Q.ch):Ut(Q.line+(N.line-F.line),N.ch)}function Or(N,F,Q){for(var $=[],oe=Ut(N.first,0),Oe=oe,ft=0;ft<F.length;ft++){var _t=F[ft],Yt=br(_t.from,oe,Oe),er=br(Re(_t),oe,Oe);if(oe=_t.to,Oe=er,Q=="around"){var en=N.sel.ranges[ft],hn=pt(en.head,en.anchor)<0;$[ft]=new ne(hn?er:Yt,hn?Yt:er)}else $[ft]=new ne(Yt,Yt)}return new mt($,N.sel.primIndex)}function Zr(N){N.doc.mode=An(N.options,N.doc.modeOption),Cn(N)}function Cn(N){N.doc.iter(function(F){F.stateAfter&&(F.stateAfter=null),F.styles&&(F.styles=null)}),N.doc.modeFrontier=N.doc.highlightFrontier=N.doc.first,ko(N,100),N.state.modeGen++,N.curOp&&Aa(N)}function Hn(N,F){return F.from.ch==0&&F.to.ch==0&&he(F.text)==""&&(!N.cm||N.cm.options.wholeLineUpdateBefore)}function si(N,F,Q,$){function oe(Vi){return Q?Q[Vi]:null}function Oe(Vi,fa,ba){dn(Vi,fa,ba,$),zt(Vi,"change",Vi,F)}function ft(Vi,fa){for(var ba=[],qa=Vi;qa<fa;++qa)ba.push(new Mi(er[qa],oe(qa),$));return ba}var _t=F.from,Yt=F.to,er=F.text,en=ke(N,_t.line),hn=ke(N,Yt.line),Rn=he(er),kn=oe(er.length-1),Ai=Yt.line-_t.line;if(F.full)N.insert(0,ft(0,er.length)),N.remove(er.length,N.size-er.length);else if(Hn(N,F)){var Ki=ft(0,er.length-1);Oe(hn,hn.text,kn),Ai&&N.remove(_t.line,Ai),Ki.length&&N.insert(_t.line,Ki)}else if(en==hn)if(er.length==1)Oe(en,en.text.slice(0,_t.ch)+Rn+en.text.slice(Yt.ch),kn);else{var Qi=ft(1,er.length-1);Qi.push(new Mi(Rn+en.text.slice(Yt.ch),kn,$)),Oe(en,en.text.slice(0,_t.ch)+er[0],oe(0)),N.insert(_t.line+1,Qi)}else if(er.length==1)Oe(en,en.text.slice(0,_t.ch)+er[0]+hn.text.slice(Yt.ch),oe(0)),N.remove(_t.line+1,Ai);else{Oe(en,en.text.slice(0,_t.ch)+er[0],oe(0)),Oe(hn,Rn+hn.text.slice(Yt.ch),kn);var Gi=ft(1,er.length-1);Ai>1&&N.remove(_t.line+1,Ai-1),N.insert(_t.line+1,Gi)}zt(N,"change",N,F)}function xi(N,F,Q){function $(oe,Oe,ft){if(oe.linked)for(var _t=0;_t<oe.linked.length;++_t){var Yt=oe.linked[_t];if(Yt.doc==Oe)continue;var er=ft&&Yt.sharedHist;if(Q&&!er)continue;F(Yt.doc,er),$(Yt.doc,oe,er)}}$(N,null,!0)}function Di(N,F){if(F.cm)throw new Error("This document is already in use.");N.doc=F,F.cm=N,Zi(N),Zr(N),sa(N),N.options.lineWrapping||ri(N),N.options.mode=F.modeOption,Aa(N)}function sa(N){(N.doc.direction=="rtl"?U:y)(N.display.lineDiv,"CodeMirror-rtl")}function ya(N){Ho(N,function(){sa(N),Aa(N)})}function Ja(N){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=N||1}function $a(N,F){var Q={from:Qt(F.from),to:Re(F),text:rt(N,F.from,F.to)};return is(N,Q,F.from.line,F.to.line+1),xi(N,function($){return is($,Q,F.from.line,F.to.line+1)},!0),Q}function to(N){for(;N.length;){var F=he(N);if(F.ranges)N.pop();else break}}function Io(N,F){if(F)return to(N.done),he(N.done);if(N.done.length&&!he(N.done).ranges)return he(N.done);if(N.done.length>1&&!N.done[N.done.length-2].ranges)return N.done.pop(),he(N.done)}function Co(N,F,Q,$){var oe=N.history;oe.undone.length=0;var Oe=+new Date,ft,_t;if((oe.lastOp==$||oe.lastOrigin==F.origin&&F.origin&&(F.origin.charAt(0)=="+"&&oe.lastModTime>Oe-(N.cm?N.cm.options.historyEventDelay:500)||F.origin.charAt(0)=="*"))&&(ft=Io(oe,oe.lastOp==$)))_t=he(ft.changes),pt(F.from,F.to)==0&&pt(F.from,_t.to)==0?_t.to=Re(F):ft.changes.push($a(N,F));else{var Yt=he(oe.done);for((!Yt||!Yt.ranges)&&So(N.sel,oe.done),ft={changes:[$a(N,F)],generation:oe.generation},oe.done.push(ft);oe.done.length>oe.undoDepth;)oe.done.shift(),oe.done[0].ranges||oe.done.shift()}oe.done.push(Q),oe.generation=++oe.maxGeneration,oe.lastModTime=oe.lastSelTime=Oe,oe.lastOp=oe.lastSelOp=$,oe.lastOrigin=oe.lastSelOrigin=F.origin,_t||bt(N,"historyAdded")}function Do(N,F,Q,$){var oe=F.charAt(0);return oe=="*"||oe=="+"&&Q.ranges.length==$.ranges.length&&Q.somethingSelected()==$.somethingSelected()&&new Date-N.history.lastSelTime<=(N.cm?N.cm.options.historyEventDelay:500)}function go(N,F,Q,$){var oe=N.history,Oe=$&&$.origin;Q==oe.lastSelOp||Oe&&oe.lastSelOrigin==Oe&&(oe.lastModTime==oe.lastSelTime&&oe.lastOrigin==Oe||Do(N,Oe,he(oe.done),F))?oe.done[oe.done.length-1]=F:So(F,oe.done),oe.lastSelTime=+new Date,oe.lastSelOrigin=Oe,oe.lastSelOp=Q,$&&$.clearRedo!==!1&&to(oe.undone)}function So(N,F){var Q=he(F);Q&&Q.ranges&&Q.equals(N)||F.push(N)}function is(N,F,Q,$){var oe=F["spans_"+N.id],Oe=0;N.iter(Math.max(N.first,Q),Math.min(N.first+N.size,$),function(ft){ft.markedSpans&&((oe||(oe=F["spans_"+N.id]={}))[Oe]=ft.markedSpans),++Oe})}function ts(N){if(!N)return null;for(var F,Q=0;Q<N.length;++Q)N[Q].marker.explicitlyCleared?F||(F=N.slice(0,Q)):F&&F.push(N[Q]);return F?F.length?F:null:N}function To(N,F){var Q=F["spans_"+N.id];if(!Q)return null;for(var $=[],oe=0;oe<F.text.length;++oe)$.push(ts(Q[oe]));return $}function Yi(N,F){var Q=To(N,F),$=un(N,F);if(!Q)return $;if(!$)return Q;for(var oe=0;oe<Q.length;++oe){var Oe=Q[oe],ft=$[oe];if(Oe&&ft){e:for(var _t=0;_t<ft.length;++_t){for(var Yt=ft[_t],er=0;er<Oe.length;++er)if(Oe[er].marker==Yt.marker)continue e;Oe.push(Yt)}}else ft&&(Q[oe]=ft)}return Q}function Rs(N,F,Q){for(var $=[],oe=0;oe<N.length;++oe){var Oe=N[oe];if(Oe.ranges){$.push(Q?mt.prototype.deepCopy.call(Oe):Oe);continue}var ft=Oe.changes,_t=[];$.push({changes:_t});for(var Yt=0;Yt<ft.length;++Yt){var er=ft[Yt],en=void 0;if(_t.push({from:er.from,to:er.to,text:er.text}),F)for(var hn in er)(en=hn.match(/^spans_(\d+)$/))&&(W(F,Number(en[1]))>-1&&(he(_t)[hn]=er[hn],delete er[hn]))}}return $}function Es(N,F,Q,$){if($){var oe=N.anchor;if(Q){var Oe=pt(F,oe)<0;Oe!=pt(Q,oe)<0?(oe=F,F=Q):Oe!=pt(F,Q)<0&&(F=Q)}return new ne(oe,F)}else return new ne(Q||F,F)}function as(N,F,Q,$,oe){oe==null&&(oe=N.cm&&(N.cm.display.shift||N.extend)),Lo(N,new mt([Es(N.sel.primary(),F,Q,oe)],0),$)}function Qo(N,F,Q){for(var $=[],oe=N.cm&&(N.cm.display.shift||N.extend),Oe=0;Oe<N.sel.ranges.length;Oe++)$[Oe]=Es(N.sel.ranges[Oe],F[Oe],null,oe);var ft=fe(N.cm,$,N.sel.primIndex);Lo(N,ft,Q)}function hs(N,F,Q,$){var oe=N.sel.ranges.slice(0);oe[F]=Q,Lo(N,fe(N.cm,oe,N.sel.primIndex),$)}function Al(N,F,Q,$){Lo(N,ge(F,Q),$)}function sl(N,F,Q){var $={ranges:F.ranges,update:function(Oe){this.ranges=[];for(var ft=0;ft<Oe.length;ft++)this.ranges[ft]=new ne(At(N,Oe[ft].anchor),At(N,Oe[ft].head))},origin:Q&&Q.origin};return bt(N,"beforeSelectionChange",N,$),N.cm&&bt(N.cm,"beforeSelectionChange",N.cm,$),$.ranges!=F.ranges?fe(N.cm,$.ranges,$.ranges.length-1):F}function fs(N,F,Q){var $=N.history.done,oe=he($);oe&&oe.ranges?($[$.length-1]=F,ls(N,F,Q)):Lo(N,F,Q)}function Lo(N,F,Q){ls(N,F,Q),go(N,N.sel,N.cm?N.cm.curOp.id:NaN,Q)}function ls(N,F,Q){(xt(N,"beforeSelectionChange")||N.cm&&xt(N.cm,"beforeSelectionChange"))&&(F=sl(N,F,Q));var $=Q&&Q.bias||(pt(F.primary().head,N.sel.primary().head)<0?-1:1);Zs(N,Fs(N,F,$,!0)),!(Q&&Q.scroll===!1)&&N.cm&&eo(N.cm)}function Zs(N,F){if(F.equals(N.sel))return;N.sel=F,N.cm&&(N.cm.curOp.updateInput=1,N.cm.curOp.selectionChanged=!0,Et(N.cm)),zt(N,"cursorActivity",N)}function As(N){Zs(N,Fs(N,N.sel,null,!1))}function Fs(N,F,Q,$){for(var oe,Oe=0;Oe<F.ranges.length;Oe++){var ft=F.ranges[Oe],_t=F.ranges.length==N.sel.ranges.length&&N.sel.ranges[Oe],Yt=Ds(N,ft.anchor,_t&&_t.anchor,Q,$),er=Ds(N,ft.head,_t&&_t.head,Q,$);(oe||Yt!=ft.anchor||er!=ft.head)&&(oe||(oe=F.ranges.slice(0,Oe)),oe[Oe]=new ne(Yt,er))}return oe?fe(N.cm,oe,F.primIndex):F}function Us(N,F,Q,$,oe){var Oe=ke(N,F.line);if(Oe.markedSpans)for(var ft=0;ft<Oe.markedSpans.length;++ft){var _t=Oe.markedSpans[ft],Yt=_t.marker,er="selectLeft"in Yt?!Yt.selectLeft:Yt.inclusiveLeft,en="selectRight"in Yt?!Yt.selectRight:Yt.inclusiveRight;if((_t.from==null||(er?_t.from<=F.ch:_t.from<F.ch))&&(_t.to==null||(en?_t.to>=F.ch:_t.to>F.ch))){if(oe&&(bt(Yt,"beforeCursorEnter"),Yt.explicitlyCleared))if(Oe.markedSpans){--ft;continue}else break;if(!Yt.atomic)continue;if(Q){var hn=Yt.find($<0?1:-1),Rn=void 0;if(($<0?en:er)&&(hn=al(N,hn,-$,hn&&hn.line==F.line?Oe:null)),hn&&hn.line==F.line&&(Rn=pt(hn,Q))&&($<0?Rn<0:Rn>0))return Us(N,hn,F,$,oe)}var kn=Yt.find($<0?-1:1);return($<0?er:en)&&(kn=al(N,kn,$,kn.line==F.line?Oe:null)),kn?Us(N,kn,F,$,oe):null}}return F}function Ds(N,F,Q,$,oe){var Oe=$||1,ft=Us(N,F,Q,Oe,oe)||!oe&&Us(N,F,Q,Oe,!0)||Us(N,F,Q,-Oe,oe)||!oe&&Us(N,F,Q,-Oe,!0);return ft||(N.cantEdit=!0,Ut(N.first,0))}function al(N,F,Q,$){return Q<0&&F.ch==0?F.line>N.first?At(N,Ut(F.line-1)):null:Q>0&&F.ch==($||ke(N,F.line)).text.length?F.line<N.first+N.size-1?Ut(F.line+1,0):null:new Ut(F.line,F.ch+Q)}function $s(N){N.setSelection(Ut(N.firstLine(),0),Ut(N.lastLine()),Z)}function Ys(N,F,Q){var $={canceled:!1,from:F.from,to:F.to,text:F.text,origin:F.origin,cancel:function(){return $.canceled=!0}};return Q&&($.update=function(oe,Oe,ft,_t){oe&&($.from=At(N,oe)),Oe&&($.to=At(N,Oe)),ft&&($.text=ft),_t!==void 0&&($.origin=_t)}),bt(N,"beforeChange",N,$),N.cm&&bt(N.cm,"beforeChange",N.cm,$),$.canceled?(N.cm&&(N.cm.curOp.updateInput=2),null):{from:$.from,to:$.to,text:$.text,origin:$.origin}}function js(N,F,Q){if(N.cm){if(!N.cm.curOp)return mo(N.cm,js)(N,F,Q);if(N.cm.state.suppressEdits)return}if((xt(N,"beforeChange")||N.cm&&xt(N.cm,"beforeChange"))&&(F=Ys(N,F,!0),!F))return;var $=We&&!Q&&Xr(N,F.from,F.to);if($)for(var oe=$.length-1;oe>=0;--oe)Xa(N,{from:$[oe].from,to:$[oe].to,text:oe?[""]:F.text,origin:F.origin});else Xa(N,F)}function Xa(N,F){if(F.text.length==1&&F.text[0]==""&&pt(F.from,F.to)==0)return;var Q=Lt(N,F);Co(N,F,Q,N.cm?N.cm.curOp.id:NaN),oo(N,F,Q,un(N,F));var $=[];xi(N,function(oe,Oe){!Oe&&W($,oe.history)==-1&&(Uo(oe.history,F),$.push(oe.history)),oo(oe,F,null,un(oe,F))})}function ga(N,F,Q){var $=N.cm&&N.cm.state.suppressEdits;if($&&!Q)return;for(var oe=N.history,Oe,ft=N.sel,_t=F=="undo"?oe.done:oe.undone,Yt=F=="undo"?oe.undone:oe.done,er=0;er<_t.length&&!(Oe=_t[er],Q?Oe.ranges&&!Oe.equals(N.sel):!Oe.ranges);er++);if(er==_t.length)return;for(oe.lastOrigin=oe.lastSelOrigin=null;;)if(Oe=_t.pop(),Oe.ranges){if(So(Oe,Yt),Q&&!Oe.equals(N.sel)){Lo(N,Oe,{clearRedo:!1});return}ft=Oe}else if($){_t.push(Oe);return}else break;var en=[];So(ft,Yt),Yt.push({changes:en,generation:oe.generation}),oe.generation=Oe.generation||++oe.maxGeneration;for(var hn=xt(N,"beforeChange")||N.cm&&xt(N.cm,"beforeChange"),Rn=function(Qi){var Gi=Oe.changes[Qi];if(Gi.origin=F,hn&&!Ys(N,Gi,!1))return _t.length=0,{};en.push($a(N,Gi));var Vi=Qi?Lt(N,Gi):he(_t);oo(N,Gi,Vi,Yi(N,Gi)),!Qi&&N.cm&&N.cm.scrollIntoView({from:Gi.from,to:Re(Gi)});var fa=[];xi(N,function(ba,qa){!qa&&W(fa,ba.history)==-1&&(Uo(ba.history,Gi),fa.push(ba.history)),oo(ba,Gi,null,Yi(ba,Gi))})},kn=Oe.changes.length-1;kn>=0;--kn){var Ai=Rn(kn);if(Ai)return Ai.v}}function Wa(N,F){if(F==0)return;if(N.first+=F,N.sel=new mt(xe(N.sel.ranges,function(oe){return new ne(Ut(oe.anchor.line+F,oe.anchor.ch),Ut(oe.head.line+F,oe.head.ch))}),N.sel.primIndex),N.cm){Aa(N.cm,N.first,N.first-F,F);for(var Q=N.cm.display,$=Q.viewFrom;$<Q.viewTo;$++)Ti(N.cm,$,"gutter")}}function oo(N,F,Q,$){if(N.cm&&!N.cm.curOp)return mo(N.cm,oo)(N,F,Q,$);if(F.to.line<N.first){Wa(N,F.text.length-1-(F.to.line-F.from.line));return}if(F.from.line>N.lastLine())return;if(F.from.line<N.first){var oe=F.text.length-1-(N.first-F.from.line);Wa(N,oe),F={from:Ut(N.first,0),to:Ut(F.to.line+oe,F.to.ch),text:[he(F.text)],origin:F.origin}}var Oe=N.lastLine();F.to.line>Oe&&(F={from:F.from,to:Ut(Oe,ke(N,Oe).text.length),text:[F.text[0]],origin:F.origin}),F.removed=rt(N,F.from,F.to),Q||(Q=Lt(N,F)),N.cm?Jo(N.cm,F,$):si(N,F,$),ls(N,Q,Z),N.cantEdit&&Ds(N,Ut(N.firstLine(),0))&&(N.cantEdit=!1)}function Jo(N,F,Q){var $=N.doc,oe=N.display,Oe=F.from,ft=F.to,_t=!1,Yt=Oe.line;N.options.lineWrapping||(Yt=Gt(gn(ke($,Oe.line))),$.iter(Yt,ft.line+1,function(kn){if(kn==oe.maxLine)return _t=!0,!0})),$.sel.contains(F.from,F.to)>-1&&Et(N),si($,F,Q,Oa(N)),N.options.lineWrapping||($.iter(Yt,Oe.line+F.text.length,function(kn){var Ai=Hi(kn);Ai>oe.maxLineLength&&(oe.maxLine=kn,oe.maxLineLength=Ai,oe.maxLineChanged=!0,_t=!1)}),_t&&(N.curOp.updateMaxLine=!0)),De($,Oe.line),ko(N,400);var er=F.text.length-(ft.line-Oe.line)-1;F.full?Aa(N):Oe.line==ft.line&&F.text.length==1&&!Hn(N.doc,F)?Ti(N,Oe.line,"text"):Aa(N,Oe.line,ft.line+1,er);var en=xt(N,"changes"),hn=xt(N,"change");if(hn||en){var Rn={from:Oe,to:ft,text:F.text,removed:F.removed,origin:F.origin};hn&&zt(N,"change",N,Rn),en&&(N.curOp.changeObjs||(N.curOp.changeObjs=[])).push(Rn)}N.display.selForContextMenu=null}function Hs(N,F,Q,$,oe){var Oe;$||($=Q),pt($,Q)<0&&(Oe=[$,Q],Q=Oe[0],$=Oe[1]),typeof F=="string"&&(F=N.splitLines(F)),js(N,{from:Q,to:$,text:F,origin:oe})}function bs(N,F,Q,$){Q<N.line?N.line+=$:F<N.line&&(N.line=F,N.ch=0)}function ws(N,F,Q,$){for(var oe=0;oe<N.length;++oe){var Oe=N[oe],ft=!0;if(Oe.ranges){Oe.copied||(Oe=N[oe]=Oe.deepCopy(),Oe.copied=!0);for(var _t=0;_t<Oe.ranges.length;_t++)bs(Oe.ranges[_t].anchor,F,Q,$),bs(Oe.ranges[_t].head,F,Q,$);continue}for(var Yt=0;Yt<Oe.changes.length;++Yt){var er=Oe.changes[Yt];if(Q<er.from.line)er.from=Ut(er.from.line+$,er.from.ch),er.to=Ut(er.to.line+$,er.to.ch);else if(F<=er.to.line){ft=!1;break}}ft||(N.splice(0,oe+1),oe=0)}}function Uo(N,F){var Q=F.from.line,$=F.to.line,oe=F.text.length-($-Q)-1;ws(N.done,Q,$,oe),ws(N.undone,Q,$,oe)}function _o(N,F,Q,$){var oe=F,Oe=F;return typeof F=="number"?Oe=ke(N,Pt(N,F)):oe=Gt(F),oe==null?null:($(Oe,oe)&&N.cm&&Ti(N.cm,oe,Q),Oe)}function Zo(N){this.lines=N,this.parent=null;for(var F=0,Q=0;Q<N.length;++Q)N[Q].parent=this,F+=N[Q].height;this.height=F}Zo.prototype={chunkSize:function(){return this.lines.length},removeInner:function(F,Q){for(var $=F,oe=F+Q;$<oe;++$){var Oe=this.lines[$];this.height-=Oe.height,Fr(Oe),zt(Oe,"delete")}this.lines.splice(F,Q)},collapse:function(F){F.push.apply(F,this.lines)},insertInner:function(F,Q,$){this.height+=$,this.lines=this.lines.slice(0,F).concat(Q).concat(this.lines.slice(F));for(var oe=0;oe<Q.length;++oe)Q[oe].parent=this},iterN:function(F,Q,$){for(var oe=F+Q;F<oe;++F)if($(this.lines[F]))return!0}};function xo(N){this.children=N;for(var F=0,Q=0,$=0;$<N.length;++$){var oe=N[$];F+=oe.chunkSize(),Q+=oe.height,oe.parent=this}this.size=F,this.height=Q,this.parent=null}xo.prototype={chunkSize:function(){return this.size},removeInner:function(F,Q){this.size-=Q;for(var $=0;$<this.children.length;++$){var oe=this.children[$],Oe=oe.chunkSize();if(F<Oe){var ft=Math.min(Q,Oe-F),_t=oe.height;if(oe.removeInner(F,ft),this.height-=_t-oe.height,Oe==ft&&(this.children.splice($--,1),oe.parent=null),(Q-=ft)==0)break;F=0}else F-=Oe}if(this.size-Q<25&&(this.children.length>1||!(this.children[0]instanceof Zo))){var Yt=[];this.collapse(Yt),this.children=[new Zo(Yt)],this.children[0].parent=this}},collapse:function(F){for(var Q=0;Q<this.children.length;++Q)this.children[Q].collapse(F)},insertInner:function(F,Q,$){this.size+=Q.length,this.height+=$;for(var oe=0;oe<this.children.length;++oe){var Oe=this.children[oe],ft=Oe.chunkSize();if(F<=ft){if(Oe.insertInner(F,Q,$),Oe.lines&&Oe.lines.length>50){for(var _t=Oe.lines.length%25+25,Yt=_t;Yt<Oe.lines.length;){var er=new Zo(Oe.lines.slice(Yt,Yt+=25));Oe.height-=er.height,this.children.splice(++oe,0,er),er.parent=this}Oe.lines=Oe.lines.slice(0,_t),this.maybeSpill()}break}F-=ft}},maybeSpill:function(){if(this.children.length<=10)return;var F=this;do{var Q=F.children.splice(F.children.length-5,5),$=new xo(Q);if(F.parent){F.size-=$.size,F.height-=$.height;var Oe=W(F.parent.children,F);F.parent.children.splice(Oe+1,0,$)}else{var oe=new xo(F.children);oe.parent=F,F.children=[oe,$],F=oe}$.parent=F.parent}while(F.children.length>10);F.parent.maybeSpill()},iterN:function(F,Q,$){for(var oe=0;oe<this.children.length;++oe){var Oe=this.children[oe],ft=Oe.chunkSize();if(F<ft){var _t=Math.min(Q,ft-F);if(Oe.iterN(F,_t,$))return!0;if((Q-=_t)==0)break;F=0}else F-=ft}}};var Ws=function(F,Q,$){if($)for(var oe in $)$.hasOwnProperty(oe)&&(this[oe]=$[oe]);this.doc=F,this.node=Q};Ws.prototype.clear=function(){var N=this.doc.cm,F=this.line.widgets,Q=this.line,$=Gt(Q);if($==null||!F)return;for(var oe=0;oe<F.length;++oe)F[oe]==this&&F.splice(oe--,1);F.length||(Q.widgets=null);var Oe=Dn(this);Bt(Q,Math.max(0,Q.height-Oe)),N&&(Ho(N,function(){Sl(N,Q,-Oe),Ti(N,$,"widget")}),zt(N,"lineWidgetCleared",N,this,$))},Ws.prototype.changed=function(){var N=this,F=this.height,Q=this.doc.cm,$=this.line;this.height=null;var oe=Dn(this)-F;if(!oe)return;qn(this.doc,$)||Bt($,$.height+oe),Q&&Ho(Q,function(){Q.curOp.forceUpdate=!0,Sl(Q,$,oe),zt(Q,"lineWidgetChanged",Q,N,Gt($))})},Tt(Ws);function Sl(N,F,Q){Qn(F)<(N.curOp&&N.curOp.scrollTop||N.doc.scrollTop)&&Ya(N,Q)}function xl(N,F,Q,$){var oe=new Ws(N,Q,$),Oe=N.cm;return Oe&&oe.noHScroll&&(Oe.display.alignWidgets=!0),_o(N,F,"widget",function(ft){var _t=ft.widgets||(ft.widgets=[]);if(oe.insertAt==null?_t.push(oe):_t.splice(Math.min(_t.length-1,Math.max(0,oe.insertAt)),0,oe),oe.line=ft,Oe&&!qn(N,ft)){var Yt=Qn(ft)<N.scrollTop;Bt(ft,ft.height+Dn(oe)),Yt&&Ya(Oe,oe.height),Oe.curOp.forceUpdate=!0}return!0}),Oe&&zt(Oe,"lineWidgetAdded",Oe,oe,typeof F=="number"?F:Gt(F)),oe}var kl=0,el=function(F,Q){this.lines=[],this.type=Q,this.doc=F,this.id=++kl};el.prototype.clear=function(){if(this.explicitlyCleared)return;var N=this.doc.cm,F=N&&!N.curOp;if(F&&Ka(N),xt(this,"clear")){var Q=this.find();Q&&zt(this,"clear",Q.from,Q.to)}for(var $=null,oe=null,Oe=0;Oe<this.lines.length;++Oe){var ft=this.lines[Oe],_t=kt(ft.markedSpans,this);N&&!this.collapsed?Ti(N,Gt(ft),"text"):N&&(_t.to!=null&&(oe=Gt(ft)),_t.from!=null&&($=Gt(ft))),ft.markedSpans=wr(ft.markedSpans,_t),_t.from==null&&this.collapsed&&!qn(this.doc,ft)&&N&&Bt(ft,Ni(N.display))}if(N&&this.collapsed&&!N.options.lineWrapping)for(var Yt=0;Yt<this.lines.length;++Yt){var er=gn(this.lines[Yt]),en=Hi(er);en>N.display.maxLineLength&&(N.display.maxLine=er,N.display.maxLineLength=en,N.display.maxLineChanged=!0)}$!=null&&N&&this.collapsed&&Aa(N,$,oe+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,N&&As(N.doc)),N&&zt(N,"markerCleared",N,this,$,oe),F&&Go(N),this.parent&&this.parent.clear()},el.prototype.find=function(N,F){N==null&&this.type=="bookmark"&&(N=1);for(var Q,$,oe=0;oe<this.lines.length;++oe){var Oe=this.lines[oe],ft=kt(Oe.markedSpans,this);if(ft.from!=null&&(Q=Ut(F?Oe:Gt(Oe),ft.from),N==-1))return Q;if(ft.to!=null&&($=Ut(F?Oe:Gt(Oe),ft.to),N==1))return $}return Q&&{from:Q,to:$}},el.prototype.changed=function(){var N=this,F=this.find(-1,!0),Q=this,$=this.doc.cm;if(!F||!$)return;Ho($,function(){var oe=F.line,Oe=Gt(F.line),ft=Si($,Oe);if(ft&&(Qr(ft),$.curOp.selectionChanged=$.curOp.forceUpdate=!0),$.curOp.updateMaxLine=!0,!qn(Q.doc,oe)&&Q.height!=null){var _t=Q.height;Q.height=null;var Yt=Dn(Q)-_t;Yt&&Bt(oe,oe.height+Yt)}zt($,"markerChanged",$,N)})},el.prototype.attachLine=function(N){if(!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(!F.maybeHiddenMarkers||W(F.maybeHiddenMarkers,this)==-1)&&(F.maybeUnhiddenMarkers||(F.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(N)},el.prototype.detachLine=function(N){if(this.lines.splice(W(this.lines,N),1),!this.lines.length&&this.doc.cm){var F=this.doc.cm.curOp;(F.maybeHiddenMarkers||(F.maybeHiddenMarkers=[])).push(this)}},Tt(el);function Il(N,F,Q,$,oe){if($&&$.shared)return Uc(N,F,Q,$,oe);if(N.cm&&!N.cm.curOp)return mo(N.cm,Il)(N,F,Q,$,oe);var Oe=new el(N,oe),ft=pt(F,Q);if($&&j($,Oe,!1),ft>0||ft==0&&Oe.clearWhenEmpty!==!1)return Oe;if(Oe.replacedWith&&(Oe.collapsed=!0,Oe.widgetNode=L("span",[Oe.replacedWith],"CodeMirror-widget"),$.handleMouseEvents||Oe.widgetNode.setAttribute("cm-ignore-events","true"),$.insertLeft&&(Oe.widgetNode.insertLeft=!0)),Oe.collapsed){if(_i(N,F.line,F,Q,Oe)||F.line!=Q.line&&_i(N,Q.line,F,Q,Oe))throw new Error("Inserting collapsed marker partially overlapping an existing one");vt()}Oe.addToHistory&&Co(N,{from:F,to:Q,origin:"markText"},N.sel,NaN);var _t=F.line,Yt=N.cm,er;if(N.iter(_t,Q.line+1,function(hn){Yt&&Oe.collapsed&&!Yt.options.lineWrapping&&gn(hn)==Yt.display.maxLine&&(er=!0),Oe.collapsed&&_t!=F.line&&Bt(hn,0),hr(hn,new st(Oe,_t==F.line?F.ch:null,_t==Q.line?Q.ch:null)),++_t}),Oe.collapsed&&N.iter(F.line,Q.line+1,function(hn){qn(N,hn)&&Bt(hn,0)}),Oe.clearOnEnter&&Te(Oe,"beforeCursorEnter",function(){return Oe.clear()}),Oe.readOnly&&(Je(),(N.history.done.length||N.history.undone.length)&&N.clearHistory()),Oe.collapsed&&(Oe.id=++kl,Oe.atomic=!0),Yt){if(er&&(Yt.curOp.updateMaxLine=!0),Oe.collapsed)Aa(Yt,F.line,Q.line+1);else if(Oe.className||Oe.startStyle||Oe.endStyle||Oe.css||Oe.attributes||Oe.title)for(var en=F.line;en<=Q.line;en++)Ti(Yt,en,"text");Oe.atomic&&As(Yt.doc),zt(Yt,"markerAdded",Yt,Oe)}return Oe}var Ol=function(F,Q){this.markers=F,this.primary=Q;for(var $=0;$<F.length;++$)F[$].parent=this};Ol.prototype.clear=function(){if(this.explicitlyCleared)return;this.explicitlyCleared=!0;for(var N=0;N<this.markers.length;++N)this.markers[N].clear();zt(this,"clear")},Ol.prototype.find=function(N,F){return this.primary.find(N,F)},Tt(Ol);function Uc(N,F,Q,$,oe){$=j($),$.shared=!1;var Oe=[Il(N,F,Q,$,oe)],ft=Oe[0],_t=$.widgetNode;return xi(N,function(Yt){_t&&($.widgetNode=_t.cloneNode(!0)),Oe.push(Il(Yt,At(Yt,F),At(Yt,Q),$,oe));for(var er=0;er<Yt.linked.length;++er)if(Yt.linked[er].isParent)return;ft=he(Oe)}),new Ol(Oe,ft)}function ic(N){return N.findMarks(Ut(N.first,0),N.clipPos(Ut(N.lastLine())),function(F){return F.parent})}function Cc(N,F){for(var Q=0;Q<F.length;Q++){var $=F[Q],oe=$.find(),Oe=N.clipPos(oe.from),ft=N.clipPos(oe.to);if(pt(Oe,ft)){var _t=Il(N,Oe,ft,$.primary,$.primary.type);$.markers.push(_t),_t.parent=$}}}function ac(N){for(var F=function(oe){var Oe=N[oe],ft=[Oe.primary.doc];xi(Oe.primary.doc,function(er){return ft.push(er)});for(var _t=0;_t<Oe.markers.length;_t++){var Yt=Oe.markers[_t];W(ft,Yt.doc)==-1&&(Yt.parent=null,Oe.markers.splice(_t--,1))}},Q=0;Q<N.length;Q++)F(Q)}var Hl=0,zs=function N(F,Q,$,oe,Oe){if(!(this instanceof N))return new N(F,Q,$,oe,Oe);$==null&&($=0),xo.call(this,[new Zo([new Mi("",null)])]),this.first=$,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=$;var ft=Ut($,0);this.sel=ge(ft),this.history=new Ja(null),this.id=++Hl,this.modeOption=Q,this.lineSep=oe,this.direction=Oe=="rtl"?"rtl":"ltr",this.extend=!1,typeof F=="string"&&(F=this.splitLines(F)),si(this,{from:ft,to:ft,text:F}),Lo(this,ge(ft),Z)};zs.prototype=Ze(xo.prototype,{constructor:zs,iter:function(F,Q,$){$?this.iterN(F-this.first,Q-F,$):this.iterN(this.first,this.first+this.size,F)},insert:function(F,Q){for(var $=0,oe=0;oe<Q.length;++oe)$+=Q[oe].height;this.insertInner(F-this.first,Q,$)},remove:function(F,Q){this.removeInner(F-this.first,Q)},getValue:function(F){var Q=Wt(this,this.first,this.first+this.size);return F===!1?Q:Q.join(F||this.lineSeparator())},setValue:Ko(function(N){var F=Ut(this.first,0),Q=this.first+this.size-1;js(this,{from:F,to:Ut(Q,ke(this,Q).text.length),text:this.splitLines(N),origin:"setValue",full:!0},!0),this.cm&&wa(this.cm,0,0),Lo(this,ge(F),Z)}),replaceRange:function(F,Q,$,oe){Q=At(this,Q),$=$?At(this,$):Q,Hs(this,F,Q,$,oe)},getRange:function(F,Q,$){var oe=rt(this,At(this,F),At(this,Q));return $===!1?oe:oe.join($||this.lineSeparator())},getLine:function(F){var Q=this.getLineHandle(F);return Q&&Q.text},getLineHandle:function(F){if(Pr(this,F))return ke(this,F)},getLineNumber:function(F){return Gt(F)},getLineHandleVisualStart:function(F){return typeof F=="number"&&(F=ke(this,F)),gn(F)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(F){return At(this,F)},getCursor:function(F){var Q=this.sel.primary(),$;return F==null||F=="head"?$=Q.head:F=="anchor"?$=Q.anchor:F=="end"||F=="to"||F===!1?$=Q.to():$=Q.from(),$},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Ko(function(N,F,Q){Al(this,At(this,typeof N=="number"?Ut(N,F||0):N),null,Q)}),setSelection:Ko(function(N,F,Q){Al(this,At(this,N),At(this,F||N),Q)}),extendSelection:Ko(function(N,F,Q){as(this,At(this,N),F&&At(this,F),Q)}),extendSelections:Ko(function(N,F){Qo(this,pr(this,N),F)}),extendSelectionsBy:Ko(function(N,F){var Q=xe(this.sel.ranges,N);Qo(this,pr(this,Q),F)}),setSelections:Ko(function(N,F,Q){if(!N.length)return;for(var $=[],oe=0;oe<N.length;oe++)$[oe]=new ne(At(this,N[oe].anchor),At(this,N[oe].head));F==null&&(F=Math.min(N.length-1,this.sel.primIndex)),Lo(this,fe(this.cm,$,F),Q)}),addSelection:Ko(function(N,F,Q){var $=this.sel.ranges.slice(0);$.push(new ne(At(this,N),At(this,F||N))),Lo(this,fe(this.cm,$,$.length-1),Q)}),getSelection:function(F){for(var Q=this.sel.ranges,$,oe=0;oe<Q.length;oe++){var Oe=rt(this,Q[oe].from(),Q[oe].to());$=$?$.concat(Oe):Oe}return F===!1?$:$.join(F||this.lineSeparator())},getSelections:function(F){for(var Q=[],$=this.sel.ranges,oe=0;oe<$.length;oe++){var Oe=rt(this,$[oe].from(),$[oe].to());F!==!1&&(Oe=Oe.join(F||this.lineSeparator())),Q[oe]=Oe}return Q},replaceSelection:function(F,Q,$){for(var oe=[],Oe=0;Oe<this.sel.ranges.length;Oe++)oe[Oe]=F;this.replaceSelections(oe,Q,$||"+input")},replaceSelections:Ko(function(N,F,Q){for(var $=[],oe=this.sel,Oe=0;Oe<oe.ranges.length;Oe++){var ft=oe.ranges[Oe];$[Oe]={from:ft.from(),to:ft.to(),text:this.splitLines(N[Oe]),origin:Q}}for(var _t=F&&F!="end"&&Or(this,$,F),Yt=$.length-1;Yt>=0;Yt--)js(this,$[Yt]);_t?fs(this,_t):this.cm&&eo(this.cm)}),undo:Ko(function(){ga(this,"undo")}),redo:Ko(function(){ga(this,"redo")}),undoSelection:Ko(function(){ga(this,"undo",!0)}),redoSelection:Ko(function(){ga(this,"redo",!0)}),setExtending:function(F){this.extend=F},getExtending:function(){return this.extend},historySize:function(){for(var F=this.history,Q=0,$=0,oe=0;oe<F.done.length;oe++)F.done[oe].ranges||++Q;for(var Oe=0;Oe<F.undone.length;Oe++)F.undone[Oe].ranges||++$;return{undo:Q,redo:$}},clearHistory:function(){var F=this;this.history=new Ja(this.history.maxGeneration),xi(this,function(Q){return Q.history=F.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(F){return F&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(F){return this.history.generation==(F||this.cleanGeneration)},getHistory:function(){return{done:Rs(this.history.done),undone:Rs(this.history.undone)}},setHistory:function(F){var Q=this.history=new Ja(this.history.maxGeneration);Q.done=Rs(F.done.slice(0),null,!0),Q.undone=Rs(F.undone.slice(0),null,!0)},setGutterMarker:Ko(function(N,F,Q){return _o(this,N,"gutter",function($){var oe=$.gutterMarkers||($.gutterMarkers={});return oe[F]=Q,!Q&&Ye(oe)&&($.gutterMarkers=null),!0})}),clearGutter:Ko(function(N){var F=this;this.iter(function(Q){Q.gutterMarkers&&Q.gutterMarkers[N]&&_o(F,Q,"gutter",function(){return Q.gutterMarkers[N]=null,Ye(Q.gutterMarkers)&&(Q.gutterMarkers=null),!0})})}),lineInfo:function(F){var Q;if(typeof F=="number"){if(!Pr(this,F))return null;if(Q=F,F=ke(this,F),!F)return null}else if(Q=Gt(F),Q==null)return null;return{line:Q,handle:F,text:F.text,gutterMarkers:F.gutterMarkers,textClass:F.textClass,bgClass:F.bgClass,wrapClass:F.wrapClass,widgets:F.widgets}},addLineClass:Ko(function(N,F,Q){return _o(this,N,F=="gutter"?"gutter":"class",function($){var oe=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass";if(!$[oe])$[oe]=Q;else{if(S(Q).test($[oe]))return!1;$[oe]+=" "+Q}return!0})}),removeLineClass:Ko(function(N,F,Q){return _o(this,N,F=="gutter"?"gutter":"class",function($){var oe=F=="text"?"textClass":F=="background"?"bgClass":F=="gutter"?"gutterClass":"wrapClass",Oe=$[oe];if(Oe)if(Q==null)$[oe]=null;else{var ft=Oe.match(S(Q));if(!ft)return!1;var _t=ft.index+ft[0].length;$[oe]=Oe.slice(0,ft.index)+(!ft.index||_t==Oe.length?"":" ")+Oe.slice(_t)||null}else return!1;return!0})}),addLineWidget:Ko(function(N,F,Q){return xl(this,N,F,Q)}),removeLineWidget:function(F){F.clear()},markText:function(F,Q,$){return Il(this,At(this,F),At(this,Q),$,$&&$.type||"range")},setBookmark:function(F,Q){var $={replacedWith:Q&&(Q.nodeType==null?Q.widget:Q),insertLeft:Q&&Q.insertLeft,clearWhenEmpty:!1,shared:Q&&Q.shared,handleMouseEvents:Q&&Q.handleMouseEvents};return F=At(this,F),Il(this,F,F,$,"bookmark")},findMarksAt:function(F){F=At(this,F);var Q=[],$=ke(this,F.line).markedSpans;if($)for(var oe=0;oe<$.length;++oe){var Oe=$[oe];(Oe.from==null||Oe.from<=F.ch)&&(Oe.to==null||Oe.to>=F.ch)&&Q.push(Oe.marker.parent||Oe.marker)}return Q},findMarks:function(F,Q,$){F=At(this,F),Q=At(this,Q);var oe=[],Oe=F.line;return this.iter(F.line,Q.line+1,function(ft){var _t=ft.markedSpans;if(_t)for(var Yt=0;Yt<_t.length;Yt++){var er=_t[Yt];!(er.to!=null&&Oe==F.line&&F.ch>=er.to||er.from==null&&Oe!=F.line||er.from!=null&&Oe==Q.line&&er.from>=Q.ch)&&(!$||$(er.marker))&&oe.push(er.marker.parent||er.marker)}++Oe}),oe},getAllMarks:function(){var F=[];return this.iter(function(Q){var $=Q.markedSpans;if($)for(var oe=0;oe<$.length;++oe)$[oe].from!=null&&F.push($[oe].marker)}),F},posFromIndex:function(F){var Q,$=this.first,oe=this.lineSeparator().length;return this.iter(function(Oe){var ft=Oe.text.length+oe;if(ft>F)return Q=F,!0;F-=ft,++$}),At(this,Ut($,Q))},indexFromPos:function(F){F=At(this,F);var Q=F.ch;if(F.line<this.first||F.ch<0)return 0;var $=this.lineSeparator().length;return this.iter(this.first,F.line,function(oe){Q+=oe.text.length+$}),Q},copy:function(F){var Q=new zs(Wt(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return Q.scrollTop=this.scrollTop,Q.scrollLeft=this.scrollLeft,Q.sel=this.sel,Q.extend=!1,F&&(Q.history.undoDepth=this.history.undoDepth,Q.setHistory(this.getHistory())),Q},linkedDoc:function(F){F||(F={});var Q=this.first,$=this.first+this.size;F.from!=null&&F.from>Q&&(Q=F.from),F.to!=null&&F.to<$&&($=F.to);var oe=new zs(Wt(this,Q,$),F.mode||this.modeOption,Q,this.lineSep,this.direction);return F.sharedHist&&(oe.history=this.history),(this.linked||(this.linked=[])).push({doc:oe,sharedHist:F.sharedHist}),oe.linked=[{doc:this,isParent:!0,sharedHist:F.sharedHist}],Cc(oe,ic(this)),oe},unlinkDoc:function(F){if(F instanceof dr&&(F=F.doc),this.linked)for(var Q=0;Q<this.linked.length;++Q){var $=this.linked[Q];if($.doc!=F)continue;this.linked.splice(Q,1),F.unlinkDoc(this),ac(ic(this));break}if(F.history==this.history){var oe=[F.id];xi(F,function(Oe){return oe.push(Oe.id)},!0),F.history=new Ja(null),F.history.done=Rs(this.history.done,oe),F.history.undone=Rs(this.history.undone,oe)}},iterLinkedDocs:function(F){xi(this,F)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(F){return this.lineSep?F.split(this.lineSep):Kr(F)},lineSeparator:function(){return this.lineSep||`
`},setDirection:Ko(function(N){if(N!="rtl"&&(N="ltr"),N==this.direction)return;this.direction=N,this.iter(function(F){return F.order=null}),this.cm&&ya(this.cm)})}),zs.prototype.eachLine=zs.prototype.iter;var tl=0;function ll(N){var F=this;if(sc(F),wt(F,N)||Un(F.display,N))return;Be(N),p&&(tl=+new Date);var Q=Xi(F,N,!0),$=N.dataTransfer.files;if(!Q||F.isReadOnly())return;if($&&$.length&&window.FileReader&&window.File)for(var oe=$.length,Oe=Array(oe),ft=0,_t=function(){++ft==oe&&mo(F,function(){Q=At(F.doc,Q);var Ai={from:Q,to:Q,text:F.doc.splitLines(Oe.filter(function(Ki){return Ki!=null}).join(F.doc.lineSeparator())),origin:"paste"};js(F.doc,Ai),fs(F.doc,ge(At(F.doc,Q),At(F.doc,Re(Ai))))})()},Yt=function(Ai,Ki){if(F.options.allowDropFileTypes&&W(F.options.allowDropFileTypes,Ai.type)==-1){_t();return}var Qi=new FileReader;Qi.onerror=function(){return _t()},Qi.onload=function(){var Gi=Qi.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Gi)){_t();return}Oe[Ki]=Gi,_t()},Qi.readAsText(Ai)},er=0;er<$.length;er++)Yt($[er],er);else{if(F.state.draggingText&&F.doc.sel.contains(Q)>-1){F.state.draggingText(N),setTimeout(function(){return F.display.input.focus()},20);return}try{var en=N.dataTransfer.getData("Text");if(en){var hn;if(F.state.draggingText&&!F.state.draggingText.copy&&(hn=F.listSelections()),ls(F.doc,ge(Q,Q)),hn)for(var Rn=0;Rn<hn.length;++Rn)Hs(F.doc,"",hn[Rn].anchor,hn[Rn].head,"drag");F.replaceSelection(en,"around","paste"),F.display.input.focus()}}catch(kn){}}}function Fl(N,F){if(p&&(!N.state.draggingText||+new Date-tl<100)){dt(F);return}if(wt(N,F)||Un(N.display,F))return;if(F.dataTransfer.setData("Text",N.getSelection()),F.dataTransfer.effectAllowed="copyMove",F.dataTransfer.setDragImage&&!n){var Q=T("img",null,null,"position: fixed; left: 0; top: 0;");Q.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",l&&(Q.width=Q.height=1,N.display.wrapper.appendChild(Q),Q._top=Q.offsetTop),F.dataTransfer.setDragImage(Q,0,0),l&&Q.parentNode.removeChild(Q)}}function oc(N,F){var Q=Xi(N,F);if(!Q)return;var $=document.createDocumentFragment();xa(N,Q,$),N.display.dragCursor||(N.display.dragCursor=T("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),N.display.lineSpace.insertBefore(N.display.dragCursor,N.display.cursorDiv)),x(N.display.dragCursor,$)}function sc(N){N.display.dragCursor&&(N.display.lineSpace.removeChild(N.display.dragCursor),N.display.dragCursor=null)}function Ql(N){if(!document.getElementsByClassName)return;for(var F=document.getElementsByClassName("CodeMirror"),Q=[],$=0;$<F.length;$++){var oe=F[$].CodeMirror;oe&&Q.push(oe)}Q.length&&Q[0].operation(function(){for(var Oe=0;Oe<Q.length;Oe++)N(Q[Oe])})}var Vs=!1;function lc(){if(Vs)return;cc(),Vs=!0}function cc(){var N;Te(window,"resize",function(){N==null&&(N=setTimeout(function(){N=null,Ql(Tc)},100))}),Te(window,"blur",function(){return Ql(Qa)})}function Tc(N){var F=N.display;F.cachedCharWidth=F.cachedTextHeight=F.cachedPaddingH=null,F.scrollbarsClipped=!1,N.setSize()}for(var vl={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"},Ll=0;Ll<10;Ll++)vl[Ll+48]=vl[Ll+96]=String(Ll);for(var Kl=65;Kl<=90;Kl++)vl[Kl]=String.fromCharCode(Kl);for(var Jl=1;Jl<=12;Jl++)vl[Jl+111]=vl[Jl+63235]="F"+Jl;var El={};El.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"},El.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"},El.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"},El.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"]},El.default=f?El.macDefault:El.pcDefault;function jc(N){var F=N.split(/-(?!$)/);N=F[F.length-1];for(var Q,$,oe,Oe,ft=0;ft<F.length-1;ft++){var _t=F[ft];if(/^(cmd|meta|m)$/i.test(_t))Oe=!0;else if(/^a(lt)?$/i.test(_t))Q=!0;else if(/^(c|ctrl|control)$/i.test(_t))$=!0;else if(/^s(hift)?$/i.test(_t))oe=!0;else throw new Error("Unrecognized modifier name: "+_t)}return Q&&(N="Alt-"+N),$&&(N="Ctrl-"+N),Oe&&(N="Cmd-"+N),oe&&(N="Shift-"+N),N}function Hc(N){var F={};for(var Q in N)if(N.hasOwnProperty(Q)){var $=N[Q];if(/^(name|fallthrough|(de|at)tach)$/.test(Q))continue;if($=="..."){delete N[Q];continue}for(var oe=xe(Q.split(" "),jc),Oe=0;Oe<oe.length;Oe++){var ft=void 0,_t=void 0;Oe==oe.length-1?(_t=oe.join(" "),ft=$):(_t=oe.slice(0,Oe+1).join(" "),ft="...");var Yt=F[_t];if(!Yt)F[_t]=ft;else if(Yt!=ft)throw new Error("Inconsistent bindings for "+_t)}delete N[Q]}for(var er in F)N[er]=F[er];return N}function yl(N,F,Q,$){F=Ss(F);var oe=F.call?F.call(N,$):F[N];if(oe===!1)return"nothing";if(oe==="...")return"multi";if(oe!=null&&Q(oe))return"handled";if(F.fallthrough){if(Object.prototype.toString.call(F.fallthrough)!="[object Array]")return yl(N,F.fallthrough,Q,$);for(var Oe=0;Oe<F.fallthrough.length;Oe++){var ft=yl(N,F.fallthrough[Oe],Q,$);if(ft)return ft}}}function Zl(N){var F=typeof N=="string"?N:vl[N.keyCode];return F=="Ctrl"||F=="Alt"||F=="Shift"||F=="Mod"}function uc(N,F,Q){var $=N;return F.altKey&&$!="Alt"&&(N="Alt-"+N),(v?F.metaKey:F.ctrlKey)&&$!="Ctrl"&&(N="Ctrl-"+N),(v?F.ctrlKey:F.metaKey)&&$!="Mod"&&(N="Cmd-"+N),!Q&&F.shiftKey&&$!="Shift"&&(N="Shift-"+N),N}function $l(N,F){if(l&&N.keyCode==34&&N.char)return!1;var Q=vl[N.keyCode];return Q==null||N.altGraphKey?!1:(N.keyCode==3&&N.code&&(Q=N.code),uc(Q,N,F))}function Ss(N){return typeof N=="string"?El[N]:N}function dl(N,F){for(var Q=N.doc.sel.ranges,$=[],oe=0;oe<Q.length;oe++){for(var Oe=F(Q[oe]);$.length&&pt(Oe.from,he($).to)<=0;){var ft=$.pop();if(pt(ft.from,Oe.from)<0){Oe.from=ft.from;break}}$.push(Oe)}Ho(N,function(){for(var _t=$.length-1;_t>=0;_t--)Hs(N.doc,"",$[_t].from,$[_t].to,"+delete");eo(N)})}function Ul(N,F,Q){var $=et(N.text,F+Q,Q);return $<0||$>N.text.length?null:$}function _c(N,F,Q){var $=Ul(N,F.ch,Q);return $==null?null:new Ut(F.line,$,Q<0?"after":"before")}function dc(N,F,Q,$,oe){if(N){F.doc.direction=="rtl"&&(oe=-oe);var Oe=ze(Q,F.doc.direction);if(Oe){var ft=oe<0?he(Oe):Oe[0],_t=oe<0==(ft.level==1),Yt=_t?"after":"before",er;if(ft.level>0||F.doc.direction=="rtl"){var en=mi(F,Q);er=oe<0?Q.text.length-1:0;var hn=Li(F,en,er).top;er=He(function(Rn){return Li(F,en,Rn).top==hn},oe<0==(ft.level==1)?ft.from:ft.to-1,er),Yt=="before"&&(er=Ul(Q,er,1))}else er=oe<0?ft.to:ft.from;return new Ut($,er,Yt)}}return new Ut($,oe<0?Q.text.length:0,oe<0?"before":"after")}function Wl(N,F,Q,$){var oe=ze(F,N.doc.direction);if(!oe)return _c(F,Q,$);Q.ch>=F.text.length?(Q.ch=F.text.length,Q.sticky="before"):Q.ch<=0&&(Q.ch=0,Q.sticky="after");var Oe=re(oe,Q.ch,Q.sticky),ft=oe[Oe];if(N.doc.direction=="ltr"&&ft.level%2==0&&($>0?ft.to>Q.ch:ft.from<Q.ch))return _c(F,Q,$);var _t=function(Vi,fa){return Ul(F,Vi instanceof Ut?Vi.ch:Vi,fa)},Yt,er=function(Vi){return N.options.lineWrapping?(Yt=Yt||mi(N,F),ta(N,F,Yt,Vi)):{begin:0,end:F.text.length}},en=er(Q.sticky=="before"?_t(Q,-1):Q.ch);if(N.doc.direction=="rtl"||ft.level==1){var hn=ft.level==1==$<0,Rn=_t(Q,hn?1:-1);if(Rn!=null&&(hn?Rn<=ft.to&&Rn<=en.end:Rn>=ft.from&&Rn>=en.begin)){var kn=hn?"before":"after";return new Ut(Q.line,Rn,kn)}}var Ai=function(Vi,fa,ba){for(var qa=function($o,Ms){return Ms?new Ut(Q.line,_t($o,1),"before"):new Ut(Q.line,$o,"after")};Vi>=0&&Vi<oe.length;Vi+=fa){var ka=oe[Vi],Eo=fa>0==(ka.level!=1),Wo=Eo?ba.begin:_t(ba.end,-1);if(ka.from<=Wo&&Wo<ka.to)return qa(Wo,Eo);if(Wo=Eo?ka.from:_t(ka.to,-1),ba.begin<=Wo&&Wo<ba.end)return qa(Wo,Eo)}},Ki=Ai(Oe+$,$,en);if(Ki)return Ki;var Qi=$>0?en.end:_t(en.begin,-1);return Qi!=null&&!($>0&&Qi==F.text.length)&&(Ki=Ai($>0?0:oe.length-1,$,er(Qi)),Ki)?Ki:null}var zl={selectAll:$s,singleSelection:function(F){return F.setSelection(F.getCursor("anchor"),F.getCursor("head"),Z)},killLine:function(F){return dl(F,function(Q){if(Q.empty()){var $=ke(F.doc,Q.head.line).text.length;return Q.head.ch==$&&Q.head.line<F.lastLine()?{from:Q.head,to:Ut(Q.head.line+1,0)}:{from:Q.head,to:Ut(Q.head.line,$)}}else return{from:Q.from(),to:Q.to()}})},deleteLine:function(F){return dl(F,function(Q){return{from:Ut(Q.from().line,0),to:At(F.doc,Ut(Q.to().line+1,0))}})},delLineLeft:function(F){return dl(F,function(Q){return{from:Ut(Q.from().line,0),to:Q.from()}})},delWrappedLineLeft:function(F){return dl(F,function(Q){var $=F.charCoords(Q.head,"div").top+5,oe=F.coordsChar({left:0,top:$},"div");return{from:oe,to:Q.from()}})},delWrappedLineRight:function(F){return dl(F,function(Q){var $=F.charCoords(Q.head,"div").top+5,oe=F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:$},"div");return{from:Q.from(),to:oe}})},undo:function(F){return F.undo()},redo:function(F){return F.redo()},undoSelection:function(F){return F.undoSelection()},redoSelection:function(F){return F.redoSelection()},goDocStart:function(F){return F.extendSelection(Ut(F.firstLine(),0))},goDocEnd:function(F){return F.extendSelection(Ut(F.lastLine()))},goLineStart:function(F){return F.extendSelectionsBy(function(Q){return hc(F,Q.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(F){return F.extendSelectionsBy(function(Q){return Kc(F,Q.head)},{origin:"+move",bias:1})},goLineEnd:function(F){return F.extendSelectionsBy(function(Q){return Ic(F,Q.head.line)},{origin:"+move",bias:-1})},goLineRight:function(F){return F.extendSelectionsBy(function(Q){var $=F.cursorCoords(Q.head,"div").top+5;return F.coordsChar({left:F.display.lineDiv.offsetWidth+100,top:$},"div")},Y)},goLineLeft:function(F){return F.extendSelectionsBy(function(Q){var $=F.cursorCoords(Q.head,"div").top+5;return F.coordsChar({left:0,top:$},"div")},Y)},goLineLeftSmart:function(F){return F.extendSelectionsBy(function(Q){var $=F.cursorCoords(Q.head,"div").top+5,oe=F.coordsChar({left:0,top:$},"div");return oe.ch<F.getLine(oe.line).search(/\S/)?Kc(F,Q.head):oe},Y)},goLineUp:function(F){return F.moveV(-1,"line")},goLineDown:function(F){return F.moveV(1,"line")},goPageUp:function(F){return F.moveV(-1,"page")},goPageDown:function(F){return F.moveV(1,"page")},goCharLeft:function(F){return F.moveH(-1,"char")},goCharRight:function(F){return F.moveH(1,"char")},goColumnLeft:function(F){return F.moveH(-1,"column")},goColumnRight:function(F){return F.moveH(1,"column")},goWordLeft:function(F){return F.moveH(-1,"word")},goGroupRight:function(F){return F.moveH(1,"group")},goGroupLeft:function(F){return F.moveH(-1,"group")},goWordRight:function(F){return F.moveH(1,"word")},delCharBefore:function(F){return F.deleteH(-1,"codepoint")},delCharAfter:function(F){return F.deleteH(1,"char")},delWordBefore:function(F){return F.deleteH(-1,"word")},delWordAfter:function(F){return F.deleteH(1,"word")},delGroupBefore:function(F){return F.deleteH(-1,"group")},delGroupAfter:function(F){return F.deleteH(1,"group")},indentAuto:function(F){return F.indentSelection("smart")},indentMore:function(F){return F.indentSelection("add")},indentLess:function(F){return F.indentSelection("subtract")},insertTab:function(F){return F.replaceSelection(" ")},insertSoftTab:function(F){for(var Q=[],$=F.listSelections(),oe=F.options.tabSize,Oe=0;Oe<$.length;Oe++){var ft=$[Oe].from(),_t=H(F.getLine(ft.line),ft.ch,oe);Q.push(Ce(oe-_t%oe))}F.replaceSelections(Q)},defaultTab:function(F){F.somethingSelected()?F.indentSelection("add"):F.execCommand("insertTab")},transposeChars:function(F){return Ho(F,function(){for(var Q=F.listSelections(),$=[],oe=0;oe<Q.length;oe++){if(!Q[oe].empty())continue;var Oe=Q[oe].head,ft=ke(F.doc,Oe.line).text;if(ft){if(Oe.ch==ft.length&&(Oe=new Ut(Oe.line,Oe.ch-1)),Oe.ch>0)Oe=new Ut(Oe.line,Oe.ch+1),F.replaceRange(ft.charAt(Oe.ch-1)+ft.charAt(Oe.ch-2),Ut(Oe.line,Oe.ch-2),Oe,"+transpose");else if(Oe.line>F.doc.first){var _t=ke(F.doc,Oe.line-1).text;_t&&(Oe=new Ut(Oe.line,1),F.replaceRange(ft.charAt(0)+F.doc.lineSeparator()+_t.charAt(_t.length-1),Ut(Oe.line-1,_t.length-1),Oe,"+transpose"))}}$.push(new ne(Oe,Oe))}F.setSelections($)})},newlineAndIndent:function(F){return Ho(F,function(){for(var Q=F.listSelections(),$=Q.length-1;$>=0;$--)F.replaceRange(F.doc.lineSeparator(),Q[$].anchor,Q[$].head,"+input");Q=F.listSelections();for(var oe=0;oe<Q.length;oe++)F.indentLine(Q[oe].from().line,null,!0);eo(F)})},openLine:function(F){return F.replaceSelection(`
`,"start")},toggleOverwrite:function(F){return F.toggleOverwrite()}};function hc(N,F){var Q=ke(N.doc,F),$=gn(Q);return $!=Q&&(F=Gt($)),dc(!0,N,$,F,1)}function Ic(N,F){var Q=ke(N.doc,F),$=Vr(Q);return $!=Q&&(F=Gt($)),dc(!0,N,Q,F,-1)}function Kc(N,F){var Q=hc(N,F.line),$=ke(N.doc,Q.line),oe=ze($,N.doc.direction);if(!oe||oe[0].level==0){var Oe=Math.max(Q.ch,$.text.search(/\S/)),ft=F.line==Q.line&&F.ch<=Oe&&F.ch;return Ut(Q.line,ft?0:Oe,Q.sticky)}return Q}function hl(N,F,Q){if(typeof F=="string"&&(F=zl[F],!F))return!1;N.display.input.ensurePolled();var $=N.display.shift,oe=!1;try{N.isReadOnly()&&(N.state.suppressEdits=!0),Q&&(N.display.shift=!1),oe=F(N)!=V}finally{N.display.shift=$,N.state.suppressEdits=!1}return oe}function fl(N,F,Q){for(var $=0;$<N.state.keyMaps.length;$++){var oe=yl(F,N.state.keyMaps[$],Q,N);if(oe)return oe}return N.options.extraKeys&&yl(F,N.options.extraKeys,Q,N)||yl(F,N.options.keyMap,Q,N)}var Cl=new K;function ql(N,F,Q,$){var oe=N.state.keySeq;if(oe){if(Zl(F))return"handled";if(/\'$/.test(F)?N.state.keySeq=null:Cl.set(50,function(){N.state.keySeq==oe&&(N.state.keySeq=null,N.display.input.reset())}),ec(N,oe+" "+F,Q,$))return!0}return ec(N,F,Q,$)}function ec(N,F,Q,$){var oe=fl(N,F,$);return oe=="multi"&&(N.state.keySeq=F),oe=="handled"&&zt(N,"keyHandled",N,F,Q),(oe=="handled"||oe=="multi")&&(Be(Q),ia(N)),!!oe}function bl(N,F){var Q=$l(F,!0);return Q?F.shiftKey&&!N.state.keySeq?ql(N,"Shift-"+Q,F,function($){return hl(N,$,!0)})||ql(N,Q,F,function($){if(typeof $=="string"?/^go[A-Z]/.test($):$.motion)return hl(N,$)}):ql(N,Q,F,function($){return hl(N,$)}):!1}function cl(N,F,Q){return ql(N,"'"+Q+"'",F,function($){return hl(N,$,!0)})}var fc=null;function pc(N){var F=this;if(N.target&&N.target!=F.display.input.getField())return;if(F.curOp.focus=k(),wt(F,N))return;p&&h<11&&N.keyCode==27&&(N.returnValue=!1);var Q=N.keyCode;F.display.shift=Q==16||N.shiftKey;var $=bl(F,N);l&&(fc=$?Q:null,!$&&Q==88&&!nr&&(f?N.metaKey:N.ctrlKey)&&F.replaceSelection("",null,"cut")),I&&!f&&!$&&Q==46&&N.shiftKey&&!N.ctrlKey&&document.execCommand&&document.execCommand("cut"),Q==18&&!/\bCodeMirror-crosshair\b/.test(F.display.lineDiv.className)&&Wc(F)}function Wc(N){var F=N.display.lineDiv;U(F,"CodeMirror-crosshair");function Q($){($.keyCode==18||!$.altKey)&&(y(F,"CodeMirror-crosshair"),Ue(document,"keyup",Q),Ue(document,"mouseover",Q))}Te(document,"keyup",Q),Te(document,"mouseover",Q)}function Oc(N){N.keyCode==16&&(this.doc.sel.shift=!1),wt(this,N)}function Lc(N){var F=this;if(N.target&&N.target!=F.display.input.getField())return;if(Un(F.display,N)||wt(F,N)||N.ctrlKey&&!N.altKey||f&&N.metaKey)return;var Q=N.keyCode,$=N.charCode;if(l&&Q==fc){fc=null,Be(N);return}if(l&&(!N.which||N.which<10)&&bl(F,N))return;var oe=String.fromCharCode($==null?Q:$);if(oe=="\b")return;if(cl(F,N,oe))return;F.display.input.onKeyPress(N)}var zc=400,Vl=function(F,Q,$){this.time=F,this.pos=Q,this.button=$};Vl.prototype.compare=function(N,F,Q){return this.time+zc>N&&pt(F,this.pos)==0&&Q==this.button};var pl,Nl;function Xl(N,F){var Q=+new Date;return Nl&&Nl.compare(Q,N,F)?(pl=Nl=null,"triple"):pl&&pl.compare(Q,N,F)?(Nl=new Vl(Q,N,F),pl=null,"double"):(pl=new Vl(Q,N,F),Nl=null,"single")}function jl(N){var F=this,Q=F.display;if(wt(F,N)||Q.activeTouch&&Q.input.supportsTouch())return;if(Q.input.ensurePolled(),Q.shift=N.shiftKey,Un(Q,N)){o||(Q.scroller.draggable=!1,setTimeout(function(){return Q.scroller.draggable=!0},100));return}if(Dc(F,N))return;var $=Xi(F,N),oe=de(N),Oe=$?Xl($,oe):"single";if(window.focus(),oe==1&&F.state.selectingText&&F.state.selectingText(N),$&&mc(F,oe,$,Oe,N))return;oe==1?$?Nc(F,$,Oe,N):Ve(N)==Q.scroller&&Be(N):oe==2?($&&as(F.doc,$),setTimeout(function(){return Q.input.focus()},20)):oe==3&&(b?F.display.input.onContextMenu(N):Ga(F))}function mc(N,F,Q,$,oe){var Oe="Click";return $=="double"?Oe="Double"+Oe:$=="triple"&&(Oe="Triple"+Oe),Oe=(F==1?"Left":F==2?"Middle":"Right")+Oe,ql(N,uc(Oe,oe),oe,function(ft){if(typeof ft=="string"&&(ft=zl[ft]),!ft)return!1;var _t=!1;try{N.isReadOnly()&&(N.state.suppressEdits=!0),_t=ft(N,Q)!=V}finally{N.state.suppressEdits=!1}return _t})}function Vc(N,F,Q){var $=N.getOption("configureMouse"),oe=$?$(N,F,Q):{};if(oe.unit==null){var Oe=m?Q.shiftKey&&Q.metaKey:Q.altKey;oe.unit=Oe?"rectangle":F=="single"?"char":F=="double"?"word":"line"}return(oe.extend==null||N.doc.extend)&&(oe.extend=N.doc.extend||Q.shiftKey),oe.addNew==null&&(oe.addNew=f?Q.metaKey:Q.ctrlKey),oe.moveOnDrag==null&&(oe.moveOnDrag=!(f?Q.altKey:Q.ctrlKey)),oe}function Nc(N,F,Q,$){p?setTimeout(B(lo,N),0):N.curOp.focus=k();var oe=Vc(N,Q,$),Oe=N.doc.sel,ft;N.options.dragDrop&&Ht&&!N.isReadOnly()&&Q=="single"&&(ft=Oe.contains(F))>-1&&(pt((ft=Oe.ranges[ft]).from(),F)<0||F.xRel>0)&&(pt(ft.to(),F)>0||F.xRel<0)?eu(N,$,F,oe):Xc(N,$,F,oe)}function eu(N,F,Q,$){var oe=N.display,Oe=!1,ft=mo(N,function(er){o&&(oe.scroller.draggable=!1),N.state.draggingText=!1,Ue(oe.wrapper.ownerDocument,"mouseup",ft),Ue(oe.wrapper.ownerDocument,"mousemove",_t),Ue(oe.scroller,"dragstart",Yt),Ue(oe.scroller,"drop",ft),Oe||(Be(er),$.addNew||as(N.doc,Q,null,null,$.extend),o&&!n||p&&h==9?setTimeout(function(){oe.wrapper.ownerDocument.body.focus({preventScroll:!0}),oe.input.focus()},20):oe.input.focus())}),_t=function(en){Oe=Oe||Math.abs(F.clientX-en.clientX)+Math.abs(F.clientY-en.clientY)>=10},Yt=function(){return Oe=!0};o&&(oe.scroller.draggable=!0),N.state.draggingText=ft,ft.copy=!$.moveOnDrag,oe.scroller.dragDrop&&oe.scroller.dragDrop(),Te(oe.wrapper.ownerDocument,"mouseup",ft),Te(oe.wrapper.ownerDocument,"mousemove",_t),Te(oe.scroller,"dragstart",Yt),Te(oe.scroller,"drop",ft),Ga(N),setTimeout(function(){return oe.input.focus()},20)}function Rc(N,F,Q){if(Q=="char")return new ne(F,F);if(Q=="word")return N.findWordAt(F);if(Q=="line")return new ne(Ut(F.line,0),At(N.doc,Ut(F.line+1,0)));var $=Q(N,F);return new ne($.from,$.to)}function Xc(N,F,Q,$){var oe=N.display,Oe=N.doc;Be(F);var ft,_t,Yt=Oe.sel,er=Yt.ranges;if($.addNew&&!$.extend?(_t=Oe.sel.contains(Q),_t>-1?ft=er[_t]:ft=new ne(Q,Q)):(ft=Oe.sel.primary(),_t=Oe.sel.primIndex),$.unit=="rectangle")$.addNew||(ft=new ne(Q,Q)),Q=Xi(N,F,!0,!0),_t=-1;else{var en=Rc(N,Q,$.unit);$.extend?ft=Es(ft,en.anchor,en.head,$.extend):ft=en}$.addNew?_t==-1?(_t=er.length,Lo(Oe,fe(N,er.concat([ft]),_t),{scroll:!1,origin:"*mouse"})):er.length>1&&er[_t].empty()&&$.unit=="char"&&!$.extend?(Lo(Oe,fe(N,er.slice(0,_t).concat(er.slice(_t+1)),0),{scroll:!1,origin:"*mouse"}),Yt=Oe.sel):hs(Oe,_t,ft,G):(_t=0,Lo(Oe,new mt([ft],0),G),Yt=Oe.sel);var hn=Q;function Rn(fa){if(pt(hn,fa)==0)return;if(hn=fa,$.unit=="rectangle"){for(var ba=[],qa=N.options.tabSize,ka=H(ke(Oe,Q.line).text,Q.ch,qa),Eo=H(ke(Oe,fa.line).text,fa.ch,qa),Wo=Math.min(ka,Eo),cs=Math.max(ka,Eo),$o=Math.min(Q.line,fa.line),Ms=Math.min(N.lastLine(),Math.max(Q.line,fa.line));$o<=Ms;$o++){var Qs=ke(Oe,$o).text,Cs=te(Qs,Wo,qa);Wo==cs?ba.push(new ne(Ut($o,Cs),Ut($o,Cs))):Qs.length>Cs&&ba.push(new ne(Ut($o,Cs),Ut($o,te(Qs,cs,qa))))}ba.length||ba.push(new ne(Q,Q)),Lo(Oe,fe(N,Yt.ranges.slice(0,_t).concat(ba),_t),{origin:"*mouse",scroll:!1}),N.scrollIntoView(fa)}else{var Js=ft,Bs=Rc(N,fa,$.unit),aa=Js.anchor,os;pt(Bs.anchor,aa)>0?(os=Bs.head,aa=yt(Js.from(),Bs.anchor)):(os=Bs.anchor,aa=Jt(Js.to(),Bs.head));var rs=Yt.ranges.slice(0);rs[_t]=Gc(N,new ne(At(Oe,aa),os)),Lo(Oe,fe(N,rs,_t),G)}}var kn=oe.wrapper.getBoundingClientRect(),Ai=0;function Ki(fa){var ba=++Ai,qa=Xi(N,fa,!0,$.unit=="rectangle");if(!qa)return;if(pt(qa,hn)!=0){N.curOp.focus=k(),Rn(qa);var ka=yo(oe,Oe);(qa.line>=ka.to||qa.line<ka.from)&&setTimeout(mo(N,function(){Ai==ba&&Ki(fa)}),150)}else{var Eo=fa.clientY<kn.top?-20:fa.clientY>kn.bottom?20:0;Eo&&setTimeout(mo(N,function(){if(Ai!=ba)return;oe.scroller.scrollTop+=Eo,Ki(fa)}),50)}}function Qi(fa){N.state.selectingText=!1,Ai=Infinity,fa&&(Be(fa),oe.input.focus()),Ue(oe.wrapper.ownerDocument,"mousemove",Gi),Ue(oe.wrapper.ownerDocument,"mouseup",Vi),Oe.history.lastSelOrigin=null}var Gi=mo(N,function(fa){fa.buttons===0||!de(fa)?Qi(fa):Ki(fa)}),Vi=mo(N,Qi);N.state.selectingText=Vi,Te(oe.wrapper.ownerDocument,"mousemove",Gi),Te(oe.wrapper.ownerDocument,"mouseup",Vi)}function Gc(N,F){var Q=F.anchor,$=F.head,oe=ke(N.doc,Q.line);if(pt(Q,$)==0&&Q.sticky==$.sticky)return F;var Oe=ze(oe);if(!Oe)return F;var ft=re(Oe,Q.ch,Q.sticky),_t=Oe[ft];if(_t.from!=Q.ch&&_t.to!=Q.ch)return F;var Yt=ft+(_t.from==Q.ch==(_t.level!=1)?0:1);if(Yt==0||Yt==Oe.length)return F;var er;if($.line!=Q.line)er=($.line-Q.line)*(N.doc.direction=="ltr"?1:-1)>0;else{var en=re(Oe,$.ch,$.sticky),hn=en-ft||($.ch-Q.ch)*(_t.level==1?-1:1);en==Yt-1||en==Yt?er=hn<0:er=hn>0}var Rn=Oe[Yt+(er?-1:0)],kn=er==(Rn.level==1),Ai=kn?Rn.from:Rn.to,Ki=kn?"after":"before";return Q.ch==Ai&&Q.sticky==Ki?F:new ne(new Ut(Q.line,Ai,Ki),$)}function Yc(N,F,Q,$){var oe,Oe;if(F.touches)oe=F.touches[0].clientX,Oe=F.touches[0].clientY;else try{oe=F.clientX,Oe=F.clientY}catch(Rn){return!1}if(oe>=Math.floor(N.display.gutters.getBoundingClientRect().right))return!1;$&&Be(F);var ft=N.display,_t=ft.lineDiv.getBoundingClientRect();if(Oe>_t.bottom||!xt(N,Q))return q(F);Oe-=_t.top-ft.viewOffset;for(var Yt=0;Yt<N.display.gutterSpecs.length;++Yt){var er=ft.gutters.childNodes[Yt];if(er&&er.getBoundingClientRect().right>=oe){var en=Rr(N.doc,Oe),hn=N.display.gutterSpecs[Yt];return bt(N,Q,N,en,hn.className,F),q(F)}}}function Dc(N,F){return Yc(N,F,"gutterClick",!0)}function gc(N,F){if(Un(N.display,F)||wl(N,F))return;if(wt(N,F,"contextmenu"))return;b||N.display.input.onContextMenu(F)}function wl(N,F){return xt(N,"gutterContextMenu")?Yc(N,F,"gutterContextMenu",!1):!1}function Ac(N){N.display.wrapper.className=N.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+N.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Vt(N)}var Tl={toString:function(){return"CodeMirror.Init"}},tc={},me={};function Me(N){var F=N.optionHandlers;function Q($,oe,Oe,ft){N.defaults[$]=oe,Oe&&(F[$]=ft?function(_t,Yt,er){er!=Tl&&Oe(_t,Yt,er)}:Oe)}N.defineOption=Q,N.Init=Tl,Q("value","",function($,oe){return $.setValue(oe)},!0),Q("mode",null,function($,oe){$.doc.modeOption=oe,Zr($)},!0),Q("indentUnit",2,Zr,!0),Q("indentWithTabs",!1),Q("smartIndent",!0),Q("tabSize",4,function($){Cn($),Vt($),Aa($)},!0),Q("lineSeparator",null,function($,oe){if($.doc.lineSep=oe,!oe)return;var Oe=[],ft=$.doc.first;$.doc.iter(function(Yt){for(var er=0;;){var en=Yt.text.indexOf(oe,er);if(en==-1)break;er=en+oe.length,Oe.push(Ut(ft,en))}ft++});for(var _t=Oe.length-1;_t>=0;_t--)Hs($.doc,oe,Oe[_t],Ut(Oe[_t].line,Oe[_t].ch+oe.length))}),Q("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function($,oe,Oe){$.state.specialChars=new RegExp(oe.source+(oe.test(" ")?"":"| "),"g"),Oe!=Tl&&$.refresh()}),Q("specialCharPlaceholder",hi,function($){return $.refresh()},!0),Q("electricChars",!0),Q("inputStyle",u?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),Q("spellcheck",!1,function($,oe){return $.getInputField().spellcheck=oe},!0),Q("autocorrect",!1,function($,oe){return $.getInputField().autocorrect=oe},!0),Q("autocapitalize",!1,function($,oe){return $.getInputField().autocapitalize=oe},!0),Q("rtlMoveVisually",!A),Q("wholeLineUpdateBefore",!0),Q("theme","default",function($){Ac($),ks($)},!0),Q("keyMap","default",function($,oe,Oe){var ft=Ss(oe),_t=Oe!=Tl&&Ss(Oe);_t&&_t.detach&&_t.detach($,ft),ft.attach&&ft.attach($,_t||null)}),Q("extraKeys",null),Q("configureMouse",null),Q("lineWrapping",!1,jt,!0),Q("gutters",[],function($,oe){$.display.gutterSpecs=Ls(oe,$.options.lineNumbers),ks($)},!0),Q("fixedGutter",!0,function($,oe){$.display.gutters.style.left=oe?va($.display)+"px":"0",$.refresh()},!0),Q("coverGutterNextToScrollbar",!1,function($){return _a($)},!0),Q("scrollbarStyle","native",function($){ho($),_a($),$.display.scrollbars.setScrollTop($.doc.scrollTop),$.display.scrollbars.setScrollLeft($.doc.scrollLeft)},!0),Q("lineNumbers",!1,function($,oe){$.display.gutterSpecs=Ls($.options.gutters,oe),ks($)},!0),Q("firstLineNumber",1,ks,!0),Q("lineNumberFormatter",function($){return $},ks,!0),Q("showCursorWhenSelecting",!1,Pa,!0),Q("resetSelectionOnContextMenu",!0),Q("lineWiseCopyCut",!0),Q("pasteLinesPerSelection",!0),Q("selectionsMayTouch",!1),Q("readOnly",!1,function($,oe){oe=="nocursor"&&(Qa($),$.display.input.blur()),$.display.input.readOnlyChanged(oe)}),Q("screenReaderLabel",null,function($,oe){oe=oe===""?null:oe,$.display.input.screenReaderLabelChanged(oe)}),Q("disableInput",!1,function($,oe){oe||$.display.input.reset()},!0),Q("dragDrop",!0,ht),Q("allowDropFileTypes",null),Q("cursorBlinkRate",530),Q("cursorScrollMargin",0),Q("cursorHeight",1,Pa,!0),Q("singleCursorHeightPerLine",!0,Pa,!0),Q("workTime",100),Q("workDelay",100),Q("flattenSpans",!0,Cn,!0),Q("addModeClass",!1,Cn,!0),Q("pollInterval",100),Q("undoDepth",200,function($,oe){return $.doc.history.undoDepth=oe}),Q("historyEventDelay",1250),Q("viewportMargin",10,function($){return $.refresh()},!0),Q("maxHighlightLength",1e4,Cn,!0),Q("moveInputWithCursor",!0,function($,oe){oe||$.display.input.resetPosition()}),Q("tabindex",null,function($,oe){return $.display.input.getField().tabIndex=oe||""}),Q("autofocus",null),Q("direction","ltr",function($,oe){return $.doc.setDirection(oe)},!0),Q("phrases",null)}function ht(N,F,Q){var $=Q&&Q!=Tl;if(!F!=!$){var oe=N.display.dragFunctions,Oe=F?Te:Ue;Oe(N.display.scroller,"dragstart",oe.start),Oe(N.display.scroller,"dragenter",oe.enter),Oe(N.display.scroller,"dragover",oe.over),Oe(N.display.scroller,"dragleave",oe.leave),Oe(N.display.scroller,"drop",oe.drop)}}function jt(N){N.options.lineWrapping?(U(N.display.wrapper,"CodeMirror-wrap"),N.display.sizer.style.minWidth="",N.display.sizerWidth=null):(y(N.display.wrapper,"CodeMirror-wrap"),ri(N)),Zi(N),Aa(N),Vt(N),setTimeout(function(){return _a(N)},100)}function dr(N,F){var Q=this;if(!(this instanceof dr))return new dr(N,F);this.options=F=F?j(F):{},j(tc,F,!1);var $=F.value;typeof $=="string"?$=new zs($,F.mode,null,F.lineSeparator,F.direction):F.mode&&($.modeOption=F.mode),this.doc=$;var oe=new dr.inputStyles[F.inputStyle](this),Oe=this.display=new gs(N,$,oe,F);Oe.wrapper.CodeMirror=this,Ac(this),F.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ho(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 K,keySeq:null,specialChars:null},F.autofocus&&!u&&Oe.input.focus(),p&&h<11&&setTimeout(function(){return Q.display.input.reset(!0)},20),Tr(this),lc(),Ka(this),this.curOp.forceUpdate=!0,Di(this,$),F.autofocus&&!u||this.hasFocus()?setTimeout(function(){Q.hasFocus()&&!Q.state.focused&&Ca(Q)},20):Qa(this);for(var ft in me)me.hasOwnProperty(ft)&&me[ft](this,F[ft],Tl);ol(this),F.finishInit&&F.finishInit(this);for(var _t=0;_t<Ee.length;++_t)Ee[_t](this);Go(this),o&&F.lineWrapping&&getComputedStyle(Oe.lineDiv).textRendering=="optimizelegibility"&&(Oe.lineDiv.style.textRendering="auto")}dr.defaults=tc,dr.optionHandlers=me;function Tr(N){var F=N.display;Te(F.scroller,"mousedown",mo(N,jl)),p&&h<11?Te(F.scroller,"dblclick",mo(N,function(Yt){if(wt(N,Yt))return;var er=Xi(N,Yt);if(!er||Dc(N,Yt)||Un(N.display,Yt))return;Be(Yt);var en=N.findWordAt(er);as(N.doc,en.anchor,en.head)})):Te(F.scroller,"dblclick",function(Yt){return wt(N,Yt)||Be(Yt)}),Te(F.scroller,"contextmenu",function(Yt){return gc(N,Yt)}),Te(F.input.getField(),"contextmenu",function(Yt){F.scroller.contains(Yt.target)||gc(N,Yt)});var Q,$={end:0};function oe(){F.activeTouch&&(Q=setTimeout(function(){return F.activeTouch=null},1e3),$=F.activeTouch,$.end=+new Date)}function Oe(Yt){if(Yt.touches.length!=1)return!1;var er=Yt.touches[0];return er.radiusX<=1&&er.radiusY<=1}function ft(Yt,er){if(er.left==null)return!0;var en=er.left-Yt.left,hn=er.top-Yt.top;return en*en+hn*hn>20*20}Te(F.scroller,"touchstart",function(Yt){if(!wt(N,Yt)&&!Oe(Yt)&&!Dc(N,Yt)){F.input.ensurePolled(),clearTimeout(Q);var er=+new Date;F.activeTouch={start:er,moved:!1,prev:er-$.end<=300?$:null},Yt.touches.length==1&&(F.activeTouch.left=Yt.touches[0].pageX,F.activeTouch.top=Yt.touches[0].pageY)}}),Te(F.scroller,"touchmove",function(){F.activeTouch&&(F.activeTouch.moved=!0)}),Te(F.scroller,"touchend",function(Yt){var er=F.activeTouch;if(er&&!Un(F,Yt)&&er.left!=null&&!er.moved&&new Date-er.start<300){var en=N.coordsChar(F.activeTouch,"page"),hn;!er.prev||ft(er,er.prev)?hn=new ne(en,en):!er.prev.prev||ft(er,er.prev.prev)?hn=N.findWordAt(en):hn=new ne(Ut(en.line,0),At(N.doc,Ut(en.line+1,0))),N.setSelection(hn.anchor,hn.head),N.focus(),Be(Yt)}oe()}),Te(F.scroller,"touchcancel",oe),Te(F.scroller,"scroll",function(){F.scroller.clientHeight&&(Ma(N,F.scroller.scrollTop),jo(N,F.scroller.scrollLeft,!0),bt(N,"scroll",N))}),Te(F.scroller,"mousewheel",function(Yt){return On(N,Yt)}),Te(F.scroller,"DOMMouseScroll",function(Yt){return On(N,Yt)}),Te(F.wrapper,"scroll",function(){return F.wrapper.scrollTop=F.wrapper.scrollLeft=0}),F.dragFunctions={enter:function(er){wt(N,er)||dt(er)},over:function(er){wt(N,er)||(oc(N,er),dt(er))},start:function(er){return Fl(N,er)},drop:mo(N,ll),leave:function(er){wt(N,er)||sc(N)}};var _t=F.input.getField();Te(_t,"keyup",function(Yt){return Oc.call(N,Yt)}),Te(_t,"keydown",mo(N,pc)),Te(_t,"keypress",mo(N,Lc)),Te(_t,"focus",function(Yt){return Ca(N,Yt)}),Te(_t,"blur",function(Yt){return Qa(N,Yt)})}var Ee=[];dr.defineInitHook=function(N){return Ee.push(N)};function J(N,F,Q,$){var oe=N.doc,Oe;Q==null&&(Q="add"),Q=="smart"&&(oe.mode.indent?Oe=_n(N,F).state:Q="prev");var ft=N.options.tabSize,_t=ke(oe,F),Yt=H(_t.text,null,ft);_t.stateAfter&&(_t.stateAfter=null);var er=_t.text.match(/^\s*/)[0],en;if(!$&&!/\S/.test(_t.text))en=0,Q="not";else if(Q=="smart"&&(en=oe.mode.indent(Oe,_t.text.slice(er.length),_t.text),en==V||en>150)){if(!$)return;Q="prev"}Q=="prev"?F>oe.first?en=H(ke(oe,F-1).text,null,ft):en=0:Q=="add"?en=Yt+N.options.indentUnit:Q=="subtract"?en=Yt-N.options.indentUnit:typeof Q=="number"&&(en=Yt+Q),en=Math.max(0,en);var hn="",Rn=0;if(N.options.indentWithTabs)for(var kn=Math.floor(en/ft);kn;--kn)Rn+=ft,hn+=" ";if(Rn<en&&(hn+=Ce(en-Rn)),hn!=er)return Hs(oe,hn,Ut(F,0),Ut(F,er.length),"+input"),_t.stateAfter=null,!0;for(var Ai=0;Ai<oe.sel.ranges.length;Ai++){var Ki=oe.sel.ranges[Ai];if(Ki.head.line==F&&Ki.head.ch<er.length){var Qi=Ut(F,er.length);hs(oe,Ai,new ne(Qi,Qi));break}}}var Ae=null;function Pe(N){Ae=N}function at(N,F,Q,$,oe){var Oe=N.doc;N.display.shift=!1,$||($=Oe.sel);var ft=+new Date-200,_t=oe=="paste"||N.state.pasteIncoming>ft,Yt=Kr(F),er=null;if(_t&&$.ranges.length>1)if(Ae&&Ae.text.join(`
`)==F){if($.ranges.length%Ae.text.length==0){er=[];for(var en=0;en<Ae.text.length;en++)er.push(Oe.splitLines(Ae.text[en]))}}else Yt.length==$.ranges.length&&N.options.pasteLinesPerSelection&&(er=xe(Yt,function(Gi){return[Gi]}));for(var hn=N.curOp.updateInput,Rn=$.ranges.length-1;Rn>=0;Rn--){var kn=$.ranges[Rn],Ai=kn.from(),Ki=kn.to();kn.empty()&&(Q&&Q>0?Ai=Ut(Ai.line,Ai.ch-Q):N.state.overwrite&&!_t?Ki=Ut(Ki.line,Math.min(ke(Oe,Ki.line).text.length,Ki.ch+he(Yt).length)):_t&&Ae&&Ae.lineWise&&Ae.text.join(`
`)==Yt.join(`
`)&&(Ai=Ki=Ut(Ai.line,0)));var Qi={from:Ai,to:Ki,text:er?er[Rn%er.length]:Yt,origin:oe||(_t?"paste":N.state.cutIncoming>ft?"cut":"+input")};js(N.doc,Qi),zt(N,"inputRead",N,Qi)}F&&!_t&&It(N,F),eo(N),N.curOp.updateInput<2&&(N.curOp.updateInput=hn),N.curOp.typing=!0,N.state.pasteIncoming=N.state.cutIncoming=-1}function Ct(N,F){var Q=N.clipboardData&&N.clipboardData.getData("Text");if(Q)return N.preventDefault(),!F.isReadOnly()&&!F.options.disableInput&&Ho(F,function(){return at(F,Q,0,null,"paste")}),!0}function It(N,F){if(!N.options.electricChars||!N.options.smartIndent)return;for(var Q=N.doc.sel,$=Q.ranges.length-1;$>=0;$--){var oe=Q.ranges[$];if(oe.head.ch>100||$&&Q.ranges[$-1].head.line==oe.head.line)continue;var Oe=N.getModeAt(oe.head),ft=!1;if(Oe.electricChars){for(var _t=0;_t<Oe.electricChars.length;_t++)if(F.indexOf(Oe.electricChars.charAt(_t))>-1){ft=J(N,oe.head.line,"smart");break}}else Oe.electricInput&&(Oe.electricInput.test(ke(N.doc,oe.head.line).text.slice(0,oe.head.ch))&&(ft=J(N,oe.head.line,"smart")));ft&&zt(N,"electricInput",N,oe.head.line)}}function Rt(N){for(var F=[],Q=[],$=0;$<N.doc.sel.ranges.length;$++){var oe=N.doc.sel.ranges[$].head.line,Oe={anchor:Ut(oe,0),head:Ut(oe+1,0)};Q.push(Oe),F.push(N.getRange(Oe.anchor,Oe.head))}return{text:F,ranges:Q}}function Ar(N,F,Q,$){N.setAttribute("autocorrect",Q?"":"off"),N.setAttribute("autocapitalize",$?"":"off"),N.setAttribute("spellcheck",!!F)}function Lr(){var N=T("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),F=T("div",[N],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return o?N.style.width="1000px":N.setAttribute("wrap","off"),a&&(N.style.border="1px solid black"),Ar(N),F}function mr(N){var F=N.optionHandlers,Q=N.helpers={};N.prototype={constructor:N,focus:function(){window.focus(),this.display.input.focus()},setOption:function(oe,Oe){var ft=this.options,_t=ft[oe];if(ft[oe]==Oe&&oe!="mode")return;ft[oe]=Oe,F.hasOwnProperty(oe)&&mo(this,F[oe])(this,Oe,_t),bt(this,"optionChange",this,oe)},getOption:function(oe){return this.options[oe]},getDoc:function(){return this.doc},addKeyMap:function(oe,Oe){this.state.keyMaps[Oe?"push":"unshift"](Ss(oe))},removeKeyMap:function(oe){for(var Oe=this.state.keyMaps,ft=0;ft<Oe.length;++ft)if(Oe[ft]==oe||Oe[ft].name==oe)return Oe.splice(ft,1),!0},addOverlay:es(function($,oe){var Oe=$.token?$:N.getMode(this.options,$);if(Oe.startState)throw new Error("Overlays may not be stateful.");ie(this.state.overlays,{mode:Oe,modeSpec:$,opaque:oe&&oe.opaque,priority:oe&&oe.priority||0},function(ft){return ft.priority}),this.state.modeGen++,Aa(this)}),removeOverlay:es(function($){for(var oe=this.state.overlays,Oe=0;Oe<oe.length;++Oe){var ft=oe[Oe].modeSpec;if(ft==$||typeof $=="string"&&ft.name==$){oe.splice(Oe,1),this.state.modeGen++,Aa(this);return}}}),indentLine:es(function($,oe,Oe){typeof oe!="string"&&typeof oe!="number"&&(oe==null?oe=this.options.smartIndent?"smart":"prev":oe=oe?"add":"subtract"),Pr(this.doc,$)&&J(this,$,oe,Oe)}),indentSelection:es(function($){for(var oe=this.doc.sel.ranges,Oe=-1,ft=0;ft<oe.length;ft++){var _t=oe[ft];if(_t.empty())_t.head.line>Oe&&(J(this,_t.head.line,$,!0),Oe=_t.head.line,ft==this.doc.sel.primIndex&&eo(this));else{var Yt=_t.from(),er=_t.to(),en=Math.max(Oe,Yt.line);Oe=Math.min(this.lastLine(),er.line-(er.ch?0:1))+1;for(var hn=en;hn<Oe;++hn)J(this,hn,$);var Rn=this.doc.sel.ranges;Yt.ch==0&&oe.length==Rn.length&&Rn[ft].from().ch>0&&hs(this.doc,ft,new ne(Yt,Rn[ft].to()),Z)}}}),getTokenAt:function(oe,Oe){return Pi(this,oe,Oe)},getLineTokens:function(oe,Oe){return Pi(this,Ut(oe),Oe,!0)},getTokenTypeAt:function(oe){oe=At(this.doc,oe);var Oe=Jr(this,ke(this.doc,oe.line)),ft=0,_t=(Oe.length-1)/2,Yt=oe.ch,er;if(Yt==0)er=Oe[2];else for(;;){var en=ft+_t>>1;if((en?Oe[en*2-1]:0)>=Yt)_t=en;else if(Oe[en*2+1]<Yt)ft=en+1;else{er=Oe[en*2+2];break}}var hn=er?er.indexOf("overlay "):-1;return hn<0?er:hn==0?null:er.slice(0,hn-1)},getModeAt:function(oe){var Oe=this.doc.mode;return Oe.innerMode?N.innerMode(Oe,this.getTokenAt(oe).state).mode:Oe},getHelper:function(oe,Oe){return this.getHelpers(oe,Oe)[0]},getHelpers:function(oe,Oe){var ft=[];if(!Q.hasOwnProperty(Oe))return ft;var _t=Q[Oe],Yt=this.getModeAt(oe);if(typeof Yt[Oe]=="string")_t[Yt[Oe]]&&ft.push(_t[Yt[Oe]]);else if(Yt[Oe])for(var er=0;er<Yt[Oe].length;er++){var en=_t[Yt[Oe][er]];en&&ft.push(en)}else Yt.helperType&&_t[Yt.helperType]?ft.push(_t[Yt.helperType]):_t[Yt.name]&&ft.push(_t[Yt.name]);for(var hn=0;hn<_t._global.length;hn++){var Rn=_t._global[hn];Rn.pred(Yt,this)&&W(ft,Rn.val)==-1&&ft.push(Rn.val)}return ft},getStateAfter:function(oe,Oe){var ft=this.doc;return oe=Pt(ft,oe==null?ft.first+ft.size-1:oe),_n(this,oe+1,Oe).state},cursorCoords:function(oe,Oe){var ft,_t=this.doc.sel.primary();return oe==null?ft=_t.head:typeof oe=="object"?ft=At(this.doc,oe):ft=oe?_t.from():_t.to(),yn(this,ft,Oe||"page")},charCoords:function(oe,Oe){return sn(this,At(this.doc,oe),Oe||"page")},coordsChar:function(oe,Oe){return oe=pn(this,oe,Oe||"page"),Jn(this,oe.left,oe.top)},lineAtHeight:function(oe,Oe){return oe=pn(this,{top:oe,left:0},Oe||"page").top,Rr(this.doc,oe+this.display.viewOffset)},heightAtLine:function(oe,Oe,ft){var _t=!1,Yt;if(typeof oe=="number"){var er=this.doc.first+this.doc.size-1;oe<this.doc.first?oe=this.doc.first:oe>er&&(oe=er,_t=!0),Yt=ke(this.doc,oe)}else Yt=oe;return Hr(this,Yt,{top:0,left:0},Oe||"page",ft||_t).top+(_t?this.doc.height-Qn(Yt):0)},defaultTextHeight:function(){return Ni(this.display)},defaultCharWidth:function(){return ra(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(oe,Oe,ft,_t,Yt){var er=this.display;oe=yn(this,At(this.doc,oe));var en=oe.bottom,hn=oe.left;if(Oe.style.position="absolute",Oe.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(Oe),er.sizer.appendChild(Oe),_t=="over")en=oe.top;else if(_t=="above"||_t=="near"){var Rn=Math.max(er.wrapper.clientHeight,this.doc.height),kn=Math.max(er.sizer.clientWidth,er.lineSpace.clientWidth);(_t=="above"||oe.bottom+Oe.offsetHeight>Rn)&&oe.top>Oe.offsetHeight?en=oe.top-Oe.offsetHeight:oe.bottom+Oe.offsetHeight<=Rn&&(en=oe.bottom),hn+Oe.offsetWidth>kn&&(hn=kn-Oe.offsetWidth)}Oe.style.top=en+"px",Oe.style.left=Oe.style.right="",Yt=="right"?(hn=er.sizer.clientWidth-Oe.offsetWidth,Oe.style.right="0px"):(Yt=="left"?hn=0:Yt=="middle"&&(hn=(er.sizer.clientWidth-Oe.offsetWidth)/2),Oe.style.left=hn+"px"),ft&&co(this,{left:hn,top:en,right:hn+Oe.offsetWidth,bottom:en+Oe.offsetHeight})},triggerOnKeyDown:es(pc),triggerOnKeyPress:es(Lc),triggerOnKeyUp:Oc,triggerOnMouseDown:es(jl),execCommand:function(oe){if(zl.hasOwnProperty(oe))return zl[oe].call(null,this)},triggerElectric:es(function($){It(this,$)}),findPosH:function(oe,Oe,ft,_t){var Yt=1;Oe<0&&(Yt=-1,Oe=-Oe);for(var er=At(this.doc,oe),en=0;en<Oe&&!(er=ur(this.doc,er,Yt,ft,_t),er.hitSide);++en);return er},moveH:es(function($,oe){var Oe=this;this.extendSelectionsBy(function(ft){return Oe.display.shift||Oe.doc.extend||ft.empty()?ur(Oe.doc,ft.head,$,oe,Oe.options.rtlMoveVisually):$<0?ft.from():ft.to()},Y)}),deleteH:es(function($,oe){var Oe=this.doc.sel,ft=this.doc;Oe.somethingSelected()?ft.replaceSelection("",null,"+delete"):dl(this,function(_t){var Yt=ur(ft,_t.head,$,oe,!1);return $<0?{from:Yt,to:_t.head}:{from:_t.head,to:Yt}})}),findPosV:function(oe,Oe,ft,_t){var Yt=1,er=_t;Oe<0&&(Yt=-1,Oe=-Oe);for(var en=At(this.doc,oe),hn=0;hn<Oe;++hn){var Rn=yn(this,en,"div");if(er==null?er=Rn.left:Rn.left=er,en=Cr(this,Rn,Yt,ft),en.hitSide)break}return en},moveV:es(function($,oe){var Oe=this,ft=this.doc,_t=[],Yt=!this.display.shift&&!ft.extend&&ft.sel.somethingSelected();if(ft.extendSelectionsBy(function(en){if(Yt)return $<0?en.from():en.to();var hn=yn(Oe,en.head,"div");en.goalColumn!=null&&(hn.left=en.goalColumn),_t.push(hn.left);var Rn=Cr(Oe,hn,$,oe);return oe=="page"&&en==ft.sel.primary()&&Ya(Oe,sn(Oe,Rn,"div").top-hn.top),Rn},Y),_t.length)for(var er=0;er<ft.sel.ranges.length;er++)ft.sel.ranges[er].goalColumn=_t[er]}),findWordAt:function(oe){var Oe=this.doc,ft=ke(Oe,oe.line).text,_t=oe.ch,Yt=oe.ch;if(ft){var er=this.getHelper(oe,"wordChars");(oe.sticky=="before"||Yt==ft.length)&&_t?--_t:++Yt;for(var en=ft.charAt(_t),hn=it(en,er)?function(Rn){return it(Rn,er)}:/\s/.test(en)?function(Rn){return/\s/.test(Rn)}:function(Rn){return!/\s/.test(Rn)&&!it(Rn)};_t>0&&hn(ft.charAt(_t-1));)--_t;for(;Yt<ft.length&&hn(ft.charAt(Yt));)++Yt}return new ne(Ut(oe.line,_t),Ut(oe.line,Yt))},toggleOverwrite:function(oe){if(oe!=null&&oe==this.state.overwrite)return;(this.state.overwrite=!this.state.overwrite)?U(this.display.cursorDiv,"CodeMirror-overwrite"):y(this.display.cursorDiv,"CodeMirror-overwrite"),bt(this,"overwriteToggle",this,this.state.overwrite)},hasFocus:function(){return this.display.input.getField()==k()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:es(function($,oe){wa(this,$,oe)}),getScrollInfo:function(){var oe=this.display.scroller;return{left:oe.scrollLeft,top:oe.scrollTop,height:oe.scrollHeight-Kn(this)-this.display.barHeight,width:oe.scrollWidth-Kn(this)-this.display.barWidth,clientHeight:ni(this),clientWidth:Yn(this)}},scrollIntoView:es(function($,oe){$==null?($={from:this.doc.sel.primary().head,to:null},oe==null&&(oe=this.options.cursorScrollMargin)):typeof $=="number"?$={from:Ut($,0),to:null}:$.from==null&&($={from:$,to:null}),$.to||($.to=$.from),$.margin=oe||0,$.from.line!=null?ro(this,$):ki(this,$.from,$.to,$.margin)}),setSize:es(function($,oe){var Oe=this,ft=function(er){return typeof er=="number"||/^\d+$/.test(String(er))?er+"px":er};$!=null&&(this.display.wrapper.style.width=ft($)),oe!=null&&(this.display.wrapper.style.height=ft(oe)),this.options.lineWrapping&&_r(this);var _t=this.display.viewFrom;this.doc.iter(_t,this.display.viewTo,function(Yt){if(Yt.widgets){for(var er=0;er<Yt.widgets.length;er++)if(Yt.widgets[er].noHScroll){Ti(Oe,_t,"widget");break}}++_t}),this.curOp.forceUpdate=!0,bt(this,"refresh",this)}),operation:function(oe){return Ho(this,oe)},startOperation:function(){return Ka(this)},endOperation:function(){return Go(this)},refresh:es(function(){var $=this.display.cachedTextHeight;Aa(this),this.curOp.forceUpdate=!0,Vt(this),wa(this,this.doc.scrollLeft,this.doc.scrollTop),ys(this.display),($==null||Math.abs($-Ni(this.display))>.5||this.options.lineWrapping)&&Zi(this),bt(this,"refresh",this)}),swapDoc:es(function($){var oe=this.doc;return oe.cm=null,this.state.selectingText&&this.state.selectingText(),Di(this,$),Vt(this),this.display.input.reset(),wa(this,$.scrollLeft,$.scrollTop),this.curOp.forceScroll=!0,zt(this,"swapDoc",this,oe),oe}),phrase:function(oe){var Oe=this.options.phrases;return Oe&&Object.prototype.hasOwnProperty.call(Oe,oe)?Oe[oe]:oe},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}},Tt(N),N.registerHelper=function($,oe,Oe){Q.hasOwnProperty($)||(Q[$]=N[$]={_global:[]}),Q[$][oe]=Oe},N.registerGlobalHelper=function($,oe,Oe,ft){N.registerHelper($,oe,ft),Q[$]._global.push({pred:Oe,val:ft})}}function ur(N,F,Q,$,oe){var Oe=F,ft=Q,_t=ke(N,F.line),Yt=oe&&N.direction=="rtl"?-Q:Q;function er(){var Vi=F.line+Yt;return Vi<N.first||Vi>=N.first+N.size?!1:(F=new Ut(Vi,F.ch,F.sticky),_t=ke(N,Vi))}function en(Vi){var fa;if($=="codepoint"){var ba=_t.text.charCodeAt(F.ch+($>0?0:-1));isNaN(ba)?fa=null:fa=new Ut(F.line,Math.max(0,Math.min(_t.text.length,F.ch+Q*(ba>=55296&&ba<56320?2:1))),-Q)}else oe?fa=Wl(N.cm,_t,F,Q):fa=_c(_t,F,Q);if(fa==null)if(!Vi&&er())F=dc(oe,N.cm,_t,F.line,Yt);else return!1;else F=fa;return!0}if($=="char"||$=="codepoint")en();else if($=="column")en(!0);else if($=="word"||$=="group")for(var hn=null,Rn=$=="group",kn=N.cm&&N.cm.getHelper(F,"wordChars"),Ai=!0;!(Q<0&&!en(!Ai));Ai=!1){var Ki=_t.text.charAt(F.ch)||`
`,Qi=it(Ki,kn)?"w":Rn&&Ki==`
`?"n":!Rn||/\s/.test(Ki)?null:"p";if(Rn&&!Ai&&!Qi&&(Qi="s"),hn&&hn!=Qi){Q<0&&(Q=1,en(),F.sticky="after");break}if(Qi&&(hn=Qi),Q>0&&!en(!Ai))break}var Gi=Ds(N,F,Oe,ft,!0);return ct(Oe,Gi)&&(Gi.hitSide=!0),Gi}function Cr(N,F,Q,$){var oe=N.doc,Oe=F.left,ft;if($=="page"){var _t=Math.min(N.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),Yt=Math.max(_t-.5*Ni(N.display),3);ft=(Q>0?F.bottom:F.top)+Q*Yt}else $=="line"&&(ft=Q>0?F.bottom+3:F.top-3);for(var er;!(er=Jn(N,Oe,ft),!er.outside);){if(Q<0?ft<=0:ft>=oe.height){er.hitSide=!0;break}ft+=Q*5}return er}var Br=function(F){this.cm=F,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new K,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Br.prototype.init=function(N){var F=this,Q=this,$=Q.cm,oe=Q.div=N.lineDiv;Ar(oe,$.options.spellcheck,$.options.autocorrect,$.options.autocapitalize);function Oe(_t){for(var Yt=_t.target;Yt;Yt=Yt.parentNode){if(Yt==oe)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Yt.className))break}return!1}Te(oe,"paste",function(_t){if(!Oe(_t)||wt($,_t)||Ct(_t,$))return;h<=11&&setTimeout(mo($,function(){return F.updateFromDOM()}),20)}),Te(oe,"compositionstart",function(_t){F.composing={data:_t.data,done:!1}}),Te(oe,"compositionupdate",function(_t){F.composing||(F.composing={data:_t.data,done:!1})}),Te(oe,"compositionend",function(_t){F.composing&&(_t.data!=F.composing.data&&F.readFromDOMSoon(),F.composing.done=!0)}),Te(oe,"touchstart",function(){return Q.forceCompositionEnd()}),Te(oe,"input",function(){F.composing||F.readFromDOMSoon()});function ft(_t){if(!Oe(_t)||wt($,_t))return;if($.somethingSelected())Pe({lineWise:!1,text:$.getSelections()}),_t.type=="cut"&&$.replaceSelection("",null,"cut");else if($.options.lineWiseCopyCut){var Yt=Rt($);Pe({lineWise:!0,text:Yt.text}),_t.type=="cut"&&$.operation(function(){$.setSelections(Yt.ranges,0,Z),$.replaceSelection("",null,"cut")})}else return;if(_t.clipboardData){_t.clipboardData.clearData();var er=Ae.text.join(`
`);if(_t.clipboardData.setData("Text",er),_t.clipboardData.getData("Text")==er){_t.preventDefault();return}}var en=Lr(),hn=en.firstChild;$.display.lineSpace.insertBefore(en,$.display.lineSpace.firstChild),hn.value=Ae.text.join(`
`);var Rn=document.activeElement;M(hn),setTimeout(function(){$.display.lineSpace.removeChild(en),Rn.focus(),Rn==oe&&Q.showPrimarySelection()},50)}Te(oe,"copy",ft),Te(oe,"cut",ft)},Br.prototype.screenReaderLabelChanged=function(N){N?this.div.setAttribute("aria-label",N):this.div.removeAttribute("aria-label")},Br.prototype.prepareSelection=function(){var N=za(this.cm,!1);return N.focus=document.activeElement==this.div,N},Br.prototype.showSelection=function(N,F){if(!N||!this.cm.display.view.length)return;(N.focus||F)&&this.showPrimarySelection(),this.showMultipleSelections(N)},Br.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Br.prototype.showPrimarySelection=function(){var N=this.getSelection(),F=this.cm,Q=F.doc.sel.primary(),$=Q.from(),oe=Q.to();if(F.display.viewTo==F.display.viewFrom||$.line>=F.display.viewTo||oe.line<F.display.viewFrom){N.removeAllRanges();return}var Oe=di(F,N.anchorNode,N.anchorOffset),ft=di(F,N.focusNode,N.focusOffset);if(Oe&&!Oe.bad&&ft&&!ft.bad&&pt(yt(Oe,ft),$)==0&&pt(Jt(Oe,ft),oe)==0)return;var _t=F.display.view,Yt=$.line>=F.display.viewFrom&&an(F,$)||{node:_t[0].measure.map[2],offset:0},er=oe.line<F.display.viewTo&&an(F,oe);if(!er){var en=_t[_t.length-1].measure,hn=en.maps?en.maps[en.maps.length-1]:en.map;er={node:hn[hn.length-1],offset:hn[hn.length-2]-hn[hn.length-3]}}if(!Yt||!er){N.removeAllRanges();return}var Rn=N.rangeCount&&N.getRangeAt(0),kn;try{kn=R(Yt.node,Yt.offset,er.offset,er.node)}catch(Ai){}kn&&(!I&&F.state.focused?(N.collapse(Yt.node,Yt.offset),kn.collapsed||(N.removeAllRanges(),N.addRange(kn))):(N.removeAllRanges(),N.addRange(kn)),Rn&&N.anchorNode==null?N.addRange(Rn):I&&this.startGracePeriod()),this.rememberSelection()},Br.prototype.startGracePeriod=function(){var N=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){N.gracePeriod=!1,N.selectionChanged()&&N.cm.operation(function(){return N.cm.curOp.selectionChanged=!0})},20)},Br.prototype.showMultipleSelections=function(N){x(this.cm.display.cursorDiv,N.cursors),x(this.cm.display.selectionDiv,N.selection)},Br.prototype.rememberSelection=function(){var N=this.getSelection();this.lastAnchorNode=N.anchorNode,this.lastAnchorOffset=N.anchorOffset,this.lastFocusNode=N.focusNode,this.lastFocusOffset=N.focusOffset},Br.prototype.selectionInEditor=function(){var N=this.getSelection();if(!N.rangeCount)return!1;var F=N.getRangeAt(0).commonAncestorContainer;return P(this.div,F)},Br.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Br.prototype.blur=function(){this.div.blur()},Br.prototype.getField=function(){return this.div},Br.prototype.supportsTouch=function(){return!0},Br.prototype.receivedFocus=function(){var N=this;this.selectionInEditor()?this.pollSelection():Ho(this.cm,function(){return N.cm.curOp.selectionChanged=!0});function F(){N.cm.state.focused&&(N.pollSelection(),N.polling.set(N.cm.options.pollInterval,F))}this.polling.set(this.cm.options.pollInterval,F)},Br.prototype.selectionChanged=function(){var N=this.getSelection();return N.anchorNode!=this.lastAnchorNode||N.anchorOffset!=this.lastAnchorOffset||N.focusNode!=this.lastFocusNode||N.focusOffset!=this.lastFocusOffset},Br.prototype.pollSelection=function(){if(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())return;var N=this.getSelection(),F=this.cm;if(i&&s&&this.cm.display.gutterSpecs.length&&jn(N.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(this.composing)return;this.rememberSelection();var Q=di(F,N.anchorNode,N.anchorOffset),$=di(F,N.focusNode,N.focusOffset);Q&&$&&Ho(F,function(){Lo(F.doc,ge(Q,$),Z),(Q.bad||$.bad)&&(F.curOp.selectionChanged=!0)})},Br.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var N=this.cm,F=N.display,Q=N.doc.sel.primary(),$=Q.from(),oe=Q.to();if($.ch==0&&$.line>N.firstLine()&&($=Ut($.line-1,ke(N.doc,$.line-1).length)),oe.ch==ke(N.doc,oe.line).text.length&&oe.line<N.lastLine()&&(oe=Ut(oe.line+1,0)),$.line<F.viewFrom||oe.line>F.viewTo-1)return!1;var Oe,ft,_t;$.line==F.viewFrom||(Oe=La(N,$.line))==0?(ft=Gt(F.view[0].line),_t=F.view[0].node):(ft=Gt(F.view[Oe].line),_t=F.view[Oe-1].node.nextSibling);var Yt=La(N,oe.line),er,en;if(Yt==F.view.length-1?(er=F.viewTo-1,en=F.lineDiv.lastChild):(er=Gt(F.view[Yt+1].line)-1,en=F.view[Yt+1].node.previousSibling),!_t)return!1;for(var hn=N.doc.splitLines(Ei(N,_t,en,ft,er)),Rn=rt(N.doc,Ut(ft,0),Ut(er,ke(N.doc,er).text.length));hn.length>1&&Rn.length>1;)if(he(hn)==he(Rn))hn.pop(),Rn.pop(),er--;else if(hn[0]==Rn[0])hn.shift(),Rn.shift(),ft++;else break;for(var kn=0,Ai=0,Ki=hn[0],Qi=Rn[0],Gi=Math.min(Ki.length,Qi.length);kn<Gi&&Ki.charCodeAt(kn)==Qi.charCodeAt(kn);)++kn;for(var Vi=he(hn),fa=he(Rn),ba=Math.min(Vi.length-(hn.length==1?kn:0),fa.length-(Rn.length==1?kn:0));Ai<ba&&Vi.charCodeAt(Vi.length-Ai-1)==fa.charCodeAt(fa.length-Ai-1);)++Ai;if(hn.length==1&&Rn.length==1&&ft==$.line)for(;kn&&kn>$.ch&&Vi.charCodeAt(Vi.length-Ai-1)==fa.charCodeAt(fa.length-Ai-1);)kn--,Ai++;hn[hn.length-1]=Vi.slice(0,Vi.length-Ai).replace(/^\u200b+/,""),hn[0]=hn[0].slice(kn).replace(/\u200b+$/,"");var qa=Ut(ft,kn),ka=Ut(er,Rn.length?he(Rn).length-Ai:0);if(hn.length>1||hn[0]||pt(qa,ka))return Hs(N.doc,hn,qa,ka,"+input"),!0},Br.prototype.ensurePolled=function(){this.forceCompositionEnd()},Br.prototype.reset=function(){this.forceCompositionEnd()},Br.prototype.forceCompositionEnd=function(){if(!this.composing)return;clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus()},Br.prototype.readFromDOMSoon=function(){var N=this;if(this.readDOMTimeout!=null)return;this.readDOMTimeout=setTimeout(function(){if(N.readDOMTimeout=null,N.composing)if(N.composing.done)N.composing=null;else return;N.updateFromDOM()},80)},Br.prototype.updateFromDOM=function(){var N=this;(this.cm.isReadOnly()||!this.pollContent())&&Ho(this.cm,function(){return Aa(N.cm)})},Br.prototype.setUneditable=function(N){N.contentEditable="false"},Br.prototype.onKeyPress=function(N){if(N.charCode==0||this.composing)return;N.preventDefault(),this.cm.isReadOnly()||mo(this.cm,at)(this.cm,String.fromCharCode(N.charCode==null?N.keyCode:N.charCode),0)},Br.prototype.readOnlyChanged=function(N){this.div.contentEditable=String(N!="nocursor")},Br.prototype.onContextMenu=function(){},Br.prototype.resetPosition=function(){},Br.prototype.needsContentAttribute=!0;function an(N,F){var Q=Si(N,F.line);if(!Q||Q.hidden)return null;var $=ke(N.doc,F.line),oe=li(Q,$,F.line),Oe=ze($,N.doc.direction),ft="left";if(Oe){var _t=re(Oe,F.ch);ft=_t%2?"right":"left"}var Yt=Ri(oe.map,F.ch,ft);return Yt.offset=Yt.collapse=="right"?Yt.end:Yt.start,Yt}function jn(N){for(var F=N;F;F=F.parentNode)if(/CodeMirror-gutter-wrapper/.test(F.className))return!0;return!1}function Vn(N,F){return F&&(N.bad=!0),N}function Ei(N,F,Q,$,oe){var Oe="",ft=!1,_t=N.doc.lineSeparator(),Yt=!1;function er(kn){return function(Ai){return Ai.id==kn}}function en(){ft&&(Oe+=_t,Yt&&(Oe+=_t),ft=Yt=!1)}function hn(kn){kn&&(en(),Oe+=kn)}function Rn(kn){if(kn.nodeType==1){var Ai=kn.getAttribute("cm-text");if(Ai){hn(Ai);return}var Ki=kn.getAttribute("cm-marker"),Qi;if(Ki){var Gi=N.findMarks(Ut($,0),Ut(oe+1,0),er(+Ki));Gi.length&&(Qi=Gi[0].find(0))&&hn(rt(N.doc,Qi.from,Qi.to).join(_t));return}if(kn.getAttribute("contenteditable")=="false")return;var Vi=/^(pre|div|p|li|table|br)$/i.test(kn.nodeName);if(!/^br$/i.test(kn.nodeName)&&kn.textContent.length==0)return;Vi&&en();for(var fa=0;fa<kn.childNodes.length;fa++)Rn(kn.childNodes[fa]);/^(pre|p)$/i.test(kn.nodeName)&&(Yt=!0),Vi&&(ft=!0)}else kn.nodeType==3&&hn(kn.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;!(Rn(F),F==Q);)F=F.nextSibling,Yt=!1;return Oe}function di(N,F,Q){var $;if(F==N.display.lineDiv){if($=N.display.lineDiv.childNodes[Q],!$)return Vn(N.clipPos(Ut(N.display.viewTo-1)),!0);F=null,Q=0}else for($=F;;$=$.parentNode){if(!$||$==N.display.lineDiv)return null;if($.parentNode&&$.parentNode==N.display.lineDiv)break}for(var oe=0;oe<N.display.view.length;oe++){var Oe=N.display.view[oe];if(Oe.node==$)return ua(Oe,F,Q)}}function ua(N,F,Q){var $=N.text.firstChild,oe=!1;if(!F||!P($,F))return Vn(Ut(Gt(N.line),0),!0);if(F==$&&(oe=!0,F=$.childNodes[Q],Q=0,!F)){var Oe=N.rest?he(N.rest):N.line;return Vn(Ut(Gt(Oe),Oe.text.length),oe)}var ft=F.nodeType==3?F:null,_t=F;for(!ft&&F.childNodes.length==1&&F.firstChild.nodeType==3&&(ft=F.firstChild,Q&&(Q=ft.nodeValue.length));_t.parentNode!=$;)_t=_t.parentNode;var Yt=N.measure,er=Yt.maps;function en(Qi,Gi,Vi){for(var fa=-1;fa<(er?er.length:0);fa++)for(var ba=fa<0?Yt.map:er[fa],qa=0;qa<ba.length;qa+=3){var ka=ba[qa+2];if(ka==Qi||ka==Gi){var Eo=Gt(fa<0?N.line:N.rest[fa]),Wo=ba[qa]+Vi;return(Vi<0||ka!=Qi)&&(Wo=ba[qa+(Vi?1:0)]),Ut(Eo,Wo)}}}var hn=en(ft,_t,Q);if(hn)return Vn(hn,oe);for(var Rn=_t.nextSibling,kn=ft?ft.nodeValue.length-Q:0;Rn;Rn=Rn.nextSibling){if(hn=en(Rn,Rn.firstChild,0),hn)return Vn(Ut(hn.line,hn.ch-kn),oe);kn+=Rn.textContent.length}for(var Ai=_t.previousSibling,Ki=Q;Ai;Ai=Ai.previousSibling){if(hn=en(Ai,Ai.firstChild,-1),hn)return Vn(Ut(hn.line,hn.ch+Ki),oe);Ki+=Ai.textContent.length}}var ji=function(F){this.cm=F,this.prevInput="",this.pollingFast=!1,this.polling=new K,this.hasSelection=!1,this.composing=null};ji.prototype.init=function(N){var F=this,Q=this,$=this.cm;this.createField(N);var oe=this.textarea;N.wrapper.insertBefore(this.wrapper,N.wrapper.firstChild),a&&(oe.style.width="0px"),Te(oe,"input",function(){p&&h>=9&&F.hasSelection&&(F.hasSelection=null),Q.poll()}),Te(oe,"paste",function(ft){if(wt($,ft)||Ct(ft,$))return;$.state.pasteIncoming=+new Date,Q.fastPoll()});function Oe(ft){if(wt($,ft))return;if($.somethingSelected())Pe({lineWise:!1,text:$.getSelections()});else if($.options.lineWiseCopyCut){var _t=Rt($);Pe({lineWise:!0,text:_t.text}),ft.type=="cut"?$.setSelections(_t.ranges,null,Z):(Q.prevInput="",oe.value=_t.text.join(`
`),M(oe))}else return;ft.type=="cut"&&($.state.cutIncoming=+new Date)}Te(oe,"cut",Oe),Te(oe,"copy",Oe),Te(N.scroller,"paste",function(ft){if(Un(N,ft)||wt($,ft))return;if(!oe.dispatchEvent){$.state.pasteIncoming=+new Date,Q.focus();return}var _t=new Event("paste");_t.clipboardData=ft.clipboardData,oe.dispatchEvent(_t)}),Te(N.lineSpace,"selectstart",function(ft){Un(N,ft)||Be(ft)}),Te(oe,"compositionstart",function(){var ft=$.getCursor("from");Q.composing&&Q.composing.range.clear(),Q.composing={start:ft,range:$.markText(ft,$.getCursor("to"),{className:"CodeMirror-composing"})}}),Te(oe,"compositionend",function(){Q.composing&&(Q.poll(),Q.composing.range.clear(),Q.composing=null)})},ji.prototype.createField=function(N){this.wrapper=Lr(),this.textarea=this.wrapper.firstChild},ji.prototype.screenReaderLabelChanged=function(N){N?this.textarea.setAttribute("aria-label",N):this.textarea.removeAttribute("aria-label")},ji.prototype.prepareSelection=function(){var N=this.cm,F=N.display,Q=N.doc,$=za(N);if(N.options.moveInputWithCursor){var oe=yn(N,Q.sel.primary().head,"div"),Oe=F.wrapper.getBoundingClientRect(),ft=F.lineDiv.getBoundingClientRect();$.teTop=Math.max(0,Math.min(F.wrapper.clientHeight-10,oe.top+ft.top-Oe.top)),$.teLeft=Math.max(0,Math.min(F.wrapper.clientWidth-10,oe.left+ft.left-Oe.left))}return $},ji.prototype.showSelection=function(N){var F=this.cm,Q=F.display;x(Q.cursorDiv,N.cursors),x(Q.selectionDiv,N.selection),N.teTop!=null&&(this.wrapper.style.top=N.teTop+"px",this.wrapper.style.left=N.teLeft+"px")},ji.prototype.reset=function(N){if(this.contextMenuPending||this.composing)return;var F=this.cm;if(F.somethingSelected()){this.prevInput="";var Q=F.getSelection();this.textarea.value=Q,F.state.focused&&M(this.textarea),p&&h>=9&&(this.hasSelection=Q)}else N||(this.prevInput=this.textarea.value="",p&&h>=9&&(this.hasSelection=null))},ji.prototype.getField=function(){return this.textarea},ji.prototype.supportsTouch=function(){return!1},ji.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!u||k()!=this.textarea))try{this.textarea.focus()}catch(N){}},ji.prototype.blur=function(){this.textarea.blur()},ji.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},ji.prototype.receivedFocus=function(){this.slowPoll()},ji.prototype.slowPoll=function(){var N=this;if(this.pollingFast)return;this.polling.set(this.cm.options.pollInterval,function(){N.poll(),N.cm.state.focused&&N.slowPoll()})},ji.prototype.fastPoll=function(){var N=!1,F=this;F.pollingFast=!0;function Q(){var $=F.poll();!$&&!N?(N=!0,F.polling.set(60,Q)):(F.pollingFast=!1,F.slowPoll())}F.polling.set(20,Q)},ji.prototype.poll=function(){var N=this,F=this.cm,Q=this.textarea,$=this.prevInput;if(this.contextMenuPending||!F.state.focused||rr(Q)&&!$&&!this.composing||F.isReadOnly()||F.options.disableInput||F.state.keySeq)return!1;var oe=Q.value;if(oe==$&&!F.somethingSelected())return!1;if(p&&h>=9&&this.hasSelection===oe||f&&/[\uf700-\uf7ff]/.test(oe))return F.display.input.reset(),!1;if(F.doc.sel==F.display.selForContextMenu){var Oe=oe.charCodeAt(0);if(Oe==8203&&!$&&($="\u200B"),Oe==8666)return this.reset(),this.cm.execCommand("undo")}for(var ft=0,_t=Math.min($.length,oe.length);ft<_t&&$.charCodeAt(ft)==oe.charCodeAt(ft);)++ft;return Ho(F,function(){at(F,oe.slice(ft),$.length-ft,null,N.composing?"*compose":null),oe.length>1e3||oe.indexOf(`
`)>-1?Q.value=N.prevInput="":N.prevInput=oe,N.composing&&(N.composing.range.clear(),N.composing.range=F.markText(N.composing.start,F.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},ji.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},ji.prototype.onKeyPress=function(){p&&h>=9&&(this.hasSelection=null),this.fastPoll()},ji.prototype.onContextMenu=function(N){var F=this,Q=F.cm,$=Q.display,oe=F.textarea;F.contextMenuPending&&F.contextMenuPending();var Oe=Xi(Q,N),ft=$.scroller.scrollTop;if(!Oe||l)return;var _t=Q.options.resetSelectionOnContextMenu;_t&&Q.doc.sel.contains(Oe)==-1&&mo(Q,Lo)(Q.doc,ge(Oe),Z);var Yt=oe.style.cssText,er=F.wrapper.style.cssText,en=F.wrapper.offsetParent.getBoundingClientRect();F.wrapper.style.cssText="position: static",oe.style.cssText=`position: absolute; width: 30px; height: 30px;
top: `+(N.clientY-en.top-5)+"px; left: "+(N.clientX-en.left-5)+`px;
z-index: 1000; background: `+(p?"rgba(255, 255, 255, .05)":"transparent")+`;
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var hn;o&&(hn=window.scrollY),$.input.focus(),o&&window.scrollTo(null,hn),$.input.reset(),Q.somethingSelected()||(oe.value=F.prevInput=" "),F.contextMenuPending=kn,$.selForContextMenu=Q.doc.sel,clearTimeout($.detectingSelectAll);function Rn(){if(oe.selectionStart!=null){var Ki=Q.somethingSelected(),Qi="\u200B"+(Ki?oe.value:"");oe.value="\u21DA",oe.value=Qi,F.prevInput=Ki?"":"\u200B",oe.selectionStart=1,oe.selectionEnd=Qi.length,$.selForContextMenu=Q.doc.sel}}function kn(){if(F.contextMenuPending!=kn)return;if(F.contextMenuPending=!1,F.wrapper.style.cssText=er,oe.style.cssText=Yt,p&&h<9&&$.scrollbars.setScrollTop($.scroller.scrollTop=ft),oe.selectionStart!=null){(!p||p&&h<9)&&Rn();var Ki=0,Qi=function Gi(){$.selForContextMenu==Q.doc.sel&&oe.selectionStart==0&&oe.selectionEnd>0&&F.prevInput=="\u200B"?mo(Q,$s)(Q):Ki++<10?$.detectingSelectAll=setTimeout(Gi,500):($.selForContextMenu=null,$.input.reset())};$.detectingSelectAll=setTimeout(Qi,200)}}if(p&&h>=9&&Rn(),b){dt(N);var Ai=function Ki(){Ue(window,"mouseup",Ki),setTimeout(kn,20)};Te(window,"mouseup",Ai)}else setTimeout(kn,50)},ji.prototype.readOnlyChanged=function(N){N||this.reset(),this.textarea.disabled=N=="nocursor",this.textarea.readOnly=!!N},ji.prototype.setUneditable=function(){},ji.prototype.needsContentAttribute=!1;function Ta(N,F){if(F=F?j(F):{},F.value=N.value,!F.tabindex&&N.tabIndex&&(F.tabindex=N.tabIndex),!F.placeholder&&N.placeholder&&(F.placeholder=N.placeholder),F.autofocus==null){var Q=k();F.autofocus=Q==N||N.getAttribute("autofocus")!=null&&Q==document.body}function $(){N.value=_t.getValue()}var oe;if(N.form&&(Te(N.form,"submit",$),!F.leaveSubmitMethodAlone)){var Oe=N.form;oe=Oe.submit;try{var ft=Oe.submit=function(){$(),Oe.submit=oe,Oe.submit(),Oe.submit=ft}}catch(Yt){}}F.finishInit=function(Yt){Yt.save=$,Yt.getTextArea=function(){return N},Yt.toTextArea=function(){Yt.toTextArea=isNaN,$(),N.parentNode.removeChild(Yt.getWrapperElement()),N.style.display="",N.form&&(Ue(N.form,"submit",$),!F.leaveSubmitMethodAlone&&typeof N.form.submit=="function"&&(N.form.submit=oe))}},N.style.display="none";var _t=dr(function(Yt){return N.parentNode.insertBefore(Yt,N.nextSibling)},F);return _t}function ha(N){N.off=Ue,N.on=Te,N.wheelEventPixels=rn,N.Doc=zs,N.splitLines=Kr,N.countColumn=H,N.findColumn=te,N.isWordChar=Ne,N.Pass=V,N.signal=bt,N.Line=Mi,N.changeEnd=Re,N.scrollbarModel=ds,N.Pos=Ut,N.cmpPos=pt,N.modes=Qe,N.mimeModes=qt,N.resolveMode=fr,N.getMode=An,N.modeExtensions=$r,N.extendMode=Ln,N.copyState=$e,N.startState=ve,N.innerMode=tt,N.commands=zl,N.keyMap=El,N.keyName=$l,N.isModifierKey=Zl,N.lookupKey=yl,N.normalizeKeyMap=Hc,N.StringStream=_e,N.SharedTextMarker=Ol,N.TextMarker=el,N.LineWidget=Ws,N.e_preventDefault=Be,N.e_stopPropagation=ce,N.e_stop=dt,N.addClass=U,N.contains=P,N.rmClass=y,N.keyNames=vl}Me(dr),mr(dr);var Za="iter insert remove copy getEditor constructor".split(" ");for(var po in zs.prototype)zs.prototype.hasOwnProperty(po)&&W(Za,po)<0&&(dr.prototype[po]=function(N){return function(){return N.apply(this.doc,arguments)}}(zs.prototype[po]));return Tt(zs),dr.inputStyles={textarea:ji,contenteditable:Br},dr.defineMode=function(N){!dr.defaults.mode&&N!="null"&&(dr.defaults.mode=N),xr.apply(this,arguments)},dr.defineMIME=vr,dr.defineMode("null",function(){return{token:function(F){return F.skipToEnd()}}}),dr.defineMIME("text/plain","null"),dr.defineExtension=function(N,F){dr.prototype[N]=F},dr.defineDocExtension=function(N,F){zs.prototype[N]=F},dr.fromTextArea=Ta,ha(dr),dr.version="5.58.2",dr})},Vy0f:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("iYpf"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},W2nI:function(ue,z,d){var O=d("IwbS"),_=d("ProS"),I=d("bYtY"),E=["itemStyle","opacity"],C=["emphasis","itemStyle","opacity"],t=["lineStyle","opacity"],p=["emphasis","lineStyle","opacity"];function h(c,e){return c.getVisual("opacity")||c.getModel().get(e)}function o(c,e,a){var i=c.getGraphicEl(),u=h(c,e);a!=null&&(u==null&&(u=1),u*=a),i.downplay&&i.downplay(),i.traverse(function(f){f.type!=="group"&&f.setStyle("opacity",u)})}function r(c,e){var a=h(c,e),i=c.getGraphicEl();i.traverse(function(u){u.type!=="group"&&u.setStyle("opacity",a)}),i.highlight&&i.highlight()}var s=O.extendShape({shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,cpx2:0,cpy2:0,extent:0,orient:""},buildPath:function(c,e){var a=e.extent;c.moveTo(e.x1,e.y1),c.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),e.orient==="vertical"?(c.lineTo(e.x2+a,e.y2),c.bezierCurveTo(e.cpx2+a,e.cpy2,e.cpx1+a,e.cpy1,e.x1+a,e.y1)):(c.lineTo(e.x2,e.y2+a),c.bezierCurveTo(e.cpx2,e.cpy2+a,e.cpx1,e.cpy1+a,e.x1,e.y1+a)),c.closePath()},highlight:function(){this.trigger("emphasis")},downplay:function(){this.trigger("normal")}}),l=_.extendChartView({type:"sankey",_model:null,_focusAdjacencyDisabled:!1,render:function(c,e,a){var i=this,u=c.getGraph(),f=this.group,m=c.layoutInfo,A=m.width,g=m.height,v=c.getData(),b=c.getData("edge"),S=c.get("orient");this._model=c,f.removeAll(),f.attr("position",[m.x,m.y]),u.eachEdge(function(y){var w=new s;w.dataIndex=y.dataIndex,w.seriesIndex=c.seriesIndex,w.dataType="edge";var x=y.getModel("lineStyle"),T=x.get("curveness"),L=y.node1.getLayout(),R=y.node1.getModel(),P=R.get("localX"),k=R.get("localY"),U=y.node2.getLayout(),D=y.node2.getModel(),M=D.get("localX"),B=D.get("localY"),j=y.getLayout(),H,K,W,X,V,Z,G,Y;w.shape.extent=Math.max(1,j.dy),w.shape.orient=S,S==="vertical"?(H=(P!=null?P*A:L.x)+j.sy,K=(k!=null?k*g:L.y)+L.dy,W=(M!=null?M*A:U.x)+j.ty,X=B!=null?B*g:U.y,V=H,Z=K*(1-T)+X*T,G=W,Y=K*T+X*(1-T)):(H=(P!=null?P*A:L.x)+L.dx,K=(k!=null?k*g:L.y)+j.sy,W=M!=null?M*A:U.x,X=(B!=null?B*g:U.y)+j.ty,V=H*(1-T)+W*T,Z=K,G=H*T+W*(1-T),Y=X),w.setShape({x1:H,y1:K,x2:W,y2:X,cpx1:V,cpy1:Z,cpx2:G,cpy2:Y}),w.setStyle(x.getItemStyle());switch(w.style.fill){case"source":w.style.fill=y.node1.getVisual("color");break;case"target":w.style.fill=y.node2.getVisual("color");break}O.setHoverStyle(w,y.getModel("emphasis.lineStyle").getItemStyle()),f.add(w),b.setItemGraphicEl(y.dataIndex,w)}),u.eachNode(function(y){var w=y.getLayout(),x=y.getModel(),T=x.get("localX"),L=x.get("localY"),R=x.getModel("label"),P=x.getModel("emphasis.label"),k=new O.Rect({shape:{x:T!=null?T*A:w.x,y:L!=null?L*g:w.y,width:w.dx,height:w.dy},style:x.getModel("itemStyle").getItemStyle()}),U=y.getModel("emphasis.itemStyle").getItemStyle();O.setLabelStyle(k.style,U,R,P,{labelFetcher:c,labelDataIndex:y.dataIndex,defaultText:y.id,isRectText:!0}),k.setStyle("fill",y.getVisual("color")),O.setHoverStyle(k,U),f.add(k),v.setItemGraphicEl(y.dataIndex,k),k.dataType="node"}),v.eachItemGraphicEl(function(y,w){var x=v.getItemModel(w);x.get("draggable")&&(y.drift=function(T,L){i._focusAdjacencyDisabled=!0,this.shape.x+=T,this.shape.y+=L,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:c.id,dataIndex:v.getRawIndex(w),localX:this.shape.x/A,localY:this.shape.y/g})},y.ondragend=function(){i._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),x.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,dataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(a)}))}),b.eachItemGraphicEl(function(y,w){var x=b.getItemModel(w);y.focusNodeAdjHandler&&y.off("mouseover",y.focusNodeAdjHandler),y.unfocusNodeAdjHandler&&y.off("mouseout",y.unfocusNodeAdjHandler),x.get("focusNodeAdjacency")&&(y.on("mouseover",y.focusNodeAdjHandler=function(){i._focusAdjacencyDisabled||(i._clearTimer(),a.dispatchAction({type:"focusNodeAdjacency",seriesId:c.id,edgeDataIndex:y.dataIndex}))}),y.on("mouseout",y.unfocusNodeAdjHandler=function(){i._focusAdjacencyDisabled||i._dispatchUnfocus(a)}))}),!this._data&&c.get("animation")&&f.setClipPath(n(f.getBoundingRect(),c,function(){f.removeClipPath()})),this._data=c.getData()},dispose:function(){this._clearTimer()},_dispatchUnfocus:function(c){var e=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){e._unfocusDelayTimer=null,c.dispatchAction({type:"unfocusNodeAdjacency",seriesId:e._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(c,e,a,i){var u=c.getData(),f=u.graph,m=i.dataIndex,A=u.getItemModel(m),g=i.edgeDataIndex;if(m==null&&g==null)return;var v=f.getNodeByIndex(m),b=f.getEdgeByIndex(g);if(f.eachNode(function(y){o(y,E,.1)}),f.eachEdge(function(y){o(y,t,.1)}),v){r(v,C);var S=A.get("focusNodeAdjacency");S==="outEdges"?I.each(v.outEdges,function(y){if(y.dataIndex<0)return;r(y,p),r(y.node2,C)}):S==="inEdges"?I.each(v.inEdges,function(y){if(y.dataIndex<0)return;r(y,p),r(y.node1,C)}):S==="allEdges"&&I.each(v.edges,function(y){if(y.dataIndex<0)return;r(y,p),y.node1!==v&&r(y.node1,C),y.node2!==v&&r(y.node2,C)})}b&&(r(b,p),r(b.node1,C),r(b.node2,C))},unfocusNodeAdjacency:function(c,e,a,i){var u=c.getGraph();u.eachNode(function(f){o(f,E)}),u.eachEdge(function(f){o(f,t)})}});function n(c,e,a){var i=new O.Rect({shape:{x:c.x-10,y:c.y-10,width:0,height:c.height+20}});return O.initProps(i,{shape:{width:c.width+20}},e,a),i}ue.exports=l},W4dC:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.each,C=I.createHashMap,t=d("7DRL"),p=d("TIY9"),h=d("yS9w"),o=d("mFDi"),r={geoJSON:p,svg:h},s={load:function(e,a,i){var u=[],f=C(),m=C(),A,g=c(e);return E(g,function(v){var b=r[v.type].load(e,v,i);E(b.regions,function(y){var w=y.name;a&&a.hasOwnProperty(w)&&(y=y.cloneShallow(w=a[w])),u.push(y),f.set(w,y),m.set(w,y.center)});var S=b.boundingRect;S&&(A?A.union(S):A=S.clone())}),{regions:u,regionsMap:f,nameCoordMap:m,boundingRect:A||new o(0,0,0,0)}},makeGraphic:l("makeGraphic"),removeGraphic:l("removeGraphic")};function l(e){return function(a,i){var u=c(a),f=[];return E(u,function(m){var A=r[m.type][e];A&&f.push(A(a,m,i))}),f}}function n(e){}function c(e){var a=t.retrieveMap(e)||[];return a}ue.exports=s},WGYa:function(ue,z,d){var O=d("7yuC"),_=O.forceLayout,I=d("HF/U"),E=I.simpleLayout,C=d("lOQZ"),t=C.circularLayout,p=d("OELB"),h=p.linearMap,o=d("QBsz"),r=d("bYtY");function s(l){l.eachSeriesByType("graph",function(n){var c=n.coordinateSystem;if(c&&c.type!=="view")return;if(n.get("layout")==="force"){var e=n.preservedPoints||{},a=n.getGraph(),i=a.data,u=a.edgeData,f=n.getModel("force"),m=f.get("initLayout");n.preservedPoints?i.each(function(R){var P=i.getId(R);i.setItemLayout(R,e[P]||[NaN,NaN])}):!m||m==="none"?E(n):m==="circular"&&t(n,"value");var A=i.getDataExtent("value"),g=u.getDataExtent("value"),v=f.get("repulsion"),b=f.get("edgeLength");r.isArray(v)||(v=[v,v]),r.isArray(b)||(b=[b,b]),b=[b[1],b[0]];var S=i.mapArray("value",function(R,P){var k=i.getItemLayout(P),U=h(R,A,v);return isNaN(U)&&(U=(v[0]+v[1])/2),{w:U,rep:U,fixed:i.getItemModel(P).get("fixed"),p:!k||isNaN(k[0])||isNaN(k[1])?null:k}}),y=u.mapArray("value",function(R,P){var k=a.getEdgeByIndex(P),U=h(R,g,b);isNaN(U)&&(U=(b[0]+b[1])/2);var D=k.getModel();return{n1:S[k.node1.dataIndex],n2:S[k.node2.dataIndex],d:U,curveness:D.get("lineStyle.curveness")||0,ignoreForceLayout:D.get("ignoreForceLayout")}}),c=n.coordinateSystem,w=c.getBoundingRect(),x=_(S,y,{rect:w,gravity:f.get("gravity"),friction:f.get("friction")}),T=x.step;x.step=function(R){for(var P=0,k=S.length;P<k;P++)S[P].fixed&&o.copy(S[P].p,a.getNodeByIndex(P).getLayout());T(function(U,D,M){for(var B=0,j=U.length;B<j;B++)U[B].fixed||a.getNodeByIndex(B).setLayout(U[B].p),e[i.getId(B)]=U[B].p;for(var B=0,j=D.length;B<j;B++){var H=D[B],K=a.getEdgeByIndex(B),W=H.n1.p,X=H.n2.p,V=K.getLayout();V=V?V.slice():[],V[0]=V[0]||[],V[1]=V[1]||[],o.copy(V[0],W),o.copy(V[1],X),+H.curveness&&(V[2]=[(W[0]+X[0])/2-(W[1]-X[1])*H.curveness,(W[1]+X[1])/2-(X[0]-W[0])*H.curveness]),K.setLayout(V)}R&&R(M)})},n.forceLayout=x,n.preservedPoints=e,x.step()}else n.forceLayout=null})}ue.exports=s},WKfj:function(ue,z,d){"use strict";d.d(z,"d",function(){return _}),d.d(z,"e",function(){return I}),d.d(z,"f",function(){return E}),d.d(z,"c",function(){return C}),d.d(z,"b",function(){return p}),d.d(z,"a",function(){return o});var O=d("KQm4");function _(r){return Array.isArray(r)?r:r!==void 0?[r]:[]}function I(r,s){var l=s.labelInValue,n=s.combobox;if(r===void 0||r===""&&n)return[];var c=Array.isArray(r)?r:[r];return l?c.map(function(e){var a=e.key,i=e.value;return i!==void 0?i:a}):c}function E(r,s){var l=s.optionLabelProp,n=s.labelInValue,c=s.prevValue,e=s.options,a=s.getLabeledValue,i=r;return n&&(i=i.map(function(u){return a(u,{options:e,prevValue:c,labelInValue:n,optionLabelProp:l})})),i}function C(r,s){var l=Object(O.a)(s),n;for(n=r.length-1;n>=0&&r[n].disabled;n-=1);var c=null;return n!==-1&&(c=l[n],l.splice(n,1)),{values:l,removedValue:c}}var t=typeof window!="undefined"&&window.document&&window.document.documentElement,p=t,h=0;function o(){var r;return p?(r=h,h+=1):r="TEST_OR_SSR",r}},"WN+l":function(ue,z,d){var O=d("bYtY"),_=d("IwbS");function I(C,t,p,h){var o=p.axis;if(o.scale.isBlank())return;var r=p.getModel("splitArea"),s=r.getModel("areaStyle"),l=s.get("color"),n=h.coordinateSystem.getRect(),c=o.getTicksCoords({tickModel:r,clamp:!0});if(!c.length)return;var e=l.length,a=C.__splitAreaColors,i=O.createHashMap(),u=0;if(a)for(var f=0;f<c.length;f++){var m=a.get(c[f].tickValue);if(m!=null){u=(m+(e-1)*f)%e;break}}var A=o.toGlobalCoord(c[0].coord),g=s.getAreaStyle();l=O.isArray(l)?l:[l];for(var f=1;f<c.length;f++){var v=o.toGlobalCoord(c[f].coord),b,S,y,w;o.isHorizontal()?(b=A,S=n.y,y=v-b,w=n.height,A=b+y):(b=n.x,S=A,y=n.width,w=v-S,A=S+w);var x=c[f-1].tickValue;x!=null&&i.set(x,u),t.add(new _.Rect({anid:x!=null?"area_"+x:null,shape:{x:b,y:S,width:y,height:w},style:O.defaults({fill:l[u]},g),silent:!0})),u=(u+1)%e}C.__splitAreaColors=i}function E(C){C.__splitAreaColors=null}z.rectCoordAxisBuildSplitArea=I,z.rectCoordAxisHandleRemove=E},WXVj:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("Bqw1")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="MinusSquareOutlined";var h=E.forwardRef(p);z.default=h},WaYH:function(ue,z,d){"use strict";var O=d("rePB"),_=d("Ff2n"),I=d("VTBJ"),E=d("1OyB"),C=d("vuIU"),t=d("JX7q"),p=d("Ji7U"),h=d("LK+K"),o=d("q1tI"),r=d("TSYQ"),s=d.n(r),l=d("sboe"),n=d("OZM5"),c=function(b){var S=b.prefixCls,y=b.level,w=b.isStart,x=b.isEnd;if(!y)return null;for(var T="".concat(S,"-indent-unit"),L=[],R=0;R<y;R+=1){var P;L.push(o.createElement("span",{key:R,className:s()(T,(P={},Object(O.a)(P,"".concat(T,"-start"),w[R+1]),Object(O.a)(P,"".concat(T,"-end"),x[R+1]),Object(O.a)(P,"".concat(T,"-end-first-level"),!R&&x[0]),P))}))}return o.createElement("span",{"aria-hidden":"true",className:"".concat(S,"-indent")},L)},e=c,a=d("815F"),i="open",u="close",f="---",m=function(v){Object(p.a)(S,v);var b=Object(h.a)(S);function S(){var y;return Object(E.a)(this,S),y=b.apply(this,arguments),y.state={dragNodeHighlight:!1},y.onSelectorClick=function(w){var x=y.props.context.onNodeClick;x(w,Object(a.b)(y.props)),y.isSelectable()?y.onSelect(w):y.onCheck(w)},y.onSelectorDoubleClick=function(w){var x=y.props.context.onNodeDoubleClick;x(w,Object(a.b)(y.props))},y.onSelect=function(w){if(y.isDisabled())return;var x=y.props.context.onNodeSelect;w.preventDefault(),x(w,Object(a.b)(y.props))},y.onCheck=function(w){if(y.isDisabled())return;var x=y.props,T=x.disableCheckbox,L=x.checked,R=y.props.context.onNodeCheck;if(!y.isCheckable()||T)return;w.preventDefault();var P=!L;R(w,Object(a.b)(y.props),P)},y.onMouseEnter=function(w){var x=y.props.context.onNodeMouseEnter;x(w,Object(a.b)(y.props))},y.onMouseLeave=function(w){var x=y.props.context.onNodeMouseLeave;x(w,Object(a.b)(y.props))},y.onContextMenu=function(w){var x=y.props.context.onNodeContextMenu;x(w,Object(a.b)(y.props))},y.onDragStart=function(w){var x=y.props.context.onNodeDragStart;w.stopPropagation(),y.setState({dragNodeHighlight:!0}),x(w,Object(t.a)(y));try{w.dataTransfer.setData("text/plain","")}catch(T){}},y.onDragEnter=function(w){var x=y.props.context.onNodeDragEnter;w.preventDefault(),w.stopPropagation(),x(w,Object(t.a)(y))},y.onDragOver=function(w){var x=y.props.context.onNodeDragOver;w.preventDefault(),w.stopPropagation(),x(w,Object(t.a)(y))},y.onDragLeave=function(w){var x=y.props.context.onNodeDragLeave;w.stopPropagation(),x(w,Object(t.a)(y))},y.onDragEnd=function(w){var x=y.props.context.onNodeDragEnd;w.stopPropagation(),y.setState({dragNodeHighlight:!1}),x(w,Object(t.a)(y))},y.onDrop=function(w){var x=y.props.context.onNodeDrop;w.preventDefault(),w.stopPropagation(),y.setState({dragNodeHighlight:!1}),x(w,Object(t.a)(y))},y.onExpand=function(w){var x=y.props.context.onNodeExpand;x(w,Object(a.b)(y.props))},y.setSelectHandle=function(w){y.selectHandle=w},y.getNodeState=function(){var w=y.props.expanded;return y.isLeaf()?null:w?i:u},y.hasChildren=function(){var w=y.props.eventKey,x=y.props.context.keyEntities,T=x[w]||{},L=T.children;return!!(L||[]).length},y.isLeaf=function(){var w=y.props,x=w.isLeaf,T=w.loaded,L=y.props.context.loadData,R=y.hasChildren();return x===!1?!1:x||!L&&!R||L&&T&&!R},y.isDisabled=function(){var w=y.props.disabled,x=y.props.context.disabled;return!!(x||w)},y.isCheckable=function(){var w=y.props.checkable,x=y.props.context.checkable;return!x||w===!1?!1:x},y.syncLoadData=function(w){var x=w.expanded,T=w.loading,L=w.loaded,R=y.props.context,P=R.loadData,k=R.onNodeLoad;if(T)return;P&&x&&!y.isLeaf()&&(!y.hasChildren()&&!L&&k(Object(a.b)(y.props)))},y.renderSwitcher=function(){var w=y.props,x=w.expanded,T=w.switcherIcon,L=y.props.context,R=L.prefixCls,P=L.switcherIcon,k=T||P;if(y.isLeaf())return o.createElement("span",{className:s()("".concat(R,"-switcher"),"".concat(R,"-switcher-noop"))},typeof k=="function"?k(Object(I.a)(Object(I.a)({},y.props),{},{isLeaf:!0})):k);var U=s()("".concat(R,"-switcher"),"".concat(R,"-switcher_").concat(x?i:u));return o.createElement("span",{onClick:y.onExpand,className:U},typeof k=="function"?k(Object(I.a)(Object(I.a)({},y.props),{},{isLeaf:!1})):k)},y.renderCheckbox=function(){var w=y.props,x=w.checked,T=w.halfChecked,L=w.disableCheckbox,R=y.props.context.prefixCls,P=y.isDisabled(),k=y.isCheckable();if(!k)return null;var U=typeof k!="boolean"?k:null;return o.createElement("span",{className:s()("".concat(R,"-checkbox"),x&&"".concat(R,"-checkbox-checked"),!x&&T&&"".concat(R,"-checkbox-indeterminate"),(P||L)&&"".concat(R,"-checkbox-disabled")),onClick:y.onCheck},U)},y.renderIcon=function(){var w=y.props.loading,x=y.props.context.prefixCls;return o.createElement("span",{className:s()("".concat(x,"-iconEle"),"".concat(x,"-icon__").concat(y.getNodeState()||"docu"),w&&"".concat(x,"-icon_loading"))})},y.renderSelector=function(){var w=y.state.dragNodeHighlight,x=y.props,T=x.title,L=x.selected,R=x.icon,P=x.loading,k=x.data,U=y.props.context,D=U.prefixCls,M=U.showIcon,B=U.icon,j=U.draggable,H=U.loadData,K=U.titleRender,W=y.isDisabled(),X="".concat(D,"-node-content-wrapper"),V;if(M){var Z=R||B;V=Z?o.createElement("span",{className:s()("".concat(D,"-iconEle"),"".concat(D,"-icon__customize"))},typeof Z=="function"?Z(y.props):Z):y.renderIcon()}else H&&P&&(V=y.renderIcon());var G;typeof T=="function"?G=T(k):K?G=K(k):G=T;var Y=o.createElement("span",{className:"".concat(D,"-title")},G);return o.createElement("span",{ref:y.setSelectHandle,title:typeof T=="string"?T:"",className:s()("".concat(X),"".concat(X,"-").concat(y.getNodeState()||"normal"),!W&&(L||w)&&"".concat(D,"-node-selected"),!W&&j&&"draggable"),draggable:!W&&j||void 0,"aria-grabbed":!W&&j||void 0,onMouseEnter:y.onMouseEnter,onMouseLeave:y.onMouseLeave,onContextMenu:y.onContextMenu,onClick:y.onSelectorClick,onDoubleClick:y.onSelectorDoubleClick,onDragStart:j?y.onDragStart:void 0},V,Y)},y}return Object(C.a)(S,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var w=this.props.selectable,x=this.props.context.selectable;return typeof w=="boolean"?w:x}},{key:"render",value:function(){var w,x=this.props,T=x.eventKey,L=x.className,R=x.style,P=x.dragOver,k=x.dragOverGapTop,U=x.dragOverGapBottom,D=x.isLeaf,M=x.isStart,B=x.isEnd,j=x.expanded,H=x.selected,K=x.checked,W=x.halfChecked,X=x.loading,V=x.domRef,Z=x.active,G=x.onMouseMove,Y=Object(_.a)(x,["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","onMouseMove"]),te=this.props.context,se=te.prefixCls,Ce=te.filterTreeNode,he=te.draggable,xe=te.keyEntities,ie=this.isDisabled(),ee=Object(n.f)(Y),Ze=xe[T]||{},Se=Ze.level,Ne=B[B.length-1];return o.createElement("div",Object.assign({ref:V,className:s()(L,"".concat(se,"-treenode"),(w={},Object(O.a)(w,"".concat(se,"-treenode-disabled"),ie),Object(O.a)(w,"".concat(se,"-treenode-switcher-").concat(j?"open":"close"),!D),Object(O.a)(w,"".concat(se,"-treenode-checkbox-checked"),K),Object(O.a)(w,"".concat(se,"-treenode-checkbox-indeterminate"),W),Object(O.a)(w,"".concat(se,"-treenode-selected"),H),Object(O.a)(w,"".concat(se,"-treenode-loading"),X),Object(O.a)(w,"".concat(se,"-treenode-active"),Z),Object(O.a)(w,"".concat(se,"-treenode-leaf-last"),Ne),Object(O.a)(w,"drag-over",!ie&&P),Object(O.a)(w,"drag-over-gap-top",!ie&&k),Object(O.a)(w,"drag-over-gap-bottom",!ie&&U),Object(O.a)(w,"filter-node",Ce&&Ce(Object(a.b)(this.props))),w)),style:R,onDragEnter:he?this.onDragEnter:void 0,onDragOver:he?this.onDragOver:void 0,onDragLeave:he?this.onDragLeave:void 0,onDrop:he?this.onDrop:void 0,onDragEnd:he?this.onDragEnd:void 0,onMouseMove:G},ee),o.createElement(e,{prefixCls:se,level:Se,isStart:M,isEnd:B}),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),S}(o.Component),A=function(b){return o.createElement(l.a.Consumer,null,function(S){return o.createElement(m,Object.assign({},b,{context:S}))})};A.displayName="TreeNode",A.defaultProps={title:f},A.isTreeNode=1;var g=z.a=A},Wqna:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.isObject,C=I.each,t=I.map,p=I.indexOf,h=I.retrieve,o=d("+TT/"),r=o.getLayoutRect,s=d("aX7z"),l=s.createScaleByModel,n=s.ifAxisCrossZero,c=s.niceScaleExtent,e=s.estimateLabelUnionRect,a=d("y+lR"),i=d("7AJT"),u=d("IDmD"),f=d("7hqr"),m=f.getStackedDimension;d("jtI2");function A(R,P,k){return R.getCoordSysModel()===P}function g(R,P,k){this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this._initCartesian(R,P,k),this.model=R}var v=g.prototype;v.type="grid",v.axisPointerEnabled=!0,v.getRect=function(){return this._rect},v.update=function(R,P){var k=this._axesMap;this._updateScale(R,this.model),C(k.x,function(D){c(D.scale,D.model)}),C(k.y,function(D){c(D.scale,D.model)});var U={};C(k.x,function(D){b(k,"y",D,U)}),C(k.y,function(D){b(k,"x",D,U)}),this.resize(this.model,P)};function b(R,P,k,U){k.getAxesOnZeroOf=function(){return M?[M]:[]};var D=R[P],M,B=k.model,j=B.get("axisLine.onZero"),H=B.get("axisLine.onZeroAxisIndex");if(!j)return;if(H!=null)S(D[H])&&(M=D[H]);else for(var K in D)if(D.hasOwnProperty(K)&&S(D[K])&&!U[W(D[K])]){M=D[K];break}M&&(U[W(M)]=!0);function W(X){return X.dim+"_"+X.index}}function S(R){return R&&R.type!=="category"&&R.type!=="time"&&n(R)}v.resize=function(R,P,k){var U=r(R.getBoxLayoutParams(),{width:P.getWidth(),height:P.getHeight()});this._rect=U;var D=this._axesList;M(),!k&&R.get("containLabel")&&(C(D,function(B){if(!B.model.get("axisLabel.inside")){var j=e(B);if(j){var H=B.isHorizontal()?"height":"width",K=B.model.get("axisLabel.margin");U[H]-=j[H]+K,B.position==="top"?U.y+=j.height+K:B.position==="left"&&(U.x+=j.width+K)}}}),M());function M(){C(D,function(B){var j=B.isHorizontal(),H=j?[0,U.width]:[0,U.height],K=B.inverse?1:0;B.setExtent(H[K],H[1-K]),y(B,j?U.x:U.y)})}},v.getAxis=function(R,P){var k=this._axesMap[R];if(k!=null){if(P==null){for(var U in k)if(k.hasOwnProperty(U))return k[U]}return k[P]}},v.getAxes=function(){return this._axesList.slice()},v.getCartesian=function(R,P){if(R!=null&&P!=null){var k="x"+R+"y"+P;return this._coordsMap[k]}E(R)&&(P=R.yAxisIndex,R=R.xAxisIndex);for(var U=0,D=this._coordsList;U<D.length;U++)if(D[U].getAxis("x").index===R||D[U].getAxis("y").index===P)return D[U]},v.getCartesians=function(){return this._coordsList.slice()},v.convertToPixel=function(R,P,k){var U=this._findConvertTarget(R,P);return U.cartesian?U.cartesian.dataToPoint(k):U.axis?U.axis.toGlobalCoord(U.axis.dataToCoord(k)):null},v.convertFromPixel=function(R,P,k){var U=this._findConvertTarget(R,P);return U.cartesian?U.cartesian.pointToData(k):U.axis?U.axis.coordToData(U.axis.toLocalCoord(k)):null},v._findConvertTarget=function(R,P){var k=P.seriesModel,U=P.xAxisModel||k&&k.getReferringComponents("xAxis")[0],D=P.yAxisModel||k&&k.getReferringComponents("yAxis")[0],M=P.gridModel,B=this._coordsList,j,H;if(k)j=k.coordinateSystem,p(B,j)<0&&(j=null);else if(U&&D)j=this.getCartesian(U.componentIndex,D.componentIndex);else if(U)H=this.getAxis("x",U.componentIndex);else if(D)H=this.getAxis("y",D.componentIndex);else if(M){var K=M.coordinateSystem;K===this&&(j=this._coordsList[0])}return{cartesian:j,axis:H}},v.containPoint=function(R){var P=this._coordsList[0];if(P)return P.containPoint(R)},v._initCartesian=function(R,P,k){var U={left:!1,right:!1,top:!1,bottom:!1},D={x:{},y:{}},M={x:0,y:0};if(P.eachComponent("xAxis",B("x"),this),P.eachComponent("yAxis",B("y"),this),!M.x||!M.y){this._axesMap={},this._axesList=[];return}this._axesMap=D,C(D.x,function(j,H){C(D.y,function(K,W){var X="x"+H+"y"+W,V=new a(X);V.grid=this,V.model=R,this._coordsMap[X]=V,this._coordsList.push(V),V.addAxis(j),V.addAxis(K)},this)},this);function B(j){return function(H,K){if(!A(H,R,P))return;var W=H.get("position");j==="x"?W!=="top"&&W!=="bottom"&&(W=U.bottom?"top":"bottom"):W!=="left"&&W!=="right"&&(W=U.left?"right":"left"),U[W]=!0;var X=new i(j,l(H),[0,0],H.get("type"),W),V=X.type==="category";X.onBand=V&&H.get("boundaryGap"),X.inverse=H.get("inverse"),H.axis=X,X.model=H,X.grid=this,X.index=K,this._axesList.push(X),D[j][K]=X,M[j]++}}},v._updateScale=function(R,P){C(this._axesList,function(U){U.scale.setExtent(Infinity,-Infinity)}),R.eachSeries(function(U){if(T(U)){var D=x(U,R),M=D[0],B=D[1];if(!A(M,P,R)||!A(B,P,R))return;var j=this.getCartesian(M.componentIndex,B.componentIndex),H=U.getData(),K=j.getAxis("x"),W=j.getAxis("y");H.type==="list"&&(k(H,K,U),k(H,W,U))}},this);function k(U,D,M){C(U.mapDimension(D.dim,!0),function(B){D.scale.unionExtentFromData(U,m(U,B))})}},v.getTooltipAxes=function(R){var P=[],k=[];return C(this.getCartesians(),function(U){var D=R!=null&&R!=="auto"?U.getAxis(R):U.getBaseAxis(),M=U.getOtherAxis(D);p(P,D)<0&&P.push(D),p(k,M)<0&&k.push(M)}),{baseAxes:P,otherAxes:k}};function y(R,P){var k=R.getExtent(),U=k[0]+k[1];R.toGlobalCoord=R.dim==="x"?function(D){return D+P}:function(D){return U-D+P},R.toLocalCoord=R.dim==="x"?function(D){return D-P}:function(D){return U-D+P}}var w=["xAxis","yAxis"];function x(R,P){return t(w,function(k){var U=R.getReferringComponents(k)[0];return U})}function T(R){return R.get("coordinateSystem")==="cartesian2d"}g.create=function(R,P){var k=[];return R.eachComponent("grid",function(U,D){var M=new g(U,R,P);M.name="grid_"+D,M.resize(U,P,!0),U.coordinateSystem=M,k.push(M)}),R.eachSeries(function(U){if(!T(U))return;var D=x(U,R),M=D[0],B=D[1],j=M.getCoordSysModel(),H=j.coordinateSystem;U.coordinateSystem=H.getCartesian(M.componentIndex,B.componentIndex)}),k},g.dimensions=g.prototype.dimensions=a.prototype.dimensions,u.register("cartesian2d",g);var L=g;ue.exports=L},"X+im":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("KQeH")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="DownloadOutlined";var h=E.forwardRef(p);z.default=h},"X2/X":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},XAae:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("hwYd"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},XOKv:function(ue,z,d){d("OXB0"),d("SA4+")},Xmg4:function(ue,z,d){var O=d("bYtY"),_=d("LPTA"),I=_.devicePixelRatio,E=d("K2GJ"),C=d("3C/r");function t(){return!1}function p(r,s,l){var n=O.createCanvas(),c=s.getWidth(),e=s.getHeight(),a=n.style;return a&&(a.position="absolute",a.left=0,a.top=0,a.width=c+"px",a.height=e+"px",n.setAttribute("data-zr-dom-id",r)),n.width=c*l,n.height=e*l,n}var h=function(s,l,n){var c;n=n||I,typeof s=="string"?c=p(s,l,n):O.isObject(s)&&(c=s,s=c.id),this.id=s,this.dom=c;var e=c.style;e&&(c.onselectstart=t,e["-webkit-user-select"]="none",e["user-select"]="none",e["-webkit-touch-callout"]="none",e["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",e.padding=0,e.margin=0,e["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=l,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=n};h.prototype={constructor:h,__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 s=this.dpr;this.domBack=p("back-"+this.id,this.painter,s),this.ctxBack=this.domBack.getContext("2d"),s!==1&&this.ctxBack.scale(s,s)},resize:function(s,l){var n=this.dpr,c=this.dom,e=c.style,a=this.domBack;e&&(e.width=s+"px",e.height=l+"px"),c.width=s*n,c.height=l*n,a&&(a.width=s*n,a.height=l*n,n!==1&&this.ctxBack.scale(n,n))},clear:function(s,l){var n=this.dom,c=this.ctx,e=n.width,a=n.height,l=l||this.clearColor,i=this.motionBlur&&!s,u=this.lastFrameAlpha,f=this.dpr;if(i&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(n,0,0,e/f,a/f)),c.clearRect(0,0,e,a),l&&l!=="transparent"){var m;l.colorStops?(m=l.__canvasGradient||E.getGradient(c,l,{x:0,y:0,width:e,height:a}),l.__canvasGradient=m):l.image&&(m=C.prototype.getCanvasPattern.call(l,c)),c.save(),c.fillStyle=m||l,c.fillRect(0,0,e,a),c.restore()}if(i){var A=this.domBack;c.save(),c.globalAlpha=u,c.drawImage(A,0,0,e,a),c.restore()}}};var o=h;ue.exports=o},Xnb7:function(ue,z,d){var O=d("1RvN"),_=new O(50);function I(p){if(typeof p=="string"){var h=_.get(p);return h&&h.image}else return p}function E(p,h,o,r,s){if(p)if(typeof p=="string"){if(h&&h.__zrImageSrc===p||!o)return h;var l=_.get(p),n={hostEl:o,cb:r,cbPayload:s};return l?(h=l.image,!t(h)&&l.pending.push(n)):(h=new Image,h.onload=h.onerror=C,_.put(p,h.__cachedImgObj={image:h,pending:[n]}),h.src=h.__zrImageSrc=p),h}else return p;else return h}function C(){var p=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var h=0;h<p.pending.length;h++){var o=p.pending[h],r=o.cb;r&&r(this,o.cbPayload),o.hostEl.dirty()}p.pending.length=0}function t(p){return p&&p.width&&p.height}z.findExistImage=I,z.createOrUpdateImage=E,z.isImageReady=t},XpcN:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("oVpE"),t=C.createSymbol,p=d("IwbS"),h=d("eRkO"),o=h.makeBackground,r=d("+TT/"),s=E.curry,l=E.each,n=p.Group,c=I.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(f,m,A){var g=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!f.get("show",!0))return;var v=f.get("align"),b=f.get("orient");(!v||v==="auto")&&(v=f.get("left")==="right"&&b==="vertical"?"right":"left");var S=f.get("selector",!0),y=f.get("selectorPosition",!0);S&&(!y||y==="auto")&&(y=b==="horizontal"?"end":"start"),this.renderInner(v,f,m,A,S,b,y);var w=f.getBoxLayoutParams(),x={width:A.getWidth(),height:A.getHeight()},T=f.get("padding"),L=r.getLayoutRect(w,x,T),R=this.layoutInner(f,v,L,g,S,y),P=r.getLayoutRect(E.defaults({width:R.width,height:R.height},w),x,T);this.group.attr("position",[P.x-R.x,P.y-R.y]),this.group.add(this._backgroundEl=o(R,f))},resetInner:function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},renderInner:function(f,m,A,g,v,b,S){var y=this.getContentGroup(),w=E.createHashMap(),x=m.get("selectedMode"),T=[];A.eachRawSeries(function(L){!L.get("legendHoverLink")&&T.push(L.id)}),l(m.getData(),function(L,R){var P=L.get("name");if(!this.newlineDisabled&&(P===""||P===`
`)){y.add(new n({newline:!0}));return}var k=A.getSeriesByName(P)[0];if(w.get(P))return;if(k){var U=k.getData(),D=U.getVisual("color"),M=U.getVisual("borderColor");typeof D=="function"&&(D=D(k.getDataParams(0))),typeof M=="function"&&(M=M(k.getDataParams(0)));var B=U.getVisual("legendSymbol")||"roundRect",j=U.getVisual("symbol"),H=this._createItem(P,R,L,m,B,j,f,D,M,x);H.on("click",s(a,P,null,g,T)).on("mouseover",s(i,k.name,null,g,T)).on("mouseout",s(u,k.name,null,g,T)),w.set(P,!0)}else A.eachRawSeries(function(K){if(w.get(P))return;if(K.legendVisualProvider){var W=K.legendVisualProvider;if(!W.containName(P))return;var X=W.indexOfName(P),V=W.getItemVisual(X,"color"),Z=W.getItemVisual(X,"borderColor"),G="roundRect",Y=this._createItem(P,R,L,m,G,null,f,V,Z,x);Y.on("click",s(a,null,P,g,T)).on("mouseover",s(i,null,P,g,T)).on("mouseout",s(u,null,P,g,T)),w.set(P,!0)}},this)},this),v&&this._createSelector(v,m,g,b,S)},_createSelector:function(f,m,A,g,v){var b=this.getSelectorGroup();l(f,function(y){S(y)});function S(y){var w=y.type,x=new p.Text({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){A.dispatchAction({type:w==="all"?"legendAllSelect":"legendInverseSelect"})}});b.add(x);var T=m.getModel("selectorLabel"),L=m.getModel("emphasis.selectorLabel");p.setLabelStyle(x.style,x.hoverStyle={},T,L,{defaultText:y.title,isRectText:!1}),p.setHoverStyle(x)}},_createItem:function(f,m,A,g,v,b,S,y,w,x){var T=g.get("itemWidth"),L=g.get("itemHeight"),R=g.get("inactiveColor"),P=g.get("inactiveBorderColor"),k=g.get("symbolKeepAspect"),U=g.getModel("itemStyle"),D=g.isSelected(f),M=new n,B=A.getModel("textStyle"),j=A.get("icon"),H=A.getModel("tooltip"),K=H.parentModel;v=j||v;var W=t(v,0,0,T,L,D?y:R,k==null?!0:k);if(M.add(e(W,v,U,w,P,D)),!j&&b&&(b!==v||b==="none")){var X=L*.8;b==="none"&&(b="circle");var V=t(b,(T-X)/2,(L-X)/2,X,X,D?y:R,k==null?!0:k);M.add(e(V,b,U,w,P,D))}var Z=S==="left"?T+5:-5,G=S,Y=g.get("formatter"),te=f;typeof Y=="string"&&Y?te=Y.replace("{name}",f!=null?f:""):typeof Y=="function"&&(te=Y(f)),M.add(new p.Text({style:p.setTextStyle({},B,{text:te,x:Z,y:L/2,textFill:D?B.getTextColor():R,textAlign:G,textVerticalAlign:"middle"})}));var se=new p.Rect({shape:M.getBoundingRect(),invisible:!0,tooltip:H.get("show")?E.extend({content:f,formatter:K.get("formatter",!0)||function(){return f},formatterParams:{componentType:"legend",legendIndex:g.componentIndex,name:f,$vars:["name"]}},H.option):null});return M.add(se),M.eachChild(function(Ce){Ce.silent=!0}),se.silent=!x,this.getContentGroup().add(M),p.setHoverStyle(M),M.__legendDataIndex=m,M},layoutInner:function(f,m,A,g,v,b){var S=this.getContentGroup(),y=this.getSelectorGroup();r.box(f.get("orient"),S,f.get("itemGap"),A.width,A.height);var w=S.getBoundingRect(),x=[-w.x,-w.y];if(v){r.box("horizontal",y,f.get("selectorItemGap",!0));var T=y.getBoundingRect(),L=[-T.x,-T.y],R=f.get("selectorButtonGap",!0),P=f.getOrient().index,k=P===0?"width":"height",U=P===0?"height":"width",D=P===0?"y":"x";b==="end"?L[P]+=w[k]+R:x[P]+=T[k]+R,L[1-P]+=w[U]/2-T[U]/2,y.attr("position",L),S.attr("position",x);var M={x:0,y:0};return M[k]=w[k]+R+T[k],M[U]=Math.max(w[U],T[U]),M[D]=Math.min(0,T[D]+L[1-P]),M}else return S.attr("position",x),this.group.getBoundingRect()},remove:function(){this.getContentGroup().removeAll(),this._isFirstRender=!0}});function e(f,m,A,g,v,b){var S;return m!=="line"&&m.indexOf("empty")<0?(S=A.getItemStyle(),f.style.stroke=g,b||(S.stroke=v)):S=A.getItemStyle(["borderWidth","borderColor"]),f.setStyle(S)}function a(f,m,A,g){u(f,m,A,g),A.dispatchAction({type:"legendToggleSelect",name:f!=null?f:m}),i(f,m,A,g)}function i(f,m,A,g){var v=A.getZr().storage.getDisplayList()[0];v&&v.useHoverLayer||A.dispatchAction({type:"highlight",seriesName:f,name:m,excludeSeriesId:g})}function u(f,m,A,g){var v=A.getZr().storage.getDisplayList()[0];v&&v.useHoverLayer||A.dispatchAction({type:"downplay",seriesName:f,name:m,excludeSeriesId:g})}ue.exports=c},XuBP:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},XxSj:function(ue,z,d){var O=d("bYtY"),_=d("Qe9p"),I=d("OELB"),E=I.linearMap,C=O.each,t=O.isObject,p=-1,h=function(b){var S=b.mappingMethod,y=b.type,w=this.option=O.clone(b);this.type=y,this.mappingMethod=S,this._normalizeData=A[S];var x=o[y];this.applyVisual=x.applyVisual,this.getColorMapper=x.getColorMapper,this._doMap=x._doMap[S],S==="piecewise"?(l(w),r(w)):S==="category"?w.categories?s(w):l(w,!0):(O.assert(S!=="linear"||w.dataExtent),l(w))};h.prototype={constructor:h,mapValueToVisual:function(b){var S=this._normalizeData(b);return this._doMap(S,b)},getNormalizer:function(){return O.bind(this._normalizeData,this)}};var o=h.visualHandlers={color:{applyVisual:e("color"),getColorMapper:function(){var b=this.option;return O.bind(b.mappingMethod==="category"?function(S,y){return!y&&(S=this._normalizeData(S)),a.call(this,S)}:function(S,y,w){var x=!!w;return!y&&(S=this._normalizeData(S)),w=_.fastLerp(S,b.parsedVisual,w),x?w:_.stringify(w,"rgba")},this)},_doMap:{linear:function(b){return _.stringify(_.fastLerp(b,this.option.parsedVisual),"rgba")},category:a,piecewise:function(b,S){var y=f.call(this,S);return y==null&&(y=_.stringify(_.fastLerp(b,this.option.parsedVisual),"rgba")),y},fixed:i}},colorHue:n(function(b,S){return _.modifyHSL(b,S)}),colorSaturation:n(function(b,S){return _.modifyHSL(b,null,S)}),colorLightness:n(function(b,S){return _.modifyHSL(b,null,null,S)}),colorAlpha:n(function(b,S){return _.modifyAlpha(b,S)}),opacity:{applyVisual:e("opacity"),_doMap:u([0,1])},liftZ:{applyVisual:e("liftZ"),_doMap:{linear:i,category:i,piecewise:i,fixed:i}},symbol:{applyVisual:function(b,S,y){var w=this.mapValueToVisual(b);if(O.isString(w))y("symbol",w);else if(t(w))for(var x in w)w.hasOwnProperty(x)&&y(x,w[x])},_doMap:{linear:c,category:a,piecewise:function(b,S){var y=f.call(this,S);return y==null&&(y=c.call(this,b)),y},fixed:i}},symbolSize:{applyVisual:e("symbolSize"),_doMap:u([0,1])}};function r(b){var S=b.pieceList;b.hasSpecialVisual=!1,O.each(S,function(y,w){y.originIndex=w,y.visual!=null&&(b.hasSpecialVisual=!0)})}function s(b){var S=b.categories,y=b.visual,w=b.categoryMap={};if(C(S,function(L,R){w[L]=R}),!O.isArray(y)){var x=[];O.isObject(y)?C(y,function(L,R){var P=w[R];x[P!=null?P:p]=L}):x[p]=y,y=m(b,x)}for(var T=S.length-1;T>=0;T--)y[T]==null&&(delete w[S[T]],S.pop())}function l(b,S){var y=b.visual,w=[];O.isObject(y)?C(y,function(T){w.push(T)}):y!=null&&w.push(y);var x={color:1,symbol:1};!S&&w.length===1&&!x.hasOwnProperty(b.type)&&(w[1]=w[0]),m(b,w)}function n(b){return{applyVisual:function(S,y,w){S=this.mapValueToVisual(S),w("color",b(y("color"),S))},_doMap:u([0,1])}}function c(b){var S=this.option.visual;return S[Math.round(E(b,[0,1],[0,S.length-1],!0))]||{}}function e(b){return function(S,y,w){w(b,this.mapValueToVisual(S))}}function a(b){var S=this.option.visual;return S[this.option.loop&&b!==p?b%S.length:b]}function i(){return this.option.visual[0]}function u(b){return{linear:function(S){return E(S,b,this.option.visual,!0)},category:a,piecewise:function(S,y){var w=f.call(this,y);return w==null&&(w=E(S,b,this.option.visual,!0)),w},fixed:i}}function f(b){var S=this.option,y=S.pieceList;if(S.hasSpecialVisual){var w=h.findPieceIndex(b,y),x=y[w];if(x&&x.visual)return x.visual[this.type]}}function m(b,S){return b.visual=S,b.type==="color"&&(b.parsedVisual=O.map(S,function(y){return _.parse(y)})),S}var A={linear:function(b){return E(b,this.option.dataExtent,[0,1],!0)},piecewise:function(b){var S=this.option.pieceList,y=h.findPieceIndex(b,S,!0);if(y!=null)return E(y,[0,S.length-1],[0,1],!0)},category:function(b){var S=this.option.categories?this.option.categoryMap[b]:b;return S==null?p:S},fixed:O.noop};h.listVisualTypes=function(){var b=[];return O.each(o,function(S,y){b.push(y)}),b},h.addVisualHandler=function(b,S){o[b]=S},h.isValidType=function(b){return o.hasOwnProperty(b)},h.eachVisual=function(b,S,y){O.isObject(b)?O.each(b,S,y):S.call(y,b)},h.mapVisual=function(b,S,y){var w,x=O.isArray(b)?[]:O.isObject(b)?{}:(w=!0,null);return h.eachVisual(b,function(T,L){var R=S.call(y,T,L);w?x=R:x[L]=R}),x},h.retrieveVisuals=function(b){var S={},y;return b&&C(o,function(w,x){b.hasOwnProperty(x)&&(S[x]=b[x],y=!0)}),y?S:null},h.prepareVisualTypes=function(b){if(t(b)){var S=[];C(b,function(y,w){S.push(w)}),b=S}else if(O.isArray(b))b=b.slice();else return[];return b.sort(function(y,w){return w==="color"&&y!=="color"&&y.indexOf("color")===0?1:-1}),b},h.dependsOn=function(b,S){return S==="color"?!!(b&&b.indexOf(S)===0):b===S},h.findPieceIndex=function(b,S,y){for(var w,x=Infinity,T=0,L=S.length;T<L;T++){var R=S[T].value;if(R!=null){if(R===b||typeof R=="string"&&R===b+"")return T;y&&D(R,T)}}for(var T=0,L=S.length;T<L;T++){var P=S[T],k=P.interval,U=P.close;if(k){if(k[0]===-Infinity){if(g(U[1],b,k[1]))return T}else if(k[1]===Infinity){if(g(U[0],k[0],b))return T}else if(g(U[0],k[0],b)&&g(U[1],b,k[1]))return T;y&&D(k[0],T),y&&D(k[1],T)}}if(y)return b===Infinity?S.length-1:b===-Infinity?0:w;function D(M,B){var j=Math.abs(M-b);j<x&&(x=j,w=B)}};function g(b,S,y){return b?S<=y:S<y}var v=h;ue.exports=v},XzQk:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("KpQ+"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},Y1PL:function(ue,z,d){"use strict";d.r(z),d.d(z,"ResizableTextArea",function(){return W});var O=d("wx14"),_=d("1OyB"),I=d("vuIU"),E=d("Ji7U"),C=d("LK+K"),t=d("q1tI"),p=d("VTBJ"),h=d("rePB"),o=d("Zm9Q"),r=d("Kwbf"),s=d("c+Xe"),l=d("m+aA"),n=d("bdgK"),c=new Map;function e(Z){Z.forEach(function(G){var Y,te=G.target;(Y=c.get(te))===null||Y===void 0||Y.forEach(function(se){return se(te)})})}var a=new n.default(e),i=null,u=null;function f(Z,G){c.has(Z)||(c.set(Z,new Set),a.observe(Z)),c.get(Z).add(G)}function m(Z,G){c.has(Z)&&(c.get(Z).delete(G),c.get(Z).size||(a.unobserve(Z),c.delete(Z)))}var A=function(Z){Object(E.a)(Y,Z);var G=Object(C.a)(Y);function Y(){return Object(_.a)(this,Y),G.apply(this,arguments)}return Object(I.a)(Y,[{key:"render",value:function(){return this.props.children}}]),Y}(t.Component),g=t.createContext(null);function v(Z){var G=Z.children,Y=Z.onBatchResize,te=t.useRef(0),se=t.useRef([]),Ce=t.useContext(g),he=t.useCallback(function(xe,ie,ee){te.current+=1;var Ze=te.current;se.current.push({size:xe,element:ie,data:ee}),Promise.resolve().then(function(){Ze===te.current&&(Y==null||Y(se.current),se.current=[])}),Ce==null||Ce(xe,ie,ee)},[Y,Ce]);return t.createElement(g.Provider,{value:he},G)}function b(Z){var G=Z.children,Y=Z.disabled,te=t.useRef(null),se=t.useRef(null),Ce=t.useContext(g),he=t.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),xe=t.isValidElement(G)&&Object(s.c)(G),ie=xe?G.ref:null,ee=t.useMemo(function(){return Object(s.a)(ie,te)},[ie,te]),Ze=t.useRef(Z);Ze.current=Z;var Se=t.useCallback(function(Ne){var it=Ze.current,Ye=it.onResize,nt=it.data,je=Ne.getBoundingClientRect(),et=je.width,He=je.height,pe=Ne.offsetWidth,ae=Ne.offsetHeight,re=Math.floor(et),be=Math.floor(He);if(he.current.width!==re||he.current.height!==be||he.current.offsetWidth!==pe||he.current.offsetHeight!==ae){var ze={width:re,height:be,offsetWidth:pe,offsetHeight:ae};he.current=ze;var Ke=pe===Math.round(et)?et:pe,Te=ae===Math.round(He)?He:ae,gt=Object(p.a)(Object(p.a)({},ze),{},{offsetWidth:Ke,offsetHeight:Te});Ce==null||Ce(gt,Ne,nt),Ye&&Promise.resolve().then(function(){Ye(gt,Ne)})}},[]);return t.useEffect(function(){var Ne=Object(l.a)(te.current)||Object(l.a)(se.current);return Ne&&!Y&&f(Ne,Se),function(){return m(Ne,Se)}},[te.current,Y]),t.createElement(A,{ref:se},xe?t.cloneElement(G,{ref:ee}):G)}var S="rc-observer-key";function y(Z){var G=Z.children,Y=Object(o.a)(G);return Y.map(function(te,se){var Ce=(te==null?void 0:te.key)||"".concat(S,"-").concat(se);return t.createElement(b,Object(O.a)({},Z,{key:Ce}),te)})}y.Collection=v;var w=y,x=d("bT9E"),T=d("TSYQ"),L=d.n(T),R=`
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
`,P=["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","word-break"],k={},U;function D(Z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=Z.getAttribute("id")||Z.getAttribute("data-reactid")||Z.getAttribute("name");if(G&&k[Y])return k[Y];var te=window.getComputedStyle(Z),se=te.getPropertyValue("box-sizing")||te.getPropertyValue("-moz-box-sizing")||te.getPropertyValue("-webkit-box-sizing"),Ce=parseFloat(te.getPropertyValue("padding-bottom"))+parseFloat(te.getPropertyValue("padding-top")),he=parseFloat(te.getPropertyValue("border-bottom-width"))+parseFloat(te.getPropertyValue("border-top-width")),xe=P.map(function(ee){return"".concat(ee,":").concat(te.getPropertyValue(ee))}).join(";"),ie={sizingStyle:xe,paddingSize:Ce,borderSize:he,boxSizing:se};return G&&Y&&(k[Y]=ie),ie}function M(Z){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,te=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;U||(U=document.createElement("textarea"),U.setAttribute("tab-index","-1"),U.setAttribute("aria-hidden","true"),document.body.appendChild(U)),Z.getAttribute("wrap")?U.setAttribute("wrap",Z.getAttribute("wrap")):U.removeAttribute("wrap");var se=D(Z,G),Ce=se.paddingSize,he=se.borderSize,xe=se.boxSizing,ie=se.sizingStyle;U.setAttribute("style","".concat(ie,";").concat(R)),U.value=Z.value||Z.placeholder||"";var ee=Number.MIN_SAFE_INTEGER,Ze=Number.MAX_SAFE_INTEGER,Se=U.scrollHeight,Ne;if(xe==="border-box"?Se+=he:xe==="content-box"&&(Se-=Ce),Y!==null||te!==null){U.value=" ";var it=U.scrollHeight-Ce;Y!==null&&(ee=it*Y,xe==="border-box"&&(ee=ee+Ce+he),Se=Math.max(ee,Se)),te!==null&&(Ze=it*te,xe==="border-box"&&(Ze=Ze+Ce+he),Ne=Se>Ze?"":"hidden",Se=Math.min(Ze,Se))}return{height:Se,minHeight:ee,maxHeight:Ze,overflowY:Ne,resize:"none"}}var B=d("Gytx"),j=d.n(B),H;(function(Z){Z[Z.NONE=0]="NONE",Z[Z.RESIZING=1]="RESIZING",Z[Z.RESIZED=2]="RESIZED"})(H||(H={}));var K=function(Z){Object(E.a)(Y,Z);var G=Object(C.a)(Y);function Y(te){var se;return Object(_.a)(this,Y),se=G.call(this,te),se.nextFrameActionId=void 0,se.resizeFrameId=void 0,se.textArea=void 0,se.saveTextArea=function(Ce){se.textArea=Ce},se.handleResize=function(Ce){var he=se.state.resizeStatus,xe=se.props,ie=xe.autoSize,ee=xe.onResize;if(he!==H.NONE)return;typeof ee=="function"&&ee(Ce),ie&&se.resizeOnNextFrame()},se.resizeOnNextFrame=function(){cancelAnimationFrame(se.nextFrameActionId),se.nextFrameActionId=requestAnimationFrame(se.resizeTextarea)},se.resizeTextarea=function(){var Ce=se.props.autoSize;if(!Ce||!se.textArea)return;var he=Ce.minRows,xe=Ce.maxRows,ie=M(se.textArea,!1,he,xe);se.setState({textareaStyles:ie,resizeStatus:H.RESIZING},function(){cancelAnimationFrame(se.resizeFrameId),se.resizeFrameId=requestAnimationFrame(function(){se.setState({resizeStatus:H.RESIZED},function(){se.resizeFrameId=requestAnimationFrame(function(){se.setState({resizeStatus:H.NONE}),se.fixFirefoxAutoScroll()})})})})},se.renderTextArea=function(){var Ce=se.props,he=Ce.prefixCls,xe=he===void 0?"rc-textarea":he,ie=Ce.autoSize,ee=Ce.onResize,Ze=Ce.className,Se=Ce.disabled,Ne=se.state,it=Ne.textareaStyles,Ye=Ne.resizeStatus,nt=Object(x.a)(se.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),je=L()(xe,Ze,Object(h.a)({},"".concat(xe,"-disabled"),Se));"value"in nt&&(nt.value=nt.value||"");var et=Object(p.a)(Object(p.a)(Object(p.a)({},se.props.style),it),Ye===H.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return t.createElement(w,{onResize:se.handleResize,disabled:!(ie||ee)},t.createElement("textarea",Object(O.a)({},nt,{className:je,style:et,ref:se.saveTextArea})))},se.state={textareaStyles:{},resizeStatus:H.NONE},se}return Object(I.a)(Y,[{key:"componentDidUpdate",value:function(se){(se.value!==this.props.value||!j()(se.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var se=this.textArea.selectionStart,Ce=this.textArea.selectionEnd;this.textArea.setSelectionRange(se,Ce)}}catch(he){}}},{key:"render",value:function(){return this.renderTextArea()}}]),Y}(t.Component),W=K,X=function(Z){Object(E.a)(Y,Z);var G=Object(C.a)(Y);function Y(te){var se;Object(_.a)(this,Y),se=G.call(this,te),se.resizableTextArea=void 0,se.focus=function(){se.resizableTextArea.textArea.focus()},se.saveTextArea=function(he){se.resizableTextArea=he},se.handleChange=function(he){var xe=se.props.onChange;se.setValue(he.target.value,function(){se.resizableTextArea.resizeTextarea()}),xe&&xe(he)},se.handleKeyDown=function(he){var xe=se.props,ie=xe.onPressEnter,ee=xe.onKeyDown;he.keyCode===13&&ie&&ie(he),ee&&ee(he)};var Ce=typeof te.value=="undefined"||te.value===null?te.defaultValue:te.value;return se.state={value:Ce},se}return Object(I.a)(Y,[{key:"setValue",value:function(se,Ce){"value"in this.props||this.setState({value:se},Ce)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return t.createElement(W,Object(O.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(se){return"value"in se?{value:se.value}:null}}]),Y}(t.Component),V=z.default=X},YH21:function(ue,z,d){var O=d("H6uX");z.Dispatcher=O;var _=d("ItGF"),I=d("Ze12"),E=I.isCanvasEl,C=I.transformCoordWithViewport,t=typeof window!="undefined"&&!!window.addEventListener,p=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,h=[];function o(u,f,m,A){return m=m||{},A||!_.canvasSupported?r(u,f,m):_.browser.firefox&&f.layerX!=null&&f.layerX!==f.offsetX?(m.zrX=f.layerX,m.zrY=f.layerY):f.offsetX!=null?(m.zrX=f.offsetX,m.zrY=f.offsetY):r(u,f,m),m}function r(u,f,m){if(_.domSupported&&u.getBoundingClientRect){var A=f.clientX,g=f.clientY;if(E(u)){var v=u.getBoundingClientRect();m.zrX=A-v.left,m.zrY=g-v.top;return}else if(C(h,u,A,g)){m.zrX=h[0],m.zrY=h[1];return}}m.zrX=m.zrY=0}function s(u){return u||window.event}function l(u,f,m){if(f=s(f),f.zrX!=null)return f;var A=f.type,g=A&&A.indexOf("touch")>=0;if(!g)o(u,f,f,m),f.zrDelta=f.wheelDelta?f.wheelDelta/120:-(f.detail||0)/3;else{var v=A!=="touchend"?f.targetTouches[0]:f.changedTouches[0];v&&o(u,v,f,m)}var b=f.button;return f.which==null&&b!==void 0&&p.test(f.type)&&(f.which=b&1?1:b&2?3:b&4?2:0),f}function n(u,f,m,A){t?u.addEventListener(f,m,A):u.attachEvent("on"+f,m)}function c(u,f,m,A){t?u.removeEventListener(f,m,A):u.detachEvent("on"+f,m)}var e=t?function(u){u.preventDefault(),u.stopPropagation(),u.cancelBubble=!0}:function(u){u.returnValue=!1,u.cancelBubble=!0};function a(u){return u.which===2||u.which===3}function i(u){return u.which>1}z.clientToLocal=o,z.getNativeEvent=s,z.normalizeEvent=l,z.addEventListener=n,z.removeEventListener=c,z.stop=e,z.isMiddleOrRightButtonOnMouseUpDown=a,z.notLeftMouse=i},YJ9k:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(C,t){if(!(C instanceof t))throw new TypeError("Cannot call a class as a function")}function _(C,t){for(var p=0;p<t.length;p++){var h=t[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(C,h.key,h)}}function I(C,t,p){return t&&_(C.prototype,t),p&&_(C,p),C}var E=function(){function C(){O(this,C),this._listeners=new Map}return I(C,[{key:"addEventListener",value:function(p,h){this._listeners.has(p)||this._listeners.set(p,new Set),this._listeners.get(p).add(h)}},{key:"removeEventListener",value:function(p,h){this._listeners.has(p)&&this._listeners.get(p).delete(h)}},{key:"dispatchEvent",value:function(p){var h=this;return this._listeners.has(p.type)?(this._listeners.get(p.type).forEach(function(o){return o.call(h,p)}),!p.defaultPrevented):!0}}]),C}();z.default=E},YJCA:function(ue,z,d){"use strict";d.d(z,"a",function(){return Ye}),d.d(z,"b",function(){return et});var O=d("wx14"),_=d("ODXe"),I=d("vpQ4"),E=d("1OyB"),C=d("vuIU"),t=d("md7G"),p=d("foSv"),h=d("Ji7U"),o=d("JX7q"),r=d("rePB"),s=d("q1tI"),l=d.n(s),n=d("17x9"),c=d.n(n),e=d("i8i4"),a=d.n(e),i=d("QLaP"),u=d.n(i),f=d("KQm4"),m=function(){function He(){Object(E.a)(this,He),Object(r.a)(this,"refs",{})}return Object(C.a)(He,[{key:"add",value:function(ae,re){this.refs[ae]||(this.refs[ae]=[]),this.refs[ae].push(re)}},{key:"remove",value:function(ae,re){var be=this.getIndex(ae,re);be!==-1&&this.refs[ae].splice(be,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var ae=this;return this.refs[this.active.collection].find(function(re){var be=re.node;return be.sortableInfo.index==ae.active.index})}},{key:"getIndex",value:function(ae,re){return this.refs[ae].indexOf(re)}},{key:"getOrderedRefs",value:function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.active.collection;return this.refs[ae].sort(A)}}]),He}();function A(He,pe){var ae=He.node.sortableInfo.index,re=pe.node.sortableInfo.index;return ae-re}function g(He,pe,ae){return He=He.slice(),He.splice(ae<0?He.length+ae:ae,0,He.splice(pe,1)[0]),He}function v(He,pe){return Object.keys(He).reduce(function(ae,re){return pe.indexOf(re)===-1&&(ae[re]=He[re]),ae},{})}var b={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},S=function(){if(typeof window=="undefined"||typeof document=="undefined")return"";var He=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],pe=(Array.prototype.slice.call(He).join("").match(/-(moz|webkit|ms)-/)||He.OLink===""&&["","o"])[1];switch(pe){case"ms":return"ms";default:return pe&&pe.length?pe[0].toUpperCase()+pe.substr(1):""}}();function y(He,pe){Object.keys(pe).forEach(function(ae){He.style[ae]=pe[ae]})}function w(He,pe){He.style["".concat(S,"Transform")]=pe==null?"":"translate3d(".concat(pe.x,"px,").concat(pe.y,"px,0)")}function x(He,pe){He.style["".concat(S,"TransitionDuration")]=pe==null?"":"".concat(pe,"ms")}function T(He,pe){for(;He;){if(pe(He))return He;He=He.parentNode}return null}function L(He,pe,ae){return Math.max(He,Math.min(ae,pe))}function R(He){return He.substr(-2)==="px"?parseFloat(He):0}function P(He){var pe=window.getComputedStyle(He);return{bottom:R(pe.marginBottom),left:R(pe.marginLeft),right:R(pe.marginRight),top:R(pe.marginTop)}}function k(He,pe){var ae=pe.displayName||pe.name;return ae?"".concat(He,"(").concat(ae,")"):He}function U(He,pe){var ae=He.getBoundingClientRect();return{top:ae.top+pe.top,left:ae.left+pe.left}}function D(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 M(He){return He.touches&&He.touches.length||He.changedTouches&&He.changedTouches.length}function B(He,pe){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{left:0,top:0};if(!He)return;var re={left:ae.left+He.offsetLeft,top:ae.top+He.offsetTop};return He.parentNode===pe?re:B(He.parentNode,pe,re)}function j(He,pe,ae){return He<ae&&He>pe?He-1:He>ae&&He<pe?He+1:He}function H(He){var pe=He.lockOffset,ae=He.width,re=He.height,be=pe,ze=pe,Ke="px";if(typeof pe=="string"){var Te=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(pe);u()(Te!==null,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',pe),be=parseFloat(pe),ze=parseFloat(pe),Ke=Te[1]}return u()(isFinite(be)&&isFinite(ze),"lockOffset value should be a finite. Given %s",pe),Ke==="%"&&(be=be*ae/100,ze=ze*re/100),{x:be,y:ze}}function K(He){var pe=He.height,ae=He.width,re=He.lockOffset,be=Array.isArray(re)?re:[re,re];u()(be.length===2,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",re);var ze=Object(_.a)(be,2),Ke=ze[0],Te=ze[1];return[H({height:pe,lockOffset:Ke,width:ae}),H({height:pe,lockOffset:Te,width:ae})]}function W(He){var pe=window.getComputedStyle(He),ae=/(auto|scroll)/,re=["overflow","overflowX","overflowY"];return re.find(function(be){return ae.test(pe[be])})}function X(He){return He instanceof HTMLElement?W(He)?He:X(He.parentNode):null}function V(He){var pe=window.getComputedStyle(He);return pe.display==="grid"?{x:R(pe.gridColumnGap),y:R(pe.gridRowGap)}:{x:0,y:0}}var Z={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 Y(He){var pe="input, textarea, select, canvas, [contenteditable]",ae=He.querySelectorAll(pe),re=He.cloneNode(!0),be=Object(f.a)(re.querySelectorAll(pe));return be.forEach(function(ze,Ke){if(ze.type!=="file"&&(ze.value=ae[Ke].value),ze.type==="radio"&&ze.name&&(ze.name="__sortableClone__".concat(ze.name)),ze.tagName===G.Canvas&&ae[Ke].width>0&&ae[Ke].height>0){var Te=ze.getContext("2d");Te.drawImage(ae[Ke],0,0)}}),re}function te(He){var pe,ae,re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ae=pe=function(be){Object(h.a)(ze,be);function ze(){return Object(E.a)(this,ze),Object(t.a)(this,Object(p.a)(ze).apply(this,arguments))}return Object(C.a)(ze,[{key:"componentDidMount",value:function(){var Te=Object(e.findDOMNode)(this);Te.sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return u()(re.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 Te=re.withRef?"wrappedInstance":null;return Object(s.createElement)(He,Object(O.a)({ref:Te},this.props))}}]),ze}(s.Component),Object(r.a)(pe,"displayName",k("sortableHandle",He)),ae}function se(He){return He.sortableHandle!=null}var Ce=function(){function He(pe,ae){Object(E.a)(this,He),this.container=pe,this.onScrollCallback=ae}return Object(C.a)(He,[{key:"clear",value:function(){if(this.interval==null)return;clearInterval(this.interval),this.interval=null}},{key:"update",value:function(ae){var re=this,be=ae.translate,ze=ae.minTranslate,Ke=ae.maxTranslate,Te=ae.width,gt=ae.height,Ue={x:0,y:0},bt={x:1,y:1},wt={x:10,y:10},Et=this.container,xt=Et.scrollTop,Tt=Et.scrollLeft,Be=Et.scrollHeight,ce=Et.scrollWidth,q=Et.clientHeight,dt=Et.clientWidth,Ve=xt===0,de=Be-xt-q===0,Ht=Tt===0,tr=ce-Tt-dt===0;be.y>=Ke.y-gt/2&&!de?(Ue.y=1,bt.y=wt.y*Math.abs((Ke.y-gt/2-be.y)/gt)):be.x>=Ke.x-Te/2&&!tr?(Ue.x=1,bt.x=wt.x*Math.abs((Ke.x-Te/2-be.x)/Te)):be.y<=ze.y+gt/2&&!Ve?(Ue.y=-1,bt.y=wt.y*Math.abs((be.y-gt/2-ze.y)/gt)):be.x<=ze.x+Te/2&&!Ht&&(Ue.x=-1,bt.x=wt.x*Math.abs((be.x-Te/2-ze.x)/Te)),this.interval&&(this.clear(),this.isAutoScrolling=!1),(Ue.x!==0||Ue.y!==0)&&(this.interval=setInterval(function(){re.isAutoScrolling=!0;var lt={left:bt.x*Ue.x,top:bt.y*Ue.y};re.container.scrollTop+=lt.top,re.container.scrollLeft+=lt.left,re.onScrollCallback(lt)},5))}}]),He}();function he(He){var pe=He.node;return{height:pe.offsetHeight,width:pe.offsetWidth}}function xe(He){var pe=[G.Input,G.Textarea,G.Select,G.Option,G.Button];return pe.indexOf(He.target.tagName)!==-1?!0:!!T(He.target,function(ae){return ae.contentEditable==="true"})}var ie={axis:c.a.oneOf(["x","y","xy"]),contentWindow:c.a.any,disableAutoscroll:c.a.bool,distance:c.a.number,getContainer:c.a.func,getHelperDimensions:c.a.func,helperClass:c.a.string,helperContainer:c.a.oneOfType([c.a.func,typeof HTMLElement=="undefined"?c.a.any:c.a.instanceOf(HTMLElement)]),hideSortableGhost:c.a.bool,keyboardSortingTransitionDuration:c.a.number,lockAxis:c.a.string,lockOffset:c.a.oneOfType([c.a.number,c.a.string,c.a.arrayOf(c.a.oneOfType([c.a.number,c.a.string]))]),lockToContainerEdges:c.a.bool,onSortEnd:c.a.func,onSortMove:c.a.func,onSortOver:c.a.func,onSortStart:c.a.func,pressDelay:c.a.number,pressThreshold:c.a.number,keyCodes:c.a.shape({lift:c.a.arrayOf(c.a.number),drop:c.a.arrayOf(c.a.number),cancel:c.a.arrayOf(c.a.number),up:c.a.arrayOf(c.a.number),down:c.a.arrayOf(c.a.number)}),shouldCancelStart:c.a.func,transitionDuration:c.a.number,updateBeforeSortStart:c.a.func,useDragHandle:c.a.bool,useWindowAsScrollContainer:c.a.bool},ee={lift:[Z.SPACE],drop:[Z.SPACE],cancel:[Z.ESC],up:[Z.UP,Z.LEFT],down:[Z.DOWN,Z.RIGHT]},Ze={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:he,hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ee,shouldCancelStart:xe,transitionDuration:300,useWindowAsScrollContainer:!1},Se=Object.keys(ie);function Ne(He){u()(!(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 it(He,pe){try{var ae=He()}catch(re){return pe(!0,re)}return ae&&ae.then?ae.then(pe.bind(null,!1),pe.bind(null,!0)):pe(!1,value)}function Ye(He){var pe,ae,re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ae=pe=function(be){Object(h.a)(ze,be);function ze(Ke){var Te;return Object(E.a)(this,ze),Te=Object(t.a)(this,Object(p.a)(ze).call(this,Ke)),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"state",{}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleStart",function(gt){var Ue=Te.props,bt=Ue.distance,wt=Ue.shouldCancelStart;if(gt.button===2||wt(gt))return;Te.touched=!0,Te.position=D(gt);var Et=T(gt.target,function(dt){return dt.sortableInfo!=null});if(Et&&Et.sortableInfo&&Te.nodeIsChild(Et)&&!Te.state.sorting){var xt=Te.props.useDragHandle,Tt=Et.sortableInfo,Be=Tt.index,ce=Tt.collection,q=Tt.disabled;if(q)return;if(xt&&!T(gt.target,se))return;Te.manager.active={collection:ce,index:Be},!M(gt)&&gt.target.tagName===G.Anchor&&gt.preventDefault(),bt||(Te.props.pressDelay===0?Te.handlePress(gt):Te.pressTimer=setTimeout(function(){return Te.handlePress(gt)},Te.props.pressDelay))}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"nodeIsChild",function(gt){return gt.sortableInfo.manager===Te.manager}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleMove",function(gt){var Ue=Te.props,bt=Ue.distance,wt=Ue.pressThreshold;if(!Te.state.sorting&&Te.touched&&!Te._awaitingUpdateBeforeSortStart){var Et=D(gt),xt={x:Te.position.x-Et.x,y:Te.position.y-Et.y},Tt=Math.abs(xt.x)+Math.abs(xt.y);Te.delta=xt,!bt&&(!wt||Tt>=wt)?(clearTimeout(Te.cancelTimer),Te.cancelTimer=setTimeout(Te.cancel,0)):bt&&Tt>=bt&&Te.manager.isActive()&&Te.handlePress(gt)}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleEnd",function(){Te.touched=!1,Te.cancel()}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"cancel",function(){var gt=Te.props.distance,Ue=Te.state.sorting;Ue||(gt||clearTimeout(Te.pressTimer),Te.manager.active=null)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handlePress",function(gt){try{var Ue=Te.manager.getActive(),bt=function(){if(Ue){var wt=function(){var sr=de.sortableInfo.index,Kr=P(de),rr=V(Te.container),nr=Te.scrollContainer.getBoundingClientRect(),Nt=Tt({index:sr,node:de,collection:Ht});if(Te.node=de,Te.margin=Kr,Te.gridGap=rr,Te.width=Nt.width,Te.height=Nt.height,Te.marginOffset={x:Te.margin.left+Te.margin.right+Te.gridGap.x,y:Math.max(Te.margin.top,Te.margin.bottom,Te.gridGap.y)},Te.boundingClientRect=de.getBoundingClientRect(),Te.containerBoundingRect=nr,Te.index=sr,Te.newIndex=sr,Te.axis={x:xt.indexOf("x")>=0,y:xt.indexOf("y")>=0},Te.offsetEdge=B(de,Te.container),tr?Te.initialOffset=D(Object(I.a)({},gt,{pageX:Te.boundingClientRect.left,pageY:Te.boundingClientRect.top})):Te.initialOffset=D(gt),Te.initialScroll={left:Te.scrollContainer.scrollLeft,top:Te.scrollContainer.scrollTop},Te.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},Te.helper=Te.helperContainer.appendChild(Y(de)),y(Te.helper,{boxSizing:"border-box",height:"".concat(Te.height,"px"),left:"".concat(Te.boundingClientRect.left-Kr.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(Te.boundingClientRect.top-Kr.top,"px"),width:"".concat(Te.width,"px")}),tr&&Te.helper.focus(),ce&&(Te.sortableGhost=de,y(de,{opacity:0,visibility:"hidden"})),Te.minTranslate={},Te.maxTranslate={},tr){var ot=Ve?{top:0,left:0,width:Te.contentWindow.innerWidth,height:Te.contentWindow.innerHeight}:Te.containerBoundingRect,Qe=ot.top,qt=ot.left,xr=ot.width,vr=ot.height,fr=Qe+vr,An=qt+xr;Te.axis.x&&(Te.minTranslate.x=qt-Te.boundingClientRect.left,Te.maxTranslate.x=An-(Te.boundingClientRect.left+Te.width)),Te.axis.y&&(Te.minTranslate.y=Qe-Te.boundingClientRect.top,Te.maxTranslate.y=fr-(Te.boundingClientRect.top+Te.height))}else Te.axis.x&&(Te.minTranslate.x=(Ve?0:nr.left)-Te.boundingClientRect.left-Te.width/2,Te.maxTranslate.x=(Ve?Te.contentWindow.innerWidth:nr.left+nr.width)-Te.boundingClientRect.left-Te.width/2),Te.axis.y&&(Te.minTranslate.y=(Ve?0:nr.top)-Te.boundingClientRect.top-Te.height/2,Te.maxTranslate.y=(Ve?Te.contentWindow.innerHeight:nr.top+nr.height)-Te.boundingClientRect.top-Te.height/2);Be&&Be.split(" ").forEach(function($r){return Te.helper.classList.add($r)}),Te.listenerNode=gt.touches?de:Te.contentWindow,tr?(Te.listenerNode.addEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.addEventListener("keydown",Te.handleKeyDown)):(b.move.forEach(function($r){return Te.listenerNode.addEventListener($r,Te.handleSortMove,!1)}),b.end.forEach(function($r){return Te.listenerNode.addEventListener($r,Te.handleSortEnd,!1)})),Te.setState({sorting:!0,sortingIndex:sr}),dt&&dt({node:de,index:sr,collection:Ht,isKeySorting:tr,nodes:Te.manager.getOrderedRefs(),helper:Te.helper},gt),tr&&Te.keyMove(0)},Et=Te.props,xt=Et.axis,Tt=Et.getHelperDimensions,Be=Et.helperClass,ce=Et.hideSortableGhost,q=Et.updateBeforeSortStart,dt=Et.onSortStart,Ve=Et.useWindowAsScrollContainer,de=Ue.node,Ht=Ue.collection,tr=Te.manager.isKeySorting,lt=function(){if(typeof q=="function"){Te._awaitingUpdateBeforeSortStart=!0;var Xt=it(function(){var sr=de.sortableInfo.index;return Promise.resolve(q({collection:Ht,index:sr,node:de,isKeySorting:tr},gt)).then(function(){})},function(sr,Kr){if(Te._awaitingUpdateBeforeSortStart=!1,sr)throw Kr;return Kr});if(Xt&&Xt.then)return Xt.then(function(){})}}();return lt&&lt.then?lt.then(wt):wt(lt)}}();return Promise.resolve(bt&&bt.then?bt.then(function(){}):void 0)}catch(wt){return Promise.reject(wt)}}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleSortMove",function(gt){var Ue=Te.props.onSortMove;typeof gt.preventDefault=="function"&&gt.preventDefault(),Te.updateHelperPosition(gt),Te.animateNodes(),Te.autoscroll(),Ue&&Ue(gt)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleSortEnd",function(gt){var Ue=Te.props,bt=Ue.hideSortableGhost,wt=Ue.onSortEnd,Et=Te.manager,xt=Et.active.collection,Tt=Et.isKeySorting,Be=Te.manager.getOrderedRefs();Te.listenerNode&&(Tt?(Te.listenerNode.removeEventListener("wheel",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("mousedown",Te.handleKeyEnd,!0),Te.listenerNode.removeEventListener("keydown",Te.handleKeyDown)):(b.move.forEach(function(de){return Te.listenerNode.removeEventListener(de,Te.handleSortMove)}),b.end.forEach(function(de){return Te.listenerNode.removeEventListener(de,Te.handleSortEnd)}))),Te.helper.parentNode.removeChild(Te.helper),bt&&Te.sortableGhost&&y(Te.sortableGhost,{opacity:"",visibility:""});for(var ce=0,q=Be.length;ce<q;ce++){var dt=Be[ce],Ve=dt.node;dt.edgeOffset=null,dt.boundingClientRect=null,w(Ve,null),x(Ve,null),dt.translate=null}Te.autoScroller.clear(),Te.manager.active=null,Te.manager.isKeySorting=!1,Te.setState({sorting:!1,sortingIndex:null}),typeof wt=="function"&&wt({collection:xt,newIndex:Te.newIndex,oldIndex:Te.index,isKeySorting:Tt,nodes:Be},gt),Te.touched=!1}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"autoscroll",function(){var gt=Te.props.disableAutoscroll,Ue=Te.manager.isKeySorting;if(gt){Te.autoScroller.clear();return}if(Ue){var bt=Object(I.a)({},Te.translate),wt=0,Et=0;Te.axis.x&&(bt.x=Math.min(Te.maxTranslate.x,Math.max(Te.minTranslate.x,Te.translate.x)),wt=Te.translate.x-bt.x),Te.axis.y&&(bt.y=Math.min(Te.maxTranslate.y,Math.max(Te.minTranslate.y,Te.translate.y)),Et=Te.translate.y-bt.y),Te.translate=bt,w(Te.helper,Te.translate),Te.scrollContainer.scrollLeft+=wt,Te.scrollContainer.scrollTop+=Et;return}Te.autoScroller.update({height:Te.height,maxTranslate:Te.maxTranslate,minTranslate:Te.minTranslate,translate:Te.translate,width:Te.width})}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"onAutoScroll",function(gt){Te.translate.x+=gt.left,Te.translate.y+=gt.top,Te.animateNodes()}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleKeyDown",function(gt){var Ue=gt.keyCode,bt=Te.props,wt=bt.shouldCancelStart,Et=bt.keyCodes,xt=Et===void 0?{}:Et,Tt=Object(I.a)({},ee,xt);if(Te.manager.active&&!Te.manager.isKeySorting||!Te.manager.active&&(!Tt.lift.includes(Ue)||wt(gt)||!Te.isValidSortingTarget(gt)))return;gt.stopPropagation(),gt.preventDefault(),Tt.lift.includes(Ue)&&!Te.manager.active?Te.keyLift(gt):Tt.drop.includes(Ue)&&Te.manager.active?Te.keyDrop(gt):Tt.cancel.includes(Ue)?(Te.newIndex=Te.manager.active.index,Te.keyDrop(gt)):Tt.up.includes(Ue)?Te.keyMove(-1):Tt.down.includes(Ue)&&Te.keyMove(1)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"keyLift",function(gt){var Ue=gt.target,bt=T(Ue,function(Tt){return Tt.sortableInfo!=null}),wt=bt.sortableInfo,Et=wt.index,xt=wt.collection;Te.initialFocusedNode=Ue,Te.manager.isKeySorting=!0,Te.manager.active={index:Et,collection:xt},Te.handlePress(gt)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"keyMove",function(gt){var Ue=Te.manager.getOrderedRefs(),bt=Ue[Ue.length-1].node.sortableInfo.index,wt=Te.newIndex+gt,Et=Te.newIndex;if(wt<0||wt>bt)return;Te.prevIndex=Et,Te.newIndex=wt;var xt=j(Te.newIndex,Te.prevIndex,Te.index),Tt=Ue.find(function(tr){var lt=tr.node;return lt.sortableInfo.index===xt}),Be=Tt.node,ce=Te.containerScrollDelta,q=Tt.boundingClientRect||U(Be,ce),dt=Tt.translate||{x:0,y:0},Ve={top:q.top+dt.y-ce.top,left:q.left+dt.x-ce.left},de=Et<wt,Ht={x:de&&Te.axis.x?Be.offsetWidth-Te.width:0,y:de&&Te.axis.y?Be.offsetHeight-Te.height:0};Te.handleSortMove({pageX:Ve.left+Ht.x,pageY:Ve.top+Ht.y,ignoreTransition:gt===0})}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"keyDrop",function(gt){Te.handleSortEnd(gt),Te.initialFocusedNode&&Te.initialFocusedNode.focus()}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"handleKeyEnd",function(gt){Te.manager.active&&Te.keyDrop(gt)}),Object(r.a)(Object(o.a)(Object(o.a)(Te)),"isValidSortingTarget",function(gt){var Ue=Te.props.useDragHandle,bt=gt.target,wt=T(bt,function(Et){return Et.sortableInfo!=null});return wt&&wt.sortableInfo&&!wt.sortableInfo.disabled&&(Ue?se(bt):bt.sortableInfo)}),Ne(Ke),Te.manager=new m,Te.events={end:Te.handleEnd,move:Te.handleMove,start:Te.handleStart},Te}return Object(C.a)(ze,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var Te=this,gt=this.props.useWindowAsScrollContainer,Ue=this.getContainer();Promise.resolve(Ue).then(function(bt){Te.container=bt,Te.document=Te.container.ownerDocument||document;var wt=Te.props.contentWindow||Te.document.defaultView||window;Te.contentWindow=typeof wt=="function"?wt():wt,Te.scrollContainer=gt?Te.document.scrollingElement||Te.document.documentElement:X(Te.container)||Te.container,Te.autoScroller=new Ce(Te.scrollContainer,Te.onAutoScroll),Object.keys(Te.events).forEach(function(Et){return b[Et].forEach(function(xt){return Te.container.addEventListener(xt,Te.events[Et],!1)})}),Te.container.addEventListener("keydown",Te.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var Te=this;if(this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),!this.container)return;Object.keys(this.events).forEach(function(gt){return b[gt].forEach(function(Ue){return Te.container.removeEventListener(Ue,Te.events[gt])})}),this.container.removeEventListener("keydown",this.handleKeyDown)}},{key:"updateHelperPosition",value:function(Te){var gt=this.props,Ue=gt.lockAxis,bt=gt.lockOffset,wt=gt.lockToContainerEdges,Et=gt.transitionDuration,xt=gt.keyboardSortingTransitionDuration,Tt=xt===void 0?Et:xt,Be=this.manager.isKeySorting,ce=Te.ignoreTransition,q=D(Te),dt={x:q.x-this.initialOffset.x,y:q.y-this.initialOffset.y};if(dt.y-=window.pageYOffset-this.initialWindowScroll.top,dt.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=dt,wt){var Ve=K({height:this.height,lockOffset:bt,width:this.width}),de=Object(_.a)(Ve,2),Ht=de[0],tr=de[1],lt={x:this.width/2-Ht.x,y:this.height/2-Ht.y},Xt={x:this.width/2-tr.x,y:this.height/2-tr.y};dt.x=L(this.minTranslate.x+lt.x,this.maxTranslate.x-Xt.x,dt.x),dt.y=L(this.minTranslate.y+lt.y,this.maxTranslate.y-Xt.y,dt.y)}Ue==="x"?dt.y=0:Ue==="y"&&(dt.x=0),Be&&Tt&&!ce&&x(this.helper,Tt),w(this.helper,dt)}},{key:"animateNodes",value:function(){var Te=this.props,gt=Te.transitionDuration,Ue=Te.hideSortableGhost,bt=Te.onSortOver,wt=this.containerScrollDelta,Et=this.windowScrollDelta,xt=this.manager.getOrderedRefs(),Tt={left:this.offsetEdge.left+this.translate.x+wt.left,top:this.offsetEdge.top+this.translate.y+wt.top},Be=this.manager.isKeySorting,ce=this.newIndex;this.newIndex=null;for(var q=0,dt=xt.length;q<dt;q++){var Ve=xt[q].node,de=Ve.sortableInfo.index,Ht=Ve.offsetWidth,tr=Ve.offsetHeight,lt={height:this.height>tr?tr/2:this.height/2,width:this.width>Ht?Ht/2:this.width/2},Xt=Be&&de>this.index&&de<=ce,sr=Be&&de<this.index&&de>=ce,Kr={x:0,y:0},rr=xt[q].edgeOffset;rr||(rr=B(Ve,this.container),xt[q].edgeOffset=rr,Be&&(xt[q].boundingClientRect=U(Ve,wt)));var nr=q<xt.length-1&&xt[q+1],Nt=q>0&&xt[q-1];if(nr&&!nr.edgeOffset&&(nr.edgeOffset=B(nr.node,this.container),Be&&(nr.boundingClientRect=U(nr.node,wt))),de===this.index){Ue&&(this.sortableGhost=Ve,y(Ve,{opacity:0,visibility:"hidden"}));continue}gt&&x(Ve,gt),this.axis.x?this.axis.y?sr||de<this.index&&(Tt.left+Et.left-lt.width<=rr.left&&Tt.top+Et.top<=rr.top+lt.height||Tt.top+Et.top+lt.height<=rr.top)?(Kr.x=this.width+this.marginOffset.x,rr.left+Kr.x>this.containerBoundingRect.width-lt.width&&(nr&&(Kr.x=nr.edgeOffset.left-rr.left,Kr.y=nr.edgeOffset.top-rr.top)),this.newIndex===null&&(this.newIndex=de)):(Xt||de>this.index&&(Tt.left+Et.left+lt.width>=rr.left&&Tt.top+Et.top+lt.height>=rr.top||Tt.top+Et.top+lt.height>=rr.top+tr))&&(Kr.x=-(this.width+this.marginOffset.x),rr.left+Kr.x<this.containerBoundingRect.left+lt.width&&(Nt&&(Kr.x=Nt.edgeOffset.left-rr.left,Kr.y=Nt.edgeOffset.top-rr.top)),this.newIndex=de):Xt||de>this.index&&Tt.left+Et.left+lt.width>=rr.left?(Kr.x=-(this.width+this.marginOffset.x),this.newIndex=de):(sr||de<this.index&&Tt.left+Et.left<=rr.left+lt.width)&&(Kr.x=this.width+this.marginOffset.x,this.newIndex==null&&(this.newIndex=de)):this.axis.y&&(Xt||de>this.index&&Tt.top+Et.top+lt.height>=rr.top?(Kr.y=-(this.height+this.marginOffset.y),this.newIndex=de):(sr||de<this.index&&Tt.top+Et.top<=rr.top+lt.height)&&(Kr.y=this.height+this.marginOffset.y,this.newIndex==null&&(this.newIndex=de))),w(Ve,Kr),xt[q].translate=Kr}this.newIndex==null&&(this.newIndex=this.index),Be&&(this.newIndex=ce);var ot=Be?this.prevIndex:ce;bt&&this.newIndex!==ot&&bt({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:ot,isKeySorting:Be,nodes:xt,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return u()(re.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 Te=this.props.getContainer;return typeof Te!="function"?Object(e.findDOMNode)(this):Te(re.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var Te=re.withRef?"wrappedInstance":null;return Object(s.createElement)(He,Object(O.a)({ref:Te},v(this.props,Se)))}},{key:"helperContainer",get:function(){var Te=this.props.helperContainer;return typeof Te=="function"?Te():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){var Te=this.props.useWindowAsScrollContainer;return Te?{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}(s.Component),Object(r.a)(pe,"displayName",k("sortableList",He)),Object(r.a)(pe,"defaultProps",Ze),Object(r.a)(pe,"propTypes",ie),Object(r.a)(pe,"childContextTypes",{manager:c.a.object.isRequired}),ae}var nt={index:c.a.number.isRequired,collection:c.a.oneOfType([c.a.number,c.a.string]),disabled:c.a.bool},je=Object.keys(nt);function et(He){var pe,ae,re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{withRef:!1};return ae=pe=function(be){Object(h.a)(ze,be);function ze(){return Object(E.a)(this,ze),Object(t.a)(this,Object(p.a)(ze).apply(this,arguments))}return Object(C.a)(ze,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(Te){this.node&&(Te.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),Te.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),Te.collection!==this.props.collection&&(this.unregister(Te.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var Te=this.props,gt=Te.collection,Ue=Te.disabled,bt=Te.index,wt=Object(e.findDOMNode)(this);wt.sortableInfo={collection:gt,disabled:Ue,index:bt,manager:this.context.manager},this.node=wt,this.ref={node:wt},this.context.manager.add(gt,this.ref)}},{key:"unregister",value:function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.collection;this.context.manager.remove(Te,this.ref)}},{key:"getWrappedInstance",value:function(){return u()(re.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 Te=re.withRef?"wrappedInstance":null;return Object(s.createElement)(He,Object(O.a)({ref:Te},v(this.props,je)))}}]),ze}(s.Component),Object(r.a)(pe,"displayName",k("sortableElement",He)),Object(r.a)(pe,"contextTypes",{manager:c.a.object.isRequired}),Object(r.a)(pe,"propTypes",nt),Object(r.a)(pe,"defaultProps",{collection:0}),ae}},YNAk:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("QyFq")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="CaretDownFilled";var h=E.forwardRef(p);z.default=h},YNf1:function(ue,z,d){var O=d("IwbS"),_=d("6Ic6"),I=.3,E=_.extend({type:"parallel",init:function(){this._dataGroup=new O.Group,this.group.add(this._dataGroup),this._data,this._initialized},render:function(l,n,c,e){var a=this._dataGroup,i=l.getData(),u=this._data,f=l.coordinateSystem,m=f.dimensions,A=h(l);i.diff(u).add(g).update(v).remove(b).execute();function g(y){var w=p(i,a,y,m,f);o(w,i,y,A)}function v(y,w){var x=u.getItemGraphicEl(w),T=t(i,y,m,f);i.setItemGraphicEl(y,x);var L=e&&e.animation===!1?null:l;O.updateProps(x,{shape:{points:T}},L,y),o(x,i,y,A)}function b(y){var w=u.getItemGraphicEl(y);a.remove(w)}if(!this._initialized){this._initialized=!0;var S=C(f,l,function(){setTimeout(function(){a.removeClipPath()})});a.setClipPath(S)}this._data=i},incrementalPrepareRender:function(l,n,c){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(l,n,c){for(var e=n.getData(),a=n.coordinateSystem,i=a.dimensions,u=h(n),f=l.start;f<l.end;f++){var m=p(e,this._dataGroup,f,i,a);m.incremental=!0,o(m,e,f,u)}},dispose:function(){},remove:function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null}});function C(l,n,c){var e=l.model,a=l.getRect(),i=new O.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),u=e.get("layout")==="horizontal"?"width":"height";return i.setShape(u,0),O.initProps(i,{shape:{width:a.width,height:a.height}},n,c),i}function t(l,n,c,e){for(var a=[],i=0;i<c.length;i++){var u=c[i],f=l.get(l.mapDimension(u),n);r(f,e.getAxis(u).type)||a.push(e.dataToPoint(f,u))}return a}function p(l,n,c,e,a){var i=t(l,c,e,a),u=new O.Polyline({shape:{points:i},silent:!0,z2:10});return n.add(u),l.setItemGraphicEl(c,u),u}function h(l){var n=l.get("smooth",!0);return n===!0&&(n=I),{lineStyle:l.getModel("lineStyle").getLineStyle(),smooth:n!=null?n:I}}function o(l,n,c,e){var a=e.lineStyle;if(n.hasItemOption){var i=n.getItemModel(c).getModel("lineStyle");a=i.getLineStyle()}l.useStyle(a);var u=l.style;u.fill=null,u.stroke=n.getItemVisual(c,"color"),u.opacity=n.getItemVisual(c,"opacity"),e.smooth&&(l.shape.smooth=e.smooth)}function r(l,n){return n==="category"?l==null:l==null||isNaN(l)}var s=E;ue.exports=s},YOMW:function(ue,z,d){var O=d("bYtY"),_={get:function(C,t,p){var h=O.clone((I[C]||{})[t]);return p&&O.isArray(h)?h[h.length-1]:h}},I={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]}},E=_;ue.exports=E},YXkt:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("Qxkt"),C=d("gPAo"),t=d("7G+c"),p=d("KxfA"),h=p.defaultDimValueGetters,o=p.DefaultDataProvider,r=d("L0Ub"),s=r.summarizeDimensions,l=d("Vi4m"),n=I.isObject,c="undefined",e=-1,a="e\0\0",i={float:typeof Float64Array===c?Array:Float64Array,int:typeof Int32Array===c?Array:Int32Array,ordinal:Array,number:Array,time:Array},u=typeof Uint32Array===c?Array:Uint32Array,f=typeof Int32Array===c?Array:Int32Array,m=typeof Uint16Array===c?Array:Uint16Array;function A(W){return W._rawCount>65535?u:m}function g(W){var X=W.constructor;return X===Array?W.slice():new X(W)}var v=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function S(W,X){I.each(v.concat(X.__wrappedMethods||[]),function(V){X.hasOwnProperty(V)&&(W[V]=X[V])}),W.__wrappedMethods=X.__wrappedMethods,I.each(b,function(V){W[V]=I.clone(X[V])}),W._calculationInfo=I.extend(X._calculationInfo)}var y=function(W,X){W=W||["x","y"];for(var V={},Z=[],G={},Y=0;Y<W.length;Y++){var te=W[Y];I.isString(te)?te=new l({name:te}):te instanceof l||(te=new l(te));var se=te.name;te.type=te.type||"float",te.coordDim||(te.coordDim=se,te.coordDimIndex=0),te.otherDims=te.otherDims||{},Z.push(se),V[se]=te,te.index=Y,te.createInvertedIndices&&(G[se]=[])}this.dimensions=Z,this._dimensionInfos=V,this.hostModel=X,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=s(this),this._invertedIndicesMap=G,this._calculationInfo={},this.userOutput=this._dimensionsSummary.userOutput},w=y.prototype;w.type="list",w.hasItemOption=!0,w.getDimension=function(W){return(typeof W=="number"||!isNaN(W)&&!this._dimensionInfos.hasOwnProperty(W))&&(W=this.dimensions[W]),W},w.getDimensionInfo=function(W){return this._dimensionInfos[this.getDimension(W)]},w.getDimensionsOnCoord=function(){return this._dimensionsSummary.dataDimsOnCoord.slice()},w.mapDimension=function(W,X){var V=this._dimensionsSummary;if(X==null)return V.encodeFirstDimNotExtra[W];var Z=V.encode[W];return X===!0?(Z||[]).slice():Z&&Z[X]},w.initData=function(W,X,V){var Z=t.isInstance(W)||I.isArrayLike(W);Z&&(W=new o(W,this.dimensions.length)),this._rawData=W,this._storage={},this._indices=null,this._nameList=X||[],this._idList=[],this._nameRepeatCount={},V||(this.hasItemOption=!1),this.defaultDimValueGetter=h[this._rawData.getSource().sourceFormat],this._dimValueGetter=V=V||this.defaultDimValueGetter,this._dimValueGetterArrayRows=h.arrayRows,this._rawExtent={},this._initDataFromProvider(0,W.count()),W.pure&&(this.hasItemOption=!1)},w.getProvider=function(){return this._rawData},w.appendData=function(W){var X=this._rawData,V=this.count();X.appendData(W);var Z=X.count();X.persistent||(Z+=V),this._initDataFromProvider(V,Z)},w.appendValues=function(W,X){for(var V=this._chunkSize,Z=this._storage,G=this.dimensions,Y=G.length,te=this._rawExtent,se=this.count(),Ce=se+Math.max(W.length,X?X.length:0),he=this._chunkCount,xe=0;xe<Y;xe++){var ie=G[xe];te[ie]||(te[ie]=j()),Z[ie]||(Z[ie]=[]),x(Z,this._dimensionInfos[ie],V,he,Ce),this._chunkCount=Z[ie].length}for(var ee=new Array(Y),Ze=se;Ze<Ce;Ze++){for(var Se=Ze-se,Ne=Math.floor(Ze/V),it=Ze%V,Ye=0;Ye<Y;Ye++){var ie=G[Ye],nt=this._dimValueGetterArrayRows(W[Se]||ee,ie,Se,Ye);Z[ie][Ne][it]=nt;var je=te[ie];nt<je[0]&&(je[0]=nt),nt>je[1]&&(je[1]=nt)}X&&(this._nameList[Ze]=X[Se])}this._rawCount=this._count=Ce,this._extent={},T(this)},w._initDataFromProvider=function(W,X){if(W>=X)return;for(var V=this._chunkSize,Z=this._rawData,G=this._storage,Y=this.dimensions,te=Y.length,se=this._dimensionInfos,Ce=this._nameList,he=this._idList,xe=this._rawExtent,ie=this._nameRepeatCount={},ee,Ze=this._chunkCount,Se=0;Se<te;Se++){var Ne=Y[Se];xe[Ne]||(xe[Ne]=j());var it=se[Ne];it.otherDims.itemName===0&&(ee=this._nameDimIdx=Se),it.otherDims.itemId===0&&(this._idDimIdx=Se),G[Ne]||(G[Ne]=[]),x(G,it,V,Ze,X),this._chunkCount=G[Ne].length}for(var Ye=new Array(te),nt=W;nt<X;nt++){Ye=Z.getItem(nt,Ye);for(var je=Math.floor(nt/V),et=nt%V,He=0;He<te;He++){var Ne=Y[He],pe=G[Ne][je],ae=this._dimValueGetter(Ye,Ne,nt,He);pe[et]=ae;var re=xe[Ne];ae<re[0]&&(re[0]=ae),ae>re[1]&&(re[1]=ae)}if(!Z.pure){var be=Ce[nt];if(Ye&&be==null){if(Ye.name!=null)Ce[nt]=be=Ye.name;else if(ee!=null){var ze=Y[ee],Ke=G[ze][je];if(Ke){be=Ke[et];var Te=se[ze].ordinalMeta;Te&&Te.categories.length&&(be=Te.categories[be])}}}var gt=Ye==null?null:Ye.id;gt==null&&be!=null&&(ie[be]=ie[be]||0,gt=be,ie[be]>0&&(gt+="__ec__"+ie[be]),ie[be]++),gt!=null&&(he[nt]=gt)}}!Z.persistent&&Z.clean&&Z.clean(),this._rawCount=this._count=X,this._extent={},T(this)};function x(W,X,V,Z,G){var Y=i[X.type],te=Z-1,se=X.name,Ce=W[se][te];if(Ce&&Ce.length<V){for(var he=new Y(Math.min(G-te*V,V)),xe=0;xe<Ce.length;xe++)he[xe]=Ce[xe];W[se][te]=he}for(var ie=Z*V;ie<G;ie+=V)W[se].push(new Y(Math.min(G-ie,V)))}function T(W){var X=W._invertedIndicesMap;I.each(X,function(V,Z){var G=W._dimensionInfos[Z],Y=G.ordinalMeta;if(Y){V=X[Z]=new f(Y.categories.length);for(var te=0;te<V.length;te++)V[te]=e;for(var te=0;te<W._count;te++)V[W.get(Z,te)]=te}})}function L(W,X,V){var Z;if(X!=null){var G=W._chunkSize,Y=Math.floor(V/G),te=V%G,se=W.dimensions[X],Ce=W._storage[se][Y];if(Ce){Z=Ce[te];var he=W._dimensionInfos[se].ordinalMeta;he&&he.categories.length&&(Z=he.categories[Z])}}return Z}w.count=function(){return this._count},w.getIndices=function(){var W,X=this._indices;if(X){var V=X.constructor,Z=this._count;if(V===Array){W=new V(Z);for(var G=0;G<Z;G++)W[G]=X[G]}else W=new V(X.buffer,0,Z)}else for(var V=A(this),W=new V(this.count()),G=0;G<W.length;G++)W[G]=G;return W},w.get=function(W,X){if(!(X>=0&&X<this._count))return NaN;var V=this._storage;if(!V[W])return NaN;X=this.getRawIndex(X);var Z=Math.floor(X/this._chunkSize),G=X%this._chunkSize,Y=V[W][Z],te=Y[G];return te},w.getByRawIndex=function(W,X){if(!(X>=0&&X<this._rawCount))return NaN;var V=this._storage[W];if(!V)return NaN;var Z=Math.floor(X/this._chunkSize),G=X%this._chunkSize,Y=V[Z];return Y[G]},w._getFast=function(W,X){var V=Math.floor(X/this._chunkSize),Z=X%this._chunkSize,G=this._storage[W][V];return G[Z]},w.getValues=function(W,X){var V=[];I.isArray(W)||(X=W,W=this.dimensions);for(var Z=0,G=W.length;Z<G;Z++)V.push(this.get(W[Z],X));return V},w.hasValue=function(W){for(var X=this._dimensionsSummary.dataDimsOnCoord,V=0,Z=X.length;V<Z;V++)if(isNaN(this.get(X[V],W)))return!1;return!0},w.getDataExtent=function(W){W=this.getDimension(W);var X=this._storage[W],V=j();if(!X)return V;var Z=this.count(),G=!this._indices,Y;if(G)return this._rawExtent[W].slice();if(Y=this._extent[W],Y)return Y.slice();Y=V;for(var te=Y[0],se=Y[1],Ce=0;Ce<Z;Ce++){var he=this._getFast(W,this.getRawIndex(Ce));he<te&&(te=he),he>se&&(se=he)}return Y=[te,se],this._extent[W]=Y,Y},w.getApproximateExtent=function(W){return W=this.getDimension(W),this._approximateExtent[W]||this.getDataExtent(W)},w.setApproximateExtent=function(W,X){X=this.getDimension(X),this._approximateExtent[X]=W.slice()},w.getCalculationInfo=function(W){return this._calculationInfo[W]},w.setCalculationInfo=function(W,X){n(W)?I.extend(this._calculationInfo,W):this._calculationInfo[W]=X},w.getSum=function(W){var X=this._storage[W],V=0;if(X)for(var Z=0,G=this.count();Z<G;Z++){var Y=this.get(W,Z);isNaN(Y)||(V+=Y)}return V},w.getMedian=function(W){var X=[];this.each(W,function(G,Y){isNaN(G)||X.push(G)});var V=[].concat(X).sort(function(G,Y){return G-Y}),Z=this.count();return Z===0?0:Z%2===1?V[(Z-1)/2]:(V[Z/2]+V[Z/2-1])/2},w.rawIndexOf=function(W,X){var V=W&&this._invertedIndicesMap[W],Z=V[X];return Z==null||isNaN(Z)?e:Z},w.indexOfName=function(W){for(var X=0,V=this.count();X<V;X++)if(this.getName(X)===W)return X;return-1},w.indexOfRawIndex=function(W){if(W>=this._rawCount||W<0)return-1;if(!this._indices)return W;var X=this._indices,V=X[W];if(V!=null&&V<this._count&&V===W)return W;for(var Z=0,G=this._count-1;Z<=G;){var Y=(Z+G)/2|0;if(X[Y]<W)Z=Y+1;else if(X[Y]>W)G=Y-1;else return Y}return-1},w.indicesOfNearest=function(W,X,V){var Z=this._storage,G=Z[W],Y=[];if(!G)return Y;V==null&&(V=Infinity);for(var te=Infinity,se=-1,Ce=0,he=0,xe=this.count();he<xe;he++){var ie=X-this.get(W,he),ee=Math.abs(ie);ee<=V&&((ee<te||ee===te&&ie>=0&&se<0)&&(te=ee,se=ie,Ce=0),ie===se&&(Y[Ce++]=he))}return Y.length=Ce,Y},w.getRawIndex=R;function R(W){return W}function P(W){return W<this._count&&W>=0?this._indices[W]:-1}w.getRawDataItem=function(W){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(W));for(var X=[],V=0;V<this.dimensions.length;V++){var Z=this.dimensions[V];X.push(this.get(Z,W))}return X},w.getName=function(W){var X=this.getRawIndex(W);return this._nameList[X]||L(this,this._nameDimIdx,X)||""},w.getId=function(W){return k(this,this.getRawIndex(W))};function k(W,X){var V=W._idList[X];return V==null&&(V=L(W,W._idDimIdx,X)),V==null&&(V=a+X),V}function U(W){return I.isArray(W)||(W=[W]),W}function D(W,X){for(var V=0;V<X.length;V++)W._dimensionInfos[X[V]]||console.error("Unkown dimension "+X[V])}w.each=function(W,X,V,Z){"use strict";if(!this._count)return;typeof W=="function"&&(Z=V,V=X,X=W,W=[]),V=V||Z||this,W=I.map(U(W),this.getDimension,this);for(var G=W.length,Y=0;Y<this.count();Y++)switch(G){case 0:X.call(V,Y);break;case 1:X.call(V,this.get(W[0],Y),Y);break;case 2:X.call(V,this.get(W[0],Y),this.get(W[1],Y),Y);break;default:for(var te=0,se=[];te<G;te++)se[te]=this.get(W[te],Y);se[te]=Y,X.apply(V,se)}},w.filterSelf=function(W,X,V,Z){"use strict";if(!this._count)return;typeof W=="function"&&(Z=V,V=X,X=W,W=[]),V=V||Z||this,W=I.map(U(W),this.getDimension,this);for(var G=this.count(),Y=A(this),te=new Y(G),se=[],Ce=W.length,he=0,xe=W[0],ie=0;ie<G;ie++){var ee,Ze=this.getRawIndex(ie);if(Ce===0)ee=X.call(V,ie);else if(Ce===1){var Se=this._getFast(xe,Ze);ee=X.call(V,Se,ie)}else{for(var Ne=0;Ne<Ce;Ne++)se[Ne]=this._getFast(xe,Ze);se[Ne]=ie,ee=X.apply(V,se)}ee&&(te[he++]=Ze)}return he<G&&(this._indices=te),this._count=he,this._extent={},this.getRawIndex=this._indices?P:R,this},w.selectRange=function(W){"use strict";if(!this._count)return;var X=[];for(var V in W)W.hasOwnProperty(V)&&X.push(V);var Z=X.length;if(!Z)return;var G=this.count(),Y=A(this),te=new Y(G),se=0,Ce=X[0],he=W[Ce][0],xe=W[Ce][1],ie=!1;if(!this._indices){var ee=0;if(Z===1){for(var Ze=this._storage[X[0]],Se=0;Se<this._chunkCount;Se++)for(var Ne=Ze[Se],it=Math.min(this._count-Se*this._chunkSize,this._chunkSize),Ye=0;Ye<it;Ye++){var nt=Ne[Ye];(nt>=he&&nt<=xe||isNaN(nt))&&(te[se++]=ee),ee++}ie=!0}else if(Z===2){for(var Ze=this._storage[Ce],je=this._storage[X[1]],et=W[X[1]][0],He=W[X[1]][1],Se=0;Se<this._chunkCount;Se++)for(var Ne=Ze[Se],pe=je[Se],it=Math.min(this._count-Se*this._chunkSize,this._chunkSize),Ye=0;Ye<it;Ye++){var nt=Ne[Ye],ae=pe[Ye];(nt>=he&&nt<=xe||isNaN(nt))&&(ae>=et&&ae<=He||isNaN(ae))&&(te[se++]=ee),ee++}ie=!0}}if(!ie)if(Z===1)for(var Ye=0;Ye<G;Ye++){var re=this.getRawIndex(Ye),nt=this._getFast(Ce,re);(nt>=he&&nt<=xe||isNaN(nt))&&(te[se++]=re)}else for(var Ye=0;Ye<G;Ye++){for(var be=!0,re=this.getRawIndex(Ye),Se=0;Se<Z;Se++){var ze=X[Se],nt=this._getFast(V,re);(nt<W[ze][0]||nt>W[ze][1])&&(be=!1)}be&&(te[se++]=this.getRawIndex(Ye))}return se<G&&(this._indices=te),this._count=se,this._extent={},this.getRawIndex=this._indices?P:R,this},w.mapArray=function(W,X,V,Z){"use strict";typeof W=="function"&&(Z=V,V=X,X=W,W=[]),V=V||Z||this;var G=[];return this.each(W,function(){G.push(X&&X.apply(this,arguments))},V),G};function M(W,X){var V=W.dimensions,Z=new y(I.map(V,W.getDimensionInfo,W),W.hostModel);S(Z,W);for(var G=Z._storage={},Y=W._storage,te=0;te<V.length;te++){var se=V[te];Y[se]&&(I.indexOf(X,se)>=0?(G[se]=B(Y[se]),Z._rawExtent[se]=j(),Z._extent[se]=null):G[se]=Y[se])}return Z}function B(W){for(var X=new Array(W.length),V=0;V<W.length;V++)X[V]=g(W[V]);return X}function j(){return[Infinity,-Infinity]}w.map=function(W,X,V,Z){"use strict";V=V||Z||this,W=I.map(U(W),this.getDimension,this);var G=M(this,W);G._indices=this._indices,G.getRawIndex=G._indices?P:R;for(var Y=G._storage,te=[],se=this._chunkSize,Ce=W.length,he=this.count(),xe=[],ie=G._rawExtent,ee=0;ee<he;ee++){for(var Ze=0;Ze<Ce;Ze++)xe[Ze]=this.get(W[Ze],ee);xe[Ce]=ee;var Se=X&&X.apply(V,xe);if(Se!=null){typeof Se!="object"&&(te[0]=Se,Se=te);for(var Ne=this.getRawIndex(ee),it=Math.floor(Ne/se),Ye=Ne%se,nt=0;nt<Se.length;nt++){var je=W[nt],et=Se[nt],He=ie[je],pe=Y[je];pe&&(pe[it][Ye]=et),et<He[0]&&(He[0]=et),et>He[1]&&(He[1]=et)}}}return G},w.downSample=function(W,X,V,Z){for(var G=M(this,[W]),Y=G._storage,te=[],se=Math.floor(1/X),Ce=Y[W],he=this.count(),xe=this._chunkSize,ie=G._rawExtent[W],ee=new(A(this))(he),Ze=0,Se=0;Se<he;Se+=se){se>he-Se&&(se=he-Se,te.length=se);for(var Ne=0;Ne<se;Ne++){var it=this.getRawIndex(Se+Ne),Ye=Math.floor(it/xe),nt=it%xe;te[Ne]=Ce[Ye][nt]}var je=V(te),et=this.getRawIndex(Math.min(Se+Z(te,je)||0,he-1)),He=Math.floor(et/xe),pe=et%xe;Ce[He][pe]=je,je<ie[0]&&(ie[0]=je),je>ie[1]&&(ie[1]=je),ee[Ze++]=et}return G._count=Ze,G._indices=ee,G.getRawIndex=P,G},w.getItemModel=function(W){var X=this.hostModel;return new E(this.getRawDataItem(W),X,X&&X.ecModel)},w.diff=function(W){var X=this;return new C(W?W.getIndices():[],this.getIndices(),function(V){return k(W,V)},function(V){return k(X,V)})},w.getVisual=function(W){var X=this._visual;return X&&X[W]},w.setVisual=function(W,X){if(n(W)){for(var V in W)W.hasOwnProperty(V)&&this.setVisual(V,W[V]);return}this._visual=this._visual||{},this._visual[W]=X},w.setLayout=function(W,X){if(n(W)){for(var V in W)W.hasOwnProperty(V)&&this.setLayout(V,W[V]);return}this._layout[W]=X},w.getLayout=function(W){return this._layout[W]},w.getItemLayout=function(W){return this._itemLayouts[W]},w.setItemLayout=function(W,X,V){this._itemLayouts[W]=V?I.extend(this._itemLayouts[W]||{},X):X},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(W,X,V){var Z=this._itemVisuals[W],G=Z&&Z[X];return G==null&&!V?this.getVisual(X):G},w.setItemVisual=function(W,X,V){var Z=this._itemVisuals[W]||{},G=this.hasItemVisual;if(this._itemVisuals[W]=Z,n(X)){for(var Y in X)X.hasOwnProperty(Y)&&(Z[Y]=X[Y],G[Y]=!0);return}Z[X]=V,G[X]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var H=function(W){W.seriesIndex=this.seriesIndex,W.dataIndex=this.dataIndex,W.dataType=this.dataType};w.setItemGraphicEl=function(W,X){var V=this.hostModel;X&&(X.dataIndex=W,X.dataType=this.dataType,X.seriesIndex=V&&V.seriesIndex,X.type==="group"&&X.traverse(H,X)),this._graphicEls[W]=X},w.getItemGraphicEl=function(W){return this._graphicEls[W]},w.eachItemGraphicEl=function(W,X){I.each(this._graphicEls,function(V,Z){V&&(W&&W.call(X,V,Z))})},w.cloneShallow=function(W){if(!W){var X=I.map(this.dimensions,this.getDimensionInfo,this);W=new y(X,this.hostModel)}if(W._storage=this._storage,S(W,this),this._indices){var V=this._indices.constructor;W._indices=new V(this._indices)}else W._indices=null;return W.getRawIndex=W._indices?P:R,W},w.wrapMethod=function(W,X){var V=this[W];if(typeof V!="function")return;this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(W),this[W]=function(){var Z=V.apply(this,arguments);return X.apply(this,[Z].concat(I.slice(arguments)))}},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"];var K=y;ue.exports=K},YgsL:function(ue,z,d){var O=d("QBsz"),_=O.distance;function I(C,t,p,h,o,r,s){var l=(p-C)*.5,n=(h-t)*.5;return(2*(t-p)+l+n)*s+(-3*(t-p)-2*l-n)*r+l*o+t}function E(C,t){for(var p=C.length,h=[],o=0,r=1;r<p;r++)o+=_(C[r-1],C[r]);var s=o/2;s=s<p?p:s;for(var r=0;r<s;r++){var l=r/(s-1)*(t?p:p-1),n=Math.floor(l),c=l-n,e,a=C[n%p],i,u;t?(e=C[(n-1+p)%p],i=C[(n+1)%p],u=C[(n+2)%p]):(e=C[n===0?n:n-1],i=C[n>p-2?p-1:n+1],u=C[n>p-3?p-1:n+2]);var f=c*c,m=c*f;h.push([I(e[0],a[0],i[0],u[0],c,f,m),I(e[1],a[1],i[1],u[1],c,f,m)])}return h}ue.exports=E},Yl7c:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=".",C="___EC__COMPONENT__CONTAINER___";function t(e){var a={main:"",sub:""};return e&&(e=e.split(E),a.main=e[0]||"",a.sub=e[1]||""),a}function p(e){I.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function h(e,a){e.$constructor=e,e.extend=function(i){var u=this,f=function(){i.$constructor?i.$constructor.apply(this,arguments):u.apply(this,arguments)};return I.extend(f.prototype,i),f.extend=this.extend,f.superCall=s,f.superApply=l,I.inherits(f,this),f.superClass=u,f}}var o=0;function r(e){var a=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");e.prototype[a]=!0,e.isInstance=function(i){return!!(i&&i[a])}}function s(e,a){var i=I.slice(arguments,2);return this.superClass.prototype[a].apply(e,i)}function l(e,a,i){return this.superClass.prototype[a].apply(e,i)}function n(e,a){a=a||{};var i={};e.registerClass=function(m,A){if(A){if(p(A),A=t(A),!A.sub)i[A.main]=m;else if(A.sub!==C){var g=u(A);g[A.sub]=m}}return m},e.getClass=function(m,A,g){var v=i[m];if(v&&v[C]&&(v=A?v[A]:null),g&&!v)throw new Error(A?"Component "+m+"."+(A||"")+" not exists. Load it first.":m+".type should be specified.");return v},e.getClassesByMainType=function(m){m=t(m);var A=[],g=i[m.main];return g&&g[C]?I.each(g,function(v,b){b!==C&&A.push(v)}):A.push(g),A},e.hasClass=function(m){return m=t(m),!!i[m.main]},e.getAllClassMainTypes=function(){var m=[];return I.each(i,function(A,g){m.push(g)}),m},e.hasSubTypes=function(m){m=t(m);var A=i[m.main];return A&&A[C]},e.parseClassType=t;function u(m){var A=i[m.main];return(!A||!A[C])&&(A=i[m.main]={},A[C]=!0),A}if(a.registerWhenExtend){var f=e.extend;f&&(e.extend=function(m){var A=f.call(this,m);return e.registerClass(A,m.type)})}return e}function c(e,a){}z.parseClassType=t,z.enableClassExtend=h,z.enableClassCheck=r,z.enableClassManagement=n,z.setReadOnly=c},Ynxi:function(ue,z,d){var O=d("bYtY"),_=d("ProS"),I=d("IwbS"),E=d("+TT/"),C=E.getLayoutRect,t=d("7aKB"),p=t.windowOpen;_.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"}}}),_.extendComponentView({type:"title",render:function(h,o,r){if(this.group.removeAll(),!h.get("show"))return;var s=this.group,l=h.getModel("textStyle"),n=h.getModel("subtextStyle"),c=h.get("textAlign"),e=O.retrieve2(h.get("textBaseline"),h.get("textVerticalAlign")),a=new I.Text({style:I.setTextStyle({},l,{text:h.get("text"),textFill:l.getTextColor()},{disableBox:!0}),z2:10}),i=a.getBoundingRect(),u=h.get("subtext"),f=new I.Text({style:I.setTextStyle({},n,{text:u,textFill:n.getTextColor(),y:i.height+h.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),m=h.get("link"),A=h.get("sublink"),g=h.get("triggerEvent",!0);a.silent=!m&&!g,f.silent=!A&&!g,m&&a.on("click",function(){p(m,"_"+h.get("target"))}),A&&f.on("click",function(){p(m,"_"+h.get("subtarget"))}),a.eventData=f.eventData=g?{componentType:"title",componentIndex:h.componentIndex}:null,s.add(a),u&&s.add(f);var v=s.getBoundingRect(),b=h.getBoxLayoutParams();b.width=v.width,b.height=v.height;var S=C(b,{width:r.getWidth(),height:r.getHeight()},h.get("padding"));c||(c=h.get("left")||h.get("right"),c==="middle"&&(c="center"),c==="right"?S.x+=S.width:c==="center"&&(S.x+=S.width/2)),e||(e=h.get("top")||h.get("bottom"),e==="center"&&(e="middle"),e==="bottom"?S.y+=S.height:e==="middle"&&(S.y+=S.height/2),e=e||"top"),s.attr("position",[S.x,S.y]);var y={textAlign:c,textVerticalAlign:e};a.setStyle(y),f.setStyle(y),v=s.getBoundingRect();var w=S.margin,x=h.getItemStyle(["color","opacity"]);x.fill=h.get("backgroundColor");var T=new I.Rect({shape:{x:v.x-w[3],y:v.y-w[0],width:v.width+w[1]+w[3],height:v.height+w[0]+w[2],r:h.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});s.add(T)}})},Ywus:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("DO2E")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="DeleteOutlined";var h=E.forwardRef(p);z.default=h},Z0Lh:function(ue,z,d){"use strict";var O=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var _=O(d("pVnL")),I=O(d("HjOm")),E=O(d("Z6rY")),C={lang:(0,_.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"]},I.default),timePickerLocale:(0,_.default)({},E.default)};C.lang.ok="\u786E \u5B9A";var t=C;z.default=t},Z1HP:function(ue,z,d){var O=d("ycre"),_=d("quyA"),I=d("q4HE");function E(C){return _(C)?I(C):O(C)}ue.exports=E},Z1r0:function(ue,z){function d(O){var _=O.findComponents({mainType:"legend"});if(!_||!_.length)return;O.eachSeriesByType("graph",function(I){var E=I.getCategoriesData(),C=I.getGraph(),t=C.data,p=E.mapArray(E.getName);t.filterSelf(function(h){var o=t.getItemModel(h),r=o.getShallow("category");if(r!=null){typeof r=="number"&&(r=p[r]);for(var s=0;s<_.length;s++)if(!_[s].isSelected(r))return!1}return!0})},this)}ue.exports=d},Z1wy:function(ue,z,d){var O=d("ProS");d("ThAp"),d("pmaE"),d("SehX"),d("7uqq");var _=d("zuHt"),I=d("VPsl"),E=d("9u0u"),C=d("lELe"),t=d("d4KN");O.registerLayout(_),O.registerVisual(I),O.registerProcessor(O.PRIORITY.PROCESSOR.STATISTIC,E),O.registerPreprocessor(C),t("map",[{type:"mapToggleSelect",event:"mapselectchanged",method:"toggleSelected"},{type:"mapSelect",event:"mapselected",method:"select"},{type:"mapUnSelect",event:"mapunselected",method:"unSelect"}])},Z6js:function(ue,z,d){var O=d("MwEJ"),_=d("T4UG"),I=_.extend({type:"series.effectScatter",dependencies:["grid","polar"],getInitialData:function(E,C){return O(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}});ue.exports=I},Z6rY:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={placeholder:"\u8BF7\u9009\u62E9\u65F6\u95F4",rangePlaceholder:["\u5F00\u59CB\u65F6\u95F4","\u7ED3\u675F\u65F6\u95F4"]},_=O;z.default=_},Z8zF:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("IwbS"),t=d("56rv"),p=t.setLabel,h=d("Qxkt"),o=d("tceW"),r=d("y+Vt"),s=d("4fz+"),l=d("iLNv"),n=l.throttle,c=d("sK/D"),e=c.createClipPath,a=d("wr5s"),i=["itemStyle","barBorderWidth"],u=[0,0];E.extend(h.prototype,o);function f(H,K){var W=H.getArea&&H.getArea();if(H.type==="cartesian2d"){var X=H.getBaseAxis();if(X.type!=="category"||!X.onBand){var V=K.getLayout("bandWidth");X.isHorizontal()?(W.x-=V,W.width+=V*2):(W.y-=V,W.height+=V*2)}}return W}var m=I.extendChartView({type:"bar",render:function(H,K,W){this._updateDrawMode(H);var X=H.get("coordinateSystem");return(X==="cartesian2d"||X==="polar")&&(this._isLargeDraw?this._renderLarge(H,K,W):this._renderNormal(H,K,W)),this.group},incrementalPrepareRender:function(H,K,W){this._clear(),this._updateDrawMode(H)},incrementalRender:function(H,K,W,X){this._incrementalRenderLarge(H,K)},_updateDrawMode:function(H){var K=H.pipelineContext.large;(this._isLargeDraw==null||K^this._isLargeDraw)&&(this._isLargeDraw=K,this._clear())},_renderNormal:function(H,K,W){var X=this.group,V=H.getData(),Z=this._data,G=H.coordinateSystem,Y=G.getBaseAxis(),te;G.type==="cartesian2d"?te=Y.isHorizontal():G.type==="polar"&&(te=Y.dim==="angle");var se=H.isAnimationEnabled()?H:null,Ce=H.get("clip",!0),he=f(G,V);X.removeClipPath();var xe=H.get("roundCap",!0),ie=H.get("showBackground",!0),ee=H.getModel("backgroundStyle"),Ze=ee.get("barBorderRadius")||0,Se=[],Ne=this._backgroundEls||[];V.diff(Z).add(function(nt){var je=V.getItemModel(nt),et=w[G.type](V,nt,je);if(ie){var He=w[G.type](V,nt),pe=j(G,te,He);pe.useStyle(ee.getBarItemStyle()),G.type==="cartesian2d"&&pe.setShape("r",Ze),Se[nt]=pe}if(!V.hasValue(nt))return;if(Ce){var ae=v[G.type](he,et);if(ae){X.remove(re);return}}var re=b[G.type](nt,et,te,se,!1,xe);V.setItemGraphicEl(nt,re),X.add(re),T(re,V,nt,je,et,H,te,G.type==="polar")}).update(function(nt,je){var et=V.getItemModel(nt),He=w[G.type](V,nt,et);if(ie){var pe=Ne[je];pe.useStyle(ee.getBarItemStyle()),G.type==="cartesian2d"&&pe.setShape("r",Ze),Se[nt]=pe;var ae=w[G.type](V,nt),re=B(te,ae,G);C.updateProps(pe,{shape:re},se,nt)}var be=Z.getItemGraphicEl(je);if(!V.hasValue(nt)){X.remove(be);return}if(Ce){var ze=v[G.type](he,He);if(ze){X.remove(be);return}}be?C.updateProps(be,{shape:He},se,nt):be=b[G.type](nt,He,te,se,!0,xe),V.setItemGraphicEl(nt,be),X.add(be),T(be,V,nt,et,He,H,te,G.type==="polar")}).remove(function(nt){var je=Z.getItemGraphicEl(nt);G.type==="cartesian2d"?je&&S(nt,se,je):je&&y(nt,se,je)}).execute();var it=this._backgroundGroup||(this._backgroundGroup=new s);it.removeAll();for(var Ye=0;Ye<Se.length;++Ye)it.add(Se[Ye]);X.add(it),this._backgroundEls=Se,this._data=V},_renderLarge:function(H,K,W){this._clear(),P(H,this.group);var X=H.get("clip",!0)?e(H.coordinateSystem,!1,H):null;X?this.group.setClipPath(X):this.group.removeClipPath()},_incrementalRenderLarge:function(H,K){this._removeBackground(),P(K,this.group,!0)},dispose:E.noop,remove:function(H){this._clear(H)},_clear:function(H){var K=this.group,W=this._data;H&&H.get("animation")&&W&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],W.eachItemGraphicEl(function(X){X.type==="sector"?y(X.dataIndex,H,X):S(X.dataIndex,H,X)})):K.removeAll(),this._data=null},_removeBackground:function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null}}),A=Math.max,g=Math.min,v={cartesian2d:function(H,K){var W=K.width<0?-1:1,X=K.height<0?-1:1;W<0&&(K.x+=K.width,K.width=-K.width),X<0&&(K.y+=K.height,K.height=-K.height);var V=A(K.x,H.x),Z=g(K.x+K.width,H.x+H.width),G=A(K.y,H.y),Y=g(K.y+K.height,H.y+H.height);K.x=V,K.y=G,K.width=Z-V,K.height=Y-G;var te=K.width<0||K.height<0;return W<0&&(K.x+=K.width,K.width=-K.width),X<0&&(K.y+=K.height,K.height=-K.height),te},polar:function(H){return!1}},b={cartesian2d:function(H,K,W,X,V){var Z=new C.Rect({shape:E.extend({},K),z2:1});if(Z.name="item",X){var G=Z.shape,Y=W?"height":"width",te={};G[Y]=0,te[Y]=K[Y],C[V?"updateProps":"initProps"](Z,{shape:te},X,H)}return Z},polar:function(H,K,W,X,V,Z){var G=K.startAngle<K.endAngle,Y=!W&&Z?a:C.Sector,te=new Y({shape:E.defaults({clockwise:G},K),z2:1});if(te.name="item",X){var se=te.shape,Ce=W?"r":"endAngle",he={};se[Ce]=W?0:K.startAngle,he[Ce]=K[Ce],C[V?"updateProps":"initProps"](te,{shape:he},X,H)}return te}};function S(H,K,W){W.style.text=null,C.updateProps(W,{shape:{width:0}},K,H,function(){W.parent&&W.parent.remove(W)})}function y(H,K,W){W.style.text=null,C.updateProps(W,{shape:{r:W.shape.r0}},K,H,function(){W.parent&&W.parent.remove(W)})}var w={cartesian2d:function(H,K,W){var X=H.getItemLayout(K),V=W?L(W,X):0,Z=X.width>0?1:-1,G=X.height>0?1:-1;return{x:X.x+Z*V/2,y:X.y+G*V/2,width:X.width-Z*V,height:X.height-G*V}},polar:function(H,K,W){var X=H.getItemLayout(K);return{cx:X.cx,cy:X.cy,r0:X.r0,r:X.r,startAngle:X.startAngle,endAngle:X.endAngle}}};function x(H){return H.startAngle!=null&&H.endAngle!=null&&H.startAngle===H.endAngle}function T(H,K,W,X,V,Z,G,Y){var te=K.getItemVisual(W,"color"),se=K.getItemVisual(W,"opacity"),Ce=K.getVisual("borderColor"),he=X.getModel("itemStyle"),xe=X.getModel("emphasis.itemStyle").getBarItemStyle();Y||H.setShape("r",he.get("barBorderRadius")||0),H.useStyle(E.defaults({stroke:x(V)?"none":Ce,fill:x(V)?"none":te,opacity:se},he.getBarItemStyle()));var ie=X.getShallow("cursor");ie&&H.attr("cursor",ie);var ee=G?V.height>0?"bottom":"top":V.width>0?"left":"right";Y||p(H.style,xe,X,te,Z,W,ee),x(V)&&(xe.fill=xe.stroke="none"),C.setHoverStyle(H,xe)}function L(H,K){var W=H.get(i)||0,X=isNaN(K.width)?Number.MAX_VALUE:Math.abs(K.width),V=isNaN(K.height)?Number.MAX_VALUE:Math.abs(K.height);return Math.min(W,X,V)}var R=r.extend({type:"largeBar",shape:{points:[]},buildPath:function(H,K){for(var W=K.points,X=this.__startPoint,V=this.__baseDimIdx,Z=0;Z<W.length;Z+=2)X[V]=W[Z+V],H.moveTo(X[0],X[1]),H.lineTo(W[Z],W[Z+1])}});function P(H,K,W){var X=H.getData(),V=[],Z=X.getLayout("valueAxisHorizontal")?1:0;V[1-Z]=X.getLayout("valueAxisStart");var G=X.getLayout("largeDataIndices"),Y=X.getLayout("barWidth"),te=H.getModel("backgroundStyle"),se=H.get("showBackground",!0);if(se){var Ce=X.getLayout("largeBackgroundPoints"),he=[];he[1-Z]=X.getLayout("backgroundStart");var xe=new R({shape:{points:Ce},incremental:!!W,__startPoint:he,__baseDimIdx:Z,__largeDataIndices:G,__barWidth:Y,silent:!0,z2:0});M(xe,te,X),K.add(xe)}var ie=new R({shape:{points:X.getLayout("largePoints")},incremental:!!W,__startPoint:V,__baseDimIdx:Z,__largeDataIndices:G,__barWidth:Y});K.add(ie),D(ie,H,X),ie.seriesIndex=H.seriesIndex,H.get("silent")||(ie.on("mousedown",k),ie.on("mousemove",k))}var k=n(function(H){var K=this,W=U(K,H.offsetX,H.offsetY);K.dataIndex=W>=0?W:null},30,!1);function U(H,K,W){var X=H.__baseDimIdx,V=1-X,Z=H.shape.points,G=H.__largeDataIndices,Y=Math.abs(H.__barWidth/2),te=H.__startPoint[V];u[0]=K,u[1]=W;for(var se=u[X],Ce=u[1-X],he=se-Y,xe=se+Y,ie=0,ee=Z.length/2;ie<ee;ie++){var Ze=ie*2,Se=Z[Ze+X],Ne=Z[Ze+V];if(Se>=he&&Se<=xe&&(te<=Ne?Ce>=te&&Ce<=Ne:Ce>=Ne&&Ce<=te))return G[ie]}return-1}function D(H,K,W){var X=W.getVisual("borderColor")||W.getVisual("color"),V=K.getModel("itemStyle").getItemStyle(["color","borderColor"]);H.useStyle(V),H.style.fill=null,H.style.stroke=X,H.style.lineWidth=W.getLayout("barWidth")}function M(H,K,W){var X=K.get("borderColor")||K.get("color"),V=K.getItemStyle(["color","borderColor"]);H.useStyle(V),H.style.fill=null,H.style.stroke=X,H.style.lineWidth=W.getLayout("barWidth")}function B(H,K,W){var X,V=W.type==="polar";return V?X=W.getArea():X=W.grid.getRect(),V?{cx:X.cx,cy:X.cy,r0:H?X.r0:K.r0,r:H?X.r:K.r,startAngle:H?K.startAngle:0,endAngle:H?K.endAngle:Math.PI*2}:{x:H?K.x:X.x,y:H?X.y:K.y,width:H?K.width:X.width,height:H?X.height:K.height}}function j(H,K,W){var X=H.type==="polar"?C.Sector:C.Rect;return new X({shape:B(K,W,H),silent:!0,z2:0})}ue.exports=m},ZCgT:function(ue,z,d){var O=d("tLB3"),_=1/0,I=17976931348623157e292;function E(C){if(!C)return C===0?C:0;if(C=O(C),C===_||C===-_){var t=C<0?-1:1;return t*I}return C===C?C:0}ue.exports=E},ZLWo:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},ZMnZ:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("2oIt")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="UpOutlined";var h=E.forwardRef(p);z.default=h},ZTPi:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("q1tI"),t=d("rePB"),p=d("ODXe"),h=d("Ff2n"),o=d("VTBJ"),r=d("TSYQ"),s=d.n(r),l=d("Zm9Q"),n=d("6cGi"),c=d("KQm4"),e=d("xEkU"),a=d.n(e),i=d("t23M");function u(yr){var Mr=Object(C.useRef)(),Qr=Object(C.useRef)(!1);function _r(){for(var Vt=arguments.length,Sr=new Array(Vt),Zt=0;Zt<Vt;Zt++)Sr[Zt]=arguments[Zt];Qr.current||(a.a.cancel(Mr.current),Mr.current=a()(function(){yr.apply(void 0,Sr)}))}return Object(C.useEffect)(function(){return function(){Qr.current=!0,a.a.cancel(Mr.current)}},[]),_r}function f(yr){var Mr=Object(C.useRef)([]),Qr=Object(C.useState)({}),_r=Object(p.a)(Qr,2),Vt=_r[1],Sr=Object(C.useRef)(typeof yr=="function"?yr():yr),Zt=u(function(){var Hr=Sr.current;Mr.current.forEach(function(pn){Hr=pn(Hr)}),Mr.current=[],Sr.current=Hr,Vt({})});function Ur(Hr){Mr.current.push(Hr),Zt()}return[Sr.current,Ur]}var m=d("4IlW");function A(yr,Mr){var Qr,_r=yr.prefixCls,Vt=yr.id,Sr=yr.active,Zt=yr.rtl,Ur=yr.tab,Hr=Ur.key,pn=Ur.tab,sn=Ur.disabled,yn=Ur.closeIcon,Fn=yr.tabBarGutter,Gn=yr.tabPosition,Jn=yr.closable,Ci=yr.renderWrapper,ta=yr.removeAriaLabel,oa=yr.editable,da=yr.onClick,ca=yr.onRemove,ma=yr.onFocus,Ui="".concat(_r,"-tab");C.useEffect(function(){return ca},[]);var Ni={};Gn==="top"||Gn==="bottom"?Ni[Zt?"marginLeft":"marginRight"]=Fn:Ni.marginBottom=Fn;var ra=oa&&Jn!==!1&&!sn;function qi(Zi){if(sn)return;da(Zi)}function va(Zi){Zi.preventDefault(),Zi.stopPropagation(),oa.onEdit("remove",{key:Hr,event:Zi})}var Oa=C.createElement("div",{key:Hr,ref:Mr,className:s()(Ui,(Qr={},Object(t.a)(Qr,"".concat(Ui,"-with-remove"),ra),Object(t.a)(Qr,"".concat(Ui,"-active"),Sr),Object(t.a)(Qr,"".concat(Ui,"-disabled"),sn),Qr)),style:Ni,onClick:qi},C.createElement("div",{role:"tab","aria-selected":Sr,id:Vt&&"".concat(Vt,"-tab-").concat(Hr),className:"".concat(Ui,"-btn"),"aria-controls":Vt&&"".concat(Vt,"-panel-").concat(Hr),"aria-disabled":sn,tabIndex:sn?null:0,onClick:function(Xi){Xi.stopPropagation(),qi(Xi)},onKeyDown:function(Xi){[m.a.SPACE,m.a.ENTER].includes(Xi.which)&&(Xi.preventDefault(),qi(Xi))},onFocus:ma},pn),ra&&C.createElement("button",{type:"button","aria-label":ta||"remove",tabIndex:0,className:"".concat(Ui,"-remove"),onClick:function(Xi){Xi.stopPropagation(),va(Xi)}},yn||oa.removeIcon||"\xD7"));return Ci&&(Oa=Ci(Oa)),Oa}var g=C.forwardRef(A),v={width:0,height:0,left:0,top:0};function b(yr,Mr,Qr){return Object(C.useMemo)(function(){for(var _r,Vt=new Map,Sr=Mr.get((_r=yr[0])===null||_r===void 0?void 0:_r.key)||v,Zt=Sr.left+Sr.width,Ur=0;Ur<yr.length;Ur+=1){var Hr=yr[Ur].key,pn=Mr.get(Hr);if(!pn){var sn;pn=Mr.get((sn=yr[Ur-1])===null||sn===void 0?void 0:sn.key)||v}var yn=Vt.get(Hr)||Object(o.a)({},pn);yn.right=Zt-yn.left-yn.width,Vt.set(Hr,yn)}return Vt},[yr.map(function(_r){return _r.key}).join("_"),Mr,Qr])}var S={width:0,height:0,left:0,top:0,right:0};function y(yr,Mr,Qr,_r,Vt){var Sr=Vt.tabs,Zt=Vt.tabPosition,Ur=Vt.rtl,Hr,pn,sn;["top","bottom"].includes(Zt)?(Hr="width",pn=Ur?"right":"left",sn=Math.abs(Mr.left)):(Hr="height",pn="top",sn=-Mr.top);var yn=Mr[Hr],Fn=Qr[Hr],Gn=_r[Hr],Jn=yn;return Fn+Gn>yn&&(Jn=yn-Gn),Object(C.useMemo)(function(){if(!Sr.length)return[0,0];for(var Ci=Sr.length,ta=Ci,oa=0;oa<Ci;oa+=1){var da=yr.get(Sr[oa].key)||S;if(da[pn]+da[Hr]>sn+Jn){ta=oa-1;break}}for(var ca=0,ma=Ci-1;ma>=0;ma-=1){var Ui=yr.get(Sr[ma].key)||S;if(Ui[pn]<sn){ca=ma+1;break}}return[ca,ta]},[yr,sn,Jn,Zt,Sr.map(function(Ci){return Ci.key}).join("_"),Ur])}var w=d("wx14"),x=d("1OyB"),T=d("vuIU"),L=d("JX7q"),R=d("Ji7U"),P=d("LK+K"),k=d("I8Z2"),U=d("bT9E"),D=d("2GS6"),M=d("Gytx"),B=d.n(M),j=d("U8pU"),H=/iPhone/i,K=/iPod/i,W=/iPad/i,X=/\bAndroid(?:.+)Mobile\b/i,V=/Android/i,Z=/\bAndroid(?:.+)SD4930UR\b/i,G=/\bAndroid(?:.+)(?:KF[A-Z]{2,4})\b/i,Y=/Windows Phone/i,te=/\bWindows(?:.+)ARM\b/i,se=/BlackBerry/i,Ce=/BB10/i,he=/Opera Mini/i,xe=/\b(CriOS|Chrome)(?:.+)Mobile/i,ie=/Mobile(?:.+)Firefox\b/i;function ee(yr,Mr){return yr.test(Mr)}function Ze(yr){var Mr=yr||(typeof navigator!="undefined"?navigator.userAgent:""),Qr=(Mr||"").split("[FBAN");if(typeof Qr[1]!="undefined"){var _r=Qr,Vt=Object(p.a)(_r,1);Mr=Vt[0]}if(Qr=Mr.split("Twitter"),typeof Qr[1]!="undefined"){var Sr=Qr,Zt=Object(p.a)(Sr,1);Mr=Zt[0]}var Ur={apple:{phone:ee(H,Mr)&&!ee(Y,Mr),ipod:ee(K,Mr),tablet:!ee(H,Mr)&&ee(W,Mr)&&!ee(Y,Mr),device:(ee(H,Mr)||ee(K,Mr)||ee(W,Mr))&&!ee(Y,Mr)},amazon:{phone:ee(Z,Mr),tablet:!ee(Z,Mr)&&ee(G,Mr),device:ee(Z,Mr)||ee(G,Mr)},android:{phone:!ee(Y,Mr)&&ee(Z,Mr)||!ee(Y,Mr)&&ee(X,Mr),tablet:!ee(Y,Mr)&&!ee(Z,Mr)&&!ee(X,Mr)&&(ee(G,Mr)||ee(V,Mr)),device:!ee(Y,Mr)&&(ee(Z,Mr)||ee(G,Mr)||ee(X,Mr)||ee(V,Mr))||ee(/\bokhttp\b/i,Mr)},windows:{phone:ee(Y,Mr),tablet:ee(te,Mr),device:ee(Y,Mr)||ee(te,Mr)},other:{blackberry:ee(se,Mr),blackberry10:ee(Ce,Mr),opera:ee(he,Mr),firefox:ee(ie,Mr),chrome:ee(xe,Mr),device:ee(se,Mr)||ee(Ce,Mr)||ee(he,Mr)||ee(ie,Mr)||ee(xe,Mr)},any:null,phone:null,tablet:null};return Ur.any=Ur.apple.device||Ur.android.device||Ur.windows.device||Ur.other.device,Ur.phone=Ur.apple.phone||Ur.android.phone||Ur.windows.phone,Ur.tablet=Ur.apple.tablet||Ur.android.tablet||Ur.windows.tablet,Ur}var Se=Object(o.a)(Object(o.a)({},Ze()),{},{isMobile:Ze}),Ne=Se;function it(){}function Ye(yr,Mr,Qr){var _r=Mr||"";return yr.key||"".concat(_r,"item_").concat(Qr)}function nt(yr){return"".concat(yr,"-menu-")}function je(yr,Mr){var Qr=-1;C.Children.forEach(yr,function(_r){Qr+=1,_r&&_r.type&&_r.type.isMenuItemGroup?C.Children.forEach(_r.props.children,function(Vt){Qr+=1,Mr(Vt,Qr)}):Mr(_r,Qr)})}function et(yr,Mr,Qr){if(!yr||Qr.find)return;C.Children.forEach(yr,function(_r){if(_r){var Vt=_r.type;if(!Vt||!(Vt.isSubMenu||Vt.isMenuItem||Vt.isMenuItemGroup))return;Mr.indexOf(_r.key)!==-1?Qr.find=!0:_r.props.children&&et(_r.props.children,Mr,Qr)}})}var He=["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"],pe=function(Mr){var Qr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_r=Mr&&typeof Mr.getBoundingClientRect=="function"&&Mr.getBoundingClientRect().width;if(_r){if(Qr){var Vt=getComputedStyle(Mr),Sr=Vt.marginLeft,Zt=Vt.marginRight;_r+=+Sr.replace("px","")+ +Zt.replace("px","")}_r=+_r.toFixed(6)}return _r||0},ae=function(Mr,Qr,_r){Mr&&Object(j.a)(Mr.style)==="object"&&(Mr.style[Qr]=_r)},re=function(){return Ne.any},be=d("bdgK"),ze=d("i8i4"),Ke=d.n(ze),Te=d("wgJM"),gt=d("l4aY"),Ue=d("m+aA"),bt=d("c+Xe"),wt=d("zT1h"),Et=d("QC+M");function xt(yr,Mr,Qr){return Qr?yr[0]===Mr[0]:yr[0]===Mr[0]&&yr[1]===Mr[1]}function Tt(yr,Mr,Qr){var _r=yr[Mr]||{};return Object(o.a)(Object(o.a)({},_r),Qr)}function Be(yr,Mr,Qr,_r){for(var Vt=Qr.points,Sr=Object.keys(yr),Zt=0;Zt<Sr.length;Zt+=1){var Ur=Sr[Zt];if(xt(yr[Ur].points,Vt,_r))return"".concat(Mr,"-placement-").concat(Ur)}return""}var ce=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var yr=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(yr)||/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(yr==null?void 0:yr.substr(0,4)))},q=d("MNnm");function dt(yr,Mr){var Qr={};return Qr[yr.toLowerCase()]=Mr.toLowerCase(),Qr["Webkit".concat(yr)]="webkit".concat(Mr),Qr["Moz".concat(yr)]="moz".concat(Mr),Qr["ms".concat(yr)]="MS".concat(Mr),Qr["O".concat(yr)]="o".concat(Mr.toLowerCase()),Qr}function Ve(yr,Mr){var Qr={animationend:dt("Animation","AnimationEnd"),transitionend:dt("Transition","TransitionEnd")};return yr&&("AnimationEvent"in Mr||delete Qr.animationend.animation,"TransitionEvent"in Mr||delete Qr.transitionend.transition),Qr}var de=Ve(Object(q.a)(),typeof window!="undefined"?window:{}),Ht={};if(Object(q.a)()){var tr=document.createElement("div");Ht=tr.style}var lt={};function Xt(yr){if(lt[yr])return lt[yr];var Mr=de[yr];if(Mr)for(var Qr=Object.keys(Mr),_r=Qr.length,Vt=0;Vt<_r;Vt+=1){var Sr=Qr[Vt];if(Object.prototype.hasOwnProperty.call(Mr,Sr)&&Sr in Ht)return lt[yr]=Mr[Sr],lt[yr]}return""}var sr=Xt("animationend"),Kr=Xt("transitionend"),rr=!!(sr&&Kr),nr=sr||"animationend",Nt=Kr||"transitionend";function ot(yr,Mr){if(!yr)return null;if(Object(j.a)(yr)==="object"){var Qr=Mr.replace(/-\w/g,function(_r){return _r[1].toUpperCase()});return yr[Qr]}return"".concat(yr,"-").concat(Mr)}var Qe="none",qt="appear",xr="enter",vr="leave",fr="none",An="prepare",$r="start",Ln="active",$e="end";function tt(yr){var Mr=Object(C.useRef)(!1),Qr=Object(C.useState)(yr),_r=Object(p.a)(Qr,2),Vt=_r[0],Sr=_r[1];function Zt(Ur){Mr.current||Sr(Ur)}return Object(C.useEffect)(function(){return function(){Mr.current=!0}},[]),[Vt,Zt]}var ve=Object(q.a)()?C.useLayoutEffect:C.useEffect,_e=ve,ke=function(){var yr=C.useRef(null);function Mr(){Te.a.cancel(yr.current)}function Qr(_r){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Mr();var Sr=Object(Te.a)(function(){Vt<=1?_r({isCanceled:function(){return Sr!==yr.current}}):Qr(_r,Vt-1)});yr.current=Sr}return C.useEffect(function(){return function(){Mr()}},[]),[Qr,Mr]},rt=[An,$r,Ln,$e],Wt=!1,Bt=!0;function Gt(yr){return yr===Ln||yr===$e}var Rr=function(yr,Mr){var Qr=C.useState(fr),_r=Object(p.a)(Qr,2),Vt=_r[0],Sr=_r[1],Zt=ke(),Ur=Object(p.a)(Zt,2),Hr=Ur[0],pn=Ur[1];function sn(){Sr(An)}return _e(function(){if(Vt!==fr&&Vt!==$e){var yn=rt.indexOf(Vt),Fn=rt[yn+1],Gn=Mr(Vt);Gn===Wt?Sr(Fn):Hr(function(Jn){function Ci(){if(Jn.isCanceled())return;Sr(Fn)}Gn===!0?Ci():Promise.resolve(Gn).then(Ci)})}},[yr,Vt]),C.useEffect(function(){return function(){pn()}},[]),[sn,Vt]},Pr=function(yr){var Mr=Object(C.useRef)(),Qr=Object(C.useRef)(yr);Qr.current=yr;var _r=C.useCallback(function(Zt){Qr.current(Zt)},[]);function Vt(Zt){Zt&&(Zt.removeEventListener(Nt,_r),Zt.removeEventListener(nr,_r))}function Sr(Zt){Mr.current&&Mr.current!==Zt&&Vt(Mr.current),Zt&&Zt!==Mr.current&&(Zt.addEventListener(Nt,_r),Zt.addEventListener(nr,_r),Mr.current=Zt)}return C.useEffect(function(){return function(){Vt(Mr.current)}},[]),[Sr,Vt]};function cn(yr,Mr,Qr,_r){var Vt=_r.motionEnter,Sr=Vt===void 0?!0:Vt,Zt=_r.motionAppear,Ur=Zt===void 0?!0:Zt,Hr=_r.motionLeave,pn=Hr===void 0?!0:Hr,sn=_r.motionDeadline,yn=_r.motionLeaveImmediately,Fn=_r.onAppearPrepare,Gn=_r.onEnterPrepare,Jn=_r.onLeavePrepare,Ci=_r.onAppearStart,ta=_r.onEnterStart,oa=_r.onLeaveStart,da=_r.onAppearActive,ca=_r.onEnterActive,ma=_r.onLeaveActive,Ui=_r.onAppearEnd,Ni=_r.onEnterEnd,ra=_r.onLeaveEnd,qi=_r.onVisibleChanged,va=tt(),Oa=Object(p.a)(va,2),Zi=Oa[0],Xi=Oa[1],La=tt(Qe),Aa=Object(p.a)(La,2),Ti=Aa[0],Sa=Aa[1],Ra=tt(null),Na=Object(p.a)(Ra,2),Ua=Na[0],Pa=Na[1],za=Object(C.useRef)(!1),xa=Object(C.useRef)(null),ja=Object(C.useRef)(!1),io=Object(C.useRef)(null);function ia(){var eo=Qr();return eo||io.current}var lo=Object(C.useRef)(!1);function Ga(eo){var wa=ia();if(eo&&!eo.deadline&&eo.target!==wa)return;var ro;Ti===qt&&lo.current?ro=Ui==null?void 0:Ui(wa,eo):Ti===xr&&lo.current?ro=Ni==null?void 0:Ni(wa,eo):Ti===vr&&lo.current&&(ro=ra==null?void 0:ra(wa,eo)),ro!==!1&&!ja.current&&(Sa(Qe),Pa(null))}var Ca=Pr(Ga),Qa=Object(p.a)(Ca,1),Da=Qa[0],Ia=C.useMemo(function(){var eo,wa,ro;switch(Ti){case"appear":return eo={},Object(t.a)(eo,An,Fn),Object(t.a)(eo,$r,Ci),Object(t.a)(eo,Ln,da),eo;case"enter":return wa={},Object(t.a)(wa,An,Gn),Object(t.a)(wa,$r,ta),Object(t.a)(wa,Ln,ca),wa;case"leave":return ro={},Object(t.a)(ro,An,Jn),Object(t.a)(ro,$r,oa),Object(t.a)(ro,Ln,ma),ro;default:return{}}},[Ti]),yo=Rr(Ti,function(eo){if(eo===An){var wa=Ia[An];return wa?wa(ia()):Wt}if(co in Ia){var ro;Pa(((ro=Ia[co])===null||ro===void 0?void 0:ro.call(Ia,ia(),null))||null)}return co===Ln&&(Da(ia()),sn>0&&(clearTimeout(xa.current),xa.current=setTimeout(function(){Ga({deadline:!0})},sn))),Bt}),ao=Object(p.a)(yo,2),bo=ao[0],co=ao[1],uo=Gt(co);lo.current=uo,_e(function(){Xi(Mr);var eo=za.current;if(za.current=!0,!yr)return;var wa;!eo&&Mr&&Ur&&(wa=qt),eo&&Mr&&Sr&&(wa=xr),(eo&&!Mr&&pn||!eo&&yn&&!Mr&&pn)&&(wa=vr),wa&&(Sa(wa),bo())},[Mr]),Object(C.useEffect)(function(){(Ti===qt&&!Ur||Ti===xr&&!Sr||Ti===vr&&!pn)&&Sa(Qe)},[Ur,Sr,pn]),Object(C.useEffect)(function(){return function(){clearTimeout(xa.current),ja.current=!0}},[]),Object(C.useEffect)(function(){Zi!==void 0&&Ti===Qe&&(qi==null||qi(Zi))},[Zi,Ti]);var Ya=Ua;return Ia[An]&&co===$r&&(Ya=Object(o.a)({transition:"none"},Ya)),[Ti,co,Ya,Zi!=null?Zi:Mr]}var Ut=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(){return Object(x.a)(this,Qr),Mr.apply(this,arguments)}return Object(T.a)(Qr,[{key:"render",value:function(){return this.props.children}}]),Qr}(C.Component),pt=Ut;function ct(yr){var Mr=yr;Object(j.a)(yr)==="object"&&(Mr=yr.transitionSupport);function Qr(Vt){return!!(Vt.motionName&&Mr)}var _r=C.forwardRef(function(Vt,Sr){var Zt=Vt.visible,Ur=Zt===void 0?!0:Zt,Hr=Vt.removeOnLeave,pn=Hr===void 0?!0:Hr,sn=Vt.forceRender,yn=Vt.children,Fn=Vt.motionName,Gn=Vt.leavedClassName,Jn=Vt.eventProps,Ci=Qr(Vt),ta=Object(C.useRef)(),oa=Object(C.useRef)();function da(){try{return Object(Ue.a)(ta.current||oa.current)}catch(Sa){return null}}var ca=cn(Ci,Ur,da,Vt),ma=Object(p.a)(ca,4),Ui=ma[0],Ni=ma[1],ra=ma[2],qi=ma[3],va=C.useRef(qi);qi&&(va.current=!0);var Oa=Object(C.useRef)(Sr);Oa.current=Sr;var Zi=C.useCallback(function(Sa){ta.current=Sa,Object(bt.b)(Oa.current,Sa)},[]),Xi,La=Object(o.a)(Object(o.a)({},Jn),{},{visible:Ur});if(!yn)Xi=null;else if(Ui===Qe||!Qr(Vt))qi?Xi=yn(Object(o.a)({},La),Zi):!pn&&va.current?Xi=yn(Object(o.a)(Object(o.a)({},La),{},{className:Gn}),Zi):sn?Xi=yn(Object(o.a)(Object(o.a)({},La),{},{style:{display:"none"}}),Zi):Xi=null;else{var Aa,Ti;Ni===An?Ti="prepare":Gt(Ni)?Ti="active":Ni===$r&&(Ti="start"),Xi=yn(Object(o.a)(Object(o.a)({},La),{},{className:s()(ot(Fn,Ui),(Aa={},Object(t.a)(Aa,ot(Fn,"".concat(Ui,"-").concat(Ti)),Ti),Object(t.a)(Aa,Fn,typeof Fn=="string"),Aa)),style:ra}),Zi)}return C.createElement(pt,{ref:oa},Xi)});return _r.displayName="CSSMotion",_r}var Qt=ct(rr),Jt="add",yt="keep",Pt="remove",At="removed";function Ft(yr){var Mr;return yr&&Object(j.a)(yr)==="object"&&"key"in yr?Mr=yr:Mr={key:yr},Object(o.a)(Object(o.a)({},Mr),{},{key:String(Mr.key)})}function pr(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return yr.map(Ft)}function or(){var yr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Qr=[],_r=0,Vt=Mr.length,Sr=pr(yr),Zt=pr(Mr);Sr.forEach(function(pn){for(var sn=!1,yn=_r;yn<Vt;yn+=1){var Fn=Zt[yn];if(Fn.key===pn.key){_r<yn&&(Qr=Qr.concat(Zt.slice(_r,yn).map(function(Gn){return Object(o.a)(Object(o.a)({},Gn),{},{status:Jt})})),_r=yn),Qr.push(Object(o.a)(Object(o.a)({},Fn),{},{status:yt})),_r+=1,sn=!0;break}}sn||Qr.push(Object(o.a)(Object(o.a)({},pn),{},{status:Pt}))}),_r<Vt&&(Qr=Qr.concat(Zt.slice(_r).map(function(pn){return Object(o.a)(Object(o.a)({},pn),{},{status:Jt})})));var Ur={};Qr.forEach(function(pn){var sn=pn.key;Ur[sn]=(Ur[sn]||0)+1});var Hr=Object.keys(Ur).filter(function(pn){return Ur[pn]>1});return Hr.forEach(function(pn){Qr=Qr.filter(function(sn){var yn=sn.key,Fn=sn.status;return yn!==pn||Fn!==Pt}),Qr.forEach(function(sn){sn.key===pn&&(sn.status=yt)})}),Qr}var ir=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yr(yr){var Mr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qt,Qr=function(_r){Object(R.a)(Sr,_r);var Vt=Object(P.a)(Sr);function Sr(){var Zt;return Object(x.a)(this,Sr),Zt=Vt.apply(this,arguments),Zt.state={keyEntities:[]},Zt.removeKey=function(Ur){Zt.setState(function(Hr){var pn=Hr.keyEntities;return{keyEntities:pn.map(function(sn){return sn.key!==Ur?sn:Object(o.a)(Object(o.a)({},sn),{},{status:At})})}})},Zt}return Object(T.a)(Sr,[{key:"render",value:function(){var Ur=this,Hr=this.state.keyEntities,pn=this.props,sn=pn.component,yn=pn.children,Fn=pn.onVisibleChanged,Gn=Object(h.a)(pn,["component","children","onVisibleChanged"]),Jn=sn||C.Fragment,Ci={};return ir.forEach(function(ta){Ci[ta]=Gn[ta],delete Gn[ta]}),delete Gn.keys,C.createElement(Jn,Gn,Hr.map(function(ta){var oa=ta.status,da=Object(h.a)(ta,["status"]),ca=oa===Jt||oa===yt;return C.createElement(Mr,Object(w.a)({},Ci,{key:da.key,visible:ca,eventProps:da,onVisibleChanged:function(Ui){Fn==null||Fn(Ui,{key:da.key}),Ui||Ur.removeKey(da.key)}}),yn)}))}}],[{key:"getDerivedStateFromProps",value:function(Ur,Hr){var pn=Ur.keys,sn=Hr.keyEntities,yn=pr(pn),Fn=or(sn,yn);return{keyEntities:Fn.filter(function(Gn){var Jn=sn.find(function(Ci){var ta=Ci.key;return Gn.key===ta});return!(Jn&&Jn.status===At&&Gn.status===Pt)})}}}]),Sr}(C.Component);return Qr.defaultProps={component:"div"},Qr}var Jr=Yr(rr),_n=Qt;function Nn(yr){var Mr=yr.prefixCls,Qr=yr.motion,_r=yr.animation,Vt=yr.transitionName;return Qr||(_r?{motionName:"".concat(Mr,"-").concat(_r)}:Vt?{motionName:Vt}:null)}function zn(yr){var Mr=yr.prefixCls,Qr=yr.visible,_r=yr.zIndex,Vt=yr.mask,Sr=yr.maskMotion,Zt=yr.maskAnimation,Ur=yr.maskTransitionName;if(!Vt)return null;var Hr={};return(Sr||Ur||Zt)&&(Hr=Object(o.a)({motionAppear:!0},Nn({motion:Sr,prefixCls:Mr,transitionName:Ur,animation:Zt}))),C.createElement(_n,Object(w.a)({},Hr,{visible:Qr,removeOnLeave:!0}),function(pn){var sn=pn.className;return C.createElement("div",{style:{zIndex:_r},className:s()("".concat(Mr,"-mask"),sn)})})}var ei=d("9mu1"),vi=d("o0o1"),Pi=d.n(vi),Ge=d("HaE+"),we=["measure","align",null,"motion"],Le=function(yr,Mr){var Qr=Object(C.useState)(null),_r=Object(p.a)(Qr,2),Vt=_r[0],Sr=_r[1],Zt=Object(C.useRef)(),Ur=Object(C.useRef)(!1);function Hr(yn){Ur.current||Sr(yn)}function pn(){Te.a.cancel(Zt.current)}function sn(yn){pn(),Zt.current=Object(Te.a)(function(){Hr(function(Fn){switch(Vt){case"align":return"motion";case"motion":return"stable";default:}return Fn}),yn==null||yn()})}return Object(C.useEffect)(function(){Hr("measure")},[yr]),Object(C.useEffect)(function(){switch(Vt){case"measure":Mr();break;default:}Vt&&(Zt.current=Object(Te.a)(Object(Ge.a)(Pi.a.mark(function yn(){var Fn,Gn;return Pi.a.wrap(function(Ci){for(;;)switch(Ci.prev=Ci.next){case 0:Fn=we.indexOf(Vt),Gn=we[Fn+1],Gn&&Fn!==-1&&Hr(Gn);case 3:case"end":return Ci.stop()}},yn)}))))},[Vt]),Object(C.useEffect)(function(){return function(){Ur.current=!0,pn()}},[]),[Vt,sn]},De=function(yr){var Mr=C.useState({width:0,height:0}),Qr=Object(p.a)(Mr,2),_r=Qr[0],Vt=Qr[1];function Sr(Ur){Vt({width:Ur.offsetWidth,height:Ur.offsetHeight})}var Zt=C.useMemo(function(){var Ur={};if(yr){var Hr=_r.width,pn=_r.height;yr.indexOf("height")!==-1&&pn?Ur.height=pn:yr.indexOf("minHeight")!==-1&&pn&&(Ur.minHeight=pn),yr.indexOf("width")!==-1&&Hr?Ur.width=Hr:yr.indexOf("minWidth")!==-1&&Hr&&(Ur.minWidth=Hr)}return Ur},[yr,_r]);return[Zt,Sr]},We=C.forwardRef(function(yr,Mr){var Qr=yr.visible,_r=yr.prefixCls,Vt=yr.className,Sr=yr.style,Zt=yr.children,Ur=yr.zIndex,Hr=yr.stretch,pn=yr.destroyPopupOnHide,sn=yr.forceRender,yn=yr.align,Fn=yr.point,Gn=yr.getRootDomNode,Jn=yr.getClassNameFromAlign,Ci=yr.onAlign,ta=yr.onMouseEnter,oa=yr.onMouseLeave,da=yr.onMouseDown,ca=yr.onTouchStart,ma=Object(C.useRef)(),Ui=Object(C.useRef)(),Ni=Object(C.useState)(),ra=Object(p.a)(Ni,2),qi=ra[0],va=ra[1],Oa=De(Hr),Zi=Object(p.a)(Oa,2),Xi=Zi[0],La=Zi[1];function Aa(){Hr&&La(Gn())}var Ti=Le(Qr,Aa),Sa=Object(p.a)(Ti,2),Ra=Sa[0],Na=Sa[1],Ua=Object(C.useRef)();function Pa(){return Fn||Gn}function za(){var Ca;(Ca=ma.current)===null||Ca===void 0||Ca.forceAlign()}function xa(Ca,Qa){var Da=Jn(Qa);qi!==Da&&va(Da),Ra==="align"&&(qi!==Da?Promise.resolve().then(function(){za()}):Na(function(){var Ia;(Ia=Ua.current)===null||Ia===void 0||Ia.call(Ua)}),Ci==null||Ci(Ca,Qa))}var ja=Object(o.a)({},Nn(yr));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ca){var Qa=ja[Ca];ja[Ca]=function(Da,Ia){return Na(),Qa==null?void 0:Qa(Da,Ia)}});function io(){return new Promise(function(Ca){Ua.current=Ca})}C.useEffect(function(){!ja.motionName&&Ra==="motion"&&Na()},[ja.motionName,Ra]),C.useImperativeHandle(Mr,function(){return{forceAlign:za,getElement:function(){return Ui.current}}});var ia=Object(o.a)(Object(o.a)({},Xi),{},{zIndex:Ur,opacity:Ra==="motion"||Ra==="stable"||!Qr?void 0:0,pointerEvents:Ra==="stable"?void 0:"none"},Sr),lo=!0;(yn==null?void 0:yn.points)&&(Ra==="align"||Ra==="stable")&&(lo=!1);var Ga=Zt;return C.Children.count(Zt)>1&&(Ga=C.createElement("div",{className:"".concat(_r,"-content")},Zt)),C.createElement(_n,Object(w.a)({visible:Qr,ref:Ui,leavedClassName:"".concat(_r,"-hidden")},ja,{onAppearPrepare:io,onEnterPrepare:io,removeOnLeave:pn,forceRender:sn}),function(Ca,Qa){var Da=Ca.className,Ia=Ca.style,yo=s()(_r,Vt,qi,Da);return C.createElement(ei.a,{target:Pa(),key:"popup",ref:ma,monitorWindowResize:!0,disabled:lo,align:yn,onAlign:xa},C.createElement("div",{ref:Qa,className:yo,onMouseEnter:ta,onMouseLeave:oa,onMouseDownCapture:da,onTouchStartCapture:ca,style:Object(o.a)(Object(o.a)({},Ia),ia)},Ga))})});We.displayName="PopupInner";var Fe=We,Je=C.forwardRef(function(yr,Mr){var Qr=yr.prefixCls,_r=yr.visible,Vt=yr.zIndex,Sr=yr.children,Zt=yr.mobile;Zt=Zt===void 0?{}:Zt;var Ur=Zt.popupClassName,Hr=Zt.popupStyle,pn=Zt.popupMotion,sn=pn===void 0?{}:pn,yn=Zt.popupRender,Fn=C.useRef();C.useImperativeHandle(Mr,function(){return{forceAlign:function(){},getElement:function(){return Fn.current}}});var Gn=Object(o.a)({zIndex:Vt},Hr),Jn=Sr;return C.Children.count(Sr)>1&&(Jn=C.createElement("div",{className:"".concat(Qr,"-content")},Sr)),yn&&(Jn=yn(Jn)),C.createElement(_n,Object(w.a)({visible:_r,ref:Fn,removeOnLeave:!0},sn),function(Ci,ta){var oa=Ci.className,da=Ci.style,ca=s()(Qr,Ur,oa);return C.createElement("div",{ref:ta,className:ca,style:Object(o.a)(Object(o.a)({},da),Gn)},Jn)})});Je.displayName="MobilePopupInner";var vt=Je,st=["visible","mobile"],kt=C.forwardRef(function(yr,Mr){var Qr=yr.visible,_r=yr.mobile,Vt=Object(h.a)(yr,st),Sr=Object(C.useState)(Qr),Zt=Object(p.a)(Sr,2),Ur=Zt[0],Hr=Zt[1],pn=Object(C.useState)(!1),sn=Object(p.a)(pn,2),yn=sn[0],Fn=sn[1],Gn=Object(o.a)(Object(o.a)({},Vt),{},{visible:Ur});Object(C.useEffect)(function(){Hr(Qr),Qr&&_r&&Fn(ce())},[Qr,_r]);var Jn=yn?C.createElement(vt,Object(w.a)({},Gn,{mobile:_r,ref:Mr})):C.createElement(Fe,Object(w.a)({},Gn,{ref:Mr}));return C.createElement("div",null,C.createElement(zn,Gn),Jn)});kt.displayName="Popup";var wr=kt,hr=C.createContext(null),Nr=hr;function Kt(){}function un(){return""}function ar(yr){return yr?yr.ownerDocument:window.document}var Xr=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function kr(yr){var Mr=function(Qr){Object(R.a)(Vt,Qr);var _r=Object(P.a)(Vt);function Vt(Sr){var Zt;Object(x.a)(this,Vt),Zt=_r.call(this,Sr),Zt.popupRef=C.createRef(),Zt.triggerRef=C.createRef(),Zt.attachId=void 0,Zt.clickOutsideHandler=void 0,Zt.touchOutsideHandler=void 0,Zt.contextMenuOutsideHandler1=void 0,Zt.contextMenuOutsideHandler2=void 0,Zt.mouseDownTimeout=void 0,Zt.focusTime=void 0,Zt.preClickTime=void 0,Zt.preTouchTime=void 0,Zt.delayTimer=void 0,Zt.hasPopupMouseDown=void 0,Zt.onMouseEnter=function(Hr){var pn=Zt.props.mouseEnterDelay;Zt.fireEvents("onMouseEnter",Hr),Zt.delaySetPopupVisible(!0,pn,pn?null:Hr)},Zt.onMouseMove=function(Hr){Zt.fireEvents("onMouseMove",Hr),Zt.setPoint(Hr)},Zt.onMouseLeave=function(Hr){Zt.fireEvents("onMouseLeave",Hr),Zt.delaySetPopupVisible(!1,Zt.props.mouseLeaveDelay)},Zt.onPopupMouseEnter=function(){Zt.clearDelayTimer()},Zt.onPopupMouseLeave=function(Hr){var pn;if(Hr.relatedTarget&&!Hr.relatedTarget.setTimeout&&Object(gt.a)((pn=Zt.popupRef.current)===null||pn===void 0?void 0:pn.getElement(),Hr.relatedTarget))return;Zt.delaySetPopupVisible(!1,Zt.props.mouseLeaveDelay)},Zt.onFocus=function(Hr){Zt.fireEvents("onFocus",Hr),Zt.clearDelayTimer(),Zt.isFocusToShow()&&(Zt.focusTime=Date.now(),Zt.delaySetPopupVisible(!0,Zt.props.focusDelay))},Zt.onMouseDown=function(Hr){Zt.fireEvents("onMouseDown",Hr),Zt.preClickTime=Date.now()},Zt.onTouchStart=function(Hr){Zt.fireEvents("onTouchStart",Hr),Zt.preTouchTime=Date.now()},Zt.onBlur=function(Hr){Zt.fireEvents("onBlur",Hr),Zt.clearDelayTimer(),Zt.isBlurToHide()&&Zt.delaySetPopupVisible(!1,Zt.props.blurDelay)},Zt.onContextMenu=function(Hr){Hr.preventDefault(),Zt.fireEvents("onContextMenu",Hr),Zt.setPopupVisible(!0,Hr)},Zt.onContextMenuClose=function(){Zt.isContextMenuToShow()&&Zt.close()},Zt.onClick=function(Hr){if(Zt.fireEvents("onClick",Hr),Zt.focusTime){var pn;if(Zt.preClickTime&&Zt.preTouchTime?pn=Math.min(Zt.preClickTime,Zt.preTouchTime):Zt.preClickTime?pn=Zt.preClickTime:Zt.preTouchTime&&(pn=Zt.preTouchTime),Math.abs(pn-Zt.focusTime)<20)return;Zt.focusTime=0}Zt.preClickTime=0,Zt.preTouchTime=0,Zt.isClickToShow()&&(Zt.isClickToHide()||Zt.isBlurToHide())&&Hr&&Hr.preventDefault&&Hr.preventDefault();var sn=!Zt.state.popupVisible;(Zt.isClickToHide()&&!sn||sn&&Zt.isClickToShow())&&Zt.setPopupVisible(!Zt.state.popupVisible,Hr)},Zt.onPopupMouseDown=function(){if(Zt.hasPopupMouseDown=!0,clearTimeout(Zt.mouseDownTimeout),Zt.mouseDownTimeout=window.setTimeout(function(){Zt.hasPopupMouseDown=!1},0),Zt.context){var Hr;(Hr=Zt.context).onPopupMouseDown.apply(Hr,arguments)}},Zt.onDocumentClick=function(Hr){if(Zt.props.mask&&!Zt.props.maskClosable)return;var pn=Hr.target,sn=Zt.getRootDomNode(),yn=Zt.getPopupDomNode();(!Object(gt.a)(sn,pn)||Zt.isContextMenuOnly())&&!Object(gt.a)(yn,pn)&&!Zt.hasPopupMouseDown&&Zt.close()},Zt.getRootDomNode=function(){var Hr=Zt.props.getTriggerDOMNode;if(Hr)return Hr(Zt.triggerRef.current);try{var pn=Object(Ue.a)(Zt.triggerRef.current);if(pn)return pn}catch(sn){}return Ke.a.findDOMNode(Object(L.a)(Zt))},Zt.getPopupClassNameFromAlign=function(Hr){var pn=[],sn=Zt.props,yn=sn.popupPlacement,Fn=sn.builtinPlacements,Gn=sn.prefixCls,Jn=sn.alignPoint,Ci=sn.getPopupClassNameFromAlign;return yn&&Fn&&pn.push(Be(Fn,Gn,Hr,Jn)),Ci&&pn.push(Ci(Hr)),pn.join(" ")},Zt.getComponent=function(){var Hr=Zt.props,pn=Hr.prefixCls,sn=Hr.destroyPopupOnHide,yn=Hr.popupClassName,Fn=Hr.onPopupAlign,Gn=Hr.popupMotion,Jn=Hr.popupAnimation,Ci=Hr.popupTransitionName,ta=Hr.popupStyle,oa=Hr.mask,da=Hr.maskAnimation,ca=Hr.maskTransitionName,ma=Hr.maskMotion,Ui=Hr.zIndex,Ni=Hr.popup,ra=Hr.stretch,qi=Hr.alignPoint,va=Hr.mobile,Oa=Hr.forceRender,Zi=Zt.state,Xi=Zi.popupVisible,La=Zi.point,Aa=Zt.getPopupAlign(),Ti={};return Zt.isMouseEnterToShow()&&(Ti.onMouseEnter=Zt.onPopupMouseEnter),Zt.isMouseLeaveToHide()&&(Ti.onMouseLeave=Zt.onPopupMouseLeave),Ti.onMouseDown=Zt.onPopupMouseDown,Ti.onTouchStart=Zt.onPopupMouseDown,C.createElement(wr,Object(w.a)({prefixCls:pn,destroyPopupOnHide:sn,visible:Xi,point:qi&&La,className:yn,align:Aa,onAlign:Fn,animation:Jn,getClassNameFromAlign:Zt.getPopupClassNameFromAlign},Ti,{stretch:ra,getRootDomNode:Zt.getRootDomNode,style:ta,mask:oa,zIndex:Ui,transitionName:Ci,maskAnimation:da,maskTransitionName:ca,maskMotion:ma,ref:Zt.popupRef,motion:Gn,mobile:va,forceRender:Oa}),typeof Ni=="function"?Ni():Ni)},Zt.attachParent=function(Hr){Te.a.cancel(Zt.attachId);var pn=Zt.props,sn=pn.getPopupContainer,yn=pn.getDocument,Fn=Zt.getRootDomNode(),Gn;sn?(Fn||sn.length===0)&&(Gn=sn(Fn)):Gn=yn(Zt.getRootDomNode()).body,Gn?Gn.appendChild(Hr):Zt.attachId=Object(Te.a)(function(){Zt.attachParent(Hr)})},Zt.getContainer=function(){var Hr=Zt.props.getDocument,pn=Hr(Zt.getRootDomNode()).createElement("div");return pn.style.position="absolute",pn.style.top="0",pn.style.left="0",pn.style.width="100%",Zt.attachParent(pn),pn},Zt.setPoint=function(Hr){var pn=Zt.props.alignPoint;if(!pn||!Hr)return;Zt.setState({point:{pageX:Hr.pageX,pageY:Hr.pageY}})},Zt.handlePortalUpdate=function(){Zt.state.prevPopupVisible!==Zt.state.popupVisible&&Zt.props.afterPopupVisibleChange(Zt.state.popupVisible)},Zt.triggerContextValue={onPopupMouseDown:Zt.onPopupMouseDown};var Ur;return"popupVisible"in Sr?Ur=!!Sr.popupVisible:Ur=!!Sr.defaultPopupVisible,Zt.state={prevPopupVisible:Ur,popupVisible:Ur},Xr.forEach(function(Hr){Zt["fire".concat(Hr)]=function(pn){Zt.fireEvents(Hr,pn)}}),Zt}return Object(T.a)(Vt,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Zt=this.props,Ur=this.state;if(Ur.popupVisible){var Hr;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(Hr=Zt.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Object(wt.a)(Hr,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(Hr=Hr||Zt.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Object(wt.a)(Hr,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(Hr=Hr||Zt.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Object(wt.a)(Hr,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Object(wt.a)(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Te.a.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var Zt;return((Zt=this.popupRef.current)===null||Zt===void 0?void 0:Zt.getElement())||null}},{key:"getPopupAlign",value:function(){var Zt=this.props,Ur=Zt.popupPlacement,Hr=Zt.popupAlign,pn=Zt.builtinPlacements;return Ur&&pn?Tt(pn,Ur,Hr):Hr}},{key:"setPopupVisible",value:function(Zt,Ur){var Hr=this.props.alignPoint,pn=this.state.popupVisible;this.clearDelayTimer(),pn!==Zt&&("popupVisible"in this.props||this.setState({popupVisible:Zt,prevPopupVisible:pn}),this.props.onPopupVisibleChange(Zt)),Hr&&Ur&&Zt&&this.setPoint(Ur)}},{key:"delaySetPopupVisible",value:function(Zt,Ur,Hr){var pn=this,sn=Ur*1e3;if(this.clearDelayTimer(),sn){var yn=Hr?{pageX:Hr.pageX,pageY:Hr.pageY}:null;this.delayTimer=window.setTimeout(function(){pn.setPopupVisible(Zt,yn),pn.clearDelayTimer()},sn)}else this.setPopupVisible(Zt,Hr)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(Zt){var Ur=this.props.children.props,Hr=this.props;return Ur[Zt]&&Hr[Zt]?this["fire".concat(Zt)]:Ur[Zt]||Hr[Zt]}},{key:"isClickToShow",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.showAction;return Ur.indexOf("click")!==-1||Hr.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var Zt=this.props.action;return Zt==="contextMenu"||Zt.length===1&&Zt[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.showAction;return Ur.indexOf("contextMenu")!==-1||Hr.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.hideAction;return Ur.indexOf("click")!==-1||Hr.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.showAction;return Ur.indexOf("hover")!==-1||Hr.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.hideAction;return Ur.indexOf("hover")!==-1||Hr.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.showAction;return Ur.indexOf("focus")!==-1||Hr.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var Zt=this.props,Ur=Zt.action,Hr=Zt.hideAction;return Ur.indexOf("focus")!==-1||Hr.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var Zt;(Zt=this.popupRef.current)===null||Zt===void 0||Zt.forceAlign()}}},{key:"fireEvents",value:function(Zt,Ur){var Hr=this.props.children.props[Zt];Hr&&Hr(Ur);var pn=this.props[Zt];pn&&pn(Ur)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var Zt=this.state.popupVisible,Ur=this.props,Hr=Ur.children,pn=Ur.forceRender,sn=Ur.alignPoint,yn=Ur.className,Fn=Ur.autoDestroy,Gn=C.Children.only(Hr),Jn={key:"trigger"};this.isContextMenuToShow()?Jn.onContextMenu=this.onContextMenu:Jn.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(Jn.onClick=this.onClick,Jn.onMouseDown=this.onMouseDown,Jn.onTouchStart=this.onTouchStart):(Jn.onClick=this.createTwoChains("onClick"),Jn.onMouseDown=this.createTwoChains("onMouseDown"),Jn.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(Jn.onMouseEnter=this.onMouseEnter,sn&&(Jn.onMouseMove=this.onMouseMove)):Jn.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?Jn.onMouseLeave=this.onMouseLeave:Jn.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(Jn.onFocus=this.onFocus,Jn.onBlur=this.onBlur):(Jn.onFocus=this.createTwoChains("onFocus"),Jn.onBlur=this.createTwoChains("onBlur"));var Ci=s()(Gn&&Gn.props&&Gn.props.className,yn);Ci&&(Jn.className=Ci);var ta=Object(o.a)({},Jn);Object(bt.c)(Gn)&&(ta.ref=Object(bt.a)(this.triggerRef,Gn.ref));var oa=C.cloneElement(Gn,ta),da;return(Zt||this.popupRef.current||pn)&&(da=C.createElement(yr,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!Zt&&Fn&&(da=null),C.createElement(Nr.Provider,{value:this.triggerContextValue},oa,da)}}],[{key:"getDerivedStateFromProps",value:function(Zt,Ur){var Hr=Zt.popupVisible,pn={};return Hr!==void 0&&Ur.popupVisible!==Hr&&(pn.popupVisible=Hr,pn.prevPopupVisible=Ur.popupVisible),pn}}]),Vt}(C.Component);return Mr.contextType=Nr,Mr.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:un,getDocument:ar,onPopupVisibleChange:Kt,afterPopupVisibleChange:Kt,onPopupAlign:Kt,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},Mr}var gr=kr(Et.a),Sn={adjustX:1,adjustY:1},Pn={topLeft:{points:["bl","tl"],overflow:Sn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Sn,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:Sn,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:Sn,offset:[4,0]}},ii={topLeft:{points:["bl","tl"],overflow:Sn,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:Sn,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:Sn,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:Sn,offset:[4,0]}},oi=Pn,ti=0,bi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"},Bn=function(Mr,Qr,_r){var Vt=nt(Qr),Sr=Mr.getState();Mr.setState({defaultActiveFirst:Object(o.a)(Object(o.a)({},Sr.defaultActiveFirst),{},Object(t.a)({},Vt,_r))})},_i=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(_r){var Vt;Object(x.a)(this,Qr),Vt=Mr.call(this,_r),Vt.onDestroy=function(sn){Vt.props.onDestroy(sn)},Vt.onKeyDown=function(sn){var yn=sn.keyCode,Fn=Vt.menuInstance,Gn=Vt.props.store,Jn=Vt.getVisible();if(yn===m.a.ENTER)return Vt.onTitleClick(sn),Bn(Gn,Vt.props.eventKey,!0),!0;if(yn===m.a.RIGHT)return Jn?Fn.onKeyDown(sn):(Vt.triggerOpenChange(!0),Bn(Gn,Vt.props.eventKey,!0)),!0;if(yn===m.a.LEFT){var Ci;if(Jn)Ci=Fn.onKeyDown(sn);else return;return Ci||(Vt.triggerOpenChange(!1),Ci=!0),Ci}return Jn&&(yn===m.a.UP||yn===m.a.DOWN)?Fn.onKeyDown(sn):void 0},Vt.onOpenChange=function(sn){Vt.props.onOpenChange(sn)},Vt.onPopupVisibleChange=function(sn){Vt.triggerOpenChange(sn,sn?"mouseenter":"mouseleave")},Vt.onMouseEnter=function(sn){var yn=Vt.props,Fn=yn.eventKey,Gn=yn.onMouseEnter,Jn=yn.store;Bn(Jn,Vt.props.eventKey,!1),Gn({key:Fn,domEvent:sn})},Vt.onMouseLeave=function(sn){var yn=Vt.props,Fn=yn.parentMenu,Gn=yn.eventKey,Jn=yn.onMouseLeave;Fn.subMenuInstance=Object(L.a)(Vt),Jn({key:Gn,domEvent:sn})},Vt.onTitleMouseEnter=function(sn){var yn=Vt.props,Fn=yn.eventKey,Gn=yn.onItemHover,Jn=yn.onTitleMouseEnter;Gn({key:Fn,hover:!0}),Jn({key:Fn,domEvent:sn})},Vt.onTitleMouseLeave=function(sn){var yn=Vt.props,Fn=yn.parentMenu,Gn=yn.eventKey,Jn=yn.onItemHover,Ci=yn.onTitleMouseLeave;Fn.subMenuInstance=Object(L.a)(Vt),Jn({key:Gn,hover:!1}),Ci({key:Gn,domEvent:sn})},Vt.onTitleClick=function(sn){var yn=Object(L.a)(Vt),Fn=yn.props;if(Fn.onTitleClick({key:Fn.eventKey,domEvent:sn}),Fn.triggerSubMenuAction==="hover")return;Vt.triggerOpenChange(!Vt.getVisible(),"click"),Bn(Fn.store,Vt.props.eventKey,!1)},Vt.onSubMenuClick=function(sn){typeof Vt.props.onClick=="function"&&Vt.props.onClick(Vt.addKeyPath(sn))},Vt.onSelect=function(sn){Vt.props.onSelect(sn)},Vt.onDeselect=function(sn){Vt.props.onDeselect(sn)},Vt.getPrefixCls=function(){return"".concat(Vt.props.rootPrefixCls,"-submenu")},Vt.getActiveClassName=function(){return"".concat(Vt.getPrefixCls(),"-active")},Vt.getDisabledClassName=function(){return"".concat(Vt.getPrefixCls(),"-disabled")},Vt.getSelectedClassName=function(){return"".concat(Vt.getPrefixCls(),"-selected")},Vt.getOpenClassName=function(){return"".concat(Vt.props.rootPrefixCls,"-submenu-open")},Vt.getVisible=function(){return Vt.state.isOpen},Vt.getMode=function(){return Vt.state.mode},Vt.saveMenuInstance=function(sn){Vt.menuInstance=sn},Vt.addKeyPath=function(sn){return Object(o.a)(Object(o.a)({},sn),{},{keyPath:(sn.keyPath||[]).concat(Vt.props.eventKey)})},Vt.triggerOpenChange=function(sn,yn){var Fn=Vt.props.eventKey,Gn=function(){Vt.onOpenChange({key:Fn,item:Object(L.a)(Vt),trigger:yn,open:sn})};yn==="mouseenter"?Vt.mouseenterTimeout=setTimeout(function(){Gn()},0):Gn()},Vt.isChildrenSelected=function(){var sn={find:!1};return et(Vt.props.children,Vt.props.selectedKeys,sn),sn.find},Vt.isInlineMode=function(){return Vt.getMode()==="inline"},Vt.adjustWidth=function(){if(!Vt.subMenuTitle||!Vt.menuInstance)return;var sn=ze.findDOMNode(Vt.menuInstance);if(sn.offsetWidth>=Vt.subMenuTitle.offsetWidth)return;sn.style.minWidth="".concat(Vt.subMenuTitle.offsetWidth,"px")},Vt.saveSubMenuTitle=function(sn){Vt.subMenuTitle=sn},Vt.getBaseProps=function(){var sn=Object(L.a)(Vt),yn=sn.props,Fn=Vt.getMode();return{mode:Fn==="horizontal"?"vertical":Fn,visible:Vt.getVisible(),level:yn.level+1,inlineIndent:yn.inlineIndent,focusable:!1,onClick:Vt.onSubMenuClick,onSelect:Vt.onSelect,onDeselect:Vt.onDeselect,onDestroy:Vt.onDestroy,selectedKeys:yn.selectedKeys,eventKey:"".concat(yn.eventKey,"-menu-"),openKeys:yn.openKeys,motion:yn.motion,onOpenChange:Vt.onOpenChange,subMenuOpenDelay:yn.subMenuOpenDelay,parentMenu:Object(L.a)(Vt),subMenuCloseDelay:yn.subMenuCloseDelay,forceSubMenuRender:yn.forceSubMenuRender,triggerSubMenuAction:yn.triggerSubMenuAction,builtinPlacements:yn.builtinPlacements,defaultActiveFirst:yn.store.getState().defaultActiveFirst[nt(yn.eventKey)],multiple:yn.multiple,prefixCls:yn.rootPrefixCls,id:Vt.internalMenuId,manualRef:Vt.saveMenuInstance,itemIcon:yn.itemIcon,expandIcon:yn.expandIcon,direction:yn.direction}},Vt.getMotion=function(sn,yn){var Fn=Object(L.a)(Vt),Gn=Fn.haveRendered,Jn=Vt.props,Ci=Jn.motion,ta=Jn.rootPrefixCls,oa=Object(o.a)(Object(o.a)({},Ci),{},{leavedClassName:"".concat(ta,"-hidden"),removeOnLeave:!1,motionAppear:Gn||!yn||sn!=="inline"});return oa};var Sr=_r.store,Zt=_r.eventKey,Ur=Sr.getState(),Hr=Ur.defaultActiveFirst;Vt.isRootMenu=!1;var pn=!1;return Hr&&(pn=Hr[Zt]),Bn(Sr,Zt,pn),Vt.state={mode:_r.mode,isOpen:_r.isOpen},Vt}return Object(T.a)(Qr,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var Vt=this,Sr=this.props,Zt=Sr.mode,Ur=Sr.parentMenu,Hr=Sr.manualRef,pn=Sr.isOpen,sn=function(){Vt.setState({mode:Zt,isOpen:pn})},yn=pn!==this.state.isOpen,Fn=Zt!==this.state.mode;if((Fn||yn)&&(Te.a.cancel(this.updateStateRaf),Fn?this.updateStateRaf=Object(Te.a)(sn):sn()),Hr&&Hr(this),Zt!=="horizontal"||!(Ur==null?void 0:Ur.isRootMenu)||!pn)return;this.minWidthTimeout=setTimeout(function(){return Vt.adjustWidth()},0)}},{key:"componentWillUnmount",value:function(){var Vt=this.props,Sr=Vt.onDestroy,Zt=Vt.eventKey;Sr&&Sr(Zt),this.minWidthTimeout&&clearTimeout(this.minWidthTimeout),this.mouseenterTimeout&&clearTimeout(this.mouseenterTimeout),Te.a.cancel(this.updateStateRaf)}},{key:"renderPopupMenu",value:function(Vt,Sr){var Zt=this.getBaseProps();return C.createElement(bn,Object(w.a)({},Zt,{id:this.internalMenuId,className:Vt,style:Sr}),this.props.children)}},{key:"renderChildren",value:function(){var Vt=this,Sr=this.getBaseProps(),Zt=Sr.mode,Ur=Sr.visible,Hr=Sr.forceSubMenuRender,pn=Sr.direction,sn=this.getMotion(Zt,Ur);if(this.haveRendered=!0,this.haveOpened=this.haveOpened||Ur||Hr,!this.haveOpened)return C.createElement("div",null);var yn=s()("".concat(Sr.prefixCls,"-sub"),Object(t.a)({},"".concat(Sr.prefixCls,"-rtl"),pn==="rtl"));return this.isInlineMode()?C.createElement(_n,Object(w.a)({visible:Sr.visible,forceRender:Hr},sn),function(Fn){var Gn=Fn.className,Jn=Fn.style,Ci=s()(yn,Gn);return Vt.renderPopupMenu(Ci,Jn)}):this.renderPopupMenu(yn)}},{key:"render",value:function(){var Vt,Sr,Zt,Ur=Object(o.a)({},this.props),Hr=this.getVisible(),pn=this.getPrefixCls(),sn=this.isInlineMode(),yn=this.getMode(),Fn=s()(pn,"".concat(pn,"-").concat(yn),(Vt={},Object(t.a)(Vt,Ur.className,!!Ur.className),Object(t.a)(Vt,this.getOpenClassName(),Hr),Object(t.a)(Vt,this.getActiveClassName(),Ur.active||Hr&&!sn),Object(t.a)(Vt,this.getDisabledClassName(),Ur.disabled),Object(t.a)(Vt,this.getSelectedClassName(),this.isChildrenSelected()),Vt));this.internalMenuId||(Ur.eventKey?this.internalMenuId="".concat(Ur.eventKey,"$Menu"):(ti+=1,this.internalMenuId="$__$".concat(ti,"$Menu")));var Gn={},Jn={},Ci={};Ur.disabled||(Gn={onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter},Jn={onClick:this.onTitleClick},Ci={onMouseEnter:this.onTitleMouseEnter,onMouseLeave:this.onTitleMouseLeave});var ta={},oa=Ur.direction,da=oa==="rtl";sn&&(da?ta.paddingRight=Ur.inlineIndent*Ur.level:ta.paddingLeft=Ur.inlineIndent*Ur.level);var ca={};this.getVisible()&&(ca={"aria-owns":this.internalMenuId});var ma=null;yn!=="horizontal"&&(ma=this.props.expandIcon,typeof this.props.expandIcon=="function"&&(ma=C.createElement(this.props.expandIcon,Object(o.a)({},this.props))));var Ui=C.createElement("div",Object(w.a)({ref:this.saveSubMenuTitle,style:ta,className:"".concat(pn,"-title"),role:"button"},Ci,Jn,{"aria-expanded":Hr},ca,{"aria-haspopup":"true",title:typeof Ur.title=="string"?Ur.title:void 0}),Ur.title,ma||C.createElement("i",{className:"".concat(pn,"-arrow")})),Ni=this.renderChildren(),ra=((Sr=Ur.parentMenu)===null||Sr===void 0?void 0:Sr.isRootMenu)?Ur.parentMenu.props.getPopupContainer:function(Pa){return Pa.parentNode},qi=bi[yn],va=Ur.popupOffset?{offset:Ur.popupOffset}:{},Oa=s()((Zt={},Object(t.a)(Zt,Ur.popupClassName,Ur.popupClassName&&!sn),Object(t.a)(Zt,"".concat(pn,"-rtl"),da),Zt)),Zi=Ur.disabled,Xi=Ur.triggerSubMenuAction,La=Ur.subMenuOpenDelay,Aa=Ur.forceSubMenuRender,Ti=Ur.subMenuCloseDelay,Sa=Ur.builtinPlacements;He.forEach(function(Pa){return delete Ur[Pa]}),delete Ur.onClick;var Ra=da?Object(o.a)(Object(o.a)({},ii),Sa):Object(o.a)(Object(o.a)({},Pn),Sa);delete Ur.direction;var Na=this.getBaseProps(),Ua=sn?null:this.getMotion(Na.mode,Na.visible);return C.createElement("li",Object(w.a)({},Ur,Gn,{className:Fn,role:"menuitem"}),C.createElement(gr,{prefixCls:pn,popupClassName:s()("".concat(pn,"-popup"),Oa),getPopupContainer:ra,builtinPlacements:Ra,popupPlacement:qi,popupVisible:sn?!1:Hr,popupAlign:va,popup:sn?null:Ni,action:Zi||sn?[]:[Xi],mouseEnterDelay:La,mouseLeaveDelay:Ti,onPopupVisibleChange:this.onPopupVisibleChange,forceRender:Aa,popupMotion:Ua},Ui),sn?Ni:null)}}]),Qr}(C.Component);_i.defaultProps={onMouseEnter:it,onMouseLeave:it,onTitleMouseEnter:it,onTitleMouseLeave:it,onTitleClick:it,manualRef:it,mode:"vertical",title:""};var gn=Object(k.b)(function(yr,Mr){var Qr=yr.openKeys,_r=yr.activeKey,Vt=yr.selectedKeys,Sr=Mr.eventKey,Zt=Mr.subMenuKey;return{isOpen:Qr.indexOf(Sr)>-1,active:_r[Zt]===Sr,selectedKeys:Vt}})(_i);gn.isSubMenu=!0;var Vr=gn,xn="menuitem-overflowed",tn=.5,ui=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(){var _r;return Object(x.a)(this,Qr),_r=Mr.apply(this,arguments),_r.resizeObserver=null,_r.mutationObserver=null,_r.originalTotalWidth=0,_r.overflowedItems=[],_r.menuItemSizes=[],_r.cancelFrameId=null,_r.state={lastVisibleIndex:void 0},_r.childRef=C.createRef(),_r.getMenuItemNodes=function(){var Vt=_r.props.prefixCls,Sr=_r.childRef.current;return Sr?[].slice.call(Sr.children).filter(function(Zt){return Zt.className.split(" ").indexOf("".concat(Vt,"-overflowed-submenu"))<0}):[]},_r.getOverflowedSubMenuItem=function(Vt,Sr,Zt){var Ur=_r.props,Hr=Ur.overflowedIndicator,pn=Ur.level,sn=Ur.mode,yn=Ur.prefixCls,Fn=Ur.theme;if(pn!==1||sn!=="horizontal")return null;var Gn=_r.props.children[0],Jn=Gn.props,Ci=Jn.children,ta=Jn.title,oa=Jn.style,da=Object(h.a)(Jn,["children","title","style"]),ca=Object(o.a)({},oa),ma="".concat(Vt,"-overflowed-indicator"),Ui="".concat(Vt,"-overflowed-indicator");Sr.length===0&&Zt!==!0?ca=Object(o.a)(Object(o.a)({},ca),{},{display:"none"}):Zt&&(ca=Object(o.a)(Object(o.a)({},ca),{},{visibility:"hidden",position:"absolute"}),ma="".concat(ma,"-placeholder"),Ui="".concat(Ui,"-placeholder"));var Ni=Fn?"".concat(yn,"-").concat(Fn):"",ra={};return He.forEach(function(qi){da[qi]!==void 0&&(ra[qi]=da[qi])}),C.createElement(Vr,Object(w.a)({title:Hr,className:"".concat(yn,"-overflowed-submenu"),popupClassName:Ni},ra,{key:ma,eventKey:Ui,disabled:!1,style:ca}),Sr)},_r.setChildrenWidthAndResize=function(){if(_r.props.mode!=="horizontal")return;var Vt=_r.childRef.current;if(!Vt)return;var Sr=Vt.children;if(!Sr||Sr.length===0)return;var Zt=Vt.children[Sr.length-1];ae(Zt,"display","inline-block");var Ur=_r.getMenuItemNodes(),Hr=Ur.filter(function(pn){return pn.className.split(" ").indexOf(xn)>=0});Hr.forEach(function(pn){ae(pn,"display","inline-block")}),_r.menuItemSizes=Ur.map(function(pn){return pe(pn,!0)}),Hr.forEach(function(pn){ae(pn,"display","none")}),_r.overflowedIndicatorWidth=pe(Vt.children[Vt.children.length-1],!0),_r.originalTotalWidth=_r.menuItemSizes.reduce(function(pn,sn){return pn+sn},0),_r.handleResize(),ae(Zt,"display","none")},_r.handleResize=function(){if(_r.props.mode!=="horizontal")return;var Vt=_r.childRef.current;if(!Vt)return;var Sr=pe(Vt);_r.overflowedItems=[];var Zt=0,Ur;_r.originalTotalWidth>Sr+tn&&(Ur=-1,_r.menuItemSizes.forEach(function(Hr){Zt+=Hr,Zt+_r.overflowedIndicatorWidth<=Sr&&(Ur+=1)})),_r.setState({lastVisibleIndex:Ur})},_r}return Object(T.a)(Qr,[{key:"componentDidMount",value:function(){var Vt=this;if(this.setChildrenWidthAndResize(),this.props.level===1&&this.props.mode==="horizontal"){var Sr=this.childRef.current;if(!Sr)return;this.resizeObserver=new be.default(function(Zt){Zt.forEach(function(){var Ur=Vt.cancelFrameId;cancelAnimationFrame(Ur),Vt.cancelFrameId=requestAnimationFrame(Vt.setChildrenWidthAndResize)})}),[].slice.call(Sr.children).concat(Sr).forEach(function(Zt){Vt.resizeObserver.observe(Zt)}),typeof MutationObserver!="undefined"&&(this.mutationObserver=new MutationObserver(function(){Vt.resizeObserver.disconnect(),[].slice.call(Sr.children).concat(Sr).forEach(function(Zt){Vt.resizeObserver.observe(Zt)}),Vt.setChildrenWidthAndResize()}),this.mutationObserver.observe(Sr,{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(Vt){var Sr=this,Zt=this.state.lastVisibleIndex;return(Vt||[]).reduce(function(Ur,Hr,pn){var sn=Hr;if(Sr.props.mode==="horizontal"){var yn=Sr.getOverflowedSubMenuItem(Hr.props.eventKey,[]);Zt!==void 0&&Sr.props.className.indexOf("".concat(Sr.props.prefixCls,"-root"))!==-1&&(pn>Zt&&(sn=C.cloneElement(Hr,{style:{display:"none"},eventKey:"".concat(Hr.props.eventKey,"-hidden"),className:"".concat(xn)})),pn===Zt+1&&(Sr.overflowedItems=Vt.slice(Zt+1).map(function(Gn){return C.cloneElement(Gn,{key:Gn.props.eventKey,mode:"vertical-left"})}),yn=Sr.getOverflowedSubMenuItem(Hr.props.eventKey,Sr.overflowedItems)));var Fn=[].concat(Object(c.a)(Ur),[yn,sn]);return pn===Vt.length-1&&Fn.push(Sr.getOverflowedSubMenuItem(Hr.props.eventKey,[],!0)),Fn}return[].concat(Object(c.a)(Ur),[sn])},[])}},{key:"render",value:function(){var Vt=this.props,Sr=Vt.visible,Zt=Vt.prefixCls,Ur=Vt.overflowedIndicator,Hr=Vt.mode,pn=Vt.level,sn=Vt.tag,yn=Vt.children,Fn=Vt.theme,Gn=Object(h.a)(Vt,["visible","prefixCls","overflowedIndicator","mode","level","tag","children","theme"]),Jn=sn;return C.createElement(Jn,Object(w.a)({ref:this.childRef},Gn),this.renderChildren(yn))}}]),Qr}(C.Component);ui.defaultProps={tag:"div",className:""};var qn=ui;function wi(yr){return yr.length?yr.every(function(Mr){return!!Mr.props.disabled}):!0}function Qn(yr,Mr,Qr){var _r=yr.getState();yr.setState({activeKey:Object(o.a)(Object(o.a)({},_r.activeKey),{},Object(t.a)({},Mr,Qr))})}function Hi(yr){return yr.eventKey||"0-menu-"}function ri(yr,Mr){var Qr=Mr,_r=yr.children,Vt=yr.eventKey;if(Qr){var Sr;if(je(_r,function(Zt,Ur){Zt&&Zt.props&&!Zt.props.disabled&&Qr===Ye(Zt,Vt,Ur)&&(Sr=!0)}),Sr)return Qr}return Qr=null,yr.defaultActiveFirst&&je(_r,function(Zt,Ur){!Qr&&Zt&&!Zt.props.disabled&&(Qr=Ye(Zt,Vt,Ur))}),Qr}function Mi(yr){if(!yr)return;var Mr=this.instanceArray.indexOf(yr);Mr!==-1?this.instanceArray[Mr]=yr:this.instanceArray.push(yr)}var dn=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(_r){var Vt;return Object(x.a)(this,Qr),Vt=Mr.call(this,_r),Vt.onKeyDown=function(Sr,Zt){var Ur=Sr.keyCode,Hr;if(Vt.getFlatInstanceArray().forEach(function(sn){sn&&sn.props.active&&sn.onKeyDown&&(Hr=sn.onKeyDown(Sr))}),Hr)return 1;var pn=null;return(Ur===m.a.UP||Ur===m.a.DOWN)&&(pn=Vt.step(Ur===m.a.UP?-1:1)),pn?(Sr.preventDefault(),Qn(Vt.props.store,Hi(Vt.props),pn.props.eventKey),typeof Zt=="function"&&Zt(pn),1):void 0},Vt.onItemHover=function(Sr){var Zt=Sr.key,Ur=Sr.hover;Qn(Vt.props.store,Hi(Vt.props),Ur?Zt:null)},Vt.onDeselect=function(Sr){Vt.props.onDeselect(Sr)},Vt.onSelect=function(Sr){Vt.props.onSelect(Sr)},Vt.onClick=function(Sr){Vt.props.onClick(Sr)},Vt.onOpenChange=function(Sr){Vt.props.onOpenChange(Sr)},Vt.onDestroy=function(Sr){Vt.props.onDestroy(Sr)},Vt.getFlatInstanceArray=function(){return Vt.instanceArray},Vt.step=function(Sr){var Zt=Vt.getFlatInstanceArray(),Ur=Vt.props.store.getState().activeKey[Hi(Vt.props)],Hr=Zt.length;if(!Hr)return null;Sr<0&&(Zt=Zt.concat().reverse());var pn=-1;if(Zt.every(function(Gn,Jn){return Gn&&Gn.props.eventKey===Ur?(pn=Jn,!1):!0}),!Vt.props.defaultActiveFirst&&pn!==-1&&wi(Zt.slice(pn,Hr-1)))return;var sn=(pn+1)%Hr,yn=sn;do{var Fn=Zt[yn];if(!Fn||Fn.props.disabled)yn=(yn+1)%Hr;else return Fn}while(yn!==sn);return null},Vt.renderCommonMenuItem=function(Sr,Zt,Ur){var Hr=Vt.props.store.getState(),pn=Object(L.a)(Vt),sn=pn.props,yn=Ye(Sr,sn.eventKey,Zt),Fn=Sr.props;if(!Fn||typeof Sr.type=="string")return Sr;var Gn=yn===Hr.activeKey,Jn=Object(o.a)(Object(o.a)({mode:Fn.mode||sn.mode,level:sn.level,inlineIndent:sn.inlineIndent,renderMenuItem:Vt.renderMenuItem,rootPrefixCls:sn.prefixCls,index:Zt,parentMenu:sn.parentMenu,manualRef:Fn.disabled?void 0:Object(D.a)(Sr.ref,Mi.bind(Object(L.a)(Vt))),eventKey:yn,active:!Fn.disabled&&Gn,multiple:sn.multiple,onClick:function(ta){(Fn.onClick||it)(ta),Vt.onClick(ta)},onItemHover:Vt.onItemHover,motion:sn.motion,subMenuOpenDelay:sn.subMenuOpenDelay,subMenuCloseDelay:sn.subMenuCloseDelay,forceSubMenuRender:sn.forceSubMenuRender,onOpenChange:Vt.onOpenChange,onDeselect:Vt.onDeselect,onSelect:Vt.onSelect,builtinPlacements:sn.builtinPlacements,itemIcon:Fn.itemIcon||Vt.props.itemIcon,expandIcon:Fn.expandIcon||Vt.props.expandIcon},Ur),{},{direction:sn.direction});return(sn.mode==="inline"||re())&&(Jn.triggerSubMenuAction="click"),C.cloneElement(Sr,Object(o.a)(Object(o.a)({},Jn),{},{key:yn||Zt}))},Vt.renderMenuItem=function(Sr,Zt,Ur){if(!Sr)return null;var Hr=Vt.props.store.getState(),pn={openKeys:Hr.openKeys,selectedKeys:Hr.selectedKeys,triggerSubMenuAction:Vt.props.triggerSubMenuAction,subMenuKey:Ur};return Vt.renderCommonMenuItem(Sr,Zt,pn)},_r.store.setState({activeKey:Object(o.a)(Object(o.a)({},_r.store.getState().activeKey),{},Object(t.a)({},_r.eventKey,ri(_r,_r.activeKey)))}),Vt.instanceArray=[],Vt}return Object(T.a)(Qr,[{key:"componentDidMount",value:function(){this.props.manualRef&&this.props.manualRef(this)}},{key:"shouldComponentUpdate",value:function(Vt){return this.props.visible||Vt.visible||this.props.className!==Vt.className||!B()(this.props.style,Vt.style)}},{key:"componentDidUpdate",value:function(Vt){var Sr=this.props,Zt="activeKey"in Sr?Sr.activeKey:Sr.store.getState().activeKey[Hi(Sr)],Ur=ri(Sr,Zt);if(Ur!==Zt)Qn(Sr.store,Hi(Sr),Ur);else if("activeKey"in Vt){var Hr=ri(Vt,Vt.activeKey);Ur!==Hr&&Qn(Sr.store,Hi(Sr),Ur)}}},{key:"render",value:function(){var Vt=this,Sr=Object(w.a)({},this.props);this.instanceArray=[];var Zt=s()(Sr.prefixCls,Sr.className,"".concat(Sr.prefixCls,"-").concat(Sr.mode)),Ur={className:Zt,role:Sr.role||"menu"};Sr.id&&(Ur.id=Sr.id),Sr.focusable&&(Ur.tabIndex=0,Ur.onKeyDown=this.onKeyDown);var Hr=Sr.prefixCls,pn=Sr.eventKey,sn=Sr.visible,yn=Sr.level,Fn=Sr.mode,Gn=Sr.overflowedIndicator,Jn=Sr.theme;return He.forEach(function(Ci){return delete Sr[Ci]}),delete Sr.onClick,C.createElement(qn,Object(w.a)({},Sr,{prefixCls:Hr,mode:Fn,tag:"ul",level:yn,theme:Jn,visible:sn,overflowedIndicator:Gn},Ur),Object(l.a)(Sr.children).map(function(Ci,ta){return Vt.renderMenuItem(Ci,ta,pn||"0-menu-")}))}}]),Qr}(C.Component);dn.defaultProps={prefixCls:"rc-menu",className:"",mode:"vertical",level:1,inlineIndent:24,visible:!0,focusable:!0,style:{},manualRef:it};var Fr=Object(k.b)()(dn),bn=Fr,Mn=d("Kwbf");function Xn(yr,Mr,Qr){var _r=yr.prefixCls,Vt=yr.motion,Sr=yr.defaultMotions,Zt=Sr===void 0?{}:Sr,Ur=yr.openAnimation,Hr=yr.openTransitionName,pn=Mr.switchingModeFromInline;if(Vt)return Vt;if(Object(j.a)(Ur)==="object"&&Ur)Object(Mn.a)(!1,"Object type of `openAnimation` is removed. Please use `motion` instead.");else if(typeof Ur=="string")return{motionName:"".concat(_r,"-open-").concat(Ur)};if(Hr)return{motionName:Hr};var sn=Zt[Qr];return sn||(pn?null:Zt.other)}var $n=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(_r){var Vt;Object(x.a)(this,Qr),Vt=Mr.call(this,_r),Vt.onSelect=function(Ur){var Hr=Object(L.a)(Vt),pn=Hr.props;if(pn.selectable){var sn=Vt.store.getState(),yn=sn.selectedKeys,Fn=Ur.key;pn.multiple?yn=yn.concat([Fn]):yn=[Fn],"selectedKeys"in pn||Vt.store.setState({selectedKeys:yn}),pn.onSelect(Object(o.a)(Object(o.a)({},Ur),{},{selectedKeys:yn}))}},Vt.onClick=function(Ur){var Hr=Vt.getRealMenuMode(),pn=Object(L.a)(Vt),sn=pn.store,yn=pn.props.onOpenChange;Hr!=="inline"&&!("openKeys"in Vt.props)&&(sn.setState({openKeys:[]}),yn([])),Vt.props.onClick(Ur)},Vt.onKeyDown=function(Ur,Hr){Vt.innerMenu.getWrappedInstance().onKeyDown(Ur,Hr)},Vt.onOpenChange=function(Ur){var Hr=Object(L.a)(Vt),pn=Hr.props,sn=Vt.store.getState().openKeys.concat(),yn=!1,Fn=function(Jn){var Ci=!1;if(Jn.open)Ci=sn.indexOf(Jn.key)===-1,Ci&&sn.push(Jn.key);else{var ta=sn.indexOf(Jn.key);Ci=ta!==-1,Ci&&sn.splice(ta,1)}yn=yn||Ci};Array.isArray(Ur)?Ur.forEach(Fn):Fn(Ur),yn&&("openKeys"in Vt.props||Vt.store.setState({openKeys:sn}),pn.onOpenChange(sn))},Vt.onDeselect=function(Ur){var Hr=Object(L.a)(Vt),pn=Hr.props;if(pn.selectable){var sn=Vt.store.getState().selectedKeys.concat(),yn=Ur.key,Fn=sn.indexOf(yn);Fn!==-1&&sn.splice(Fn,1),"selectedKeys"in pn||Vt.store.setState({selectedKeys:sn}),pn.onDeselect(Object(o.a)(Object(o.a)({},Ur),{},{selectedKeys:sn}))}},Vt.onMouseEnter=function(Ur){Vt.restoreModeVerticalFromInline();var Hr=Vt.props.onMouseEnter;Hr&&Hr(Ur)},Vt.onTransitionEnd=function(Ur){var Hr=Ur.propertyName==="width"&&Ur.target===Ur.currentTarget,pn=Ur.target.className,sn=Object.prototype.toString.call(pn)==="[object SVGAnimatedString]"?pn.animVal:pn,yn=Ur.propertyName==="font-size"&&sn.indexOf("anticon")>=0;(Hr||yn)&&Vt.restoreModeVerticalFromInline()},Vt.setInnerMenu=function(Ur){Vt.innerMenu=Ur},Vt.isRootMenu=!0;var Sr=_r.defaultSelectedKeys,Zt=_r.defaultOpenKeys;return"selectedKeys"in _r&&(Sr=_r.selectedKeys||[]),"openKeys"in _r&&(Zt=_r.openKeys||[]),Vt.store=Object(k.c)({selectedKeys:Sr,openKeys:Zt,activeKey:{"0-menu-":ri(_r,_r.activeKey)}}),Vt.state={switchingModeFromInline:!1,prevProps:_r,inlineOpenKeys:[],store:Vt.store},Vt}return Object(T.a)(Qr,[{key:"componentDidMount",value:function(){this.updateMiniStore(),this.updateMenuDisplay()}},{key:"componentDidUpdate",value:function(Vt){var Sr=this.props,Zt=Sr.siderCollapsed,Ur=Sr.inlineCollapsed,Hr=Sr.onOpenChange;(!Vt.inlineCollapsed&&Ur||!Vt.siderCollapsed&&Zt)&&Hr([]),this.updateMiniStore(),this.updateMenuDisplay()}},{key:"updateMenuDisplay",value:function(){var Vt=this.props.collapsedWidth,Sr=this.store,Zt=this.prevOpenKeys,Ur=this.getInlineCollapsed()&&(Vt===0||Vt==="0"||Vt==="0px");Ur?(this.prevOpenKeys=Sr.getState().openKeys.concat(),this.store.setState({openKeys:[]})):Zt&&(this.store.setState({openKeys:Zt}),this.prevOpenKeys=null)}},{key:"getRealMenuMode",value:function(){var Vt=this.props.mode,Sr=this.state.switchingModeFromInline,Zt=this.getInlineCollapsed();return Sr&&Zt?"inline":Zt?"vertical":Vt}},{key:"getInlineCollapsed",value:function(){var Vt=this.props,Sr=Vt.inlineCollapsed,Zt=Vt.siderCollapsed;return Zt!==void 0?Zt:Sr}},{key:"restoreModeVerticalFromInline",value:function(){var Vt=this.state.switchingModeFromInline;Vt&&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 Vt=Object(o.a)({},Object(U.a)(this.props,["collapsedWidth","siderCollapsed","defaultMotions"])),Sr=this.getRealMenuMode();return Vt.className+=" ".concat(Vt.prefixCls,"-root"),Vt.direction==="rtl"&&(Vt.className+=" ".concat(Vt.prefixCls,"-rtl")),Vt=Object(o.a)(Object(o.a)({},Vt),{},{mode:Sr,onClick:this.onClick,onOpenChange:this.onOpenChange,onDeselect:this.onDeselect,onSelect:this.onSelect,onMouseEnter:this.onMouseEnter,onTransitionEnd:this.onTransitionEnd,parentMenu:this,motion:Xn(this.props,this.state,Sr)}),delete Vt.openAnimation,delete Vt.openTransitionName,C.createElement(k.a,{store:this.store},C.createElement(bn,Object(w.a)({},Vt,{ref:this.setInnerMenu}),this.props.children))}}],[{key:"getDerivedStateFromProps",value:function(Vt,Sr){var Zt=Sr.prevProps,Ur=Sr.store,Hr=Ur.getState(),pn={},sn={prevProps:Vt};return Zt.mode==="inline"&&Vt.mode!=="inline"&&(sn.switchingModeFromInline=!0),"openKeys"in Vt?pn.openKeys=Vt.openKeys||[]:((Vt.inlineCollapsed&&!Zt.inlineCollapsed||Vt.siderCollapsed&&!Zt.siderCollapsed)&&(sn.switchingModeFromInline=!0,sn.inlineOpenKeys=Hr.openKeys,pn.openKeys=[]),(!Vt.inlineCollapsed&&Zt.inlineCollapsed||!Vt.siderCollapsed&&Zt.siderCollapsed)&&(pn.openKeys=Sr.inlineOpenKeys,sn.inlineOpenKeys=[])),Object.keys(pn).length&&Ur.setState(pn),sn}}]),Qr}(C.Component);$n.defaultProps={selectable:!0,onClick:it,onSelect:it,onOpenChange:it,onDeselect:it,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 hi=$n,fi=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(){var _r;return Object(x.a)(this,Qr),_r=Mr.apply(this,arguments),_r.onKeyDown=function(Vt){var Sr=Vt.keyCode;return Sr===m.a.ENTER?(_r.onClick(Vt),!0):void 0},_r.onMouseLeave=function(Vt){var Sr=_r.props,Zt=Sr.eventKey,Ur=Sr.onItemHover,Hr=Sr.onMouseLeave;Ur({key:Zt,hover:!1}),Hr({key:Zt,domEvent:Vt})},_r.onMouseEnter=function(Vt){var Sr=_r.props,Zt=Sr.eventKey,Ur=Sr.onItemHover,Hr=Sr.onMouseEnter;Ur({key:Zt,hover:!0}),Hr({key:Zt,domEvent:Vt})},_r.onClick=function(Vt){var Sr=_r.props,Zt=Sr.eventKey,Ur=Sr.multiple,Hr=Sr.onClick,pn=Sr.onSelect,sn=Sr.onDeselect,yn=Sr.isSelected,Fn={key:Zt,keyPath:[Zt],item:Object(L.a)(_r),domEvent:Vt};Hr(Fn),Ur?yn?sn(Fn):pn(Fn):yn||pn(Fn)},_r.saveNode=function(Vt){_r.node=Vt},_r}return Object(T.a)(Qr,[{key:"componentDidMount",value:function(){this.callRef()}},{key:"componentDidUpdate",value:function(){this.callRef()}},{key:"componentWillUnmount",value:function(){var Vt=this.props;Vt.onDestroy&&Vt.onDestroy(Vt.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 Vt,Sr=Object(o.a)({},this.props),Zt=s()(this.getPrefixCls(),Sr.className,(Vt={},Object(t.a)(Vt,this.getActiveClassName(),!Sr.disabled&&Sr.active),Object(t.a)(Vt,this.getSelectedClassName(),Sr.isSelected),Object(t.a)(Vt,this.getDisabledClassName(),Sr.disabled),Vt)),Ur=Object(o.a)(Object(o.a)({},Sr.attribute),{},{title:typeof Sr.title=="string"?Sr.title:void 0,className:Zt,role:Sr.role||"menuitem","aria-disabled":Sr.disabled});Sr.role==="option"?Ur=Object(o.a)(Object(o.a)({},Ur),{},{role:"option","aria-selected":Sr.isSelected}):(Sr.role===null||Sr.role==="none")&&(Ur.role="none");var Hr={onClick:Sr.disabled?null:this.onClick,onMouseLeave:Sr.disabled?null:this.onMouseLeave,onMouseEnter:Sr.disabled?null:this.onMouseEnter},pn=Object(o.a)({},Sr.style);Sr.mode==="inline"&&(Sr.direction==="rtl"?pn.paddingRight=Sr.inlineIndent*Sr.level:pn.paddingLeft=Sr.inlineIndent*Sr.level),He.forEach(function(yn){return delete Sr[yn]}),delete Sr.direction;var sn=this.props.itemIcon;return typeof this.props.itemIcon=="function"&&(sn=C.createElement(this.props.itemIcon,this.props)),C.createElement("li",Object(w.a)({},Object(U.a)(Sr,["onClick","onMouseEnter","onMouseLeave","onSelect"]),Ur,Hr,{style:pn,ref:this.saveNode}),Sr.children,sn)}}]),Qr}(C.Component);fi.isMenuItem=!0,fi.defaultProps={onSelect:it,onMouseEnter:it,onMouseLeave:it,manualRef:it};var gi=Object(k.b)(function(yr,Mr){var Qr=yr.activeKey,_r=yr.selectedKeys,Vt=Mr.eventKey,Sr=Mr.subMenuKey;return{active:Qr[Sr]===Vt,isSelected:Array.isArray(_r)?_r.indexOf(Vt)!==-1:_r===Vt}})(fi),Wi=gi,na=function(yr){Object(R.a)(Qr,yr);var Mr=Object(P.a)(Qr);function Qr(){var _r;return Object(x.a)(this,Qr),_r=Mr.apply(this,arguments),_r.renderInnerMenuItem=function(Vt){var Sr=_r.props,Zt=Sr.renderMenuItem,Ur=Sr.index;return Zt(Vt,Ur,_r.props.subMenuKey)},_r}return Object(T.a)(Qr,[{key:"render",value:function(){var Vt=Object(w.a)({},this.props),Sr=Vt.className,Zt=Sr===void 0?"":Sr,Ur=Vt.rootPrefixCls,Hr="".concat(Ur,"-item-group-title"),pn="".concat(Ur,"-item-group-list"),sn=Vt.title,yn=Vt.children;return He.forEach(function(Fn){return delete Vt[Fn]}),delete Vt.direction,C.createElement("li",Object(w.a)({},Vt,{onClick:function(Gn){return Gn.stopPropagation()},className:"".concat(Zt," ").concat(Ur,"-item-group")}),C.createElement("div",{className:Hr,title:typeof sn=="string"?sn:void 0},sn),C.createElement("ul",{className:pn},C.Children.map(yn,this.renderInnerMenuItem)))}}]),Qr}(C.Component);na.isMenuItemGroup=!0,na.defaultProps={disabled:!0};var $i=na,Ha=function(Mr){var Qr=Mr.className,_r=Mr.rootPrefixCls,Vt=Mr.style;return C.createElement("li",{className:"".concat(Qr," ").concat(_r,"-item-divider"),style:Vt})};Ha.defaultProps={disabled:!0,className:"",style:{}};var pi=Ha,ln=hi,Ii=d("eDIo");function Ji(yr,Mr){var Qr=yr.prefixCls,_r=yr.editable,Vt=yr.locale,Sr=yr.style;return!_r||_r.showAdd===!1?null:C.createElement("button",{ref:Mr,type:"button",className:"".concat(Qr,"-nav-add"),style:Sr,"aria-label":(Vt==null?void 0:Vt.addAriaLabel)||"Add tab",onClick:function(Ur){_r.onEdit("add",{event:Ur})}},_r.addIcon||"+")}var Fi=C.forwardRef(Ji);function ea(yr,Mr){var Qr=yr.prefixCls,_r=yr.id,Vt=yr.tabs,Sr=yr.locale,Zt=yr.mobile,Ur=yr.moreIcon,Hr=Ur===void 0?"More":Ur,pn=yr.moreTransitionName,sn=yr.style,yn=yr.className,Fn=yr.editable,Gn=yr.tabBarGutter,Jn=yr.rtl,Ci=yr.onTabClick,ta=Object(C.useState)(!1),oa=Object(p.a)(ta,2),da=oa[0],ca=oa[1],ma=Object(C.useState)(null),Ui=Object(p.a)(ma,2),Ni=Ui[0],ra=Ui[1],qi="".concat(_r,"-more-popup"),va="".concat(Qr,"-dropdown"),Oa=Ni!==null?"".concat(qi,"-").concat(Ni):null,Zi=Sr==null?void 0:Sr.dropdownAriaLabel,Xi=C.createElement(ln,{onClick:function(Ua){var Pa=Ua.key,za=Ua.domEvent;Ci(Pa,za),ca(!1)},id:qi,tabIndex:-1,role:"listbox","aria-activedescendant":Oa,selectedKeys:[Ni],"aria-label":Zi!==void 0?Zi:"expanded dropdown"},Vt.map(function(Na){return C.createElement(Wi,{key:Na.key,id:"".concat(qi,"-").concat(Na.key),role:"option","aria-controls":_r&&"".concat(_r,"-panel-").concat(Na.key),disabled:Na.disabled},Na.tab)}));function La(Na){for(var Ua=Vt.filter(function(io){return!io.disabled}),Pa=Ua.findIndex(function(io){return io.key===Ni})||0,za=Ua.length,xa=0;xa<za;xa+=1){Pa=(Pa+Na+za)%za;var ja=Ua[Pa];if(!ja.disabled){ra(ja.key);return}}}function Aa(Na){var Ua=Na.which;if(!da){[m.a.DOWN,m.a.SPACE,m.a.ENTER].includes(Ua)&&(ca(!0),Na.preventDefault());return}switch(Ua){case m.a.UP:La(-1),Na.preventDefault();break;case m.a.DOWN:La(1),Na.preventDefault();break;case m.a.ESC:ca(!1);break;case m.a.SPACE:case m.a.ENTER:Ni!==null&&Ci(Ni,Na);break}}Object(C.useEffect)(function(){var Na=document.getElementById(Oa);Na&&Na.scrollIntoView&&Na.scrollIntoView(!1)},[Ni]),Object(C.useEffect)(function(){da||ra(null)},[da]);var Ti=Object(t.a)({},Jn?"marginLeft":"marginRight",Gn);Vt.length||(Ti.visibility="hidden",Ti.order=1);var Sa=s()(Object(t.a)({},"".concat(va,"-rtl"),Jn)),Ra=Zt?null:C.createElement(Ii.a,{prefixCls:va,overlay:Xi,trigger:["hover"],visible:da,transitionName:pn,onVisibleChange:ca,overlayClassName:Sa,mouseEnterDelay:.1,mouseLeaveDelay:.1},C.createElement("button",{type:"button",className:"".concat(Qr,"-nav-more"),style:Ti,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":qi,id:"".concat(_r,"-more"),"aria-expanded":da,onKeyDown:Aa},Hr));return C.createElement("div",{className:s()("".concat(Qr,"-nav-operations"),yn),style:sn,ref:Mr},Ra,C.createElement(Fi,{prefixCls:Qr,locale:Sr,editable:Fn}))}var zt=C.forwardRef(ea),Gr=Object(C.createContext)(null),nn=.1,fn=.01,Xe=20,Ot=Math.pow(.995,Xe);function cr(){var yr=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(yr)||/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(yr.substr(0,4)))}function lr(yr,Mr){var Qr=Object(C.useState)(),_r=Object(p.a)(Qr,2),Vt=_r[0],Sr=_r[1],Zt=Object(C.useState)(0),Ur=Object(p.a)(Zt,2),Hr=Ur[0],pn=Ur[1],sn=Object(C.useState)(0),yn=Object(p.a)(sn,2),Fn=yn[0],Gn=yn[1],Jn=Object(C.useState)(),Ci=Object(p.a)(Jn,2),ta=Ci[0],oa=Ci[1],da=Object(C.useRef)();function ca(Zi){var Xi=Zi.touches[0],La=Xi.screenX,Aa=Xi.screenY;Sr({x:La,y:Aa}),window.clearInterval(da.current)}function ma(Zi){if(!Vt)return;Zi.preventDefault();var Xi=Zi.touches[0],La=Xi.screenX,Aa=Xi.screenY;Sr({x:La,y:Aa});var Ti=La-Vt.x,Sa=Aa-Vt.y;Mr(Ti,Sa);var Ra=Date.now();pn(Ra),Gn(Ra-Hr),oa({x:Ti,y:Sa})}function Ui(){if(!Vt)return;if(Sr(null),oa(null),ta){var Zi=ta.x/Fn,Xi=ta.y/Fn,La=Math.abs(Zi),Aa=Math.abs(Xi);if(Math.max(La,Aa)<nn)return;var Ti=Zi,Sa=Xi;da.current=window.setInterval(function(){if(Math.abs(Ti)<fn&&Math.abs(Sa)<fn){window.clearInterval(da.current);return}Ti*=Ot,Sa*=Ot,Mr(Ti*Xe,Sa*Xe)},Xe)}}var Ni=Object(C.useRef)(0),ra=Object(C.useRef)(!1),qi=Object(C.useRef)();function va(Zi){var Xi=Zi.deltaX,La=Zi.deltaY,Aa=0,Ti=Math.abs(Xi),Sa=Math.abs(La);Ti===Sa?Aa=qi.current==="x"?Xi:La:Ti>Sa?(Aa=Xi,qi.current="x"):(Aa=La,qi.current="y");var Ra=Date.now();Ra-Ni.current>100&&(ra.current=!1),(Mr(-Aa,-Aa)||ra.current)&&(Zi.preventDefault(),ra.current=!0),Ni.current=Ra}var Oa=Object(C.useRef)(null);Oa.current={onTouchStart:ca,onTouchMove:ma,onTouchEnd:Ui,onWheel:va},C.useEffect(function(){function Zi(Ti){Oa.current.onTouchStart(Ti)}function Xi(Ti){Oa.current.onTouchMove(Ti)}function La(Ti){Oa.current.onTouchEnd(Ti)}function Aa(Ti){Oa.current.onWheel(Ti)}return document.addEventListener("touchmove",Xi,{passive:!1}),document.addEventListener("touchend",La,{passive:!1}),yr.current.addEventListener("touchstart",Zi,{passive:!1}),yr.current.addEventListener("wheel",Aa),function(){document.removeEventListener("touchmove",Xi),document.removeEventListener("touchend",La)}},[])}function Ir(){var yr=Object(C.useRef)(new Map);function Mr(_r){return yr.current.has(_r)||yr.current.set(_r,C.createRef()),yr.current.get(_r)}function Qr(_r){yr.current.delete(_r)}return[Mr,Qr]}function Dr(yr,Mr){var Qr=C.useRef(yr),_r=C.useState({}),Vt=Object(p.a)(_r,2),Sr=Vt[1];function Zt(Ur){var Hr=typeof Ur=="function"?Ur(Qr.current):Ur;Hr!==Qr.current&&Mr(Hr,Qr.current),Qr.current=Hr,Sr({})}return[Qr.current,Zt]}var Wr=function(Mr){var Qr=Mr.position,_r=Mr.prefixCls,Vt=Mr.extra;if(!Vt)return null;var Sr,Zt=Vt;return Qr==="right"&&(Sr=Zt.right||!Zt.left&&Zt||null),Qr==="left"&&(Sr=Zt.left||null),Sr?C.createElement("div",{className:"".concat(_r,"-extra-content")},Sr):null};function on(yr,Mr){var Qr,_r=C.useContext(Gr),Vt=_r.prefixCls,Sr=_r.tabs,Zt=yr.className,Ur=yr.style,Hr=yr.id,pn=yr.animated,sn=yr.activeKey,yn=yr.rtl,Fn=yr.extra,Gn=yr.editable,Jn=yr.locale,Ci=yr.tabPosition,ta=yr.tabBarGutter,oa=yr.children,da=yr.onTabClick,ca=yr.onTabScroll,ma=Object(C.useRef)(),Ui=Object(C.useRef)(),Ni=Object(C.useRef)(),ra=Object(C.useRef)(),qi=Ir(),va=Object(p.a)(qi,2),Oa=va[0],Zi=va[1],Xi=Ci==="top"||Ci==="bottom",La=Dr(0,function(ge,Re){Xi&&ca&&ca({direction:ge>Re?"left":"right"})}),Aa=Object(p.a)(La,2),Ti=Aa[0],Sa=Aa[1],Ra=Dr(0,function(ge,Re){!Xi&&ca&&ca({direction:ge>Re?"top":"bottom"})}),Na=Object(p.a)(Ra,2),Ua=Na[0],Pa=Na[1],za=Object(C.useState)(0),xa=Object(p.a)(za,2),ja=xa[0],io=xa[1],ia=Object(C.useState)(0),lo=Object(p.a)(ia,2),Ga=lo[0],Ca=lo[1],Qa=Object(C.useState)(0),Da=Object(p.a)(Qa,2),Ia=Da[0],yo=Da[1],ao=Object(C.useState)(0),bo=Object(p.a)(ao,2),co=bo[0],uo=bo[1],Ya=Object(C.useState)(null),eo=Object(p.a)(Ya,2),wa=eo[0],ro=eo[1],fo=Object(C.useState)(null),ki=Object(p.a)(fo,2),Ma=ki[0],Ro=ki[1],jo=Object(C.useState)(0),Vo=Object(p.a)(jo,2),Xo=Vo[0],wo=Vo[1],_a=Object(C.useState)(0),Po=Object(p.a)(_a,2),ds=Po[0],ho=Po[1],Oo=f(new Map),Ka=Object(p.a)(Oo,2),Go=Ka[0],nl=Ka[1],Ts=b(Sr,Go,ja),Is="".concat(Vt,"-nav-operations-hidden"),xs=0,ps=0;Xi?yn?(xs=0,ps=Math.max(0,ja-wa)):(xs=Math.min(0,wa-ja),ps=0):(xs=Math.min(0,Ma-Ga),ps=0);function Os(ge){return ge<xs?[xs,!1]:ge>ps?[ps,!1]:[ge,!0]}var Ho=Object(C.useRef)(),mo=Object(C.useState)(),es=Object(p.a)(mo,2),Ko=es[0],ko=es[1];function zr(){ko(Date.now())}function Yo(){window.clearTimeout(Ho.current)}lr(ma,function(ge,Re){var ut=!1;function Lt(br,Or){br(function(Zr){var Cn=Os(Zr+Or),Hn=Object(p.a)(Cn,2),si=Hn[0],xi=Hn[1];return ut=xi,si})}if(Xi){if(wa>=ja)return ut;Lt(Sa,ge)}else{if(Ma>=Ga)return ut;Lt(Pa,Re)}return Yo(),zr(),ut}),Object(C.useEffect)(function(){return Yo(),Ko&&(Ho.current=window.setTimeout(function(){ko(0)},100)),Yo},[Ko]);function il(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sn,Re=Ts.get(ge);if(!Re)return;if(Xi){var ut=Ti;yn?Re.right<Ti?ut=Re.right:Re.right+Re.width>Ti+wa&&(ut=Re.right+Re.width-wa):Re.left<-Ti?ut=-Re.left:Re.left+Re.width>-Ti+wa&&(ut=-(Re.left+Re.width-wa)),Pa(0),Sa(Os(ut)[0])}else{var Lt=Ua;Re.top<-Ua?Lt=-Re.top:Re.top+Re.height>-Ua+Ma&&(Lt=-(Re.top+Re.height-Ma)),Sa(0),Pa(Os(Lt)[0])}}var Ks=y(Ts,{width:wa,height:Ma,left:Ti,top:Ua},{width:Ia,height:co},{width:Xo,height:ds},Object(o.a)(Object(o.a)({},yr),{},{tabs:Sr})),Ps=Object(p.a)(Ks,2),no=Ps[0],Ao=Ps[1],Fo=Sr.map(function(ge){var Re=ge.key;return C.createElement(g,{id:Hr,prefixCls:Vt,key:Re,rtl:yn,tab:ge,closable:ge.closable,editable:Gn,active:Re===sn,tabPosition:Ci,tabBarGutter:ta,renderWrapper:oa,removeAriaLabel:Jn==null?void 0:Jn.removeAriaLabel,ref:Oa(Re),onClick:function(Lt){da(Re,Lt)},onRemove:function(){Zi(Re)},onFocus:function(){il(Re),zr(),yn||(ma.current.scrollLeft=0),ma.current.scrollTop=0}})}),ns=u(function(){var ge,Re,ut,Lt,br,Or,Zr,Cn,Hn,si=((ge=ma.current)===null||ge===void 0?void 0:ge.offsetWidth)||0,xi=((Re=ma.current)===null||Re===void 0?void 0:Re.offsetHeight)||0,Di=((ut=ra.current)===null||ut===void 0?void 0:ut.offsetWidth)||0,sa=((Lt=ra.current)===null||Lt===void 0?void 0:Lt.offsetHeight)||0,ya=((br=Ni.current)===null||br===void 0?void 0:br.offsetWidth)||0,Ja=((Or=Ni.current)===null||Or===void 0?void 0:Or.offsetHeight)||0;ro(si),Ro(xi),wo(Di),ho(sa);var $a=(((Zr=Ui.current)===null||Zr===void 0?void 0:Zr.offsetWidth)||0)-Di,to=(((Cn=Ui.current)===null||Cn===void 0?void 0:Cn.offsetHeight)||0)-sa;io($a),Ca(to);var Io=(Hn=Ni.current)===null||Hn===void 0?void 0:Hn.className.includes(Is);yo($a-(Io?0:ya)),uo(to-(Io?0:Ja)),nl(function(){var Co=new Map;return Sr.forEach(function(Do){var go=Do.key,So=Oa(go).current;So&&Co.set(go,{width:So.offsetWidth,height:So.offsetHeight,left:So.offsetLeft,top:So.offsetTop})}),Co})}),ys=Sr.slice(0,no),ms=Sr.slice(Ao+1),_s=[].concat(Object(c.a)(ys),Object(c.a)(ms)),ol=Object(C.useState)(),Ls=Object(p.a)(ol,2),Gs=Ls[0],ks=Ls[1],gs=Ts.get(sn),Ns=Object(C.useRef)();function St(){a.a.cancel(Ns.current)}Object(C.useEffect)(function(){var ge={};return gs&&(Xi?(yn?ge.right=gs.right:ge.left=gs.left,ge.width=gs.width):(ge.top=gs.top,ge.height=gs.height)),St(),Ns.current=a()(function(){ks(ge)}),St},[gs,Xi,yn]),Object(C.useEffect)(function(){il()},[sn,gs,Ts,Xi]),Object(C.useEffect)(function(){ns()},[yn,ta,sn,Sr.map(function(ge){return ge.key}).join("_")]);var Dt=!!_s.length,rn="".concat(Vt,"-nav-wrap"),On,mt,ne,fe;return Xi?yn?(mt=Ti>0,On=Ti+wa<ja):(On=Ti<0,mt=-Ti+wa<ja):(ne=Ua<0,fe=-Ua+Ma<Ga),C.createElement("div",{ref:Mr,role:"tablist",className:s()("".concat(Vt,"-nav"),Zt),style:Ur,onKeyDown:function(){zr()}},C.createElement(Wr,{position:"left",extra:Fn,prefixCls:Vt}),C.createElement(i.a,{onResize:ns},C.createElement("div",{className:s()(rn,(Qr={},Object(t.a)(Qr,"".concat(rn,"-ping-left"),On),Object(t.a)(Qr,"".concat(rn,"-ping-right"),mt),Object(t.a)(Qr,"".concat(rn,"-ping-top"),ne),Object(t.a)(Qr,"".concat(rn,"-ping-bottom"),fe),Qr)),ref:ma},C.createElement(i.a,{onResize:ns},C.createElement("div",{ref:Ui,className:"".concat(Vt,"-nav-list"),style:{transform:"translate(".concat(Ti,"px, ").concat(Ua,"px)"),transition:Ko?"none":void 0}},Fo,C.createElement(Fi,{ref:ra,prefixCls:Vt,locale:Jn,editable:Gn,style:{visibility:Dt?"hidden":null}}),C.createElement("div",{className:s()("".concat(Vt,"-ink-bar"),Object(t.a)({},"".concat(Vt,"-ink-bar-animated"),pn.inkBar)),style:Gs}))))),C.createElement(zt,Object.assign({},yr,{ref:Ni,prefixCls:Vt,tabs:_s,className:!Dt&&Is})),C.createElement(Wr,{position:"right",extra:Fn,prefixCls:Vt}))}var En=C.forwardRef(on);function vn(yr){var Mr=yr.id,Qr=yr.activeKey,_r=yr.animated,Vt=yr.tabPosition,Sr=yr.rtl,Zt=yr.destroyInactiveTabPane,Ur=C.useContext(Gr),Hr=Ur.prefixCls,pn=Ur.tabs,sn=_r.tabPane,yn=pn.findIndex(function(Fn){return Fn.key===Qr});return C.createElement("div",{className:s()("".concat(Hr,"-content-holder"))},C.createElement("div",{className:s()("".concat(Hr,"-content"),"".concat(Hr,"-content-").concat(Vt),Object(t.a)({},"".concat(Hr,"-content-animated"),sn)),style:yn&&sn?Object(t.a)({},Sr?"marginRight":"marginLeft","-".concat(yn,"00%")):null},pn.map(function(Fn){return C.cloneElement(Fn.node,{key:Fn.key,prefixCls:Hr,tabKey:Fn.key,id:Mr,animated:sn,active:Fn.key===Qr,destroyInactiveTabPane:Zt})})))}function Dn(yr){var Mr=yr.prefixCls,Qr=yr.forceRender,_r=yr.className,Vt=yr.style,Sr=yr.id,Zt=yr.active,Ur=yr.animated,Hr=yr.destroyInactiveTabPane,pn=yr.tabKey,sn=yr.children,yn=C.useState(Qr),Fn=Object(p.a)(yn,2),Gn=Fn[0],Jn=Fn[1];C.useEffect(function(){Zt?Jn(!0):Hr&&Jn(!1)},[Zt,Hr]);var Ci={};return Zt||(Ur?(Ci.visibility="hidden",Ci.height=0,Ci.overflowY="hidden"):Ci.display="none"),C.createElement("div",{id:Sr&&"".concat(Sr,"-panel-").concat(pn),role:"tabpanel",tabIndex:Zt?0:-1,"aria-labelledby":Sr&&"".concat(Sr,"-tab-").concat(pn),"aria-hidden":!Zt,style:Object(o.a)(Object(o.a)({},Ci),Vt),className:s()("".concat(Mr,"-tabpane"),Zt&&"".concat(Mr,"-tabpane-active"),_r)},(Zt||Gn||Qr)&&sn)}var Un=0;function wn(yr){return Object(l.a)(yr).map(function(Mr){if(C.isValidElement(Mr)){var Qr=Mr.key!==void 0?String(Mr.key):void 0;return Object(o.a)(Object(o.a)({key:Qr},Mr.props),{},{node:Mr})}return null}).filter(function(Mr){return Mr})}function In(yr,Mr){var Qr,_r=yr.id,Vt=yr.prefixCls,Sr=Vt===void 0?"rc-tabs":Vt,Zt=yr.className,Ur=yr.children,Hr=yr.direction,pn=yr.activeKey,sn=yr.defaultActiveKey,yn=yr.editable,Fn=yr.animated,Gn=yr.tabPosition,Jn=Gn===void 0?"top":Gn,Ci=yr.tabBarGutter,ta=yr.tabBarStyle,oa=yr.tabBarExtraContent,da=yr.locale,ca=yr.moreIcon,ma=yr.moreTransitionName,Ui=yr.destroyInactiveTabPane,Ni=yr.renderTabBar,ra=yr.onChange,qi=yr.onTabClick,va=yr.onTabScroll,Oa=Object(h.a)(yr,["id","prefixCls","className","children","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll"]),Zi=wn(Ur),Xi=Hr==="rtl",La;Fn===!1?La={inkBar:!1,tabPane:!1}:La=Object(o.a)({inkBar:!0,tabPane:!1},Fn!==!0?Fn:null);var Aa=Object(C.useState)(!1),Ti=Object(p.a)(Aa,2),Sa=Ti[0],Ra=Ti[1];Object(C.useEffect)(function(){Ra(cr())},[]);var Na=Object(n.a)(function(){var co;return(co=Zi[0])===null||co===void 0?void 0:co.key},{value:pn,defaultValue:sn}),Ua=Object(p.a)(Na,2),Pa=Ua[0],za=Ua[1],xa=Object(C.useState)(function(){return Zi.findIndex(function(co){return co.key===Pa})}),ja=Object(p.a)(xa,2),io=ja[0],ia=ja[1];Object(C.useEffect)(function(){var co=Zi.findIndex(function(Ya){return Ya.key===Pa});if(co===-1){var uo;co=Math.max(0,Math.min(io,Zi.length-1)),za((uo=Zi[co])===null||uo===void 0?void 0:uo.key)}ia(co)},[Zi.map(function(co){return co.key}).join("_"),Pa,io]);var lo=Object(n.a)(null,{value:_r}),Ga=Object(p.a)(lo,2),Ca=Ga[0],Qa=Ga[1],Da=Jn;Sa&&!["left","right"].includes(Jn)&&(Da="top"),Object(C.useEffect)(function(){_r||(Qa("rc-tabs-".concat(Un)),Un+=1)},[]);function Ia(co,uo){qi==null||qi(co,uo),za(co),ra==null||ra(co)}var yo={id:Ca,activeKey:Pa,animated:La,tabPosition:Da,rtl:Xi,mobile:Sa},ao,bo=Object(o.a)(Object(o.a)({},yo),{},{editable:yn,locale:da,moreIcon:ca,moreTransitionName:ma,tabBarGutter:Ci,onTabClick:Ia,onTabScroll:va,extra:oa,style:ta,panes:Ur});return Ni?ao=Ni(bo,En):ao=C.createElement(En,Object.assign({},bo)),C.createElement(Gr.Provider,{value:{tabs:Zi,prefixCls:Sr}},C.createElement("div",Object.assign({ref:Mr,id:_r,className:s()(Sr,"".concat(Sr,"-").concat(Da),(Qr={},Object(t.a)(Qr,"".concat(Sr,"-mobile"),Sa),Object(t.a)(Qr,"".concat(Sr,"-editable"),yn),Object(t.a)(Qr,"".concat(Sr,"-rtl"),Xi),Qr),Zt)},Oa),ao,C.createElement(vn,Object.assign({destroyInactiveTabPane:Ui},yo,{animated:La}))))}var Tn=C.forwardRef(In);Tn.TabPane=Dn;var Kn=Tn,Yn=Kn,ni=d("cCPh"),yi=d.n(ni),li=d("fNCr"),Oi=d.n(li),Bi=d("V/uB"),Si=d.n(Bi),mi=d("uaoM"),Li=d("H84U"),Wn=function(yr,Mr){var Qr={};for(var _r in yr)Object.prototype.hasOwnProperty.call(yr,_r)&&Mr.indexOf(_r)<0&&(Qr[_r]=yr[_r]);if(yr!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,_r=Object.getOwnPropertySymbols(yr);Vt<_r.length;Vt++)Mr.indexOf(_r[Vt])<0&&Object.prototype.propertyIsEnumerable.call(yr,_r[Vt])&&(Qr[_r[Vt]]=yr[_r[Vt]]);return Qr};function Ri(yr){var Mr,Qr=yr.type,_r=yr.className,Vt=yr.size,Sr=yr.onEdit,Zt=yr.hideAdd,Ur=yr.centered,Hr=yr.addIcon,pn=Wn(yr,["type","className","size","onEdit","hideAdd","centered","addIcon"]),sn=pn.prefixCls,yn=C.useContext(Li.b),Fn=yn.getPrefixCls,Gn=yn.direction,Jn=Fn("tabs",sn),Ci;return Qr==="editable-card"&&(Ci={onEdit:function(oa,da){var ca=da.key,ma=da.event;Sr==null||Sr(oa==="add"?ma:ca,oa)},removeIcon:C.createElement(Si.a,null),addIcon:Hr||C.createElement(Oi.a,null),showAdd:Zt!==!0}),Object(mi.a)(!("onPrevClick"in pn)&&!("onNextClick"in pn),"Tabs","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),C.createElement(Yn,_()({direction:Gn},pn,{moreTransitionName:"slide-up",className:s()(_r,(Mr={},E()(Mr,"".concat(Jn,"-").concat(Vt),Vt),E()(Mr,"".concat(Jn,"-card"),["card","editable-card"].includes(Qr)),E()(Mr,"".concat(Jn,"-editable-card"),Qr==="editable-card"),E()(Mr,"".concat(Jn,"-centered"),Ur),Mr)),editable:Ci,moreIcon:C.createElement(yi.a,null),prefixCls:Jn}))}Ri.TabPane=Dn;var zi=z.a=Ri},ZTW2:function(ue,z,d){},ZWlE:function(ue,z,d){var O=d("bYtY"),_=d("4NO4");function I(t){E(t),C(t)}function E(t){if(t.parallel)return;var p=!1;O.each(t.series,function(h){h&&h.type==="parallel"&&(p=!0)}),p&&(t.parallel=[{}])}function C(t){var p=_.normalizeToArray(t.parallelAxis);O.each(p,function(h){if(!O.isObject(h))return;var o=h.parallelIndex||0,r=_.normalizeToArray(t.parallel)[o];r&&r.parallelAxisDefault&&O.merge(h,r.parallelAxisDefault,!1)})}ue.exports=I},ZX9x:function(ue,z,d){"use strict";d.d(z,"a",function(){return T}),d.d(z,"b",function(){return P});var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("q1tI"),c=d("TSYQ"),e=d.n(c),a=d("BGR+"),i=d("T1rO"),u=d.n(i),f=d("fEPi"),m=d.n(f),A=d("DFhj"),g=d.n(A),v=d("PKem"),b=d("H84U"),S=function(U){return!isNaN(parseFloat(U))&&isFinite(U)},y=S,w=function(k,U){var D={};for(var M in k)Object.prototype.hasOwnProperty.call(k,M)&&U.indexOf(M)<0&&(D[M]=k[M]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,M=Object.getOwnPropertySymbols(k);B<M.length;B++)U.indexOf(M[B])<0&&Object.prototype.propertyIsEnumerable.call(k,M[B])&&(D[M[B]]=k[M[B]]);return D},x={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},T=n.createContext({}),L=function(){var k=0;return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return k+=1,"".concat(U).concat(k)}}(),R=function(k){r()(D,k);var U=l()(D);function D(M){var B;t()(this,D),B=U.call(this,M),B.responsiveHandler=function(K){B.setState({below:K.matches});var W=B.props.onBreakpoint,X=B.state.collapsed;W&&W(K.matches),X!==K.matches&&B.setCollapsed(K.matches,"responsive")},B.setCollapsed=function(K,W){"collapsed"in B.props||B.setState({collapsed:K});var X=B.props.onCollapse;X&&X(K,W)},B.toggle=function(){var K=!B.state.collapsed;B.setCollapsed(K,"clickTrigger")},B.renderSider=function(K){var W,X=K.getPrefixCls,V=B.props,Z=V.prefixCls,G=V.className,Y=V.theme,te=V.collapsible,se=V.reverseArrow,Ce=V.trigger,he=V.style,xe=V.width,ie=V.collapsedWidth,ee=V.zeroWidthTriggerStyle,Ze=V.children,Se=w(V,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),Ne=B.state,it=Ne.collapsed,Ye=Ne.below,nt=X("layout-sider",Z),je=Object(a.default)(Se,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),et=it?ie:xe,He=y(et)?"".concat(et,"px"):String(et),pe=parseFloat(String(ie||0))===0?n.createElement("span",{onClick:B.toggle,className:e()("".concat(nt,"-zero-width-trigger"),"".concat(nt,"-zero-width-trigger-").concat(se?"right":"left")),style:ee},Ce||n.createElement(u.a,null)):null,ae={expanded:se?n.createElement(m.a,null):n.createElement(g.a,null),collapsed:se?n.createElement(g.a,null):n.createElement(m.a,null)},re=it?"collapsed":"expanded",be=ae[re],ze=Ce!==null?pe||n.createElement("div",{className:"".concat(nt,"-trigger"),onClick:B.toggle,style:{width:He}},Ce||be):null,Ke=E()(E()({},he),{flex:"0 0 ".concat(He),maxWidth:He,minWidth:He,width:He}),Te=e()(G,nt,"".concat(nt,"-").concat(Y),(W={},_()(W,"".concat(nt,"-collapsed"),!!it),_()(W,"".concat(nt,"-has-trigger"),te&&Ce!==null&&!pe),_()(W,"".concat(nt,"-below"),!!Ye),_()(W,"".concat(nt,"-zero-width"),parseFloat(He)===0),W));return n.createElement("aside",E()({className:Te},je,{style:Ke}),n.createElement("div",{className:"".concat(nt,"-children")},Ze),te||Ye&&pe?ze:null)},B.uniqueId=L("ant-sider-");var j;typeof window!="undefined"&&(j=window.matchMedia),j&&M.breakpoint&&M.breakpoint in x&&(B.mql=j("(max-width: ".concat(x[M.breakpoint],")")));var H;return"collapsed"in M?H=M.collapsed:H=M.defaultCollapsed,B.state={collapsed:H,below:!1},B}return h()(D,[{key:"componentDidMount",value:function(){var B;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),(B=this.props)===null||B===void 0||B.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var B,j;(B=this===null||this===void 0?void 0:this.mql)===null||B===void 0||B.removeListener(this.responsiveHandler),(j=this.props)===null||j===void 0||j.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var B=this.state.collapsed,j=this.props.collapsedWidth;return n.createElement(T.Provider,{value:{siderCollapsed:B,collapsedWidth:j}},n.createElement(b.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(B){return"collapsed"in B?{collapsed:B.collapsed}:null}}]),D}(n.Component);R.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var P=function(k){r()(D,k);var U=l()(D);function D(){return t()(this,D),U.apply(this,arguments)}return h()(D,[{key:"render",value:function(){var B=this;return n.createElement(v.a.Consumer,null,function(j){return n.createElement(R,E()({},j,B.props))})}}]),D}(n.Component)},ZYIC:function(ue,z,d){var O=d("zM3Q"),_={seriesType:"lines",plan:O(),reset:function(I){var E=I.coordinateSystem,C=I.get("polyline"),t=I.pipelineContext.large;function p(h,o){var r=[];if(t){var s,l=h.end-h.start;if(C){for(var n=0,c=h.start;c<h.end;c++)n+=I.getLineCoordsCount(c);s=new Float32Array(l+n*2)}else s=new Float32Array(l*4);for(var e=0,a=[],c=h.start;c<h.end;c++){var i=I.getLineCoords(c,r);C&&(s[e++]=i);for(var u=0;u<i;u++)a=E.dataToPoint(r[u],!1,a),s[e++]=a[0],s[e++]=a[1]}o.setLayout("linesPoints",s)}else for(var c=h.start;c<h.end;c++){var f=o.getItemModel(c),i=I.getLineCoords(c,r),m=[];if(C)for(var A=0;A<i;A++)m.push(E.dataToPoint(r[A]));else{m[0]=E.dataToPoint(r[0]),m[1]=E.dataToPoint(r[1]);var g=f.get("lineStyle.curveness");+g&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*g,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*g])}o.setItemLayout(c,m)}}return{progress:p}}};ue.exports=_},Ze12:function(ue,z,d){var O=d("ItGF"),_=d("hOwI"),I=_.buildTransformer,E="___zrEVENTSAVED",C=[];function t(s,l,n,c,e){return p(C,l,c,e,!0)&&p(s,n,C[0],C[1])}function p(s,l,n,c,e){if(l.getBoundingClientRect&&O.domSupported&&!r(l)){var a=l[E]||(l[E]={}),i=h(l,a),u=o(i,a,e);if(u)return u(s,n,c),!0}return!1}function h(s,l){var n=l.markers;if(n)return n;n=l.markers=[];for(var c=["left","right"],e=["top","bottom"],a=0;a<4;a++){var i=document.createElement("div"),u=i.style,f=a%2,m=(a>>1)%2;u.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",c[f]+":0",e[m]+":0",c[1-f]+":auto",e[1-m]+":auto",""].join("!important;"),s.appendChild(i),n.push(i)}return n}function o(s,l,n){for(var c=n?"invTrans":"trans",e=l[c],a=l.srcCoords,i=!0,u=[],f=[],m=0;m<4;m++){var A=s[m].getBoundingClientRect(),g=2*m,v=A.left,b=A.top;u.push(v,b),i=i&&a&&v===a[g]&&b===a[g+1],f.push(s[m].offsetLeft,s[m].offsetTop)}return i&&e?e:(l.srcCoords=u,l[c]=n?I(f,u):I(u,f))}function r(s){return s.nodeName.toUpperCase()==="CANVAS"}z.transformLocalCoord=t,z.transformCoordWithViewport=p,z.isCanvasEl=r},Znkb:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("zTMp"),C=I.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(r,s,l,n){this.axisPointerClass&&E.fixValue(r),C.superApply(this,"render",arguments),t(this,r,s,l,n,!0)},updateAxisPointer:function(r,s,l,n,c){t(this,r,s,l,n,!1)},remove:function(r,s){var l=this._axisPointer;l&&l.remove(s),C.superApply(this,"remove",arguments)},dispose:function(r,s){p(this,s),C.superApply(this,"dispose",arguments)}});function t(r,s,l,n,c,e){var a=C.getAxisPointerClass(r.axisPointerClass);if(!a)return;var i=E.getAxisPointerModel(s);i?(r._axisPointer||(r._axisPointer=new a)).render(s,i,n,e):p(r,n)}function p(r,s,l){var n=r._axisPointer;n&&n.dispose(s,l),r._axisPointer=null}var h=[];C.registerAxisPointerClass=function(r,s){h[r]=s},C.getAxisPointerClass=function(r){return r&&h[r]};var o=C;ue.exports=o},"Znn+":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("9ama"),E=d.n(I)},ZqQs:function(ue,z,d){var O=d("bYtY");function _(t){var p=t&&t.timeline;O.isArray(p)||(p=p?[p]:[]),O.each(p,function(h){if(!h)return;I(h)})}function I(t){var p=t.type,h={number:"value",time:"time"};if(h[p]&&(t.axisType=h[p],delete t.type),E(t),C(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});C(o,"position")||(o.position=t.controlPosition),o.position==="none"&&!C(o,"show")&&(o.show=!1,delete o.position),delete t.controlPosition}O.each(t.data||[],function(r){O.isObject(r)&&!O.isArray(r)&&(!C(r,"value")&&C(r,"name")&&(r.value=r.name),E(r))})}function E(t){var p=t.itemStyle||(t.itemStyle={}),h=p.emphasis||(p.emphasis={}),o=t.label||t.label||{},r=o.normal||(o.normal={}),s={normal:1,emphasis:1};O.each(o,function(l,n){!s[n]&&!C(r,n)&&(r[n]=l)}),h.label&&!C(o,"emphasis")&&(o.emphasis=h.label,delete h.label)}function C(t,p){return t.hasOwnProperty(p)}ue.exports=_},Zss7:function(ue,z,d){var O;(function(_){var I=/^\s+/,E=/\s+$/,C=0,t=_.round,p=_.min,h=_.max,o=_.random;function r(he,xe){if(he=he||"",xe=xe||{},he instanceof r)return he;if(!(this instanceof r))return new r(he,xe);var ie=s(he);this._originalInput=he,this._r=ie.r,this._g=ie.g,this._b=ie.b,this._a=ie.a,this._roundA=t(100*this._a)/100,this._format=xe.format||ie.format,this._gradientType=xe.gradientType,this._r<1&&(this._r=t(this._r)),this._g<1&&(this._g=t(this._g)),this._b<1&&(this._b=t(this._b)),this._ok=ie.ok,this._tc_id=C++}r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var xe=this.toRgb();return(xe.r*299+xe.g*587+xe.b*114)/1e3},getLuminance:function(){var xe=this.toRgb(),ie,ee,Ze,Se,Ne,it;return ie=xe.r/255,ee=xe.g/255,Ze=xe.b/255,ie<=.03928?Se=ie/12.92:Se=_.pow((ie+.055)/1.055,2.4),ee<=.03928?Ne=ee/12.92:Ne=_.pow((ee+.055)/1.055,2.4),Ze<=.03928?it=Ze/12.92:it=_.pow((Ze+.055)/1.055,2.4),.2126*Se+.7152*Ne+.0722*it},setAlpha:function(xe){return this._a=M(xe),this._roundA=t(100*this._a)/100,this},toHsv:function(){var xe=e(this._r,this._g,this._b);return{h:xe.h*360,s:xe.s,v:xe.v,a:this._a}},toHsvString:function(){var xe=e(this._r,this._g,this._b),ie=t(xe.h*360),ee=t(xe.s*100),Ze=t(xe.v*100);return this._a==1?"hsv("+ie+", "+ee+"%, "+Ze+"%)":"hsva("+ie+", "+ee+"%, "+Ze+"%, "+this._roundA+")"},toHsl:function(){var xe=n(this._r,this._g,this._b);return{h:xe.h*360,s:xe.s,l:xe.l,a:this._a}},toHslString:function(){var xe=n(this._r,this._g,this._b),ie=t(xe.h*360),ee=t(xe.s*100),Ze=t(xe.l*100);return this._a==1?"hsl("+ie+", "+ee+"%, "+Ze+"%)":"hsla("+ie+", "+ee+"%, "+Ze+"%, "+this._roundA+")"},toHex:function(xe){return i(this._r,this._g,this._b,xe)},toHexString:function(xe){return"#"+this.toHex(xe)},toHex8:function(xe){return u(this._r,this._g,this._b,this._a,xe)},toHex8String:function(xe){return"#"+this.toHex8(xe)},toRgb:function(){return{r:t(this._r),g:t(this._g),b:t(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+t(this._r)+", "+t(this._g)+", "+t(this._b)+")":"rgba("+t(this._r)+", "+t(this._g)+", "+t(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:t(B(this._r,255)*100)+"%",g:t(B(this._g,255)*100)+"%",b:t(B(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+t(B(this._r,255)*100)+"%, "+t(B(this._g,255)*100)+"%, "+t(B(this._b,255)*100)+"%)":"rgba("+t(B(this._r,255)*100)+"%, "+t(B(this._g,255)*100)+"%, "+t(B(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:U[i(this._r,this._g,this._b,!0)]||!1},toFilter:function(xe){var ie="#"+f(this._r,this._g,this._b,this._a),ee=ie,Ze=this._gradientType?"GradientType = 1, ":"";if(xe){var Se=r(xe);ee="#"+f(Se._r,Se._g,Se._b,Se._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ze+"startColorstr="+ie+",endColorstr="+ee+")"},toString:function(xe){var ie=!!xe;xe=xe||this._format;var ee=!1,Ze=this._a<1&&this._a>=0,Se=!ie&&Ze&&(xe==="hex"||xe==="hex6"||xe==="hex3"||xe==="hex4"||xe==="hex8"||xe==="name");return Se?xe==="name"&&this._a===0?this.toName():this.toRgbString():(xe==="rgb"&&(ee=this.toRgbString()),xe==="prgb"&&(ee=this.toPercentageRgbString()),(xe==="hex"||xe==="hex6")&&(ee=this.toHexString()),xe==="hex3"&&(ee=this.toHexString(!0)),xe==="hex4"&&(ee=this.toHex8String(!0)),xe==="hex8"&&(ee=this.toHex8String()),xe==="name"&&(ee=this.toName()),xe==="hsl"&&(ee=this.toHslString()),xe==="hsv"&&(ee=this.toHsvString()),ee||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(xe,ie){var ee=xe.apply(null,[this].concat([].slice.call(ie)));return this._r=ee._r,this._g=ee._g,this._b=ee._b,this.setAlpha(ee._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(b,arguments)},darken:function(){return this._applyModification(S,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(A,arguments)},greyscale:function(){return this._applyModification(g,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(xe,ie){return xe.apply(null,[this].concat([].slice.call(ie)))},analogous:function(){return this._applyCombination(R,arguments)},complement:function(){return this._applyCombination(w,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(L,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(T,arguments)}},r.fromRatio=function(he,xe){if(typeof he=="object"){var ie={};for(var ee in he)he.hasOwnProperty(ee)&&(ee==="a"?ie[ee]=he[ee]:ie[ee]=V(he[ee]));he=ie}return r(he,xe)};function s(he){var xe={r:0,g:0,b:0},ie=1,ee=null,Ze=null,Se=null,Ne=!1,it=!1;return typeof he=="string"&&(he=se(he)),typeof he=="object"&&(te(he.r)&&te(he.g)&&te(he.b)?(xe=l(he.r,he.g,he.b),Ne=!0,it=String(he.r).substr(-1)==="%"?"prgb":"rgb"):te(he.h)&&te(he.s)&&te(he.v)?(ee=V(he.s),Ze=V(he.v),xe=a(he.h,ee,Ze),Ne=!0,it="hsv"):te(he.h)&&te(he.s)&&te(he.l)&&(ee=V(he.s),Se=V(he.l),xe=c(he.h,ee,Se),Ne=!0,it="hsl"),he.hasOwnProperty("a")&&(ie=he.a)),ie=M(ie),{ok:Ne,format:he.format||it,r:p(255,h(xe.r,0)),g:p(255,h(xe.g,0)),b:p(255,h(xe.b,0)),a:ie}}function l(he,xe,ie){return{r:B(he,255)*255,g:B(xe,255)*255,b:B(ie,255)*255}}function n(he,xe,ie){he=B(he,255),xe=B(xe,255),ie=B(ie,255);var ee=h(he,xe,ie),Ze=p(he,xe,ie),Se,Ne,it=(ee+Ze)/2;if(ee==Ze)Se=Ne=0;else{var Ye=ee-Ze;Ne=it>.5?Ye/(2-ee-Ze):Ye/(ee+Ze);switch(ee){case he:Se=(xe-ie)/Ye+(xe<ie?6:0);break;case xe:Se=(ie-he)/Ye+2;break;case ie:Se=(he-xe)/Ye+4;break}Se/=6}return{h:Se,s:Ne,l:it}}function c(he,xe,ie){var ee,Ze,Se;he=B(he,360),xe=B(xe,100),ie=B(ie,100);function Ne(nt,je,et){return et<0&&(et+=1),et>1&&(et-=1),et<1/6?nt+(je-nt)*6*et:et<1/2?je:et<2/3?nt+(je-nt)*(2/3-et)*6:nt}if(xe===0)ee=Ze=Se=ie;else{var it=ie<.5?ie*(1+xe):ie+xe-ie*xe,Ye=2*ie-it;ee=Ne(Ye,it,he+1/3),Ze=Ne(Ye,it,he),Se=Ne(Ye,it,he-1/3)}return{r:ee*255,g:Ze*255,b:Se*255}}function e(he,xe,ie){he=B(he,255),xe=B(xe,255),ie=B(ie,255);var ee=h(he,xe,ie),Ze=p(he,xe,ie),Se,Ne,it=ee,Ye=ee-Ze;if(Ne=ee===0?0:Ye/ee,ee==Ze)Se=0;else{switch(ee){case he:Se=(xe-ie)/Ye+(xe<ie?6:0);break;case xe:Se=(ie-he)/Ye+2;break;case ie:Se=(he-xe)/Ye+4;break}Se/=6}return{h:Se,s:Ne,v:it}}function a(he,xe,ie){he=B(he,360)*6,xe=B(xe,100),ie=B(ie,100);var ee=_.floor(he),Ze=he-ee,Se=ie*(1-xe),Ne=ie*(1-Ze*xe),it=ie*(1-(1-Ze)*xe),Ye=ee%6,nt=[ie,Ne,Se,Se,it,ie][Ye],je=[it,ie,ie,Ne,Se,Se][Ye],et=[Se,Se,it,ie,ie,Ne][Ye];return{r:nt*255,g:je*255,b:et*255}}function i(he,xe,ie,ee){var Ze=[X(t(he).toString(16)),X(t(xe).toString(16)),X(t(ie).toString(16))];return ee&&Ze[0].charAt(0)==Ze[0].charAt(1)&&Ze[1].charAt(0)==Ze[1].charAt(1)&&Ze[2].charAt(0)==Ze[2].charAt(1)?Ze[0].charAt(0)+Ze[1].charAt(0)+Ze[2].charAt(0):Ze.join("")}function u(he,xe,ie,ee,Ze){var Se=[X(t(he).toString(16)),X(t(xe).toString(16)),X(t(ie).toString(16)),X(Z(ee))];return Ze&&Se[0].charAt(0)==Se[0].charAt(1)&&Se[1].charAt(0)==Se[1].charAt(1)&&Se[2].charAt(0)==Se[2].charAt(1)&&Se[3].charAt(0)==Se[3].charAt(1)?Se[0].charAt(0)+Se[1].charAt(0)+Se[2].charAt(0)+Se[3].charAt(0):Se.join("")}function f(he,xe,ie,ee){var Ze=[X(Z(ee)),X(t(he).toString(16)),X(t(xe).toString(16)),X(t(ie).toString(16))];return Ze.join("")}r.equals=function(he,xe){return!he||!xe?!1:r(he).toRgbString()==r(xe).toRgbString()},r.random=function(){return r.fromRatio({r:o(),g:o(),b:o()})};function m(he,xe){xe=xe===0?0:xe||10;var ie=r(he).toHsl();return ie.s-=xe/100,ie.s=j(ie.s),r(ie)}function A(he,xe){xe=xe===0?0:xe||10;var ie=r(he).toHsl();return ie.s+=xe/100,ie.s=j(ie.s),r(ie)}function g(he){return r(he).desaturate(100)}function v(he,xe){xe=xe===0?0:xe||10;var ie=r(he).toHsl();return ie.l+=xe/100,ie.l=j(ie.l),r(ie)}function b(he,xe){xe=xe===0?0:xe||10;var ie=r(he).toRgb();return ie.r=h(0,p(255,ie.r-t(255*-(xe/100)))),ie.g=h(0,p(255,ie.g-t(255*-(xe/100)))),ie.b=h(0,p(255,ie.b-t(255*-(xe/100)))),r(ie)}function S(he,xe){xe=xe===0?0:xe||10;var ie=r(he).toHsl();return ie.l-=xe/100,ie.l=j(ie.l),r(ie)}function y(he,xe){var ie=r(he).toHsl(),ee=(ie.h+xe)%360;return ie.h=ee<0?360+ee:ee,r(ie)}function w(he){var xe=r(he).toHsl();return xe.h=(xe.h+180)%360,r(xe)}function x(he){var xe=r(he).toHsl(),ie=xe.h;return[r(he),r({h:(ie+120)%360,s:xe.s,l:xe.l}),r({h:(ie+240)%360,s:xe.s,l:xe.l})]}function T(he){var xe=r(he).toHsl(),ie=xe.h;return[r(he),r({h:(ie+90)%360,s:xe.s,l:xe.l}),r({h:(ie+180)%360,s:xe.s,l:xe.l}),r({h:(ie+270)%360,s:xe.s,l:xe.l})]}function L(he){var xe=r(he).toHsl(),ie=xe.h;return[r(he),r({h:(ie+72)%360,s:xe.s,l:xe.l}),r({h:(ie+216)%360,s:xe.s,l:xe.l})]}function R(he,xe,ie){xe=xe||6,ie=ie||30;var ee=r(he).toHsl(),Ze=360/ie,Se=[r(he)];for(ee.h=(ee.h-(Ze*xe>>1)+720)%360;--xe;)ee.h=(ee.h+Ze)%360,Se.push(r(ee));return Se}function P(he,xe){xe=xe||6;for(var ie=r(he).toHsv(),ee=ie.h,Ze=ie.s,Se=ie.v,Ne=[],it=1/xe;xe--;)Ne.push(r({h:ee,s:Ze,v:Se})),Se=(Se+it)%1;return Ne}r.mix=function(he,xe,ie){ie=ie===0?0:ie||50;var ee=r(he).toRgb(),Ze=r(xe).toRgb(),Se=ie/100,Ne={r:(Ze.r-ee.r)*Se+ee.r,g:(Ze.g-ee.g)*Se+ee.g,b:(Ze.b-ee.b)*Se+ee.b,a:(Ze.a-ee.a)*Se+ee.a};return r(Ne)},r.readability=function(he,xe){var ie=r(he),ee=r(xe);return(_.max(ie.getLuminance(),ee.getLuminance())+.05)/(_.min(ie.getLuminance(),ee.getLuminance())+.05)},r.isReadable=function(he,xe,ie){var ee=r.readability(he,xe),Ze,Se;Se=!1,Ze=Ce(ie);switch(Ze.level+Ze.size){case"AAsmall":case"AAAlarge":Se=ee>=4.5;break;case"AAlarge":Se=ee>=3;break;case"AAAsmall":Se=ee>=7;break}return Se},r.mostReadable=function(he,xe,ie){var ee=null,Ze=0,Se,Ne,it,Ye;ie=ie||{},Ne=ie.includeFallbackColors,it=ie.level,Ye=ie.size;for(var nt=0;nt<xe.length;nt++)Se=r.readability(he,xe[nt]),Se>Ze&&(Ze=Se,ee=r(xe[nt]));return r.isReadable(he,ee,{level:it,size:Ye})||!Ne?ee:(ie.includeFallbackColors=!1,r.mostReadable(he,["#fff","#000"],ie))};var k=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},U=r.hexNames=D(k);function D(he){var xe={};for(var ie in he)he.hasOwnProperty(ie)&&(xe[he[ie]]=ie);return xe}function M(he){return he=parseFloat(he),(isNaN(he)||he<0||he>1)&&(he=1),he}function B(he,xe){K(he)&&(he="100%");var ie=W(he);return he=p(xe,h(0,parseFloat(he))),ie&&(he=parseInt(he*xe,10)/100),_.abs(he-xe)<1e-6?1:he%xe/parseFloat(xe)}function j(he){return p(1,h(0,he))}function H(he){return parseInt(he,16)}function K(he){return typeof he=="string"&&he.indexOf(".")!=-1&&parseFloat(he)===1}function W(he){return typeof he=="string"&&he.indexOf("%")!=-1}function X(he){return he.length==1?"0"+he:""+he}function V(he){return he<=1&&(he=he*100+"%"),he}function Z(he){return _.round(parseFloat(he)*255).toString(16)}function G(he){return H(he)/255}var Y=function(){var he="[-\\+]?\\d+%?",xe="[-\\+]?\\d*\\.\\d+%?",ie="(?:"+xe+")|(?:"+he+")",ee="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?",Ze="[\\s|\\(]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")[,|\\s]+("+ie+")\\s*\\)?";return{CSS_UNIT:new RegExp(ie),rgb:new RegExp("rgb"+ee),rgba:new RegExp("rgba"+Ze),hsl:new RegExp("hsl"+ee),hsla:new RegExp("hsla"+Ze),hsv:new RegExp("hsv"+ee),hsva:new RegExp("hsva"+Ze),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function te(he){return!!Y.CSS_UNIT.exec(he)}function se(he){he=he.replace(I,"").replace(E,"").toLowerCase();var xe=!1;if(k[he])he=k[he],xe=!0;else if(he=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var ie;return(ie=Y.rgb.exec(he))?{r:ie[1],g:ie[2],b:ie[3]}:(ie=Y.rgba.exec(he))?{r:ie[1],g:ie[2],b:ie[3],a:ie[4]}:(ie=Y.hsl.exec(he))?{h:ie[1],s:ie[2],l:ie[3]}:(ie=Y.hsla.exec(he))?{h:ie[1],s:ie[2],l:ie[3],a:ie[4]}:(ie=Y.hsv.exec(he))?{h:ie[1],s:ie[2],v:ie[3]}:(ie=Y.hsva.exec(he))?{h:ie[1],s:ie[2],v:ie[3],a:ie[4]}:(ie=Y.hex8.exec(he))?{r:H(ie[1]),g:H(ie[2]),b:H(ie[3]),a:G(ie[4]),format:xe?"name":"hex8"}:(ie=Y.hex6.exec(he))?{r:H(ie[1]),g:H(ie[2]),b:H(ie[3]),format:xe?"name":"hex"}:(ie=Y.hex4.exec(he))?{r:H(ie[1]+""+ie[1]),g:H(ie[2]+""+ie[2]),b:H(ie[3]+""+ie[3]),a:G(ie[4]+""+ie[4]),format:xe?"name":"hex8"}:(ie=Y.hex3.exec(he))?{r:H(ie[1]+""+ie[1]),g:H(ie[2]+""+ie[2]),b:H(ie[3]+""+ie[3]),format:xe?"name":"hex"}:!1}function Ce(he){var xe,ie;return he=he||{level:"AA",size:"small"},xe=(he.level||"AA").toUpperCase(),ie=(he.size||"small").toLowerCase(),xe!=="AA"&&xe!=="AAA"&&(xe="AA"),ie!=="small"&&ie!=="large"&&(ie="small"),{level:xe,size:ie}}ue.exports?ue.exports=r:!(O=function(){return r}.call(z,d,z,ue),O!==void 0&&(ue.exports=O))})(Math)},Zvw2:function(ue,z,d){var O=d("bYtY"),_=d("hM6l"),I=function(C,t,p,h,o){_.call(this,C,t,p),this.type=h||"value",this.position=o||"bottom",this.orient=null};I.prototype={constructor:I,model:null,isHorizontal:function(){var C=this.position;return C==="top"||C==="bottom"},pointToData:function(C,t){return this.coordinateSystem.pointToData(C,t)[0]},toGlobalCoord:null,toLocalCoord:null},O.inherits(I,_);var E=I;ue.exports=E},a7Wl:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},a9QJ:function(ue,z){var d={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};function O(_,I){if(_==="world"){var E=d[I.name];if(E){var C=I.center;C[0]=E[0],C[1]=E[1]}}}ue.exports=O},aCH8:function(ue,z,d){(function(){var O=d("ANhw"),_=d("mmNF").utf8,I=d("BEtg"),E=d("mmNF").bin,C=function t(p,h){p.constructor==String?h&&h.encoding==="binary"?p=E.stringToBytes(p):p=_.stringToBytes(p):I(p)?p=Array.prototype.slice.call(p,0):!Array.isArray(p)&&p.constructor!==Uint8Array&&(p=p.toString());for(var o=O.bytesToWords(p),r=p.length*8,s=1732584193,l=-271733879,n=-1732584194,c=271733878,e=0;e<o.length;e++)o[e]=(o[e]<<8|o[e]>>>24)&16711935|(o[e]<<24|o[e]>>>8)&4278255360;o[r>>>5]|=128<<r%32,o[(r+64>>>9<<4)+14]=r;for(var a=t._ff,i=t._gg,u=t._hh,f=t._ii,e=0;e<o.length;e+=16){var m=s,A=l,g=n,v=c;s=a(s,l,n,c,o[e+0],7,-680876936),c=a(c,s,l,n,o[e+1],12,-389564586),n=a(n,c,s,l,o[e+2],17,606105819),l=a(l,n,c,s,o[e+3],22,-1044525330),s=a(s,l,n,c,o[e+4],7,-176418897),c=a(c,s,l,n,o[e+5],12,1200080426),n=a(n,c,s,l,o[e+6],17,-1473231341),l=a(l,n,c,s,o[e+7],22,-45705983),s=a(s,l,n,c,o[e+8],7,1770035416),c=a(c,s,l,n,o[e+9],12,-1958414417),n=a(n,c,s,l,o[e+10],17,-42063),l=a(l,n,c,s,o[e+11],22,-1990404162),s=a(s,l,n,c,o[e+12],7,1804603682),c=a(c,s,l,n,o[e+13],12,-40341101),n=a(n,c,s,l,o[e+14],17,-1502002290),l=a(l,n,c,s,o[e+15],22,1236535329),s=i(s,l,n,c,o[e+1],5,-165796510),c=i(c,s,l,n,o[e+6],9,-1069501632),n=i(n,c,s,l,o[e+11],14,643717713),l=i(l,n,c,s,o[e+0],20,-373897302),s=i(s,l,n,c,o[e+5],5,-701558691),c=i(c,s,l,n,o[e+10],9,38016083),n=i(n,c,s,l,o[e+15],14,-660478335),l=i(l,n,c,s,o[e+4],20,-405537848),s=i(s,l,n,c,o[e+9],5,568446438),c=i(c,s,l,n,o[e+14],9,-1019803690),n=i(n,c,s,l,o[e+3],14,-187363961),l=i(l,n,c,s,o[e+8],20,1163531501),s=i(s,l,n,c,o[e+13],5,-1444681467),c=i(c,s,l,n,o[e+2],9,-51403784),n=i(n,c,s,l,o[e+7],14,1735328473),l=i(l,n,c,s,o[e+12],20,-1926607734),s=u(s,l,n,c,o[e+5],4,-378558),c=u(c,s,l,n,o[e+8],11,-2022574463),n=u(n,c,s,l,o[e+11],16,1839030562),l=u(l,n,c,s,o[e+14],23,-35309556),s=u(s,l,n,c,o[e+1],4,-1530992060),c=u(c,s,l,n,o[e+4],11,1272893353),n=u(n,c,s,l,o[e+7],16,-155497632),l=u(l,n,c,s,o[e+10],23,-1094730640),s=u(s,l,n,c,o[e+13],4,681279174),c=u(c,s,l,n,o[e+0],11,-358537222),n=u(n,c,s,l,o[e+3],16,-722521979),l=u(l,n,c,s,o[e+6],23,76029189),s=u(s,l,n,c,o[e+9],4,-640364487),c=u(c,s,l,n,o[e+12],11,-421815835),n=u(n,c,s,l,o[e+15],16,530742520),l=u(l,n,c,s,o[e+2],23,-995338651),s=f(s,l,n,c,o[e+0],6,-198630844),c=f(c,s,l,n,o[e+7],10,1126891415),n=f(n,c,s,l,o[e+14],15,-1416354905),l=f(l,n,c,s,o[e+5],21,-57434055),s=f(s,l,n,c,o[e+12],6,1700485571),c=f(c,s,l,n,o[e+3],10,-1894986606),n=f(n,c,s,l,o[e+10],15,-1051523),l=f(l,n,c,s,o[e+1],21,-2054922799),s=f(s,l,n,c,o[e+8],6,1873313359),c=f(c,s,l,n,o[e+15],10,-30611744),n=f(n,c,s,l,o[e+6],15,-1560198380),l=f(l,n,c,s,o[e+13],21,1309151649),s=f(s,l,n,c,o[e+4],6,-145523070),c=f(c,s,l,n,o[e+11],10,-1120210379),n=f(n,c,s,l,o[e+2],15,718787259),l=f(l,n,c,s,o[e+9],21,-343485551),s=s+m>>>0,l=l+A>>>0,n=n+g>>>0,c=c+v>>>0}return O.endian([s,l,n,c])};C._ff=function(t,p,h,o,r,s,l){var n=t+(p&h|~p&o)+(r>>>0)+l;return(n<<s|n>>>32-s)+p},C._gg=function(t,p,h,o,r,s,l){var n=t+(p&o|h&~o)+(r>>>0)+l;return(n<<s|n>>>32-s)+p},C._hh=function(t,p,h,o,r,s,l){var n=t+(p^h^o)+(r>>>0)+l;return(n<<s|n>>>32-s)+p},C._ii=function(t,p,h,o,r,s,l){var n=t+(h^(p|~o))+(r>>>0)+l;return(n<<s|n>>>32-s)+p},C._blocksize=16,C._digestsize=16,ue.exports=function(t,p){if(t==null)throw new Error("Illegal argument "+t);var h=O.wordsToBytes(C(t,p));return p&&p.asBytes?h:p&&p.asString?E.bytesToString(h):O.bytesToHex(h)}})()},aHsQ:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("6D9b"),E=d.n(I)},aKvl:function(ue,z,d){var O=d("Sj9i"),_=O.quadraticProjectPoint;function I(E,C,t,p,h,o,r,s,l){if(r===0)return!1;var n=r;if(l>C+n&&l>p+n&&l>o+n||l<C-n&&l<p-n&&l<o-n||s>E+n&&s>t+n&&s>h+n||s<E-n&&s<t-n&&s<h-n)return!1;var c=_(E,C,t,p,h,o,s,l,null);return c<=n/2}z.containStroke=I},aTJb:function(ue,z,d){var O=d("bLfw");O.registerSubTypeDefaulter("dataZoom",function(){return"slider"})},aX58:function(ue,z,d){var O=d("3gBT"),_=d("ItGF"),I=d("bYtY"),E=d("0s+r"),C=d("r6Bn"),t=d("7SHv"),p=d("MKOG"),h=d("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 o=!_.canvasSupported,r={canvas:t},s={},l="4.3.1";function n(f,m){var A=new u(O(),f,m);return s[A.id]=A,A}function c(f){if(f)f.dispose();else{for(var m in s)s.hasOwnProperty(m)&&s[m].dispose();s={}}return this}function e(f){return s[f]}function a(f,m){r[f]=m}function i(f){delete s[f]}var u=function(m,A,g){g=g||{},this.dom=A,this.id=m;var v=this,b=new C,S=g.renderer;if(o){if(!r.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");S="vml"}else(!S||!r[S])&&(S="canvas");var y=new r[S](A,b,g,m);this.storage=b,this.painter=y;var w=!_.node&&!_.worker?new h(y.getViewportRoot(),y.root):null;this.handler=new E(b,y,w,y.root),this.animation=new p({stage:{update:I.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var x=b.delFromStorage,T=b.addToStorage;b.delFromStorage=function(L){x.call(b,L),L&&L.removeSelfFromZr(v)},b.addToStorage=function(L){T.call(b,L),L.addSelfToZr(v)}};u.prototype={constructor:u,getId:function(){return this.id},add:function(m){this.storage.addRoot(m),this._needsRefresh=!0},remove:function(m){this.storage.delRoot(m),this._needsRefresh=!0},configLayer:function(m,A){this.painter.configLayer&&this.painter.configLayer(m,A),this._needsRefresh=!0},setBackgroundColor:function(m){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(m),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 m;this._needsRefresh&&(m=!0,this.refreshImmediately()),this._needsRefreshHover&&(m=!0,this.refreshHoverImmediately()),m&&this.trigger("rendered")},addHover:function(m,A){if(this.painter.addHover){var g=this.painter.addHover(m,A);return this.refreshHover(),g}},removeHover:function(m){this.painter.removeHover&&(this.painter.removeHover(m),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(m){m=m||{},this.painter.resize(m.width,m.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(m,A){return this.painter.pathToImage(m,A)},setCursorStyle:function(m){this.handler.setCursorStyle(m)},findHover:function(m,A){return this.handler.findHover(m,A)},on:function(m,A,g){this.handler.on(m,A,g)},off:function(m,A){this.handler.off(m,A)},trigger:function(m,A){this.handler.trigger(m,A)},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,i(this.id)}},z.version=l,z.init=n,z.dispose=c,z.getInstance=e,z.registerPainter=a},aX7z:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("GMDS"),C=d("ieMj"),t=d("4NgU"),p=d("OELB"),h=d("nVfU"),o=h.prepareLayoutBarSeries,r=h.makeColumnLayout,s=h.retrieveColumnLayout,l=d("mFDi");d("IWp7"),d("jCoz");function n(b,S){var y=b.type,w=S.getMin(),x=S.getMax(),T=b.getExtent(),L,R,P;y==="ordinal"?L=S.getCategories().length:(R=S.get("boundaryGap"),I.isArray(R)||(R=[R||0,R||0]),typeof R[0]=="boolean"&&(R=[0,0]),R[0]=p.parsePercent(R[0],1),R[1]=p.parsePercent(R[1],1),P=T[1]-T[0]||Math.abs(T[0])),w==="dataMin"?w=T[0]:typeof w=="function"&&(w=w({min:T[0],max:T[1]})),x==="dataMax"?x=T[1]:typeof x=="function"&&(x=x({min:T[0],max:T[1]}));var k=w!=null,U=x!=null;w==null&&(w=y==="ordinal"?L?0:NaN:T[0]-R[0]*P),x==null&&(x=y==="ordinal"?L?L-1:NaN:T[1]+R[1]*P),(w==null||!isFinite(w))&&(w=NaN),(x==null||!isFinite(x))&&(x=NaN),b.setBlank(I.eqNaN(w)||I.eqNaN(x)||y==="ordinal"&&!b.getOrdinalMeta().categories.length),S.getNeedCrossZero()&&(w>0&&x>0&&!k&&(w=0),w<0&&x<0&&!U&&(x=0));var D=S.ecModel;if(D&&y==="time"){var M=o("bar",D),B;if(I.each(M,function(K){B|=K.getBaseAxis()===S.axis}),B){var j=r(M),H=c(w,x,S,j);w=H.min,x=H.max}}return{extent:[w,x],fixMin:k,fixMax:U}}function c(b,S,y,w){var x=y.axis.getExtent(),T=x[1]-x[0],L=s(w,y.axis);if(L===void 0)return{min:b,max:S};var R=Infinity;I.each(L,function(B){R=Math.min(B.offset,R)});var P=-Infinity;I.each(L,function(B){P=Math.max(B.offset+B.width,P)}),R=Math.abs(R),P=Math.abs(P);var k=R+P,U=S-b,D=1-(R+P)/T,M=U/D-U;return S+=M*(P/k),b-=M*(R/k),{min:b,max:S}}function e(b,S){var y=n(b,S),w=y.extent,x=S.get("splitNumber");b.type==="log"&&(b.base=S.get("logBase"));var T=b.type;b.setExtent(w[0],w[1]),b.niceExtent({splitNumber:x,fixMin:y.fixMin,fixMax:y.fixMax,minInterval:T==="interval"||T==="time"?S.get("minInterval"):null,maxInterval:T==="interval"||T==="time"?S.get("maxInterval"):null});var L=S.get("interval");L!=null&&(b.setInterval&&b.setInterval(L))}function a(b,S){if(S=S||b.get("type"),S)switch(S){case"category":return new E(b.getOrdinalMeta?b.getOrdinalMeta():b.getCategories(),[Infinity,-Infinity]);case"value":return new C;default:return(t.getClass(S)||C).create(b)}}function i(b){var S=b.scale.getExtent(),y=S[0],w=S[1];return!(y>0&&w>0||y<0&&w<0)}function u(b){var S=b.getLabelModel().get("formatter"),y=b.type==="category"?b.scale.getExtent()[0]:null;return typeof S=="string"?(S=function(w){return function(x){return x=b.scale.getLabel(x),w.replace("{value}",x!=null?x:"")}}(S),S):typeof S=="function"?function(w,x){return y!=null&&(x=w-y),S(f(b,w),x)}:function(w){return b.scale.getLabel(w)}}function f(b,S){return b.type==="category"?b.scale.getLabel(S):S}function m(b){var S=b.model,y=b.scale;if(!S.get("axisLabel.show")||y.isBlank())return;var w=b.type==="category",x,T,L=y.getExtent();w?T=y.count():(x=y.getTicks(),T=x.length);var R=b.getLabelModel(),P=u(b),k,U=1;T>40&&(U=Math.ceil(T/40));for(var D=0;D<T;D+=U){var M=x?x[D]:L[0]+D,B=P(M),j=R.getTextRect(B),H=A(j,R.get("rotate")||0);k?k.union(H):k=H}return k}function A(b,S){var y=S*Math.PI/180,w=b.plain(),x=w.width,T=w.height,L=x*Math.cos(y)+T*Math.sin(y),R=x*Math.sin(y)+T*Math.cos(y),P=new l(w.x,w.y,L,R);return P}function g(b){var S=b.get("interval");return S==null?"auto":S}function v(b){return b.type==="category"&&g(b.getLabelModel())===0}z.getScaleExtent=n,z.niceScaleExtent=e,z.createScaleByModel=a,z.ifAxisCrossZero=i,z.makeLabelFormatter=u,z.getAxisRawValue=f,z.estimateLabelUnionRect=m,z.getOptionCategoryInterval=g,z.shouldShowAllLabels=v},"af/B":function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.map,E=O.isFunction,C=O.createHashMap,t=O.noop,p=d("9H2F"),h=p.createTask,o=d("iRjW"),r=o.getUID,s=d("fmMI"),l=d("hD7B"),n=d("4NO4"),c=n.normalizeToArray;function e(B,j,H,K){this.ecInstance=B,this.api=j,this.unfinished;var H=this._dataProcessorHandlers=H.slice(),K=this._visualHandlers=K.slice();this._allHandlers=H.concat(K),this._stageTaskMap=C()}var a=e.prototype;a.restoreData=function(B,j){B.restoreData(j),this._stageTaskMap.each(function(H){var K=H.overallTask;K&&K.dirty()})},a.getPerformArgs=function(B,j){if(!B.__pipeline)return;var H=this._pipelineMap.get(B.__pipeline.id),K=H.context,W=!j&&H.progressiveEnabled&&(!K||K.progressiveRender)&&B.__idxInPipeline>H.blockIndex,X=W?H.step:null,V=K&&K.modDataCount,Z=V!=null?Math.ceil(V/X):null;return{step:X,modBy:Z,modDataCount:V}},a.getPipeline=function(B){return this._pipelineMap.get(B)},a.updateStreamModes=function(B,j){var H=this._pipelineMap.get(B.uid),K=B.getData(),W=K.count(),X=H.progressiveEnabled&&j.incrementalPrepareRender&&W>=H.threshold,V=B.get("large")&&W>=B.get("largeThreshold"),Z=B.get("progressiveChunkMode")==="mod"?W:null;B.pipelineContext=H.context={progressiveRender:X,modDataCount:Z,large:V}},a.restorePipelines=function(B){var j=this,H=j._pipelineMap=C();B.eachSeries(function(K){var W=K.getProgressive(),X=K.uid;H.set(X,{id:X,head:null,tail:null,threshold:K.getProgressiveThreshold(),progressiveEnabled:W&&!(K.preventIncremental&&K.preventIncremental()),blockIndex:-1,step:Math.round(W||700),count:0}),L(j,K,K.dataTask)})},a.prepareStageTasks=function(){var B=this._stageTaskMap,j=this.ecInstance.getModel(),H=this.api;_(this._allHandlers,function(K){var W=B.get(K.uid)||B.set(K.uid,[]);K.reset&&f(this,K,W,j,H),K.overallReset&&m(this,K,W,j,H)},this)},a.prepareView=function(B,j,H,K){var W=B.renderTask,X=W.context;X.model=j,X.ecModel=H,X.api=K,W.__block=!B.incrementalPrepareRender,L(this,j,W)},a.performDataProcessorTasks=function(B,j){i(this,this._dataProcessorHandlers,B,j,{block:!0})},a.performVisualTasks=function(B,j,H){i(this,this._visualHandlers,B,j,H)};function i(B,j,H,K,W){W=W||{};var X;_(j,function(Z,G){if(W.visualType&&W.visualType!==Z.visualType)return;var Y=B._stageTaskMap.get(Z.uid),te=Y.seriesTaskMap,se=Y.overallTask;if(se){var Ce,he=se.agentStubMap;he.each(function(ie){V(W,ie)&&(ie.dirty(),Ce=!0)}),Ce&&se.dirty(),u(se,K);var xe=B.getPerformArgs(se,W.block);he.each(function(ie){ie.perform(xe)}),X|=se.perform(xe)}else te&&te.each(function(ie,ee){V(W,ie)&&ie.dirty();var Ze=B.getPerformArgs(ie,W.block);Ze.skip=!Z.performRawSeries&&H.isSeriesFiltered(ie.context.model),u(ie,K),X|=ie.perform(Ze)})});function V(Z,G){return Z.setDirty&&(!Z.dirtyMap||Z.dirtyMap.get(G.__pipeline.id))}B.unfinished|=X}a.performSeriesTasks=function(B){var j;B.eachSeries(function(H){j|=H.dataTask.perform()}),this.unfinished|=j},a.plan=function(){this._pipelineMap.each(function(B){var j=B.tail;do{if(j.__block){B.blockIndex=j.__idxInPipeline;break}j=j.getUpstream()}while(j)})};var u=a.updatePayload=function(B,j){j!=="remain"&&(B.context.payload=j)};function f(B,j,H,K,W){var X=H.seriesTaskMap||(H.seriesTaskMap=C()),V=j.seriesType,Z=j.getTargetSeries;j.createOnAllSeries?K.eachRawSeries(G):V?K.eachRawSeriesByType(V,G):Z&&Z(K,W).each(G);function G(te){var se=te.uid,Ce=X.get(se)||X.set(se,h({plan:S,reset:y,count:T}));Ce.context={model:te,ecModel:K,api:W,useClearVisual:j.isVisual&&!j.isLayout,plan:j.plan,reset:j.reset,scheduler:B},L(B,te,Ce)}var Y=B._pipelineMap;X.each(function(te,se){Y.get(se)||(te.dispose(),X.removeKey(se))})}function m(B,j,H,K,W){var X=H.overallTask=H.overallTask||h({reset:A});X.context={ecModel:K,api:W,overallReset:j.overallReset,scheduler:B};var V=X.agentStubMap=X.agentStubMap||C(),Z=j.seriesType,G=j.getTargetSeries,Y=!0,te=j.modifyOutputEnd;Z?K.eachRawSeriesByType(Z,se):G?G(K,W).each(se):(Y=!1,_(K.getSeries(),se));function se(he){var xe=he.uid,ie=V.get(xe);ie||(ie=V.set(xe,h({reset:g,onDirty:b})),X.dirty()),ie.context={model:he,overallProgress:Y,modifyOutputEnd:te},ie.agent=X,ie.__block=Y,L(B,he,ie)}var Ce=B._pipelineMap;V.each(function(he,xe){Ce.get(xe)||(he.dispose(),X.dirty(),V.removeKey(xe))})}function A(B){B.overallReset(B.ecModel,B.api,B.payload)}function g(B,j){return B.overallProgress&&v}function v(){this.agent.dirty(),this.getDownstream().dirty()}function b(){this.agent&&this.agent.dirty()}function S(B){return B.plan&&B.plan(B.model,B.ecModel,B.api,B.payload)}function y(B){B.useClearVisual&&B.data.clearAllVisual();var j=B.resetDefines=c(B.reset(B.model,B.ecModel,B.api,B.payload));return j.length>1?I(j,function(H,K){return x(K)}):w}var w=x(0);function x(B){return function(j,H){var K=H.data,W=H.resetDefines[B];if(W&&W.dataEach)for(var X=j.start;X<j.end;X++)W.dataEach(K,X);else W&&W.progress&&W.progress(j,K)}}function T(B){return B.data.count()}function L(B,j,H){var K=j.uid,W=B._pipelineMap.get(K);!W.head&&(W.head=H),W.tail&&W.tail.pipe(H),W.tail=H,H.__idxInPipeline=W.count++,H.__pipeline=W}e.wrapStageHandler=function(B,j){return E(B)&&(B={overallReset:B,seriesType:R(B)}),B.uid=r("stageHandler"),j&&(B.visualType=j),B};function R(B){U=null;try{B(P,k)}catch(j){}return U}var P={},k={},U;D(P,s),D(k,l),P.eachSeriesByType=P.eachRawSeriesByType=function(B){U=B},P.eachComponent=function(B){B.mainType==="series"&&B.subType&&(U=B.subType)};function D(B,j){for(var H in j.prototype)B[H]=t}var M=e;ue.exports=M},akwb:function(ue,z,d){var O=d("RSch"),_=d("bYtY"),I=d("D9ME"),E=d("QBsz");function C(h,o,r){I.call(this,h,o,r),this._lastFrame=0,this._lastFramePercent=0}var t=C.prototype;t.createLine=function(h,o,r){return new O(h,o,r)},t.updateAnimationPoints=function(h,o){this._points=o;for(var r=[0],s=0,l=1;l<o.length;l++){var n=o[l-1],c=o[l];s+=E.dist(n,c),r.push(s)}if(s===0)return;for(var l=0;l<r.length;l++)r[l]/=s;this._offsets=r,this._length=s},t.getLineLength=function(h){return this._length},t.updateSymbolPosition=function(h){var o=h.__t,r=this._points,s=this._offsets,l=r.length;if(!s)return;var n=this._lastFrame,c;if(o<this._lastFramePercent){var e=Math.min(n+1,l-1);for(c=e;c>=0&&!(s[c]<=o);c--);c=Math.min(c,l-2)}else{for(var c=n;c<l&&!(s[c]>o);c++);c=Math.min(c-1,l-2)}E.lerp(h.position,r[c],r[c+1],(o-s[c])/(s[c+1]-s[c]));var a=r[c+1][0]-r[c][0],i=r[c+1][1]-r[c][1];h.rotation=-Math.atan2(i,a)-Math.PI/2,this._lastFrame=c,this._lastFramePercent=o,h.ignore=!1},_.inherits(C,I);var p=C;ue.exports=p},apAg:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("bsht")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="SearchOutlined";var h=E.forwardRef(p);z.default=h},as94:function(ue,z,d){var O=d("7aKB"),_=d("3LNs"),I=d("IwbS"),E=d("/y7N"),C=d("Fofx"),t=d("+rIm"),p=d("Znkb"),h=_.extend({makeElOption:function(l,n,c,e,a){var i=c.axis;i.dim==="angle"&&(this.animationThreshold=Math.PI/18);var u=i.polar,f=u.getOtherAxis(i),m=f.getExtent(),A;A=i["dataTo"+O.capitalFirst(i.dim)](n);var g=e.get("type");if(g&&g!=="none"){var v=E.buildElStyle(e),b=r[g](i,u,A,m,v);b.style=v,l.graphicKey=b.type,l.pointer=b}var S=e.get("label.margin"),y=o(n,c,e,u,S);E.buildLabelElOption(l,c,e,a,y)}});function o(l,n,c,e,a){var i=n.axis,u=i.dataToCoord(l),f=e.getAngleAxis().getExtent()[0];f=f/180*Math.PI;var m=e.getRadiusAxis().getExtent(),A,g,v;if(i.dim==="radius"){var b=C.create();C.rotate(b,b,f),C.translate(b,b,[e.cx,e.cy]),A=I.applyTransform([u,-a],b);var S=n.getModel("axisLabel").get("rotate")||0,y=t.innerTextLayout(f,S*Math.PI/180,-1);g=y.textAlign,v=y.textVerticalAlign}else{var w=m[1];A=e.coordToPoint([w+a,u]);var x=e.cx,T=e.cy;g=Math.abs(A[0]-x)/w<.3?"center":A[0]>x?"left":"right",v=Math.abs(A[1]-T)/w<.3?"middle":A[1]>T?"top":"bottom"}return{position:A,align:g,verticalAlign:v}}var r={line:function(l,n,c,e,a){return l.dim==="angle"?{type:"Line",shape:E.makeLineShape(n.coordToPoint([e[0],c]),n.coordToPoint([e[1],c]))}:{type:"Circle",shape:{cx:n.cx,cy:n.cy,r:c}}},shadow:function(l,n,c,e,a){var i=Math.max(1,l.getBandWidth()),u=Math.PI/180;return l.dim==="angle"?{type:"Sector",shape:E.makeSectorShape(n.cx,n.cy,e[0],e[1],(-c-i/2)*u,(-c+i/2)*u)}:{type:"Sector",shape:E.makeSectorShape(n.cx,n.cy,c-i/2,c+i/2,0,Math.PI*2)}}};p.registerAxisPointerClass("PolarAxisPointer",h);var s=h;ue.exports=s},b56q:function(ue,z,d){},b80e:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("gKaM")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="DoubleLeftOutlined";var h=E.forwardRef(p);z.default=h},b9oc:function(ue,z,d){var O=d("bYtY"),_=O.each,I="\0_ec_hist_store";function E(o,r){var s=h(o);_(r,function(l,n){for(var c=s.length-1;c>=0;c--){var e=s[c];if(e[n])break}if(c<0){var a=o.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(a){var i=a.getPercentRange();s[0][n]={dataZoomId:n,start:i[0],end:i[1]}}}}),s.push(r)}function C(o){var r=h(o),s=r[r.length-1];r.length>1&&r.pop();var l={};return _(s,function(n,c){for(var e=r.length-1;e>=0;e--){var n=r[e][c];if(n){l[c]=n;break}}}),l}function t(o){o[I]=null}function p(o){return h(o).length}function h(o){var r=o[I];return r||(r=o[I]=[{}]),r}z.push=E,z.pop=C,z.clear=t,z.count=p},bBKM:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("+rIm"),t=d("IwbS"),p=["axisLine","axisTickLabel","axisName"],h=I.extendComponentView({type:"radar",render:function(o,r,s){var l=this.group;l.removeAll(),this._buildAxes(o),this._buildSplitLineAndArea(o)},_buildAxes:function(o){var r=o.coordinateSystem,s=r.getIndicatorAxes(),l=E.map(s,function(n){var c=new C(n.model,{position:[r.cx,r.cy],rotation:n.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return c});E.each(l,function(n){E.each(p,n.add,n),this.group.add(n.getGroup())},this)},_buildSplitLineAndArea:function(o){var r=o.coordinateSystem,s=r.getIndicatorAxes();if(!s.length)return;var l=o.get("shape"),n=o.getModel("splitLine"),c=o.getModel("splitArea"),e=n.getModel("lineStyle"),a=c.getModel("areaStyle"),i=n.get("show"),u=c.get("show"),f=e.get("color"),m=a.get("color");f=E.isArray(f)?f:[f],m=E.isArray(m)?m:[m];var A=[],g=[];function v(M,B,j){var H=j%B.length;return M[H]=M[H]||[],H}if(l==="circle")for(var b=s[0].getTicksCoords(),S=r.cx,y=r.cy,w=0;w<b.length;w++){if(i){var x=v(A,f,w);A[x].push(new t.Circle({shape:{cx:S,cy:y,r:b[w].coord}}))}if(u&&w<b.length-1){var x=v(g,m,w);g[x].push(new t.Ring({shape:{cx:S,cy:y,r0:b[w].coord,r:b[w+1].coord}}))}}else for(var T,L=E.map(s,function(M,B){var j=M.getTicksCoords();return T=T==null?j.length-1:Math.min(j.length-1,T),E.map(j,function(H){return r.coordToPoint(H.coord,B)})}),R=[],w=0;w<=T;w++){for(var P=[],k=0;k<s.length;k++)P.push(L[k][w]);if(P[0]&&P.push(P[0].slice()),i){var x=v(A,f,w);A[x].push(new t.Polyline({shape:{points:P}}))}if(u&&R){var x=v(g,m,w-1);g[x].push(new t.Polygon({shape:{points:P.concat(R)}}))}R=P.slice().reverse()}var U=e.getLineStyle(),D=a.getAreaStyle();E.each(g,function(M,B){this.group.add(t.mergePath(M,{style:E.defaults({stroke:"none",fill:m[B%m.length]},D),silent:!0}))},this),E.each(A,function(M,B){this.group.add(t.mergePath(M,{style:E.defaults({fill:"none",stroke:f[B%f.length]},U),silent:!0}))},this)}});ue.exports=h},bBL8:function(ue,z,d){var O=d("ProS");d("LPzL"),d("rfSb"),d("JVwQ");var _=d("UnoB"),I=d("cbJ4"),E=d("0/Rx");O.registerLayout(_),O.registerVisual(I),O.registerProcessor(E("themeRiver"))},bE4E:function(ue,z,d){},bE4q:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("RIqP"),t=d.n(C),p=d("q1tI"),h=d("TSYQ"),o=d.n(h),r=d("Zm9Q"),s=d("HQEm"),l=d.n(s),n=d("XBQK"),c=d("H84U"),e=function(R,P){var k={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&P.indexOf(U)<0&&(k[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,U=Object.getOwnPropertySymbols(R);D<U.length;D++)P.indexOf(U[D])<0&&Object.prototype.propertyIsEnumerable.call(R,U[D])&&(k[U[D]]=R[U[D]]);return k},a=function(P){var k=P.prefixCls,U=P.separator,D=U===void 0?"/":U,M=P.children,B=P.overlay,j=P.dropdownProps,H=e(P,["prefixCls","separator","children","overlay","dropdownProps"]),K=p.useContext(c.b),W=K.getPrefixCls,X=W("breadcrumb",k),V=function(Y){return B?p.createElement(n.a,_()({overlay:B,placement:"bottomCenter"},j),p.createElement("span",{className:"".concat(X,"-overlay-link")},Y,p.createElement(l.a,null))):Y},Z;return"href"in H?Z=p.createElement("a",_()({className:"".concat(X,"-link")},H),M):Z=p.createElement("span",_()({className:"".concat(X,"-link")},H),M),Z=V(Z),M?p.createElement("span",null,Z,D&&D!==""&&p.createElement("span",{className:"".concat(X,"-separator")},D)):null};a.__ANT_BREADCRUMB_ITEM=!0;var i=a,u=function(P){var k=P.children,U=p.useContext(c.b),D=U.getPrefixCls,M=D("breadcrumb");return p.createElement("span",{className:"".concat(M,"-separator")},k||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var f=u,m=d("BvKs"),A=d("uaoM"),g=d("0n0R"),v=function(R,P){var k={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&P.indexOf(U)<0&&(k[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,U=Object.getOwnPropertySymbols(R);D<U.length;D++)P.indexOf(U[D])<0&&Object.prototype.propertyIsEnumerable.call(R,U[D])&&(k[U[D]]=R[U[D]]);return k};function b(R,P){if(!R.breadcrumbName)return null;var k=Object.keys(P).join("|"),U=R.breadcrumbName.replace(new RegExp(":(".concat(k,")"),"g"),function(D,M){return P[M]||D});return U}function S(R,P,k,U){var D=k.indexOf(R)===k.length-1,M=b(R,P);return D?p.createElement("span",null,M):p.createElement("a",{href:"#/".concat(U.join("/"))},M)}var y=function(P,k){return P=(P||"").replace(/^\//,""),Object.keys(k).forEach(function(U){P=P.replace(":".concat(U),k[U])}),P},w=function(P){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",U=arguments.length>2?arguments[2]:void 0,D=t()(P),M=y(k,U);return M&&D.push(M),D},x=function(P){var k=P.prefixCls,U=P.separator,D=U===void 0?"/":U,M=P.style,B=P.className,j=P.routes,H=P.children,K=P.itemRender,W=K===void 0?S:K,X=P.params,V=X===void 0?{}:X,Z=v(P,["prefixCls","separator","style","className","routes","children","itemRender","params"]),G=p.useContext(c.b),Y=G.getPrefixCls,te=G.direction,se,Ce=Y("breadcrumb",k);if(j&&j.length>0){var he=[];se=j.map(function(ie){var ee=y(ie.path,V);ee&&he.push(ee);var Ze;return ie.children&&ie.children.length&&(Ze=p.createElement(m.a,null,ie.children.map(function(Se){return p.createElement(m.a.Item,{key:Se.path||Se.breadcrumbName},W(Se,V,j,w(he,Se.path,V)))}))),p.createElement(i,{overlay:Ze,separator:D,key:ee||ie.breadcrumbName},W(ie,V,j,he))})}else H&&(se=Object(r.a)(H).map(function(ie,ee){return ie&&(Object(A.a)(ie.type&&(ie.type.__ANT_BREADCRUMB_ITEM===!0||ie.type.__ANT_BREADCRUMB_SEPARATOR===!0),"Breadcrumb","Only accepts Breadcrumb.Item and Breadcrumb.Separator as it's children"),Object(g.a)(ie,{separator:D,key:ee}))}));var xe=o()(B,Ce,E()({},"".concat(Ce,"-rtl"),te==="rtl"));return p.createElement("div",_()({className:xe,style:M},Z),se)};x.Item=i,x.Separator=f;var T=x,L=z.a=T},bKJz:function(ue,z,d){},bLfw:function(ue,z,d){var O=d("bYtY"),_=d("Qxkt"),I=d("iRjW"),E=d("Yl7c"),C=E.enableClassManagement,t=E.parseClassType,p=d("4NO4"),h=p.makeInner,o=d("+TT/"),r=d("3hzK"),s=h(),l=_.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(e,a,i,u){_.call(this,e,a,i,u),this.uid=I.getUID("ec_cpt_model")},init:function(e,a,i,u){this.mergeDefaultAndTheme(e,i)},mergeDefaultAndTheme:function(e,a){var i=this.layoutMode,u=i?o.getLayoutParams(e):{},f=a.getTheme();O.merge(e,f.get(this.mainType)),O.merge(e,this.getDefaultOption()),i&&o.mergeLayoutParam(e,u,i)},mergeOption:function(e,a){O.merge(this.option,e,!0);var i=this.layoutMode;i&&o.mergeLayoutParam(this.option,e,i)},optionUpdated:function(e,a){},getDefaultOption:function(){var e=s(this);if(!e.defaultOption){for(var a=[],i=this.constructor;i;){var u=i.prototype.defaultOption;u&&a.push(u),i=i.superClass}for(var f={},m=a.length-1;m>=0;m--)f=O.merge(f,a[m],!0);e.defaultOption=f}return e.defaultOption},getReferringComponents:function(e){return this.ecModel.queryComponents({mainType:e,index:this.get(e+"Index",!0),id:this.get(e+"Id",!0)})}});C(l,{registerWhenExtend:!0}),I.enableSubTypeDefaulter(l),I.enableTopologicalTravel(l,n);function n(e){var a=[];return O.each(l.getClassesByMainType(e),function(i){a=a.concat(i.prototype.dependencies||[])}),a=O.map(a,function(i){return t(i).main}),e!=="dataset"&&O.indexOf(a,"dataset")<=0&&a.unshift("dataset"),a}O.mixin(l,r);var c=l;ue.exports=c},bMXI:function(ue,z,d){var O=d("bYtY"),_=d("QBsz"),I=d("Fofx"),E=d("mFDi"),C=d("DN4a"),t=_.applyTransform;function p(){C.call(this)}O.mixin(p,C);function h(s){this.name=s,this.zoomLimit,C.call(this),this._roamTransformable=new p,this._rawTransformable=new p,this._center,this._zoom}h.prototype={constructor:h,type:"view",dimensions:["x","y"],setBoundingRect:function(s,l,n,c){return this._rect=new E(s,l,n,c),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(s,l,n,c){this.transformTo(s,l,n,c),this._viewRect=new E(s,l,n,c)},transformTo:function(s,l,n,c){var e=this.getBoundingRect(),a=this._rawTransformable;a.transform=e.calculateTransform(new E(s,l,n,c)),a.decomposeTransform(),this._updateTransform()},setCenter:function(s){if(!s)return;this._center=s,this._updateCenterAndZoom()},setZoom:function(s){s=s||1;var l=this.zoomLimit;l&&(l.max!=null&&(s=Math.min(l.max,s)),l.min!=null&&(s=Math.max(l.min,s))),this._zoom=s,this._updateCenterAndZoom()},getDefaultCenter:function(){var s=this.getBoundingRect(),l=s.x+s.width/2,n=s.y+s.height/2;return[l,n]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var s=this._rawTransformable.getLocalTransform(),l=this._roamTransformable,n=this.getDefaultCenter(),c=this.getCenter(),e=this.getZoom();c=_.applyTransform([],c,s),n=_.applyTransform([],n,s),l.origin=c,l.position=[n[0]-c[0],n[1]-c[1]],l.scale=[e,e],this._updateTransform()},_updateTransform:function(){var s=this._roamTransformable,l=this._rawTransformable;l.parent=s,s.updateTransform(),l.updateTransform(),I.copy(this.transform||(this.transform=[]),l.transform||I.create()),this._rawTransform=l.getLocalTransform(),this.invTransform=this.invTransform||[],I.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var s=this._roamTransformable.transform,l=this._rawTransformable;return{roamTransform:s?O.slice(s):I.create(),rawScale:O.slice(l.scale),rawPosition:O.slice(l.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var s=this.getBoundingRect().clone();return s.applyTransform(this.transform),s},dataToPoint:function(s,l,n){var c=l?this._rawTransform:this.transform;return n=n||[],c?t(n,s,c):_.copy(n,s)},pointToData:function(s){var l=this.invTransform;return l?t([],s,l):[s[0],s[1]]},convertToPixel:O.curry(o,"dataToPoint"),convertFromPixel:O.curry(o,"pointToData"),containPoint:function(s){return this.getViewRectAfterRoam().contain(s[0],s[1])}},O.mixin(h,C);function o(s,l,n,c){var e=n.seriesModel,a=e?e.coordinateSystem:null;return a===this?a[s](c):null}var r=h;ue.exports=r},bNin:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("FBjb"),E=d("Itpr"),C=E.radialCoordinate,t=d("ProS"),p=d("4mN7"),h=d("bMXI"),o=d("Ae+d"),r=d("SgGq"),s=d("xSat"),l=s.onIrrelevantElement,n=d("Tghj"),c=n.__DEV__,e=d("OELB"),a=e.parsePercent,i=_.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(S,y){var w=y.childPoints,x=w.length,T=y.parentPoint,L=w[0],R=w[x-1];if(x===1){S.moveTo(T[0],T[1]),S.lineTo(L[0],L[1]);return}var P=y.orient,k=P==="TB"||P==="BT"?0:1,U=1-k,D=a(y.forkPosition,1),M=[];M[k]=T[k],M[U]=T[U]+(R[U]-T[U])*D,S.moveTo(T[0],T[1]),S.lineTo(M[0],M[1]),S.moveTo(L[0],L[1]),M[k]=L[k],S.lineTo(M[0],M[1]),M[k]=R[k],S.lineTo(M[0],M[1]),S.lineTo(R[0],R[1]);for(var B=1;B<x-1;B++){var j=w[B];S.moveTo(j[0],j[1]),M[k]=j[k],S.lineTo(M[0],M[1])}}}),u=t.extendChartView({type:"tree",init:function(S,y){this._oldTree,this._mainGroup=new _.Group,this._controller=new r(y.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},render:function(S,y,w,x){var T=S.getData(),L=S.layoutInfo,R=this._mainGroup,P=S.get("layout");P==="radial"?R.attr("position",[L.x+L.width/2,L.y+L.height/2]):R.attr("position",[L.x,L.y]),this._updateViewCoordSys(S,L,P),this._updateController(S,y,w);var k=this._data,U={expandAndCollapse:S.get("expandAndCollapse"),layout:P,edgeShape:S.get("edgeShape"),edgeForkPosition:S.get("edgeForkPosition"),orient:S.getOrient(),curvature:S.get("lineStyle.curveness"),symbolRotate:S.get("symbolRotate"),symbolOffset:S.get("symbolOffset"),hoverAnimation:S.get("hoverAnimation"),useNameLabel:!0,fadeIn:!0};T.diff(k).add(function(D){f(T,D)&&A(T,D,null,R,S,U)}).update(function(D,M){var B=k.getItemGraphicEl(M);if(!f(T,D)){B&&v(k,M,B,R,S,U);return}A(T,D,B,R,S,U)}).remove(function(D){var M=k.getItemGraphicEl(D);M&&v(k,D,M,R,S,U)}).execute(),this._nodeScaleRatio=S.get("nodeScaleRatio"),this._updateNodeAndLinkScale(S),U.expandAndCollapse===!0&&T.eachItemGraphicEl(function(D,M){D.off("click").on("click",function(){w.dispatchAction({type:"treeExpandAndCollapse",seriesId:S.id,dataIndex:M})})}),this._data=T},_updateViewCoordSys:function(S){var y=S.getData(),w=[];y.each(function(k){var U=y.getItemLayout(k);U&&!isNaN(U.x)&&!isNaN(U.y)&&w.push([+U.x,+U.y])});var x=[],T=[];p.fromPoints(w,x,T);var L=this._min,R=this._max;T[0]-x[0]===0&&(x[0]=L?L[0]:x[0]-1,T[0]=R?R[0]:T[0]+1),T[1]-x[1]===0&&(x[1]=L?L[1]:x[1]-1,T[1]=R?R[1]:T[1]+1);var P=S.coordinateSystem=new h;P.zoomLimit=S.get("scaleLimit"),P.setBoundingRect(x[0],x[1],T[0]-x[0],T[1]-x[1]),P.setCenter(S.get("center")),P.setZoom(S.get("zoom")),this.group.attr({position:P.position,scale:P.scale}),this._viewCoordSys=P,this._min=x,this._max=T},_updateController:function(S,y,w){var x=this._controller,T=this._controllerHost,L=this.group;x.setPointerChecker(function(R,P,k){var U=L.getBoundingRect();return U.applyTransform(L.transform),U.contain(P,k)&&!l(R,w,S)}),x.enable(S.get("roam")),T.zoomLimit=S.get("scaleLimit"),T.zoom=S.coordinateSystem.getZoom(),x.off("pan").off("zoom").on("pan",function(R){o.updateViewOnPan(T,R.dx,R.dy),w.dispatchAction({seriesId:S.id,type:"treeRoam",dx:R.dx,dy:R.dy})},this).on("zoom",function(R){o.updateViewOnZoom(T,R.scale,R.originX,R.originY),w.dispatchAction({seriesId:S.id,type:"treeRoam",zoom:R.scale,originX:R.originX,originY:R.originY}),this._updateNodeAndLinkScale(S)},this)},_updateNodeAndLinkScale:function(S){var y=S.getData(),w=this._getNodeGlobalScale(S),x=[w,w];y.eachItemGraphicEl(function(T,L){T.attr("scale",x)})},_getNodeGlobalScale:function(S){var y=S.coordinateSystem;if(y.type!=="view")return 1;var w=this._nodeScaleRatio,x=y.scale,T=x&&x[0]||1,L=y.getZoom(),R=(L-1)*w+1;return R/T},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={}},remove:function(){this._mainGroup.removeAll(),this._data=null}});function f(S,y){var w=S.getItemLayout(y);return w&&!isNaN(w.x)&&!isNaN(w.y)&&S.getItemVisual(y,"symbol")!=="none"}function m(S,y,w){return w.itemModel=y,w.itemStyle=y.getModel("itemStyle").getItemStyle(),w.hoverItemStyle=y.getModel("emphasis.itemStyle").getItemStyle(),w.lineStyle=y.getModel("lineStyle").getLineStyle(),w.labelModel=y.getModel("label"),w.hoverLabelModel=y.getModel("emphasis.label"),S.isExpand===!1&&S.children.length!==0?w.symbolInnerColor=w.itemStyle.fill:w.symbolInnerColor="#fff",w}function A(S,y,w,x,T,L){var R=!w,P=S.tree.getNodeByDataIndex(y),k=P.getModel(),L=m(P,k,L),U=S.tree.root,D=P.parentNode===U?P:P.parentNode||P,M=S.getItemGraphicEl(D.dataIndex),B=D.getLayout(),j=M?{x:M.position[0],y:M.position[1],rawX:M.__radialOldRawX,rawY:M.__radialOldRawY}:B,H=P.getLayout();R?(w=new I(S,y,L),w.attr("position",[j.x,j.y])):w.updateData(S,y,L),w.__radialOldRawX=w.__radialRawX,w.__radialOldRawY=w.__radialRawY,w.__radialRawX=H.rawX,w.__radialRawY=H.rawY,x.add(w),S.setItemGraphicEl(y,w),_.updateProps(w,{position:[H.x,H.y]},T);var K=w.getSymbolPath();if(L.layout==="radial"){var W=U.children[0],X=W.getLayout(),V=W.children.length,Z,G;if(H.x===X.x&&P.isExpand===!0){var Y={};Y.x=(W.children[0].getLayout().x+W.children[V-1].getLayout().x)/2,Y.y=(W.children[0].getLayout().y+W.children[V-1].getLayout().y)/2,Z=Math.atan2(Y.y-X.y,Y.x-X.x),Z<0&&(Z=Math.PI*2+Z),G=Y.x<X.x,G&&(Z=Z-Math.PI)}else Z=Math.atan2(H.y-X.y,H.x-X.x),Z<0&&(Z=Math.PI*2+Z),P.children.length===0||P.children.length!==0&&P.isExpand===!1?(G=H.x<X.x,G&&(Z=Z-Math.PI)):(G=H.x>X.x,G||(Z=Z-Math.PI));var te=G?"left":"right",se=L.labelModel.get("rotate"),Ce=se*(Math.PI/180);K.setStyle({textPosition:L.labelModel.get("position")||te,textRotation:se==null?-Z:Ce,textOrigin:"center",verticalAlign:"middle"})}g(T,P,U,w,j,B,H,x,L)}function g(S,y,w,x,T,L,R,P,k){var U=k.edgeShape,D=x.__edge;if(U==="curve")y.parentNode&&y.parentNode!==w&&(D||(D=x.__edge=new _.BezierCurve({shape:b(k,T,T),style:O.defaults({opacity:0,strokeNoScale:!0},k.lineStyle)})),_.updateProps(D,{shape:b(k,L,R),style:{opacity:1}},S));else if(U==="polyline"&&(k.layout==="orthogonal"&&(y!==w&&y.children&&y.children.length!==0&&y.isExpand===!0))){for(var M=y.children,B=[],j=0;j<M.length;j++){var H=M[j].getLayout();B.push([H.x,H.y])}D||(D=x.__edge=new i({shape:{parentPoint:[R.x,R.y],childPoints:[[R.x,R.y]],orient:k.orient,forkPosition:k.edgeForkPosition},style:O.defaults({opacity:0,strokeNoScale:!0},k.lineStyle)})),_.updateProps(D,{shape:{parentPoint:[R.x,R.y],childPoints:B},style:{opacity:1}},S)}P.add(D)}function v(S,y,w,x,T,L){for(var R=S.tree.getNodeByDataIndex(y),P=S.tree.root,k=R.getModel(),L=m(R,k,L),U=R.parentNode===P?R:R.parentNode||R,D=L.edgeShape,M;M=U.getLayout(),M==null;)U=U.parentNode===P?U:U.parentNode||U;_.updateProps(w,{position:[M.x+1,M.y+1]},T,function(){x.remove(w),S.setItemGraphicEl(y,null)}),w.fadeOut(null,{keepLabel:!0});var B=S.getItemGraphicEl(U.dataIndex),j=B.__edge,H=w.__edge||(U.isExpand===!1||U.children.length===1?j:void 0),D=L.edgeShape;H&&(D==="curve"?_.updateProps(H,{shape:b(L,M,M),style:{opacity:0}},T,function(){x.remove(H)}):D==="polyline"&&L.layout==="orthogonal"&&_.updateProps(H,{shape:{parentPoint:[M.x,M.y],childPoints:[[M.x,M.y]]},style:{opacity:0}},T,function(){x.remove(H)}))}function b(S,y,w){var x,T,L,R,P=S.orient,k,U,D,M;if(S.layout==="radial"){k=y.rawX,D=y.rawY,U=w.rawX,M=w.rawY;var B=C(k,D),j=C(k,D+(M-D)*S.curvature),H=C(U,M+(D-M)*S.curvature),K=C(U,M);return{x1:B.x,y1:B.y,x2:K.x,y2:K.y,cpx1:j.x,cpy1:j.y,cpx2:H.x,cpy2:H.y}}else k=y.x,D=y.y,U=w.x,M=w.y,(P==="LR"||P==="RL")&&(x=k+(U-k)*S.curvature,T=D,L=U+(k-U)*S.curvature,R=M),(P==="TB"||P==="BT")&&(x=k,T=D+(M-D)*S.curvature,L=U,R=M+(D-M)*S.curvature);return{x1:k,y1:D,x2:U,y2:M,cpx1:x,cpy1:T,cpx2:L,cpy2:R}}ue.exports=u},bT9E:function(ue,z,d){"use strict";d.d(z,"a",function(){return _});var O=d("VTBJ");function _(I,E){var C=Object(O.a)({},I);return Array.isArray(E)&&E.forEach(function(t){delete C[t]}),C}},bX4T:function(ue,z,d){"use strict";d.d(z,"a",function(){return h});var O=d("VTBJ"),_=`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`,I=`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`,E="".concat(_," ").concat(I).split(/[\s\n]+/),C="aria-",t="data-";function p(o,r){return o.indexOf(r)===0}function h(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s;r===!1?s={aria:!0,data:!0,attr:!0}:r===!0?s={aria:!0}:s=Object(O.a)({},r);var l={};return Object.keys(o).forEach(function(n){(s.aria&&(n==="role"||p(n,C))||s.data&&p(n,t)||s.attr&&E.includes(n))&&(l[n]=o[n])}),l}},bYtY:function(ue,z){var d={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},O={"[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},_=Object.prototype.toString,I=Array.prototype,E=I.forEach,C=I.filter,t=I.slice,p=I.map,h=I.reduce,o={};function r(ie,ee){ie==="createCanvas"&&(i=null),o[ie]=ee}function s(ie){if(ie==null||typeof ie!="object")return ie;var ee=ie,Ze=_.call(ie);if(Ze==="[object Array]"){if(!te(ie)){ee=[];for(var Se=0,Ne=ie.length;Se<Ne;Se++)ee[Se]=s(ie[Se])}}else if(O[Ze]){if(!te(ie)){var it=ie.constructor;if(ie.constructor.from)ee=it.from(ie);else{ee=new it(ie.length);for(var Se=0,Ne=ie.length;Se<Ne;Se++)ee[Se]=s(ie[Se])}}}else if(!d[Ze]&&!te(ie)&&!M(ie)){ee={};for(var Ye in ie)ie.hasOwnProperty(Ye)&&(ee[Ye]=s(ie[Ye]))}return ee}function l(ie,ee,Ze){if(!k(ee)||!k(ie))return Ze?s(ee):ie;for(var Se in ee)if(ee.hasOwnProperty(Se)){var Ne=ie[Se],it=ee[Se];k(it)&&k(Ne)&&!L(it)&&!L(Ne)&&!M(it)&&!M(Ne)&&!U(it)&&!U(Ne)&&!te(it)&&!te(Ne)?l(Ne,it,Ze):(Ze||!(Se in ie))&&(ie[Se]=s(ee[Se],!0))}return ie}function n(ie,ee){for(var Ze=ie[0],Se=1,Ne=ie.length;Se<Ne;Se++)Ze=l(Ze,ie[Se],ee);return Ze}function c(ie,ee){for(var Ze in ee)ee.hasOwnProperty(Ze)&&(ie[Ze]=ee[Ze]);return ie}function e(ie,ee,Ze){for(var Se in ee)ee.hasOwnProperty(Se)&&(Ze?ee[Se]!=null:ie[Se]==null)&&(ie[Se]=ee[Se]);return ie}var a=function(){return o.createCanvas()};o.createCanvas=function(){return document.createElement("canvas")};var i;function u(){return i||(i=a().getContext("2d")),i}function f(ie,ee){if(ie){if(ie.indexOf)return ie.indexOf(ee);for(var Ze=0,Se=ie.length;Ze<Se;Ze++)if(ie[Ze]===ee)return Ze}return-1}function m(ie,ee){var Ze=ie.prototype;function Se(){}Se.prototype=ee.prototype,ie.prototype=new Se;for(var Ne in Ze)Ze.hasOwnProperty(Ne)&&(ie.prototype[Ne]=Ze[Ne]);ie.prototype.constructor=ie,ie.superClass=ee}function A(ie,ee,Ze){ie="prototype"in ie?ie.prototype:ie,ee="prototype"in ee?ee.prototype:ee,e(ie,ee,Ze)}function g(ie){return ie?typeof ie=="string"?!1:typeof ie.length=="number":void 0}function v(ie,ee,Ze){if(!(ie&&ee))return;if(ie.forEach&&ie.forEach===E)ie.forEach(ee,Ze);else if(ie.length===+ie.length)for(var Se=0,Ne=ie.length;Se<Ne;Se++)ee.call(Ze,ie[Se],Se,ie);else for(var it in ie)ie.hasOwnProperty(it)&&ee.call(Ze,ie[it],it,ie)}function b(ie,ee,Ze){if(!(ie&&ee))return;if(ie.map&&ie.map===p)return ie.map(ee,Ze);for(var Se=[],Ne=0,it=ie.length;Ne<it;Ne++)Se.push(ee.call(Ze,ie[Ne],Ne,ie));return Se}function S(ie,ee,Ze,Se){if(!(ie&&ee))return;if(ie.reduce&&ie.reduce===h)return ie.reduce(ee,Ze,Se);for(var Ne=0,it=ie.length;Ne<it;Ne++)Ze=ee.call(Se,Ze,ie[Ne],Ne,ie);return Ze}function y(ie,ee,Ze){if(!(ie&&ee))return;if(ie.filter&&ie.filter===C)return ie.filter(ee,Ze);for(var Se=[],Ne=0,it=ie.length;Ne<it;Ne++)ee.call(Ze,ie[Ne],Ne,ie)&&Se.push(ie[Ne]);return Se}function w(ie,ee,Ze){if(!(ie&&ee))return;for(var Se=0,Ne=ie.length;Se<Ne;Se++)if(ee.call(Ze,ie[Se],Se,ie))return ie[Se]}function x(ie,ee){var Ze=t.call(arguments,2);return function(){return ie.apply(ee,Ze.concat(t.call(arguments)))}}function T(ie){var ee=t.call(arguments,1);return function(){return ie.apply(this,ee.concat(t.call(arguments)))}}function L(ie){return _.call(ie)==="[object Array]"}function R(ie){return typeof ie=="function"}function P(ie){return _.call(ie)==="[object String]"}function k(ie){var ee=typeof ie;return ee==="function"||!!ie&&ee==="object"}function U(ie){return!!d[_.call(ie)]}function D(ie){return!!O[_.call(ie)]}function M(ie){return typeof ie=="object"&&typeof ie.nodeType=="number"&&typeof ie.ownerDocument=="object"}function B(ie){return ie!==ie}function j(ie){for(var ee=0,Ze=arguments.length;ee<Ze;ee++)if(arguments[ee]!=null)return arguments[ee]}function H(ie,ee){return ie!=null?ie:ee}function K(ie,ee,Ze){return ie!=null?ie:ee!=null?ee:Ze}function W(){return Function.call.apply(t,arguments)}function X(ie){if(typeof ie=="number")return[ie,ie,ie,ie];var ee=ie.length;return ee===2?[ie[0],ie[1],ie[0],ie[1]]:ee===3?[ie[0],ie[1],ie[2],ie[1]]:ie}function V(ie,ee){if(!ie)throw new Error(ee)}function Z(ie){return ie==null?null:typeof ie.trim=="function"?ie.trim():ie.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var G="__ec_primitive__";function Y(ie){ie[G]=!0}function te(ie){return ie[G]}function se(ie){var ee=L(ie);this.data={};var Ze=this;ie instanceof se?ie.each(Se):ie&&v(ie,Se);function Se(Ne,it){ee?Ze.set(Ne,it):Ze.set(it,Ne)}}se.prototype={constructor:se,get:function(ee){return this.data.hasOwnProperty(ee)?this.data[ee]:null},set:function(ee,Ze){return this.data[ee]=Ze},each:function(ee,Ze){Ze!==void 0&&(ee=x(ee,Ze));for(var Se in this.data)this.data.hasOwnProperty(Se)&&ee(this.data[Se],Se)},removeKey:function(ee){delete this.data[ee]}};function Ce(ie){return new se(ie)}function he(ie,ee){for(var Ze=new ie.constructor(ie.length+ee.length),Se=0;Se<ie.length;Se++)Ze[Se]=ie[Se];var Ne=ie.length;for(Se=0;Se<ee.length;Se++)Ze[Se+Ne]=ee[Se];return Ze}function xe(){}z.$override=r,z.clone=s,z.merge=l,z.mergeAll=n,z.extend=c,z.defaults=e,z.createCanvas=a,z.getContext=u,z.indexOf=f,z.inherits=m,z.mixin=A,z.isArrayLike=g,z.each=v,z.map=b,z.reduce=S,z.filter=y,z.find=w,z.bind=x,z.curry=T,z.isArray=L,z.isFunction=R,z.isString=P,z.isObject=k,z.isBuiltInObject=U,z.isTypedArray=D,z.isDom=M,z.eqNaN=B,z.retrieve=j,z.retrieve2=H,z.retrieve3=K,z.slice=W,z.normalizeCssArray=X,z.assert=V,z.trim=Z,z.setAsPrimitive=Y,z.isPrimitive=te,z.createHashMap=Ce,z.concatArray=he,z.noop=xe},bZqE:function(ue,z){function d(_,I,E){for(var C=[_],t=[],p;p=C.pop();)if(t.push(p),p.isExpand){var h=p.children;if(h.length)for(var o=0;o<h.length;o++)C.push(h[o])}for(;p=t.pop();)I(p,E)}function O(_,I){for(var E=[_],C;C=E.pop();)if(I(C),C.isExpand){var t=C.children;if(t.length)for(var p=t.length-1;p>=0;p--)E.push(t[p])}}z.eachAfter=d,z.eachBefore=O},bahg:function(ue,z){function d(O){return O.split("")}ue.exports=d},bbsP:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("CWI+"),E=d.n(I)},bogI:function(ue,z,d){"use strict";d.d(z,"a",function(){return O});var O=function(I){if(!I)return null;var E=typeof I=="function";return E?I():I}},bsht:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},bx4M:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("q1tI"),t=d("TSYQ"),p=d.n(t),h=d("BGR+"),o=d("H84U"),r=function(b,S){var y={};for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&S.indexOf(w)<0&&(y[w]=b[w]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,w=Object.getOwnPropertySymbols(b);x<w.length;x++)S.indexOf(w[x])<0&&Object.prototype.propertyIsEnumerable.call(b,w[x])&&(y[w[x]]=b[w[x]]);return y},s=function(S){return C.createElement(o.a,null,function(y){var w=y.getPrefixCls,x=S.prefixCls,T=S.className,L=S.hoverable,R=L===void 0?!0:L,P=r(S,["prefixCls","className","hoverable"]),k=w("card",x),U=p()("".concat(k,"-grid"),T,_()({},"".concat(k,"-grid-hoverable"),R));return C.createElement("div",E()({},P,{className:U}))})},l=s,n=function(b,S){var y={};for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&S.indexOf(w)<0&&(y[w]=b[w]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,w=Object.getOwnPropertySymbols(b);x<w.length;x++)S.indexOf(w[x])<0&&Object.prototype.propertyIsEnumerable.call(b,w[x])&&(y[w[x]]=b[w[x]]);return y},c=function(S){return C.createElement(o.a,null,function(y){var w=y.getPrefixCls,x=S.prefixCls,T=S.className,L=S.avatar,R=S.title,P=S.description,k=n(S,["prefixCls","className","avatar","title","description"]),U=w("card",x),D=p()("".concat(U,"-meta"),T),M=L?C.createElement("div",{className:"".concat(U,"-meta-avatar")},L):null,B=R?C.createElement("div",{className:"".concat(U,"-meta-title")},R):null,j=P?C.createElement("div",{className:"".concat(U,"-meta-description")},P):null,H=B||j?C.createElement("div",{className:"".concat(U,"-meta-detail")},B,j):null;return C.createElement("div",E()({},k,{className:D}),M,H)})},e=c,a=d("ZTPi"),i=d("BMrR"),u=d("kPKH"),f=d("3Nzz"),m=function(b,S){var y={};for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&S.indexOf(w)<0&&(y[w]=b[w]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,w=Object.getOwnPropertySymbols(b);x<w.length;x++)S.indexOf(w[x])<0&&Object.prototype.propertyIsEnumerable.call(b,w[x])&&(y[w[x]]=b[w[x]]);return y};function A(b){var S=b.map(function(y,w){return C.createElement("li",{style:{width:"".concat(100/b.length,"%")},key:"action-".concat(w)},C.createElement("span",null,y))});return S}var g=function(S){var y,w,x=C.useContext(o.b),T=x.getPrefixCls,L=x.direction,R=C.useContext(f.b),P=function(wt){S.onTabChange&&S.onTabChange(wt)},k=function(){var wt;return C.Children.forEach(S.children,function(Et){Et&&Et.type&&Et.type===l&&(wt=!0)}),wt},U=S.prefixCls,D=S.className,M=S.extra,B=S.headStyle,j=B===void 0?{}:B,H=S.bodyStyle,K=H===void 0?{}:H,W=S.title,X=S.loading,V=S.bordered,Z=V===void 0?!0:V,G=S.size,Y=S.type,te=S.cover,se=S.actions,Ce=S.tabList,he=S.children,xe=S.activeTabKey,ie=S.defaultActiveTabKey,ee=S.tabBarExtraContent,Ze=S.hoverable,Se=S.tabProps,Ne=Se===void 0?{}:Se,it=m(S,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),Ye=T("card",U),nt=K.padding===0||K.padding==="0px"?{padding:24}:void 0,je=C.createElement("div",{className:"".concat(Ye,"-loading-block")}),et=C.createElement("div",{className:"".concat(Ye,"-loading-content"),style:nt},C.createElement(i.a,{gutter:8},C.createElement(u.a,{span:22},je)),C.createElement(i.a,{gutter:8},C.createElement(u.a,{span:8},je),C.createElement(u.a,{span:15},je)),C.createElement(i.a,{gutter:8},C.createElement(u.a,{span:6},je),C.createElement(u.a,{span:18},je)),C.createElement(i.a,{gutter:8},C.createElement(u.a,{span:13},je),C.createElement(u.a,{span:9},je)),C.createElement(i.a,{gutter:8},C.createElement(u.a,{span:4},je),C.createElement(u.a,{span:3},je),C.createElement(u.a,{span:16},je))),He=xe!==void 0,pe=E()(E()({},Ne),(y={},_()(y,He?"activeKey":"defaultActiveKey",He?xe:ie),_()(y,"tabBarExtraContent",ee),y)),ae,re=Ce&&Ce.length?C.createElement(a.a,E()({size:"large"},pe,{className:"".concat(Ye,"-head-tabs"),onChange:P}),Ce.map(function(bt){return C.createElement(a.a.TabPane,{tab:bt.tab,disabled:bt.disabled,key:bt.key})})):null;(W||M||re)&&(ae=C.createElement("div",{className:"".concat(Ye,"-head"),style:j},C.createElement("div",{className:"".concat(Ye,"-head-wrapper")},W&&C.createElement("div",{className:"".concat(Ye,"-head-title")},W),M&&C.createElement("div",{className:"".concat(Ye,"-extra")},M)),re));var be=te?C.createElement("div",{className:"".concat(Ye,"-cover")},te):null,ze=C.createElement("div",{className:"".concat(Ye,"-body"),style:K},X?et:he),Ke=se&&se.length?C.createElement("ul",{className:"".concat(Ye,"-actions")},A(se)):null,Te=Object(h.default)(it,["onTabChange"]),gt=G||R,Ue=p()(Ye,D,(w={},_()(w,"".concat(Ye,"-loading"),X),_()(w,"".concat(Ye,"-bordered"),Z),_()(w,"".concat(Ye,"-hoverable"),Ze),_()(w,"".concat(Ye,"-contain-grid"),k()),_()(w,"".concat(Ye,"-contain-tabs"),Ce&&Ce.length),_()(w,"".concat(Ye,"-").concat(gt),gt),_()(w,"".concat(Ye,"-type-").concat(Y),!!Y),_()(w,"".concat(Ye,"-rtl"),L==="rtl"),w));return C.createElement("div",E()({},Te,{className:Ue}),ae,be,ze,Ke)};g.Grid=l,g.Meta=e;var v=z.a=g},c2i1:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("Yl7c"),C=E.enableClassCheck;function t(n){return"_EC_"+n}var p=function(n){this._directed=n||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this.data,this.edgeData},h=p.prototype;h.type="graph",h.isDirected=function(){return this._directed},h.addNode=function(n,c){n=n==null?""+c:""+n;var e=this._nodesMap;if(e[t(n)])return;var a=new o(n,c);return a.hostGraph=this,this.nodes.push(a),e[t(n)]=a,a},h.getNodeByIndex=function(n){var c=this.data.getRawIndex(n);return this.nodes[c]},h.getNodeById=function(n){return this._nodesMap[t(n)]},h.addEdge=function(n,c,e){var a=this._nodesMap,i=this._edgesMap;if(typeof n=="number"&&(n=this.nodes[n]),typeof c=="number"&&(c=this.nodes[c]),o.isInstance(n)||(n=a[t(n)]),o.isInstance(c)||(c=a[t(c)]),!n||!c)return;var u=n.id+"-"+c.id;if(i[u])return;var f=new r(n,c,e);return f.hostGraph=this,this._directed&&(n.outEdges.push(f),c.inEdges.push(f)),n.edges.push(f),n!==c&&c.edges.push(f),this.edges.push(f),i[u]=f,f},h.getEdgeByIndex=function(n){var c=this.edgeData.getRawIndex(n);return this.edges[c]},h.getEdge=function(n,c){o.isInstance(n)&&(n=n.id),o.isInstance(c)&&(c=c.id);var e=this._edgesMap;return this._directed?e[n+"-"+c]:e[n+"-"+c]||e[c+"-"+n]},h.eachNode=function(n,c){for(var e=this.nodes,a=e.length,i=0;i<a;i++)e[i].dataIndex>=0&&n.call(c,e[i],i)},h.eachEdge=function(n,c){for(var e=this.edges,a=e.length,i=0;i<a;i++)e[i].dataIndex>=0&&e[i].node1.dataIndex>=0&&e[i].node2.dataIndex>=0&&n.call(c,e[i],i)},h.breadthFirstTraverse=function(n,c,e,a){if(o.isInstance(c)||(c=this._nodesMap[t(c)]),!c)return;for(var i=e==="out"?"outEdges":e==="in"?"inEdges":"edges",u=0;u<this.nodes.length;u++)this.nodes[u].__visited=!1;if(n.call(a,c,null))return;for(var f=[c];f.length;)for(var m=f.shift(),A=m[i],u=0;u<A.length;u++){var g=A[u],v=g.node1===m?g.node2:g.node1;if(!v.__visited){if(n.call(a,v,m))return;f.push(v),v.__visited=!0}}},h.update=function(){for(var n=this.data,c=this.edgeData,e=this.nodes,a=this.edges,i=0,u=e.length;i<u;i++)e[i].dataIndex=-1;for(var i=0,u=n.count();i<u;i++)e[n.getRawIndex(i)].dataIndex=i;c.filterSelf(function(f){var m=a[c.getRawIndex(f)];return m.node1.dataIndex>=0&&m.node2.dataIndex>=0});for(var i=0,u=a.length;i<u;i++)a[i].dataIndex=-1;for(var i=0,u=c.count();i<u;i++)a[c.getRawIndex(i)].dataIndex=i},h.clone=function(){for(var n=new p(this._directed),c=this.nodes,e=this.edges,a=0;a<c.length;a++)n.addNode(c[a].id,c[a].dataIndex);for(var a=0;a<e.length;a++){var i=e[a];n.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return n};function o(n,c){this.id=n==null?"":n,this.inEdges=[],this.outEdges=[],this.edges=[],this.hostGraph,this.dataIndex=c==null?-1:c}o.prototype={constructor:o,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 c=this.hostGraph,e=c.data.getItemModel(this.dataIndex);return e.getModel(n)}};function r(n,c,e){this.node1=n,this.node2=c,this.dataIndex=e==null?-1:e}r.prototype.getModel=function(n){if(this.dataIndex<0)return;var c=this.hostGraph,e=c.edgeData.getItemModel(this.dataIndex);return e.getModel(n)};var s=function(n,c){return{getValue:function(e){var a=this[n][c];return a.get(a.getDimension(e||"value"),this.dataIndex)},setVisual:function(e,a){this.dataIndex>=0&&this[n][c].setItemVisual(this.dataIndex,e,a)},getVisual:function(e,a){return this[n][c].getItemVisual(this.dataIndex,e,a)},setLayout:function(e,a){this.dataIndex>=0&&this[n][c].setItemLayout(this.dataIndex,e,a)},getLayout:function(){return this[n][c].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[n][c].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[n][c].getRawIndex(this.dataIndex)}}};I.mixin(o,s("hostGraph","data")),I.mixin(r,s("hostGraph","edgeData")),p.Node=o,p.Edge=r,C(o),C(r);var l=p;ue.exports=l},c5Ni:function(ue,z,d){},c5fP:function(ue,z,d){"use strict";function O(Ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(wt){return typeof wt}:O=function(wt){return wt&&typeof Symbol=="function"&&wt.constructor===Symbol&&wt!==Symbol.prototype?"symbol":typeof wt},O(Ue)}Object.defineProperty(z,"__esModule",{value:!0}),z._tr_init=be,z._tr_stored_block=ze,z._tr_flush_block=Te,z._tr_tally=gt,z._tr_align=Ke;var _=E(d("6BzB"));function I(){if(typeof WeakMap!="function")return null;var Ue=new WeakMap;return I=function(){return Ue},Ue}function E(Ue){if(Ue&&Ue.__esModule)return Ue;if(Ue===null||O(Ue)!=="object"&&typeof Ue!="function")return{default:Ue};var bt=I();if(bt&&bt.has(Ue))return bt.get(Ue);var wt={},Et=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var xt in Ue)if(Object.prototype.hasOwnProperty.call(Ue,xt)){var Tt=Et?Object.getOwnPropertyDescriptor(Ue,xt):null;Tt&&(Tt.get||Tt.set)?Object.defineProperty(wt,xt,Tt):wt[xt]=Ue[xt]}return wt.default=Ue,bt&&bt.set(Ue,wt),wt}var C=4,t=0,p=1,h=2;function o(Ue){for(var bt=Ue.length;--bt>=0;)Ue[bt]=0}var r=0,s=1,l=2,n=3,c=258,e=29,a=256,i=a+1+e,u=30,f=19,m=2*i+1,A=15,g=16,v=7,b=256,S=16,y=17,w=18,x=[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],T=[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],L=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],P=512,k=new Array((i+2)*2);o(k);var U=new Array(u*2);o(U);var D=new Array(P);o(D);var M=new Array(c-n+1);o(M);var B=new Array(e);o(B);var j=new Array(u);o(j);function H(Ue,bt,wt,Et,xt){this.static_tree=Ue,this.extra_bits=bt,this.extra_base=wt,this.elems=Et,this.max_length=xt,this.has_stree=Ue&&Ue.length}var K,W,X;function V(Ue,bt){this.dyn_tree=Ue,this.max_code=0,this.stat_desc=bt}function Z(Ue){return Ue<256?D[Ue]:D[256+(Ue>>>7)]}function G(Ue,bt){Ue.pending_buf[Ue.pending++]=bt&255,Ue.pending_buf[Ue.pending++]=bt>>>8&255}function Y(Ue,bt,wt){Ue.bi_valid>g-wt?(Ue.bi_buf|=bt<<Ue.bi_valid&65535,G(Ue,Ue.bi_buf),Ue.bi_buf=bt>>g-Ue.bi_valid,Ue.bi_valid+=wt-g):(Ue.bi_buf|=bt<<Ue.bi_valid&65535,Ue.bi_valid+=wt)}function te(Ue,bt,wt){Y(Ue,wt[bt*2],wt[bt*2+1])}function se(Ue,bt){var wt=0;do wt|=Ue&1,Ue>>>=1,wt<<=1;while(--bt>0);return wt>>>1}function Ce(Ue){Ue.bi_valid===16?(G(Ue,Ue.bi_buf),Ue.bi_buf=0,Ue.bi_valid=0):Ue.bi_valid>=8&&(Ue.pending_buf[Ue.pending++]=Ue.bi_buf&255,Ue.bi_buf>>=8,Ue.bi_valid-=8)}function he(Ue,bt){var wt=bt.dyn_tree,Et=bt.max_code,xt=bt.stat_desc.static_tree,Tt=bt.stat_desc.has_stree,Be=bt.stat_desc.extra_bits,ce=bt.stat_desc.extra_base,q=bt.stat_desc.max_length,dt,Ve,de,Ht,tr,lt,Xt=0;for(Ht=0;Ht<=A;Ht++)Ue.bl_count[Ht]=0;for(wt[Ue.heap[Ue.heap_max]*2+1]=0,dt=Ue.heap_max+1;dt<m;dt++){if(Ve=Ue.heap[dt],Ht=wt[wt[Ve*2+1]*2+1]+1,Ht>q&&(Ht=q,Xt++),wt[Ve*2+1]=Ht,Ve>Et)continue;Ue.bl_count[Ht]++,tr=0,Ve>=ce&&(tr=Be[Ve-ce]),lt=wt[Ve*2],Ue.opt_len+=lt*(Ht+tr),Tt&&(Ue.static_len+=lt*(xt[Ve*2+1]+tr))}if(Xt===0)return;do{for(Ht=q-1;Ue.bl_count[Ht]===0;)Ht--;Ue.bl_count[Ht]--,Ue.bl_count[Ht+1]+=2,Ue.bl_count[q]--,Xt-=2}while(Xt>0);for(Ht=q;Ht!==0;Ht--)for(Ve=Ue.bl_count[Ht];Ve!==0;){if(de=Ue.heap[--dt],de>Et)continue;wt[de*2+1]!==Ht&&(Ue.opt_len+=(Ht-wt[de*2+1])*wt[de*2],wt[de*2+1]=Ht),Ve--}}function xe(Ue,bt,wt){var Et=new Array(A+1),xt=0,Tt,Be;for(Tt=1;Tt<=A;Tt++)Et[Tt]=xt=xt+wt[Tt-1]<<1;for(Be=0;Be<=bt;Be++){var ce=Ue[Be*2+1];if(ce===0)continue;Ue[Be*2]=se(Et[ce]++,ce)}}function ie(){var Ue,bt,wt,Et,xt,Tt=new Array(A+1);for(wt=0,Et=0;Et<e-1;Et++)for(B[Et]=wt,Ue=0;Ue<1<<x[Et];Ue++)M[wt++]=Et;for(M[wt-1]=Et,xt=0,Et=0;Et<16;Et++)for(j[Et]=xt,Ue=0;Ue<1<<T[Et];Ue++)D[xt++]=Et;for(xt>>=7;Et<u;Et++)for(j[Et]=xt<<7,Ue=0;Ue<1<<T[Et]-7;Ue++)D[256+xt++]=Et;for(bt=0;bt<=A;bt++)Tt[bt]=0;for(Ue=0;Ue<=143;)k[Ue*2+1]=8,Ue++,Tt[8]++;for(;Ue<=255;)k[Ue*2+1]=9,Ue++,Tt[9]++;for(;Ue<=279;)k[Ue*2+1]=7,Ue++,Tt[7]++;for(;Ue<=287;)k[Ue*2+1]=8,Ue++,Tt[8]++;for(xe(k,i+1,Tt),Ue=0;Ue<u;Ue++)U[Ue*2+1]=5,U[Ue*2]=se(Ue,5);K=new H(k,x,a+1,i,A),W=new H(U,T,0,u,A),X=new H(new Array(0),L,0,f,v)}function ee(Ue){var bt;for(bt=0;bt<i;bt++)Ue.dyn_ltree[bt*2]=0;for(bt=0;bt<u;bt++)Ue.dyn_dtree[bt*2]=0;for(bt=0;bt<f;bt++)Ue.bl_tree[bt*2]=0;Ue.dyn_ltree[b*2]=1,Ue.opt_len=Ue.static_len=0,Ue.last_lit=Ue.matches=0}function Ze(Ue){Ue.bi_valid>8?G(Ue,Ue.bi_buf):Ue.bi_valid>0&&(Ue.pending_buf[Ue.pending++]=Ue.bi_buf),Ue.bi_buf=0,Ue.bi_valid=0}function Se(Ue,bt,wt,Et){Ze(Ue),Et&&(G(Ue,wt),G(Ue,~wt)),_.arraySet(Ue.pending_buf,Ue.window,bt,wt,Ue.pending),Ue.pending+=wt}function Ne(Ue,bt,wt,Et){var xt=bt*2,Tt=wt*2;return Ue[xt]<Ue[Tt]||Ue[xt]===Ue[Tt]&&Et[bt]<=Et[wt]}function it(Ue,bt,wt){for(var Et=Ue.heap[wt],xt=wt<<1;xt<=Ue.heap_len&&!(xt<Ue.heap_len&&Ne(bt,Ue.heap[xt+1],Ue.heap[xt],Ue.depth)&&xt++,Ne(bt,Et,Ue.heap[xt],Ue.depth));)Ue.heap[wt]=Ue.heap[xt],wt=xt,xt<<=1;Ue.heap[wt]=Et}function Ye(Ue,bt,wt){var Et,xt,Tt=0,Be,ce;if(Ue.last_lit!==0)do Et=Ue.pending_buf[Ue.d_buf+Tt*2]<<8|Ue.pending_buf[Ue.d_buf+Tt*2+1],xt=Ue.pending_buf[Ue.l_buf+Tt],Tt++,Et===0?te(Ue,xt,bt):(Be=M[xt],te(Ue,Be+a+1,bt),ce=x[Be],ce!==0&&(xt-=B[Be],Y(Ue,xt,ce)),Et--,Be=Z(Et),te(Ue,Be,wt),ce=T[Be],ce!==0&&(Et-=j[Be],Y(Ue,Et,ce)));while(Tt<Ue.last_lit);te(Ue,b,bt)}function nt(Ue,bt){var wt=bt.dyn_tree,Et=bt.stat_desc.static_tree,xt=bt.stat_desc.has_stree,Tt=bt.stat_desc.elems,Be,ce,q=-1,dt;for(Ue.heap_len=0,Ue.heap_max=m,Be=0;Be<Tt;Be++)wt[Be*2]!==0?(Ue.heap[++Ue.heap_len]=q=Be,Ue.depth[Be]=0):wt[Be*2+1]=0;for(;Ue.heap_len<2;)dt=Ue.heap[++Ue.heap_len]=q<2?++q:0,wt[dt*2]=1,Ue.depth[dt]=0,Ue.opt_len--,xt&&(Ue.static_len-=Et[dt*2+1]);for(bt.max_code=q,Be=Ue.heap_len>>1;Be>=1;Be--)it(Ue,wt,Be);dt=Tt;do Be=Ue.heap[1],Ue.heap[1]=Ue.heap[Ue.heap_len--],it(Ue,wt,1),ce=Ue.heap[1],Ue.heap[--Ue.heap_max]=Be,Ue.heap[--Ue.heap_max]=ce,wt[dt*2]=wt[Be*2]+wt[ce*2],Ue.depth[dt]=(Ue.depth[Be]>=Ue.depth[ce]?Ue.depth[Be]:Ue.depth[ce])+1,wt[Be*2+1]=wt[ce*2+1]=dt,Ue.heap[1]=dt++,it(Ue,wt,1);while(Ue.heap_len>=2);Ue.heap[--Ue.heap_max]=Ue.heap[1],he(Ue,bt),xe(wt,q,Ue.bl_count)}function je(Ue,bt,wt){var Et,xt=-1,Tt,Be=bt[0*2+1],ce=0,q=7,dt=4;for(Be===0&&(q=138,dt=3),bt[(wt+1)*2+1]=65535,Et=0;Et<=wt;Et++){if(Tt=Be,Be=bt[(Et+1)*2+1],++ce<q&&Tt===Be)continue;ce<dt?Ue.bl_tree[Tt*2]+=ce:Tt!==0?(Tt!==xt&&Ue.bl_tree[Tt*2]++,Ue.bl_tree[S*2]++):ce<=10?Ue.bl_tree[y*2]++:Ue.bl_tree[w*2]++,ce=0,xt=Tt,Be===0?(q=138,dt=3):Tt===Be?(q=6,dt=3):(q=7,dt=4)}}function et(Ue,bt,wt){var Et,xt=-1,Tt,Be=bt[0*2+1],ce=0,q=7,dt=4;for(Be===0&&(q=138,dt=3),Et=0;Et<=wt;Et++){if(Tt=Be,Be=bt[(Et+1)*2+1],++ce<q&&Tt===Be)continue;if(ce<dt)do te(Ue,Tt,Ue.bl_tree);while(--ce!==0);else Tt!==0?(Tt!==xt&&(te(Ue,Tt,Ue.bl_tree),ce--),te(Ue,S,Ue.bl_tree),Y(Ue,ce-3,2)):ce<=10?(te(Ue,y,Ue.bl_tree),Y(Ue,ce-3,3)):(te(Ue,w,Ue.bl_tree),Y(Ue,ce-11,7));ce=0,xt=Tt,Be===0?(q=138,dt=3):Tt===Be?(q=6,dt=3):(q=7,dt=4)}}function He(Ue){var bt;for(je(Ue,Ue.dyn_ltree,Ue.l_desc.max_code),je(Ue,Ue.dyn_dtree,Ue.d_desc.max_code),nt(Ue,Ue.bl_desc),bt=f-1;bt>=3&&!(Ue.bl_tree[R[bt]*2+1]!==0);bt--);return Ue.opt_len+=3*(bt+1)+5+5+4,bt}function pe(Ue,bt,wt,Et){var xt;for(Y(Ue,bt-257,5),Y(Ue,wt-1,5),Y(Ue,Et-4,4),xt=0;xt<Et;xt++)Y(Ue,Ue.bl_tree[R[xt]*2+1],3);et(Ue,Ue.dyn_ltree,bt-1),et(Ue,Ue.dyn_dtree,wt-1)}function ae(Ue){var bt=4093624447,wt;for(wt=0;wt<=31;wt++,bt>>>=1)if(bt&1&&Ue.dyn_ltree[wt*2]!==0)return t;if(Ue.dyn_ltree[9*2]!==0||Ue.dyn_ltree[10*2]!==0||Ue.dyn_ltree[13*2]!==0)return p;for(wt=32;wt<a;wt++)if(Ue.dyn_ltree[wt*2]!==0)return p;return t}var re=!1;function be(Ue){re||(ie(),re=!0),Ue.l_desc=new V(Ue.dyn_ltree,K),Ue.d_desc=new V(Ue.dyn_dtree,W),Ue.bl_desc=new V(Ue.bl_tree,X),Ue.bi_buf=0,Ue.bi_valid=0,ee(Ue)}function ze(Ue,bt,wt,Et){Y(Ue,(r<<1)+(Et?1:0),3),Se(Ue,bt,wt,!0)}function Ke(Ue){Y(Ue,s<<1,3),te(Ue,b,k),Ce(Ue)}function Te(Ue,bt,wt,Et){var xt,Tt,Be=0;Ue.level>0?(Ue.strm.data_type===h&&(Ue.strm.data_type=ae(Ue)),nt(Ue,Ue.l_desc),nt(Ue,Ue.d_desc),Be=He(Ue),xt=Ue.opt_len+3+7>>>3,Tt=Ue.static_len+3+7>>>3,Tt<=xt&&(xt=Tt)):xt=Tt=wt+5,wt+4<=xt&&bt!==-1?ze(Ue,bt,wt,Et):Ue.strategy===C||Tt===xt?(Y(Ue,(s<<1)+(Et?1:0),3),Ye(Ue,k,U)):(Y(Ue,(l<<1)+(Et?1:0),3),pe(Ue,Ue.l_desc.max_code+1,Ue.d_desc.max_code+1,Be+1),Ye(Ue,Ue.dyn_ltree,Ue.dyn_dtree)),ee(Ue),Et&&Ze(Ue)}function gt(Ue,bt,wt){return Ue.pending_buf[Ue.d_buf+Ue.last_lit*2]=bt>>>8&255,Ue.pending_buf[Ue.d_buf+Ue.last_lit*2+1]=bt&255,Ue.pending_buf[Ue.l_buf+Ue.last_lit]=wt&255,Ue.last_lit++,bt===0?Ue.dyn_ltree[wt*2]++:(Ue.matches++,bt--,Ue.dyn_ltree[(M[wt]+a+1)*2]++,Ue.dyn_dtree[Z(bt)*2]++),Ue.last_lit===Ue.lit_bufsize-1}},c8qY:function(ue,z,d){var O=d("IwbS"),_=d("fls0");function I(l){this._ctor=l||_,this.group=new O.Group}var E=I.prototype;E.isPersistent=function(){return!0},E.updateData=function(l){var n=this,c=n.group,e=n._lineData;n._lineData=l,e||c.removeAll();var a=h(l);l.diff(e).add(function(i){C(n,l,i,a)}).update(function(i,u){t(n,e,l,u,i,a)}).remove(function(i){c.remove(e.getItemGraphicEl(i))}).execute()};function C(l,n,c,e){var a=n.getItemLayout(c);if(!r(a))return;var i=new l._ctor(n,c,e);n.setItemGraphicEl(c,i),l.group.add(i)}function t(l,n,c,e,a,i){var u=n.getItemGraphicEl(e);if(!r(c.getItemLayout(a))){l.group.remove(u);return}u?u.updateData(c,a,i):u=new l._ctor(c,a,i),c.setItemGraphicEl(a,u),l.group.add(u)}E.updateLayout=function(){var l=this._lineData;if(!l)return;l.eachItemGraphicEl(function(n,c){n.updateLayout(l,c)},this)},E.incrementalPrepareUpdate=function(l){this._seriesScope=h(l),this._lineData=null,this.group.removeAll()};function p(l){return l.animators&&l.animators.length>0}E.incrementalUpdate=function(l,n){function c(u){!u.isGroup&&!p(u)&&(u.incremental=u.useHoverLayer=!0)}for(var e=l.start;e<l.end;e++){var a=n.getItemLayout(e);if(r(a)){var i=new this._ctor(n,e,this._seriesScope);i.traverse(c),this.group.add(i),n.setItemGraphicEl(e,i)}}};function h(l){var n=l.hostModel;return{lineStyle:n.getModel("lineStyle").getLineStyle(),hoverLineStyle:n.getModel("emphasis.lineStyle").getLineStyle(),labelModel:n.getModel("label"),hoverLabelModel:n.getModel("emphasis.label")}}E.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},E._clearIncremental=function(){var l=this._incremental;l&&l.clearDisplaybles()};function o(l){return isNaN(l[0])||isNaN(l[1])}function r(l){return!o(l[0])&&!o(l[1])}var s=I;ue.exports=s},cCMj:function(ue,z,d){var O=d("bYtY"),_={updateSelectedMap:function(I){this._targetList=O.isArray(I)?I.slice():[],this._selectTargetMap=O.reduce(I||[],function(E,C){return E.set(C.name,C),E},O.createHashMap())},select:function(I,E){var C=E!=null?this._targetList[E]:this._selectTargetMap.get(I),t=this.get("selectedMode");t==="single"&&this._selectTargetMap.each(function(p){p.selected=!1}),C&&(C.selected=!0)},unSelect:function(I,E){var C=E!=null?this._targetList[E]:this._selectTargetMap.get(I);C&&(C.selected=!1)},toggleSelected:function(I,E){var C=E!=null?this._targetList[E]:this._selectTargetMap.get(I);if(C!=null)return this[C.selected?"unSelect":"select"](I,E),C.selected},isSelected:function(I,E){var C=E!=null?this._targetList[E]:this._selectTargetMap.get(I);return C&&C.selected}};ue.exports=_},cVA7:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=d("MT78"),_=C(O),I=d("t3Fx"),E=C(I);function C(r){return r&&r.__esModule?r:{default:r}}function t(r,s){if(!(r instanceof s))throw new TypeError("Cannot call a class as a function")}function p(r,s){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s&&(typeof s=="object"||typeof s=="function")?s:r}function h(r,s){if(typeof s!="function"&&s!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof s);r.prototype=Object.create(s&&s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(r,s):r.__proto__=s)}var o=function(r){h(s,r);function s(l){t(this,s);var n=p(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,l));return n.echartsLib=_.default,n}return s}(E.default);z.default=o},cWXX:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("oIFs"),E=d.n(I)},ca2m:function(ue,z,d){var O=d("bYtY"),_={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)"]}}},I={};I.categoryAxis=O.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},_),I.valueAxis=O.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},_),I.timeAxis=O.defaults({scale:!0,min:"dataMin",max:"dataMax"},I.valueAxis),I.logAxis=O.defaults({scale:!0,logBase:10},I.valueAxis);var E=I;ue.exports=E},cbJ4:function(ue,z,d){var O=d("bYtY"),_=O.createHashMap;function I(E){E.eachSeriesByType("themeRiver",function(C){var t=C.getData(),p=C.getRawData(),h=C.get("color"),o=_();t.each(function(r){o.set(t.getRawIndex(r),r)}),p.each(function(r){var s=p.getName(r),l=h[(C.nameMap.get(s)-1)%h.length];p.setItemVisual(r,"color",l);var n=o.get(r);n!=null&&t.setItemVisual(n,"color",l)})})}ue.exports=I},chpo:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=1,_=function(){return"".concat(O++)};z.default=_},cpOr:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("T4UG"),E=d("YXkt"),C=d("bYtY"),t=C.concatArray,p=C.mergeAll,h=C.map,o=d("7aKB"),r=o.encodeHTML,s=d("IDmD"),l=typeof Uint32Array=="undefined"?Array:Uint32Array,n=typeof Float64Array=="undefined"?Array:Float64Array;function c(i){var u=i.data;u&&u[0]&&u[0][0]&&u[0][0].coord&&(i.data=h(u,function(f){var m=[f[0].coord,f[1].coord],A={coords:m};return f[0].name&&(A.fromName=f[0].name),f[1].name&&(A.toName=f[1].name),p([A,f[0],f[1]])}))}var e=I.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(i){i.data=i.data||[],c(i);var u=this._processFlatCoordsArray(i.data);this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset,u.flatCoords&&(i.data=new Float32Array(u.count)),e.superApply(this,"init",arguments)},mergeOption:function(i){if(i.data=i.data||[],c(i),i.data){var u=this._processFlatCoordsArray(i.data);this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset,u.flatCoords&&(i.data=new Float32Array(u.count))}e.superApply(this,"mergeOption",arguments)},appendData:function(i){var u=this._processFlatCoordsArray(i.data);u.flatCoords&&(this._flatCoords?(this._flatCoords=t(this._flatCoords,u.flatCoords),this._flatCoordsOffset=t(this._flatCoordsOffset,u.flatCoordsOffset)):(this._flatCoords=u.flatCoords,this._flatCoordsOffset=u.flatCoordsOffset),i.data=new Float32Array(u.count)),this.getRawData().appendData(i.data)},_getCoordsFromItemModel:function(i){var u=this.getData().getItemModel(i),f=u.option instanceof Array?u.option:u.getShallow("coords");return f},getLineCoordsCount:function(i){return this._flatCoordsOffset?this._flatCoordsOffset[i*2+1]:this._getCoordsFromItemModel(i).length},getLineCoords:function(i,u){if(this._flatCoordsOffset){for(var f=this._flatCoordsOffset[i*2],m=this._flatCoordsOffset[i*2+1],A=0;A<m;A++)u[A]=u[A]||[],u[A][0]=this._flatCoords[f+A*2],u[A][1]=this._flatCoords[f+A*2+1];return m}else{for(var g=this._getCoordsFromItemModel(i),A=0;A<g.length;A++)u[A]=u[A]||[],u[A][0]=g[A][0],u[A][1]=g[A][1];return g.length}},_processFlatCoordsArray:function(i){var u=0;if(this._flatCoords&&(u=this._flatCoords.length),typeof i[0]=="number"){for(var f=i.length,m=new l(f),A=new n(f),g=0,v=0,b=0,S=0;S<f;){b++;var y=i[S++];m[v++]=g+u,m[v++]=y;for(var w=0;w<y;w++){var x=i[S++],T=i[S++];A[g++]=x,A[g++]=T,S>f}}return{flatCoordsOffset:new Uint32Array(m.buffer,0,v),flatCoords:A,count:b}}return{flatCoordsOffset:null,flatCoords:null,count:i.length}},getInitialData:function(i,u){var f=new E(["value"],this);return f.hasItemOption=!1,f.initData(i.data,[],function(m,A,g,v){if(m instanceof Array)return NaN;f.hasItemOption=!0;var b=m.value;if(b!=null)return b instanceof Array?b[v]:b}),f},formatTooltip:function(i){var u=this.getData(),f=u.getItemModel(i),m=f.get("name");if(m)return m;var A=f.get("fromName"),g=f.get("toName"),v=[];return A!=null&&v.push(A),g!=null&&v.push(g),r(v.join(" > "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var i=this.option.progressive;return i==null?this.option.large?1e4:this.get("progressive"):i},getProgressiveThreshold:function(){var i=this.option.progressiveThreshold;return i==null?this.option.large?2e4:this.get("progressiveThreshold"):i},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}}}),a=e;ue.exports=a},crZl:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS"),E=d("7aKB"),C=d("+TT/"),t=d("XxSj"),p=O.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(h,o){this.ecModel=h,this.api=o,this.visualMapModel},render:function(h,o,r,s){if(this.visualMapModel=h,h.get("show")===!1){this.group.removeAll();return}this.doRender.apply(this,arguments)},renderBackground:function(h){var o=this.visualMapModel,r=E.normalizeCssArray(o.get("padding")||0),s=h.getBoundingRect();h.add(new I.Rect({z2:-1,silent:!0,shape:{x:s.x-r[3],y:s.y-r[0],width:s.width+r[3]+r[1],height:s.height+r[0]+r[2]},style:{fill:o.get("backgroundColor"),stroke:o.get("borderColor"),lineWidth:o.get("borderWidth")}}))},getControllerVisual:function(h,o,r){r=r||{};var s=r.forceState,l=this.visualMapModel,n={};if(o==="symbol"&&(n.symbol=l.get("itemSymbol")),o==="color"){var c=l.get("contentColor");n.color=c}function e(f){return n[f]}function a(f,m){n[f]=m}var i=l.controllerVisuals[s||l.getValueState(h)],u=t.prepareVisualTypes(i);return _.each(u,function(f){var m=i[f];r.convertOpacityToAlpha&&f==="opacity"&&(f="colorAlpha",m=i.__alphaForOpacity),t.dependsOn(f,o)&&(m&&m.applyVisual(h,e,a))}),n[o]},positionGroup:function(h){var o=this.visualMapModel,r=this.api;C.positionElement(h,o.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()})},doRender:_.noop});ue.exports=p},crp1:function(ue,z,d){"use strict";d.d(z,"b",function(){return ot}),d.d(z,"a",function(){return vr});var O={},_=function(pt,ct,Qt,Jt,yt){var Pt=O[ct]||(O[ct]=URL.createObjectURL(new Blob([pt],{type:"text/javascript"}))),At=new Worker(Pt);return At.onerror=function(Ft){return yt(Ft.error,null)},At.onmessage=function(Ft){return yt(null,Ft.data)},At.postMessage(Qt,Jt),At},I=Uint8Array,E=Uint16Array,C=Uint32Array,t=new I([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),p=new 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,0,0]),h=new I([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),o=function(pt,ct){for(var Qt=new E(31),Jt=0;Jt<31;++Jt)Qt[Jt]=ct+=1<<pt[Jt-1];for(var yt=new C(Qt[30]),Jt=1;Jt<30;++Jt)for(var Pt=Qt[Jt];Pt<Qt[Jt+1];++Pt)yt[Pt]=Pt-Qt[Jt]<<5|Jt;return[Qt,yt]},r=o(t,2),s=r[0],l=r[1];s[28]=258,l[258]=28;for(var n=o(p,0),c=n[0],e=n[1],a=new E(32768),i=0;i<32768;++i){var u=(i&43690)>>>1|(i&21845)<<1;u=(u&52428)>>>2|(u&13107)<<2,u=(u&61680)>>>4|(u&3855)<<4,a[i]=((u&65280)>>>8|(u&255)<<8)>>>1}for(var f=function(pt,ct,Qt){for(var Jt=pt.length,yt=0,Pt=new E(ct);yt<Jt;++yt)++Pt[pt[yt]-1];var At=new E(ct);for(yt=0;yt<ct;++yt)At[yt]=At[yt-1]+Pt[yt-1]<<1;var Ft;if(Qt){Ft=new E(1<<ct);var pr=15-ct;for(yt=0;yt<Jt;++yt)if(pt[yt])for(var or=yt<<4|pt[yt],ir=ct-pt[yt],Yr=At[pt[yt]-1]++<<ir,Jr=Yr|(1<<ir)-1;Yr<=Jr;++Yr)Ft[a[Yr]>>>pr]=or}else for(Ft=new E(Jt),yt=0;yt<Jt;++yt)Ft[yt]=a[At[pt[yt]-1]++]>>>15-pt[yt];return Ft},m=new I(288),i=0;i<144;++i)m[i]=8;for(var i=144;i<256;++i)m[i]=9;for(var i=256;i<280;++i)m[i]=7;for(var i=280;i<288;++i)m[i]=8;for(var A=new I(32),i=0;i<32;++i)A[i]=5;var g=f(m,9,0),v=f(m,9,1),b=f(A,5,0),S=f(A,5,1),y=function(pt){for(var ct=pt[0],Qt=1;Qt<pt.length;++Qt)pt[Qt]>ct&&(ct=pt[Qt]);return ct},w=function(pt,ct,Qt){var Jt=ct/8>>0;return(pt[Jt]|pt[Jt+1]<<8)>>>(ct&7)&Qt},x=function(pt,ct){var Qt=ct/8>>0;return(pt[Qt]|pt[Qt+1]<<8|pt[Qt+2]<<16)>>>(ct&7)},T=function(pt){return(pt/8>>0)+(pt&7&&1)},L=function(pt,ct,Qt){(ct==null||ct<0)&&(ct=0),(Qt==null||Qt>pt.length)&&(Qt=pt.length);var Jt=new(pt instanceof E?E:pt instanceof C?C:I)(Qt-ct);return Jt.set(pt.subarray(ct,Qt)),Jt},R=function(pt,ct,Qt){var Jt=pt.length,yt=!ct||Qt,Pt=!Qt||Qt.i;Qt||(Qt={}),ct||(ct=new I(Jt*3));var At=function(bi){var Bn=ct.length;if(bi>Bn){var _i=new I(Math.max(Bn*2,bi));_i.set(ct),ct=_i}},Ft=Qt.f||0,pr=Qt.p||0,or=Qt.b||0,ir=Qt.l,Yr=Qt.d,Jr=Qt.m,_n=Qt.n,Nn=Jt*8;do{if(!ir){Qt.f=Ft=w(pt,pr,1);var zn=w(pt,pr+1,3);if(pr+=3,zn)if(zn==1)ir=v,Yr=S,Jr=9,_n=5;else if(zn==2){var Ge=w(pt,pr,31)+257,we=w(pt,pr+10,15)+4,Le=Ge+w(pt,pr+5,31)+1;pr+=14;for(var De=new I(Le),We=new I(19),Fe=0;Fe<we;++Fe)We[h[Fe]]=w(pt,pr+Fe*3,7);pr+=we*3;var Je=y(We),vt=(1<<Je)-1;if(!Pt&&pr+Le*(Je+7)>Nn)break;for(var st=f(We,Je,1),Fe=0;Fe<Le;){var kt=st[w(pt,pr,vt)];pr+=kt&15;var ei=kt>>>4;if(ei<16)De[Fe++]=ei;else{var wr=0,hr=0;for(ei==16?(hr=3+w(pt,pr,3),pr+=2,wr=De[Fe-1]):ei==17?(hr=3+w(pt,pr,7),pr+=3):ei==18&&(hr=11+w(pt,pr,127),pr+=7);hr--;)De[Fe++]=wr}}var Nr=De.subarray(0,Ge),Kt=De.subarray(Ge);Jr=y(Nr),_n=y(Kt),ir=f(Nr,Jr,1),Yr=f(Kt,_n,1)}else throw"invalid block type";else{var ei=T(pr)+4,vi=pt[ei-4]|pt[ei-3]<<8,Pi=ei+vi;if(Pi>Jt){if(Pt)throw"unexpected EOF";break}yt&&At(or+vi),ct.set(pt.subarray(ei,Pi),or),Qt.b=or+=vi,Qt.p=pr=Pi*8;continue}if(pr>Nn)throw"unexpected EOF"}yt&&At(or+131072);for(var un=(1<<Jr)-1,ar=(1<<_n)-1,Xr=Jr+_n+18;Pt||pr+Xr<Nn;){var wr=ir[x(pt,pr)&un],kr=wr>>>4;if(pr+=wr&15,pr>Nn)throw"unexpected EOF";if(!wr)throw"invalid length/literal";if(kr<256)ct[or++]=kr;else if(kr==256){ir=null;break}else{var gr=kr-254;if(kr>264){var Fe=kr-257,Sn=t[Fe];gr=w(pt,pr,(1<<Sn)-1)+s[Fe],pr+=Sn}var Pn=Yr[x(pt,pr)&ar],ii=Pn>>>4;if(!Pn)throw"invalid distance";pr+=Pn&15;var Kt=c[ii];if(ii>3){var Sn=p[ii];Kt+=x(pt,pr)&(1<<Sn)-1,pr+=Sn}if(pr>Nn)throw"unexpected EOF";yt&&At(or+131072);for(var oi=or+gr;or<oi;or+=4)ct[or]=ct[or-Kt],ct[or+1]=ct[or+1-Kt],ct[or+2]=ct[or+2-Kt],ct[or+3]=ct[or+3-Kt];or=oi}}Qt.l=ir,Qt.p=pr,Qt.b=or,ir&&(Ft=1,Qt.m=Jr,Qt.d=Yr,Qt.n=_n)}while(!Ft);return or==ct.length?ct:L(ct,0,or)},P=function(pt,ct,Qt){Qt<<=ct&7;var Jt=ct/8>>0;pt[Jt]|=Qt,pt[Jt+1]|=Qt>>>8},k=function(pt,ct,Qt){Qt<<=ct&7;var Jt=ct/8>>0;pt[Jt]|=Qt,pt[Jt+1]|=Qt>>>8,pt[Jt+2]|=Qt>>>16},U=function(pt,ct){for(var Qt=[],Jt=0;Jt<pt.length;++Jt)pt[Jt]&&Qt.push({s:Jt,f:pt[Jt]});var yt=Qt.length,Pt=Qt.slice();if(!yt)return[new I(0),0];if(yt==1){var At=new I(Qt[0].s+1);return At[Qt[0].s]=1,[At,1]}Qt.sort(function(Le,De){return Le.f-De.f}),Qt.push({s:-1,f:25001});var Ft=Qt[0],pr=Qt[1],or=0,ir=1,Yr=2;for(Qt[0]={s:-1,f:Ft.f+pr.f,l:Ft,r:pr};ir!=yt-1;)Ft=Qt[Qt[or].f<Qt[Yr].f?or++:Yr++],pr=Qt[or!=ir&&Qt[or].f<Qt[Yr].f?or++:Yr++],Qt[ir++]={s:-1,f:Ft.f+pr.f,l:Ft,r:pr};for(var Jr=Pt[0].s,Jt=1;Jt<yt;++Jt)Pt[Jt].s>Jr&&(Jr=Pt[Jt].s);var _n=new E(Jr+1),Nn=D(Qt[ir-1],_n,0);if(Nn>ct){var Jt=0,zn=0,ei=Nn-ct,vi=1<<ei;for(Pt.sort(function(De,We){return _n[We.s]-_n[De.s]||De.f-We.f});Jt<yt;++Jt){var Pi=Pt[Jt].s;if(_n[Pi]>ct)zn+=vi-(1<<Nn-_n[Pi]),_n[Pi]=ct;else break}for(zn>>>=ei;zn>0;){var Ge=Pt[Jt].s;_n[Ge]<ct?zn-=1<<ct-_n[Ge]++-1:++Jt}for(;Jt>=0&&zn;--Jt){var we=Pt[Jt].s;_n[we]==ct&&(--_n[we],++zn)}Nn=ct}return[new I(_n),Nn]},D=function Ut(pt,ct,Qt){return pt.s==-1?Math.max(Ut(pt.l,ct,Qt+1),Ut(pt.r,ct,Qt+1)):ct[pt.s]=Qt},M=function(pt){for(var ct=pt.length;ct&&!pt[--ct];);for(var Qt=new E(++ct),Jt=0,yt=pt[0],Pt=1,At=function(or){Qt[Jt++]=or},Ft=1;Ft<=ct;++Ft)if(pt[Ft]==yt&&Ft!=ct)++Pt;else{if(!yt&&Pt>2){for(;Pt>138;Pt-=138)At(32754);Pt>2&&(At(Pt>10?Pt-11<<5|28690:Pt-3<<5|12305),Pt=0)}else if(Pt>3){for(At(yt),--Pt;Pt>6;Pt-=6)At(8304);Pt>2&&(At(Pt-3<<5|8208),Pt=0)}for(;Pt--;)At(yt);Pt=1,yt=pt[Ft]}return[Qt.subarray(0,Jt),ct]},B=function(pt,ct){for(var Qt=0,Jt=0;Jt<ct.length;++Jt)Qt+=pt[Jt]*ct[Jt];return Qt},j=function(pt,ct,Qt){var Jt=Qt.length,yt=T(ct+2);pt[yt]=Jt&255,pt[yt+1]=Jt>>>8,pt[yt+2]=pt[yt]^255,pt[yt+3]=pt[yt+1]^255;for(var Pt=0;Pt<Jt;++Pt)pt[yt+Pt+4]=Qt[Pt];return(yt+4+Jt)*8},H=function(pt,ct,Qt,Jt,yt,Pt,At,Ft,pr,or,ir){P(ct,ir++,Qt),++yt[256];for(var Yr=U(yt,15),Jr=Yr[0],_n=Yr[1],Nn=U(Pt,15),zn=Nn[0],ei=Nn[1],vi=M(Jr),Pi=vi[0],Ge=vi[1],we=M(zn),Le=we[0],De=we[1],We=new E(19),Fe=0;Fe<Pi.length;++Fe)We[Pi[Fe]&31]++;for(var Fe=0;Fe<Le.length;++Fe)We[Le[Fe]&31]++;for(var Je=U(We,7),vt=Je[0],st=Je[1],kt=19;kt>4&&!vt[h[kt-1]];--kt);var wr=or+5<<3,hr=B(yt,m)+B(Pt,A)+At,Nr=B(yt,Jr)+B(Pt,zn)+At+14+3*kt+B(We,vt)+(2*We[16]+3*We[17]+7*We[18]);if(wr<=hr&&wr<=Nr)return j(ct,ir,pt.subarray(pr,pr+or));var Kt,un,ar,Xr;if(P(ct,ir,1+(Nr<hr)),ir+=2,Nr<hr){Kt=f(Jr,_n,0),un=Jr,ar=f(zn,ei,0),Xr=zn;var kr=f(vt,st,0);P(ct,ir,Ge-257),P(ct,ir+5,De-1),P(ct,ir+10,kt-4),ir+=14;for(var Fe=0;Fe<kt;++Fe)P(ct,ir+3*Fe,vt[h[Fe]]);ir+=3*kt;for(var gr=[Pi,Le],Sn=0;Sn<2;++Sn)for(var Pn=gr[Sn],Fe=0;Fe<Pn.length;++Fe){var ii=Pn[Fe]&31;P(ct,ir,kr[ii]),ir+=vt[ii],ii>15&&(P(ct,ir,Pn[Fe]>>>5&127),ir+=Pn[Fe]>>>12)}}else Kt=g,un=m,ar=b,Xr=A;for(var Fe=0;Fe<Ft;++Fe)if(Jt[Fe]>255){var ii=Jt[Fe]>>>18&31;k(ct,ir,Kt[ii+257]),ir+=un[ii+257],ii>7&&(P(ct,ir,Jt[Fe]>>>23&31),ir+=t[ii]);var oi=Jt[Fe]&31;k(ct,ir,ar[oi]),ir+=Xr[oi],oi>3&&(k(ct,ir,Jt[Fe]>>>5&8191),ir+=p[oi])}else k(ct,ir,Kt[Jt[Fe]]),ir+=un[Jt[Fe]];return k(ct,ir,Kt[256]),ir+un[256]},K=new C([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),W=new I(0),X=function(pt,ct,Qt,Jt,yt,Pt){var At=pt.length,Ft=new I(Jt+At+5*(1+Math.floor(At/7e3))+yt),pr=Ft.subarray(Jt,Ft.length-yt),or=0;if(!ct||At<8)for(var ir=0;ir<=At;ir+=65535){var Yr=ir+65535;Yr<At?or=j(pr,or,pt.subarray(ir,Yr)):(pr[ir]=Pt,or=j(pr,or,pt.subarray(ir,At)))}else{for(var Jr=K[ct-1],_n=Jr>>>13,Nn=Jr&8191,zn=(1<<Qt)-1,ei=new E(32768),vi=new E(zn+1),Pi=Math.ceil(Qt/3),Ge=2*Pi,we=function(qn){return(pt[qn]^pt[qn+1]<<Pi^pt[qn+2]<<Ge)&zn},Le=new C(25e3),De=new E(288),We=new E(32),Fe=0,Je=0,ir=0,vt=0,st=0,kt=0;ir<At;++ir){var wr=we(ir),hr=ir&32767,Nr=vi[wr];if(ei[hr]=Nr,vi[wr]=hr,st<=ir){var Kt=At-ir;if((Fe>7e3||vt>24576)&&Kt>423){or=H(pt,pr,0,Le,De,We,Je,vt,kt,ir-kt,or),vt=Fe=Je=0,kt=ir;for(var un=0;un<286;++un)De[un]=0;for(var un=0;un<30;++un)We[un]=0}var ar=2,Xr=0,kr=Nn,gr=hr-Nr&32767;if(Kt>2&&wr==we(ir-gr))for(var Sn=Math.min(_n,Kt)-1,Pn=Math.min(32767,ir),ii=Math.min(258,Kt);gr<=Pn&&--kr&&hr!=Nr;){if(pt[ir+ar]==pt[ir+ar-gr]){for(var oi=0;oi<ii&&pt[ir+oi]==pt[ir+oi-gr];++oi);if(oi>ar){if(ar=oi,Xr=gr,oi>Sn)break;for(var ti=Math.min(gr,oi-2),bi=0,un=0;un<ti;++un){var Bn=ir-gr+un+32768&32767,_i=ei[Bn],gn=Bn-_i+32768&32767;gn>bi&&(bi=gn,Nr=Bn)}}}hr=Nr,Nr=ei[hr],gr+=hr-Nr+32768&32767}if(Xr){Le[vt++]=268435456|l[ar]<<18|e[Xr];var Vr=l[ar]&31,xn=e[Xr]&31;Je+=t[Vr]+p[xn],++De[257+Vr],++We[xn],st=ir+ar,++Fe}else Le[vt++]=pt[ir],++De[pt[ir]]}}or=H(pt,pr,Pt,Le,De,We,Je,vt,kt,ir-kt,or),Pt||(or=j(pr,or,W))}return L(Ft,0,Jt+T(or)+yt)},V=function(){for(var Ut=new C(256),pt=0;pt<256;++pt){for(var ct=pt,Qt=9;--Qt;)ct=(ct&1&&3988292384)^ct>>>1;Ut[pt]=ct}return Ut}(),Z=function(){var pt=4294967295;return{p:function(Qt){for(var Jt=pt,yt=0;yt<Qt.length;++yt)Jt=V[Jt&255^Qt[yt]]^Jt>>>8;pt=Jt},d:function(){return pt^4294967295}}},G=function(){var pt=1,ct=0;return{p:function(Jt){for(var yt=pt,Pt=ct,At=Jt.length,Ft=0;Ft!=At;){for(var pr=Math.min(Ft+5552,At);Ft<pr;++Ft)yt+=Jt[Ft],Pt+=yt;yt%=65521,Pt%=65521}pt=yt,ct=Pt},d:function(){return(pt>>>8<<16|(ct&255)<<8|ct>>>8)+((pt&255)<<23)*2}}},Y=function(pt,ct,Qt,Jt,yt){return X(pt,ct.level==null?6:ct.level,ct.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(pt.length)))*1.5):12+ct.mem,Qt,Jt,!yt)},te=function(pt,ct){var Qt={};for(var Jt in pt)Qt[Jt]=pt[Jt];for(var Jt in ct)Qt[Jt]=ct[Jt];return Qt},se=function(pt,ct,Qt){for(var Jt=pt(),yt=pt.toString(),Pt=yt.slice(yt.indexOf("[")+1,yt.lastIndexOf("]")).replace(/ /g,"").split(","),At=0;At<Jt.length;++At){var Ft=Jt[At],pr=Pt[At];if(typeof Ft=="function"){ct+=";"+pr+"=";var or=Ft.toString();if(Ft.prototype)if(or.indexOf("[native code]")!=-1){var ir=or.indexOf(" ",8)+1;ct+=or.slice(ir,or.indexOf("(",ir))}else{ct+=or;for(var Yr in Ft.prototype)ct+=";"+pr+".prototype."+Yr+"="+Ft.prototype[Yr].toString()}else ct+=or}else Qt[pr]=Ft}return[ct,Qt]},Ce=[],he=function(pt){var ct=[];for(var Qt in pt)(pt[Qt]instanceof I||pt[Qt]instanceof E||pt[Qt]instanceof C)&&ct.push((pt[Qt]=new pt[Qt].constructor(pt[Qt])).buffer);return ct},xe=function(pt,ct,Qt,Jt){var yt;if(!Ce[Qt]){for(var Pt="",At={},Ft=pt.length-1,pr=0;pr<Ft;++pr)yt=se(pt[pr],Pt,At),Pt=yt[0],At=yt[1];Ce[Qt]=se(pt[Ft],Pt,At)}var or=te({},Ce[Qt][1]);return _(Ce[Qt][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+ct.toString()+"}",Qt,or,he(or),Jt)},ie=function(){return[I,E,C,t,p,h,s,c,v,S,a,f,y,w,x,T,L,R,dt,Ye,nt]},ee=function(){return[I,E,C,t,p,h,l,e,g,m,b,A,a,K,W,f,P,k,U,D,M,B,j,H,T,L,X,Y,Tt,Ye]},Ze=function(){return[be,Te,re,Z,V]},Se=function(){return[ze,Ke]},Ne=function(){return[gt,re,G]},it=function(){return[Ue]},Ye=function(pt){return postMessage(pt,[pt.buffer])},nt=function(pt){return pt&&pt.size&&new I(pt.size)},je=function(pt,ct,Qt,Jt,yt,Pt){var At=xe(Qt,Jt,yt,function(Ft,pr){At.terminate(),Pt(Ft,pr)});return ct.consume||(pt=new I(pt)),At.postMessage([pt,ct],[pt.buffer]),function(){At.terminate()}},et=function(pt){return pt.ondata=function(ct,Qt){return postMessage([ct,Qt],[ct.buffer])},function(ct){return pt.push(ct.data[0],ct.data[1])}},He=function(pt,ct,Qt,Jt,yt){var Pt,At=xe(pt,Jt,yt,function(Ft,pr){Ft?(At.terminate(),ct.ondata.call(ct,Ft)):(pr[1]&&At.terminate(),ct.ondata.call(ct,Ft,pr[0],pr[1]))});At.postMessage(Qt),ct.push=function(Ft,pr){if(Pt)throw"stream finished";if(!ct.ondata)throw"no stream handler";At.postMessage([Ft,Pt=pr],[Ft.buffer])},ct.terminate=function(){At.terminate()}},pe=function(pt,ct){return pt[ct]|pt[ct+1]<<8},ae=function(pt,ct){return(pt[ct]|pt[ct+1]<<8|pt[ct+2]<<16)+(pt[ct+3]<<23)*2},re=function(pt,ct,Qt){for(;Qt;++ct)pt[ct]=Qt,Qt>>>=8},be=function(pt,ct){var Qt=ct.filename;if(pt[0]=31,pt[1]=139,pt[2]=8,pt[8]=ct.level<2?4:ct.level==9?2:0,pt[9]=3,ct.mtime!=0&&re(pt,4,Math.floor(new Date(ct.mtime||Date.now())/1e3)),Qt){pt[3]=8;for(var Jt=0;Jt<=Qt.length;++Jt)pt[Jt+10]=Qt.charCodeAt(Jt)}},ze=function(pt){if(pt[0]!=31||pt[1]!=139||pt[2]!=8)throw"invalid gzip data";var ct=pt[3],Qt=10;ct&4&&(Qt+=pt[10]|(pt[11]<<8)+2);for(var Jt=(ct>>3&1)+(ct>>4&1);Jt>0;Jt-=!pt[Qt++]);return Qt+(ct&2)},Ke=function(pt){var ct=pt.length;return(pt[ct-4]|pt[ct-3]<<8|pt[ct-2]<<16)+2*(pt[ct-1]<<23)},Te=function(pt){return 10+(pt.filename&&pt.filename.length+1||0)},gt=function(pt,ct){var Qt=ct.level,Jt=Qt==0?0:Qt<6?1:Qt==9?3:2;pt[0]=120,pt[1]=Jt<<6|(Jt?32-2*Jt:1)},Ue=function(pt){if((pt[0]&15)!=8||pt[0]>>>4>7||(pt[0]<<8|pt[1])%31)throw"invalid zlib data";if(pt[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function bt(Ut,pt){return!pt&&typeof Ut=="function"&&(pt=Ut,Ut={}),this.ondata=pt,Ut}var wt=function(){function Ut(pt,ct){!ct&&typeof pt=="function"&&(ct=pt,pt={}),this.ondata=ct,this.o=pt||{}}return Ut.prototype.p=function(pt,ct){this.ondata(Y(pt,this.o,0,0,!ct),ct)},Ut.prototype.push=function(pt,ct){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";this.d=ct,this.p(pt,ct||!1)},Ut}(),Et=function(){function Ut(pt,ct){He([ee,function(){return[et,wt]}],this,bt.call(this,pt,ct),function(Qt){var Jt=new wt(Qt.data);onmessage=et(Jt)},6)}return Ut}();function xt(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ee],function(Qt){return Ye(Tt(Qt.data[0],Qt.data[1]))},0,ct)}function Tt(Ut,pt){return pt===void 0&&(pt={}),Y(Ut,pt,0,0)}var Be=function(){function Ut(pt){this.s={},this.p=new I(0),this.ondata=pt}return Ut.prototype.e=function(pt){if(this.d)throw"stream finished";if(!this.ondata)throw"no stream handler";var ct=this.p.length,Qt=new I(ct+pt.length);Qt.set(this.p),Qt.set(pt,ct),this.p=Qt},Ut.prototype.c=function(pt){this.d=this.s.i=pt||!1;var ct=this.s.b,Qt=R(this.p,this.o,this.s);this.ondata(L(Qt,ct,this.s.b),this.d),this.o=L(Qt,this.s.b-32768),this.s.b=this.o.length,this.p=L(this.p,this.s.p/8>>0),this.s.p&=7},Ut.prototype.push=function(pt,ct){this.e(pt),this.c(ct)},Ut}(),ce=function(){function Ut(pt){this.ondata=pt,He([ie,function(){return[et,Be]}],this,0,function(){var ct=new Be;onmessage=et(ct)},7)}return Ut}();function q(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ie],function(Qt){return Ye(dt(Qt.data[0],nt(Qt.data[1])))},1,ct)}function dt(Ut,pt){return R(Ut,pt)}var Ve=function(){function Ut(pt,ct){this.c=Z(),this.l=0,this.v=1,wt.call(this,pt,ct)}return Ut.prototype.push=function(pt,ct){wt.prototype.push.call(this,pt,ct)},Ut.prototype.p=function(pt,ct){this.c.p(pt),this.l+=pt.length;var Qt=Y(pt,this.o,this.v&&Te(this.o),ct&&8,!ct);this.v&&(be(Qt,this.o),this.v=0),ct&&(re(Qt,Qt.length-8,this.c.d()),re(Qt,Qt.length-4,this.l)),this.ondata(Qt,ct)},Ut}(),de=function(){function Ut(pt,ct){He([ee,Ze,function(){return[et,wt,Ve]}],this,bt.call(this,pt,ct),function(Qt){var Jt=new Ve(Qt.data);onmessage=et(Jt)},8)}return Ut}();function Ht(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ee,Ze,function(){return[tr]}],function(Qt){return Ye(tr(Qt.data[0],Qt.data[1]))},2,ct)}function tr(Ut,pt){pt===void 0&&(pt={});var ct=Z(),Qt=Ut.length;ct.p(Ut);var Jt=Y(Ut,pt,Te(pt),8),yt=Jt.length;return be(Jt,pt),re(Jt,yt-8,ct.d()),re(Jt,yt-4,Qt),Jt}var lt=function(){function Ut(pt){this.v=1,Be.call(this,pt)}return Ut.prototype.push=function(pt,ct){if(Be.prototype.e.call(this,pt),this.v){var Qt=ze(this.p);if(Qt>=this.p.length&&!ct)return;this.p=this.p.subarray(Qt),this.v=0}if(ct){if(this.p.length<8)throw"invalid gzip stream";this.p=this.p.subarray(0,-8)}Be.prototype.c.call(this,ct)},Ut}(),Xt=function(){function Ut(pt){this.ondata=pt,He([ie,Se,function(){return[et,Be,lt]}],this,0,function(){var ct=new lt;onmessage=et(ct)},9)}return Ut}();function sr(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ie,Se,function(){return[Kr]}],function(Qt){return Ye(Kr(Qt.data[0]))},3,ct)}function Kr(Ut,pt){return R(Ut.subarray(ze(Ut),-8),pt||new I(Ke(Ut)))}var rr=function(){function Ut(pt,ct){this.c=G(),this.v=1,wt.call(this,pt,ct)}return Ut.prototype.push=function(pt,ct){wt.prototype.push.call(this,pt,ct)},Ut.prototype.p=function(pt,ct){this.c.p(pt);var Qt=Y(pt,this.o,this.v&&2,ct&&4,!ct);this.v&&(gt(Qt,this.o),this.v=0),ct&&re(Qt,Qt.length-4,this.c.d()),this.ondata(Qt,ct)},Ut}(),nr=function(){function Ut(pt,ct){He([ee,Ne,function(){return[et,wt,rr]}],this,bt.call(this,pt,ct),function(Qt){var Jt=new rr(Qt.data);onmessage=et(Jt)},10)}return Ut}();function Nt(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ee,Ne,function(){return[ot]}],function(Qt){return Ye(ot(Qt.data[0],Qt.data[1]))},4,ct)}function ot(Ut,pt){pt===void 0&&(pt={});var ct=G();ct.p(Ut);var Qt=Y(Ut,pt,2,4);return gt(Qt,pt),re(Qt,Qt.length-4,ct.d()),Qt}var Qe=function(){function Ut(pt){this.v=1,Be.call(this,pt)}return Ut.prototype.push=function(pt,ct){if(Be.prototype.e.call(this,pt),this.v){if(this.p.length<2&&!ct)return;this.p=this.p.subarray(2),this.v=0}if(ct){if(this.p.length<4)throw"invalid zlib stream";this.p=this.p.subarray(0,-4)}Be.prototype.c.call(this,ct)},Ut}(),qt=function(){function Ut(pt){this.ondata=pt,He([ie,it,function(){return[et,Be,Qe]}],this,0,function(){var ct=new Qe;onmessage=et(ct)},11)}return Ut}();function xr(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return je(Ut,pt,[ie,it,function(){return[vr]}],function(Qt){return Ye(vr(Qt.data[0],nt(Qt.data[1])))},5,ct)}function vr(Ut,pt){return R((Ue(Ut),Ut.subarray(2,-4)),pt)}var fr=function(){function Ut(pt){this.G=lt,this.I=Be,this.Z=Qe,this.ondata=pt}return Ut.prototype.push=function(pt,ct){if(!this.ondata)throw"no stream handler";if(this.s)this.s.push(pt,ct);else{if(this.p&&this.p.length){var Qt=new I(this.p.length+pt.length);Qt.set(this.p),Qt.set(pt,this.p.length)}else this.p=pt;if(this.p.length>2){var Jt=this,yt=function(){Jt.ondata.apply(Jt,arguments)};this.s=this.p[0]==31&&this.p[1]==139&&this.p[2]==8?new this.G(yt):(this.p[0]&15)!=8||this.p[0]>>4>7||(this.p[0]<<8|this.p[1])%31?new this.I(yt):new this.Z(yt),this.s.push(this.p,ct),this.p=null}}},Ut}(),An=function(){function Ut(pt){this.G=Xt,this.I=ce,this.Z=qt,this.ondata=pt}return Ut.prototype.push=function(pt,ct){fr.prototype.push.call(this,pt,ct)},Ut}();function $r(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";return Ut[0]==31&&Ut[1]==139&&Ut[2]==8?sr(Ut,pt,ct):(Ut[0]&15)!=8||Ut[0]>>4>7||(Ut[0]<<8|Ut[1])%31?q(Ut,pt,ct):xr(Ut,pt,ct)}function Ln(Ut,pt){return Ut[0]==31&&Ut[1]==139&&Ut[2]==8?Kr(Ut,pt):(Ut[0]&15)!=8||Ut[0]>>4>7||(Ut[0]<<8|Ut[1])%31?dt(Ut,pt):vr(Ut,pt)}var $e=function Ut(pt,ct,Qt,Jt){for(var yt in pt){var Pt=pt[yt],At=ct+yt;Pt instanceof I?Qt[At]=[Pt,Jt]:Array.isArray(Pt)?Qt[At]=[Pt[0],te(Jt,Pt[1])]:Ut(Pt,At+"/",Qt,Jt)}};function tt(Ut,pt){var ct=Ut.length;if(!pt&&typeof TextEncoder!="undefined")return new TextEncoder().encode(Ut);for(var Qt=new I(Ut.length+(Ut.length>>>1)),Jt=0,yt=function(or){Qt[Jt++]=or},Pt=0;Pt<ct;++Pt){if(Jt+5>Qt.length){var At=new I(Jt+8+(ct-Pt<<1));At.set(Qt),Qt=At}var Ft=Ut.charCodeAt(Pt);Ft<128||pt?yt(Ft):Ft<2048?(yt(192|Ft>>>6),yt(128|Ft&63)):Ft>55295&&Ft<57344?(Ft=65536+(Ft&1023<<10)|Ut.charCodeAt(++Pt)&1023,yt(240|Ft>>>18),yt(128|Ft>>>12&63),yt(128|Ft>>>6&63),yt(128|Ft&63)):(yt(224|Ft>>>12),yt(128|Ft>>>6&63),yt(128|Ft&63))}return L(Qt,0,Jt)}function ve(Ut,pt){var ct="";if(!pt&&typeof TextDecoder!="undefined")return new TextDecoder().decode(Ut);for(var Qt=0;Qt<Ut.length;){var Jt=Ut[Qt++];Jt<128||pt?ct+=String.fromCharCode(Jt):Jt<224?ct+=String.fromCharCode((Jt&31)<<6|Ut[Qt++]&63):Jt<240?ct+=String.fromCharCode((Jt&15)<<12|(Ut[Qt++]&63)<<6|Ut[Qt++]&63):(Jt=((Jt&15)<<18|(Ut[Qt++]&63)<<12|(Ut[Qt++]&63)<<6|Ut[Qt++]&63)-65536,ct+=String.fromCharCode(55296|Jt>>10,56320|Jt&1023))}return ct}var _e=function(pt,ct){return ct+30+pe(pt,ct+26)+pe(pt,ct+28)},ke=function(pt,ct,Qt){var Jt=pe(pt,ct+28),yt=ve(pt.subarray(ct+46,ct+46+Jt),!(pe(pt,ct+8)&2048)),Pt=ct+46+Jt,At=Qt?rt(pt,Pt):[ae(pt,ct+20),ae(pt,ct+24),ae(pt,ct+42)],Ft=At[0],pr=At[1],or=At[2];return[pe(pt,ct+10),Ft,pr,yt,Pt+pe(pt,ct+30)+pe(pt,ct+32),or]},rt=function(pt,ct){for(;pe(pt,ct)!=1;ct+=4+pe(pt,ct+2));return[ae(pt,ct+12),ae(pt,ct+4),ae(pt,ct+20)]},Wt=function(pt,ct,Qt,Jt,yt,Pt,At,Ft,pr,or){var ir=Pt.length,Yr=Jt.length;re(pt,ct,pr!=null?33639248:67324752),ct+=4,pr!=null&&(pt[ct]=20,ct+=2),pt[ct]=20,ct+=2,pt[ct++]=or==8&&(Ft.level==1?6:Ft.level<6?4:Ft.level==9?2:0),pt[ct++]=At&&8,pt[ct]=or,ct+=2;var Jr=new Date(Ft.mtime||Date.now()),_n=Jr.getFullYear()-1980;if(_n<0||_n>119)throw"date not in range 1980-2099";re(pt,ct,(_n<<24)*2|Jr.getMonth()+1<<21|Jr.getDate()<<16|Jr.getHours()<<11|Jr.getMinutes()<<5|Jr.getSeconds()>>>1),ct+=4,re(pt,ct,Qt),re(pt,ct+4,Yr),re(pt,ct+8,yt),re(pt,ct+12,ir),ct+=16,pr!=null&&(re(pt,ct+=10,pr),ct+=4),pt.set(Pt,ct),ct+=ir,pr==null&&pt.set(Jt,ct)},Bt=function(pt,ct,Qt,Jt,yt){re(pt,ct,101010256),re(pt,ct+8,Qt),re(pt,ct+10,Qt),re(pt,ct+12,Jt),re(pt,ct+16,yt)};function Gt(Ut,pt,ct){if(ct||(ct=pt,pt={}),typeof ct!="function")throw"no callback";var Qt={};$e(Ut,"",Qt,pt);var Jt=Object.keys(Qt),yt=Jt.length,Pt=0,At=0,Ft=yt,pr=new Array(yt),or=[],ir=function(){for(var zn=0;zn<or.length;++zn)or[zn]()},Yr=function(){var zn=new I(At+22),ei=Pt,vi=At-Pt;At=0;for(var Pi=0;Pi<Ft;++Pi){var Ge=pr[Pi];try{Wt(zn,At,Ge.c,Ge.d,Ge.m,Ge.n,Ge.u,Ge.p,null,Ge.t),Wt(zn,Pt,Ge.c,Ge.d,Ge.m,Ge.n,Ge.u,Ge.p,At,Ge.t),Pt+=46+Ge.n.length,At+=30+Ge.n.length+Ge.d.length}catch(we){return ct(we,null)}}Bt(zn,Pt,pr.length,vi,ei),ct(null,zn)};yt||Yr();for(var Jr=function(zn){var ei=Jt[zn],vi=Qt[ei],Pi=vi[0],Ge=vi[1],we=Z(),Le=Pi.length;we.p(Pi);var De=tt(ei),We=De.length,Fe=Ge.level==0?0:8,Je=function(st,kt){if(st)ir(),ct(st,null);else{var wr=kt.length;pr[zn]={t:Fe,d:kt,m:Le,c:we.d(),u:ei.length!=wr,n:De,p:Ge},Pt+=30+We+wr,At+=76+2*We+wr,--yt||Yr()}};if(De.length>65535&&Je("filename too long",null),!Fe)Je(null,Pi);else if(Le<16e4)try{Je(null,Tt(Pi,Ge))}catch(vt){Je(vt,null)}else or.push(xt(Pi,Ge,Je))},_n=0;_n<Ft;++_n)Jr(_n);return ir}function Rr(Ut,pt){pt===void 0&&(pt={});var ct={},Qt=[];$e(Ut,"",ct,pt);var Jt=0,yt=0;for(var Pt in ct){var At=ct[Pt],Ft=At[0],pr=At[1],or=pr.level==0?0:8,ir=tt(Pt),Yr=ir.length;if(ir.length>65535)throw"filename too long";var Jr=or?Tt(Ft,pr):Ft,_n=Jr.length,Nn=Z();Nn.p(Ft),Qt.push({t:or,d:Jr,m:Ft.length,c:Nn.d(),u:Pt.length!=Yr,n:ir,o:Jt,p:pr}),Jt+=30+Yr+_n,yt+=76+2*Yr+_n}for(var zn=new I(yt+22),ei=Jt,vi=yt-Jt,Pi=0;Pi<Qt.length;++Pi){var Ge=Qt[Pi];Wt(zn,Ge.o,Ge.c,Ge.d,Ge.m,Ge.n,Ge.u,Ge.p,null,Ge.t),Wt(zn,Jt,Ge.c,Ge.d,Ge.m,Ge.n,Ge.u,Ge.p,Ge.o,Ge.t),Jt+=46+Ge.n.length}return Bt(zn,Jt,Qt.length,vi,ei),zn}function Pr(Ut,pt){if(typeof pt!="function")throw"no callback";for(var ct=[],Qt=function(){for(var Jr=0;Jr<ct.length;++Jr)ct[Jr]()},Jt={},yt=Ut.length-22;ae(Ut,yt)!=101010256;--yt)if(!yt||Ut.length-yt>65558){pt("invalid zip file",null);return}var Pt=pe(Ut,yt+8);Pt||pt(null,{});var At=Pt,Ft=ae(Ut,yt+16),pr=Ft==4294967295;if(pr){if(yt=ae(Ut,yt-12),ae(Ut,yt)!=101075792)throw"invalid zip file";At=Pt=ae(Ut,yt+32),Ft=ae(Ut,yt+48)}for(var or=function(Jr){var _n=ke(Ut,Ft,pr),Nn=_n[0],zn=_n[1],ei=_n[2],vi=_n[3],Pi=_n[4],Ge=_n[5],we=_e(Ut,Ge);Ft=Pi;var Le=function(Fe,Je){Fe?(Qt(),pt(Fe,null)):(Jt[vi]=Je,--Pt||pt(null,Jt))};if(!Nn)Le(null,L(Ut,we,we+zn));else if(Nn==8){var De=Ut.subarray(we,we+zn);if(zn<32e4)try{Le(null,dt(De,new I(ei)))}catch(We){Le(We,null)}else ct.push(q(De,{size:ei},Le))}else Le("unknown compression type "+Nn,null)},ir=0;ir<At;++ir)or(ir);return Qt}function cn(Ut){for(var pt={},ct=Ut.length-22;ae(Ut,ct)!=101010256;--ct)if(!ct||Ut.length-ct>65558)throw"invalid zip file";var Qt=pe(Ut,ct+8);if(!Qt)return{};var Jt=ae(Ut,ct+16),yt=Jt==4294967295;if(yt){if(ct=ae(Ut,ct-12),ae(Ut,ct)!=101075792)throw"invalid zip file";Qt=ae(Ut,ct+32),Jt=ae(Ut,ct+48)}for(var Pt=0;Pt<Qt;++Pt){var At=ke(Ut,Jt,yt),Ft=At[0],pr=At[1],or=At[2],ir=At[3],Yr=At[4],Jr=At[5],_n=_e(Ut,Jr);if(Jt=Yr,!Ft)pt[ir]=L(Ut,_n,_n+pr);else if(Ft==8)pt[ir]=dt(Ut.subarray(_n,_n+pr),new I(or));else throw"unknown compression type "+Ft}return pt}},czTT:function(ue,z,d){},d4KN:function(ue,z,d){var O=d("ProS"),_=d("bYtY");function I(E,C){_.each(C,function(t){t.update="updateView",O.registerAction(t,function(p,h){var o={};return h.eachComponent({mainType:"series",subType:E,query:p},function(r){r[t.method]&&r[t.method](p.name,p.dataIndex);var s=r.getData();s.each(function(l){var n=s.getName(l);o[n]=r.isSelected(n)||!1})}),{name:p.name,selected:o,seriesId:p.seriesId}})})}ue.exports=I},dBmv:function(ue,z,d){var O=d("ProS"),_=d("szbU");d("vF/C"),d("qwVE"),d("MHoB"),d("PNag"),d("1u/T"),O.registerPreprocessor(_)},"dF/Y":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="DownloadOutlined";var p=z.a=_.forwardRef(t)},dMvE:function(ue,z){var d={linear:function(I){return I},quadraticIn:function(I){return I*I},quadraticOut:function(I){return I*(2-I)},quadraticInOut:function(I){return(I*=2)<1?.5*I*I:-.5*(--I*(I-2)-1)},cubicIn:function(I){return I*I*I},cubicOut:function(I){return--I*I*I+1},cubicInOut:function(I){return(I*=2)<1?.5*I*I*I:.5*((I-=2)*I*I+2)},quarticIn:function(I){return I*I*I*I},quarticOut:function(I){return 1- --I*I*I*I},quarticInOut:function(I){return(I*=2)<1?.5*I*I*I*I:-.5*((I-=2)*I*I*I-2)},quinticIn:function(I){return I*I*I*I*I},quinticOut:function(I){return--I*I*I*I*I+1},quinticInOut:function(I){return(I*=2)<1?.5*I*I*I*I*I:.5*((I-=2)*I*I*I*I+2)},sinusoidalIn:function(I){return 1-Math.cos(I*Math.PI/2)},sinusoidalOut:function(I){return Math.sin(I*Math.PI/2)},sinusoidalInOut:function(I){return .5*(1-Math.cos(Math.PI*I))},exponentialIn:function(I){return I===0?0:Math.pow(1024,I-1)},exponentialOut:function(I){return I===1?1:1-Math.pow(2,-10*I)},exponentialInOut:function(I){return I===0?0:I===1?1:(I*=2)<1?.5*Math.pow(1024,I-1):.5*(-Math.pow(2,-10*(I-1))+2)},circularIn:function(I){return 1-Math.sqrt(1-I*I)},circularOut:function(I){return Math.sqrt(1- --I*I)},circularInOut:function(I){return(I*=2)<1?-.5*(Math.sqrt(1-I*I)-1):.5*(Math.sqrt(1-(I-=2)*I)+1)},elasticIn:function(I){var E,C=.1,t=.4;return I===0?0:I===1?1:(!C||C<1?(C=1,E=t/4):E=t*Math.asin(1/C)/(2*Math.PI),-(C*Math.pow(2,10*(I-=1))*Math.sin((I-E)*(2*Math.PI)/t)))},elasticOut:function(I){var E,C=.1,t=.4;return I===0?0:I===1?1:(!C||C<1?(C=1,E=t/4):E=t*Math.asin(1/C)/(2*Math.PI),C*Math.pow(2,-10*I)*Math.sin((I-E)*(2*Math.PI)/t)+1)},elasticInOut:function(I){var E,C=.1,t=.4;return I===0?0:I===1?1:(!C||C<1?(C=1,E=t/4):E=t*Math.asin(1/C)/(2*Math.PI),(I*=2)<1?-.5*(C*Math.pow(2,10*(I-=1))*Math.sin((I-E)*(2*Math.PI)/t)):C*Math.pow(2,-10*(I-=1))*Math.sin((I-E)*(2*Math.PI)/t)*.5+1)},backIn:function(I){var E=1.70158;return I*I*((E+1)*I-E)},backOut:function(I){var E=1.70158;return--I*I*((E+1)*I+E)+1},backInOut:function(I){var E=1.70158*1.525;return(I*=2)<1?.5*(I*I*((E+1)*I-E)):.5*((I-=2)*I*((E+1)*I+E)+2)},bounceIn:function(I){return 1-d.bounceOut(1-I)},bounceOut:function(I){return I<1/2.75?7.5625*I*I:I<2/2.75?7.5625*(I-=1.5/2.75)*I+.75:I<2.5/2.75?7.5625*(I-=2.25/2.75)*I+.9375:7.5625*(I-=2.625/2.75)*I+.984375},bounceInOut:function(I){return I<.5?d.bounceIn(I*2)*.5:d.bounceOut(I*2-1)*.5+.5}},O=d;ue.exports=O},diRs:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("q1tI"),E=d.n(I),C=d("3S7+"),t=d("H84U"),p=d("bogI"),h=function(r,s){var l={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&s.indexOf(n)<0&&(l[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,n=Object.getOwnPropertySymbols(r);c<n.length;c++)s.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(r,n[c])&&(l[n[c]]=r[n[c]]);return l},o=I.forwardRef(function(r,s){var l=r.prefixCls,n=r.title,c=r.content,e=h(r,["prefixCls","title","content"]),a=I.useContext(t.b),i=a.getPrefixCls,u=function(A){return I.createElement(I.Fragment,null,n&&I.createElement("div",{className:"".concat(A,"-title")},Object(p.a)(n)),I.createElement("div",{className:"".concat(A,"-inner-content")},Object(p.a)(c)))},f=i("popover",l);return I.createElement(C.a,_()({},e,{prefixCls:f,ref:s,overlay:u(f)}))});o.displayName="Popover",o.defaultProps={placement:"top",transitionName:"zoom-big",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},z.a=o},digP:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={icon:function(I,E){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:E}},{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:I}}]}},name:"file",theme:"twotone"};z.default=O},dmGj:function(ue,z,d){var O=d("DEFe"),_=d("ProS"),I=_.extendComponentView({type:"geo",init:function(E,C){var t=new O(C,!0);this._mapDraw=t,this.group.add(t.group)},render:function(E,C,t,p){if(p&&p.type==="geoToggleSelect"&&p.from===this.uid)return;var h=this._mapDraw;E.get("show")?h.draw(E,C,t,this,p):this._mapDraw.group.removeAll(),this.group.silent=E.get("silent")},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});ue.exports=I},dnwI:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("YH21"),E=d("Kagy"),C=d("IUWy"),t=E.toolbox.dataView,p=new Array(60).join("-"),h=" ";function o(g){var v={},b=[],S=[];return g.eachRawSeries(function(y){var w=y.coordinateSystem;if(w&&(w.type==="cartesian2d"||w.type==="polar")){var x=w.getBaseAxis();if(x.type==="category"){var T=x.dim+"_"+x.index;v[T]||(v[T]={categoryAxis:x,valueAxis:w.getOtherAxis(x),series:[]},S.push({axisDim:x.dim,axisIndex:x.index})),v[T].series.push(y)}else b.push(y)}else b.push(y)}),{seriesGroupByCategoryAxis:v,other:b,meta:S}}function r(g){var v=[];return _.each(g,function(b,S){var y=b.categoryAxis,w=b.valueAxis,x=w.dim,T=[" "].concat(_.map(b.series,function(D){return D.name})),L=[y.model.getCategories()];_.each(b.series,function(D){L.push(D.getRawData().mapArray(x,function(M){return M}))});for(var R=[T.join(h)],P=0;P<L[0].length;P++){for(var k=[],U=0;U<L.length;U++)k.push(L[U][P]);R.push(k.join(h))}v.push(R.join(`
`))}),v.join(`
`+p+`
`)}function s(g){return _.map(g,function(v){var b=v.getRawData(),S=[v.name],y=[];return b.each(b.dimensions,function(){for(var w=arguments.length,x=arguments[w-1],T=b.getName(x),L=0;L<w-1;L++)y[L]=arguments[L];S.push((T?T+h:"")+y.join(h))}),S.join(`
`)}).join(`
`+p+`
`)}function l(g){var v=o(g);return{value:_.filter([r(v.seriesGroupByCategoryAxis),s(v.other)],function(b){return b.replace(/[\n\t\s]/g,"")}).join(`
`+p+`
`),meta:v.meta}}function n(g){return g.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function c(g){var v=g.slice(0,g.indexOf(`
`));if(v.indexOf(h)>=0)return!0}var e=new RegExp("["+h+"]+","g");function a(g){for(var v=g.split(/\n+/g),b=n(v.shift()).split(e),S=[],y=_.map(b,function(L){return{name:L,data:[]}}),w=0;w<v.length;w++){var x=n(v[w]).split(e);S.push(x.shift());for(var T=0;T<x.length;T++)y[T]&&(y[T].data[w]=x[T])}return{series:y,categories:S}}function i(g){for(var v=g.split(/\n+/g),b=n(v.shift()),S=[],y=0;y<v.length;y++){var w=n(v[y]).split(e),x="",T,L=!1;isNaN(w[0])?(L=!0,x=w[0],w=w.slice(1),S[y]={name:x,value:[]},T=S[y].value):T=S[y]=[];for(var R=0;R<w.length;R++)T.push(+w[R]);T.length===1&&(L?S[y].value=T[0]:S[y]=T[0])}return{name:b,data:S}}function u(g,v){var b=g.split(new RegExp(`
*`+p+`
*`,"g")),S={series:[]};return _.each(b,function(y,w){if(c(y)){var x=a(y),T=v[w],L=T.axisDim+"Axis";T&&(S[L]=S[L]||[],S[L][T.axisIndex]={data:x.categories},S.series=S.series.concat(x.series))}else{var x=i(y);S.series.push(x)}}),S}function f(g){this._dom=null,this.model=g}f.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:_.clone(t.title),lang:_.clone(t.lang),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"},f.prototype.onclick=function(g,v){var b=v.getDom(),S=this.model;this._dom&&b.removeChild(this._dom);var y=document.createElement("div");y.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",y.style.backgroundColor=S.get("backgroundColor")||"#fff";var w=document.createElement("h4"),x=S.get("lang")||[];w.innerHTML=x[0]||S.get("title"),w.style.cssText="margin: 10px 20px;",w.style.color=S.get("textColor");var T=document.createElement("div"),L=document.createElement("textarea");T.style.cssText="display:block;width:100%;overflow:auto;";var R=S.get("optionToContent"),P=S.get("contentToOption"),k=l(g);if(typeof R=="function"){var U=R(v.getOption());typeof U=="string"?T.innerHTML=U:_.isDom(U)&&T.appendChild(U)}else T.appendChild(L),L.readOnly=S.get("readOnly"),L.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",L.style.color=S.get("textColor"),L.style.borderColor=S.get("textareaBorderColor"),L.style.backgroundColor=S.get("textareaColor"),L.value=k.value;var D=k.meta,M=document.createElement("div");M.style.cssText="position:absolute;bottom:0;left:0;right:0;";var B="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",j=document.createElement("div"),H=document.createElement("div");B+=";background-color:"+S.get("buttonColor"),B+=";color:"+S.get("buttonTextColor");var K=this;function W(){b.removeChild(y),K._dom=null}I.addEventListener(j,"click",W),I.addEventListener(H,"click",function(){var X;try{typeof P=="function"?X=P(T,v.getOption()):X=u(L.value,D)}catch(V){throw W(),new Error("Data view format error "+V)}X&&v.dispatchAction({type:"changeDataView",newOption:X}),W()}),j.innerHTML=x[1],H.innerHTML=x[2],H.style.cssText=B,j.style.cssText=B,!S.get("readOnly")&&M.appendChild(H),M.appendChild(j),y.appendChild(w),y.appendChild(T),y.appendChild(M),T.style.height=b.clientHeight-80+"px",b.appendChild(y),this._dom=y},f.prototype.remove=function(g,v){this._dom&&v.getDom().removeChild(this._dom)},f.prototype.dispose=function(g,v){this.remove(g,v)};function m(g,v){return _.map(g,function(b,S){var y=v&&v[S];return _.isObject(y)&&!_.isArray(y)?(_.isObject(b)&&!_.isArray(b)&&(b=b.value),_.defaults({value:b},y)):b})}C.register("dataView",f),O.registerAction({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(g,v){var b=[];_.each(g.newOption.series,function(S){var y=v.getSeriesByName(S.name)[0];if(!y)b.push(_.extend({type:"scatter"},S));else{var w=y.get("data");b.push({name:S.name,data:m(S.data,w)})}}),v.mergeOption(_.defaults({series:b},g.newOption))});var A=f;ue.exports=A},dqUG:function(ue,z,d){var O=d("Gev7"),_=d("bYtY"),I=d("6GrX"),E=d("pzxd"),C=d("gut8"),t=C.ContextCachedBy,p=function(r){O.call(this,r)};p.prototype={constructor:p,type:"text",brush:function(r,s){var l=this.style;this.__dirty&&E.normalizeTextStyle(l,!0),l.fill=l.stroke=l.shadowBlur=l.shadowColor=l.shadowOffsetX=l.shadowOffsetY=null;var n=l.text;if(n!=null&&(n+=""),!E.needDrawText(n,l)){r.__attrCachedBy=t.NONE;return}this.setTransform(r),E.renderText(this,r,n,l,null,s),this.restoreTransform(r)},getBoundingRect:function(){var r=this.style;if(this.__dirty&&E.normalizeTextStyle(r,!0),!this._rect){var s=r.text;s!=null?s+="":s="";var l=I.getBoundingRect(r.text+"",r.font,r.textAlign,r.textVerticalAlign,r.textPadding,r.textLineHeight,r.rich);if(l.x+=r.x||0,l.y+=r.y||0,E.getStroke(r.textStroke,r.textStrokeWidth)){var n=r.textStrokeWidth;l.x-=n/2,l.y-=n/2,l.width+=n,l.height+=n}this._rect=l}return this._rect}},_.inherits(p,O);var h=p;ue.exports=h},dt0z:function(ue,z,d){var O=d("zoYe");function _(I){return I==null?"":O(I)}ue.exports=_},dtIV:function(ue,z,d){"use strict";d.r(z),function(O){d.d(z,"AcroForm",function(){return Ve}),d.d(z,"AcroFormAppearance",function(){return q}),d.d(z,"AcroFormButton",function(){return bt}),d.d(z,"AcroFormCheckBox",function(){return Tt}),d.d(z,"AcroFormChoiceField",function(){return Ke}),d.d(z,"AcroFormComboBox",function(){return gt}),d.d(z,"AcroFormEditBox",function(){return Ue}),d.d(z,"AcroFormListBox",function(){return Te}),d.d(z,"AcroFormPasswordField",function(){return ce}),d.d(z,"AcroFormPushButton",function(){return wt}),d.d(z,"AcroFormRadioButton",function(){return Et}),d.d(z,"AcroFormTextField",function(){return Be}),d.d(z,"GState",function(){return U}),d.d(z,"ShadingPattern",function(){return M}),d.d(z,"TilingPattern",function(){return B}),d.d(z,"jsPDF",function(){return j});var _=d("cDf5"),I=d.n(_),E=d("crp1");/** @license
*
* jsPDF - PDF Document creation from JavaScript
* Version 2.5.1 Built on 2022-01-28T15:37:57.791Z
* CommitID 00000000
*
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
* 2015-2021 yWorks GmbH, http://www.yworks.com
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
* 2010 Aaron Spike, https://github.com/acspike
* 2012 Willow Systems Corporation, https://github.com/willowsystems
* 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
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* Contributor(s):
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
* kim3er, mfo, alnorth, Flamenco
*/var C=function(){return typeof window!="undefined"?window:typeof O!="undefined"?O:typeof self!="undefined"?self:this}();function t(){C.console&&typeof C.console.log=="function"&&C.console.log.apply(C.console,arguments)}var p={log:t,warn:function(we){C.console&&(typeof C.console.warn=="function"?C.console.warn.apply(C.console,arguments):t.call(null,arguments))},error:function(we){C.console&&(typeof C.console.error=="function"?C.console.error.apply(C.console,arguments):t(we))}};function h(Ge,we,Le){var De=new XMLHttpRequest;De.open("GET",Ge),De.responseType="blob",De.onload=function(){n(De.response,we,Le)},De.onerror=function(){p.error("could not download file")},De.send()}function o(Ge){var we=new XMLHttpRequest;we.open("HEAD",Ge,!1);try{we.send()}catch(Le){}return we.status>=200&&we.status<=299}function r(Ge){try{Ge.dispatchEvent(new MouseEvent("click"))}catch(Le){var we=document.createEvent("MouseEvents");we.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),Ge.dispatchEvent(we)}}var s,l,n=C.saveAs||((typeof window=="undefined"?"undefined":I()(window))!=="object"||window!==C?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(Ge,we,Le){var De=C.URL||C.webkitURL,We=document.createElement("a");we=we||Ge.name||"download",We.download=we,We.rel="noopener",typeof Ge=="string"?(We.href=Ge,We.origin!==location.origin?o(We.href)?h(Ge,we,Le):r(We,We.target="_blank"):r(We)):(We.href=De.createObjectURL(Ge),setTimeout(function(){De.revokeObjectURL(We.href)},4e4),setTimeout(function(){r(We)},0))}:"msSaveOrOpenBlob"in navigator?function(Ge,we,Le){if(we=we||Ge.name||"download",typeof Ge=="string")if(o(Ge))h(Ge,we,Le);else{var De=document.createElement("a");De.href=Ge,De.target="_blank",setTimeout(function(){r(De)})}else navigator.msSaveOrOpenBlob(function(We,Fe){return Fe===void 0?Fe={autoBom:!1}:I()(Fe)!=="object"&&(p.warn("Deprecated: Expected third argument to be a object"),Fe={autoBom:!Fe}),Fe.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(We.type)?new Blob([String.fromCharCode(65279),We],{type:We.type}):We}(Ge,Le),we)}:function(Ge,we,Le,De){if((De=De||open("","_blank"))&&(De.document.title=De.document.body.innerText="downloading..."),typeof Ge=="string")return h(Ge,we,Le);var We=Ge.type==="application/octet-stream",Fe=/constructor/i.test(C.HTMLElement)||C.safari,Je=/CriOS\/[\d]+/.test(navigator.userAgent);if((Je||We&&Fe)&&(typeof FileReader=="undefined"?"undefined":I()(FileReader))==="object"){var vt=new FileReader;vt.onloadend=function(){var wr=vt.result;wr=Je?wr:wr.replace(/^data:[^;]*;/,"data:attachment/file;"),De?De.location.href=wr:location=wr,De=null},vt.readAsDataURL(Ge)}else{var st=C.URL||C.webkitURL,kt=st.createObjectURL(Ge);De?De.location=kt:location.href=kt,De=null,setTimeout(function(){st.revokeObjectURL(kt)},4e4)}});/**
* A class to parse color values
* @author Stoyan Stefanov <sstoo@gmail.com>
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
* @license Use it if you like it
*/function c(Ge){var we;Ge=Ge||"",this.ok=!1,Ge.charAt(0)=="#"&&(Ge=Ge.substr(1,6)),Ge={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"}[Ge=(Ge=Ge.replace(/ /g,"")).toLowerCase()]||Ge;for(var Le=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(st){return[parseInt(st[1]),parseInt(st[2]),parseInt(st[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(st){return[parseInt(st[1],16),parseInt(st[2],16),parseInt(st[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(st){return[parseInt(st[1]+st[1],16),parseInt(st[2]+st[2],16),parseInt(st[3]+st[3],16)]}}],De=0;De<Le.length;De++){var We=Le[De].re,Fe=Le[De].process,Je=We.exec(Ge);Je&&(we=Fe(Je),this.r=we[0],this.g=we[1],this.b=we[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var vt=this.r.toString(16),st=this.g.toString(16),kt=this.b.toString(16);return vt.length==1&&(vt="0"+vt),st.length==1&&(st="0"+st),kt.length==1&&(kt="0"+kt),"#"+vt+st+kt}}/**
* @license
* Joseph Myers does not specify a particular license for his work.
*
* Author: Joseph Myers
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
*
* Modified by: Owen Leong
*/function e(Ge,we){var Le=Ge[0],De=Ge[1],We=Ge[2],Fe=Ge[3];Le=i(Le,De,We,Fe,we[0],7,-680876936),Fe=i(Fe,Le,De,We,we[1],12,-389564586),We=i(We,Fe,Le,De,we[2],17,606105819),De=i(De,We,Fe,Le,we[3],22,-1044525330),Le=i(Le,De,We,Fe,we[4],7,-176418897),Fe=i(Fe,Le,De,We,we[5],12,1200080426),We=i(We,Fe,Le,De,we[6],17,-1473231341),De=i(De,We,Fe,Le,we[7],22,-45705983),Le=i(Le,De,We,Fe,we[8],7,1770035416),Fe=i(Fe,Le,De,We,we[9],12,-1958414417),We=i(We,Fe,Le,De,we[10],17,-42063),De=i(De,We,Fe,Le,we[11],22,-1990404162),Le=i(Le,De,We,Fe,we[12],7,1804603682),Fe=i(Fe,Le,De,We,we[13],12,-40341101),We=i(We,Fe,Le,De,we[14],17,-1502002290),Le=u(Le,De=i(De,We,Fe,Le,we[15],22,1236535329),We,Fe,we[1],5,-165796510),Fe=u(Fe,Le,De,We,we[6],9,-1069501632),We=u(We,Fe,Le,De,we[11],14,643717713),De=u(De,We,Fe,Le,we[0],20,-373897302),Le=u(Le,De,We,Fe,we[5],5,-701558691),Fe=u(Fe,Le,De,We,we[10],9,38016083),We=u(We,Fe,Le,De,we[15],14,-660478335),De=u(De,We,Fe,Le,we[4],20,-405537848),Le=u(Le,De,We,Fe,we[9],5,568446438),Fe=u(Fe,Le,De,We,we[14],9,-1019803690),We=u(We,Fe,Le,De,we[3],14,-187363961),De=u(De,We,Fe,Le,we[8],20,1163531501),Le=u(Le,De,We,Fe,we[13],5,-1444681467),Fe=u(Fe,Le,De,We,we[2],9,-51403784),We=u(We,Fe,Le,De,we[7],14,1735328473),Le=f(Le,De=u(De,We,Fe,Le,we[12],20,-1926607734),We,Fe,we[5],4,-378558),Fe=f(Fe,Le,De,We,we[8],11,-2022574463),We=f(We,Fe,Le,De,we[11],16,1839030562),De=f(De,We,Fe,Le,we[14],23,-35309556),Le=f(Le,De,We,Fe,we[1],4,-1530992060),Fe=f(Fe,Le,De,We,we[4],11,1272893353),We=f(We,Fe,Le,De,we[7],16,-155497632),De=f(De,We,Fe,Le,we[10],23,-1094730640),Le=f(Le,De,We,Fe,we[13],4,681279174),Fe=f(Fe,Le,De,We,we[0],11,-358537222),We=f(We,Fe,Le,De,we[3],16,-722521979),De=f(De,We,Fe,Le,we[6],23,76029189),Le=f(Le,De,We,Fe,we[9],4,-640364487),Fe=f(Fe,Le,De,We,we[12],11,-421815835),We=f(We,Fe,Le,De,we[15],16,530742520),Le=m(Le,De=f(De,We,Fe,Le,we[2],23,-995338651),We,Fe,we[0],6,-198630844),Fe=m(Fe,Le,De,We,we[7],10,1126891415),We=m(We,Fe,Le,De,we[14],15,-1416354905),De=m(De,We,Fe,Le,we[5],21,-57434055),Le=m(Le,De,We,Fe,we[12],6,1700485571),Fe=m(Fe,Le,De,We,we[3],10,-1894986606),We=m(We,Fe,Le,De,we[10],15,-1051523),De=m(De,We,Fe,Le,we[1],21,-2054922799),Le=m(Le,De,We,Fe,we[8],6,1873313359),Fe=m(Fe,Le,De,We,we[15],10,-30611744),We=m(We,Fe,Le,De,we[6],15,-1560198380),De=m(De,We,Fe,Le,we[13],21,1309151649),Le=m(Le,De,We,Fe,we[4],6,-145523070),Fe=m(Fe,Le,De,We,we[11],10,-1120210379),We=m(We,Fe,Le,De,we[2],15,718787259),De=m(De,We,Fe,Le,we[9],21,-343485551),Ge[0]=x(Le,Ge[0]),Ge[1]=x(De,Ge[1]),Ge[2]=x(We,Ge[2]),Ge[3]=x(Fe,Ge[3])}function a(Ge,we,Le,De,We,Fe){return we=x(x(we,Ge),x(De,Fe)),x(we<<We|we>>>32-We,Le)}function i(Ge,we,Le,De,We,Fe,Je){return a(we&Le|~we&De,Ge,we,We,Fe,Je)}function u(Ge,we,Le,De,We,Fe,Je){return a(we&De|Le&~De,Ge,we,We,Fe,Je)}function f(Ge,we,Le,De,We,Fe,Je){return a(we^Le^De,Ge,we,We,Fe,Je)}function m(Ge,we,Le,De,We,Fe,Je){return a(Le^(we|~De),Ge,we,We,Fe,Je)}function A(Ge){var we,Le=Ge.length,De=[1732584193,-271733879,-1732584194,271733878];for(we=64;we<=Ge.length;we+=64)e(De,g(Ge.substring(we-64,we)));Ge=Ge.substring(we-64);var We=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(we=0;we<Ge.length;we++)We[we>>2]|=Ge.charCodeAt(we)<<(we%4<<3);if(We[we>>2]|=128<<(we%4<<3),we>55)for(e(De,We),we=0;we<16;we++)We[we]=0;return We[14]=8*Le,e(De,We),De}function g(Ge){var we,Le=[];for(we=0;we<64;we+=4)Le[we>>2]=Ge.charCodeAt(we)+(Ge.charCodeAt(we+1)<<8)+(Ge.charCodeAt(we+2)<<16)+(Ge.charCodeAt(we+3)<<24);return Le}s=C.atob.bind(C),l=C.btoa.bind(C);var v="0123456789abcdef".split("");function b(Ge){for(var we="",Le=0;Le<4;Le++)we+=v[Ge>>8*Le+4&15]+v[Ge>>8*Le&15];return we}function S(Ge){return String.fromCharCode((255&Ge)>>0,(65280&Ge)>>8,(16711680&Ge)>>16,(4278190080&Ge)>>24)}function y(Ge){return A(Ge).map(S).join("")}var w=function(Ge){for(var we=0;we<Ge.length;we++)Ge[we]=b(Ge[we]);return Ge.join("")}(A("hello"))!="5d41402abc4b2a76b9719d911017c592";function x(Ge,we){if(w){var Le=(65535&Ge)+(65535&we);return(Ge>>16)+(we>>16)+(Le>>16)<<16|65535&Le}return Ge+we&4294967295}/**
* @license
* FPDF is released under a permissive license: there is no usage restriction.
* You may embed it freely in your application (commercial or not), with or
* without modifications.
*
* Reference: http://www.fpdf.org/en/script/script37.php
*/function T(Ge,we){var Le,De,We,Fe;if(Ge!==Le){for(var Je=(We=Ge,Fe=1+(256/Ge.length>>0),new Array(Fe+1).join(We)),vt=[],st=0;st<256;st++)vt[st]=st;var kt=0;for(st=0;st<256;st++){var wr=vt[st];kt=(kt+wr+Je.charCodeAt(st))%256,vt[st]=vt[kt],vt[kt]=wr}Le=Ge,De=vt}else vt=De;var hr=we.length,Nr=0,Kt=0,un="";for(st=0;st<hr;st++)Kt=(Kt+(wr=vt[Nr=(Nr+1)%256]))%256,vt[Nr]=vt[Kt],vt[Kt]=wr,Je=vt[(vt[Nr]+vt[Kt])%256],un+=String.fromCharCode(we.charCodeAt(st)^Je);return un}/**
* @license
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
* Author: Owen Leong (@owenl131)
* Date: 15 Oct 2020
* References:
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
* http://www.fpdf.org/en/script/script37.php
*/var L={print:4,modify:8,copy:16,"annot-forms":32};function R(Ge,we,Le,De){this.v=1,this.r=2;var We=192;Ge.forEach(function(vt){if(L.perm!==void 0)throw new Error("Invalid permission: "+vt);We+=L[vt]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var Fe=(we+this.padding).substr(0,32),Je=(Le+this.padding).substr(0,32);this.O=this.processOwnerPassword(Fe,Je),this.P=-(1+(255^We)),this.encryptionKey=y(Fe+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(De)).substr(0,5),this.U=T(this.encryptionKey,this.padding)}function P(Ge){if(/[^\u0000-\u00ff]/.test(Ge))throw new Error("Invalid PDF Name Object: "+Ge+", Only accept ASCII characters.");for(var we="",Le=Ge.length,De=0;De<Le;De++){var We=Ge.charCodeAt(De);We<33||We===35||We===37||We===40||We===41||We===47||We===60||We===62||We===91||We===93||We===123||We===125||We>126?we+="#"+("0"+We.toString(16)).slice(-2):we+=Ge[De]}return we}function k(Ge){if(I()(Ge)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var we={};this.subscribe=function(Le,De,We){if(We=We||!1,typeof Le!="string"||typeof De!="function"||typeof We!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");we.hasOwnProperty(Le)||(we[Le]={});var Fe=Math.random().toString(35);return we[Le][Fe]=[De,!!We],Fe},this.unsubscribe=function(Le){for(var De in we)if(we[De][Le])return delete we[De][Le],Object.keys(we[De]).length===0&&delete we[De],!0;return!1},this.publish=function(Le){if(we.hasOwnProperty(Le)){var De=Array.prototype.slice.call(arguments,1),We=[];for(var Fe in we[Le]){var Je=we[Le][Fe];try{Je[0].apply(Ge,De)}catch(vt){C.console&&p.error("jsPDF PubSub Error",vt.message,vt)}Je[1]&&We.push(Fe)}We.length&&We.forEach(this.unsubscribe)}},this.getTopics=function(){return we}}function U(Ge){if(!(this instanceof U))return new U(Ge);var we="opacity,stroke-opacity".split(",");for(var Le in Ge)Ge.hasOwnProperty(Le)&&we.indexOf(Le)>=0&&(this[Le]=Ge[Le]);this.id="",this.objectNumber=-1}function D(Ge,we){this.gState=Ge,this.matrix=we,this.id="",this.objectNumber=-1}function M(Ge,we,Le,De,We){if(!(this instanceof M))return new M(Ge,we,Le,De,We);this.type=Ge==="axial"?2:3,this.coords=we,this.colors=Le,D.call(this,De,We)}function B(Ge,we,Le,De,We){if(!(this instanceof B))return new B(Ge,we,Le,De,We);this.boundingBox=Ge,this.xStep=we,this.yStep=Le,this.stream="",this.cloneIndex=0,D.call(this,De,We)}function j(Ge){var we,Le=typeof arguments[0]=="string"?arguments[0]:"p",De=arguments[1],We=arguments[2],Fe=arguments[3],Je=[],vt=1,st=16,kt="S",wr=null;I()(Ge=Ge||{})==="object"&&(Le=Ge.orientation,De=Ge.unit||De,We=Ge.format||We,Fe=Ge.compress||Ge.compressPdf||Fe,(wr=Ge.encryption||null)!==null&&(wr.userPassword=wr.userPassword||"",wr.ownerPassword=wr.ownerPassword||"",wr.userPermissions=wr.userPermissions||[]),vt=typeof Ge.userUnit=="number"?Math.abs(Ge.userUnit):1,Ge.precision!==void 0&&(we=Ge.precision),Ge.floatPrecision!==void 0&&(st=Ge.floatPrecision),kt=Ge.defaultPathOperation||"S"),Je=Ge.filters||(Fe===!0?["FlateEncode"]:Je),De=De||"mm",Le=(""+(Le||"P")).toLowerCase();var hr=Ge.putOnlyUsedFonts||!1,Nr={},Kt={internal:{},__private__:{}};Kt.__private__.PubSub=k;var un="1.3",ar=Kt.__private__.getPdfVersion=function(){return un};Kt.__private__.setPdfVersion=function(St){un=St};var Xr={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]};Kt.__private__.getPageFormats=function(){return Xr};var kr=Kt.__private__.getPageFormat=function(St){return Xr[St]};We=We||"a4";var gr={COMPAT:"compat",ADVANCED:"advanced"},Sn=gr.COMPAT;function Pn(){this.saveGraphicsState(),ln(new Wn(Wr,0,0,-Wr,0,gs()*Wr).toString()+" cm"),this.setFontSize(this.getFontSize()/Wr),kt="n",Sn=gr.ADVANCED}function ii(){this.restoreGraphicsState(),kt="S",Sn=gr.COMPAT}var oi=Kt.__private__.combineFontStyleAndFontWeight=function(St,Dt){if(St=="bold"&&Dt=="normal"||St=="bold"&&Dt==400||St=="normal"&&Dt=="italic"||St=="bold"&&Dt=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Dt&&(St=Dt==400||Dt==="normal"?St==="italic"?"italic":"normal":Dt!=700&&Dt!=="bold"||St!=="normal"?(Dt==700?"bold":Dt)+""+St:"bold"),St};Kt.advancedAPI=function(St){var Dt=Sn===gr.COMPAT;return Dt&&Pn.call(this),typeof St!="function"||(St(this),Dt&&ii.call(this)),this},Kt.compatAPI=function(St){var Dt=Sn===gr.ADVANCED;return Dt&&ii.call(this),typeof St!="function"||(St(this),Dt&&Pn.call(this)),this},Kt.isAdvancedAPI=function(){return Sn===gr.ADVANCED};var ti,bi=function(Dt){if(Sn!==gr.ADVANCED)throw new Error(Dt+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Bn=Kt.roundToPrecision=Kt.__private__.roundToPrecision=function(St,Dt){var rn=we||Dt;if(isNaN(St)||isNaN(rn))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return St.toFixed(rn).replace(/0+$/,"")};ti=Kt.hpf=Kt.__private__.hpf=typeof st=="number"?function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(St,st)}:st==="smart"?function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(St,St>-1&&St<1?16:5)}:function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.hpf");return Bn(St,16)};var _i=Kt.f2=Kt.__private__.f2=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f2");return Bn(St,2)},gn=Kt.__private__.f3=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.f3");return Bn(St,3)},Vr=Kt.scale=Kt.__private__.scale=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.scale");return Sn===gr.COMPAT?St*Wr:Sn===gr.ADVANCED?St:void 0},xn=function(Dt){return Sn===gr.COMPAT?gs()-Dt:Sn===gr.ADVANCED?Dt:void 0},tn=function(Dt){return Vr(xn(Dt))};Kt.__private__.setPrecision=Kt.setPrecision=function(St){typeof parseInt(St,10)=="number"&&(we=parseInt(St,10))};var ui,qn="00000000000000000000000000000000",wi=Kt.__private__.getFileId=function(){return qn},Qn=Kt.__private__.setFileId=function(St){return qn=St!==void 0&&/^[a-fA-F0-9]{32}$/.test(St)?St.toUpperCase():qn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),wr!==null&&(Ya=new R(wr.userPermissions,wr.userPassword,wr.ownerPassword,qn)),qn};Kt.setFileId=function(St){return Qn(St),this},Kt.getFileId=function(){return wi()};var Hi=Kt.__private__.convertDateToPDFDate=function(St){var Dt=St.getTimezoneOffset(),rn=Dt<0?"+":"-",On=Math.floor(Math.abs(Dt/60)),mt=Math.abs(Dt%60),ne=[rn,bn(On),"'",bn(mt),"'"].join("");return["D:",St.getFullYear(),bn(St.getMonth()+1),bn(St.getDate()),bn(St.getHours()),bn(St.getMinutes()),bn(St.getSeconds()),ne].join("")},ri=Kt.__private__.convertPDFDateToDate=function(St){var Dt=parseInt(St.substr(2,4),10),rn=parseInt(St.substr(6,2),10)-1,On=parseInt(St.substr(8,2),10),mt=parseInt(St.substr(10,2),10),ne=parseInt(St.substr(12,2),10),fe=parseInt(St.substr(14,2),10);return new Date(Dt,rn,On,mt,ne,fe,0)},Mi=Kt.__private__.setCreationDate=function(St){var Dt;if(St===void 0&&(St=new Date),St instanceof Date)Dt=Hi(St);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(St))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Dt=St}return ui=Dt},dn=Kt.__private__.getCreationDate=function(St){var Dt=ui;return St==="jsDate"&&(Dt=ri(ui)),Dt};Kt.setCreationDate=function(St){return Mi(St),this},Kt.getCreationDate=function(St){return dn(St)};var Fr,bn=Kt.__private__.padd2=function(St){return("0"+parseInt(St)).slice(-2)},Mn=Kt.__private__.padd2Hex=function(St){return("00"+(St=St.toString())).substr(St.length)},Xn=0,$n=[],hi=[],fi=0,gi=[],Wi=[],na=!1,$i=hi,Ha=function(){Xn=0,fi=0,hi=[],$n=[],gi=[],Sr=Qr(),Zt=Qr()};Kt.__private__.setCustomOutputDestination=function(St){na=!0,$i=St};var pi=function(Dt){na||($i=Dt)};Kt.__private__.resetCustomOutputDestination=function(){na=!1,$i=hi};var ln=Kt.__private__.out=function(St){return St=St.toString(),fi+=St.length+1,$i.push(St),$i},Ii=Kt.__private__.write=function(St){return ln(arguments.length===1?St.toString():Array.prototype.join.call(arguments," "))},Ji=Kt.__private__.getArrayBuffer=function(St){for(var Dt=St.length,rn=new ArrayBuffer(Dt),On=new Uint8Array(rn);Dt--;)On[Dt]=St.charCodeAt(Dt);return rn},Fi=[["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]];Kt.__private__.getStandardFonts=function(){return Fi};var ea=Ge.fontSize||16;Kt.__private__.setFontSize=Kt.setFontSize=function(St){return ea=Sn===gr.ADVANCED?St/Wr:St,this};var zt,Gr=Kt.__private__.getFontSize=Kt.getFontSize=function(){return Sn===gr.COMPAT?ea:ea*Wr},nn=Ge.R2L||!1;Kt.__private__.setR2L=Kt.setR2L=function(St){return nn=St,this},Kt.__private__.getR2L=Kt.getR2L=function(){return nn};var fn,Xe=Kt.__private__.setZoomMode=function(St){var Dt=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(St))zt=St;else if(isNaN(St)){if(Dt.indexOf(St)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+St+'" is not recognized.');zt=St}else zt=parseInt(St,10)};Kt.__private__.getZoomMode=function(){return zt};var Ot,cr=Kt.__private__.setPageMode=function(St){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(St)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+St+'" is not recognized.');fn=St};Kt.__private__.getPageMode=function(){return fn};var lr=Kt.__private__.setLayoutMode=function(St){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(St)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+St+'" is not recognized.');Ot=St};Kt.__private__.getLayoutMode=function(){return Ot},Kt.__private__.setDisplayMode=Kt.setDisplayMode=function(St,Dt,rn){return Xe(St),lr(Dt),cr(rn),this};var Ir={title:"",subject:"",author:"",keywords:"",creator:""};Kt.__private__.getDocumentProperty=function(St){if(Object.keys(Ir).indexOf(St)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ir[St]},Kt.__private__.getDocumentProperties=function(){return Ir},Kt.__private__.setDocumentProperties=Kt.setProperties=Kt.setDocumentProperties=function(St){for(var Dt in Ir)Ir.hasOwnProperty(Dt)&&St[Dt]&&(Ir[Dt]=St[Dt]);return this},Kt.__private__.setDocumentProperty=function(St,Dt){if(Object.keys(Ir).indexOf(St)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ir[St]=Dt};var Dr,Wr,on,En,vn,Dn={},Un={},wn=[],In={},Tn={},Kn={},Yn={},ni=null,yi=0,li=[],Oi=new k(Kt),Bi=Ge.hotfixes||[],Si={},mi={},Li=[],Wn=function St(Dt,rn,On,mt,ne,fe){if(!(this instanceof St))return new St(Dt,rn,On,mt,ne,fe);isNaN(Dt)&&(Dt=1),isNaN(rn)&&(rn=0),isNaN(On)&&(On=0),isNaN(mt)&&(mt=1),isNaN(ne)&&(ne=0),isNaN(fe)&&(fe=0),this._matrix=[Dt,rn,On,mt,ne,fe]};Object.defineProperty(Wn.prototype,"sx",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(Wn.prototype,"shy",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(Wn.prototype,"shx",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(Wn.prototype,"sy",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(Wn.prototype,"tx",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(Wn.prototype,"ty",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(Wn.prototype,"a",{get:function(){return this._matrix[0]},set:function(Dt){this._matrix[0]=Dt}}),Object.defineProperty(Wn.prototype,"b",{get:function(){return this._matrix[1]},set:function(Dt){this._matrix[1]=Dt}}),Object.defineProperty(Wn.prototype,"c",{get:function(){return this._matrix[2]},set:function(Dt){this._matrix[2]=Dt}}),Object.defineProperty(Wn.prototype,"d",{get:function(){return this._matrix[3]},set:function(Dt){this._matrix[3]=Dt}}),Object.defineProperty(Wn.prototype,"e",{get:function(){return this._matrix[4]},set:function(Dt){this._matrix[4]=Dt}}),Object.defineProperty(Wn.prototype,"f",{get:function(){return this._matrix[5]},set:function(Dt){this._matrix[5]=Dt}}),Object.defineProperty(Wn.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wn.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wn.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wn.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Wn.prototype.join=function(St){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ti).join(St)},Wn.prototype.multiply=function(St){var Dt=St.sx*this.sx+St.shy*this.shx,rn=St.sx*this.shy+St.shy*this.sy,On=St.shx*this.sx+St.sy*this.shx,mt=St.shx*this.shy+St.sy*this.sy,ne=St.tx*this.sx+St.ty*this.shx+this.tx,fe=St.tx*this.shy+St.ty*this.sy+this.ty;return new Wn(Dt,rn,On,mt,ne,fe)},Wn.prototype.decompose=function(){var St=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,mt=this.tx,ne=this.ty,fe=Math.sqrt(St*St+Dt*Dt),ge=(St/=fe)*rn+(Dt/=fe)*On;rn-=St*ge,On-=Dt*ge;var Re=Math.sqrt(rn*rn+On*On);return ge/=Re,St*(On/=Re)<Dt*(rn/=Re)&&(St=-St,Dt=-Dt,ge=-ge,fe=-fe),{scale:new Wn(fe,0,0,Re,0,0),translate:new Wn(1,0,0,1,mt,ne),rotate:new Wn(St,Dt,-Dt,St,0,0),skew:new Wn(1,0,ge,1,0,0)}},Wn.prototype.toString=function(St){return this.join(" ")},Wn.prototype.inversed=function(){var St=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,mt=this.tx,ne=this.ty,fe=1/(St*On-Dt*rn),ge=On*fe,Re=-Dt*fe,ut=-rn*fe,Lt=St*fe;return new Wn(ge,Re,ut,Lt,-ge*mt-ut*ne,-Re*mt-Lt*ne)},Wn.prototype.applyToPoint=function(St){var Dt=St.x*this.sx+St.y*this.shx+this.tx,rn=St.x*this.shy+St.y*this.sy+this.ty;return new ns(Dt,rn)},Wn.prototype.applyToRectangle=function(St){var Dt=this.applyToPoint(St),rn=this.applyToPoint(new ns(St.x+St.w,St.y+St.h));return new ys(Dt.x,Dt.y,rn.x-Dt.x,rn.y-Dt.y)},Wn.prototype.clone=function(){var St=this.sx,Dt=this.shy,rn=this.shx,On=this.sy,mt=this.tx,ne=this.ty;return new Wn(St,Dt,rn,On,mt,ne)},Kt.Matrix=Wn;var Ri=Kt.matrixMult=function(St,Dt){return Dt.multiply(St)},zi=new Wn(1,0,0,1,0,0);Kt.unitMatrix=Kt.identityMatrix=zi;var yr=function(Dt,rn){if(!Tn[Dt]){var On=(rn instanceof M?"Sh":"P")+(Object.keys(In).length+1).toString(10);rn.id=On,Tn[Dt]=On,In[On]=rn,Oi.publish("addPattern",rn)}};Kt.ShadingPattern=M,Kt.TilingPattern=B,Kt.addShadingPattern=function(St,Dt){return bi("addShadingPattern()"),yr(St,Dt),this},Kt.beginTilingPattern=function(St){bi("beginTilingPattern()"),_s(St.boundingBox[0],St.boundingBox[1],St.boundingBox[2]-St.boundingBox[0],St.boundingBox[3]-St.boundingBox[1],St.matrix)},Kt.endTilingPattern=function(St,Dt){bi("endTilingPattern()"),Dt.stream=Wi[Fr].join(`
`),yr(St,Dt),Oi.publish("endTilingPattern",Dt),Li.pop().restore()};var Mr=Kt.__private__.newObject=function(){var St=Qr();return _r(St,!0),St},Qr=Kt.__private__.newObjectDeferred=function(){return Xn++,$n[Xn]=function(){return fi},Xn},_r=function(Dt,rn){return rn=typeof rn=="boolean"&&rn,$n[Dt]=fi,rn&&ln(Dt+" 0 obj"),Dt},Vt=Kt.__private__.newAdditionalObject=function(){var St={objId:Qr(),content:""};return gi.push(St),St},Sr=Qr(),Zt=Qr(),Ur=Kt.__private__.decodeColorString=function(St){var Dt=St.split(" ");if(Dt.length!==2||Dt[1]!=="g"&&Dt[1]!=="G")Dt.length===5&&(Dt[4]==="k"||Dt[4]==="K")&&(Dt=[(1-Dt[0])*(1-Dt[3]),(1-Dt[1])*(1-Dt[3]),(1-Dt[2])*(1-Dt[3]),"r"]);else{var rn=parseFloat(Dt[0]);Dt=[rn,rn,rn,"r"]}for(var On="#",mt=0;mt<3;mt++)On+=("0"+Math.floor(255*parseFloat(Dt[mt])).toString(16)).slice(-2);return On},Hr=Kt.__private__.encodeColorString=function(St){var Dt;typeof St=="string"&&(St={ch1:St});var rn=St.ch1,On=St.ch2,mt=St.ch3,ne=St.ch4,fe=St.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof rn=="string"&&rn.charAt(0)!=="#"){var ge=new c(rn);if(ge.ok)rn=ge.toHex();else if(!/^\d*\.?\d*$/.test(rn))throw new Error('Invalid color "'+rn+'" passed to jsPDF.encodeColorString.')}if(typeof rn=="string"&&/^#[0-9A-Fa-f]{3}$/.test(rn)&&(rn="#"+rn[1]+rn[1]+rn[2]+rn[2]+rn[3]+rn[3]),typeof rn=="string"&&/^#[0-9A-Fa-f]{6}$/.test(rn)){var Re=parseInt(rn.substr(1),16);rn=Re>>16&255,On=Re>>8&255,mt=255&Re}if(On===void 0||ne===void 0&&rn===On&&On===mt)if(typeof rn=="string")Dt=rn+" "+fe[0];else switch(St.precision){case 2:Dt=_i(rn/255)+" "+fe[0];break;case 3:default:Dt=gn(rn/255)+" "+fe[0]}else if(ne===void 0||I()(ne)==="object"){if(ne&&!isNaN(ne.a)&&ne.a===0)return Dt=["1.","1.","1.",fe[1]].join(" ");if(typeof rn=="string")Dt=[rn,On,mt,fe[1]].join(" ");else switch(St.precision){case 2:Dt=[_i(rn/255),_i(On/255),_i(mt/255),fe[1]].join(" ");break;default:case 3:Dt=[gn(rn/255),gn(On/255),gn(mt/255),fe[1]].join(" ")}}else if(typeof rn=="string")Dt=[rn,On,mt,ne,fe[2]].join(" ");else switch(St.precision){case 2:Dt=[_i(rn),_i(On),_i(mt),_i(ne),fe[2]].join(" ");break;case 3:default:Dt=[gn(rn),gn(On),gn(mt),gn(ne),fe[2]].join(" ")}return Dt},pn=Kt.__private__.getFilters=function(){return Je},sn=Kt.__private__.putStream=function(St){var Dt=(St=St||{}).data||"",rn=St.filters||pn(),On=St.alreadyAppliedFilters||[],mt=St.addLength1||!1,ne=Dt.length,fe=St.objectId,ge=function(si){return si};if(wr!==null&&fe===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");wr!==null&&(ge=Ya.encryptor(fe,0));var Re={};rn===!0&&(rn=["FlateEncode"]);var ut=St.additionalKeyValues||[],Lt=(Re=j.API.processDataByFilters!==void 0?j.API.processDataByFilters(Dt,rn):{data:Dt,reverseChain:[]}).reverseChain+(Array.isArray(On)?On.join(" "):On.toString());if(Re.data.length!==0&&(ut.push({key:"Length",value:Re.data.length}),mt===!0&&ut.push({key:"Length1",value:ne})),Lt.length!=0)if(Lt.split("/").length-1==1)ut.push({key:"Filter",value:Lt});else{ut.push({key:"Filter",value:"["+Lt+"]"});for(var br=0;br<ut.length;br+=1)if(ut[br].key==="DecodeParms"){for(var Or=[],Zr=0;Zr<Re.reverseChain.split("/").length-1;Zr+=1)Or.push("null");Or.push(ut[br].value),ut[br].value="["+Or.join(" ")+"]"}}ln("<<");for(var Cn=0;Cn<ut.length;Cn++)ln("/"+ut[Cn].key+" "+ut[Cn].value);ln(">>"),Re.data.length!==0&&(ln("stream"),ln(ge(Re.data)),ln("endstream"))},yn=Kt.__private__.putPage=function(St){var Dt=St.number,rn=St.data,On=St.objId,mt=St.contentsObjId;_r(On,!0),ln("<</Type /Page"),ln("/Parent "+St.rootDictionaryObjId+" 0 R"),ln("/Resources "+St.resourceDictionaryObjId+" 0 R"),ln("/MediaBox ["+parseFloat(ti(St.mediaBox.bottomLeftX))+" "+parseFloat(ti(St.mediaBox.bottomLeftY))+" "+ti(St.mediaBox.topRightX)+" "+ti(St.mediaBox.topRightY)+"]"),St.cropBox!==null&&ln("/CropBox ["+ti(St.cropBox.bottomLeftX)+" "+ti(St.cropBox.bottomLeftY)+" "+ti(St.cropBox.topRightX)+" "+ti(St.cropBox.topRightY)+"]"),St.bleedBox!==null&&ln("/BleedBox ["+ti(St.bleedBox.bottomLeftX)+" "+ti(St.bleedBox.bottomLeftY)+" "+ti(St.bleedBox.topRightX)+" "+ti(St.bleedBox.topRightY)+"]"),St.trimBox!==null&&ln("/TrimBox ["+ti(St.trimBox.bottomLeftX)+" "+ti(St.trimBox.bottomLeftY)+" "+ti(St.trimBox.topRightX)+" "+ti(St.trimBox.topRightY)+"]"),St.artBox!==null&&ln("/ArtBox ["+ti(St.artBox.bottomLeftX)+" "+ti(St.artBox.bottomLeftY)+" "+ti(St.artBox.topRightX)+" "+ti(St.artBox.topRightY)+"]"),typeof St.userUnit=="number"&&St.userUnit!==1&&ln("/UserUnit "+St.userUnit),Oi.publish("putPage",{objId:On,pageContext:li[Dt],pageNumber:Dt,page:rn}),ln("/Contents "+mt+" 0 R"),ln(">>"),ln("endobj");var ne=rn.join(`
`);return Sn===gr.ADVANCED&&(ne+=`
Q`),_r(mt,!0),sn({data:ne,filters:pn(),objectId:mt}),ln("endobj"),On},Fn=Kt.__private__.putPages=function(){var St,Dt,rn=[];for(St=1;St<=yi;St++)li[St].objId=Qr(),li[St].contentsObjId=Qr();for(St=1;St<=yi;St++)rn.push(yn({number:St,data:Wi[St],objId:li[St].objId,contentsObjId:li[St].contentsObjId,mediaBox:li[St].mediaBox,cropBox:li[St].cropBox,bleedBox:li[St].bleedBox,trimBox:li[St].trimBox,artBox:li[St].artBox,userUnit:li[St].userUnit,rootDictionaryObjId:Sr,resourceDictionaryObjId:Zt}));_r(Sr,!0),ln("<</Type /Pages");var On="/Kids [";for(Dt=0;Dt<yi;Dt++)On+=rn[Dt]+" 0 R ";ln(On+"]"),ln("/Count "+yi),ln(">>"),ln("endobj"),Oi.publish("postPutPages")},Gn=function(Dt){Oi.publish("putFont",{font:Dt,out:ln,newObject:Mr,putStream:sn}),Dt.isAlreadyPutted!==!0&&(Dt.objectNumber=Mr(),ln("<<"),ln("/Type /Font"),ln("/BaseFont /"+P(Dt.postScriptName)),ln("/Subtype /Type1"),typeof Dt.encoding=="string"&&ln("/Encoding /"+Dt.encoding),ln("/FirstChar 32"),ln("/LastChar 255"),ln(">>"),ln("endobj"))},Jn=function(){for(var Dt in Dn)Dn.hasOwnProperty(Dt)&&(hr===!1||hr===!0&&Nr.hasOwnProperty(Dt))&&Gn(Dn[Dt])},Ci=function(Dt){Dt.objectNumber=Mr();var rn=[];rn.push({key:"Type",value:"/XObject"}),rn.push({key:"Subtype",value:"/Form"}),rn.push({key:"BBox",value:"["+[ti(Dt.x),ti(Dt.y),ti(Dt.x+Dt.width),ti(Dt.y+Dt.height)].join(" ")+"]"}),rn.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"});var On=Dt.pages[1].join(`
`);sn({data:On,additionalKeyValues:rn,objectId:Dt.objectNumber}),ln("endobj")},ta=function(){for(var Dt in Si)Si.hasOwnProperty(Dt)&&Ci(Si[Dt])},oa=function(Dt,rn){var On,mt=[],ne=1/(rn-1);for(On=0;On<1;On+=ne)mt.push(On);if(mt.push(1),Dt[0].offset!=0){var fe={offset:0,color:Dt[0].color};Dt.unshift(fe)}if(Dt[Dt.length-1].offset!=1){var ge={offset:1,color:Dt[Dt.length-1].color};Dt.push(ge)}for(var Re="",ut=0,Lt=0;Lt<mt.length;Lt++){for(On=mt[Lt];On>Dt[ut+1].offset;)ut++;var br=Dt[ut].offset,Or=(On-br)/(Dt[ut+1].offset-br),Zr=Dt[ut].color,Cn=Dt[ut+1].color;Re+=Mn(Math.round((1-Or)*Zr[0]+Or*Cn[0]).toString(16))+Mn(Math.round((1-Or)*Zr[1]+Or*Cn[1]).toString(16))+Mn(Math.round((1-Or)*Zr[2]+Or*Cn[2]).toString(16))}return Re.trim()},da=function(Dt,rn){rn||(rn=21);var On=Mr(),mt=oa(Dt.colors,rn),ne=[];ne.push({key:"FunctionType",value:"0"}),ne.push({key:"Domain",value:"[0.0 1.0]"}),ne.push({key:"Size",value:"["+rn+"]"}),ne.push({key:"BitsPerSample",value:"8"}),ne.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ne.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),sn({data:mt,additionalKeyValues:ne,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:On}),ln("endobj"),Dt.objectNumber=Mr(),ln("<< /ShadingType "+Dt.type),ln("/ColorSpace /DeviceRGB");var fe="/Coords ["+ti(parseFloat(Dt.coords[0]))+" "+ti(parseFloat(Dt.coords[1]))+" ";Dt.type===2?fe+=ti(parseFloat(Dt.coords[2]))+" "+ti(parseFloat(Dt.coords[3])):fe+=ti(parseFloat(Dt.coords[2]))+" "+ti(parseFloat(Dt.coords[3]))+" "+ti(parseFloat(Dt.coords[4]))+" "+ti(parseFloat(Dt.coords[5])),ln(fe+="]"),Dt.matrix&&ln("/Matrix ["+Dt.matrix.toString()+"]"),ln("/Function "+On+" 0 R"),ln("/Extend [true true]"),ln(">>"),ln("endobj")},ca=function(Dt,rn){var On=Qr(),mt=Mr();rn.push({resourcesOid:On,objectOid:mt}),Dt.objectNumber=mt;var ne=[];ne.push({key:"Type",value:"/Pattern"}),ne.push({key:"PatternType",value:"1"}),ne.push({key:"PaintType",value:"1"}),ne.push({key:"TilingType",value:"1"}),ne.push({key:"BBox",value:"["+Dt.boundingBox.map(ti).join(" ")+"]"}),ne.push({key:"XStep",value:ti(Dt.xStep)}),ne.push({key:"YStep",value:ti(Dt.yStep)}),ne.push({key:"Resources",value:On+" 0 R"}),Dt.matrix&&ne.push({key:"Matrix",value:"["+Dt.matrix.toString()+"]"}),sn({data:Dt.stream,additionalKeyValues:ne,objectId:Dt.objectNumber}),ln("endobj")},ma=function(Dt){var rn;for(rn in In)In.hasOwnProperty(rn)&&(In[rn]instanceof M?da(In[rn]):In[rn]instanceof B&&ca(In[rn],Dt))},Ui=function(Dt){for(var rn in Dt.objectNumber=Mr(),ln("<<"),Dt)switch(rn){case"opacity":ln("/ca "+_i(Dt[rn]));break;case"stroke-opacity":ln("/CA "+_i(Dt[rn]))}ln(">>"),ln("endobj")},Ni=function(){var Dt;for(Dt in Kn)Kn.hasOwnProperty(Dt)&&Ui(Kn[Dt])},ra=function(){for(var Dt in ln("/XObject <<"),Si)Si.hasOwnProperty(Dt)&&Si[Dt].objectNumber>=0&&ln("/"+Dt+" "+Si[Dt].objectNumber+" 0 R");Oi.publish("putXobjectDict"),ln(">>")},qi=function(){Ya.oid=Mr(),ln("<<"),ln("/Filter /Standard"),ln("/V "+Ya.v),ln("/R "+Ya.r),ln("/U <"+Ya.toHexString(Ya.U)+">"),ln("/O <"+Ya.toHexString(Ya.O)+">"),ln("/P "+Ya.P),ln(">>"),ln("endobj")},va=function(){for(var Dt in ln("/Font <<"),Dn)Dn.hasOwnProperty(Dt)&&(hr===!1||hr===!0&&Nr.hasOwnProperty(Dt))&&ln("/"+Dt+" "+Dn[Dt].objectNumber+" 0 R");ln(">>")},Oa=function(){if(Object.keys(In).length>0){for(var Dt in ln("/Shading <<"),In)In.hasOwnProperty(Dt)&&In[Dt]instanceof M&&In[Dt].objectNumber>=0&&ln("/"+Dt+" "+In[Dt].objectNumber+" 0 R");Oi.publish("putShadingPatternDict"),ln(">>")}},Zi=function(Dt){if(Object.keys(In).length>0){for(var rn in ln("/Pattern <<"),In)In.hasOwnProperty(rn)&&In[rn]instanceof Kt.TilingPattern&&In[rn].objectNumber>=0&&In[rn].objectNumber<Dt&&ln("/"+rn+" "+In[rn].objectNumber+" 0 R");Oi.publish("putTilingPatternDict"),ln(">>")}},Xi=function(){if(Object.keys(Kn).length>0){var Dt;for(Dt in ln("/ExtGState <<"),Kn)Kn.hasOwnProperty(Dt)&&Kn[Dt].objectNumber>=0&&ln("/"+Dt+" "+Kn[Dt].objectNumber+" 0 R");Oi.publish("putGStateDict"),ln(">>")}},La=function(Dt){_r(Dt.resourcesOid,!0),ln("<<"),ln("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),va(),Oa(),Zi(Dt.objectOid),Xi(),ra(),ln(">>"),ln("endobj")},Aa=function(){var Dt=[];Jn(),Ni(),ta(),ma(Dt),Oi.publish("putResources"),Dt.forEach(La),La({resourcesOid:Zt,objectOid:Number.MAX_SAFE_INTEGER}),Oi.publish("postPutResources")},Ti=function(){Oi.publish("putAdditionalObjects");for(var Dt=0;Dt<gi.length;Dt++){var rn=gi[Dt];_r(rn.objId,!0),ln(rn.content),ln("endobj")}Oi.publish("postPutAdditionalObjects")},Sa=function(Dt){Un[Dt.fontName]=Un[Dt.fontName]||{},Un[Dt.fontName][Dt.fontStyle]=Dt.id},Ra=function(Dt,rn,On,mt,ne){var fe={id:"F"+(Object.keys(Dn).length+1).toString(10),postScriptName:Dt,fontName:rn,fontStyle:On,encoding:mt,isStandardFont:ne||!1,metadata:{}};return Oi.publish("addFont",{font:fe,instance:this}),Dn[fe.id]=fe,Sa(fe),fe.id},Na=function(Dt){for(var rn=0,On=Fi.length;rn<On;rn++){var mt=Ra.call(this,Dt[rn][0],Dt[rn][1],Dt[rn][2],Fi[rn][3],!0);hr===!1&&(Nr[mt]=!0);var ne=Dt[rn][0].split("-");Sa({id:mt,fontName:ne[0],fontStyle:ne[1]||""})}Oi.publish("addFonts",{fonts:Dn,dictionary:Un})},Ua=function(Dt){return Dt.foo=function(){try{return Dt.apply(this,arguments)}catch(mt){var rn=mt.stack||"";~rn.indexOf(" at ")&&(rn=rn.split(" at ")[1]);var On="Error in function "+rn.split(`
`)[0].split("<")[0]+": "+mt.message;if(!C.console)throw new Error(On);C.console.error(On,mt),C.alert&&alert(On)}},Dt.foo.bar=Dt,Dt.foo},Pa=function(Dt,rn){var On,mt,ne,fe,ge,Re,ut,Lt,br;if(ne=(rn=rn||{}).sourceEncoding||"Unicode",ge=rn.outputEncoding,(rn.autoencode||ge)&&Dn[Dr].metadata&&Dn[Dr].metadata[ne]&&Dn[Dr].metadata[ne].encoding&&(fe=Dn[Dr].metadata[ne].encoding,!ge&&Dn[Dr].encoding&&(ge=Dn[Dr].encoding),!ge&&fe.codePages&&(ge=fe.codePages[0]),typeof ge=="string"&&(ge=fe[ge]),ge)){for(ut=!1,Re=[],On=0,mt=Dt.length;On<mt;On++)(Lt=ge[Dt.charCodeAt(On)])?Re.push(String.fromCharCode(Lt)):Re.push(Dt[On]),Re[On].charCodeAt(0)>>8&&(ut=!0);Dt=Re.join("")}for(On=Dt.length;ut===void 0&&On!==0;)Dt.charCodeAt(On-1)>>8&&(ut=!0),On--;if(!ut)return Dt;for(Re=rn.noBOM?[]:[254,255],On=0,mt=Dt.length;On<mt;On++){if((br=(Lt=Dt.charCodeAt(On))>>8)>>8)throw new Error("Character at position "+On+" of string '"+Dt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Re.push(br),Re.push(Lt-(br<<8))}return String.fromCharCode.apply(void 0,Re)},za=Kt.__private__.pdfEscape=Kt.pdfEscape=function(St,Dt){return Pa(St,Dt).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},xa=Kt.__private__.beginPage=function(St){Wi[++yi]=[],li[yi]={objId:0,contentsObjId:0,userUnit:Number(vt),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(St[0]),topRightY:Number(St[1])}},ia(yi),pi(Wi[Fr])},ja=function(Dt,rn){var On,mt,ne;switch(Le=rn||Le,typeof Dt=="string"&&(On=kr(Dt.toLowerCase()),Array.isArray(On)&&(mt=On[0],ne=On[1])),Array.isArray(Dt)&&(mt=Dt[0]*Wr,ne=Dt[1]*Wr),isNaN(mt)&&(mt=We[0],ne=We[1]),(mt>14400||ne>14400)&&(p.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),mt=Math.min(14400,mt),ne=Math.min(14400,ne)),We=[mt,ne],Le.substr(0,1)){case"l":ne>mt&&(We=[ne,mt]);break;case"p":mt>ne&&(We=[ne,mt])}xa(We),Is(nl),ln(ko),no!==0&&ln(no+" J"),Ao!==0&&ln(Ao+" j"),Oi.publish("addPage",{pageNumber:yi})},io=function(Dt){Dt>0&&Dt<=yi&&(Wi.splice(Dt,1),li.splice(Dt,1),yi--,Fr>yi&&(Fr=yi),this.setPage(Fr))},ia=function(Dt){Dt>0&&Dt<=yi&&(Fr=Dt)},lo=Kt.__private__.getNumberOfPages=Kt.getNumberOfPages=function(){return Wi.length-1},Ga=function(Dt,rn,On){var mt,ne=void 0;return On=On||{},Dt=Dt!==void 0?Dt:Dn[Dr].fontName,rn=rn!==void 0?rn:Dn[Dr].fontStyle,mt=Dt.toLowerCase(),Un[mt]!==void 0&&Un[mt][rn]!==void 0?ne=Un[mt][rn]:Un[Dt]!==void 0&&Un[Dt][rn]!==void 0?ne=Un[Dt][rn]:On.disableWarning===!1&&p.warn("Unable to look up font label for font '"+Dt+"', '"+rn+"'. Refer to getFontList() for available fonts."),ne||On.noFallback||(ne=Un.times[rn])==null&&(ne=Un.times.normal),ne},Ca=Kt.__private__.putInfo=function(){var St=Mr(),Dt=function(mt){return mt};for(var rn in wr!==null&&(Dt=Ya.encryptor(St,0)),ln("<<"),ln("/Producer ("+za(Dt("jsPDF "+j.version))+")"),Ir)Ir.hasOwnProperty(rn)&&Ir[rn]&&ln("/"+rn.substr(0,1).toUpperCase()+rn.substr(1)+" ("+za(Dt(Ir[rn]))+")");ln("/CreationDate ("+za(Dt(ui))+")"),ln(">>"),ln("endobj")},Qa=Kt.__private__.putCatalog=function(St){var Dt=(St=St||{}).rootDictionaryObjId||Sr;switch(Mr(),ln("<<"),ln("/Type /Catalog"),ln("/Pages "+Dt+" 0 R"),zt||(zt="fullwidth"),zt){case"fullwidth":ln("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ln("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ln("/OpenAction [3 0 R /Fit]");break;case"original":ln("/OpenAction [3 0 R /XYZ null null 1]");break;default:var rn=""+zt;rn.substr(rn.length-1)==="%"&&(zt=parseInt(zt)/100),typeof zt=="number"&&ln("/OpenAction [3 0 R /XYZ null null "+_i(zt)+"]")}switch(Ot||(Ot="continuous"),Ot){case"continuous":ln("/PageLayout /OneColumn");break;case"single":ln("/PageLayout /SinglePage");break;case"two":case"twoleft":ln("/PageLayout /TwoColumnLeft");break;case"tworight":ln("/PageLayout /TwoColumnRight")}fn&&ln("/PageMode /"+fn),Oi.publish("putCatalog"),ln(">>"),ln("endobj")},Da=Kt.__private__.putTrailer=function(){ln("trailer"),ln("<<"),ln("/Size "+(Xn+1)),ln("/Root "+Xn+" 0 R"),ln("/Info "+(Xn-1)+" 0 R"),wr!==null&&ln("/Encrypt "+Ya.oid+" 0 R"),ln("/ID [ <"+qn+"> <"+qn+"> ]"),ln(">>")},Ia=Kt.__private__.putHeader=function(){ln("%PDF-"+un),ln("%\xBA\xDF\xAC\xE0")},yo=Kt.__private__.putXRef=function(){var St="0000000000";ln("xref"),ln("0 "+(Xn+1)),ln("0000000000 65535 f ");for(var Dt=1;Dt<=Xn;Dt++)typeof $n[Dt]=="function"?ln((St+$n[Dt]()).slice(-10)+" 00000 n "):$n[Dt]!==void 0?ln((St+$n[Dt]).slice(-10)+" 00000 n "):ln("0000000000 00000 n ")},ao=Kt.__private__.buildDocument=function(){Ha(),pi(hi),Oi.publish("buildDocument"),Ia(),Fn(),Ti(),Aa(),wr!==null&&qi(),Ca(),Qa();var St=fi;return yo(),Da(),ln("startxref"),ln(""+St),ln("%%EOF"),pi(Wi[Fr]),hi.join(`
`)},bo=Kt.__private__.getBlob=function(St){return new Blob([Ji(St)],{type:"application/pdf"})},co=Kt.output=Kt.__private__.output=Ua(function(St,Dt){switch(typeof(Dt=Dt||{})=="string"?Dt={filename:Dt}:Dt.filename=Dt.filename||"generated.pdf",St){case void 0:return ao();case"save":Kt.save(Dt.filename);break;case"arraybuffer":return Ji(ao());case"blob":return bo(ao());case"bloburi":case"bloburl":if(C.URL!==void 0&&typeof C.URL.createObjectURL=="function")return C.URL&&C.URL.createObjectURL(bo(ao()))||void 0;p.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var rn="",On=ao();try{rn=l(On)}catch(Zr){rn=l(unescape(encodeURIComponent(On)))}return"data:application/pdf;filename="+Dt.filename+";base64,"+rn;case"pdfobjectnewwindow":if(Object.prototype.toString.call(C)==="[object Window]"){var mt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ne=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Dt.pdfObjectUrl&&(mt=Dt.pdfObjectUrl,ne="");var fe='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+mt+'"'+ne+'></script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Dt)+");</script></body></html>",ge=C.open();return ge!==null&&ge.document.write(fe),ge}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(C)==="[object Window]"){var Re='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Dt.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Dt.filename+'" width="500px" height="400px" /></body></html>',ut=C.open();if(ut!==null){ut.document.write(Re);var Lt=this;ut.document.documentElement.querySelector("#pdfViewer").onload=function(){ut.document.title=Dt.filename,ut.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Lt.output("bloburl"))}}return ut}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(C)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var br='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Dt)+'"></iframe></body></html>',Or=C.open();if(Or!==null&&(Or.document.write(br),Or.document.title=Dt.filename),Or||typeof safari=="undefined")return Or;break;case"datauri":case"dataurl":return C.document.location.href=this.output("datauristring",Dt);default:return null}}),uo=function(Dt){return Array.isArray(Bi)===!0&&Bi.indexOf(Dt)>-1};switch(De){case"pt":Wr=1;break;case"mm":Wr=72/25.4;break;case"cm":Wr=72/2.54;break;case"in":Wr=72;break;case"px":Wr=uo("px_scaling")==1?.75:96/72;break;case"pc":case"em":Wr=12;break;case"ex":Wr=6;break;default:if(typeof De!="number")throw new Error("Invalid unit: "+De);Wr=De}var Ya=null;Mi(),Qn();var eo=function(Dt){return wr!==null?Ya.encryptor(Dt,0):function(rn){return rn}},wa=Kt.__private__.getPageInfo=Kt.getPageInfo=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:li[St].objId,pageNumber:St,pageContext:li[St]}},ro=Kt.__private__.getPageInfoByObjId=function(St){if(isNaN(St)||St%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Dt in li)if(li[Dt].objId===St)break;return wa(Dt)},fo=Kt.__private__.getCurrentPageInfo=Kt.getCurrentPageInfo=function(){return{objId:li[Fr].objId,pageNumber:Fr,pageContext:li[Fr]}};Kt.addPage=function(){return ja.apply(this,arguments),this},Kt.setPage=function(){return ia.apply(this,arguments),pi.call(this,Wi[Fr]),this},Kt.insertPage=function(St){return this.addPage(),this.movePage(Fr,St),this},Kt.movePage=function(St,Dt){var rn,On;if(St>Dt){rn=Wi[St],On=li[St];for(var mt=St;mt>Dt;mt--)Wi[mt]=Wi[mt-1],li[mt]=li[mt-1];Wi[Dt]=rn,li[Dt]=On,this.setPage(Dt)}else if(St<Dt){rn=Wi[St],On=li[St];for(var ne=St;ne<Dt;ne++)Wi[ne]=Wi[ne+1],li[ne]=li[ne+1];Wi[Dt]=rn,li[Dt]=On,this.setPage(Dt)}return this},Kt.deletePage=function(){return io.apply(this,arguments),this},Kt.__private__.text=Kt.text=function(St,Dt,rn,On,mt){var ne,fe,ge,Re,ut,Lt,br,Or,Zr,Cn=(On=On||{}).scope||this;if(typeof St=="number"&&typeof Dt=="number"&&(typeof rn=="string"||Array.isArray(rn))){var Hn=rn;rn=Dt,Dt=St,St=Hn}if(arguments[3]instanceof Wn==!1?(ge=arguments[4],Re=arguments[5],I()(br=arguments[3])==="object"&&br!==null||(typeof ge=="string"&&(Re=ge,ge=null),typeof br=="string"&&(Re=br,br=null),typeof br=="number"&&(ge=br,br=null),On={flags:br,angle:ge,align:Re})):(bi("The transform parameter of text() with a Matrix value"),Zr=mt),isNaN(Dt)||isNaN(rn)||St==null)throw new Error("Invalid arguments passed to jsPDF.text");if(St.length===0)return Cn;var si="",xi=!1,Di=typeof On.lineHeightFactor=="number"?On.lineHeightFactor:Go,sa=Cn.internal.scaleFactor;function ya(Uo){return Uo=Uo.split(" ").join(Array(On.TabLen||9).join(" ")),za(Uo,br)}function Ja(Uo){for(var _o,Zo=Uo.concat(),xo=[],Ws=Zo.length;Ws--;)typeof(_o=Zo.shift())=="string"?xo.push(_o):Array.isArray(Uo)&&(_o.length===1||_o[1]===void 0&&_o[2]===void 0)?xo.push(_o[0]):xo.push([_o[0],_o[1],_o[2]]);return xo}function $a(Uo,_o){var Zo;if(typeof Uo=="string")Zo=_o(Uo)[0];else if(Array.isArray(Uo)){for(var xo,Ws,Sl=Uo.concat(),xl=[],kl=Sl.length;kl--;)typeof(xo=Sl.shift())=="string"?xl.push(_o(xo)[0]):Array.isArray(xo)&&typeof xo[0]=="string"&&(Ws=_o(xo[0],xo[1],xo[2]),xl.push([Ws[0],Ws[1],Ws[2]]));Zo=xl}return Zo}var to=!1,Io=!0;if(typeof St=="string")to=!0;else if(Array.isArray(St)){var Co=St.concat();fe=[];for(var Do,go=Co.length;go--;)(typeof(Do=Co.shift())!="string"||Array.isArray(Do)&&typeof Do[0]!="string")&&(Io=!1);to=Io}if(to===!1)throw new Error('Type of text must be string or Array. "'+St+'" is not recognized.');typeof St=="string"&&(St=St.match(/[\r?\n]/)?St.split(/\r\n|\r|\n/g):[St]);var So=ea/Cn.internal.scaleFactor,is=So*(Di-1);switch(On.baseline){case"bottom":rn-=is;break;case"top":rn+=So-is;break;case"hanging":rn+=So-2*is;break;case"middle":rn+=So/2-is}if((Lt=On.maxWidth||0)>0&&(typeof St=="string"?St=Cn.splitTextToSize(St,Lt):Object.prototype.toString.call(St)==="[object Array]"&&(St=St.reduce(function(Uo,_o){return Uo.concat(Cn.splitTextToSize(_o,Lt))},[]))),ne={text:St,x:Dt,y:rn,options:On,mutex:{pdfEscape:za,activeFontKey:Dr,fonts:Dn,activeFontSize:ea}},Oi.publish("preProcessText",ne),St=ne.text,ge=(On=ne.options).angle,Zr instanceof Wn==!1&&ge&&typeof ge=="number"){ge*=Math.PI/180,On.rotationDirection===0&&(ge=-ge),Sn===gr.ADVANCED&&(ge=-ge);var ts=Math.cos(ge),To=Math.sin(ge);Zr=new Wn(ts,To,-To,ts,0,0)}else ge&&ge instanceof Wn&&(Zr=ge);Sn!==gr.ADVANCED||Zr||(Zr=zi),(ut=On.charSpace||Ks)!==void 0&&(si+=ti(Vr(ut))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(Or=On.horizontalScale)!==void 0&&(si+=ti(100*Or)+` Tz
`),On.lang;var Yi=-1,Rs=On.renderingMode!==void 0?On.renderingMode:On.stroke,Es=Cn.internal.getCurrentPageInfo().pageContext;switch(Rs){case 0:case!1:case"fill":Yi=0;break;case 1:case!0:case"stroke":Yi=1;break;case 2:case"fillThenStroke":Yi=2;break;case 3:case"invisible":Yi=3;break;case 4:case"fillAndAddForClipping":Yi=4;break;case 5:case"strokeAndAddPathForClipping":Yi=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Yi=6;break;case 7:case"addToPathForClipping":Yi=7}var as=Es.usedRenderingMode!==void 0?Es.usedRenderingMode:-1;Yi!==-1?si+=Yi+` Tr
`:as!==-1&&(si+=`0 Tr
`),Yi!==-1&&(Es.usedRenderingMode=Yi),Re=On.align||"left";var Qo,hs=ea*Di,Al=Cn.internal.pageSize.getWidth(),sl=Dn[Dr];ut=On.charSpace||Ks,Lt=On.maxWidth||0,br=Object.assign({autoencode:!0,noBOM:!0},On.flags);var fs=[];if(Object.prototype.toString.call(St)==="[object Array]"){var Lo;fe=Ja(St),Re!=="left"&&(Qo=fe.map(function(Uo){return Cn.getStringUnitWidth(Uo,{font:sl,charSpace:ut,fontSize:ea,doKerning:!1})*ea/sa}));var ls,Zs=0;if(Re==="right"){Dt-=Qo[0],St=[],go=fe.length;for(var As=0;As<go;As++)As===0?(ls=Ho(Dt),Lo=mo(rn)):(ls=Vr(Zs-Qo[As]),Lo=-hs),St.push([fe[As],ls,Lo]),Zs=Qo[As]}else if(Re==="center"){Dt-=Qo[0]/2,St=[],go=fe.length;for(var Fs=0;Fs<go;Fs++)Fs===0?(ls=Ho(Dt),Lo=mo(rn)):(ls=Vr((Zs-Qo[Fs])/2),Lo=-hs),St.push([fe[Fs],ls,Lo]),Zs=Qo[Fs]}else if(Re==="left"){St=[],go=fe.length;for(var Us=0;Us<go;Us++)St.push(fe[Us])}else{if(Re!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');St=[],go=fe.length,Lt=Lt!==0?Lt:Al;for(var Ds=0;Ds<go;Ds++)Lo=Ds===0?mo(rn):-hs,ls=Ds===0?Ho(Dt):0,Ds<go-1?fs.push(ti(Vr((Lt-Qo[Ds])/(fe[Ds].split(" ").length-1)))):fs.push(0),St.push([fe[Ds],ls,Lo])}}var al=typeof On.R2L=="boolean"?On.R2L:nn;al===!0&&(St=$a(St,function(Uo,_o,Zo){return[Uo.split("").reverse().join(""),_o,Zo]})),ne={text:St,x:Dt,y:rn,options:On,mutex:{pdfEscape:za,activeFontKey:Dr,fonts:Dn,activeFontSize:ea}},Oi.publish("postProcessText",ne),St=ne.text,xi=ne.mutex.isHex||!1;var $s=Dn[Dr].encoding;$s!=="WinAnsiEncoding"&&$s!=="StandardEncoding"||(St=$a(St,function(Uo,_o,Zo){return[ya(Uo),_o,Zo]})),fe=Ja(St),St=[];for(var Ys,js,Xa,ga=0,Wa=1,oo=Array.isArray(fe[0])?Wa:ga,Jo="",Hs=function(_o,Zo,xo){var Ws="";return xo instanceof Wn?(xo=typeof On.angle=="number"?Ri(xo,new Wn(1,0,0,1,_o,Zo)):Ri(new Wn(1,0,0,1,_o,Zo),xo),Sn===gr.ADVANCED&&(xo=Ri(new Wn(1,0,0,-1,0,0),xo)),Ws=xo.join(" ")+` Tm
`):Ws=ti(_o)+" "+ti(Zo)+` Td
`,Ws},bs=0;bs<fe.length;bs++){switch(Jo="",oo){case Wa:Xa=(xi?"<":"(")+fe[bs][0]+(xi?">":")"),Ys=parseFloat(fe[bs][1]),js=parseFloat(fe[bs][2]);break;case ga:Xa=(xi?"<":"(")+fe[bs]+(xi?">":")"),Ys=Ho(Dt),js=mo(rn)}fs!==void 0&&fs[bs]!==void 0&&(Jo=fs[bs]+` Tw
`),bs===0?St.push(Jo+Hs(Ys,js,Zr)+Xa):oo===ga?St.push(Jo+Xa):oo===Wa&&St.push(Jo+Hs(Ys,js,Zr)+Xa)}St=oo===ga?St.join(` Tj
T* `):St.join(` Tj
`),St+=` Tj
`;var ws=`BT
/`;return ws+=Dr+" "+ea+` Tf
`,ws+=ti(ea*Di)+` TL
`,ws+=Yo+`
`,ws+=si,ws+=St,ln(ws+="ET"),Nr[Dr]=!0,Cn};var ki=Kt.__private__.clip=Kt.clip=function(St){return ln(St==="evenodd"?"W*":"W"),this};Kt.clipEvenOdd=function(){return ki("evenodd")},Kt.__private__.discardPath=Kt.discardPath=function(){return ln("n"),this};var Ma=Kt.__private__.isValidStyle=function(St){var Dt=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(St)!==-1&&(Dt=!0),Dt};Kt.__private__.setDefaultPathOperation=Kt.setDefaultPathOperation=function(St){return Ma(St)&&(kt=St),this};var Ro=Kt.__private__.getStyle=Kt.getStyle=function(St){var Dt=kt;switch(St){case"D":case"S":Dt="S";break;case"F":Dt="f";break;case"FD":case"DF":Dt="B";break;case"f":case"f*":case"B":case"B*":Dt=St}return Dt},jo=Kt.close=function(){return ln("h"),this};Kt.stroke=function(){return ln("S"),this},Kt.fill=function(St){return Vo("f",St),this},Kt.fillEvenOdd=function(St){return Vo("f*",St),this},Kt.fillStroke=function(St){return Vo("B",St),this},Kt.fillStrokeEvenOdd=function(St){return Vo("B*",St),this};var Vo=function(Dt,rn){I()(rn)==="object"?_a(rn,Dt):ln(Dt)},Xo=function(Dt){Dt===null||Sn===gr.ADVANCED&&Dt===void 0||(Dt=Ro(Dt),ln(Dt))};function wo(St,Dt,rn,On,mt){var ne=new B(Dt||this.boundingBox,rn||this.xStep,On||this.yStep,this.gState,mt||this.matrix);ne.stream=this.stream;var fe=St+"$$"+this.cloneIndex+++"$$";return yr(fe,ne),ne}var _a=function(Dt,rn){var On=Tn[Dt.key],mt=In[On];if(mt instanceof M)ln("q"),ln(Po(rn)),mt.gState&&Kt.setGState(mt.gState),ln(Dt.matrix.toString()+" cm"),ln("/"+On+" sh"),ln("Q");else if(mt instanceof B){var ne=new Wn(1,0,0,-1,0,gs());Dt.matrix&&(ne=ne.multiply(Dt.matrix||zi),On=wo.call(mt,Dt.key,Dt.boundingBox,Dt.xStep,Dt.yStep,ne).id),ln("q"),ln("/Pattern cs"),ln("/"+On+" scn"),mt.gState&&Kt.setGState(mt.gState),ln(rn),ln("Q")}},Po=function(Dt){switch(Dt){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ds=Kt.moveTo=function(St,Dt){return ln(ti(Vr(St))+" "+ti(tn(Dt))+" m"),this},ho=Kt.lineTo=function(St,Dt){return ln(ti(Vr(St))+" "+ti(tn(Dt))+" l"),this},Oo=Kt.curveTo=function(St,Dt,rn,On,mt,ne){return ln([ti(Vr(St)),ti(tn(Dt)),ti(Vr(rn)),ti(tn(On)),ti(Vr(mt)),ti(tn(ne)),"c"].join(" ")),this};Kt.__private__.line=Kt.line=function(St,Dt,rn,On,mt){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Ma(mt))throw new Error("Invalid arguments passed to jsPDF.line");return Sn===gr.COMPAT?this.lines([[rn-St,On-Dt]],St,Dt,[1,1],mt||"S"):this.lines([[rn-St,On-Dt]],St,Dt,[1,1]).stroke()},Kt.__private__.lines=Kt.lines=function(St,Dt,rn,On,mt,ne){var fe,ge,Re,ut,Lt,br,Or,Zr,Cn,Hn,si,xi;if(typeof St=="number"&&(xi=rn,rn=Dt,Dt=St,St=xi),On=On||[1,1],ne=ne||!1,isNaN(Dt)||isNaN(rn)||!Array.isArray(St)||!Array.isArray(On)||!Ma(mt)||typeof ne!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ds(Dt,rn),fe=On[0],ge=On[1],ut=St.length,Hn=Dt,si=rn,Re=0;Re<ut;Re++)(Lt=St[Re]).length===2?(Hn=Lt[0]*fe+Hn,si=Lt[1]*ge+si,ho(Hn,si)):(br=Lt[0]*fe+Hn,Or=Lt[1]*ge+si,Zr=Lt[2]*fe+Hn,Cn=Lt[3]*ge+si,Hn=Lt[4]*fe+Hn,si=Lt[5]*ge+si,Oo(br,Or,Zr,Cn,Hn,si));return ne&&jo(),Xo(mt),this},Kt.path=function(St){for(var Dt=0;Dt<St.length;Dt++){var rn=St[Dt],On=rn.c;switch(rn.op){case"m":ds(On[0],On[1]);break;case"l":ho(On[0],On[1]);break;case"c":Oo.apply(this,On);break;case"h":jo()}}return this},Kt.__private__.rect=Kt.rect=function(St,Dt,rn,On,mt){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Ma(mt))throw new Error("Invalid arguments passed to jsPDF.rect");return Sn===gr.COMPAT&&(On=-On),ln([ti(Vr(St)),ti(tn(Dt)),ti(Vr(rn)),ti(Vr(On)),"re"].join(" ")),Xo(mt),this},Kt.__private__.triangle=Kt.triangle=function(St,Dt,rn,On,mt,ne,fe){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||isNaN(On)||isNaN(mt)||isNaN(ne)||!Ma(fe))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[rn-St,On-Dt],[mt-rn,ne-On],[St-mt,Dt-ne]],St,Dt,[1,1],fe,!0),this},Kt.__private__.roundedRect=Kt.roundedRect=function(St,Dt,rn,On,mt,ne,fe){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||isNaN(On)||isNaN(mt)||isNaN(ne)||!Ma(fe))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ge=4/3*(Math.SQRT2-1);return mt=Math.min(mt,.5*rn),ne=Math.min(ne,.5*On),this.lines([[rn-2*mt,0],[mt*ge,0,mt,ne-ne*ge,mt,ne],[0,On-2*ne],[0,ne*ge,-mt*ge,ne,-mt,ne],[2*mt-rn,0],[-mt*ge,0,-mt,-ne*ge,-mt,-ne],[0,2*ne-On],[0,-ne*ge,mt*ge,-ne,mt,-ne]],St+mt,Dt,[1,1],fe,!0),this},Kt.__private__.ellipse=Kt.ellipse=function(St,Dt,rn,On,mt){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||isNaN(On)||!Ma(mt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ne=4/3*(Math.SQRT2-1)*rn,fe=4/3*(Math.SQRT2-1)*On;return ds(St+rn,Dt),Oo(St+rn,Dt-fe,St+ne,Dt-On,St,Dt-On),Oo(St-ne,Dt-On,St-rn,Dt-fe,St-rn,Dt),Oo(St-rn,Dt+fe,St-ne,Dt+On,St,Dt+On),Oo(St+ne,Dt+On,St+rn,Dt+fe,St+rn,Dt),Xo(mt),this},Kt.__private__.circle=Kt.circle=function(St,Dt,rn,On){if(isNaN(St)||isNaN(Dt)||isNaN(rn)||!Ma(On))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(St,Dt,rn,rn,On)},Kt.setFont=function(St,Dt,rn){return rn&&(Dt=oi(Dt,rn)),Dr=Ga(St,Dt,{disableWarning:!1}),this};var Ka=Kt.__private__.getFont=Kt.getFont=function(){return Dn[Ga.apply(Kt,arguments)]};Kt.__private__.getFontList=Kt.getFontList=function(){var St,Dt,rn={};for(St in Un)if(Un.hasOwnProperty(St))for(Dt in rn[St]=[],Un[St])Un[St].hasOwnProperty(Dt)&&rn[St].push(Dt);return rn},Kt.addFont=function(St,Dt,rn,On,mt){var ne=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ne.indexOf(arguments[3])!==-1?mt=arguments[3]:arguments[3]&&ne.indexOf(arguments[3])==-1&&(rn=oi(rn,On)),mt=mt||"Identity-H",Ra.call(this,St,Dt,rn,mt)};var Go,nl=Ge.lineWidth||.200025,Ts=Kt.__private__.getLineWidth=Kt.getLineWidth=function(){return nl},Is=Kt.__private__.setLineWidth=Kt.setLineWidth=function(St){return nl=St,ln(ti(Vr(St))+" w"),this};Kt.__private__.setLineDash=j.API.setLineDash=j.API.setLineDashPattern=function(St,Dt){if(St=St||[],Dt=Dt||0,isNaN(Dt)||!Array.isArray(St))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return St=St.map(function(rn){return ti(Vr(rn))}).join(" "),Dt=ti(Vr(Dt)),ln("["+St+"] "+Dt+" d"),this};var xs=Kt.__private__.getLineHeight=Kt.getLineHeight=function(){return ea*Go};Kt.__private__.getLineHeight=Kt.getLineHeight=function(){return ea*Go};var ps=Kt.__private__.setLineHeightFactor=Kt.setLineHeightFactor=function(St){return typeof(St=St||1.15)=="number"&&(Go=St),this},Os=Kt.__private__.getLineHeightFactor=Kt.getLineHeightFactor=function(){return Go};ps(Ge.lineHeight);var Ho=Kt.__private__.getHorizontalCoordinate=function(St){return Vr(St)},mo=Kt.__private__.getVerticalCoordinate=function(St){return Sn===gr.ADVANCED?St:li[Fr].mediaBox.topRightY-li[Fr].mediaBox.bottomLeftY-Vr(St)},es=Kt.__private__.getHorizontalCoordinateString=Kt.getHorizontalCoordinateString=function(St){return ti(Ho(St))},Ko=Kt.__private__.getVerticalCoordinateString=Kt.getVerticalCoordinateString=function(St){return ti(mo(St))},ko=Ge.strokeColor||"0 G";Kt.__private__.getStrokeColor=Kt.getDrawColor=function(){return Ur(ko)},Kt.__private__.setStrokeColor=Kt.setDrawColor=function(St,Dt,rn,On){return ko=Hr({ch1:St,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"draw",precision:2}),ln(ko),this};var zr=Ge.fillColor||"0 g";Kt.__private__.getFillColor=Kt.getFillColor=function(){return Ur(zr)},Kt.__private__.setFillColor=Kt.setFillColor=function(St,Dt,rn,On){return zr=Hr({ch1:St,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"fill",precision:2}),ln(zr),this};var Yo=Ge.textColor||"0 g",il=Kt.__private__.getTextColor=Kt.getTextColor=function(){return Ur(Yo)};Kt.__private__.setTextColor=Kt.setTextColor=function(St,Dt,rn,On){return Yo=Hr({ch1:St,ch2:Dt,ch3:rn,ch4:On,pdfColorType:"text",precision:3}),this};var Ks=Ge.charSpace,Ps=Kt.__private__.getCharSpace=Kt.getCharSpace=function(){return parseFloat(Ks||0)};Kt.__private__.setCharSpace=Kt.setCharSpace=function(St){if(isNaN(St))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Ks=St,this};var no=0;Kt.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},Kt.__private__.setLineCap=Kt.setLineCap=function(St){var Dt=Kt.CapJoinStyles[St];if(Dt===void 0)throw new Error("Line cap style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return no=Dt,ln(Dt+" J"),this};var Ao=0;Kt.__private__.setLineJoin=Kt.setLineJoin=function(St){var Dt=Kt.CapJoinStyles[St];if(Dt===void 0)throw new Error("Line join style of '"+St+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ao=Dt,ln(Dt+" j"),this},Kt.__private__.setLineMiterLimit=Kt.__private__.setMiterLimit=Kt.setLineMiterLimit=Kt.setMiterLimit=function(St){if(St=St||0,isNaN(St))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ln(ti(Vr(St))+" M"),this},Kt.GState=U,Kt.setGState=function(St){(St=typeof St=="string"?Kn[Yn[St]]:Fo(null,St)).equals(ni)||(ln("/"+St.id+" gs"),ni=St)};var Fo=function(Dt,rn){if(!Dt||!Yn[Dt]){var On=!1;for(var mt in Kn)if(Kn.hasOwnProperty(mt)&&Kn[mt].equals(rn)){On=!0;break}if(On)rn=Kn[mt];else{var ne="GS"+(Object.keys(Kn).length+1).toString(10);Kn[ne]=rn,rn.id=ne}return Dt&&(Yn[Dt]=rn.id),Oi.publish("addGState",rn),rn}};Kt.addGState=function(St,Dt){return Fo(St,Dt),this},Kt.saveGraphicsState=function(){return ln("q"),wn.push({key:Dr,size:ea,color:Yo}),this},Kt.restoreGraphicsState=function(){ln("Q");var St=wn.pop();return Dr=St.key,ea=St.size,Yo=St.color,ni=null,this},Kt.setCurrentTransformationMatrix=function(St){return ln(St.toString()+" cm"),this},Kt.comment=function(St){return ln("#"+St),this};var ns=function(Dt,rn){var On=Dt||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return On},set:function(ge){isNaN(ge)||(On=parseFloat(ge))}});var mt=rn||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return mt},set:function(ge){isNaN(ge)||(mt=parseFloat(ge))}});var ne="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ne},set:function(ge){ne=ge.toString()}}),this},ys=function(Dt,rn,On,mt){ns.call(this,Dt,rn),this.type="rect";var ne=On||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ne},set:function(Re){isNaN(Re)||(ne=parseFloat(Re))}});var fe=mt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return fe},set:function(Re){isNaN(Re)||(fe=parseFloat(Re))}}),this},ms=function(){this.page=yi,this.currentPage=Fr,this.pages=Wi.slice(0),this.pagesContext=li.slice(0),this.x=on,this.y=En,this.matrix=vn,this.width=Gs(Fr),this.height=gs(Fr),this.outputDestination=$i,this.id="",this.objectNumber=-1};ms.prototype.restore=function(){yi=this.page,Fr=this.currentPage,li=this.pagesContext,Wi=this.pages,on=this.x,En=this.y,vn=this.matrix,ks(Fr,this.width),Ns(Fr,this.height),$i=this.outputDestination};var _s=function(Dt,rn,On,mt,ne){Li.push(new ms),yi=Fr=0,Wi=[],on=Dt,En=rn,vn=ne,xa([On,mt])},ol=function(Dt){if(mi[Dt])Li.pop().restore();else{var rn=new ms,On="Xo"+(Object.keys(Si).length+1).toString(10);rn.id=On,mi[Dt]=On,Si[On]=rn,Oi.publish("addFormObject",rn),Li.pop().restore()}};for(var Ls in Kt.beginFormObject=function(St,Dt,rn,On,mt){return _s(St,Dt,rn,On,mt),this},Kt.endFormObject=function(St){return ol(St),this},Kt.doFormObject=function(St,Dt){var rn=Si[mi[St]];return ln("q"),ln(Dt.toString()+" cm"),ln("/"+rn.id+" Do"),ln("Q"),this},Kt.getFormObject=function(St){var Dt=Si[mi[St]];return{x:Dt.x,y:Dt.y,width:Dt.width,height:Dt.height,matrix:Dt.matrix}},Kt.save=function(St,Dt){return St=St||"generated.pdf",(Dt=Dt||{}).returnPromise=Dt.returnPromise||!1,Dt.returnPromise===!1?(n(bo(ao()),St),typeof n.unload=="function"&&C.setTimeout&&setTimeout(n.unload,911),this):new Promise(function(rn,On){try{var mt=n(bo(ao()),St);typeof n.unload=="function"&&C.setTimeout&&setTimeout(n.unload,911),rn(mt)}catch(ne){On(ne.message)}})},j.API)j.API.hasOwnProperty(Ls)&&(Ls==="events"&&j.API.events.length?function(St,Dt){var rn,On,mt;for(mt=Dt.length-1;mt!==-1;mt--)rn=Dt[mt][0],On=Dt[mt][1],St.subscribe.apply(St,[rn].concat(typeof On=="function"?[On]:On))}(Oi,j.API.events):Kt[Ls]=j.API[Ls]);var Gs=Kt.getPageWidth=function(St){return(li[St=St||Fr].mediaBox.topRightX-li[St].mediaBox.bottomLeftX)/Wr},ks=Kt.setPageWidth=function(St,Dt){li[St].mediaBox.topRightX=Dt*Wr+li[St].mediaBox.bottomLeftX},gs=Kt.getPageHeight=function(St){return(li[St=St||Fr].mediaBox.topRightY-li[St].mediaBox.bottomLeftY)/Wr},Ns=Kt.setPageHeight=function(St,Dt){li[St].mediaBox.topRightY=Dt*Wr+li[St].mediaBox.bottomLeftY};return Kt.internal={pdfEscape:za,getStyle:Ro,getFont:Ka,getFontSize:Gr,getCharSpace:Ps,getTextColor:il,getLineHeight:xs,getLineHeightFactor:Os,getLineWidth:Ts,write:Ii,getHorizontalCoordinate:Ho,getVerticalCoordinate:mo,getCoordinateString:es,getVerticalCoordinateString:Ko,collections:{},newObject:Mr,newAdditionalObject:Vt,newObjectDeferred:Qr,newObjectDeferredBegin:_r,getFilters:pn,putStream:sn,events:Oi,scaleFactor:Wr,pageSize:{getWidth:function(){return Gs(Fr)},setWidth:function(Dt){ks(Fr,Dt)},getHeight:function(){return gs(Fr)},setHeight:function(Dt){Ns(Fr,Dt)}},encryptionOptions:wr,encryption:Ya,getEncryptor:eo,output:co,getNumberOfPages:lo,pages:Wi,out:ln,f2:_i,f3:gn,getPageInfo:wa,getPageInfoByObjId:ro,getCurrentPageInfo:fo,getPDFVersion:ar,Point:ns,Rectangle:ys,Matrix:Wn,hasHotfix:uo},Object.defineProperty(Kt.internal.pageSize,"width",{get:function(){return Gs(Fr)},set:function(Dt){ks(Fr,Dt)},enumerable:!0,configurable:!0}),Object.defineProperty(Kt.internal.pageSize,"height",{get:function(){return gs(Fr)},set:function(Dt){Ns(Fr,Dt)},enumerable:!0,configurable:!0}),Na.call(Kt,Fi),Dr="F1",ja(We,Le),Oi.publish("initialized"),Kt}R.prototype.lsbFirstWord=function(Ge){return String.fromCharCode(Ge>>0&255,Ge>>8&255,Ge>>16&255,Ge>>24&255)},R.prototype.toHexString=function(Ge){return Ge.split("").map(function(we){return("0"+(255&we.charCodeAt(0)).toString(16)).slice(-2)}).join("")},R.prototype.hexToBytes=function(Ge){for(var we=[],Le=0;Le<Ge.length;Le+=2)we.push(String.fromCharCode(parseInt(Ge.substr(Le,2),16)));return we.join("")},R.prototype.processOwnerPassword=function(Ge,we){return T(y(we).substr(0,5),Ge)},R.prototype.encryptor=function(Ge,we){var Le=y(this.encryptionKey+String.fromCharCode(255&Ge,Ge>>8&255,Ge>>16&255,255&we,we>>8&255)).substr(0,10);return function(De){return T(Le,De)}},U.prototype.equals=function(Ge){var we,Le="id,objectNumber,equals";if(!Ge||I()(Ge)!==I()(this))return!1;var De=0;for(we in this)if(!(Le.indexOf(we)>=0)){if(this.hasOwnProperty(we)&&!Ge.hasOwnProperty(we))return!1;if(this[we]!==Ge[we])return!1;De++}for(we in Ge)Ge.hasOwnProperty(we)&&Le.indexOf(we)<0&&De--;return De===0},j.API={events:[]},j.version="2.5.1";var H=j.API,K=1,W=function(we){return we.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},X=function(we){return we.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},V=function(we){return we.toFixed(2)},Z=function(we){return we.toFixed(5)};H.__acroform__={};var G=function(we,Le){we.prototype=Object.create(Le.prototype),we.prototype.constructor=we},Y=function(we){return we*K},te=function(we){var Le=new re,De=q.internal.getHeight(we)||0,We=q.internal.getWidth(we)||0;return Le.BBox=[0,0,Number(V(We)),Number(V(De))],Le},se=H.__acroform__.setBit=function(Ge,we){if(Ge=Ge||0,we=we||0,isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return Ge|=1<<we},Ce=H.__acroform__.clearBit=function(Ge,we){if(Ge=Ge||0,we=we||0,isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return Ge&=~(1<<we)},he=H.__acroform__.getBit=function(Ge,we){if(isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return(Ge&1<<we)==0?0:1},xe=H.__acroform__.getBitForPdf=function(Ge,we){if(isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return he(Ge,we-1)},ie=H.__acroform__.setBitForPdf=function(Ge,we){if(isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return se(Ge,we-1)},ee=H.__acroform__.clearBitForPdf=function(Ge,we){if(isNaN(Ge)||isNaN(we))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Ce(Ge,we-1)},Ze=H.__acroform__.calculateCoordinates=function(Ge,we){var Le=we.internal.getHorizontalCoordinate,De=we.internal.getVerticalCoordinate,We=Ge[0],Fe=Ge[1],Je=Ge[2],vt=Ge[3],st={};return st.lowerLeft_X=Le(We)||0,st.lowerLeft_Y=De(Fe+vt)||0,st.upperRight_X=Le(We+Je)||0,st.upperRight_Y=De(Fe)||0,[Number(V(st.lowerLeft_X)),Number(V(st.lowerLeft_Y)),Number(V(st.upperRight_X)),Number(V(st.upperRight_Y))]},Se=function(we){if(we.appearanceStreamContent)return we.appearanceStreamContent;if(we.V||we.DV){var Le=[],De=we._V||we.DV,We=Ne(we,De),Fe=we.scope.internal.getFont(we.fontName,we.fontStyle).id;Le.push("/Tx BMC"),Le.push("q"),Le.push("BT"),Le.push(we.scope.__private__.encodeColorString(we.color)),Le.push("/"+Fe+" "+V(We.fontSize)+" Tf"),Le.push("1 0 0 1 0 0 Tm"),Le.push(We.text),Le.push("ET"),Le.push("Q"),Le.push("EMC");var Je=te(we);return Je.scope=we.scope,Je.stream=Le.join(`
`),Je}},Ne=function(we,Le){var De=we.fontSize===0?we.maxFontSize:we.fontSize,We={text:"",fontSize:""},Fe=(Le=(Le=Le.substr(0,1)=="("?Le.substr(1):Le).substr(Le.length-1)==")"?Le.substr(0,Le.length-1):Le).split(" ");Fe=we.multiline?Fe.map(function(Vr){return Vr.split(`
`)}):Fe.map(function(Vr){return[Vr]});var Je=De,vt=q.internal.getHeight(we)||0;vt=vt<0?-vt:vt;var st=q.internal.getWidth(we)||0;st=st<0?-st:st;var kt=function(xn,tn,ui){if(xn+1<Fe.length){var qn=tn+" "+Fe[xn+1][0];return it(qn,we,ui).width<=st-4}return!1};Je++;e:for(;Je>0;){Le="",Je--;var wr,hr,Nr=it("3",we,Je).height,Kt=we.multiline?vt-Je:(vt-Nr)/2,un=Kt+=2,ar=0,Xr=0,kr=0;if(Je<=0){Le=`(...) Tj
`,Le+="% Width of Text: "+it(Le,we,Je=12).width+", FieldWidth:"+st+`
`;break}for(var gr="",Sn=0,Pn=0;Pn<Fe.length;Pn++)if(Fe.hasOwnProperty(Pn)){var ii=!1;if(Fe[Pn].length!==1&&kr!==Fe[Pn].length-1){if((Nr+2)*(Sn+2)+2>vt)continue e;gr+=Fe[Pn][kr],ii=!0,Xr=Pn,Pn--}else{gr=(gr+=Fe[Pn][kr]+" ").substr(gr.length-1)==" "?gr.substr(0,gr.length-1):gr;var oi=parseInt(Pn),ti=kt(oi,gr,Je),bi=Pn>=Fe.length-1;if(ti&&!bi){gr+=" ",kr=0;continue}if(ti||bi){if(bi)Xr=oi;else if(we.multiline&&(Nr+2)*(Sn+2)+2>vt)continue e}else{if(!we.multiline)continue e;if((Nr+2)*(Sn+2)+2>vt)continue e;Xr=oi}}for(var Bn="",_i=ar;_i<=Xr;_i++){var gn=Fe[_i];if(we.multiline){if(_i===Xr){Bn+=gn[kr]+" ",kr=(kr+1)%gn.length;continue}if(_i===ar){Bn+=gn[gn.length-1]+" ";continue}}Bn+=gn[0]+" "}switch(Bn=Bn.substr(Bn.length-1)==" "?Bn.substr(0,Bn.length-1):Bn,hr=it(Bn,we,Je).width,we.textAlign){case"right":wr=st-hr-2;break;case"center":wr=(st-hr)/2;break;case"left":default:wr=2}Le+=V(wr)+" "+V(un)+` Td
`,Le+="("+W(Bn)+`) Tj
`,Le+=-V(wr)+` 0 Td
`,un=-(Je+2),hr=0,ar=ii?Xr:Xr+1,Sn++,gr=""}break}return We.text=Le,We.fontSize=Je,We},it=function(we,Le,De){var We=Le.scope.internal.getFont(Le.fontName,Le.fontStyle),Fe=Le.scope.getStringUnitWidth(we,{font:We,fontSize:parseFloat(De),charSpace:0})*parseFloat(De);return{height:Le.scope.getStringUnitWidth("3",{font:We,fontSize:parseFloat(De),charSpace:0})*parseFloat(De)*1.5,width:Fe}},Ye={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},nt=function(we,Le){var De={type:"reference",object:we};Le.internal.getPageInfo(we.page).pageContext.annotations.find(function(We){return We.type===De.type&&We.object===De.object})===void 0&&Le.internal.getPageInfo(we.page).pageContext.annotations.push(De)},je=function(we,Le){for(var De in we)if(we.hasOwnProperty(De)){var We=De,Fe=we[De];Le.internal.newObjectDeferredBegin(Fe.objId,!0),I()(Fe)==="object"&&typeof Fe.putStream=="function"&&Fe.putStream(),delete we[We]}},et=function(we,Le){if(Le.scope=we,we.internal!==void 0&&(we.internal.acroformPlugin===void 0||we.internal.acroformPlugin.isInitialized===!1)){if(ze.FieldNum=0,we.internal.acroformPlugin=JSON.parse(JSON.stringify(Ye)),we.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");K=we.internal.scaleFactor,we.internal.acroformPlugin.acroFormDictionaryRoot=new be,we.internal.acroformPlugin.acroFormDictionaryRoot.scope=we,we.internal.acroformPlugin.acroFormDictionaryRoot._eventID=we.internal.events.subscribe("postPutResources",function(){!function(De){De.internal.events.unsubscribe(De.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete De.internal.acroformPlugin.acroFormDictionaryRoot._eventID,De.internal.acroformPlugin.printedOut=!0}(we)}),we.internal.events.subscribe("buildDocument",function(){!function(De){De.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var We=De.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var Fe in We)if(We.hasOwnProperty(Fe)){var Je=We[Fe];Je.objId=void 0,Je.hasAnnotation&&nt(Je,De)}}(we)}),we.internal.events.subscribe("putCatalog",function(){!function(De){if(De.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");De.internal.write("/AcroForm "+De.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(we)}),we.internal.events.subscribe("postPutPages",function(De){!function(We,Fe){var Je=!We;for(var vt in We||(Fe.internal.newObjectDeferredBegin(Fe.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),Fe.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),We=We||Fe.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(We.hasOwnProperty(vt)){var st=We[vt],kt=[],wr=st.Rect;if(st.Rect&&(st.Rect=Ze(st.Rect,Fe)),Fe.internal.newObjectDeferredBegin(st.objId,!0),st.DA=q.createDefaultAppearanceStream(st),I()(st)==="object"&&typeof st.getKeyValueListForStream=="function"&&(kt=st.getKeyValueListForStream()),st.Rect=wr,st.hasAppearanceStream&&!st.appearanceStreamContent){var hr=Se(st);kt.push({key:"AP",value:"<</N "+hr+">>"}),Fe.internal.acroformPlugin.xForms.push(hr)}if(st.appearanceStreamContent){var Nr="";for(var Kt in st.appearanceStreamContent)if(st.appearanceStreamContent.hasOwnProperty(Kt)){var un=st.appearanceStreamContent[Kt];if(Nr+="/"+Kt+" ",Nr+="<<",Object.keys(un).length>=1||Array.isArray(un)){for(var vt in un)if(un.hasOwnProperty(vt)){var ar=un[vt];typeof ar=="function"&&(ar=ar.call(Fe,st)),Nr+="/"+vt+" "+ar+" ",Fe.internal.acroformPlugin.xForms.indexOf(ar)>=0||Fe.internal.acroformPlugin.xForms.push(ar)}}else typeof(ar=un)=="function"&&(ar=ar.call(Fe,st)),Nr+="/"+vt+" "+ar,Fe.internal.acroformPlugin.xForms.indexOf(ar)>=0||Fe.internal.acroformPlugin.xForms.push(ar);Nr+=">>"}kt.push({key:"AP",value:`<<
`+Nr+">>"})}Fe.internal.putStream({additionalKeyValues:kt,objectId:st.objId}),Fe.internal.out("endobj")}Je&&je(Fe.internal.acroformPlugin.xForms,Fe)}(De,we)}),we.internal.acroformPlugin.isInitialized=!0}},He=H.__acroform__.arrayToPdfArray=function(Ge,we,Le){var De=function(vt){return vt};if(Array.isArray(Ge)){for(var We="[",Fe=0;Fe<Ge.length;Fe++)switch(Fe!==0&&(We+=" "),I()(Ge[Fe])){case"boolean":case"number":case"object":We+=Ge[Fe].toString();break;case"string":Ge[Fe].substr(0,1)!=="/"?(we!==void 0&&Le&&(De=Le.internal.getEncryptor(we)),We+="("+W(De(Ge[Fe].toString()))+")"):We+=Ge[Fe].toString()}return We+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},pe=function(we,Le,De){var We=function(Je){return Je};return Le!==void 0&&De&&(We=De.internal.getEncryptor(Le)),(we=we||"").toString(),we="("+W(We(we))+")"},ae=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(Le){this._objId=Le}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};ae.prototype.toString=function(){return this.objId+" 0 R"},ae.prototype.putStream=function(){var Ge=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:Ge,objectId:this.objId}),this.scope.internal.out("endobj")},ae.prototype.getKeyValueListForStream=function(){var Ge=[],we=Object.getOwnPropertyNames(this).filter(function(Fe){return Fe!="content"&&Fe!="appearanceStreamContent"&&Fe!="scope"&&Fe!="objId"&&Fe.substring(0,1)!="_"});for(var Le in we)if(Object.getOwnPropertyDescriptor(this,we[Le]).configurable===!1){var De=we[Le],We=this[De];We&&(Array.isArray(We)?Ge.push({key:De,value:He(We,this.objId,this.scope)}):We instanceof ae?(We.scope=this.scope,Ge.push({key:De,value:We.objId+" 0 R"})):typeof We!="function"&&Ge.push({key:De,value:We}))}return Ge};var re=function(){ae.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var we,Le=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return Le},set:function(We){Le=We}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(We){we=We.trim()},get:function(){return we||null}})};G(re,ae);var be=function(){ae.call(this);var we,Le=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return Le.length>0?Le:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return Le}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(we){var We=function(Je){return Je};return this.scope&&(We=this.scope.internal.getEncryptor(this.objId)),"("+W(We(we))+")"}},set:function(We){we=We}})};G(be,ae);var ze=function Ge(){ae.call(this);var we=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return we},set:function(gr){if(isNaN(gr))throw new Error('Invalid value "'+gr+'" for attribute F supplied.');we=gr}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(we,3))},set:function(gr){Boolean(gr)===!0?this.F=ie(we,3):this.F=ee(we,3)}});var Le=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return Le},set:function(gr){if(isNaN(gr))throw new Error('Invalid value "'+gr+'" for attribute Ff supplied.');Le=gr}});var De=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(De.length!==0)return De},set:function(gr){De=gr!==void 0?gr:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!De||isNaN(De[0])?0:De[0]},set:function(gr){De[0]=gr}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!De||isNaN(De[1])?0:De[1]},set:function(gr){De[1]=gr}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!De||isNaN(De[2])?0:De[2]},set:function(gr){De[2]=gr}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!De||isNaN(De[3])?0:De[3]},set:function(gr){De[3]=gr}});var We="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return We},set:function(gr){switch(gr){case"/Btn":case"/Tx":case"/Ch":case"/Sig":We=gr;break;default:throw new Error('Invalid value "'+gr+'" for attribute FT supplied.')}}});var Fe=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!Fe||Fe.length<1){if(this instanceof xt)return;Fe="FieldObject"+Ge.FieldNum++}var gr=function(Pn){return Pn};return this.scope&&(gr=this.scope.internal.getEncryptor(this.objId)),"("+W(gr(Fe))+")"},set:function(gr){Fe=gr.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return Fe},set:function(gr){Fe=gr}});var Je="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return Je},set:function(gr){Je=gr}});var vt="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return vt},set:function(gr){vt=gr}});var st=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return st},set:function(gr){st=gr}});var kt=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return kt===void 0?50/K:kt},set:function(gr){kt=gr}});var wr="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return wr},set:function(gr){wr=gr}});var hr="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!hr||this instanceof xt||this instanceof Be))return pe(hr,this.objId,this.scope)},set:function(gr){gr=gr.toString(),hr=gr}});var Nr=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Nr)return this instanceof bt==!1?pe(Nr,this.objId,this.scope):Nr},set:function(gr){gr=gr.toString(),Nr=this instanceof bt==!1?gr.substr(0,1)==="("?X(gr.substr(1,gr.length-2)):X(gr):gr}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof bt==!0?X(Nr.substr(1,Nr.length-1)):Nr},set:function(gr){gr=gr.toString(),Nr=this instanceof bt==!0?"/"+gr:gr}});var Kt=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(Kt)return Kt},set:function(gr){this.V=gr}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(Kt)return this instanceof bt==!1?pe(Kt,this.objId,this.scope):Kt},set:function(gr){gr=gr.toString(),Kt=this instanceof bt==!1?gr.substr(0,1)==="("?X(gr.substr(1,gr.length-2)):X(gr):gr}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof bt==!0?X(Kt.substr(1,Kt.length-1)):Kt},set:function(gr){gr=gr.toString(),Kt=this instanceof bt==!0?"/"+gr:gr}}),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 un,ar=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return ar},set:function(gr){gr=Boolean(gr),ar=gr}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(un)return un},set:function(gr){un=gr}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,1))},set:function(gr){Boolean(gr)===!0?this.Ff=ie(this.Ff,1):this.Ff=ee(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,2))},set:function(gr){Boolean(gr)===!0?this.Ff=ie(this.Ff,2):this.Ff=ee(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,3))},set:function(gr){Boolean(gr)===!0?this.Ff=ie(this.Ff,3):this.Ff=ee(this.Ff,3)}});var Xr=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Xr!==null)return Xr},set:function(gr){if([0,1,2].indexOf(gr)===-1)throw new Error('Invalid value "'+gr+'" for attribute Q supplied.');Xr=gr}}),Object.defineProperty(this,"textAlign",{get:function(){var gr;switch(Xr){case 0:default:gr="left";break;case 1:gr="center";break;case 2:gr="right"}return gr},configurable:!0,enumerable:!0,set:function(gr){switch(gr){case"right":case 2:Xr=2;break;case"center":case 1:Xr=1;break;case"left":case 0:default:Xr=0}}})};G(ze,ae);var Ke=function(){ze.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var we=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return we},set:function(We){we=We}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return we},set:function(We){we=We}});var Le=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return He(Le,this.objId,this.scope)},set:function(We){var Fe,Je;Je=[],typeof(Fe=We)=="string"&&(Je=function(vt,st,kt){kt||(kt=1);for(var wr,hr=[];wr=st.exec(vt);)hr.push(wr[kt]);return hr}(Fe,/\((.*?)\)/g)),Le=Je}}),this.getOptions=function(){return Le},this.setOptions=function(De){Le=De,this.sort&&Le.sort()},this.addOption=function(De){De=(De=De||"").toString(),Le.push(De),this.sort&&Le.sort()},this.removeOption=function(De,We){for(We=We||!1,De=(De=De||"").toString();Le.indexOf(De)!==-1&&(Le.splice(Le.indexOf(De),1),We!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,18))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,18):this.Ff=ee(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,19))},set:function(We){this.combo===!0&&(Boolean(We)===!0?this.Ff=ie(this.Ff,19):this.Ff=ee(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,20))},set:function(We){Boolean(We)===!0?(this.Ff=ie(this.Ff,20),Le.sort()):this.Ff=ee(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,22))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,22):this.Ff=ee(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,23))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,27))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,27):this.Ff=ee(this.Ff,27)}}),this.hasAppearanceStream=!1};G(Ke,ze);var Te=function(){Ke.call(this),this.fontName="helvetica",this.combo=!1};G(Te,Ke);var gt=function(){Te.call(this),this.combo=!0};G(gt,Te);var Ue=function(){gt.call(this),this.edit=!0};G(Ue,gt);var bt=function(){ze.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,15))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,15):this.Ff=ee(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,16))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,16):this.Ff=ee(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,17))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,17):this.Ff=ee(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,26))},set:function(We){Boolean(We)===!0?this.Ff=ie(this.Ff,26):this.Ff=ee(this.Ff,26)}});var we,Le={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var We=function(st){return st};if(this.scope&&(We=this.scope.internal.getEncryptor(this.objId)),Object.keys(Le).length!==0){var Fe,Je=[];for(Fe in Je.push("<<"),Le)Je.push("/"+Fe+" ("+W(We(Le[Fe]))+")");return Je.push(">>"),Je.join(`
`)}},set:function(We){I()(We)==="object"&&(Le=We)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return Le.CA||""},set:function(We){typeof We=="string"&&(Le.CA=We)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return we},set:function(We){we=We}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return we.substr(1,we.length-1)},set:function(We){we="/"+We}})};G(bt,ze);var wt=function(){bt.call(this),this.pushButton=!0};G(wt,bt);var Et=function(){bt.call(this),this.radio=!0,this.pushButton=!1;var we=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return we},set:function(De){we=De!==void 0?De:[]}})};G(Et,bt);var xt=function(){var we,Le;ze.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return we},set:function(Je){we=Je}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return Le},set:function(Je){Le=Je}});var De,We={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var Je=function(wr){return wr};this.scope&&(Je=this.scope.internal.getEncryptor(this.objId));var vt,st=[];for(vt in st.push("<<"),We)st.push("/"+vt+" ("+W(Je(We[vt]))+")");return st.push(">>"),st.join(`
`)},set:function(Je){I()(Je)==="object"&&(We=Je)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return We.CA||""},set:function(Je){typeof Je=="string"&&(We.CA=Je)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return De},set:function(Je){De=Je}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return De.substr(1,De.length-1)},set:function(Je){De="/"+Je}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=q.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};G(xt,ze),Et.prototype.setAppearance=function(Ge){if(!("createAppearanceStream"in Ge)||!("getCA"in Ge))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var we in this.Kids)if(this.Kids.hasOwnProperty(we)){var Le=this.Kids[we];Le.appearanceStreamContent=Ge.createAppearanceStream(Le.optionName),Le.caption=Ge.getCA()}},Et.prototype.createOption=function(Ge){var we=new xt;return we.Parent=this,we.optionName=Ge,this.Kids.push(we),dt.call(this.scope,we),we};var Tt=function(){bt.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=q.CheckBox.createAppearanceStream()};G(Tt,bt);var Be=function(){ze.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,13))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,13):this.Ff=ee(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,21))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,21):this.Ff=ee(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,23))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,23):this.Ff=ee(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,24))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,24):this.Ff=ee(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,25))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,25):this.Ff=ee(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,26))},set:function(De){Boolean(De)===!0?this.Ff=ie(this.Ff,26):this.Ff=ee(this.Ff,26)}});var we=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return we},set:function(De){we=De}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return we},set:function(De){Number.isInteger(De)&&(we=De)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};G(Be,ze);var ce=function(){Be.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(xe(this.Ff,14))},set:function(Le){Boolean(Le)===!0?this.Ff=ie(this.Ff,14):this.Ff=ee(this.Ff,14)}}),this.password=!0};G(ce,Be);var q={CheckBox:{createAppearanceStream:function(){return{N:{On:q.CheckBox.YesNormal},D:{On:q.CheckBox.YesPushDown,Off:q.CheckBox.OffPushDown}}},YesPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=[],We=we.scope.internal.getFont(we.fontName,we.fontStyle).id,Fe=we.scope.__private__.encodeColorString(we.color),Je=Ne(we,we.caption);return De.push("0.749023 g"),De.push("0 0 "+V(q.internal.getWidth(we))+" "+V(q.internal.getHeight(we))+" re"),De.push("f"),De.push("BMC"),De.push("q"),De.push("0 0 1 rg"),De.push("/"+We+" "+V(Je.fontSize)+" Tf "+Fe),De.push("BT"),De.push(Je.text),De.push("ET"),De.push("Q"),De.push("EMC"),Le.stream=De.join(`
`),Le},YesNormal:function(we){var Le=te(we);Le.scope=we.scope;var De=we.scope.internal.getFont(we.fontName,we.fontStyle).id,We=we.scope.__private__.encodeColorString(we.color),Fe=[],Je=q.internal.getHeight(we),vt=q.internal.getWidth(we),st=Ne(we,we.caption);return Fe.push("1 g"),Fe.push("0 0 "+V(vt)+" "+V(Je)+" re"),Fe.push("f"),Fe.push("q"),Fe.push("0 0 1 rg"),Fe.push("0 0 "+V(vt-1)+" "+V(Je-1)+" re"),Fe.push("W"),Fe.push("n"),Fe.push("0 g"),Fe.push("BT"),Fe.push("/"+De+" "+V(st.fontSize)+" Tf "+We),Fe.push(st.text),Fe.push("ET"),Fe.push("Q"),Le.stream=Fe.join(`
`),Le},OffPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=[];return De.push("0.749023 g"),De.push("0 0 "+V(q.internal.getWidth(we))+" "+V(q.internal.getHeight(we))+" re"),De.push("f"),Le.stream=De.join(`
`),Le}},RadioButton:{Circle:{createAppearanceStream:function(we){var Le={D:{Off:q.RadioButton.Circle.OffPushDown},N:{}};return Le.N[we]=q.RadioButton.Circle.YesNormal,Le.D[we]=q.RadioButton.Circle.YesPushDown,Le},getCA:function(){return"l"},YesNormal:function(we){var Le=te(we);Le.scope=we.scope;var De=[],We=q.internal.getWidth(we)<=q.internal.getHeight(we)?q.internal.getWidth(we)/4:q.internal.getHeight(we)/4;We=Number((.9*We).toFixed(5));var Fe=q.internal.Bezier_C,Je=Number((We*Fe).toFixed(5));return De.push("q"),De.push("1 0 0 1 "+Z(q.internal.getWidth(we)/2)+" "+Z(q.internal.getHeight(we)/2)+" cm"),De.push(We+" 0 m"),De.push(We+" "+Je+" "+Je+" "+We+" 0 "+We+" c"),De.push("-"+Je+" "+We+" -"+We+" "+Je+" -"+We+" 0 c"),De.push("-"+We+" -"+Je+" -"+Je+" -"+We+" 0 -"+We+" c"),De.push(Je+" -"+We+" "+We+" -"+Je+" "+We+" 0 c"),De.push("f"),De.push("Q"),Le.stream=De.join(`
`),Le},YesPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=[],We=q.internal.getWidth(we)<=q.internal.getHeight(we)?q.internal.getWidth(we)/4:q.internal.getHeight(we)/4;We=Number((.9*We).toFixed(5));var Fe=Number((2*We).toFixed(5)),Je=Number((Fe*q.internal.Bezier_C).toFixed(5)),vt=Number((We*q.internal.Bezier_C).toFixed(5));return De.push("0.749023 g"),De.push("q"),De.push("1 0 0 1 "+Z(q.internal.getWidth(we)/2)+" "+Z(q.internal.getHeight(we)/2)+" cm"),De.push(Fe+" 0 m"),De.push(Fe+" "+Je+" "+Je+" "+Fe+" 0 "+Fe+" c"),De.push("-"+Je+" "+Fe+" -"+Fe+" "+Je+" -"+Fe+" 0 c"),De.push("-"+Fe+" -"+Je+" -"+Je+" -"+Fe+" 0 -"+Fe+" c"),De.push(Je+" -"+Fe+" "+Fe+" -"+Je+" "+Fe+" 0 c"),De.push("f"),De.push("Q"),De.push("0 g"),De.push("q"),De.push("1 0 0 1 "+Z(q.internal.getWidth(we)/2)+" "+Z(q.internal.getHeight(we)/2)+" cm"),De.push(We+" 0 m"),De.push(We+" "+vt+" "+vt+" "+We+" 0 "+We+" c"),De.push("-"+vt+" "+We+" -"+We+" "+vt+" -"+We+" 0 c"),De.push("-"+We+" -"+vt+" -"+vt+" -"+We+" 0 -"+We+" c"),De.push(vt+" -"+We+" "+We+" -"+vt+" "+We+" 0 c"),De.push("f"),De.push("Q"),Le.stream=De.join(`
`),Le},OffPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=[],We=q.internal.getWidth(we)<=q.internal.getHeight(we)?q.internal.getWidth(we)/4:q.internal.getHeight(we)/4;We=Number((.9*We).toFixed(5));var Fe=Number((2*We).toFixed(5)),Je=Number((Fe*q.internal.Bezier_C).toFixed(5));return De.push("0.749023 g"),De.push("q"),De.push("1 0 0 1 "+Z(q.internal.getWidth(we)/2)+" "+Z(q.internal.getHeight(we)/2)+" cm"),De.push(Fe+" 0 m"),De.push(Fe+" "+Je+" "+Je+" "+Fe+" 0 "+Fe+" c"),De.push("-"+Je+" "+Fe+" -"+Fe+" "+Je+" -"+Fe+" 0 c"),De.push("-"+Fe+" -"+Je+" -"+Je+" -"+Fe+" 0 -"+Fe+" c"),De.push(Je+" -"+Fe+" "+Fe+" -"+Je+" "+Fe+" 0 c"),De.push("f"),De.push("Q"),Le.stream=De.join(`
`),Le}},Cross:{createAppearanceStream:function(we){var Le={D:{Off:q.RadioButton.Cross.OffPushDown},N:{}};return Le.N[we]=q.RadioButton.Cross.YesNormal,Le.D[we]=q.RadioButton.Cross.YesPushDown,Le},getCA:function(){return"8"},YesNormal:function(we){var Le=te(we);Le.scope=we.scope;var De=[],We=q.internal.calculateCross(we);return De.push("q"),De.push("1 1 "+V(q.internal.getWidth(we)-2)+" "+V(q.internal.getHeight(we)-2)+" re"),De.push("W"),De.push("n"),De.push(V(We.x1.x)+" "+V(We.x1.y)+" m"),De.push(V(We.x2.x)+" "+V(We.x2.y)+" l"),De.push(V(We.x4.x)+" "+V(We.x4.y)+" m"),De.push(V(We.x3.x)+" "+V(We.x3.y)+" l"),De.push("s"),De.push("Q"),Le.stream=De.join(`
`),Le},YesPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=q.internal.calculateCross(we),We=[];return We.push("0.749023 g"),We.push("0 0 "+V(q.internal.getWidth(we))+" "+V(q.internal.getHeight(we))+" re"),We.push("f"),We.push("q"),We.push("1 1 "+V(q.internal.getWidth(we)-2)+" "+V(q.internal.getHeight(we)-2)+" re"),We.push("W"),We.push("n"),We.push(V(De.x1.x)+" "+V(De.x1.y)+" m"),We.push(V(De.x2.x)+" "+V(De.x2.y)+" l"),We.push(V(De.x4.x)+" "+V(De.x4.y)+" m"),We.push(V(De.x3.x)+" "+V(De.x3.y)+" l"),We.push("s"),We.push("Q"),Le.stream=We.join(`
`),Le},OffPushDown:function(we){var Le=te(we);Le.scope=we.scope;var De=[];return De.push("0.749023 g"),De.push("0 0 "+V(q.internal.getWidth(we))+" "+V(q.internal.getHeight(we))+" re"),De.push("f"),Le.stream=De.join(`
`),Le}}},createDefaultAppearanceStream:function(we){var Le=we.scope.internal.getFont(we.fontName,we.fontStyle).id,De=we.scope.__private__.encodeColorString(we.color);return"/"+Le+" "+we.fontSize+" Tf "+De}};q.internal={Bezier_C:.551915024494,calculateCross:function(we){var Le=q.internal.getWidth(we),De=q.internal.getHeight(we),We=Math.min(Le,De);return{x1:{x:(Le-We)/2,y:(De-We)/2+We},x2:{x:(Le-We)/2+We,y:(De-We)/2},x3:{x:(Le-We)/2,y:(De-We)/2},x4:{x:(Le-We)/2+We,y:(De-We)/2+We}}}},q.internal.getWidth=function(Ge){var we=0;return I()(Ge)==="object"&&(we=Y(Ge.Rect[2])),we},q.internal.getHeight=function(Ge){var we=0;return I()(Ge)==="object"&&(we=Y(Ge.Rect[3])),we};var dt=H.addField=function(Ge){if(et(this,Ge),!(Ge instanceof ze))throw new Error("Invalid argument passed to jsPDF.addField.");var we;return(we=Ge).scope.internal.acroformPlugin.printedOut&&(we.scope.internal.acroformPlugin.printedOut=!1,we.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),we.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(we),Ge.page=Ge.scope.internal.getCurrentPageInfo().pageNumber,this};H.AcroFormChoiceField=Ke,H.AcroFormListBox=Te,H.AcroFormComboBox=gt,H.AcroFormEditBox=Ue,H.AcroFormButton=bt,H.AcroFormPushButton=wt,H.AcroFormRadioButton=Et,H.AcroFormCheckBox=Tt,H.AcroFormTextField=Be,H.AcroFormPasswordField=ce,H.AcroFormAppearance=q,H.AcroForm={ChoiceField:Ke,ListBox:Te,ComboBox:gt,EditBox:Ue,Button:bt,PushButton:wt,RadioButton:Et,CheckBox:Tt,TextField:Be,PasswordField:ce,Appearance:q},j.AcroForm={ChoiceField:Ke,ListBox:Te,ComboBox:gt,EditBox:Ue,Button:bt,PushButton:wt,RadioButton:Et,CheckBox:Tt,TextField:Be,PasswordField:ce,Appearance:q};var Ve=j.AcroForm;function de(Ge){return Ge.reduce(function(we,Le,De){return we[Le]=De,we},{})}!function(Ge){Ge.__addimage__={};var we="UNKNOWN",Le={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],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},De=Ge.__addimage__.getImageFileTypeByImageData=function(gn,Vr){var xn,tn,ui,qn,wi,Qn=we;if((Vr=Vr||we)==="RGBA"||gn.data!==void 0&&gn.data instanceof Uint8ClampedArray&&"height"in gn&&"width"in gn)return"RGBA";if(oi(gn))for(wi in Le)for(ui=Le[wi],xn=0;xn<ui.length;xn+=1){for(qn=!0,tn=0;tn<ui[xn].length;tn+=1)if(ui[xn][tn]!==void 0&&ui[xn][tn]!==gn[tn]){qn=!1;break}if(qn===!0){Qn=wi;break}}else for(wi in Le)for(ui=Le[wi],xn=0;xn<ui.length;xn+=1){for(qn=!0,tn=0;tn<ui[xn].length;tn+=1)if(ui[xn][tn]!==void 0&&ui[xn][tn]!==gn.charCodeAt(tn)){qn=!1;break}if(qn===!0){Qn=wi;break}}return Qn===we&&Vr!==we&&(Qn=Vr),Qn},We=function gn(Vr){for(var xn=this.internal.write,tn=this.internal.putStream,ui=(0,this.internal.getFilters)();ui.indexOf("FlateEncode")!==-1;)ui.splice(ui.indexOf("FlateEncode"),1);Vr.objectId=this.internal.newObject();var qn=[];if(qn.push({key:"Type",value:"/XObject"}),qn.push({key:"Subtype",value:"/Image"}),qn.push({key:"Width",value:Vr.width}),qn.push({key:"Height",value:Vr.height}),Vr.colorSpace===Xr.INDEXED?qn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Vr.palette.length/3-1)+" "+("sMask"in Vr&&Vr.sMask!==void 0?Vr.objectId+2:Vr.objectId+1)+" 0 R]"}):(qn.push({key:"ColorSpace",value:"/"+Vr.colorSpace}),Vr.colorSpace===Xr.DEVICE_CMYK&&qn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),qn.push({key:"BitsPerComponent",value:Vr.bitsPerComponent}),"decodeParameters"in Vr&&Vr.decodeParameters!==void 0&&qn.push({key:"DecodeParms",value:"<<"+Vr.decodeParameters+">>"}),"transparency"in Vr&&Array.isArray(Vr.transparency)){for(var wi="",Qn=0,Hi=Vr.transparency.length;Qn<Hi;Qn++)wi+=Vr.transparency[Qn]+" "+Vr.transparency[Qn]+" ";qn.push({key:"Mask",value:"["+wi+"]"})}Vr.sMask!==void 0&&qn.push({key:"SMask",value:Vr.objectId+1+" 0 R"});var ri=Vr.filter!==void 0?["/"+Vr.filter]:void 0;if(tn({data:Vr.data,additionalKeyValues:qn,alreadyAppliedFilters:ri,objectId:Vr.objectId}),xn("endobj"),"sMask"in Vr&&Vr.sMask!==void 0){var Mi="/Predictor "+Vr.predictor+" /Colors 1 /BitsPerComponent "+Vr.bitsPerComponent+" /Columns "+Vr.width,dn={width:Vr.width,height:Vr.height,colorSpace:"DeviceGray",bitsPerComponent:Vr.bitsPerComponent,decodeParameters:Mi,data:Vr.sMask};"filter"in Vr&&(dn.filter=Vr.filter),gn.call(this,dn)}if(Vr.colorSpace===Xr.INDEXED){var Fr=this.internal.newObject();tn({data:bi(new Uint8Array(Vr.palette)),objectId:Fr}),xn("endobj")}},Fe=function(){var Vr=this.internal.collections.addImage_images;for(var xn in Vr)We.call(this,Vr[xn])},Je=function(){var Vr,xn=this.internal.collections.addImage_images,tn=this.internal.write;for(var ui in xn)tn("/I"+(Vr=xn[ui]).index,Vr.objectId,"0","R")},vt=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",Fe),this.internal.events.subscribe("putXobjectDict",Je))},st=function(){var Vr=this.internal.collections.addImage_images;return vt.call(this),Vr},kt=function(){return Object.keys(this.internal.collections.addImage_images).length},wr=function(Vr){return typeof Ge["process"+Vr.toUpperCase()]=="function"},hr=function(Vr){return I()(Vr)==="object"&&Vr.nodeType===1},Nr=function(Vr,xn){if(Vr.nodeName==="IMG"&&Vr.hasAttribute("src")){var tn=""+Vr.getAttribute("src");if(tn.indexOf("data:image/")===0)return s(unescape(tn).split("base64,").pop());var ui=Ge.loadFile(tn,!0);if(ui!==void 0)return ui}if(Vr.nodeName==="CANVAS"){if(Vr.width===0||Vr.height===0)throw new Error("Given canvas must have data. Canvas width: "+Vr.width+", height: "+Vr.height);var qn;switch(xn){case"PNG":qn="image/png";break;case"WEBP":qn="image/webp";break;case"JPEG":case"JPG":default:qn="image/jpeg"}return s(Vr.toDataURL(qn,1).split("base64,").pop())}},Kt=function(Vr){var xn=this.internal.collections.addImage_images;if(xn){for(var tn in xn)if(Vr===xn[tn].alias)return xn[tn]}},un=function(Vr,xn,tn){return Vr||xn||(Vr=-96,xn=-96),Vr<0&&(Vr=-1*tn.width*72/Vr/this.internal.scaleFactor),xn<0&&(xn=-1*tn.height*72/xn/this.internal.scaleFactor),Vr===0&&(Vr=xn*tn.width/tn.height),xn===0&&(xn=Vr*tn.height/tn.width),[Vr,xn]},ar=function(Vr,xn,tn,ui,qn,wi){var Qn=un.call(this,tn,ui,qn),Hi=this.internal.getCoordinateString,ri=this.internal.getVerticalCoordinateString,Mi=st.call(this);if(tn=Qn[0],ui=Qn[1],Mi[qn.index]=qn,wi){wi*=Math.PI/180;var dn=Math.cos(wi),Fr=Math.sin(wi),bn=function($n){return $n.toFixed(4)},Mn=[bn(dn),bn(Fr),bn(-1*Fr),bn(dn),0,0,"cm"]}this.internal.write("q"),wi?(this.internal.write([1,"0","0",1,Hi(Vr),ri(xn+ui),"cm"].join(" ")),this.internal.write(Mn.join(" ")),this.internal.write([Hi(tn),"0","0",Hi(ui),"0","0","cm"].join(" "))):this.internal.write([Hi(tn),"0","0",Hi(ui),Hi(Vr),ri(xn+ui),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+qn.index+" Do"),this.internal.write("Q")},Xr=Ge.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"};Ge.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"};var kr=Ge.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},gr=Ge.__addimage__.sHashCode=function(gn){var Vr,xn,tn=0;if(typeof gn=="string")for(xn=gn.length,Vr=0;Vr<xn;Vr++)tn=(tn<<5)-tn+gn.charCodeAt(Vr),tn|=0;else if(oi(gn))for(xn=gn.byteLength/2,Vr=0;Vr<xn;Vr++)tn=(tn<<5)-tn+gn[Vr],tn|=0;return tn},Sn=Ge.__addimage__.validateStringAsBase64=function(gn){(gn=gn||"").toString().trim();var Vr=!0;return gn.length===0&&(Vr=!1),gn.length%4!=0&&(Vr=!1),/^[A-Za-z0-9+/]+$/.test(gn.substr(0,gn.length-2))===!1&&(Vr=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(gn.substr(-2))===!1&&(Vr=!1),Vr},Pn=Ge.__addimage__.extractImageFromDataUrl=function(gn){var Vr=(gn=gn||"").split("base64,"),xn=null;if(Vr.length===2){var tn=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(Vr[0]);Array.isArray(tn)&&(xn={mimeType:tn[1],charset:tn[2],data:Vr[1]})}return xn},ii=Ge.__addimage__.supportsArrayBuffer=function(){return typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"};Ge.__addimage__.isArrayBuffer=function(gn){return ii()&&gn instanceof ArrayBuffer};var oi=Ge.__addimage__.isArrayBufferView=function(gn){return ii()&&typeof Uint32Array!="undefined"&&(gn instanceof Int8Array||gn instanceof Uint8Array||typeof Uint8ClampedArray!="undefined"&&gn instanceof Uint8ClampedArray||gn instanceof Int16Array||gn instanceof Uint16Array||gn instanceof Int32Array||gn instanceof Uint32Array||gn instanceof Float32Array||gn instanceof Float64Array)},ti=Ge.__addimage__.binaryStringToUint8Array=function(gn){for(var Vr=gn.length,xn=new Uint8Array(Vr),tn=0;tn<Vr;tn++)xn[tn]=gn.charCodeAt(tn);return xn},bi=Ge.__addimage__.arrayBufferToBinaryString=function(gn){for(var Vr="",xn=oi(gn)?gn:new Uint8Array(gn),tn=0;tn<xn.length;tn+=8192)Vr+=String.fromCharCode.apply(null,xn.subarray(tn,tn+8192));return Vr};Ge.addImage=function(){var gn,Vr,xn,tn,ui,qn,wi,Qn,Hi;if(typeof arguments[1]=="number"?(Vr=we,xn=arguments[1],tn=arguments[2],ui=arguments[3],qn=arguments[4],wi=arguments[5],Qn=arguments[6],Hi=arguments[7]):(Vr=arguments[1],xn=arguments[2],tn=arguments[3],ui=arguments[4],qn=arguments[5],wi=arguments[6],Qn=arguments[7],Hi=arguments[8]),I()(gn=arguments[0])==="object"&&!hr(gn)&&"imageData"in gn){var ri=gn;gn=ri.imageData,Vr=ri.format||Vr||we,xn=ri.x||xn||0,tn=ri.y||tn||0,ui=ri.w||ri.width||ui,qn=ri.h||ri.height||qn,wi=ri.alias||wi,Qn=ri.compression||Qn,Hi=ri.rotation||ri.angle||Hi}var Mi=this.internal.getFilters();if(Qn===void 0&&Mi.indexOf("FlateEncode")!==-1&&(Qn="SLOW"),isNaN(xn)||isNaN(tn))throw new Error("Invalid coordinates passed to jsPDF.addImage");vt.call(this);var dn=Bn.call(this,gn,Vr,wi,Qn);return ar.call(this,xn,tn,ui,qn,dn,Hi),this};var Bn=function(Vr,xn,tn,ui){var qn,wi,Qn;if(typeof Vr=="string"&&De(Vr)===we){Vr=unescape(Vr);var Hi=_i(Vr,!1);(Hi!==""||(Hi=Ge.loadFile(Vr,!0))!==void 0)&&(Vr=Hi)}if(hr(Vr)&&(Vr=Nr(Vr,xn)),xn=De(Vr,xn),!wr(xn))throw new Error("addImage does not support files of type '"+xn+"', please ensure that a plugin for '"+xn+"' support is added.");if(((Qn=tn)==null||Qn.length===0)&&(tn=function(ri){return typeof ri=="string"||oi(ri)?gr(ri):oi(ri.data)?gr(ri.data):null}(Vr)),(qn=Kt.call(this,tn))||(ii()&&(Vr instanceof Uint8Array||xn==="RGBA"||(wi=Vr,Vr=ti(Vr))),qn=this["process"+xn.toUpperCase()](Vr,kt.call(this),tn,function(ri){return ri&&typeof ri=="string"&&(ri=ri.toUpperCase()),ri in Ge.image_compression?ri:kr.NONE}(ui),wi)),!qn)throw new Error("An unknown error occurred whilst processing the image.");return qn},_i=Ge.__addimage__.convertBase64ToBinaryString=function(gn,Vr){var xn;Vr=typeof Vr!="boolean"||Vr;var tn,ui="";if(typeof gn=="string"){tn=(xn=Pn(gn))!==null?xn.data:gn;try{ui=s(tn)}catch(qn){if(Vr)throw Sn(tn)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+qn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ui};Ge.getImageProperties=function(gn){var Vr,xn,tn="";if(hr(gn)&&(gn=Nr(gn)),typeof gn=="string"&&De(gn)===we&&((tn=_i(gn,!1))===""&&(tn=Ge.loadFile(gn)||""),gn=tn),xn=De(gn),!wr(xn))throw new Error("addImage does not support files of type '"+xn+"', please ensure that a plugin for '"+xn+"' support is added.");if(!ii()||gn instanceof Uint8Array||(gn=ti(gn)),!(Vr=this["process"+xn.toUpperCase()](gn)))throw new Error("An unknown error occurred whilst processing the image");return Vr.fileType=xn,Vr}}(j.API),function(Ge){var we=function(De){if(De!==void 0&&De!="")return!0};j.API.events.push(["addPage",function(Le){this.internal.getPageInfo(Le.pageNumber).pageContext.annotations=[]}]),Ge.events.push(["putPage",function(Le){for(var De,We,Fe,Je=this.internal.getCoordinateString,vt=this.internal.getVerticalCoordinateString,st=this.internal.getPageInfoByObjId(Le.objId),kt=Le.pageContext.annotations,wr=!1,hr=0;hr<kt.length&&!wr;hr++)switch((De=kt[hr]).type){case"link":(we(De.options.url)||we(De.options.pageNumber))&&(wr=!0);break;case"reference":case"text":case"freetext":wr=!0}if(wr!=0){this.internal.write("/Annots [");for(var Nr=0;Nr<kt.length;Nr++){De=kt[Nr];var Kt=this.internal.pdfEscape,un=this.internal.getEncryptor(Le.objId);switch(De.type){case"reference":this.internal.write(" "+De.object.objId+" 0 R ");break;case"text":var ar=this.internal.newAdditionalObject(),Xr=this.internal.newAdditionalObject(),kr=this.internal.getEncryptor(ar.objId),gr=De.title||"Note";Fe="<</Type /Annot /Subtype /Text "+(We="/Rect ["+Je(De.bounds.x)+" "+vt(De.bounds.y+De.bounds.h)+" "+Je(De.bounds.x+De.bounds.w)+" "+vt(De.bounds.y)+"] ")+"/Contents ("+Kt(kr(De.contents))+")",Fe+=" /Popup "+Xr.objId+" 0 R",Fe+=" /P "+st.objId+" 0 R",Fe+=" /T ("+Kt(kr(gr))+") >>",ar.content=Fe;var Sn=ar.objId+" 0 R";Fe="<</Type /Annot /Subtype /Popup "+(We="/Rect ["+Je(De.bounds.x+30)+" "+vt(De.bounds.y+De.bounds.h)+" "+Je(De.bounds.x+De.bounds.w+30)+" "+vt(De.bounds.y)+"] ")+" /Parent "+Sn,De.open&&(Fe+=" /Open true"),Fe+=" >>",Xr.content=Fe,this.internal.write(ar.objId,"0 R",Xr.objId,"0 R");break;case"freetext":We="/Rect ["+Je(De.bounds.x)+" "+vt(De.bounds.y)+" "+Je(De.bounds.x+De.bounds.w)+" "+vt(De.bounds.y+De.bounds.h)+"] ";var Pn=De.color||"#000000";Fe="<</Type /Annot /Subtype /FreeText "+We+"/Contents ("+Kt(un(De.contents))+")",Fe+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Pn+")",Fe+=" /Border [0 0 0]",Fe+=" >>",this.internal.write(Fe);break;case"link":if(De.options.name){var ii=this.annotations._nameMap[De.options.name];De.options.pageNumber=ii.page,De.options.top=ii.y}else De.options.top||(De.options.top=0);if(We="/Rect ["+De.finalBounds.x+" "+De.finalBounds.y+" "+De.finalBounds.w+" "+De.finalBounds.h+"] ",Fe="",De.options.url)Fe="<</Type /Annot /Subtype /Link "+We+"/Border [0 0 0] /A <</S /URI /URI ("+Kt(un(De.options.url))+") >>";else if(De.options.pageNumber)switch(Fe="<</Type /Annot /Subtype /Link "+We+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(De.options.pageNumber).objId+" 0 R",De.options.magFactor=De.options.magFactor||"XYZ",De.options.magFactor){case"Fit":Fe+=" /Fit]";break;case"FitH":Fe+=" /FitH "+De.options.top+"]";break;case"FitV":De.options.left=De.options.left||0,Fe+=" /FitV "+De.options.left+"]";break;case"XYZ":default:var oi=vt(De.options.top);De.options.left=De.options.left||0,De.options.zoom===void 0&&(De.options.zoom=0),Fe+=" /XYZ "+De.options.left+" "+oi+" "+De.options.zoom+"]"}Fe!=""&&(Fe+=" >>",this.internal.write(Fe))}}this.internal.write("]")}}]),Ge.createAnnotation=function(Le){var De=this.internal.getCurrentPageInfo();switch(Le.type){case"link":this.link(Le.bounds.x,Le.bounds.y,Le.bounds.w,Le.bounds.h,Le);break;case"text":case"freetext":De.pageContext.annotations.push(Le)}},Ge.link=function(Le,De,We,Fe,Je){var vt=this.internal.getCurrentPageInfo(),st=this.internal.getCoordinateString,kt=this.internal.getVerticalCoordinateString;vt.pageContext.annotations.push({finalBounds:{x:st(Le),y:kt(De),w:st(Le+We),h:kt(De+Fe)},options:Je,type:"link"})},Ge.textWithLink=function(Le,De,We,Fe){var Je,vt,st=this.getTextWidth(Le),kt=this.internal.getLineHeight()/this.internal.scaleFactor;if(Fe.maxWidth!==void 0){vt=Fe.maxWidth;var wr=this.splitTextToSize(Le,vt).length;Je=Math.ceil(kt*wr)}else vt=st,Je=kt;return this.text(Le,De,We,Fe),We+=.2*kt,Fe.align==="center"&&(De-=st/2),Fe.align==="right"&&(De-=st),this.link(De,We-kt,vt,Je,Fe),st},Ge.getTextWidth=function(Le){var De=this.internal.getFontSize();return this.getStringUnitWidth(Le)*De/this.internal.scaleFactor}}(j.API),function(Ge){var we={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]},Le={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}},De={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},We=[1570,1571,1573,1575];Ge.__arabicParser__={};var Fe=Ge.__arabicParser__.isInArabicSubstitutionA=function(ar){return we[ar.charCodeAt(0)]!==void 0},Je=Ge.__arabicParser__.isArabicLetter=function(ar){return typeof ar=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(ar)},vt=Ge.__arabicParser__.isArabicEndLetter=function(ar){return Je(ar)&&Fe(ar)&&we[ar.charCodeAt(0)].length<=2},st=Ge.__arabicParser__.isArabicAlfLetter=function(ar){return Je(ar)&&We.indexOf(ar.charCodeAt(0))>=0};Ge.__arabicParser__.arabicLetterHasIsolatedForm=function(ar){return Je(ar)&&Fe(ar)&&we[ar.charCodeAt(0)].length>=1};var kt=Ge.__arabicParser__.arabicLetterHasFinalForm=function(ar){return Je(ar)&&Fe(ar)&&we[ar.charCodeAt(0)].length>=2};Ge.__arabicParser__.arabicLetterHasInitialForm=function(ar){return Je(ar)&&Fe(ar)&&we[ar.charCodeAt(0)].length>=3};var wr=Ge.__arabicParser__.arabicLetterHasMedialForm=function(ar){return Je(ar)&&Fe(ar)&&we[ar.charCodeAt(0)].length==4},hr=Ge.__arabicParser__.resolveLigatures=function(ar){var Xr=0,kr=Le,gr="",Sn=0;for(Xr=0;Xr<ar.length;Xr+=1)kr[ar.charCodeAt(Xr)]!==void 0?(Sn++,typeof(kr=kr[ar.charCodeAt(Xr)])=="number"&&(gr+=String.fromCharCode(kr),kr=Le,Sn=0),Xr===ar.length-1&&(kr=Le,gr+=ar.charAt(Xr-(Sn-1)),Xr-=Sn-1,Sn=0)):(kr=Le,gr+=ar.charAt(Xr-Sn),Xr-=Sn,Sn=0);return gr};Ge.__arabicParser__.isArabicDiacritic=function(ar){return ar!==void 0&&De[ar.charCodeAt(0)]!==void 0};var Nr=Ge.__arabicParser__.getCorrectForm=function(ar,Xr,kr){return Je(ar)?Fe(ar)===!1?-1:!kt(ar)||!Je(Xr)&&!Je(kr)||!Je(kr)&&vt(Xr)||vt(ar)&&!Je(Xr)||vt(ar)&&st(Xr)||vt(ar)&&vt(Xr)?0:wr(ar)&&Je(Xr)&&!vt(Xr)&&Je(kr)&&kt(kr)?3:vt(ar)||!Je(kr)?1:2:-1},Kt=function(Xr){var kr=0,gr=0,Sn=0,Pn="",ii="",oi="",ti=(Xr=Xr||"").split("\\s+"),bi=[];for(kr=0;kr<ti.length;kr+=1){for(bi.push(""),gr=0;gr<ti[kr].length;gr+=1)Pn=ti[kr][gr],ii=ti[kr][gr-1],oi=ti[kr][gr+1],Je(Pn)?(Sn=Nr(Pn,ii,oi),bi[kr]+=Sn!==-1?String.fromCharCode(we[Pn.charCodeAt(0)][Sn]):Pn):bi[kr]+=Pn;bi[kr]=hr(bi[kr])}return bi.join(" ")},un=Ge.__arabicParser__.processArabic=Ge.processArabic=function(){var ar,Xr=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,kr=[];if(Array.isArray(Xr)){var gr=0;for(kr=[],gr=0;gr<Xr.length;gr+=1)Array.isArray(Xr[gr])?kr.push([Kt(Xr[gr][0]),Xr[gr][1],Xr[gr][2]]):kr.push([Kt(Xr[gr])]);ar=kr}else ar=Kt(Xr);return typeof arguments[0]=="string"?ar:(arguments[0].text=ar,arguments[0])};Ge.events.push(["preProcessText",un])}(j.API),j.API.autoPrint=function(Ge){var we;switch((Ge=Ge||{}).variant=Ge.variant||"non-conform",Ge.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){we=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 "+we+" 0 R")})}return this},function(Ge){var we=function(){var De=void 0;Object.defineProperty(this,"pdf",{get:function(){return De},set:function(kt){De=kt}});var We=150;Object.defineProperty(this,"width",{get:function(){return We},set:function(kt){We=isNaN(kt)||Number.isInteger(kt)===!1||kt<0?150:kt,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=We+1)}});var Fe=300;Object.defineProperty(this,"height",{get:function(){return Fe},set:function(kt){Fe=isNaN(kt)||Number.isInteger(kt)===!1||kt<0?300:kt,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=Fe+1)}});var Je=[];Object.defineProperty(this,"childNodes",{get:function(){return Je},set:function(kt){Je=kt}});var vt={};Object.defineProperty(this,"style",{get:function(){return vt},set:function(kt){vt=kt}}),Object.defineProperty(this,"parentNode",{})};we.prototype.getContext=function(Le,De){var We;if((Le=Le||"2d")!=="2d")return null;for(We in De)this.pdf.context2d.hasOwnProperty(We)&&(this.pdf.context2d[We]=De[We]);return this.pdf.context2d._canvas=this,this.pdf.context2d},we.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},Ge.events.push(["initialized",function(){this.canvas=new we,this.canvas.pdf=this}])}(j.API),function(Ge){var we={left:0,top:0,bottom:0,right:0},Le=!1,De=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},we),this.internal.__cell__.margins.width=this.getPageWidth(),We.call(this))},We=function(){this.internal.__cell__.lastCell=new Fe,this.internal.__cell__.pages=1},Fe=function(){var kt=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return kt},set:function(kr){kt=kr}});var wr=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return wr},set:function(kr){wr=kr}});var hr=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return hr},set:function(kr){hr=kr}});var Nr=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Nr},set:function(kr){Nr=kr}});var Kt=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Kt},set:function(kr){Kt=kr}});var un=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return un},set:function(kr){un=kr}});var ar=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return ar},set:function(kr){ar=kr}}),this};Fe.prototype.clone=function(){return new Fe(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},Fe.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},Ge.setHeaderFunction=function(st){return De.call(this),this.internal.__cell__.headerFunction=typeof st=="function"?st:void 0,this},Ge.getTextDimensions=function(st,kt){De.call(this);var wr=(kt=kt||{}).fontSize||this.getFontSize(),hr=kt.font||this.getFont(),Nr=kt.scaleFactor||this.internal.scaleFactor,Kt=0,un=0,ar=0,Xr=this;if(!Array.isArray(st)&&typeof st!="string"){if(typeof st!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");st=String(st)}var kr=kt.maxWidth;kr>0?typeof st=="string"?st=this.splitTextToSize(st,kr):Object.prototype.toString.call(st)==="[object Array]"&&(st=st.reduce(function(Sn,Pn){return Sn.concat(Xr.splitTextToSize(Pn,kr))},[])):st=Array.isArray(st)?st:[st];for(var gr=0;gr<st.length;gr++)Kt<(ar=this.getStringUnitWidth(st[gr],{font:hr})*wr)&&(Kt=ar);return Kt!==0&&(un=st.length),{w:Kt/=Nr,h:Math.max((un*wr*this.getLineHeightFactor()-wr*(this.getLineHeightFactor()-1))/Nr,0)}},Ge.cellAddPage=function(){De.call(this),this.addPage();var st=this.internal.__cell__.margins||we;return this.internal.__cell__.lastCell=new Fe(st.left,st.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var Je=Ge.cell=function(){var st;st=arguments[0]instanceof Fe?arguments[0]:new Fe(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),De.call(this);var kt=this.internal.__cell__.lastCell,wr=this.internal.__cell__.padding,hr=this.internal.__cell__.margins||we,Nr=this.internal.__cell__.tableHeaderRow,Kt=this.internal.__cell__.printHeaders;return kt.lineNumber!==void 0&&(kt.lineNumber===st.lineNumber?(st.x=(kt.x||0)+(kt.width||0),st.y=kt.y||0):kt.y+kt.height+st.height+hr.bottom>this.getPageHeight()?(this.cellAddPage(),st.y=hr.top,Kt&&Nr&&(this.printHeaderRow(st.lineNumber,!0),st.y+=Nr[0].height)):st.y=kt.y+kt.height||st.y),st.text[0]!==void 0&&(this.rect(st.x,st.y,st.width,st.height,Le===!0?"FD":void 0),st.align==="right"?this.text(st.text,st.x+st.width-wr,st.y+wr,{align:"right",baseline:"top"}):st.align==="center"?this.text(st.text,st.x+st.width/2,st.y+wr,{align:"center",baseline:"top",maxWidth:st.width-wr-wr}):this.text(st.text,st.x+wr,st.y+wr,{align:"left",baseline:"top",maxWidth:st.width-wr-wr})),this.internal.__cell__.lastCell=st,this};Ge.table=function(st,kt,wr,hr,Nr){if(De.call(this),!wr)throw new Error("No data for PDF table.");var Kt,un,ar,Xr,kr=[],gr=[],Sn=[],Pn={},ii={},oi=[],ti=[],bi=(Nr=Nr||{}).autoSize||!1,Bn=Nr.printHeaders!==!1,_i=Nr.css&&Nr.css["font-size"]!==void 0?16*Nr.css["font-size"]:Nr.fontSize||12,gn=Nr.margins||Object.assign({width:this.getPageWidth()},we),Vr=typeof Nr.padding=="number"?Nr.padding:3,xn=Nr.headerBackgroundColor||"#c8c8c8",tn=Nr.headerTextColor||"#000";if(We.call(this),this.internal.__cell__.printHeaders=Bn,this.internal.__cell__.margins=gn,this.internal.__cell__.table_font_size=_i,this.internal.__cell__.padding=Vr,this.internal.__cell__.headerBackgroundColor=xn,this.internal.__cell__.headerTextColor=tn,this.setFontSize(_i),hr==null)gr=kr=Object.keys(wr[0]),Sn=kr.map(function(){return"left"});else if(Array.isArray(hr)&&I()(hr[0])==="object")for(kr=hr.map(function(ri){return ri.name}),gr=hr.map(function(ri){return ri.prompt||ri.name||""}),Sn=hr.map(function(ri){return ri.align||"left"}),Kt=0;Kt<hr.length;Kt+=1)ii[hr[Kt].name]=hr[Kt].width*(19.049976/25.4);else Array.isArray(hr)&&typeof hr[0]=="string"&&(gr=kr=hr,Sn=kr.map(function(){return"left"}));if(bi||Array.isArray(hr)&&typeof hr[0]=="string")for(Kt=0;Kt<kr.length;Kt+=1){for(Pn[Xr=kr[Kt]]=wr.map(function(ri){return ri[Xr]}),this.setFont(void 0,"bold"),oi.push(this.getTextDimensions(gr[Kt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),un=Pn[Xr],this.setFont(void 0,"normal"),ar=0;ar<un.length;ar+=1)oi.push(this.getTextDimensions(un[ar],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ii[Xr]=Math.max.apply(null,oi)+Vr+Vr,oi=[]}if(Bn){var ui={};for(Kt=0;Kt<kr.length;Kt+=1)ui[kr[Kt]]={},ui[kr[Kt]].text=gr[Kt],ui[kr[Kt]].align=Sn[Kt];var qn=vt.call(this,ui,ii);ti=kr.map(function(ri){return new Fe(st,kt,ii[ri],qn,ui[ri].text,void 0,ui[ri].align)}),this.setTableHeaderRow(ti),this.printHeaderRow(1,!1)}var wi=hr.reduce(function(ri,Mi){return ri[Mi.name]=Mi.align,ri},{});for(Kt=0;Kt<wr.length;Kt+=1){"rowStart"in Nr&&Nr.rowStart instanceof Function&&Nr.rowStart({row:Kt,data:wr[Kt]},this);var Qn=vt.call(this,wr[Kt],ii);for(ar=0;ar<kr.length;ar+=1){var Hi=wr[Kt][kr[ar]];"cellStart"in Nr&&Nr.cellStart instanceof Function&&Nr.cellStart({row:Kt,col:ar,data:Hi},this),Je.call(this,new Fe(st,kt,ii[kr[ar]],Qn,Hi,Kt+2,wi[kr[ar]]))}}return this.internal.__cell__.table_x=st,this.internal.__cell__.table_y=kt,this};var vt=function(kt,wr){var hr=this.internal.__cell__.padding,Nr=this.internal.__cell__.table_font_size,Kt=this.internal.scaleFactor;return Object.keys(kt).map(function(un){var ar=kt[un];return this.splitTextToSize(ar.hasOwnProperty("text")?ar.text:ar,wr[un]-hr-hr)},this).map(function(un){return this.getLineHeightFactor()*un.length*Nr/Kt+hr+hr},this).reduce(function(un,ar){return Math.max(un,ar)},0)};Ge.setTableHeaderRow=function(st){De.call(this),this.internal.__cell__.tableHeaderRow=st},Ge.printHeaderRow=function(st,kt){if(De.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var wr;if(Le=!0,typeof this.internal.__cell__.headerFunction=="function"){var hr=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new Fe(hr[0],hr[1],hr[2],hr[3],void 0,-1)}this.setFont(void 0,"bold");for(var Nr=[],Kt=0;Kt<this.internal.__cell__.tableHeaderRow.length;Kt+=1){wr=this.internal.__cell__.tableHeaderRow[Kt].clone(),kt&&(wr.y=this.internal.__cell__.margins.top||0,Nr.push(wr)),wr.lineNumber=st;var un=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),Je.call(this,wr),this.setTextColor(un)}Nr.length>0&&this.setTableHeaderRow(Nr),this.setFont(void 0,"normal"),Le=!1}}(j.API);var Ht={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},tr=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],lt=de(tr),Xt=[100,200,300,400,500,600,700,800,900],sr=de(Xt);function Kr(Ge){var we=Ge.family.replace(/"|'/g,"").toLowerCase(),Le=function(Fe){return Ht[Fe=Fe||"normal"]?Fe:"normal"}(Ge.style),De=function(Fe){if(!Fe)return 400;if(typeof Fe=="number")return Fe>=100&&Fe<=900&&Fe%100==0?Fe:400;if(/^\d00$/.test(Fe))return parseInt(Fe);switch(Fe){case"bold":return 700;case"normal":default:return 400}}(Ge.weight),We=function(Fe){return typeof lt[Fe=Fe||"normal"]=="number"?Fe:"normal"}(Ge.stretch);return{family:we,style:Le,weight:De,stretch:We,src:Ge.src||[],ref:Ge.ref||{name:we,style:[We,Le,De].join(" ")}}}function rr(Ge,we,Le,De){var We;for(We=Le;We>=0&&We<we.length;We+=De)if(Ge[we[We]])return Ge[we[We]];for(We=Le;We>=0&&We<we.length;We-=De)if(Ge[we[We]])return Ge[we[We]]}var nr={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Nt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function ot(Ge){return[Ge.stretch,Ge.style,Ge.weight,Ge.family].join(" ")}function Qe(Ge,we,Le){for(var De=(Le=Le||{}).defaultFontFamily||"times",We=Object.assign({},nr,Le.genericFontFamilies||{}),Fe=null,Je=null,vt=0;vt<we.length;++vt)if(We[(Fe=Kr(we[vt])).family]&&(Fe.family=We[Fe.family]),Ge.hasOwnProperty(Fe.family)){Je=Ge[Fe.family];break}if(!(Je=Je||Ge[De]))throw new Error("Could not find a font-family for the rule '"+ot(Fe)+"' and default family '"+De+"'.");if(Je=function(st,kt){if(kt[st])return kt[st];var wr=lt[st],hr=wr<=lt.normal?-1:1,Nr=rr(kt,tr,wr,hr);if(!Nr)throw new Error("Could not find a matching font-stretch value for "+st);return Nr}(Fe.stretch,Je),Je=function(st,kt){if(kt[st])return kt[st];for(var wr=Ht[st],hr=0;hr<wr.length;++hr)if(kt[wr[hr]])return kt[wr[hr]];throw new Error("Could not find a matching font-style for "+st)}(Fe.style,Je),!(Je=function(st,kt){if(kt[st])return kt[st];if(st===400&&kt[500])return kt[500];if(st===500&&kt[400])return kt[400];var wr=sr[st],hr=rr(kt,Xt,wr,st<400?-1:1);if(!hr)throw new Error("Could not find a matching font-weight for value "+st);return hr}(Fe.weight,Je)))throw new Error("Failed to resolve a font for the rule '"+ot(Fe)+"'.");return Je}function qt(Ge){return Ge.trimLeft()}function xr(Ge,we){for(var Le=0;Le<Ge.length;){if(Ge.charAt(Le)===we)return[Ge.substring(0,Le),Ge.substring(Le+1)];Le+=1}return null}function vr(Ge){var we=Ge.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return we===null?null:[we[0],Ge.substring(we[0].length)]}var fr,An,$r,Ln=["times"];!function(Ge){var we,Le,De,We,Fe,Je,vt,st,kt,wr=function(Fr){return Fr=Fr||{},this.isStrokeTransparent=Fr.isStrokeTransparent||!1,this.strokeOpacity=Fr.strokeOpacity||1,this.strokeStyle=Fr.strokeStyle||"#000000",this.fillStyle=Fr.fillStyle||"#000000",this.isFillTransparent=Fr.isFillTransparent||!1,this.fillOpacity=Fr.fillOpacity||1,this.font=Fr.font||"10px sans-serif",this.textBaseline=Fr.textBaseline||"alphabetic",this.textAlign=Fr.textAlign||"left",this.lineWidth=Fr.lineWidth||1,this.lineJoin=Fr.lineJoin||"miter",this.lineCap=Fr.lineCap||"butt",this.path=Fr.path||[],this.transform=Fr.transform!==void 0?Fr.transform.clone():new st,this.globalCompositeOperation=Fr.globalCompositeOperation||"normal",this.globalAlpha=Fr.globalAlpha||1,this.clip_path=Fr.clip_path||[],this.currentPoint=Fr.currentPoint||new Je,this.miterLimit=Fr.miterLimit||10,this.lastPoint=Fr.lastPoint||new Je,this.lineDashOffset=Fr.lineDashOffset||0,this.lineDash=Fr.lineDash||[],this.margin=Fr.margin||[0,0,0,0],this.prevPageLastElemOffset=Fr.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Fr.ignoreClearRect!="boolean"||Fr.ignoreClearRect,this};Ge.events.push(["initialized",function(){this.context2d=new hr(this),we=this.internal.f2,Le=this.internal.getCoordinateString,De=this.internal.getVerticalCoordinateString,We=this.internal.getHorizontalCoordinate,Fe=this.internal.getVerticalCoordinate,Je=this.internal.Point,vt=this.internal.Rectangle,st=this.internal.Matrix,kt=new wr}]);var hr=function(Fr){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var bn=Fr;Object.defineProperty(this,"pdf",{get:function(){return bn}});var Mn=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Mn},set:function(Ii){Mn=Boolean(Ii)}});var Xn=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return Xn},set:function(Ii){Xn=Boolean(Ii)}});var $n=0;Object.defineProperty(this,"posX",{get:function(){return $n},set:function(Ii){isNaN(Ii)||($n=Ii)}});var hi=0;Object.defineProperty(this,"posY",{get:function(){return hi},set:function(Ii){isNaN(Ii)||(hi=Ii)}}),Object.defineProperty(this,"margin",{get:function(){return kt.margin},set:function(Ii){var Ji;typeof Ii=="number"?Ji=[Ii,Ii,Ii,Ii]:((Ji=new Array(4))[0]=Ii[0],Ji[1]=Ii.length>=2?Ii[1]:Ji[0],Ji[2]=Ii.length>=3?Ii[2]:Ji[0],Ji[3]=Ii.length>=4?Ii[3]:Ji[1]),kt.margin=Ji}});var fi=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fi},set:function(Ii){fi=Ii}});var gi=0;Object.defineProperty(this,"lastBreak",{get:function(){return gi},set:function(Ii){gi=Ii}});var Wi=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Wi},set:function(Ii){Wi=Ii}}),Object.defineProperty(this,"ctx",{get:function(){return kt},set:function(Ii){Ii instanceof wr&&(kt=Ii)}}),Object.defineProperty(this,"path",{get:function(){return kt.path},set:function(Ii){kt.path=Ii}});var na=[];Object.defineProperty(this,"ctxStack",{get:function(){return na},set:function(Ii){na=Ii}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Ii){var Ji;Ji=Nr(Ii),this.ctx.fillStyle=Ji.style,this.ctx.isFillTransparent=Ji.a===0,this.ctx.fillOpacity=Ji.a,this.pdf.setFillColor(Ji.r,Ji.g,Ji.b,{a:Ji.a}),this.pdf.setTextColor(Ji.r,Ji.g,Ji.b,{a:Ji.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Ii){var Ji=Nr(Ii);this.ctx.strokeStyle=Ji.style,this.ctx.isStrokeTransparent=Ji.a===0,this.ctx.strokeOpacity=Ji.a,Ji.a===0?this.pdf.setDrawColor(255,255,255):(Ji.a,this.pdf.setDrawColor(Ji.r,Ji.g,Ji.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Ii){["butt","round","square"].indexOf(Ii)!==-1&&(this.ctx.lineCap=Ii,this.pdf.setLineCap(Ii))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Ii){isNaN(Ii)||(this.ctx.lineWidth=Ii,this.pdf.setLineWidth(Ii))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Ii){["bevel","round","miter"].indexOf(Ii)!==-1&&(this.ctx.lineJoin=Ii,this.pdf.setLineJoin(Ii))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Ii){isNaN(Ii)||(this.ctx.miterLimit=Ii,this.pdf.setMiterLimit(Ii))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Ii){this.ctx.textBaseline=Ii}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Ii){["right","end","center","left","start"].indexOf(Ii)!==-1&&(this.ctx.textAlign=Ii)}});var $i=null;function Ha(ln,Ii){if($i===null){var Ji=function(Fi){var ea=[];return Object.keys(Fi).forEach(function(zt){Fi[zt].forEach(function(Gr){var nn=null;switch(Gr){case"bold":nn={family:zt,weight:"bold"};break;case"italic":nn={family:zt,style:"italic"};break;case"bolditalic":nn={family:zt,weight:"bold",style:"italic"};break;case"":case"normal":nn={family:zt}}nn!==null&&(nn.ref={name:zt,style:Gr},ea.push(nn))})}),ea}(ln.getFontList());$i=function(Fi){for(var ea={},zt=0;zt<Fi.length;++zt){var Gr=Kr(Fi[zt]),nn=Gr.family,fn=Gr.stretch,Xe=Gr.style,Ot=Gr.weight;ea[nn]=ea[nn]||{},ea[nn][fn]=ea[nn][fn]||{},ea[nn][fn][Xe]=ea[nn][fn][Xe]||{},ea[nn][fn][Xe][Ot]=Gr}return ea}(Ji.concat(Ii))}return $i}var pi=null;Object.defineProperty(this,"fontFaces",{get:function(){return pi},set:function(Ii){$i=null,pi=Ii}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Ii){var Ji;if(this.ctx.font=Ii,(Ji=/^\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(Ii))!==null){var Fi=Ji[1],ea=(Ji[2],Ji[3]),zt=Ji[4],Gr=(Ji[5],Ji[6]),nn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(zt)[2];zt=nn==="px"?Math.floor(parseFloat(zt)*this.pdf.internal.scaleFactor):nn==="em"?Math.floor(parseFloat(zt)*this.pdf.getFontSize()):Math.floor(parseFloat(zt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(zt);var fn=function(Wr){var on,En,vn=[],Dn=Wr.trim();if(Dn==="")return Ln;if(Dn in Nt)return[Nt[Dn]];for(;Dn!=="";){switch(En=null,on=(Dn=qt(Dn)).charAt(0)){case'"':case"'":En=xr(Dn.substring(1),on);break;default:En=vr(Dn)}if(En===null)return Ln;if(vn.push(En[0]),(Dn=qt(En[1]))!==""&&Dn.charAt(0)!==",")return Ln;Dn=Dn.replace(/^,/,"")}return vn}(Gr);if(this.fontFaces){var Xe=Qe(Ha(this.pdf,this.fontFaces),fn.map(function(Wr){return{family:Wr,stretch:"normal",weight:ea,style:Fi}}));this.pdf.setFont(Xe.ref.name,Xe.ref.style)}else{var Ot="";(ea==="bold"||parseInt(ea,10)>=700||Fi==="bold")&&(Ot="bold"),Fi==="italic"&&(Ot+="italic"),Ot.length===0&&(Ot="normal");for(var cr="",lr={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Ir=0;Ir<fn.length;Ir++){if(this.pdf.internal.getFont(fn[Ir],Ot,{noFallback:!0,disableWarning:!0})!==void 0){cr=fn[Ir];break}if(Ot==="bolditalic"&&this.pdf.internal.getFont(fn[Ir],"bold",{noFallback:!0,disableWarning:!0})!==void 0)cr=fn[Ir],Ot="bold";else if(this.pdf.internal.getFont(fn[Ir],"normal",{noFallback:!0,disableWarning:!0})!==void 0){cr=fn[Ir],Ot="normal";break}}if(cr===""){for(var Dr=0;Dr<fn.length;Dr++)if(lr[fn[Dr]]){cr=lr[fn[Dr]];break}}cr=cr===""?"Times":cr,this.pdf.setFont(cr,Ot)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Ii){this.ctx.globalCompositeOperation=Ii}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Ii){this.ctx.globalAlpha=Ii}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Ii){this.ctx.lineDashOffset=Ii,Mi.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Ii){this.ctx.lineDash=Ii,Mi.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Ii){this.ctx.ignoreClearRect=Boolean(Ii)}})};hr.prototype.setLineDash=function(dn){this.lineDash=dn},hr.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},hr.prototype.fill=function(){Pn.call(this,"fill",!1)},hr.prototype.stroke=function(){Pn.call(this,"stroke",!1)},hr.prototype.beginPath=function(){this.path=[{type:"begin"}]},hr.prototype.moveTo=function(dn,Fr){if(isNaN(dn)||isNaN(Fr))throw p.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var bn=this.ctx.transform.applyToPoint(new Je(dn,Fr));this.path.push({type:"mt",x:bn.x,y:bn.y}),this.ctx.lastPoint=new Je(dn,Fr)},hr.prototype.closePath=function(){var dn=new Je(0,0),Fr=0;for(Fr=this.path.length-1;Fr!==-1;Fr--)if(this.path[Fr].type==="begin"&&I()(this.path[Fr+1])==="object"&&typeof this.path[Fr+1].x=="number"){dn=new Je(this.path[Fr+1].x,this.path[Fr+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new Je(dn.x,dn.y)},hr.prototype.lineTo=function(dn,Fr){if(isNaN(dn)||isNaN(Fr))throw p.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var bn=this.ctx.transform.applyToPoint(new Je(dn,Fr));this.path.push({type:"lt",x:bn.x,y:bn.y}),this.ctx.lastPoint=new Je(bn.x,bn.y)},hr.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Pn.call(this,null,!0)},hr.prototype.quadraticCurveTo=function(dn,Fr,bn,Mn){if(isNaN(bn)||isNaN(Mn)||isNaN(dn)||isNaN(Fr))throw p.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Xn=this.ctx.transform.applyToPoint(new Je(bn,Mn)),$n=this.ctx.transform.applyToPoint(new Je(dn,Fr));this.path.push({type:"qct",x1:$n.x,y1:$n.y,x:Xn.x,y:Xn.y}),this.ctx.lastPoint=new Je(Xn.x,Xn.y)},hr.prototype.bezierCurveTo=function(dn,Fr,bn,Mn,Xn,$n){if(isNaN(Xn)||isNaN($n)||isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn))throw p.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var hi=this.ctx.transform.applyToPoint(new Je(Xn,$n)),fi=this.ctx.transform.applyToPoint(new Je(dn,Fr)),gi=this.ctx.transform.applyToPoint(new Je(bn,Mn));this.path.push({type:"bct",x1:fi.x,y1:fi.y,x2:gi.x,y2:gi.y,x:hi.x,y:hi.y}),this.ctx.lastPoint=new Je(hi.x,hi.y)},hr.prototype.arc=function(dn,Fr,bn,Mn,Xn,$n){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn)||isNaN(Xn))throw p.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if($n=Boolean($n),!this.ctx.transform.isIdentity){var hi=this.ctx.transform.applyToPoint(new Je(dn,Fr));dn=hi.x,Fr=hi.y;var fi=this.ctx.transform.applyToPoint(new Je(0,bn)),gi=this.ctx.transform.applyToPoint(new Je(0,0));bn=Math.sqrt(Math.pow(fi.x-gi.x,2)+Math.pow(fi.y-gi.y,2))}Math.abs(Xn-Mn)>=2*Math.PI&&(Mn=0,Xn=2*Math.PI),this.path.push({type:"arc",x:dn,y:Fr,radius:bn,startAngle:Mn,endAngle:Xn,counterclockwise:$n})},hr.prototype.arcTo=function(dn,Fr,bn,Mn,Xn){throw new Error("arcTo not implemented.")},hr.prototype.rect=function(dn,Fr,bn,Mn){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn))throw p.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(dn,Fr),this.lineTo(dn+bn,Fr),this.lineTo(dn+bn,Fr+Mn),this.lineTo(dn,Fr+Mn),this.lineTo(dn,Fr),this.lineTo(dn+bn,Fr),this.lineTo(dn,Fr)},hr.prototype.fillRect=function(dn,Fr,bn,Mn){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn))throw p.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!Kt.call(this)){var Xn={};this.lineCap!=="butt"&&(Xn.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Xn.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(dn,Fr,bn,Mn),this.fill(),Xn.hasOwnProperty("lineCap")&&(this.lineCap=Xn.lineCap),Xn.hasOwnProperty("lineJoin")&&(this.lineJoin=Xn.lineJoin)}},hr.prototype.strokeRect=function(dn,Fr,bn,Mn){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn))throw p.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");un.call(this)||(this.beginPath(),this.rect(dn,Fr,bn,Mn),this.stroke())},hr.prototype.clearRect=function(dn,Fr,bn,Mn){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn))throw p.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(dn,Fr,bn,Mn))},hr.prototype.save=function(dn){dn=typeof dn!="boolean"||dn;for(var Fr=this.pdf.internal.getCurrentPageInfo().pageNumber,bn=0;bn<this.pdf.internal.getNumberOfPages();bn++)this.pdf.setPage(bn+1),this.pdf.internal.out("q");if(this.pdf.setPage(Fr),dn){this.ctx.fontSize=this.pdf.internal.getFontSize();var Mn=new wr(this.ctx);this.ctxStack.push(this.ctx),this.ctx=Mn}},hr.prototype.restore=function(dn){dn=typeof dn!="boolean"||dn;for(var Fr=this.pdf.internal.getCurrentPageInfo().pageNumber,bn=0;bn<this.pdf.internal.getNumberOfPages();bn++)this.pdf.setPage(bn+1),this.pdf.internal.out("Q");this.pdf.setPage(Fr),dn&&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,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},hr.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Nr=function(Fr){var bn,Mn,Xn,$n;if(Fr.isCanvasGradient===!0&&(Fr=Fr.getColor()),!Fr)return{r:0,g:0,b:0,a:0,style:Fr};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Fr))bn=0,Mn=0,Xn=0,$n=0;else{var hi=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Fr);if(hi!==null)bn=parseInt(hi[1]),Mn=parseInt(hi[2]),Xn=parseInt(hi[3]),$n=1;else if((hi=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Fr))!==null)bn=parseInt(hi[1]),Mn=parseInt(hi[2]),Xn=parseInt(hi[3]),$n=parseFloat(hi[4]);else{if($n=1,typeof Fr=="string"&&Fr.charAt(0)!=="#"){var fi=new c(Fr);Fr=fi.ok?fi.toHex():"#000000"}Fr.length===4?(bn=Fr.substring(1,2),bn+=bn,Mn=Fr.substring(2,3),Mn+=Mn,Xn=Fr.substring(3,4),Xn+=Xn):(bn=Fr.substring(1,3),Mn=Fr.substring(3,5),Xn=Fr.substring(5,7)),bn=parseInt(bn,16),Mn=parseInt(Mn,16),Xn=parseInt(Xn,16)}}return{r:bn,g:Mn,b:Xn,a:$n,style:Fr}},Kt=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},un=function(){return Boolean(this.ctx.isStrokeTransparent||this.globalAlpha==0)};hr.prototype.fillText=function(dn,Fr,bn,Mn){if(isNaN(Fr)||isNaN(bn)||typeof dn!="string")throw p.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(Mn=isNaN(Mn)?void 0:Mn,!Kt.call(this)){var Xn=Qn(this.ctx.transform.rotation),$n=this.ctx.transform.scaleX;Vr.call(this,{text:dn,x:Fr,y:bn,scale:$n,angle:Xn,align:this.textAlign,maxWidth:Mn})}},hr.prototype.strokeText=function(dn,Fr,bn,Mn){if(isNaN(Fr)||isNaN(bn)||typeof dn!="string")throw p.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!un.call(this)){Mn=isNaN(Mn)?void 0:Mn;var Xn=Qn(this.ctx.transform.rotation),$n=this.ctx.transform.scaleX;Vr.call(this,{text:dn,x:Fr,y:bn,scale:$n,renderingMode:"stroke",angle:Xn,align:this.textAlign,maxWidth:Mn})}},hr.prototype.measureText=function(dn){if(typeof dn!="string")throw p.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var Fr=this.pdf,bn=this.pdf.internal.scaleFactor,Mn=Fr.internal.getFontSize(),Xn=Fr.getStringUnitWidth(dn)*Mn/Fr.internal.scaleFactor,$n=function(fi){var gi=(fi=fi||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return gi}}),this};return new $n({width:Xn*=Math.round(96*bn/72*1e4)/1e4})},hr.prototype.scale=function(dn,Fr){if(isNaN(dn)||isNaN(Fr))throw p.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var bn=new st(dn,0,0,Fr,0,0);this.ctx.transform=this.ctx.transform.multiply(bn)},hr.prototype.rotate=function(dn){if(isNaN(dn))throw p.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var Fr=new st(Math.cos(dn),Math.sin(dn),-Math.sin(dn),Math.cos(dn),0,0);this.ctx.transform=this.ctx.transform.multiply(Fr)},hr.prototype.translate=function(dn,Fr){if(isNaN(dn)||isNaN(Fr))throw p.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var bn=new st(1,0,0,1,dn,Fr);this.ctx.transform=this.ctx.transform.multiply(bn)},hr.prototype.transform=function(dn,Fr,bn,Mn,Xn,$n){if(isNaN(dn)||isNaN(Fr)||isNaN(bn)||isNaN(Mn)||isNaN(Xn)||isNaN($n))throw p.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var hi=new st(dn,Fr,bn,Mn,Xn,$n);this.ctx.transform=this.ctx.transform.multiply(hi)},hr.prototype.setTransform=function(dn,Fr,bn,Mn,Xn,$n){dn=isNaN(dn)?1:dn,Fr=isNaN(Fr)?0:Fr,bn=isNaN(bn)?0:bn,Mn=isNaN(Mn)?1:Mn,Xn=isNaN(Xn)?0:Xn,$n=isNaN($n)?0:$n,this.ctx.transform=new st(dn,Fr,bn,Mn,Xn,$n)};var ar=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};hr.prototype.drawImage=function(dn,Fr,bn,Mn,Xn,$n,hi,fi,gi){var Wi=this.pdf.getImageProperties(dn),na=1,$i=1,Ha=1,pi=1;Mn!==void 0&&fi!==void 0&&(Ha=fi/Mn,pi=gi/Xn,na=Wi.width/Mn*fi/Mn,$i=Wi.height/Xn*gi/Xn),$n===void 0&&($n=Fr,hi=bn,Fr=0,bn=0),Mn!==void 0&&fi===void 0&&(fi=Mn,gi=Xn),Mn===void 0&&fi===void 0&&(fi=Wi.width,gi=Wi.height);for(var ln,Ii=this.ctx.transform.decompose(),Ji=Qn(Ii.rotate.shx),Fi=new st,ea=(Fi=(Fi=(Fi=Fi.multiply(Ii.translate)).multiply(Ii.skew)).multiply(Ii.scale)).applyToRectangle(new vt($n-Fr*Ha,hi-bn*pi,Mn*na,Xn*$i)),zt=Xr.call(this,ea),Gr=[],nn=0;nn<zt.length;nn+=1)Gr.indexOf(zt[nn])===-1&&Gr.push(zt[nn]);if(Sn(Gr),this.autoPaging)for(var fn=Gr[0],Xe=Gr[Gr.length-1],Ot=fn;Ot<Xe+1;Ot++){this.pdf.setPage(Ot);var cr=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],lr=Ot===1?this.posY+this.margin[0]:this.margin[0],Ir=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Dr=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Wr=Ot===1?0:Ir+(Ot-2)*Dr;if(this.ctx.clip_path.length!==0){var on=this.path;ln=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=gr(ln,this.posX+this.margin[3],-Wr+lr+this.ctx.prevPageLastElemOffset),ii.call(this,"fill",!0),this.path=on}var En=JSON.parse(JSON.stringify(ea));En=gr([En],this.posX+this.margin[3],-Wr+lr+this.ctx.prevPageLastElemOffset)[0];var vn=(Ot>fn||Ot<Xe)&&ar.call(this);vn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],cr,Dr,null).clip().discardPath()),this.pdf.addImage(dn,"JPEG",En.x,En.y,En.w,En.h,null,null,Ji),vn&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(dn,"JPEG",ea.x,ea.y,ea.w,ea.h,null,null,Ji)};var Xr=function(Fr,bn,Mn){var Xn=[];bn=bn||this.pdf.internal.pageSize.width,Mn=Mn||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $n=this.posY+this.ctx.prevPageLastElemOffset;switch(Fr.type){default:case"mt":case"lt":Xn.push(Math.floor((Fr.y+$n)/Mn)+1);break;case"arc":Xn.push(Math.floor((Fr.y+$n-Fr.radius)/Mn)+1),Xn.push(Math.floor((Fr.y+$n+Fr.radius)/Mn)+1);break;case"qct":var hi=Hi(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Fr.x1,Fr.y1,Fr.x,Fr.y);Xn.push(Math.floor((hi.y+$n)/Mn)+1),Xn.push(Math.floor((hi.y+hi.h+$n)/Mn)+1);break;case"bct":var fi=ri(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Fr.x1,Fr.y1,Fr.x2,Fr.y2,Fr.x,Fr.y);Xn.push(Math.floor((fi.y+$n)/Mn)+1),Xn.push(Math.floor((fi.y+fi.h+$n)/Mn)+1);break;case"rect":Xn.push(Math.floor((Fr.y+$n)/Mn)+1),Xn.push(Math.floor((Fr.y+Fr.h+$n)/Mn)+1)}for(var gi=0;gi<Xn.length;gi+=1)for(;this.pdf.internal.getNumberOfPages()<Xn[gi];)kr.call(this);return Xn},kr=function(){var Fr=this.fillStyle,bn=this.strokeStyle,Mn=this.font,Xn=this.lineCap,$n=this.lineWidth,hi=this.lineJoin;this.pdf.addPage(),this.fillStyle=Fr,this.strokeStyle=bn,this.font=Mn,this.lineCap=Xn,this.lineWidth=$n,this.lineJoin=hi},gr=function(Fr,bn,Mn){for(var Xn=0;Xn<Fr.length;Xn++)switch(Fr[Xn].type){case"bct":Fr[Xn].x2+=bn,Fr[Xn].y2+=Mn;case"qct":Fr[Xn].x1+=bn,Fr[Xn].y1+=Mn;case"mt":case"lt":case"arc":default:Fr[Xn].x+=bn,Fr[Xn].y+=Mn}return Fr},Sn=function(Fr){return Fr.sort(function(bn,Mn){return bn-Mn})},Pn=function(Fr,bn){for(var Mn,Xn,$n=this.fillStyle,hi=this.strokeStyle,fi=this.lineCap,gi=this.lineWidth,Wi=Math.abs(gi*this.ctx.transform.scaleX),na=this.lineJoin,$i=JSON.parse(JSON.stringify(this.path)),Ha=JSON.parse(JSON.stringify(this.path)),pi=[],ln=0;ln<Ha.length;ln++)if(Ha[ln].x!==void 0)for(var Ii=Xr.call(this,Ha[ln]),Ji=0;Ji<Ii.length;Ji+=1)pi.indexOf(Ii[Ji])===-1&&pi.push(Ii[Ji]);for(var Fi=0;Fi<pi.length;Fi++)for(;this.pdf.internal.getNumberOfPages()<pi[Fi];)kr.call(this);if(Sn(pi),this.autoPaging)for(var ea=pi[0],zt=pi[pi.length-1],Gr=ea;Gr<zt+1;Gr++){this.pdf.setPage(Gr),this.fillStyle=$n,this.strokeStyle=hi,this.lineCap=fi,this.lineWidth=Wi,this.lineJoin=na;var nn=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],fn=Gr===1?this.posY+this.margin[0]:this.margin[0],Xe=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ot=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],cr=Gr===1?0:Xe+(Gr-2)*Ot;if(this.ctx.clip_path.length!==0){var lr=this.path;Mn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=gr(Mn,this.posX+this.margin[3],-cr+fn+this.ctx.prevPageLastElemOffset),ii.call(this,Fr,!0),this.path=lr}if(Xn=JSON.parse(JSON.stringify($i)),this.path=gr(Xn,this.posX+this.margin[3],-cr+fn+this.ctx.prevPageLastElemOffset),bn===!1||Gr===0){var Ir=(Gr>ea||Gr<zt)&&ar.call(this);Ir&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],nn,Ot,null).clip().discardPath()),ii.call(this,Fr,bn),Ir&&this.pdf.restoreGraphicsState()}this.lineWidth=gi}else this.lineWidth=Wi,ii.call(this,Fr,bn),this.lineWidth=gi;this.path=$i},ii=function(Fr,bn){if((Fr!=="stroke"||bn||!un.call(this))&&(Fr==="stroke"||bn||!Kt.call(this))){for(var Mn,Xn,$n=[],hi=this.path,fi=0;fi<hi.length;fi++){var gi=hi[fi];switch(gi.type){case"begin":$n.push({begin:!0});break;case"close":$n.push({close:!0});break;case"mt":$n.push({start:gi,deltas:[],abs:[]});break;case"lt":var Wi=$n.length;if(hi[fi-1]&&!isNaN(hi[fi-1].x)&&(Mn=[gi.x-hi[fi-1].x,gi.y-hi[fi-1].y],Wi>0)){for(;Wi>=0;Wi--)if($n[Wi-1].close!==!0&&$n[Wi-1].begin!==!0){$n[Wi-1].deltas.push(Mn),$n[Wi-1].abs.push(gi);break}}break;case"bct":Mn=[gi.x1-hi[fi-1].x,gi.y1-hi[fi-1].y,gi.x2-hi[fi-1].x,gi.y2-hi[fi-1].y,gi.x-hi[fi-1].x,gi.y-hi[fi-1].y],$n[$n.length-1].deltas.push(Mn);break;case"qct":var na=hi[fi-1].x+2/3*(gi.x1-hi[fi-1].x),$i=hi[fi-1].y+2/3*(gi.y1-hi[fi-1].y),Ha=gi.x+2/3*(gi.x1-gi.x),pi=gi.y+2/3*(gi.y1-gi.y),ln=gi.x,Ii=gi.y;Mn=[na-hi[fi-1].x,$i-hi[fi-1].y,Ha-hi[fi-1].x,pi-hi[fi-1].y,ln-hi[fi-1].x,Ii-hi[fi-1].y],$n[$n.length-1].deltas.push(Mn);break;case"arc":$n.push({deltas:[],abs:[],arc:!0}),Array.isArray($n[$n.length-1].abs)&&$n[$n.length-1].abs.push(gi)}}Xn=bn?null:Fr==="stroke"?"stroke":"fill";for(var Ji=!1,Fi=0;Fi<$n.length;Fi++)if($n[Fi].arc)for(var ea=$n[Fi].abs,zt=0;zt<ea.length;zt++){var Gr=ea[zt];Gr.type==="arc"?bi.call(this,Gr.x,Gr.y,Gr.radius,Gr.startAngle,Gr.endAngle,Gr.counterclockwise,void 0,bn,!Ji):xn.call(this,Gr.x,Gr.y),Ji=!0}else if($n[Fi].close===!0)this.pdf.internal.out("h"),Ji=!1;else if($n[Fi].begin!==!0){var nn=$n[Fi].start.x,fn=$n[Fi].start.y;tn.call(this,$n[Fi].deltas,nn,fn),Ji=!0}Xn&&Bn.call(this,Xn),bn&&_i.call(this)}},oi=function(Fr){var bn=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Mn=bn*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Fr-Mn;case"top":return Fr+bn-Mn;case"hanging":return Fr+bn-2*Mn;case"middle":return Fr+bn/2-Mn;case"ideographic":return Fr;case"alphabetic":default:return Fr}},ti=function(Fr){return Fr+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};hr.prototype.createLinearGradient=function(){var dn=function(){};return dn.colorStops=[],dn.addColorStop=function(Fr,bn){this.colorStops.push([Fr,bn])},dn.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},dn.isCanvasGradient=!0,dn},hr.prototype.createPattern=function(){return this.createLinearGradient()},hr.prototype.createRadialGradient=function(){return this.createLinearGradient()};var bi=function(Fr,bn,Mn,Xn,$n,hi,fi,gi,Wi){for(var na=qn.call(this,Mn,Xn,$n,hi),$i=0;$i<na.length;$i++){var Ha=na[$i];$i===0&&(Wi?gn.call(this,Ha.x1+Fr,Ha.y1+bn):xn.call(this,Ha.x1+Fr,Ha.y1+bn)),ui.call(this,Fr,bn,Ha.x2,Ha.y2,Ha.x3,Ha.y3,Ha.x4,Ha.y4)}gi?_i.call(this):Bn.call(this,fi)},Bn=function(Fr){switch(Fr){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},_i=function(){this.pdf.clip(),this.pdf.discardPath()},gn=function(Fr,bn){this.pdf.internal.out(Le(Fr)+" "+De(bn)+" m")},Vr=function(Fr){var bn;switch(Fr.align){case"right":case"end":bn="right";break;case"center":bn="center";break;case"left":case"start":default:bn="left"}var Mn=this.pdf.getTextDimensions(Fr.text),Xn=oi.call(this,Fr.y),$n=ti.call(this,Xn)-Mn.h,hi=this.ctx.transform.applyToPoint(new Je(Fr.x,Xn)),fi=this.ctx.transform.decompose(),gi=new st;gi=(gi=(gi=gi.multiply(fi.translate)).multiply(fi.skew)).multiply(fi.scale);for(var Wi,na,$i,Ha=this.ctx.transform.applyToRectangle(new vt(Fr.x,Xn,Mn.w,Mn.h)),pi=gi.applyToRectangle(new vt(Fr.x,$n,Mn.w,Mn.h)),ln=Xr.call(this,pi),Ii=[],Ji=0;Ji<ln.length;Ji+=1)Ii.indexOf(ln[Ji])===-1&&Ii.push(ln[Ji]);if(Sn(Ii),this.autoPaging)for(var Fi=Ii[0],ea=Ii[Ii.length-1],zt=Fi;zt<ea+1;zt++){this.pdf.setPage(zt);var Gr=zt===1?this.posY+this.margin[0]:this.margin[0],nn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],fn=this.pdf.internal.pageSize.height-this.margin[2],Xe=fn-this.margin[0],Ot=this.pdf.internal.pageSize.width-this.margin[1],cr=Ot-this.margin[3],lr=zt===1?0:nn+(zt-2)*Xe;if(this.ctx.clip_path.length!==0){var Ir=this.path;Wi=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=gr(Wi,this.posX+this.margin[3],-1*lr+Gr),ii.call(this,"fill",!0),this.path=Ir}var Dr=gr([JSON.parse(JSON.stringify(pi))],this.posX+this.margin[3],-lr+Gr+this.ctx.prevPageLastElemOffset)[0];Fr.scale>=.01&&(na=this.pdf.internal.getFontSize(),this.pdf.setFontSize(na*Fr.scale),$i=this.lineWidth,this.lineWidth=$i*Fr.scale);var Wr=this.autoPaging!=="text";if(Wr||Dr.y+Dr.h<=fn){if(Wr||Dr.y>=Gr&&Dr.x<=Ot){var on=Wr?Fr.text:this.pdf.splitTextToSize(Fr.text,Fr.maxWidth||Ot-Dr.x)[0],En=gr([JSON.parse(JSON.stringify(Ha))],this.posX+this.margin[3],-lr+Gr+this.ctx.prevPageLastElemOffset)[0],vn=Wr&&(zt>Fi||zt<ea)&&ar.call(this);vn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],cr,Xe,null).clip().discardPath()),this.pdf.text(on,En.x,En.y,{angle:Fr.angle,align:bn,renderingMode:Fr.renderingMode}),vn&&this.pdf.restoreGraphicsState()}}else Dr.y<fn&&(this.ctx.prevPageLastElemOffset+=fn-Dr.y);Fr.scale>=.01&&(this.pdf.setFontSize(na),this.lineWidth=$i)}else Fr.scale>=.01&&(na=this.pdf.internal.getFontSize(),this.pdf.setFontSize(na*Fr.scale),$i=this.lineWidth,this.lineWidth=$i*Fr.scale),this.pdf.text(Fr.text,hi.x+this.posX,hi.y+this.posY,{angle:Fr.angle,align:bn,renderingMode:Fr.renderingMode,maxWidth:Fr.maxWidth}),Fr.scale>=.01&&(this.pdf.setFontSize(na),this.lineWidth=$i)},xn=function(Fr,bn,Mn,Xn){Mn=Mn||0,Xn=Xn||0,this.pdf.internal.out(Le(Fr+Mn)+" "+De(bn+Xn)+" l")},tn=function(Fr,bn,Mn){return this.pdf.lines(Fr,bn,Mn,null,null)},ui=function(Fr,bn,Mn,Xn,$n,hi,fi,gi){this.pdf.internal.out([we(We(Mn+Fr)),we(Fe(Xn+bn)),we(We($n+Fr)),we(Fe(hi+bn)),we(We(fi+Fr)),we(Fe(gi+bn)),"c"].join(" "))},qn=function(Fr,bn,Mn,Xn){for(var $n=2*Math.PI,hi=Math.PI/2;bn>Mn;)bn-=$n;var fi=Math.abs(Mn-bn);fi<$n&&Xn&&(fi=$n-fi);for(var gi=[],Wi=Xn?-1:1,na=bn;fi>1e-5;){var $i=na+Wi*Math.min(fi,hi);gi.push(wi.call(this,Fr,na,$i)),fi-=Math.abs($i-na),na=$i}return gi},wi=function(Fr,bn,Mn){var Xn=(Mn-bn)/2,$n=Fr*Math.cos(Xn),hi=Fr*Math.sin(Xn),fi=$n,gi=-hi,Wi=fi*fi+gi*gi,na=Wi+fi*$n+gi*hi,$i=4/3*(Math.sqrt(2*Wi*na)-na)/(fi*hi-gi*$n),Ha=fi-$i*gi,pi=gi+$i*fi,ln=Ha,Ii=-pi,Ji=Xn+bn,Fi=Math.cos(Ji),ea=Math.sin(Ji);return{x1:Fr*Math.cos(bn),y1:Fr*Math.sin(bn),x2:Ha*Fi-pi*ea,y2:Ha*ea+pi*Fi,x3:ln*Fi-Ii*ea,y3:ln*ea+Ii*Fi,x4:Fr*Math.cos(Mn),y4:Fr*Math.sin(Mn)}},Qn=function(Fr){return 180*Fr/Math.PI},Hi=function(Fr,bn,Mn,Xn,$n,hi){var fi=Fr+.5*(Mn-Fr),gi=bn+.5*(Xn-bn),Wi=$n+.5*(Mn-$n),na=hi+.5*(Xn-hi),$i=Math.min(Fr,$n,fi,Wi),Ha=Math.max(Fr,$n,fi,Wi),pi=Math.min(bn,hi,gi,na),ln=Math.max(bn,hi,gi,na);return new vt($i,pi,Ha-$i,ln-pi)},ri=function(Fr,bn,Mn,Xn,$n,hi,fi,gi){var Wi,na,$i,Ha,pi,ln,Ii,Ji,Fi,ea,zt,Gr,nn,fn,Xe=Mn-Fr,Ot=Xn-bn,cr=$n-Mn,lr=hi-Xn,Ir=fi-$n,Dr=gi-hi;for(na=0;na<41;na++)Fi=(Ii=($i=Fr+(Wi=na/40)*Xe)+Wi*((pi=Mn+Wi*cr)-$i))+Wi*(pi+Wi*($n+Wi*Ir-pi)-Ii),ea=(Ji=(Ha=bn+Wi*Ot)+Wi*((ln=Xn+Wi*lr)-Ha))+Wi*(ln+Wi*(hi+Wi*Dr-ln)-Ji),na==0?(zt=Fi,Gr=ea,nn=Fi,fn=ea):(zt=Math.min(zt,Fi),Gr=Math.min(Gr,ea),nn=Math.max(nn,Fi),fn=Math.max(fn,ea));return new vt(Math.round(zt),Math.round(Gr),Math.round(nn-zt),Math.round(fn-Gr))},Mi=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Fr,bn,Mn=(Fr=this.ctx.lineDash,bn=this.ctx.lineDashOffset,JSON.stringify({lineDash:Fr,lineDashOffset:bn}));this.prevLineDash!==Mn&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Mn)}}}(j.API),function(Ge){var we=function(Je){var vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr;for(/[^\x00-\xFF]/.test(Je),st=[],kt=0,wr=(Je+=vt="\0\0\0\0".slice(Je.length%4||4)).length;wr>kt;kt+=4)(hr=(Je.charCodeAt(kt)<<24)+(Je.charCodeAt(kt+1)<<16)+(Je.charCodeAt(kt+2)<<8)+Je.charCodeAt(kt+3))!==0?(Nr=(hr=((hr=((hr=((hr=(hr-(Xr=hr%85))/85)-(ar=hr%85))/85)-(un=hr%85))/85)-(Kt=hr%85))/85)%85,st.push(Nr+33,Kt+33,un+33,ar+33,Xr+33)):st.push(122);return function(kr,gr){for(var Sn=gr;Sn>0;Sn--)kr.pop()}(st,vt.length),String.fromCharCode.apply(String,st)+"~>"},Le=function(Je){var vt,st,kt,wr,hr,Nr=String,Kt="length",un=255,ar="charCodeAt",Xr="slice",kr="replace";for(Je[Xr](-2),Je=Je[Xr](0,-2)[kr](/\s/g,"")[kr]("z","!!!!!"),kt=[],wr=0,hr=(Je+=vt="uuuuu"[Xr](Je[Kt]%5||5))[Kt];hr>wr;wr+=5)st=52200625*(Je[ar](wr)-33)+614125*(Je[ar](wr+1)-33)+7225*(Je[ar](wr+2)-33)+85*(Je[ar](wr+3)-33)+(Je[ar](wr+4)-33),kt.push(un&st>>24,un&st>>16,un&st>>8,un&st);return function(gr,Sn){for(var Pn=Sn;Pn>0;Pn--)gr.pop()}(kt,vt[Kt]),Nr.fromCharCode.apply(Nr,kt)},De=function(Je){var vt=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((Je=Je.replace(/\s/g,"")).indexOf(">")!==-1&&(Je=Je.substr(0,Je.indexOf(">"))),Je.length%2&&(Je+="0"),vt.test(Je)===!1)return"";for(var st="",kt=0;kt<Je.length;kt+=2)st+=String.fromCharCode("0x"+(Je[kt]+Je[kt+1]));return st},We=function(Je){for(var vt=new Uint8Array(Je.length),st=Je.length;st--;)vt[st]=Je.charCodeAt(st);return Je=(vt=Object(E.b)(vt)).reduce(function(kt,wr){return kt+String.fromCharCode(wr)},"")};Ge.processDataByFilters=function(Fe,Je){var vt=0,st=Fe||"",kt=[];for(typeof(Je=Je||[])=="string"&&(Je=[Je]),vt=0;vt<Je.length;vt+=1)switch(Je[vt]){case"ASCII85Decode":case"/ASCII85Decode":st=Le(st),kt.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":st=we(st),kt.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":st=De(st),kt.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":st=st.split("").map(function(wr){return("0"+wr.charCodeAt().toString(16)).slice(-2)}).join("")+">",kt.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":st=We(st),kt.push("/FlateDecode");break;default:throw new Error('The filter: "'+Je[vt]+'" is not implemented')}return{data:st,reverseChain:kt.reverse().join(" ")}}}(j.API),function(Ge){Ge.loadFile=function(we,Le,De){return function(We,Fe,Je){Fe=Fe!==!1,Je=typeof Je=="function"?Je:function(){};var vt=void 0;try{vt=function(st,kt,wr){var hr=new XMLHttpRequest,Nr=0,Kt=function(ar){var Xr=ar.length,kr=[],gr=String.fromCharCode;for(Nr=0;Nr<Xr;Nr+=1)kr.push(gr(255&ar.charCodeAt(Nr)));return kr.join("")};if(hr.open("GET",st,!kt),hr.overrideMimeType("text/plain; charset=x-user-defined"),kt===!1&&(hr.onload=function(){hr.status===200?wr(Kt(this.responseText)):wr(void 0)}),hr.send(null),kt&&hr.status===200)return Kt(hr.responseText)}(We,Fe,Je)}catch(st){}return vt}(we,Le,De)},Ge.loadImageFile=Ge.loadFile}(j.API),function(Ge){function we(){return(C.html2canvas?Promise.resolve(C.html2canvas):Promise.resolve().then(d.t.bind(null,"wOnQ",7))).catch(function(Je){return Promise.reject(new Error("Could not load html2canvas: "+Je))}).then(function(Je){return Je.default?Je.default:Je})}function Le(){return(C.DOMPurify?Promise.resolve(C.DOMPurify):d.e(225).then(d.t.bind(null,"qZ2Q",7))).catch(function(Je){return Promise.reject(new Error("Could not load dompurify: "+Je))}).then(function(Je){return Je.default?Je.default:Je})}var De=function(vt){var st=I()(vt);return st==="undefined"?"undefined":st==="string"||vt instanceof String?"string":st==="number"||vt instanceof Number?"number":st==="function"||vt instanceof Function?"function":vt&&vt.constructor===Array?"array":vt&&vt.nodeType===1?"element":st==="object"?"object":"unknown"},We=function(vt,st){var kt=document.createElement(vt);for(var wr in st.className&&(kt.className=st.className),st.innerHTML&&st.dompurify&&(kt.innerHTML=st.dompurify.sanitize(st.innerHTML)),st.style)kt.style[wr]=st.style[wr];return kt},Fe=function Je(vt){var st=Object.assign(Je.convert(Promise.resolve()),JSON.parse(JSON.stringify(Je.template))),kt=Je.convert(Promise.resolve(),st);return kt=(kt=kt.setProgress(1,Je,1,[Je])).set(vt)};(Fe.prototype=Object.create(Promise.prototype)).constructor=Fe,Fe.convert=function(Je,vt){return Je.__proto__=vt||Fe.prototype,Je},Fe.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:{},backgroundColor:"transparent"}},Fe.prototype.from=function(Je,vt){return this.then(function(){switch(vt=vt||function(st){switch(De(st)){case"string":return"string";case"element":return st.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Je)){case"string":return this.then(Le).then(function(st){return this.set({src:We("div",{innerHTML:Je,dompurify:st})})});case"element":return this.set({src:Je});case"canvas":return this.set({canvas:Je});case"img":return this.set({img:Je});default:return this.error("Unknown source type.")}})},Fe.prototype.to=function(Je){switch(Je){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.")}},Fe.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 Je={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},vt=function st(kt,wr){for(var hr=kt.nodeType===3?document.createTextNode(kt.nodeValue):kt.cloneNode(!1),Nr=kt.firstChild;Nr;Nr=Nr.nextSibling)wr!==!0&&Nr.nodeType===1&&Nr.nodeName==="SCRIPT"||hr.appendChild(st(Nr,wr));return kt.nodeType===1&&(kt.nodeName==="CANVAS"?(hr.width=kt.width,hr.height=kt.height,hr.getContext("2d").drawImage(kt,0,0)):kt.nodeName!=="TEXTAREA"&&kt.nodeName!=="SELECT"||(hr.value=kt.value),hr.addEventListener("load",function(){hr.scrollTop=kt.scrollTop,hr.scrollLeft=kt.scrollLeft},!0)),hr}(this.prop.src,this.opt.html2canvas.javascriptEnabled);vt.tagName==="BODY"&&(Je.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=We("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=We("div",{className:"html2pdf__container",style:Je}),this.prop.container.appendChild(vt),this.prop.container.firstChild.appendChild(We("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"})},Fe.prototype.toCanvas=function(){var Je=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Je).then(we).then(function(vt){var st=Object.assign({},this.opt.html2canvas);return delete st.onrendered,vt(this.prop.container,st)}).then(function(vt){(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Fe.prototype.toContext2d=function(){var Je=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Je).then(we).then(function(vt){var st=this.opt.jsPDF,kt=this.opt.fontFaces,wr=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,hr=Object.assign({async:!0,allowTaint:!0,scale:wr,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete hr.onrendered,st.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,st.context2d.posX=this.opt.x,st.context2d.posY=this.opt.y,st.context2d.margin=this.opt.margin,st.context2d.fontFaces=kt,kt)for(var Nr=0;Nr<kt.length;++Nr){var Kt=kt[Nr],un=Kt.src.find(function(ar){return ar.format==="truetype"});un&&st.addFont(un.url,Kt.ref.name,Kt.ref.style)}return hr.windowHeight=hr.windowHeight||0,hr.windowHeight=hr.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):hr.windowHeight,st.context2d.save(!0),vt(this.prop.container,hr)}).then(function(vt){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(vt),this.prop.canvas=vt,document.body.removeChild(this.prop.overlay)})},Fe.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Je=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Je})},Fe.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},Fe.prototype.output=function(Je,vt,st){return(st=st||"pdf").toLowerCase()==="img"||st.toLowerCase()==="image"?this.outputImg(Je,vt):this.outputPdf(Je,vt)},Fe.prototype.outputPdf=function(Je,vt){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Je,vt)})},Fe.prototype.outputImg=function(Je){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Je){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 "'+Je+'" is not supported.'}})},Fe.prototype.save=function(Je){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Je?{filename:Je}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Fe.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},Fe.prototype.set=function(Je){if(De(Je)!=="object")return this;var vt=Object.keys(Je||{}).map(function(st){if(st in Fe.template.prop)return function(){this.prop[st]=Je[st]};switch(st){case"margin":return this.setMargin.bind(this,Je.margin);case"jsPDF":return function(){return this.opt.jsPDF=Je.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Je.pageSize);default:return function(){this.opt[st]=Je[st]}}},this);return this.then(function(){return this.thenList(vt)})},Fe.prototype.get=function(Je,vt){return this.then(function(){var st=Je in Fe.template.prop?this.prop[Je]:this.opt[Je];return vt?vt(st):st})},Fe.prototype.setMargin=function(Je){return this.then(function(){switch(De(Je)){case"number":Je=[Je,Je,Je,Je];case"array":if(Je.length===2&&(Je=[Je[0],Je[1],Je[0],Je[1]]),Je.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Je}).then(this.setPageSize)},Fe.prototype.setPageSize=function(Je){function vt(st,kt){return Math.floor(st*kt/72*96)}return this.then(function(){(Je=Je||j.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Je.inner={width:Je.width-this.opt.margin[1]-this.opt.margin[3],height:Je.height-this.opt.margin[0]-this.opt.margin[2]},Je.inner.px={width:vt(Je.inner.width,Je.k),height:vt(Je.inner.height,Je.k)},Je.inner.ratio=Je.inner.height/Je.inner.width),this.prop.pageSize=Je})},Fe.prototype.setProgress=function(Je,vt,st,kt){return Je!=null&&(this.progress.val=Je),vt!=null&&(this.progress.state=vt),st!=null&&(this.progress.n=st),kt!=null&&(this.progress.stack=kt),this.progress.ratio=this.progress.val/this.progress.state,this},Fe.prototype.updateProgress=function(Je,vt,st,kt){return this.setProgress(Je?this.progress.val+Je:null,vt||null,st?this.progress.n+st:null,kt?this.progress.stack.concat(kt):null)},Fe.prototype.then=function(Je,vt){var st=this;return this.thenCore(Je,vt,function(kt,wr){return st.updateProgress(null,null,1,[kt]),Promise.prototype.then.call(this,function(hr){return st.updateProgress(null,kt),hr}).then(kt,wr).then(function(hr){return st.updateProgress(1),hr})})},Fe.prototype.thenCore=function(Je,vt,st){st=st||Promise.prototype.then,Je&&(Je=Je.bind(this)),vt&&(vt=vt.bind(this));var kt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?this:Fe.convert(Object.assign({},this),Promise.prototype),wr=st.call(kt,Je,vt);return Fe.convert(wr,this.__proto__)},Fe.prototype.thenExternal=function(Je,vt){return Promise.prototype.then.call(this,Je,vt)},Fe.prototype.thenList=function(Je){var vt=this;return Je.forEach(function(st){vt=vt.thenCore(st)}),vt},Fe.prototype.catch=function(Je){Je&&(Je=Je.bind(this));var vt=Promise.prototype.catch.call(this,Je);return Fe.convert(vt,this)},Fe.prototype.catchExternal=function(Je){return Promise.prototype.catch.call(this,Je)},Fe.prototype.error=function(Je){return this.then(function(){throw new Error(Je)})},Fe.prototype.using=Fe.prototype.set,Fe.prototype.saveAs=Fe.prototype.save,Fe.prototype.export=Fe.prototype.output,Fe.prototype.run=Fe.prototype.then,j.getPageSize=function(Je,vt,st){if(I()(Je)==="object"){var kt=Je;Je=kt.orientation,vt=kt.unit||vt,st=kt.format||st}vt=vt||"mm",st=st||"a4",Je=(""+(Je||"P")).toLowerCase();var wr,hr=(""+st).toLowerCase(),Nr={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(vt){case"pt":wr=1;break;case"mm":wr=72/25.4;break;case"cm":wr=72/2.54;break;case"in":wr=72;break;case"px":wr=.75;break;case"pc":case"em":wr=12;break;case"ex":wr=6;break;default:throw"Invalid unit: "+vt}var Kt,un=0,ar=0;if(Nr.hasOwnProperty(hr))un=Nr[hr][1]/wr,ar=Nr[hr][0]/wr;else try{un=st[1],ar=st[0]}catch(Xr){throw new Error("Invalid format: "+st)}if(Je==="p"||Je==="portrait")Je="p",ar>un&&(Kt=ar,ar=un,un=Kt);else{if(Je!=="l"&&Je!=="landscape")throw"Invalid orientation: "+Je;Je="l",un>ar&&(Kt=ar,ar=un,un=Kt)}return{width:ar,height:un,unit:vt,k:wr,orientation:Je}},Ge.html=function(Je,vt){(vt=vt||{}).callback=vt.callback||function(){},vt.html2canvas=vt.html2canvas||{},vt.html2canvas.canvas=vt.html2canvas.canvas||this.canvas,vt.jsPDF=vt.jsPDF||this,vt.fontFaces=vt.fontFaces?vt.fontFaces.map(Kr):null;var st=new Fe(vt);return vt.worker?st:st.from(Je).doCallback()}}(j.API),j.API.addJS=function(Ge){return $r=Ge,this.internal.events.subscribe("postPutResources",function(){fr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(fr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),An=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+$r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){fr!==void 0&&An!==void 0&&this.internal.out("/Names <</JavaScript "+fr+" 0 R>>")}),this},function(Ge){var we;Ge.events.push(["postPutResources",function(){var Le=this,De=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var We=Le.outline.render().split(/\r\n/),Fe=0;Fe<We.length;Fe++){var Je=We[Fe],vt=De.exec(Je);if(vt!=null){var st=vt[1];Le.internal.newObjectDeferredBegin(st,!1)}Le.internal.write(Je)}if(this.outline.createNamedDestinations){var kt=this.internal.pages.length,wr=[];for(Fe=0;Fe<kt;Fe++){var hr=Le.internal.newObject();wr.push(hr);var Nr=Le.internal.getPageInfo(Fe+1);Le.internal.write("<< /D["+Nr.objId+" 0 R /XYZ null null null]>> endobj")}var Kt=Le.internal.newObject();for(Le.internal.write("<< /Names [ "),Fe=0;Fe<wr.length;Fe++)Le.internal.write("(page_"+(Fe+1)+")"+wr[Fe]+" 0 R");Le.internal.write(" ] >>","endobj"),we=Le.internal.newObject(),Le.internal.write("<< /Dests "+Kt+" 0 R"),Le.internal.write(">>","endobj")}}]),Ge.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+we+" 0 R"))}]),Ge.events.push(["initialized",function(){var Le=this;Le.outline={createNamedDestinations:!1,root:{children:[]}},Le.outline.add=function(De,We,Fe){var Je={title:We,options:Fe,children:[]};return De==null&&(De=this.root),De.children.push(Je),Je},Le.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=Le,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},Le.outline.genIds_r=function(De){De.id=Le.internal.newObjectDeferred();for(var We=0;We<De.children.length;We++)this.genIds_r(De.children[We])},Le.outline.renderRoot=function(De){this.objStart(De),this.line("/Type /Outlines"),De.children.length>0&&(this.line("/First "+this.makeRef(De.children[0])),this.line("/Last "+this.makeRef(De.children[De.children.length-1]))),this.line("/Count "+this.count_r({count:0},De)),this.objEnd()},Le.outline.renderItems=function(De){for(var We=this.ctx.pdf.internal.getVerticalCoordinateString,Fe=0;Fe<De.children.length;Fe++){var Je=De.children[Fe];this.objStart(Je),this.line("/Title "+this.makeString(Je.title)),this.line("/Parent "+this.makeRef(De)),Fe>0&&this.line("/Prev "+this.makeRef(De.children[Fe-1])),Fe<De.children.length-1&&this.line("/Next "+this.makeRef(De.children[Fe+1])),Je.children.length>0&&(this.line("/First "+this.makeRef(Je.children[0])),this.line("/Last "+this.makeRef(Je.children[Je.children.length-1])));var vt=this.count=this.count_r({count:0},Je);if(vt>0&&this.line("/Count "+vt),Je.options&&Je.options.pageNumber){var st=Le.internal.getPageInfo(Je.options.pageNumber);this.line("/Dest ["+st.objId+" 0 R /XYZ 0 "+We(0)+" 0]")}this.objEnd()}for(var kt=0;kt<De.children.length;kt++)this.renderItems(De.children[kt])},Le.outline.line=function(De){this.ctx.val+=De+`\r
`},Le.outline.makeRef=function(De){return De.id+" 0 R"},Le.outline.makeString=function(De){return"("+Le.internal.pdfEscape(De)+")"},Le.outline.objStart=function(De){this.ctx.val+=`\r
`+De.id+` 0 obj\r
<<\r
`},Le.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},Le.outline.count_r=function(De,We){for(var Fe=0;Fe<We.children.length;Fe++)De.count++,this.count_r(De,We.children[Fe]);return De.count}}])}(j.API),function(Ge){var we=[192,193,194,195,196,197,198,199];Ge.processJPEG=function(Le,De,We,Fe,Je,vt){var st,kt=this.decode.DCT_DECODE,wr=null;if(typeof Le=="string"||this.__addimage__.isArrayBuffer(Le)||this.__addimage__.isArrayBufferView(Le)){switch(Le=Je||Le,Le=this.__addimage__.isArrayBuffer(Le)?new Uint8Array(Le):Le,(st=function(hr){for(var Nr,Kt=256*hr.charCodeAt(4)+hr.charCodeAt(5),un=hr.length,ar={width:0,height:0,numcomponents:1},Xr=4;Xr<un;Xr+=2){if(Xr+=Kt,we.indexOf(hr.charCodeAt(Xr+1))!==-1){Nr=256*hr.charCodeAt(Xr+5)+hr.charCodeAt(Xr+6),ar={width:256*hr.charCodeAt(Xr+7)+hr.charCodeAt(Xr+8),height:Nr,numcomponents:hr.charCodeAt(Xr+9)};break}Kt=256*hr.charCodeAt(Xr+2)+hr.charCodeAt(Xr+3)}return ar}(Le=this.__addimage__.isArrayBufferView(Le)?this.__addimage__.arrayBufferToBinaryString(Le):Le)).numcomponents){case 1:vt=this.color_spaces.DEVICE_GRAY;break;case 4:vt=this.color_spaces.DEVICE_CMYK;break;case 3:vt=this.color_spaces.DEVICE_RGB}wr={data:Le,width:st.width,height:st.height,colorSpace:vt,bitsPerComponent:8,filter:kt,index:De,alias:We}}return wr}}(j.API);var $e,tt,ve,_e,ke,rt=function(){var Ge,we,Le;function De(Fe){var Je,vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr,kr,gr,Sn;for(this.data=Fe,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},hr=null;;){switch(Je=this.readUInt32(),un=function(){var Pn,ii;for(ii=[],Pn=0;Pn<4;++Pn)ii.push(String.fromCharCode(this.data[this.pos++]));return ii}.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(Je);break;case"fcTL":hr&&this.animation.frames.push(hr),this.pos+=4,hr={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},wr=this.readUInt16(),kt=this.readUInt16()||100,hr.delay=1e3*wr/kt,hr.disposeOp=this.data[this.pos++],hr.blendOp=this.data[this.pos++],hr.data=[];break;case"IDAT":case"fdAT":for(un==="fdAT"&&(this.pos+=4,Je-=4),Fe=(hr!=null?hr.data:void 0)||this.imgData,kr=0;0<=Je?kr<Je:kr>Je;0<=Je?++kr:--kr)Fe.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(st=this.palette.length/3,this.transparency.indexed=this.read(Je),this.transparency.indexed.length>st)throw new Error("More transparent colors than palette size");if((ar=st-this.transparency.indexed.length)>0)for(gr=0;0<=ar?gr<ar:gr>ar;0<=ar?++gr:--gr)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(Je)[0];break;case 2:this.transparency.rgb=this.read(Je)}break;case"tEXt":Nr=(Xr=this.read(Je)).indexOf(0),Kt=String.fromCharCode.apply(String,Xr.slice(0,Nr)),this.text[Kt]=String.fromCharCode.apply(String,Xr.slice(Nr+1));break;case"IEND":return hr&&this.animation.frames.push(hr),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=(Sn=this.colorType)===4||Sn===6,vt=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*vt,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+=Je}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}De.prototype.read=function(Fe){var Je,vt;for(vt=[],Je=0;0<=Fe?Je<Fe:Je>Fe;0<=Fe?++Je:--Je)vt.push(this.data[this.pos++]);return vt},De.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},De.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},De.prototype.decodePixels=function(Fe){var Je=this.pixelBitlength/8,vt=new Uint8Array(this.width*this.height*Je),st=0,kt=this;if(Fe==null&&(Fe=this.imgData),Fe.length===0)return new Uint8Array(0);function wr(hr,Nr,Kt,un){var ar,Xr,kr,gr,Sn,Pn,ii,oi,ti,bi,Bn,_i,gn,Vr,xn,tn,ui,qn,wi,Qn,Hi,ri=Math.ceil((kt.width-hr)/Kt),Mi=Math.ceil((kt.height-Nr)/un),dn=kt.width==ri&&kt.height==Mi;for(Vr=Je*ri,_i=dn?vt:new Uint8Array(Vr*Mi),Pn=Fe.length,gn=0,Xr=0;gn<Mi&&st<Pn;){switch(Fe[st++]){case 0:for(gr=ui=0;ui<Vr;gr=ui+=1)_i[Xr++]=Fe[st++];break;case 1:for(gr=qn=0;qn<Vr;gr=qn+=1)ar=Fe[st++],Sn=gr<Je?0:_i[Xr-Je],_i[Xr++]=(ar+Sn)%256;break;case 2:for(gr=wi=0;wi<Vr;gr=wi+=1)ar=Fe[st++],kr=(gr-gr%Je)/Je,xn=gn&&_i[(gn-1)*Vr+kr*Je+gr%Je],_i[Xr++]=(xn+ar)%256;break;case 3:for(gr=Qn=0;Qn<Vr;gr=Qn+=1)ar=Fe[st++],kr=(gr-gr%Je)/Je,Sn=gr<Je?0:_i[Xr-Je],xn=gn&&_i[(gn-1)*Vr+kr*Je+gr%Je],_i[Xr++]=(ar+Math.floor((Sn+xn)/2))%256;break;case 4:for(gr=Hi=0;Hi<Vr;gr=Hi+=1)ar=Fe[st++],kr=(gr-gr%Je)/Je,Sn=gr<Je?0:_i[Xr-Je],gn===0?xn=tn=0:(xn=_i[(gn-1)*Vr+kr*Je+gr%Je],tn=kr&&_i[(gn-1)*Vr+(kr-1)*Je+gr%Je]),ii=Sn+xn-tn,oi=Math.abs(ii-Sn),bi=Math.abs(ii-xn),Bn=Math.abs(ii-tn),ti=oi<=bi&&oi<=Bn?Sn:bi<=Bn?xn:tn,_i[Xr++]=(ar+ti)%256;break;default:throw new Error("Invalid filter algorithm: "+Fe[st-1])}if(!dn){var Fr=((Nr+gn*un)*kt.width+hr)*Je,bn=gn*Vr;for(gr=0;gr<ri;gr+=1){for(var Mn=0;Mn<Je;Mn+=1)vt[Fr++]=_i[bn++];Fr+=(Kt-1)*Je}}gn++}}return Fe=Object(E.a)(Fe),kt.interlaceMethod==1?(wr(0,0,8,8),wr(4,0,8,8),wr(0,4,4,8),wr(2,0,4,4),wr(0,2,2,4),wr(1,0,2,2),wr(0,1,1,2)):wr(0,0,1,1),vt},De.prototype.decodePalette=function(){var Fe,Je,vt,st,kt,wr,hr,Nr,Kt;for(vt=this.palette,wr=this.transparency.indexed||[],kt=new Uint8Array((wr.length||0)+vt.length),st=0,Fe=0,Je=hr=0,Nr=vt.length;hr<Nr;Je=hr+=3)kt[st++]=vt[Je],kt[st++]=vt[Je+1],kt[st++]=vt[Je+2],kt[st++]=(Kt=wr[Fe++])!=null?Kt:255;return kt},De.prototype.copyToImageData=function(Fe,Je){var vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr,kr;if(st=this.colors,ar=null,vt=this.hasAlphaChannel,this.palette.length&&(ar=(kr=this._decodedPalette)!=null?kr:this._decodedPalette=this.decodePalette(),st=4,vt=!0),un=(kt=Fe.data||Fe).length,hr=ar||Je,wr=Nr=0,st===1)for(;wr<un;)Kt=ar?4*Je[wr/4]:Nr,Xr=hr[Kt++],kt[wr++]=Xr,kt[wr++]=Xr,kt[wr++]=Xr,kt[wr++]=vt?hr[Kt++]:255,Nr=Kt;else for(;wr<un;)Kt=ar?4*Je[wr/4]:Nr,kt[wr++]=hr[Kt++],kt[wr++]=hr[Kt++],kt[wr++]=hr[Kt++],kt[wr++]=vt?hr[Kt++]:255,Nr=Kt},De.prototype.decode=function(){var Fe;return Fe=new Uint8Array(this.width*this.height*4),this.copyToImageData(Fe,this.decodePixels()),Fe};var We=function(){if(Object.prototype.toString.call(C)==="[object Window]"){try{we=C.document.createElement("canvas"),Le=we.getContext("2d")}catch(Je){return!1}return!0}return!1};return We(),Ge=function(Je){var vt;if(We()===!0)return Le.width=Je.width,Le.height=Je.height,Le.clearRect(0,0,Je.width,Je.height),Le.putImageData(Je,0,0),(vt=new Image).src=we.toDataURL(),vt;throw new Error("This method requires a Browser with Canvas-capability.")},De.prototype.decodeFrames=function(Fe){var Je,vt,st,kt,wr,hr,Nr,Kt;if(this.animation){for(Kt=[],vt=wr=0,hr=(Nr=this.animation.frames).length;wr<hr;vt=++wr)Je=Nr[vt],st=Fe.createImageData(Je.width,Je.height),kt=this.decodePixels(new Uint8Array(Je.data)),this.copyToImageData(st,kt),Je.imageData=st,Kt.push(Je.image=Ge(st));return Kt}},De.prototype.renderFrame=function(Fe,Je){var vt,st,kt;return vt=(st=this.animation.frames)[Je],kt=st[Je-1],Je===0&&Fe.clearRect(0,0,this.width,this.height),(kt!=null?kt.disposeOp:void 0)===1?Fe.clearRect(kt.xOffset,kt.yOffset,kt.width,kt.height):(kt!=null?kt.disposeOp:void 0)===2&&Fe.putImageData(kt.imageData,kt.xOffset,kt.yOffset),vt.blendOp===0&&Fe.clearRect(vt.xOffset,vt.yOffset,vt.width,vt.height),Fe.drawImage(vt.image,vt.xOffset,vt.yOffset)},De.prototype.animate=function(Fe){var Je,vt,st,kt,wr,hr,Nr=this;return vt=0,hr=this.animation,kt=hr.numFrames,st=hr.frames,wr=hr.numPlays,(Je=function(){var un,ar;if(un=vt++%kt,ar=st[un],Nr.renderFrame(Fe,un),kt>1&&vt/kt<wr)return Nr.animation._timeout=setTimeout(Je,ar.delay)})()},De.prototype.stopAnimation=function(){var Fe;return clearTimeout((Fe=this.animation)!=null?Fe._timeout:void 0)},De.prototype.render=function(Fe){var Je,vt;return Fe._png&&Fe._png.stopAnimation(),Fe._png=this,Fe.width=this.width,Fe.height=this.height,Je=Fe.getContext("2d"),this.animation?(this.decodeFrames(Je),this.animate(Je)):(vt=Je.createImageData(this.width,this.height),this.copyToImageData(vt,this.decodePixels()),Je.putImageData(vt,0,0))},De}();/**
* @license
*
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
* ====================================================================
*//**
* @license
* (c) Dean McNamee <dean@gmail.com>, 2013.
*
* https://github.com/deanm/omggif
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
* including animation and compression. It does not rely on any specific
* underlying system, so should run in the browser, Node, or Plask.
*/function Wt(Ge){var we=0;if(Ge[we++]!==71||Ge[we++]!==73||Ge[we++]!==70||Ge[we++]!==56||(Ge[we++]+1&253)!=56||Ge[we++]!==97)throw new Error("Invalid GIF 87a/89a header.");var Le=Ge[we++]|Ge[we++]<<8,De=Ge[we++]|Ge[we++]<<8,We=Ge[we++],Fe=We>>7,Je=1<<(7&We)+1;Ge[we++],Ge[we++];var vt=null,st=null;Fe&&(vt=we,st=Je,we+=3*Je);var kt=!0,wr=[],hr=0,Nr=null,Kt=0,un=null;for(this.width=Le,this.height=De;kt&&we<Ge.length;)switch(Ge[we++]){case 33:switch(Ge[we++]){case 255:if(Ge[we]!==11||Ge[we+1]==78&&Ge[we+2]==69&&Ge[we+3]==84&&Ge[we+4]==83&&Ge[we+5]==67&&Ge[we+6]==65&&Ge[we+7]==80&&Ge[we+8]==69&&Ge[we+9]==50&&Ge[we+10]==46&&Ge[we+11]==48&&Ge[we+12]==3&&Ge[we+13]==1&&Ge[we+16]==0)we+=14,un=Ge[we++]|Ge[we++]<<8,we++;else for(we+=12;;){if(!((gn=Ge[we++])>=0))throw Error("Invalid block size");if(gn===0)break;we+=gn}break;case 249:if(Ge[we++]!==4||Ge[we+4]!==0)throw new Error("Invalid graphics extension block.");var ar=Ge[we++];hr=Ge[we++]|Ge[we++]<<8,Nr=Ge[we++],(1&ar)==0&&(Nr=null),Kt=ar>>2&7,we++;break;case 254:for(;;){if(!((gn=Ge[we++])>=0))throw Error("Invalid block size");if(gn===0)break;we+=gn}break;default:throw new Error("Unknown graphic control label: 0x"+Ge[we-1].toString(16))}break;case 44:var Xr=Ge[we++]|Ge[we++]<<8,kr=Ge[we++]|Ge[we++]<<8,gr=Ge[we++]|Ge[we++]<<8,Sn=Ge[we++]|Ge[we++]<<8,Pn=Ge[we++],ii=Pn>>6&1,oi=1<<(7&Pn)+1,ti=vt,bi=st,Bn=!1;Pn>>7&&(Bn=!0,ti=we,bi=oi,we+=3*oi);var _i=we;for(we++;;){var gn;if(!((gn=Ge[we++])>=0))throw Error("Invalid block size");if(gn===0)break;we+=gn}wr.push({x:Xr,y:kr,width:gr,height:Sn,has_local_palette:Bn,palette_offset:ti,palette_size:bi,data_offset:_i,data_length:we-_i,transparent_index:Nr,interlaced:!!ii,delay:hr,disposal:Kt});break;case 59:kt=!1;break;default:throw new Error("Unknown gif block: 0x"+Ge[we-1].toString(16))}this.numFrames=function(){return wr.length},this.loopCount=function(){return un},this.frameInfo=function(Vr){if(Vr<0||Vr>=wr.length)throw new Error("Frame index out of range.");return wr[Vr]},this.decodeAndBlitFrameBGRA=function(Vr,xn){var tn=this.frameInfo(Vr),ui=tn.width*tn.height,qn=new Uint8Array(ui);Bt(Ge,tn.data_offset,qn,ui);var wi=tn.palette_offset,Qn=tn.transparent_index;Qn===null&&(Qn=256);var Hi=tn.width,ri=Le-Hi,Mi=Hi,dn=4*(tn.y*Le+tn.x),Fr=4*((tn.y+tn.height)*Le+tn.x),bn=dn,Mn=4*ri;tn.interlaced===!0&&(Mn+=4*Le*7);for(var Xn=8,$n=0,hi=qn.length;$n<hi;++$n){var fi=qn[$n];if(Mi===0&&(Mi=Hi,(bn+=Mn)>=Fr&&(Mn=4*ri+4*Le*(Xn-1),bn=dn+(Hi+ri)*(Xn<<1),Xn>>=1)),fi===Qn)bn+=4;else{var gi=Ge[wi+3*fi],Wi=Ge[wi+3*fi+1],na=Ge[wi+3*fi+2];xn[bn++]=na,xn[bn++]=Wi,xn[bn++]=gi,xn[bn++]=255}--Mi}},this.decodeAndBlitFrameRGBA=function(Vr,xn){var tn=this.frameInfo(Vr),ui=tn.width*tn.height,qn=new Uint8Array(ui);Bt(Ge,tn.data_offset,qn,ui);var wi=tn.palette_offset,Qn=tn.transparent_index;Qn===null&&(Qn=256);var Hi=tn.width,ri=Le-Hi,Mi=Hi,dn=4*(tn.y*Le+tn.x),Fr=4*((tn.y+tn.height)*Le+tn.x),bn=dn,Mn=4*ri;tn.interlaced===!0&&(Mn+=4*Le*7);for(var Xn=8,$n=0,hi=qn.length;$n<hi;++$n){var fi=qn[$n];if(Mi===0&&(Mi=Hi,(bn+=Mn)>=Fr&&(Mn=4*ri+4*Le*(Xn-1),bn=dn+(Hi+ri)*(Xn<<1),Xn>>=1)),fi===Qn)bn+=4;else{var gi=Ge[wi+3*fi],Wi=Ge[wi+3*fi+1],na=Ge[wi+3*fi+2];xn[bn++]=gi,xn[bn++]=Wi,xn[bn++]=na,xn[bn++]=255}--Mi}}}function Bt(Ge,we,Le,De){for(var We=Ge[we++],Fe=1<<We,Je=Fe+1,vt=Je+1,st=We+1,kt=(1<<st)-1,wr=0,hr=0,Nr=0,Kt=Ge[we++],un=new Int32Array(4096),ar=null;;){for(;wr<16&&Kt!==0;)hr|=Ge[we++]<<wr,wr+=8,Kt===1?Kt=Ge[we++]:--Kt;if(wr<st)break;var Xr=hr&kt;if(hr>>=st,wr-=st,Xr!==Fe){if(Xr===Je)break;for(var kr=Xr<vt?Xr:ar,gr=0,Sn=kr;Sn>Fe;)Sn=un[Sn]>>8,++gr;var Pn=Sn;if(Nr+gr+(kr!==Xr?1:0)>De)return void p.log("Warning, gif stream longer than expected.");Le[Nr++]=Pn;var ii=Nr+=gr;for(kr!==Xr&&(Le[Nr++]=Pn),Sn=kr;gr--;)Sn=un[Sn],Le[--ii]=255&Sn,Sn>>=8;ar!==null&&vt<4096&&(un[vt++]=ar<<8|Pn,vt>=kt+1&&st<12&&(++st,kt=kt<<1|1)),ar=Xr}else vt=Je+1,kt=(1<<(st=We+1))-1,ar=null}return Nr!==De&&p.log("Warning, gif stream shorter than expected."),Le}/**
* @license
Copyright (c) 2008, Adobe Systems Incorporated
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Adobe Systems Incorporated nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/function Gt(Ge){var we,Le,De,We,Fe,Je=Math.floor,vt=new Array(64),st=new Array(64),kt=new Array(64),wr=new Array(64),hr=new Array(65535),Nr=new Array(65535),Kt=new Array(64),un=new Array(64),ar=[],Xr=0,kr=7,gr=new Array(64),Sn=new Array(64),Pn=new Array(64),ii=new Array(256),oi=new Array(2048),ti=[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],bi=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Bn=[0,1,2,3,4,5,6,7,8,9,10,11],_i=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],gn=[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],Vr=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],xn=[0,1,2,3,4,5,6,7,8,9,10,11],tn=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ui=[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 qn(dn,Fr){for(var bn=0,Mn=0,Xn=new Array,$n=1;$n<=16;$n++){for(var hi=1;hi<=dn[$n];hi++)Xn[Fr[Mn]]=[],Xn[Fr[Mn]][0]=bn,Xn[Fr[Mn]][1]=$n,Mn++,bn++;bn*=2}return Xn}function wi(dn){for(var Fr=dn[0],bn=dn[1]-1;bn>=0;)Fr&1<<bn&&(Xr|=1<<kr),bn--,--kr<0&&(Xr==255?(Qn(255),Qn(0)):Qn(Xr),kr=7,Xr=0)}function Qn(dn){ar.push(dn)}function Hi(dn){Qn(dn>>8&255),Qn(255&dn)}function ri(dn,Fr,bn,Mn,Xn){for(var $n,hi=Xn[0],fi=Xn[240],gi=function(Fi,ea){var zt,Gr,nn,fn,Xe,Ot,cr,lr,Ir,Dr,Wr=0;for(Ir=0;Ir<8;++Ir){zt=Fi[Wr],Gr=Fi[Wr+1],nn=Fi[Wr+2],fn=Fi[Wr+3],Xe=Fi[Wr+4],Ot=Fi[Wr+5],cr=Fi[Wr+6];var on=zt+(lr=Fi[Wr+7]),En=zt-lr,vn=Gr+cr,Dn=Gr-cr,Un=nn+Ot,wn=nn-Ot,In=fn+Xe,Tn=fn-Xe,Kn=on+In,Yn=on-In,ni=vn+Un,yi=vn-Un;Fi[Wr]=Kn+ni,Fi[Wr+4]=Kn-ni;var li=.707106781*(yi+Yn);Fi[Wr+2]=Yn+li,Fi[Wr+6]=Yn-li;var Oi=.382683433*((Kn=Tn+wn)-(yi=Dn+En)),Bi=.5411961*Kn+Oi,Si=1.306562965*yi+Oi,mi=.707106781*(ni=wn+Dn),Li=En+mi,Wn=En-mi;Fi[Wr+5]=Wn+Bi,Fi[Wr+3]=Wn-Bi,Fi[Wr+1]=Li+Si,Fi[Wr+7]=Li-Si,Wr+=8}for(Wr=0,Ir=0;Ir<8;++Ir){zt=Fi[Wr],Gr=Fi[Wr+8],nn=Fi[Wr+16],fn=Fi[Wr+24],Xe=Fi[Wr+32],Ot=Fi[Wr+40],cr=Fi[Wr+48];var Ri=zt+(lr=Fi[Wr+56]),zi=zt-lr,yr=Gr+cr,Mr=Gr-cr,Qr=nn+Ot,_r=nn-Ot,Vt=fn+Xe,Sr=fn-Xe,Zt=Ri+Vt,Ur=Ri-Vt,Hr=yr+Qr,pn=yr-Qr;Fi[Wr]=Zt+Hr,Fi[Wr+32]=Zt-Hr;var sn=.707106781*(pn+Ur);Fi[Wr+16]=Ur+sn,Fi[Wr+48]=Ur-sn;var yn=.382683433*((Zt=Sr+_r)-(pn=Mr+zi)),Fn=.5411961*Zt+yn,Gn=1.306562965*pn+yn,Jn=.707106781*(Hr=_r+Mr),Ci=zi+Jn,ta=zi-Jn;Fi[Wr+40]=ta+Fn,Fi[Wr+24]=ta-Fn,Fi[Wr+8]=Ci+Gn,Fi[Wr+56]=Ci-Gn,Wr++}for(Ir=0;Ir<64;++Ir)Dr=Fi[Ir]*ea[Ir],Kt[Ir]=Dr>0?Dr+.5|0:Dr-.5|0;return Kt}(dn,Fr),Wi=0;Wi<64;++Wi)un[ti[Wi]]=gi[Wi];var na=un[0]-bn;bn=un[0],na==0?wi(Mn[0]):(wi(Mn[Nr[$n=32767+na]]),wi(hr[$n]));for(var $i=63;$i>0&&un[$i]==0;)$i--;if($i==0)return wi(hi),bn;for(var Ha,pi=1;pi<=$i;){for(var ln=pi;un[pi]==0&&pi<=$i;)++pi;var Ii=pi-ln;if(Ii>=16){Ha=Ii>>4;for(var Ji=1;Ji<=Ha;++Ji)wi(fi);Ii&=15}$n=32767+un[pi],wi(Xn[(Ii<<4)+Nr[$n]]),wi(hr[$n]),pi++}return $i!=63&&wi(hi),bn}function Mi(dn){(dn=Math.min(Math.max(dn,1),100),Fe!=dn)&&(!function(Fr){for(var bn=[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],Mn=0;Mn<64;Mn++){var Xn=Je((bn[Mn]*Fr+50)/100);Xn=Math.min(Math.max(Xn,1),255),vt[ti[Mn]]=Xn}for(var $n=[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],hi=0;hi<64;hi++){var fi=Je(($n[hi]*Fr+50)/100);fi=Math.min(Math.max(fi,1),255),st[ti[hi]]=fi}for(var gi=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Wi=0,na=0;na<8;na++)for(var $i=0;$i<8;$i++)kt[Wi]=1/(vt[ti[Wi]]*gi[na]*gi[$i]*8),wr[Wi]=1/(st[ti[Wi]]*gi[na]*gi[$i]*8),Wi++}(dn<50?Math.floor(5e3/dn):Math.floor(200-2*dn)),Fe=dn)}this.encode=function(dn,Fr){Fr&&Mi(Fr),ar=new Array,Xr=0,kr=7,Hi(65496),Hi(65504),Hi(16),Qn(74),Qn(70),Qn(73),Qn(70),Qn(0),Qn(1),Qn(1),Qn(0),Hi(1),Hi(1),Qn(0),Qn(0),function(){Hi(65499),Hi(132),Qn(0);for(var Gr=0;Gr<64;Gr++)Qn(vt[Gr]);Qn(1);for(var nn=0;nn<64;nn++)Qn(st[nn])}(),function(Gr,nn){Hi(65472),Hi(17),Qn(8),Hi(nn),Hi(Gr),Qn(3),Qn(1),Qn(17),Qn(0),Qn(2),Qn(17),Qn(1),Qn(3),Qn(17),Qn(1)}(dn.width,dn.height),function(){Hi(65476),Hi(418),Qn(0);for(var Gr=0;Gr<16;Gr++)Qn(bi[Gr+1]);for(var nn=0;nn<=11;nn++)Qn(Bn[nn]);Qn(16);for(var fn=0;fn<16;fn++)Qn(_i[fn+1]);for(var Xe=0;Xe<=161;Xe++)Qn(gn[Xe]);Qn(1);for(var Ot=0;Ot<16;Ot++)Qn(Vr[Ot+1]);for(var cr=0;cr<=11;cr++)Qn(xn[cr]);Qn(17);for(var lr=0;lr<16;lr++)Qn(tn[lr+1]);for(var Ir=0;Ir<=161;Ir++)Qn(ui[Ir])}(),Hi(65498),Hi(12),Qn(3),Qn(1),Qn(0),Qn(2),Qn(17),Qn(3),Qn(17),Qn(0),Qn(63),Qn(0);var bn=0,Mn=0,Xn=0;Xr=0,kr=7,this.encode.displayName="_encode_";for(var $n,hi,fi,gi,Wi,na,$i,Ha,pi,ln=dn.data,Ii=dn.width,Ji=dn.height,Fi=4*Ii,ea=0;ea<Ji;){for($n=0;$n<Fi;){for(Wi=Fi*ea+$n,$i=-1,Ha=0,pi=0;pi<64;pi++)na=Wi+(Ha=pi>>3)*Fi+($i=4*(7&pi)),ea+Ha>=Ji&&(na-=Fi*(ea+1+Ha-Ji)),$n+$i>=Fi&&(na-=$n+$i-Fi+4),hi=ln[na++],fi=ln[na++],gi=ln[na++],gr[pi]=(oi[hi]+oi[fi+256>>0]+oi[gi+512>>0]>>16)-128,Sn[pi]=(oi[hi+768>>0]+oi[fi+1024>>0]+oi[gi+1280>>0]>>16)-128,Pn[pi]=(oi[hi+1280>>0]+oi[fi+1536>>0]+oi[gi+1792>>0]>>16)-128;bn=ri(gr,kt,bn,we,De),Mn=ri(Sn,wr,Mn,Le,We),Xn=ri(Pn,wr,Xn,Le,We),$n+=32}ea+=8}if(kr>=0){var zt=[];zt[1]=kr+1,zt[0]=(1<<kr+1)-1,wi(zt)}return Hi(65497),new Uint8Array(ar)},Ge=Ge||50,function(){for(var dn=String.fromCharCode,Fr=0;Fr<256;Fr++)ii[Fr]=dn(Fr)}(),we=qn(bi,Bn),Le=qn(Vr,xn),De=qn(_i,gn),We=qn(tn,ui),function(){for(var dn=1,Fr=2,bn=1;bn<=15;bn++){for(var Mn=dn;Mn<Fr;Mn++)Nr[32767+Mn]=bn,hr[32767+Mn]=[],hr[32767+Mn][1]=bn,hr[32767+Mn][0]=Mn;for(var Xn=-(Fr-1);Xn<=-dn;Xn++)Nr[32767+Xn]=bn,hr[32767+Xn]=[],hr[32767+Xn][1]=bn,hr[32767+Xn][0]=Fr-1+Xn;dn<<=1,Fr<<=1}}(),function(){for(var dn=0;dn<256;dn++)oi[dn]=19595*dn,oi[dn+256>>0]=38470*dn,oi[dn+512>>0]=7471*dn+32768,oi[dn+768>>0]=-11059*dn,oi[dn+1024>>0]=-21709*dn,oi[dn+1280>>0]=32768*dn+8421375,oi[dn+1536>>0]=-27439*dn,oi[dn+1792>>0]=-5329*dn}(),Mi(Ge)}/**
* @license
* Copyright (c) 2017 Aras Abbasi
*
* Licensed under the MIT License.
* http://opensource.org/licenses/mit-license
*/function Rr(Ge,we){if(this.pos=0,this.buffer=Ge,this.datav=new DataView(Ge.buffer),this.is_with_alpha=!!we,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()}function Pr(Ge){function we(bi){if(!bi)throw Error("assert :P")}function Le(bi,Bn,_i){for(var gn=0;4>gn;gn++)if(bi[Bn+gn]!=_i.charCodeAt(gn))return!0;return!1}function De(bi,Bn,_i,gn,Vr){for(var xn=0;xn<Vr;xn++)bi[Bn+xn]=_i[gn+xn]}function We(bi,Bn,_i,gn){for(var Vr=0;Vr<gn;Vr++)bi[Bn+Vr]=_i}function Fe(bi){return new Int32Array(bi)}function Je(bi,Bn){for(var _i=[],gn=0;gn<bi;gn++)_i.push(new Bn);return _i}function vt(bi,Bn){var _i=[];return function gn(Vr,xn,tn){for(var ui=tn[xn],qn=0;qn<ui&&(Vr.push(tn.length>xn+1?[]:new Bn),!(tn.length<xn+1));qn++)gn(Vr[qn],xn+1,tn)}(_i,0,bi),_i}var st=function(){var Bn=this;function _i(me,Me){for(var ht=1<<Me-1>>>0;me&ht;)ht>>>=1;return ht?(me&ht-1)+ht:me}function gn(me,Me,ht,jt,dr){we(!(jt%ht));do me[Me+(jt-=ht)]=dr;while(0<jt)}function Vr(me,Me,ht,jt,dr){if(we(2328>=dr),512>=dr)var Tr=Fe(512);else if((Tr=Fe(dr))==null)return 0;return function(Ee,J,Ae,Pe,at,Ct){var It,Rt,Ar=J,Lr=1<<Ae,mr=Fe(16),ur=Fe(16);for(we(at!=0),we(Pe!=null),we(Ee!=null),we(0<Ae),Rt=0;Rt<at;++Rt){if(15<Pe[Rt])return 0;++mr[Pe[Rt]]}if(mr[0]==at)return 0;for(ur[1]=0,It=1;15>It;++It){if(mr[It]>1<<It)return 0;ur[It+1]=ur[It]+mr[It]}for(Rt=0;Rt<at;++Rt)It=Pe[Rt],0<Pe[Rt]&&(Ct[ur[It]++]=Rt);if(ur[15]==1)return(Pe=new xn).g=0,Pe.value=Ct[0],gn(Ee,Ar,1,Lr,Pe),Lr;var Cr,Br=-1,an=Lr-1,jn=0,Vn=1,Ei=1,di=1<<Ae;for(Rt=0,It=1,at=2;It<=Ae;++It,at<<=1){if(Vn+=Ei<<=1,0>(Ei-=mr[It]))return 0;for(;0<mr[It];--mr[It])(Pe=new xn).g=It,Pe.value=Ct[Rt++],gn(Ee,Ar+jn,at,di,Pe),jn=_i(jn,It)}for(It=Ae+1,at=2;15>=It;++It,at<<=1){if(Vn+=Ei<<=1,0>(Ei-=mr[It]))return 0;for(;0<mr[It];--mr[It]){if(Pe=new xn,(jn&an)!=Br){for(Ar+=di,Cr=1<<(Br=It)-Ae;15>Br&&!(0>=(Cr-=mr[Br]));)++Br,Cr<<=1;Lr+=di=1<<(Cr=Br-Ae),Ee[J+(Br=jn&an)].g=Cr+Ae,Ee[J+Br].value=Ar-J-Br}Pe.g=It-Ae,Pe.value=Ct[Rt++],gn(Ee,Ar+(jn>>Ae),at,di,Pe),jn=_i(jn,It)}}return Vn!=2*ur[15]-1?0:Lr}(me,Me,ht,jt,dr,Tr)}function xn(){this.value=this.g=0}function tn(){this.value=this.g=0}function ui(){this.G=Je(5,xn),this.H=Fe(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=Je(So,tn)}function qn(me,Me,ht,jt){we(me!=null),we(Me!=null),we(2147483648>jt),me.Ca=254,me.I=0,me.b=-8,me.Ka=0,me.oa=Me,me.pa=ht,me.Jd=Me,me.Yc=ht+jt,me.Zc=4<=jt?ht+jt-4+1:ht,hi(me)}function wi(me,Me){for(var ht=0;0<Me--;)ht|=gi(me,128)<<Me;return ht}function Qn(me,Me){var ht=wi(me,Me);return fi(me)?-ht:ht}function Hi(me,Me,ht,jt){var dr,Tr=0;for(we(me!=null),we(Me!=null),we(4294967288>jt),me.Sb=jt,me.Ra=0,me.u=0,me.h=0,4<jt&&(jt=4),dr=0;dr<jt;++dr)Tr+=Me[ht+dr]<<8*dr;me.Ra=Tr,me.bb=jt,me.oa=Me,me.pa=ht}function ri(me){for(;8<=me.u&&me.bb<me.Sb;)me.Ra>>>=8,me.Ra+=me.oa[me.pa+me.bb]<<To-8>>>0,++me.bb,me.u-=8;Mn(me)&&(me.h=1,me.u=0)}function Mi(me,Me){if(we(0<=Me),!me.h&&Me<=ts){var ht=bn(me)&is[Me];return me.u+=Me,ri(me),ht}return me.h=1,me.u=0}function dn(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function Fr(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function bn(me){return me.Ra>>>(me.u&To-1)>>>0}function Mn(me){return we(me.bb<=me.Sb),me.h||me.bb==me.Sb&&me.u>To}function Xn(me,Me){me.u=Me,me.h=Mn(me)}function $n(me){me.u>=Yi&&(we(me.u>=Yi),ri(me))}function hi(me){we(me!=null&&me.oa!=null),me.pa<me.Zc?(me.I=(me.oa[me.pa++]|me.I<<8)>>>0,me.b+=8):(we(me!=null&&me.oa!=null),me.pa<me.Yc?(me.b+=8,me.I=me.oa[me.pa++]|me.I<<8):me.Ka?me.b=0:(me.I<<=8,me.b+=8,me.Ka=1))}function fi(me){return wi(me,1)}function gi(me,Me){var ht=me.Ca;0>me.b&&hi(me);var jt=me.b,dr=ht*Me>>>8,Tr=(me.I>>>jt>dr)+0;for(Tr?(ht-=dr,me.I-=dr+1<<jt>>>0):ht=dr+1,jt=ht,dr=0;256<=jt;)dr+=8,jt>>=8;return jt=7^dr+Rs[jt],me.b-=jt,me.Ca=(ht<<jt)-1,Tr}function Wi(me,Me,ht){me[Me+0]=ht>>24&255,me[Me+1]=ht>>16&255,me[Me+2]=ht>>8&255,me[Me+3]=ht>>0&255}function na(me,Me){return me[Me+0]<<0|me[Me+1]<<8}function $i(me,Me){return na(me,Me)|me[Me+2]<<16}function Ha(me,Me){return na(me,Me)|na(me,Me+2)<<16}function pi(me,Me){var ht=1<<Me;return we(me!=null),we(0<Me),me.X=Fe(ht),me.X==null?0:(me.Mb=32-Me,me.Xa=Me,1)}function ln(me,Me){we(me!=null),we(Me!=null),we(me.Xa==Me.Xa),De(Me.X,0,me.X,0,1<<Me.Xa)}function Ii(){this.X=[],this.Xa=this.Mb=0}function Ji(me,Me,ht,jt){we(ht!=null),we(jt!=null);var dr=ht[0],Tr=jt[0];return dr==0&&(dr=(me*Tr+Me/2)/Me),Tr==0&&(Tr=(Me*dr+me/2)/me),0>=dr||0>=Tr?0:(ht[0]=dr,jt[0]=Tr,1)}function Fi(me,Me){return me+(1<<Me)-1>>>Me}function ea(me,Me){return((4278255360&me)+(4278255360&Me)>>>0&4278255360)+((16711935&me)+(16711935&Me)>>>0&16711935)>>>0}function zt(me,Me){Bn[Me]=function(ht,jt,dr,Tr,Ee,J,Ae){var Pe;for(Pe=0;Pe<Ee;++Pe){var at=Bn[me](J[Ae+Pe-1],dr,Tr+Pe);J[Ae+Pe]=ea(ht[jt+Pe],at)}}}function Gr(){this.ud=this.hd=this.jd=0}function nn(me,Me){return((4278124286&(me^Me))>>>1)+(me&Me)>>>0}function fn(me){return 0<=me&&256>me?me:0>me?0:255<me?255:void 0}function Xe(me,Me){return fn(me+(me-Me+.5>>1))}function Ot(me,Me,ht){return Math.abs(Me-ht)-Math.abs(me-ht)}function cr(me,Me,ht,jt,dr,Tr,Ee){for(jt=Tr[Ee-1],ht=0;ht<dr;++ht)Tr[Ee+ht]=jt=ea(me[Me+ht],jt)}function lr(me,Me,ht,jt,dr){var Tr;for(Tr=0;Tr<ht;++Tr){var Ee=me[Me+Tr],J=Ee>>8&255,Ae=16711935&(Ae=(Ae=16711935&Ee)+((J<<16)+J));jt[dr+Tr]=(4278255360&Ee)+Ae>>>0}}function Ir(me,Me){Me.jd=me>>0&255,Me.hd=me>>8&255,Me.ud=me>>16&255}function Dr(me,Me,ht,jt,dr,Tr){var Ee;for(Ee=0;Ee<jt;++Ee){var J=Me[ht+Ee],Ae=J>>>8,Pe=J,at=255&(at=(at=J>>>16)+((me.jd<<24>>24)*(Ae<<24>>24)>>>5));Pe=255&(Pe=(Pe=Pe+((me.hd<<24>>24)*(Ae<<24>>24)>>>5))+((me.ud<<24>>24)*(at<<24>>24)>>>5)),dr[Tr+Ee]=(4278255360&J)+(at<<16)+Pe}}function Wr(me,Me,ht,jt,dr){Bn[Me]=function(Tr,Ee,J,Ae,Pe,at,Ct,It,Rt){for(Ae=Ct;Ae<It;++Ae)for(Ct=0;Ct<Rt;++Ct)Pe[at++]=dr(J[jt(Tr[Ee++])])},Bn[me]=function(Tr,Ee,J,Ae,Pe,at,Ct){var It=8>>Tr.b,Rt=Tr.Ea,Ar=Tr.K[0],Lr=Tr.w;if(8>It)for(Tr=(1<<Tr.b)-1,Lr=(1<<It)-1;Ee<J;++Ee){var mr,ur=0;for(mr=0;mr<Rt;++mr)mr&Tr||(ur=jt(Ae[Pe++])),at[Ct++]=dr(Ar[ur&Lr]),ur>>=It}else Bn["VP8LMapColor"+ht](Ae,Pe,Ar,Lr,at,Ct,Ee,J,Rt)}}function on(me,Me,ht,jt,dr){for(ht=Me+ht;Me<ht;){var Tr=me[Me++];jt[dr++]=Tr>>16&255,jt[dr++]=Tr>>8&255,jt[dr++]=Tr>>0&255}}function En(me,Me,ht,jt,dr){for(ht=Me+ht;Me<ht;){var Tr=me[Me++];jt[dr++]=Tr>>16&255,jt[dr++]=Tr>>8&255,jt[dr++]=Tr>>0&255,jt[dr++]=Tr>>24&255}}function vn(me,Me,ht,jt,dr){for(ht=Me+ht;Me<ht;){var Tr=(Ee=me[Me++])>>16&240|Ee>>12&15,Ee=Ee>>0&240|Ee>>28&15;jt[dr++]=Tr,jt[dr++]=Ee}}function Dn(me,Me,ht,jt,dr){for(ht=Me+ht;Me<ht;){var Tr=(Ee=me[Me++])>>16&248|Ee>>13&7,Ee=Ee>>5&224|Ee>>3&31;jt[dr++]=Tr,jt[dr++]=Ee}}function Un(me,Me,ht,jt,dr){for(ht=Me+ht;Me<ht;){var Tr=me[Me++];jt[dr++]=Tr>>0&255,jt[dr++]=Tr>>8&255,jt[dr++]=Tr>>16&255}}function wn(me,Me,ht,jt,dr,Tr){if(Tr==0)for(ht=Me+ht;Me<ht;)Wi(jt,((Tr=me[Me++])[0]>>24|Tr[1]>>8&65280|Tr[2]<<8&16711680|Tr[3]<<24)>>>0),dr+=32;else De(jt,dr,me,Me,ht)}function In(me,Me){Bn[Me][0]=Bn[me+"0"],Bn[Me][1]=Bn[me+"1"],Bn[Me][2]=Bn[me+"2"],Bn[Me][3]=Bn[me+"3"],Bn[Me][4]=Bn[me+"4"],Bn[Me][5]=Bn[me+"5"],Bn[Me][6]=Bn[me+"6"],Bn[Me][7]=Bn[me+"7"],Bn[Me][8]=Bn[me+"8"],Bn[Me][9]=Bn[me+"9"],Bn[Me][10]=Bn[me+"10"],Bn[Me][11]=Bn[me+"11"],Bn[Me][12]=Bn[me+"12"],Bn[Me][13]=Bn[me+"13"],Bn[Me][14]=Bn[me+"0"],Bn[Me][15]=Bn[me+"0"]}function Tn(me){return me==Tc||me==vl||me==Ll||me==Kl}function Kn(){this.eb=[],this.size=this.A=this.fb=0}function Yn(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ni(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Kn,this.f.kb=new Yn,this.sd=null}function yi(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function li(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function Oi(me){return alert("todo:WebPSamplerProcessPlane"),me.T}function Bi(me,Me){var ht=me.T,jt=Me.ba.f.RGBA,dr=jt.eb,Tr=jt.fb+me.ka*jt.A,Ee=cl[Me.ba.S],J=me.y,Ae=me.O,Pe=me.f,at=me.N,Ct=me.ea,It=me.W,Rt=Me.cc,Ar=Me.dc,Lr=Me.Mc,mr=Me.Nc,ur=me.ka,Cr=me.ka+me.T,Br=me.U,an=Br+1>>1;for(ur==0?Ee(J,Ae,null,null,Pe,at,Ct,It,Pe,at,Ct,It,dr,Tr,null,null,Br):(Ee(Me.ec,Me.fc,J,Ae,Rt,Ar,Lr,mr,Pe,at,Ct,It,dr,Tr-jt.A,dr,Tr,Br),++ht);ur+2<Cr;ur+=2)Rt=Pe,Ar=at,Lr=Ct,mr=It,at+=me.Rc,It+=me.Rc,Tr+=2*jt.A,Ee(J,(Ae+=2*me.fa)-me.fa,J,Ae,Rt,Ar,Lr,mr,Pe,at,Ct,It,dr,Tr-jt.A,dr,Tr,Br);return Ae+=me.fa,me.j+Cr<me.o?(De(Me.ec,Me.fc,J,Ae,Br),De(Me.cc,Me.dc,Pe,at,an),De(Me.Mc,Me.Nc,Ct,It,an),ht--):1&Cr||Ee(J,Ae,null,null,Pe,at,Ct,It,Pe,at,Ct,It,dr,Tr+jt.A,null,null,Br),ht}function Si(me,Me,ht){var jt=me.F,dr=[me.J];if(jt!=null){var Tr=me.U,Ee=Me.ba.S,J=Ee==Vs||Ee==Ll;Me=Me.ba.f.RGBA;var Ae=[0],Pe=me.ka;Ae[0]=me.T,me.Kb&&(Pe==0?--Ae[0]:(--Pe,dr[0]-=me.width),me.j+me.ka+me.T==me.o&&(Ae[0]=me.o-me.j-Pe));var at=Me.eb;Pe=Me.fb+Pe*Me.A,me=el(jt,dr[0],me.width,Tr,Ae,at,Pe+(J?0:3),Me.A),we(ht==Ae),me&&Tn(Ee)&&xl(at,Pe,J,Tr,Ae,Me.A)}return 0}function mi(me){var Me=me.ma,ht=Me.ba.S,jt=11>ht,dr=ht==oc||ht==Ql||ht==Vs||ht==lc||ht==12||Tn(ht);if(Me.memory=null,Me.Ib=null,Me.Jb=null,Me.Nd=null,!Co(Me.Oa,me,dr?11:12))return 0;if(dr&&Tn(ht)&&Re(),me.da)alert("todo:use_scaling");else{if(jt){if(Me.Ib=Oi,me.Kb){if(ht=me.U+1>>1,Me.memory=Fe(me.U+2*ht),Me.memory==null)return 0;Me.ec=Me.memory,Me.fc=0,Me.cc=Me.ec,Me.dc=Me.fc+me.U,Me.Mc=Me.cc,Me.Nc=Me.dc+ht,Me.Ib=Bi,Re()}}else alert("todo:EmitYUV");dr&&(Me.Jb=Si,jt&&fe())}if(jt&&!Nc){for(me=0;256>me;++me)eu[me]=89858*(me-128)+Nl>>pl,Gc[me]=-22014*(me-128)+Nl,Xc[me]=-45773*(me-128),Rc[me]=113618*(me-128)+Nl>>pl;for(me=Xl;me<jl;++me)Me=76283*(me-16)+Nl>>pl,Yc[me-Xl]=Xi(Me,255),Dc[me-Xl]=Xi(Me+8>>4,15);Nc=1}return 1}function Li(me){var Me=me.ma,ht=me.U,jt=me.T;return we(!(1&me.ka)),0>=ht||0>=jt?0:(ht=Me.Ib(me,Me),Me.Jb!=null&&Me.Jb(me,Me,ht),Me.Dc+=ht,1)}function Wn(me){me.ma.memory=null}function Ri(me,Me,ht,jt){return Mi(me,8)!=47?0:(Me[0]=Mi(me,14)+1,ht[0]=Mi(me,14)+1,jt[0]=Mi(me,1),Mi(me,3)!=0?0:!me.h)}function zi(me,Me){if(4>me)return me+1;var ht=me-2>>1;return(2+(1&me)<<ht)+Mi(Me,ht)+1}function yr(me,Me){return 120<Me?Me-120:1<=(ht=((ht=Zl[Me-1])>>4)*me+(8-(15&ht)))?ht:1;var ht}function Mr(me,Me,ht){var jt=bn(ht),dr=me[Me+=255&jt].g-8;return 0<dr&&(Xn(ht,ht.u+8),jt=bn(ht),Me+=me[Me].value,Me+=jt&(1<<dr)-1),Xn(ht,ht.u+me[Me].g),me[Me].value}function Qr(me,Me,ht){return ht.g+=me.g,ht.value+=me.value<<Me>>>0,we(8>=ht.g),me.g}function _r(me,Me,ht){var jt=me.xc;return we((Me=jt==0?0:me.vc[me.md*(ht>>jt)+(Me>>jt)])<me.Wb),me.Ya[Me]}function Vt(me,Me,ht,jt){var dr=me.ab,Tr=me.c*Me,Ee=me.C;Me=Ee+Me;var J=ht,Ae=jt;for(jt=me.Ta,ht=me.Ua;0<dr--;){var Pe=me.gc[dr],at=Ee,Ct=Me,It=J,Rt=Ae,Ar=(Ae=jt,J=ht,Pe.Ea);switch(we(at<Ct),we(Ct<=Pe.nc),Pe.hc){case 2:Qo(It,Rt,(Ct-at)*Ar,Ae,J);break;case 0:var Lr=at,mr=Ct,ur=Ae,Cr=J,Br=(di=Pe).Ea;Lr==0&&(Es(It,Rt,null,null,1,ur,Cr),cr(It,Rt+1,0,0,Br-1,ur,Cr+1),Rt+=Br,Cr+=Br,++Lr);for(var an=1<<di.b,jn=an-1,Vn=Fi(Br,di.b),Ei=di.K,di=di.w+(Lr>>di.b)*Vn;Lr<mr;){var ua=Ei,ji=di,Ta=1;for(as(It,Rt,ur,Cr-Br,1,ur,Cr);Ta<Br;){var ha=(Ta&~jn)+an;ha>Br&&(ha=Br),(0,Lo[ua[ji++]>>8&15])(It,Rt+ +Ta,ur,Cr+Ta-Br,ha-Ta,ur,Cr+Ta),Ta=ha}Rt+=Br,Cr+=Br,++Lr&jn||(di+=Vn)}Ct!=Pe.nc&&De(Ae,J-Ar,Ae,J+(Ct-at-1)*Ar,Ar);break;case 1:for(Ar=It,mr=Rt,Br=(It=Pe.Ea)-(Cr=It&~(ur=(Rt=1<<Pe.b)-1)),Lr=Fi(It,Pe.b),an=Pe.K,Pe=Pe.w+(at>>Pe.b)*Lr;at<Ct;){for(jn=an,Vn=Pe,Ei=new Gr,di=mr+Cr,ua=mr+It;mr<di;)Ir(jn[Vn++],Ei),ls(Ei,Ar,mr,Rt,Ae,J),mr+=Rt,J+=Rt;mr<ua&&(Ir(jn[Vn++],Ei),ls(Ei,Ar,mr,Br,Ae,J),mr+=Br,J+=Br),++at&ur||(Pe+=Lr)}break;case 3:if(It==Ae&&Rt==J&&0<Pe.b){for(mr=Ae,It=Ar=J+(Ct-at)*Ar-(Cr=(Ct-at)*Fi(Pe.Ea,Pe.b)),Rt=Ae,ur=J,Lr=[],Cr=(Br=Cr)-1;0<=Cr;--Cr)Lr[Cr]=Rt[ur+Cr];for(Cr=Br-1;0<=Cr;--Cr)mr[It+Cr]=Lr[Cr];hs(Pe,at,Ct,Ae,Ar,Ae,J)}else hs(Pe,at,Ct,It,Rt,Ae,J)}J=jt,Ae=ht}Ae!=ht&&De(jt,ht,J,Ae,Tr)}function Sr(me,Me){var ht=me.V,jt=me.Ba+me.c*me.C,dr=Me-me.C;if(we(Me<=me.l.o),we(16>=dr),0<dr){var Tr=me.l,Ee=me.Ta,J=me.Ua,Ae=Tr.width;if(Vt(me,dr,ht,jt),dr=J=[J],we((ht=me.C)<(jt=Me)),we(Tr.v<Tr.va),jt>Tr.o&&(jt=Tr.o),ht<Tr.j){var Pe=Tr.j-ht;ht=Tr.j,dr[0]+=Pe*Ae}if(ht>=jt?ht=0:(dr[0]+=4*Tr.v,Tr.ka=ht-Tr.j,Tr.U=Tr.va-Tr.v,Tr.T=jt-ht,ht=1),ht){if(J=J[0],11>(ht=me.ca).S){var at=ht.f.RGBA,Ct=(jt=ht.S,dr=Tr.U,Tr=Tr.T,Pe=at.eb,at.A),It=Tr;for(at=at.fb+me.Ma*at.A;0<It--;){var Rt=Ee,Ar=J,Lr=dr,mr=Pe,ur=at;switch(jt){case Fl:Zs(Rt,Ar,Lr,mr,ur);break;case oc:As(Rt,Ar,Lr,mr,ur);break;case Tc:As(Rt,Ar,Lr,mr,ur),xl(mr,ur,0,Lr,1,0);break;case sc:Ds(Rt,Ar,Lr,mr,ur);break;case Ql:wn(Rt,Ar,Lr,mr,ur,1);break;case vl:wn(Rt,Ar,Lr,mr,ur,1),xl(mr,ur,0,Lr,1,0);break;case Vs:wn(Rt,Ar,Lr,mr,ur,0);break;case Ll:wn(Rt,Ar,Lr,mr,ur,0),xl(mr,ur,1,Lr,1,0);break;case lc:Fs(Rt,Ar,Lr,mr,ur);break;case Kl:Fs(Rt,Ar,Lr,mr,ur),kl(mr,ur,Lr,1,0);break;case cc:Us(Rt,Ar,Lr,mr,ur);break;default:we(0)}J+=Ae,at+=Ct}me.Ma+=Tr}else alert("todo:EmitRescaledRowsYUVA");we(me.Ma<=ht.height)}}me.C=Me,we(me.C<=me.i)}function Zt(me){var Me;if(0<me.ua)return 0;for(Me=0;Me<me.Wb;++Me){var ht=me.Ya[Me].G,jt=me.Ya[Me].H;if(0<ht[1][jt[1]+0].g||0<ht[2][jt[2]+0].g||0<ht[3][jt[3]+0].g)return 0}return 1}function Ur(me,Me,ht,jt,dr,Tr){if(me.Z!=0){var Ee=me.qd,J=me.rd;for(we(bl[me.Z]!=null);Me<ht;++Me)bl[me.Z](Ee,J,jt,dr,jt,dr,Tr),Ee=jt,J=dr,dr+=Tr;me.qd=Ee,me.rd=J}}function Hr(me,Me){var ht=me.l.ma,jt=ht.Z==0||ht.Z==1?me.l.j:me.C;if(jt=me.C<jt?jt:me.C,we(Me<=me.l.o),Me>jt){var dr=me.l.width,Tr=ht.ca,Ee=ht.tb+dr*jt,J=me.V,Ae=me.Ba+me.c*jt,Pe=me.gc;we(me.ab==1),we(Pe[0].hc==3),sl(Pe[0],jt,Me,J,Ae,Tr,Ee),Ur(ht,jt,Me,Tr,Ee,dr)}me.C=me.Ma=Me}function pn(me,Me,ht,jt,dr,Tr,Ee){var J=me.$/jt,Ae=me.$%jt,Pe=me.m,at=me.s,Ct=ht+me.$,It=Ct;dr=ht+jt*dr;var Rt=ht+jt*Tr,Ar=280+at.ua,Lr=me.Pb?J:16777216,mr=0<at.ua?at.Wa:null,ur=at.wc,Cr=Ct<Rt?_r(at,Ae,J):null;we(me.C<Tr),we(Rt<=dr);var Br=!1;e:for(;;){for(;Br||Ct<Rt;){var an=0;if(J>=Lr){var jn=Ct-ht;we((Lr=me).Pb),Lr.wd=Lr.m,Lr.xd=jn,0<Lr.s.ua&&ln(Lr.s.Wa,Lr.s.vb),Lr=J+$l}if(Ae&ur||(Cr=_r(at,Ae,J)),we(Cr!=null),Cr.Qb&&(Me[Ct]=Cr.qb,Br=!0),!Br)if($n(Pe),Cr.jc){an=Pe,jn=Me;var Vn=Ct,Ei=Cr.pd[bn(an)&So-1];we(Cr.jc),256>Ei.g?(Xn(an,an.u+Ei.g),jn[Vn]=Ei.value,an=0):(Xn(an,an.u+Ei.g-256),we(256<=Ei.value),an=Ei.value),an==0&&(Br=!0)}else an=Mr(Cr.G[0],Cr.H[0],Pe);if(Pe.h)break;if(Br||256>an){if(!Br)if(Cr.nd)Me[Ct]=(Cr.qb|an<<8)>>>0;else{if($n(Pe),Br=Mr(Cr.G[1],Cr.H[1],Pe),$n(Pe),jn=Mr(Cr.G[2],Cr.H[2],Pe),Vn=Mr(Cr.G[3],Cr.H[3],Pe),Pe.h)break;Me[Ct]=(Vn<<24|Br<<16|an<<8|jn)>>>0}if(Br=!1,++Ct,++Ae>=jt&&(Ae=0,++J,Ee!=null&&J<=Tr&&!(J%16)&&Ee(me,J),mr!=null))for(;It<Ct;)an=Me[It++],mr.X[(506832829*an&4294967295)>>>mr.Mb]=an}else if(280>an){if(an=zi(an-256,Pe),jn=Mr(Cr.G[4],Cr.H[4],Pe),$n(Pe),jn=yr(jt,jn=zi(jn,Pe)),Pe.h)break;if(Ct-ht<jn||dr-Ct<an)break e;for(Vn=0;Vn<an;++Vn)Me[Ct+Vn]=Me[Ct+Vn-jn];for(Ct+=an,Ae+=an;Ae>=jt;)Ae-=jt,++J,Ee!=null&&J<=Tr&&!(J%16)&&Ee(me,J);if(we(Ct<=dr),Ae&ur&&(Cr=_r(at,Ae,J)),mr!=null)for(;It<Ct;)an=Me[It++],mr.X[(506832829*an&4294967295)>>>mr.Mb]=an}else{if(!(an<Ar))break e;for(Br=an-280,we(mr!=null);It<Ct;)an=Me[It++],mr.X[(506832829*an&4294967295)>>>mr.Mb]=an;an=Ct,we(!(Br>>>(jn=mr).Xa)),Me[an]=jn.X[Br],Br=!0}Br||we(Pe.h==Mn(Pe))}if(me.Pb&&Pe.h&&Ct<dr)we(me.m.h),me.a=5,me.m=me.wd,me.$=me.xd,0<me.s.ua&&ln(me.s.vb,me.s.Wa);else{if(Pe.h)break e;Ee!=null&&Ee(me,J>Tr?Tr:J),me.a=0,me.$=Ct-ht}return 1}return me.a=3,0}function sn(me){we(me!=null),me.vc=null,me.yc=null,me.Ya=null;var Me=me.Wa;Me!=null&&(Me.X=null),me.vb=null,we(me!=null)}function yn(){var me=new Gs;return me==null?null:(me.a=0,me.xb=ec,In("Predictor","VP8LPredictors"),In("Predictor","VP8LPredictors_C"),In("PredictorAdd","VP8LPredictorsAdd"),In("PredictorAdd","VP8LPredictorsAdd_C"),Qo=lr,ls=Dr,Zs=on,As=En,Fs=vn,Us=Dn,Ds=Un,Bn.VP8LMapColor32b=Al,Bn.VP8LMapColor8b=fs,me)}function Fn(me,Me,ht,jt,dr){var Tr=1,Ee=[me],J=[Me],Ae=jt.m,Pe=jt.s,at=null,Ct=0;e:for(;;){if(ht)for(;Tr&&Mi(Ae,1);){var It=Ee,Rt=J,Ar=jt,Lr=1,mr=Ar.m,ur=Ar.gc[Ar.ab],Cr=Mi(mr,2);if(Ar.Oc&1<<Cr)Tr=0;else{switch(Ar.Oc|=1<<Cr,ur.hc=Cr,ur.Ea=It[0],ur.nc=Rt[0],ur.K=[null],++Ar.ab,we(4>=Ar.ab),Cr){case 0:case 1:ur.b=Mi(mr,3)+2,Lr=Fn(Fi(ur.Ea,ur.b),Fi(ur.nc,ur.b),0,Ar,ur.K),ur.K=ur.K[0];break;case 3:var Br,an=Mi(mr,8)+1,jn=16<an?0:4<an?1:2<an?2:3;if(It[0]=Fi(ur.Ea,jn),ur.b=jn,Br=Lr=Fn(an,1,0,Ar,ur.K)){var Vn,Ei=an,di=ur,ua=1<<(8>>di.b),ji=Fe(ua);if(ji==null)Br=0;else{var Ta=di.K[0],ha=di.w;for(ji[0]=di.K[0][0],Vn=1;Vn<1*Ei;++Vn)ji[Vn]=ea(Ta[ha+Vn],ji[Vn-1]);for(;Vn<4*ua;++Vn)ji[Vn]=0;di.K[0]=null,di.K[0]=ji,Br=1}}Lr=Br;break;case 2:break;default:we(0)}Tr=Lr}}if(Ee=Ee[0],J=J[0],Tr&&Mi(Ae,1)&&!(Tr=1<=(Ct=Mi(Ae,4))&&11>=Ct)){jt.a=3;break e}var Za;if(Za=Tr)t:{var po,N,F,Q=jt,$=Ee,oe=J,Oe=Ct,ft=ht,_t=Q.m,Yt=Q.s,er=[null],en=1,hn=0,Rn=uc[Oe];r:for(;;){if(ft&&Mi(_t,1)){var kn=Mi(_t,3)+2,Ai=Fi($,kn),Ki=Fi(oe,kn),Qi=Ai*Ki;if(!Fn(Ai,Ki,0,Q,er))break r;for(er=er[0],Yt.xc=kn,po=0;po<Qi;++po){var Gi=er[po]>>8&65535;er[po]=Gi,Gi>=en&&(en=Gi+1)}}if(_t.h)break r;for(N=0;5>N;++N){var Vi=jc[N];!N&&0<Oe&&(Vi+=1<<Oe),hn<Vi&&(hn=Vi)}var fa=Je(en*Rn,xn),ba=en,qa=Je(ba,ui);if(qa==null)var ka=null;else we(65536>=ba),ka=qa;var Eo=Fe(hn);if(ka==null||Eo==null||fa==null){Q.a=1;break r}var Wo=fa;for(po=F=0;po<en;++po){var cs=ka[po],$o=cs.G,Ms=cs.H,Qs=0,Cs=1,Js=0;for(N=0;5>N;++N){Vi=jc[N],$o[N]=Wo,Ms[N]=F,!N&&0<Oe&&(Vi+=1<<Oe);i:{var Bs,aa=Vi,os=Q,rs=Eo,vs=Wo,vc=F,No=0,vo=os.m,ml=Mi(vo,1);if(We(rs,0,0,aa),ml){var Xs=Mi(vo,1)+1,yc=Mi(vo,1),Rl=Mi(vo,yc==0?1:8);rs[Rl]=1,Xs==2&&(rs[Rl=Mi(vo,8)]=1);var gl=1}else{var Gl=Fe(19),rl=Mi(vo,4)+4;if(19<rl){os.a=3;var Dl=0;break i}for(Bs=0;Bs<rl;++Bs)Gl[yl[Bs]]=Mi(vo,3);var Mc=void 0,Qc=void 0,Au=os,vu=Gl,tu=aa,yu=rs,su=0,bc=Au.m,hu=8,bu=Je(128,xn);n:for(;Vr(bu,0,7,vu,19);){if(Mi(bc,1)){var Cu=2+2*Mi(bc,3);if((Mc=2+Mi(bc,Cu))>tu)break n}else Mc=tu;for(Qc=0;Qc<tu&&Mc--;){$n(bc);var wu=bu[0+(127&bn(bc))];Xn(bc,bc.u+wu.g);var rc=wu.value;if(16>rc)yu[Qc++]=rc,rc!=0&&(hu=rc);else{var Ml=rc==16,fu=rc-16,lu=El[fu],Su=Mi(bc,Jl[fu])+lu;if(Qc+Su>tu)break n;for(var Tu=Ml?hu:0;0<Su--;)yu[Qc++]=Tu}}su=1;break n}su||(Au.a=3),gl=su}(gl=gl&&!vo.h)&&(No=Vr(vs,vc,8,rs,aa)),gl&&No!=0?Dl=No:(os.a=3,Dl=0)}if(Dl==0)break r;if(Cs&&Hc[N]==1&&(Cs=Wo[F].g==0),Qs+=Wo[F].g,F+=Dl,3>=N){var Bc,wc=Eo[0];for(Bc=1;Bc<Vi;++Bc)Eo[Bc]>wc&&(wc=Eo[Bc]);Js+=wc}}if(cs.nd=Cs,cs.Qb=0,Cs&&(cs.qb=($o[3][Ms[3]+0].value<<24|$o[1][Ms[1]+0].value<<16|$o[2][Ms[2]+0].value)>>>0,Qs==0&&256>$o[0][Ms[0]+0].value&&(cs.Qb=1,cs.qb+=$o[0][Ms[0]+0].value<<8)),cs.jc=!cs.Qb&&6>Js,cs.jc){var Pc,nc=cs;for(Pc=0;Pc<So;++Pc){var _l=Pc,Sc=nc.pd[_l],cu=nc.G[0][nc.H[0]+_l];256<=cu.value?(Sc.g=cu.g+256,Sc.value=cu.value):(Sc.g=0,Sc.value=0,_l>>=Qr(cu,8,Sc),_l>>=Qr(nc.G[1][nc.H[1]+_l],16,Sc),_l>>=Qr(nc.G[2][nc.H[2]+_l],0,Sc),Qr(nc.G[3][nc.H[3]+_l],24,Sc))}}}Yt.vc=er,Yt.Wb=en,Yt.Ya=ka,Yt.yc=fa,Za=1;break t}Za=0}if(!(Tr=Za)){jt.a=3;break e}if(0<Ct){if(Pe.ua=1<<Ct,!pi(Pe.Wa,Ct)){jt.a=1,Tr=0;break e}}else Pe.ua=0;var uu=jt,xu=Ee,Eu=J,pu=uu.s,mu=pu.xc;if(uu.c=xu,uu.i=Eu,pu.md=Fi(xu,mu),pu.wc=mu==0?-1:(1<<mu)-1,ht){jt.xb=ql;break e}if((at=Fe(Ee*J))==null){jt.a=1,Tr=0;break e}Tr=(Tr=pn(jt,at,0,Ee,J,J,null))&&!Ae.h;break e}return Tr?(dr!=null?dr[0]=at:(we(at==null),we(ht)),jt.$=0,ht||sn(Pe)):sn(Pe),Tr}function Gn(me,Me){var ht=me.c*me.i,jt=ht+Me+16*Me;return we(me.c<=Me),me.V=Fe(jt),me.V==null?(me.Ta=null,me.Ua=0,me.a=1,0):(me.Ta=me.V,me.Ua=me.Ba+ht+Me,1)}function Jn(me,Me){var ht=me.C,jt=Me-ht,dr=me.V,Tr=me.Ba+me.c*ht;for(we(Me<=me.l.o);0<jt;){var Ee=16<jt?16:jt,J=me.l.ma,Ae=me.l.width,Pe=Ae*Ee,at=J.ca,Ct=J.tb+Ae*ht,It=me.Ta,Rt=me.Ua;Vt(me,Ee,dr,Tr),Il(It,Rt,at,Ct,Pe),Ur(J,ht,ht+Ee,at,Ct,Ae),jt-=Ee,dr+=Ee*me.c,ht+=Ee}we(ht==Me),me.C=me.Ma=Me}function Ci(){this.ub=this.yd=this.td=this.Rb=0}function ta(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function oa(){this.Fb=this.Bb=this.Cb=0,this.Zb=Fe(4),this.Lb=Fe(4)}function da(){this.Yb=function(){var me=[];return function Me(ht,jt,dr){for(var Tr=dr[jt],Ee=0;Ee<Tr&&(ht.push(dr.length>jt+1?[]:0),!(dr.length<jt+1));Ee++)Me(ht[Ee],jt+1,dr)}(me,0,[3,11]),me}()}function ca(){this.jb=Fe(3),this.Wc=vt([4,8],da),this.Xc=vt([4,17],da)}function ma(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new Fe(4),this.od=new Fe(4)}function Ui(){this.ld=this.La=this.dd=this.tc=0}function Ni(){this.Na=this.la=0}function ra(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function qi(){this.ad=Fe(384),this.Za=0,this.Ob=Fe(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function va(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ui),this.Y=0,this.ya=Array(new qi),this.aa=0,this.l=new La}function Oa(){this.y=Fe(16),this.f=Fe(8),this.ea=Fe(8)}function Zi(){this.cb=this.a=0,this.sc="",this.m=new dn,this.Od=new Ci,this.Kc=new ta,this.ed=new ma,this.Qa=new oa,this.Ic=this.$c=this.Aa=0,this.D=new va,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=Je(8,dn),this.ia=0,this.pb=Je(4,ra),this.Pa=new ca,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Oa),this.Hd=0,this.rb=Array(new Ni),this.sb=0,this.wa=Array(new Ui),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new qi),this.L=this.aa=0,this.gd=vt([4,2],Ui),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Xi(me,Me){return 0>me?0:me>Me?Me:me}function La(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Aa(){var me=new Zi;return me!=null&&(me.a=0,me.sc="OK",me.cb=0,me.Xb=0,Ul||(Ul=Na)),me}function Ti(me,Me,ht){return me.a==0&&(me.a=Me,me.sc=ht,me.cb=0),0}function Sa(me,Me,ht){return 3<=ht&&me[Me+0]==157&&me[Me+1]==1&&me[Me+2]==42}function Ra(me,Me){if(me==null)return 0;if(me.a=0,me.sc="OK",Me==null)return Ti(me,2,"null VP8Io passed to VP8GetHeaders()");var ht=Me.data,jt=Me.w,dr=Me.ha;if(4>dr)return Ti(me,7,"Truncated header.");var Tr=ht[jt+0]|ht[jt+1]<<8|ht[jt+2]<<16,Ee=me.Od;if(Ee.Rb=!(1&Tr),Ee.td=Tr>>1&7,Ee.yd=Tr>>4&1,Ee.ub=Tr>>5,3<Ee.td)return Ti(me,3,"Incorrect keyframe parameters.");if(!Ee.yd)return Ti(me,4,"Frame not displayable.");jt+=3,dr-=3;var J=me.Kc;if(Ee.Rb){if(7>dr)return Ti(me,7,"cannot parse picture header");if(!Sa(ht,jt,dr))return Ti(me,3,"Bad code word");J.c=16383&(ht[jt+4]<<8|ht[jt+3]),J.Td=ht[jt+4]>>6,J.i=16383&(ht[jt+6]<<8|ht[jt+5]),J.Ud=ht[jt+6]>>6,jt+=7,dr-=7,me.za=J.c+15>>4,me.Ub=J.i+15>>4,Me.width=J.c,Me.height=J.i,Me.Da=0,Me.j=0,Me.v=0,Me.va=Me.width,Me.o=Me.height,Me.da=0,Me.ib=Me.width,Me.hb=Me.height,Me.U=Me.width,Me.T=Me.height,We((Tr=me.Pa).jb,0,255,Tr.jb.length),we((Tr=me.Qa)!=null),Tr.Cb=0,Tr.Bb=0,Tr.Fb=1,We(Tr.Zb,0,0,Tr.Zb.length),We(Tr.Lb,0,0,Tr.Lb)}if(Ee.ub>dr)return Ti(me,7,"bad partition length");qn(Tr=me.m,ht,jt,Ee.ub),jt+=Ee.ub,dr-=Ee.ub,Ee.Rb&&(J.Ld=fi(Tr),J.Kd=fi(Tr)),J=me.Qa;var Ae,Pe=me.Pa;if(we(Tr!=null),we(J!=null),J.Cb=fi(Tr),J.Cb){if(J.Bb=fi(Tr),fi(Tr)){for(J.Fb=fi(Tr),Ae=0;4>Ae;++Ae)J.Zb[Ae]=fi(Tr)?Qn(Tr,7):0;for(Ae=0;4>Ae;++Ae)J.Lb[Ae]=fi(Tr)?Qn(Tr,6):0}if(J.Bb)for(Ae=0;3>Ae;++Ae)Pe.jb[Ae]=fi(Tr)?wi(Tr,8):255}else J.Bb=0;if(Tr.Ka)return Ti(me,3,"cannot parse segment header");if((J=me.ed).zd=fi(Tr),J.Tb=wi(Tr,6),J.wb=wi(Tr,3),J.Pc=fi(Tr),J.Pc&&fi(Tr)){for(Pe=0;4>Pe;++Pe)fi(Tr)&&(J.vd[Pe]=Qn(Tr,6));for(Pe=0;4>Pe;++Pe)fi(Tr)&&(J.od[Pe]=Qn(Tr,6))}if(me.L=J.Tb==0?0:J.zd?1:2,Tr.Ka)return Ti(me,3,"cannot parse filter header");var at=dr;if(dr=Ae=jt,jt=Ae+at,J=at,me.Xb=(1<<wi(me.m,2))-1,at<3*(Pe=me.Xb))ht=7;else{for(Ae+=3*Pe,J-=3*Pe,at=0;at<Pe;++at){var Ct=ht[dr+0]|ht[dr+1]<<8|ht[dr+2]<<16;Ct>J&&(Ct=J),qn(me.Jc[+at],ht,Ae,Ct),Ae+=Ct,J-=Ct,dr+=3}qn(me.Jc[+Pe],ht,Ae,J),ht=Ae<jt?0:5}if(ht!=0)return Ti(me,ht,"cannot parse partitions");for(ht=wi(Ae=me.m,7),dr=fi(Ae)?Qn(Ae,4):0,jt=fi(Ae)?Qn(Ae,4):0,J=fi(Ae)?Qn(Ae,4):0,Pe=fi(Ae)?Qn(Ae,4):0,Ae=fi(Ae)?Qn(Ae,4):0,at=me.Qa,Ct=0;4>Ct;++Ct){if(at.Cb){var It=at.Zb[Ct];at.Fb||(It+=ht)}else{if(0<Ct){me.pb[Ct]=me.pb[0];continue}It=ht}var Rt=me.pb[Ct];Rt.Sc[0]=Ss[Xi(It+dr,127)],Rt.Sc[1]=dl[Xi(It+0,127)],Rt.Eb[0]=2*Ss[Xi(It+jt,127)],Rt.Eb[1]=101581*dl[Xi(It+J,127)]>>16,8>Rt.Eb[1]&&(Rt.Eb[1]=8),Rt.Qc[0]=Ss[Xi(It+Pe,117)],Rt.Qc[1]=dl[Xi(It+Ae,127)],Rt.lc=It+Ae}if(!Ee.Rb)return Ti(me,4,"Not a key frame.");for(fi(Tr),Ee=me.Pa,ht=0;4>ht;++ht){for(dr=0;8>dr;++dr)for(jt=0;3>jt;++jt)for(J=0;11>J;++J)Pe=gi(Tr,Ic[ht][dr][jt][J])?wi(Tr,8):zl[ht][dr][jt][J],Ee.Wc[ht][dr].Yb[jt][J]=Pe;for(dr=0;17>dr;++dr)Ee.Xc[ht][dr]=Ee.Wc[ht][Kc[dr]]}return me.kc=fi(Tr),me.kc&&(me.Bd=wi(Tr,8)),me.cb=1}function Na(me,Me,ht,jt,dr,Tr,Ee){var J=Me[dr].Yb[ht];for(ht=0;16>dr;++dr){if(!gi(me,J[ht+0]))return dr;for(;!gi(me,J[ht+1]);)if(J=Me[++dr].Yb[0],ht=0,dr==16)return 16;var Ae=Me[dr+1].Yb;if(gi(me,J[ht+2])){var Pe=me,at=0;if(gi(Pe,(It=J)[(Ct=ht)+3]))if(gi(Pe,It[Ct+6])){for(J=0,Ct=2*(at=gi(Pe,It[Ct+8]))+(It=gi(Pe,It[Ct+9+at])),at=0,It=_c[Ct];It[J];++J)at+=at+gi(Pe,It[J]);at+=3+(8<<Ct)}else gi(Pe,It[Ct+7])?(at=7+2*gi(Pe,165),at+=gi(Pe,145)):at=5+gi(Pe,159);else at=gi(Pe,It[Ct+4])?3+gi(Pe,It[Ct+5]):2;J=Ae[2]}else at=1,J=Ae[1];Ae=Ee+dc[dr],0>(Pe=me).b&&hi(Pe);var Ct,It=Pe.b,Rt=(Ct=Pe.Ca>>1)-(Pe.I>>It)>>31;--Pe.b,Pe.Ca+=Rt,Pe.Ca|=1,Pe.I-=(Ct+1&Rt)<<It,Tr[Ae]=((at^Rt)-Rt)*jt[(0<dr)+0]}return 16}function Ua(me){var Me=me.rb[me.sb-1];Me.la=0,Me.Na=0,We(me.zc,0,0,me.zc.length),me.ja=0}function Pa(me,Me){if(me==null)return 0;if(Me==null)return Ti(me,2,"NULL VP8Io parameter in VP8Decode().");if(!me.cb&&!Ra(me,Me))return 0;if(we(me.cb),Me.ac==null||Me.ac(Me)){Me.ob&&(me.L=0);var ht=wl[me.L];if(me.L==2?(me.yb=0,me.zb=0):(me.yb=Me.v-ht>>4,me.zb=Me.j-ht>>4,0>me.yb&&(me.yb=0),0>me.zb&&(me.zb=0)),me.Va=Me.o+15+ht>>4,me.Hb=Me.va+15+ht>>4,me.Hb>me.za&&(me.Hb=me.za),me.Va>me.Ub&&(me.Va=me.Ub),0<me.L){var jt=me.ed;for(ht=0;4>ht;++ht){var dr;if(me.Qa.Cb){var Tr=me.Qa.Lb[ht];me.Qa.Fb||(Tr+=jt.Tb)}else Tr=jt.Tb;for(dr=0;1>=dr;++dr){var Ee=me.gd[ht][dr],J=Tr;if(jt.Pc&&(J+=jt.vd[0],dr&&(J+=jt.od[0])),0<(J=0>J?0:63<J?63:J)){var Ae=J;0<jt.wb&&(Ae=4<jt.wb?Ae>>2:Ae>>1)>9-jt.wb&&(Ae=9-jt.wb),1>Ae&&(Ae=1),Ee.dd=Ae,Ee.tc=2*J+Ae,Ee.ld=40<=J?2:15<=J?1:0}else Ee.tc=0;Ee.La=dr}}}ht=0}else Ti(me,6,"Frame setup failed"),ht=me.a;if(ht=ht==0){if(ht){me.$c=0,0<me.Aa||(me.Ic=Tl);e:{ht=me.Ic,jt=4*(Ae=me.za);var Pe=32*Ae,at=Ae+1,Ct=0<me.L?Ae*(0<me.Aa?2:1):0,It=(me.Aa==2?2:1)*Ae;if((Ee=jt+832+(dr=3*(16*ht+wl[me.L])/2*Pe)+(Tr=me.Fa!=null&&0<me.Fa.length?me.Kc.c*me.Kc.i:0))!=Ee)ht=0;else{if(Ee>me.Vb){if(me.Vb=0,me.Ec=Fe(Ee),me.Fc=0,me.Ec==null){ht=Ti(me,1,"no memory during frame initialization.");break e}me.Vb=Ee}Ee=me.Ec,J=me.Fc,me.Ac=Ee,me.Bc=J,J+=jt,me.Gd=Je(Pe,Oa),me.Hd=0,me.rb=Je(at+1,Ni),me.sb=1,me.wa=Ct?Je(Ct,Ui):null,me.Y=0,me.D.Nb=0,me.D.wa=me.wa,me.D.Y=me.Y,0<me.Aa&&(me.D.Y+=Ae),we(!0),me.oc=Ee,me.pc=J,J+=832,me.ya=Je(It,qi),me.aa=0,me.D.ya=me.ya,me.D.aa=me.aa,me.Aa==2&&(me.D.aa+=Ae),me.R=16*Ae,me.B=8*Ae,Ae=(Pe=wl[me.L])*me.R,Pe=Pe/2*me.B,me.sa=Ee,me.ta=J+Ae,me.qa=me.sa,me.ra=me.ta+16*ht*me.R+Pe,me.Ha=me.qa,me.Ia=me.ra+8*ht*me.B+Pe,me.$c=0,J+=dr,me.mb=Tr?Ee:null,me.nb=Tr?J:null,we(J+Tr<=me.Fc+me.Vb),Ua(me),We(me.Ac,me.Bc,0,jt),ht=1}}if(ht){if(Me.ka=0,Me.y=me.sa,Me.O=me.ta,Me.f=me.qa,Me.N=me.ra,Me.ea=me.Ha,Me.Vd=me.Ia,Me.fa=me.R,Me.Rc=me.B,Me.F=null,Me.J=0,!ac){for(ht=-255;255>=ht;++ht)Ol[255+ht]=0>ht?-ht:ht;for(ht=-1020;1020>=ht;++ht)Uc[1020+ht]=-128>ht?-128:127<ht?127:ht;for(ht=-112;112>=ht;++ht)ic[112+ht]=-16>ht?-16:15<ht?15:ht;for(ht=-255;510>=ht;++ht)Cc[255+ht]=0>ht?0:255<ht?255:ht;ac=1}al=Da,$s=lo,js=Ga,Xa=Ca,ga=Qa,Ys=ia,Wa=il,oo=Ks,Jo=Ao,Hs=Fo,bs=Ps,ws=no,Uo=ns,_o=ys,Zo=mo,xo=es,Ws=Ko,Sl=ko,fl[0]=jo,fl[1]=yo,fl[2]=Ma,fl[3]=Ro,fl[4]=Vo,fl[5]=wo,fl[6]=Xo,fl[7]=_a,fl[8]=ds,fl[9]=Po,hl[0]=eo,hl[1]=bo,hl[2]=co,hl[3]=uo,hl[4]=wa,hl[5]=ro,hl[6]=fo,Cl[0]=Go,Cl[1]=ao,Cl[2]=ho,Cl[3]=Oo,Cl[4]=Ts,Cl[5]=nl,Cl[6]=Is,ht=1}else ht=0}ht&&(ht=function(Rt,Ar){for(Rt.M=0;Rt.M<Rt.Va;++Rt.M){var Lr,mr=Rt.Jc[Rt.M&Rt.Xb],ur=Rt.m,Cr=Rt;for(Lr=0;Lr<Cr.za;++Lr){var Br=ur,an=Cr,jn=an.Ac,Vn=an.Bc+4*Lr,Ei=an.zc,di=an.ya[an.aa+Lr];if(an.Qa.Bb?di.$b=gi(Br,an.Pa.jb[0])?2+gi(Br,an.Pa.jb[2]):gi(Br,an.Pa.jb[1]):di.$b=0,an.kc&&(di.Ad=gi(Br,an.Bd)),di.Za=!gi(Br,145)+0,di.Za){var ua=di.Ob,ji=0;for(an=0;4>an;++an){var Ta,ha=Ei[0+an];for(Ta=0;4>Ta;++Ta){ha=hc[jn[Vn+Ta]][ha];for(var Za=Wl[gi(Br,ha[0])];0<Za;)Za=Wl[2*Za+gi(Br,ha[Za])];ha=-Za,jn[Vn+Ta]=ha}De(ua,ji,jn,Vn,4),ji+=4,Ei[0+an]=ha}}else ha=gi(Br,156)?gi(Br,128)?1:3:gi(Br,163)?2:0,di.Ob[0]=ha,We(jn,Vn,ha,4),We(Ei,0,ha,4);di.Dd=gi(Br,142)?gi(Br,114)?gi(Br,183)?1:3:2:0}if(Cr.m.Ka)return Ti(Rt,7,"Premature end-of-partition0 encountered.");for(;Rt.ja<Rt.za;++Rt.ja){if(Cr=mr,Br=(ur=Rt).rb[ur.sb-1],jn=ur.rb[ur.sb+ur.ja],Lr=ur.ya[ur.aa+ur.ja],Vn=ur.kc?Lr.Ad:0)Br.la=jn.la=0,Lr.Za||(Br.Na=jn.Na=0),Lr.Hc=0,Lr.Gc=0,Lr.ia=0;else{var po,N;if(Br=jn,jn=Cr,Vn=ur.Pa.Xc,Ei=ur.ya[ur.aa+ur.ja],di=ur.pb[Ei.$b],an=Ei.ad,ua=0,ji=ur.rb[ur.sb-1],ha=Ta=0,We(an,ua,0,384),Ei.Za)var F=0,Q=Vn[3];else{Za=Fe(16);var $=Br.Na+ji.Na;if($=Ul(jn,Vn[1],$,di.Eb,0,Za,0),Br.Na=ji.Na=(0<$)+0,1<$)al(Za,0,an,ua);else{var oe=Za[0]+3>>3;for(Za=0;256>Za;Za+=16)an[ua+Za]=oe}F=1,Q=Vn[0]}var Oe=15&Br.la,ft=15&ji.la;for(Za=0;4>Za;++Za){var _t=1&ft;for(oe=N=0;4>oe;++oe)Oe=Oe>>1|(_t=($=Ul(jn,Q,$=_t+(1&Oe),di.Sc,F,an,ua))>F)<<7,N=N<<2|(3<$?3:1<$?2:an[ua+0]!=0),ua+=16;Oe>>=4,ft=ft>>1|_t<<7,Ta=(Ta<<8|N)>>>0}for(Q=Oe,F=ft>>4,po=0;4>po;po+=2){for(N=0,Oe=Br.la>>4+po,ft=ji.la>>4+po,Za=0;2>Za;++Za){for(_t=1&ft,oe=0;2>oe;++oe)$=_t+(1&Oe),Oe=Oe>>1|(_t=0<($=Ul(jn,Vn[2],$,di.Qc,0,an,ua)))<<3,N=N<<2|(3<$?3:1<$?2:an[ua+0]!=0),ua+=16;Oe>>=2,ft=ft>>1|_t<<5}ha|=N<<4*po,Q|=Oe<<4<<po,F|=(240&ft)<<po}Br.la=Q,ji.la=F,Ei.Hc=Ta,Ei.Gc=ha,Ei.ia=43690&ha?0:di.ia,Vn=!(Ta|ha)}if(0<ur.L&&(ur.wa[ur.Y+ur.ja]=ur.gd[Lr.$b][Lr.Za],ur.wa[ur.Y+ur.ja].La|=!Vn),Cr.Ka)return Ti(Rt,7,"Premature end-of-file encountered.")}if(Ua(Rt),ur=Ar,Cr=1,Lr=(mr=Rt).D,Br=0<mr.L&&mr.M>=mr.zb&&mr.M<=mr.Va,mr.Aa==0)e:{if(Lr.M=mr.M,Lr.uc=Br,to(mr,Lr),Cr=1,Lr=(N=mr.D).Nb,Br=(ha=wl[mr.L])*mr.R,jn=ha/2*mr.B,Za=16*Lr*mr.R,oe=8*Lr*mr.B,Vn=mr.sa,Ei=mr.ta-Br+Za,di=mr.qa,an=mr.ra-jn+oe,ua=mr.Ha,ji=mr.Ia-jn+oe,ft=(Oe=N.M)==0,Ta=Oe>=mr.Va-1,mr.Aa==2&&to(mr,N),N.uc)for(_t=($=mr).D.M,we($.D.uc),N=$.yb;N<$.Hb;++N){F=N,Q=_t;var Yt=(er=(Vi=$).D).Nb;po=Vi.R;var er=er.wa[er.Y+F],en=Vi.sa,hn=Vi.ta+16*Yt*po+16*F,Rn=er.dd,kn=er.tc;if(kn!=0)if(we(3<=kn),Vi.L==1)0<F&&xo(en,hn,po,kn+4),er.La&&Sl(en,hn,po,kn),0<Q&&Zo(en,hn,po,kn+4),er.La&&Ws(en,hn,po,kn);else{var Ai=Vi.B,Ki=Vi.qa,Qi=Vi.ra+8*Yt*Ai+8*F,Gi=Vi.Ha,Vi=Vi.Ia+8*Yt*Ai+8*F;Yt=er.ld,0<F&&(oo(en,hn,po,kn+4,Rn,Yt),Hs(Ki,Qi,Gi,Vi,Ai,kn+4,Rn,Yt)),er.La&&(ws(en,hn,po,kn,Rn,Yt),_o(Ki,Qi,Gi,Vi,Ai,kn,Rn,Yt)),0<Q&&(Wa(en,hn,po,kn+4,Rn,Yt),Jo(Ki,Qi,Gi,Vi,Ai,kn+4,Rn,Yt)),er.La&&(bs(en,hn,po,kn,Rn,Yt),Uo(Ki,Qi,Gi,Vi,Ai,kn,Rn,Yt))}}if(mr.ia&&alert("todo:DitherRow"),ur.put!=null){if(N=16*Oe,Oe=16*(Oe+1),ft?(ur.y=mr.sa,ur.O=mr.ta+Za,ur.f=mr.qa,ur.N=mr.ra+oe,ur.ea=mr.Ha,ur.W=mr.Ia+oe):(N-=ha,ur.y=Vn,ur.O=Ei,ur.f=di,ur.N=an,ur.ea=ua,ur.W=ji),Ta||(Oe-=ha),Oe>ur.o&&(Oe=ur.o),ur.F=null,ur.J=null,mr.Fa!=null&&0<mr.Fa.length&&N<Oe&&(ur.J=Dt(mr,ur,N,Oe-N),ur.F=mr.mb,ur.F==null&&ur.F.length==0)){Cr=Ti(mr,3,"Could not decode alpha data.");break e}N<ur.j&&(ha=ur.j-N,N=ur.j,we(!(1&ha)),ur.O+=mr.R*ha,ur.N+=mr.B*(ha>>1),ur.W+=mr.B*(ha>>1),ur.F!=null&&(ur.J+=ur.width*ha)),N<Oe&&(ur.O+=ur.v,ur.N+=ur.v>>1,ur.W+=ur.v>>1,ur.F!=null&&(ur.J+=ur.v),ur.ka=N-ur.j,ur.U=ur.va-ur.v,ur.T=Oe-N,Cr=ur.put(ur))}Lr+1!=mr.Ic||Ta||(De(mr.sa,mr.ta-Br,Vn,Ei+16*mr.R,Br),De(mr.qa,mr.ra-jn,di,an+8*mr.B,jn),De(mr.Ha,mr.Ia-jn,ua,ji+8*mr.B,jn))}if(!Cr)return Ti(Rt,6,"Output aborted.")}return 1}(me,Me)),Me.bc!=null&&Me.bc(Me),ht&=1}return ht?(me.cb=0,ht):0}function za(me,Me,ht,jt,dr){dr=me[Me+ht+32*jt]+(dr>>3),me[Me+ht+32*jt]=-256&dr?0>dr?0:255:dr}function xa(me,Me,ht,jt,dr,Tr){za(me,Me,0,ht,jt+dr),za(me,Me,1,ht,jt+Tr),za(me,Me,2,ht,jt-Tr),za(me,Me,3,ht,jt-dr)}function ja(me){return(20091*me>>16)+me}function io(me,Me,ht,jt){var dr,Tr=0,Ee=Fe(16);for(dr=0;4>dr;++dr){var J=me[Me+0]+me[Me+8],Ae=me[Me+0]-me[Me+8],Pe=(35468*me[Me+4]>>16)-ja(me[Me+12]),at=ja(me[Me+4])+(35468*me[Me+12]>>16);Ee[Tr+0]=J+at,Ee[Tr+1]=Ae+Pe,Ee[Tr+2]=Ae-Pe,Ee[Tr+3]=J-at,Tr+=4,Me++}for(dr=Tr=0;4>dr;++dr)J=(me=Ee[Tr+0]+4)+Ee[Tr+8],Ae=me-Ee[Tr+8],Pe=(35468*Ee[Tr+4]>>16)-ja(Ee[Tr+12]),za(ht,jt,0,0,J+(at=ja(Ee[Tr+4])+(35468*Ee[Tr+12]>>16))),za(ht,jt,1,0,Ae+Pe),za(ht,jt,2,0,Ae-Pe),za(ht,jt,3,0,J-at),Tr++,jt+=32}function ia(me,Me,ht,jt){var dr=me[Me+0]+4,Tr=35468*me[Me+4]>>16,Ee=ja(me[Me+4]),J=35468*me[Me+1]>>16;xa(ht,jt,0,dr+Ee,me=ja(me[Me+1]),J),xa(ht,jt,1,dr+Tr,me,J),xa(ht,jt,2,dr-Tr,me,J),xa(ht,jt,3,dr-Ee,me,J)}function lo(me,Me,ht,jt,dr){io(me,Me,ht,jt),dr&&io(me,Me+16,ht,jt+4)}function Ga(me,Me,ht,jt){$s(me,Me+0,ht,jt,1),$s(me,Me+32,ht,jt+128,1)}function Ca(me,Me,ht,jt){var dr;for(me=me[Me+0]+4,dr=0;4>dr;++dr)for(Me=0;4>Me;++Me)za(ht,jt,Me,dr,me)}function Qa(me,Me,ht,jt){me[Me+0]&&Xa(me,Me+0,ht,jt),me[Me+16]&&Xa(me,Me+16,ht,jt+4),me[Me+32]&&Xa(me,Me+32,ht,jt+128),me[Me+48]&&Xa(me,Me+48,ht,jt+128+4)}function Da(me,Me,ht,jt){var dr,Tr=Fe(16);for(dr=0;4>dr;++dr){var Ee=me[Me+0+dr]+me[Me+12+dr],J=me[Me+4+dr]+me[Me+8+dr],Ae=me[Me+4+dr]-me[Me+8+dr],Pe=me[Me+0+dr]-me[Me+12+dr];Tr[0+dr]=Ee+J,Tr[8+dr]=Ee-J,Tr[4+dr]=Pe+Ae,Tr[12+dr]=Pe-Ae}for(dr=0;4>dr;++dr)Ee=(me=Tr[0+4*dr]+3)+Tr[3+4*dr],J=Tr[1+4*dr]+Tr[2+4*dr],Ae=Tr[1+4*dr]-Tr[2+4*dr],Pe=me-Tr[3+4*dr],ht[jt+0]=Ee+J>>3,ht[jt+16]=Pe+Ae>>3,ht[jt+32]=Ee-J>>3,ht[jt+48]=Pe-Ae>>3,jt+=64}function Ia(me,Me,ht){var jt,dr=Me-32,Tr=tl,Ee=255-me[dr-1];for(jt=0;jt<ht;++jt){var J,Ae=Tr,Pe=Ee+me[Me-1];for(J=0;J<ht;++J)me[Me+J]=Ae[Pe+me[dr+J]];Me+=32}}function yo(me,Me){Ia(me,Me,4)}function ao(me,Me){Ia(me,Me,8)}function bo(me,Me){Ia(me,Me,16)}function co(me,Me){var ht;for(ht=0;16>ht;++ht)De(me,Me+32*ht,me,Me-32,16)}function uo(me,Me){var ht;for(ht=16;0<ht;--ht)We(me,Me,me[Me-1],16),Me+=32}function Ya(me,Me,ht){var jt;for(jt=0;16>jt;++jt)We(Me,ht+32*jt,me,16)}function eo(me,Me){var ht,jt=16;for(ht=0;16>ht;++ht)jt+=me[Me-1+32*ht]+me[Me+ht-32];Ya(jt>>5,me,Me)}function wa(me,Me){var ht,jt=8;for(ht=0;16>ht;++ht)jt+=me[Me-1+32*ht];Ya(jt>>4,me,Me)}function ro(me,Me){var ht,jt=8;for(ht=0;16>ht;++ht)jt+=me[Me+ht-32];Ya(jt>>4,me,Me)}function fo(me,Me){Ya(128,me,Me)}function ki(me,Me,ht){return me+2*Me+ht+2>>2}function Ma(me,Me){var ht,jt=Me-32;for(jt=new Uint8Array([ki(me[jt-1],me[jt+0],me[jt+1]),ki(me[jt+0],me[jt+1],me[jt+2]),ki(me[jt+1],me[jt+2],me[jt+3]),ki(me[jt+2],me[jt+3],me[jt+4])]),ht=0;4>ht;++ht)De(me,Me+32*ht,jt,0,jt.length)}function Ro(me,Me){var ht=me[Me-1],jt=me[Me-1+32],dr=me[Me-1+64],Tr=me[Me-1+96];Wi(me,Me+0,16843009*ki(me[Me-1-32],ht,jt)),Wi(me,Me+32,16843009*ki(ht,jt,dr)),Wi(me,Me+64,16843009*ki(jt,dr,Tr)),Wi(me,Me+96,16843009*ki(dr,Tr,Tr))}function jo(me,Me){var ht,jt=4;for(ht=0;4>ht;++ht)jt+=me[Me+ht-32]+me[Me-1+32*ht];for(jt>>=3,ht=0;4>ht;++ht)We(me,Me+32*ht,jt,4)}function Vo(me,Me){var ht=me[Me-1+0],jt=me[Me-1+32],dr=me[Me-1+64],Tr=me[Me-1-32],Ee=me[Me+0-32],J=me[Me+1-32],Ae=me[Me+2-32],Pe=me[Me+3-32];me[Me+0+96]=ki(jt,dr,me[Me-1+96]),me[Me+1+96]=me[Me+0+64]=ki(ht,jt,dr),me[Me+2+96]=me[Me+1+64]=me[Me+0+32]=ki(Tr,ht,jt),me[Me+3+96]=me[Me+2+64]=me[Me+1+32]=me[Me+0+0]=ki(Ee,Tr,ht),me[Me+3+64]=me[Me+2+32]=me[Me+1+0]=ki(J,Ee,Tr),me[Me+3+32]=me[Me+2+0]=ki(Ae,J,Ee),me[Me+3+0]=ki(Pe,Ae,J)}function Xo(me,Me){var ht=me[Me+1-32],jt=me[Me+2-32],dr=me[Me+3-32],Tr=me[Me+4-32],Ee=me[Me+5-32],J=me[Me+6-32],Ae=me[Me+7-32];me[Me+0+0]=ki(me[Me+0-32],ht,jt),me[Me+1+0]=me[Me+0+32]=ki(ht,jt,dr),me[Me+2+0]=me[Me+1+32]=me[Me+0+64]=ki(jt,dr,Tr),me[Me+3+0]=me[Me+2+32]=me[Me+1+64]=me[Me+0+96]=ki(dr,Tr,Ee),me[Me+3+32]=me[Me+2+64]=me[Me+1+96]=ki(Tr,Ee,J),me[Me+3+64]=me[Me+2+96]=ki(Ee,J,Ae),me[Me+3+96]=ki(J,Ae,Ae)}function wo(me,Me){var ht=me[Me-1+0],jt=me[Me-1+32],dr=me[Me-1+64],Tr=me[Me-1-32],Ee=me[Me+0-32],J=me[Me+1-32],Ae=me[Me+2-32],Pe=me[Me+3-32];me[Me+0+0]=me[Me+1+64]=Tr+Ee+1>>1,me[Me+1+0]=me[Me+2+64]=Ee+J+1>>1,me[Me+2+0]=me[Me+3+64]=J+Ae+1>>1,me[Me+3+0]=Ae+Pe+1>>1,me[Me+0+96]=ki(dr,jt,ht),me[Me+0+64]=ki(jt,ht,Tr),me[Me+0+32]=me[Me+1+96]=ki(ht,Tr,Ee),me[Me+1+32]=me[Me+2+96]=ki(Tr,Ee,J),me[Me+2+32]=me[Me+3+96]=ki(Ee,J,Ae),me[Me+3+32]=ki(J,Ae,Pe)}function _a(me,Me){var ht=me[Me+0-32],jt=me[Me+1-32],dr=me[Me+2-32],Tr=me[Me+3-32],Ee=me[Me+4-32],J=me[Me+5-32],Ae=me[Me+6-32],Pe=me[Me+7-32];me[Me+0+0]=ht+jt+1>>1,me[Me+1+0]=me[Me+0+64]=jt+dr+1>>1,me[Me+2+0]=me[Me+1+64]=dr+Tr+1>>1,me[Me+3+0]=me[Me+2+64]=Tr+Ee+1>>1,me[Me+0+32]=ki(ht,jt,dr),me[Me+1+32]=me[Me+0+96]=ki(jt,dr,Tr),me[Me+2+32]=me[Me+1+96]=ki(dr,Tr,Ee),me[Me+3+32]=me[Me+2+96]=ki(Tr,Ee,J),me[Me+3+64]=ki(Ee,J,Ae),me[Me+3+96]=ki(J,Ae,Pe)}function Po(me,Me){var ht=me[Me-1+0],jt=me[Me-1+32],dr=me[Me-1+64],Tr=me[Me-1+96];me[Me+0+0]=ht+jt+1>>1,me[Me+2+0]=me[Me+0+32]=jt+dr+1>>1,me[Me+2+32]=me[Me+0+64]=dr+Tr+1>>1,me[Me+1+0]=ki(ht,jt,dr),me[Me+3+0]=me[Me+1+32]=ki(jt,dr,Tr),me[Me+3+32]=me[Me+1+64]=ki(dr,Tr,Tr),me[Me+3+64]=me[Me+2+64]=me[Me+0+96]=me[Me+1+96]=me[Me+2+96]=me[Me+3+96]=Tr}function ds(me,Me){var ht=me[Me-1+0],jt=me[Me-1+32],dr=me[Me-1+64],Tr=me[Me-1+96],Ee=me[Me-1-32],J=me[Me+0-32],Ae=me[Me+1-32],Pe=me[Me+2-32];me[Me+0+0]=me[Me+2+32]=ht+Ee+1>>1,me[Me+0+32]=me[Me+2+64]=jt+ht+1>>1,me[Me+0+64]=me[Me+2+96]=dr+jt+1>>1,me[Me+0+96]=Tr+dr+1>>1,me[Me+3+0]=ki(J,Ae,Pe),me[Me+2+0]=ki(Ee,J,Ae),me[Me+1+0]=me[Me+3+32]=ki(ht,Ee,J),me[Me+1+32]=me[Me+3+64]=ki(jt,ht,Ee),me[Me+1+64]=me[Me+3+96]=ki(dr,jt,ht),me[Me+1+96]=ki(Tr,dr,jt)}function ho(me,Me){var ht;for(ht=0;8>ht;++ht)De(me,Me+32*ht,me,Me-32,8)}function Oo(me,Me){var ht;for(ht=0;8>ht;++ht)We(me,Me,me[Me-1],8),Me+=32}function Ka(me,Me,ht){var jt;for(jt=0;8>jt;++jt)We(Me,ht+32*jt,me,8)}function Go(me,Me){var ht,jt=8;for(ht=0;8>ht;++ht)jt+=me[Me+ht-32]+me[Me-1+32*ht];Ka(jt>>4,me,Me)}function nl(me,Me){var ht,jt=4;for(ht=0;8>ht;++ht)jt+=me[Me+ht-32];Ka(jt>>3,me,Me)}function Ts(me,Me){var ht,jt=4;for(ht=0;8>ht;++ht)jt+=me[Me-1+32*ht];Ka(jt>>3,me,Me)}function Is(me,Me){Ka(128,me,Me)}function xs(me,Me,ht){var jt=me[Me-ht],dr=me[Me+0],Tr=3*(dr-jt)+Hl[1020+me[Me-2*ht]-me[Me+ht]],Ee=zs[112+(Tr+4>>3)];me[Me-ht]=tl[255+jt+zs[112+(Tr+3>>3)]],me[Me+0]=tl[255+dr-Ee]}function ps(me,Me,ht,jt){var dr=me[Me+0],Tr=me[Me+ht];return ll[255+me[Me-2*ht]-me[Me-ht]]>jt||ll[255+Tr-dr]>jt}function Os(me,Me,ht,jt){return 4*ll[255+me[Me-ht]-me[Me+0]]+ll[255+me[Me-2*ht]-me[Me+ht]]<=jt}function Ho(me,Me,ht,jt,dr){var Tr=me[Me-3*ht],Ee=me[Me-2*ht],J=me[Me-ht],Ae=me[Me+0],Pe=me[Me+ht],at=me[Me+2*ht],Ct=me[Me+3*ht];return 4*ll[255+J-Ae]+ll[255+Ee-Pe]>jt?0:ll[255+me[Me-4*ht]-Tr]<=dr&&ll[255+Tr-Ee]<=dr&&ll[255+Ee-J]<=dr&&ll[255+Ct-at]<=dr&&ll[255+at-Pe]<=dr&&ll[255+Pe-Ae]<=dr}function mo(me,Me,ht,jt){var dr=2*jt+1;for(jt=0;16>jt;++jt)Os(me,Me+jt,ht,dr)&&xs(me,Me+jt,ht)}function es(me,Me,ht,jt){var dr=2*jt+1;for(jt=0;16>jt;++jt)Os(me,Me+jt*ht,1,dr)&&xs(me,Me+jt*ht,1)}function Ko(me,Me,ht,jt){var dr;for(dr=3;0<dr;--dr)mo(me,Me+=4*ht,ht,jt)}function ko(me,Me,ht,jt){var dr;for(dr=3;0<dr;--dr)es(me,Me+=4,ht,jt)}function zr(me,Me,ht,jt,dr,Tr,Ee,J){for(Tr=2*Tr+1;0<dr--;){if(Ho(me,Me,ht,Tr,Ee))if(ps(me,Me,ht,J))xs(me,Me,ht);else{var Ae=me,Pe=Me,at=ht,Ct=Ae[Pe-2*at],It=Ae[Pe-at],Rt=Ae[Pe+0],Ar=Ae[Pe+at],Lr=Ae[Pe+2*at],mr=27*(Cr=Hl[1020+3*(Rt-It)+Hl[1020+Ct-Ar]])+63>>7,ur=18*Cr+63>>7,Cr=9*Cr+63>>7;Ae[Pe-3*at]=tl[255+Ae[Pe-3*at]+Cr],Ae[Pe-2*at]=tl[255+Ct+ur],Ae[Pe-at]=tl[255+It+mr],Ae[Pe+0]=tl[255+Rt-mr],Ae[Pe+at]=tl[255+Ar-ur],Ae[Pe+2*at]=tl[255+Lr-Cr]}Me+=jt}}function Yo(me,Me,ht,jt,dr,Tr,Ee,J){for(Tr=2*Tr+1;0<dr--;){if(Ho(me,Me,ht,Tr,Ee))if(ps(me,Me,ht,J))xs(me,Me,ht);else{var Ae=me,Pe=Me,at=ht,Ct=Ae[Pe-at],It=Ae[Pe+0],Rt=Ae[Pe+at],Ar=zs[112+((Lr=3*(It-Ct))+4>>3)],Lr=zs[112+(Lr+3>>3)],mr=Ar+1>>1;Ae[Pe-2*at]=tl[255+Ae[Pe-2*at]+mr],Ae[Pe-at]=tl[255+Ct+Lr],Ae[Pe+0]=tl[255+It-Ar],Ae[Pe+at]=tl[255+Rt-mr]}Me+=jt}}function il(me,Me,ht,jt,dr,Tr){zr(me,Me,ht,1,16,jt,dr,Tr)}function Ks(me,Me,ht,jt,dr,Tr){zr(me,Me,1,ht,16,jt,dr,Tr)}function Ps(me,Me,ht,jt,dr,Tr){var Ee;for(Ee=3;0<Ee;--Ee)Yo(me,Me+=4*ht,ht,1,16,jt,dr,Tr)}function no(me,Me,ht,jt,dr,Tr){var Ee;for(Ee=3;0<Ee;--Ee)Yo(me,Me+=4,1,ht,16,jt,dr,Tr)}function Ao(me,Me,ht,jt,dr,Tr,Ee,J){zr(me,Me,dr,1,8,Tr,Ee,J),zr(ht,jt,dr,1,8,Tr,Ee,J)}function Fo(me,Me,ht,jt,dr,Tr,Ee,J){zr(me,Me,1,dr,8,Tr,Ee,J),zr(ht,jt,1,dr,8,Tr,Ee,J)}function ns(me,Me,ht,jt,dr,Tr,Ee,J){Yo(me,Me+4*dr,dr,1,8,Tr,Ee,J),Yo(ht,jt+4*dr,dr,1,8,Tr,Ee,J)}function ys(me,Me,ht,jt,dr,Tr,Ee,J){Yo(me,Me+4,1,dr,8,Tr,Ee,J),Yo(ht,jt+4,1,dr,8,Tr,Ee,J)}function ms(){this.ba=new ni,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new li,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function _s(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ol(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Ls(){this.ua=0,this.Wa=new Ii,this.vb=new Ii,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ui,this.yc=new xn}function Gs(){this.xb=this.a=0,this.l=new La,this.ca=new ni,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new Fr,this.Pb=0,this.wd=new Fr,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Ls,this.ab=0,this.gc=Je(4,ol),this.Oc=0}function ks(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new La,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function gs(me,Me,ht,jt,dr,Tr,Ee){for(me=me==null?0:me[Me+0],Me=0;Me<Ee;++Me)dr[Tr+Me]=me+ht[jt+Me]&255,me=dr[Tr+Me]}function Ns(me,Me,ht,jt,dr,Tr,Ee){var J;if(me==null)gs(null,null,ht,jt,dr,Tr,Ee);else for(J=0;J<Ee;++J)dr[Tr+J]=me[Me+J]+ht[jt+J]&255}function St(me,Me,ht,jt,dr,Tr,Ee){if(me==null)gs(null,null,ht,jt,dr,Tr,Ee);else{var J,Ae=me[Me+0],Pe=Ae,at=Ae;for(J=0;J<Ee;++J)Pe=at+(Ae=me[Me+J])-Pe,at=ht[jt+J]+(-256&Pe?0>Pe?0:255:Pe)&255,Pe=Ae,dr[Tr+J]=at}}function Dt(me,Me,ht,jt){var dr=Me.width,Tr=Me.o;if(we(me!=null&&Me!=null),0>ht||0>=jt||ht+jt>Tr)return null;if(!me.Cc){if(me.ga==null){var Ee;if(me.ga=new ks,(Ee=me.ga==null)||(Ee=Me.width*Me.o,we(me.Gb.length==0),me.Gb=Fe(Ee),me.Uc=0,me.Gb==null?Ee=0:(me.mb=me.Gb,me.nb=me.Uc,me.rc=null,Ee=1),Ee=!Ee),!Ee){Ee=me.ga;var J=me.Fa,Ae=me.P,Pe=me.qc,at=me.mb,Ct=me.nb,It=Ae+1,Rt=Pe-1,Ar=Ee.l;if(we(J!=null&&at!=null&&Me!=null),bl[0]=null,bl[1]=gs,bl[2]=Ns,bl[3]=St,Ee.ca=at,Ee.tb=Ct,Ee.c=Me.width,Ee.i=Me.height,we(0<Ee.c&&0<Ee.i),1>=Pe)Me=0;else if(Ee.$a=J[Ae+0]>>0&3,Ee.Z=J[Ae+0]>>2&3,Ee.Lc=J[Ae+0]>>4&3,Ae=J[Ae+0]>>6&3,0>Ee.$a||1<Ee.$a||4<=Ee.Z||1<Ee.Lc||Ae)Me=0;else if(Ar.put=Li,Ar.ac=mi,Ar.bc=Wn,Ar.ma=Ee,Ar.width=Me.width,Ar.height=Me.height,Ar.Da=Me.Da,Ar.v=Me.v,Ar.va=Me.va,Ar.j=Me.j,Ar.o=Me.o,Ee.$a)e:{we(Ee.$a==1),Me=yn();t:for(;;){if(Me==null){Me=0;break e}if(we(Ee!=null),Ee.mc=Me,Me.c=Ee.c,Me.i=Ee.i,Me.l=Ee.l,Me.l.ma=Ee,Me.l.width=Ee.c,Me.l.height=Ee.i,Me.a=0,Hi(Me.m,J,It,Rt),!Fn(Ee.c,Ee.i,1,Me,null))break t;if(Me.ab==1&&Me.gc[0].hc==3&&Zt(Me.s)?(Ee.ic=1,J=Me.c*Me.i,Me.Ta=null,Me.Ua=0,Me.V=Fe(J),Me.Ba=0,Me.V==null?(Me.a=1,Me=0):Me=1):(Ee.ic=0,Me=Gn(Me,Ee.c)),!Me)break t;Me=1;break e}Ee.mc=null,Me=0}else Me=Rt>=Ee.c*Ee.i;Ee=!Me}if(Ee)return null;me.ga.Lc!=1?me.Ga=0:jt=Tr-ht}we(me.ga!=null),we(ht+jt<=Tr);e:{if(Me=(J=me.ga).c,Tr=J.l.o,J.$a==0){if(It=me.rc,Rt=me.Vc,Ar=me.Fa,Ae=me.P+1+ht*Me,Pe=me.mb,at=me.nb+ht*Me,we(Ae<=me.P+me.qc),J.Z!=0)for(we(bl[J.Z]!=null),Ee=0;Ee<jt;++Ee)bl[J.Z](It,Rt,Ar,Ae,Pe,at,Me),It=Pe,Rt=at,at+=Me,Ae+=Me;else for(Ee=0;Ee<jt;++Ee)De(Pe,at,Ar,Ae,Me),It=Pe,Rt=at,at+=Me,Ae+=Me;me.rc=It,me.Vc=Rt}else{if(we(J.mc!=null),Me=ht+jt,we((Ee=J.mc)!=null),we(Me<=Ee.i),Ee.C>=Me)Me=1;else if(J.ic||fe(),J.ic){J=Ee.V,It=Ee.Ba,Rt=Ee.c;var Lr=Ee.i,mr=(Ar=1,Ae=Ee.$/Rt,Pe=Ee.$%Rt,at=Ee.m,Ct=Ee.s,Ee.$),ur=Rt*Lr,Cr=Rt*Me,Br=Ct.wc,an=mr<Cr?_r(Ct,Pe,Ae):null;we(mr<=ur),we(Me<=Lr),we(Zt(Ct));t:for(;;){for(;!at.h&&mr<Cr;){if(Pe&Br||(an=_r(Ct,Pe,Ae)),we(an!=null),$n(at),256>(Lr=Mr(an.G[0],an.H[0],at)))J[It+mr]=Lr,++mr,++Pe>=Rt&&(Pe=0,++Ae<=Me&&!(Ae%16)&&Hr(Ee,Ae));else{if(!(280>Lr)){Ar=0;break t}Lr=zi(Lr-256,at);var jn,Vn=Mr(an.G[4],an.H[4],at);if($n(at),!(mr>=(Vn=yr(Rt,Vn=zi(Vn,at)))&&ur-mr>=Lr)){Ar=0;break t}for(jn=0;jn<Lr;++jn)J[It+mr+jn]=J[It+mr+jn-Vn];for(mr+=Lr,Pe+=Lr;Pe>=Rt;)Pe-=Rt,++Ae<=Me&&!(Ae%16)&&Hr(Ee,Ae);mr<Cr&&Pe&Br&&(an=_r(Ct,Pe,Ae))}we(at.h==Mn(at))}Hr(Ee,Ae>Me?Me:Ae);break t}!Ar||at.h&&mr<ur?(Ar=0,Ee.a=at.h?5:3):Ee.$=mr,Me=Ar}else Me=pn(Ee,Ee.V,Ee.Ba,Ee.c,Ee.i,Me,Jn);if(!Me){jt=0;break e}}ht+jt>=Tr&&(me.Cc=1),jt=1}if(!jt)return null;if(me.Cc&&((jt=me.ga)!=null&&(jt.mc=null),me.ga=null,0<me.Ga))return alert("todo:WebPDequantizeLevels"),null}return me.nb+ht*dr}function rn(me,Me,ht,jt,dr,Tr){for(;0<dr--;){var Ee,J=me,Ae=Me+(ht?1:0),Pe=me,at=Me+(ht?0:3);for(Ee=0;Ee<jt;++Ee){var Ct=Pe[at+4*Ee];Ct!=255&&(Ct*=32897,J[Ae+4*Ee+0]=J[Ae+4*Ee+0]*Ct>>23,J[Ae+4*Ee+1]=J[Ae+4*Ee+1]*Ct>>23,J[Ae+4*Ee+2]=J[Ae+4*Ee+2]*Ct>>23)}Me+=Tr}}function On(me,Me,ht,jt,dr){for(;0<jt--;){var Tr;for(Tr=0;Tr<ht;++Tr){var Ee=me[Me+2*Tr+0],J=15&(Pe=me[Me+2*Tr+1]),Ae=4369*J,Pe=(240&Pe|Pe>>4)*Ae>>16;me[Me+2*Tr+0]=(240&Ee|Ee>>4)*Ae>>16&240|(15&Ee|Ee<<4)*Ae>>16>>4&15,me[Me+2*Tr+1]=240&Pe|J}Me+=dr}}function mt(me,Me,ht,jt,dr,Tr,Ee,J){var Ae,Pe,at=255;for(Pe=0;Pe<dr;++Pe){for(Ae=0;Ae<jt;++Ae){var Ct=me[Me+Ae];Tr[Ee+4*Ae]=Ct,at&=Ct}Me+=ht,Ee+=J}return at!=255}function ne(me,Me,ht,jt,dr){var Tr;for(Tr=0;Tr<dr;++Tr)ht[jt+Tr]=me[Me+Tr]>>8}function fe(){xl=rn,kl=On,el=mt,Il=ne}function ge(me,Me,ht){Bn[me]=function(jt,dr,Tr,Ee,J,Ae,Pe,at,Ct,It,Rt,Ar,Lr,mr,ur,Cr,Br){var an,jn=Br-1>>1,Vn=J[Ae+0]|Pe[at+0]<<16,Ei=Ct[It+0]|Rt[Ar+0]<<16;we(jt!=null);var di=3*Vn+Ei+131074>>2;for(Me(jt[dr+0],255&di,di>>16,Lr,mr),Tr!=null&&(di=3*Ei+Vn+131074>>2,Me(Tr[Ee+0],255&di,di>>16,ur,Cr)),an=1;an<=jn;++an){var ua=J[Ae+an]|Pe[at+an]<<16,ji=Ct[It+an]|Rt[Ar+an]<<16,Ta=Vn+ua+Ei+ji+524296,ha=Ta+2*(ua+Ei)>>3;di=ha+Vn>>1,Vn=(Ta=Ta+2*(Vn+ji)>>3)+ua>>1,Me(jt[dr+2*an-1],255&di,di>>16,Lr,mr+(2*an-1)*ht),Me(jt[dr+2*an-0],255&Vn,Vn>>16,Lr,mr+(2*an-0)*ht),Tr!=null&&(di=Ta+Ei>>1,Vn=ha+ji>>1,Me(Tr[Ee+2*an-1],255&di,di>>16,ur,Cr+(2*an-1)*ht),Me(Tr[Ee+2*an+0],255&Vn,Vn>>16,ur,Cr+(2*an+0)*ht)),Vn=ua,Ei=ji}1&Br||(di=3*Vn+Ei+131074>>2,Me(jt[dr+Br-1],255&di,di>>16,Lr,mr+(Br-1)*ht),Tr!=null&&(di=3*Ei+Vn+131074>>2,Me(Tr[Ee+Br-1],255&di,di>>16,ur,Cr+(Br-1)*ht)))}}function Re(){cl[Fl]=fc,cl[oc]=Wc,cl[sc]=pc,cl[Ql]=Oc,cl[Vs]=Lc,cl[lc]=zc,cl[cc]=Vl,cl[Tc]=Wc,cl[vl]=Oc,cl[Ll]=Lc,cl[Kl]=zc}function ut(me){return me&~Vc?0>me?0:255:me>>mc}function Lt(me,Me){return ut((19077*me>>8)+(26149*Me>>8)-14234)}function br(me,Me,ht){return ut((19077*me>>8)-(6419*Me>>8)-(13320*ht>>8)+8708)}function Or(me,Me){return ut((19077*me>>8)+(33050*Me>>8)-17685)}function Zr(me,Me,ht,jt,dr){jt[dr+0]=Lt(me,ht),jt[dr+1]=br(me,Me,ht),jt[dr+2]=Or(me,Me)}function Cn(me,Me,ht,jt,dr){jt[dr+0]=Or(me,Me),jt[dr+1]=br(me,Me,ht),jt[dr+2]=Lt(me,ht)}function Hn(me,Me,ht,jt,dr){var Tr=br(me,Me,ht);Me=Tr<<3&224|Or(me,Me)>>3,jt[dr+0]=248&Lt(me,ht)|Tr>>5,jt[dr+1]=Me}function si(me,Me,ht,jt,dr){var Tr=240&Or(me,Me)|15;jt[dr+0]=240&Lt(me,ht)|br(me,Me,ht)>>4,jt[dr+1]=Tr}function xi(me,Me,ht,jt,dr){jt[dr+0]=255,Zr(me,Me,ht,jt,dr+1)}function Di(me,Me,ht,jt,dr){Cn(me,Me,ht,jt,dr),jt[dr+3]=255}function sa(me,Me,ht,jt,dr){Zr(me,Me,ht,jt,dr),jt[dr+3]=255}function Xi(me,Me){return 0>me?0:me>Me?Me:me}function ya(me,Me,ht){Bn[me]=function(jt,dr,Tr,Ee,J,Ae,Pe,at,Ct){for(var It=at+(-2&Ct)*ht;at!=It;)Me(jt[dr+0],Tr[Ee+0],J[Ae+0],Pe,at),Me(jt[dr+1],Tr[Ee+0],J[Ae+0],Pe,at+ht),dr+=2,++Ee,++Ae,at+=2*ht;1&Ct&&Me(jt[dr+0],Tr[Ee+0],J[Ae+0],Pe,at)}}function Ja(me,Me,ht){return ht==0?me==0?Me==0?6:5:Me==0?4:0:ht}function $a(me,Me,ht,jt,dr){switch(me>>>30){case 3:$s(Me,ht,jt,dr,0);break;case 2:Ys(Me,ht,jt,dr);break;case 1:Xa(Me,ht,jt,dr)}}function to(me,Me){var ht,jt,dr=Me.M,Tr=Me.Nb,Ee=me.oc,J=me.pc+40,Ae=me.oc,Pe=me.pc+584,at=me.oc,Ct=me.pc+600;for(ht=0;16>ht;++ht)Ee[J+32*ht-1]=129;for(ht=0;8>ht;++ht)Ae[Pe+32*ht-1]=129,at[Ct+32*ht-1]=129;for(0<dr?Ee[J-1-32]=Ae[Pe-1-32]=at[Ct-1-32]=129:(We(Ee,J-32-1,127,21),We(Ae,Pe-32-1,127,9),We(at,Ct-32-1,127,9)),jt=0;jt<me.za;++jt){var It=Me.ya[Me.aa+jt];if(0<jt){for(ht=-1;16>ht;++ht)De(Ee,J+32*ht-4,Ee,J+32*ht+12,4);for(ht=-1;8>ht;++ht)De(Ae,Pe+32*ht-4,Ae,Pe+32*ht+4,4),De(at,Ct+32*ht-4,at,Ct+32*ht+4,4)}var Rt=me.Gd,Ar=me.Hd+jt,Lr=It.ad,mr=It.Hc;if(0<dr&&(De(Ee,J-32,Rt[Ar].y,0,16),De(Ae,Pe-32,Rt[Ar].f,0,8),De(at,Ct-32,Rt[Ar].ea,0,8)),It.Za){var ur=Ee,Cr=J-32+16;for(0<dr&&(jt>=me.za-1?We(ur,Cr,Rt[Ar].y[15],4):De(ur,Cr,Rt[Ar+1].y,0,4)),ht=0;4>ht;ht++)ur[Cr+128+ht]=ur[Cr+256+ht]=ur[Cr+384+ht]=ur[Cr+0+ht];for(ht=0;16>ht;++ht,mr<<=2)ur=Ee,Cr=J+gc[ht],fl[It.Ob[ht]](ur,Cr),$a(mr,Lr,16*+ht,ur,Cr)}else if(ur=Ja(jt,dr,It.Ob[0]),hl[ur](Ee,J),mr!=0)for(ht=0;16>ht;++ht,mr<<=2)$a(mr,Lr,16*+ht,Ee,J+gc[ht]);for(ht=It.Gc,ur=Ja(jt,dr,It.Dd),Cl[ur](Ae,Pe),Cl[ur](at,Ct),mr=Lr,ur=Ae,Cr=Pe,255&(It=ht>>0)&&(170&It?js(mr,256,ur,Cr):ga(mr,256,ur,Cr)),It=at,mr=Ct,255&(ht>>=8)&&(170&ht?js(Lr,320,It,mr):ga(Lr,320,It,mr)),dr<me.Ub-1&&(De(Rt[Ar].y,0,Ee,J+480,16),De(Rt[Ar].f,0,Ae,Pe+224,8),De(Rt[Ar].ea,0,at,Ct+224,8)),ht=8*Tr*me.B,Rt=me.sa,Ar=me.ta+16*jt+16*Tr*me.R,Lr=me.qa,It=me.ra+8*jt+ht,mr=me.Ha,ur=me.Ia+8*jt+ht,ht=0;16>ht;++ht)De(Rt,Ar+ht*me.R,Ee,J+32*ht,16);for(ht=0;8>ht;++ht)De(Lr,It+ht*me.B,Ae,Pe+32*ht,8),De(mr,ur+ht*me.B,at,Ct+32*ht,8)}}function Io(me,Me,ht,jt,dr,Tr,Ee,J,Ae){var Pe=[0],at=[0],Ct=0,It=Ae!=null?Ae.kd:0,Rt=Ae!=null?Ae:new _s;if(me==null||12>ht)return 7;Rt.data=me,Rt.w=Me,Rt.ha=ht,Me=[Me],ht=[ht],Rt.gb=[Rt.gb];e:{var Ar=Me,Lr=ht,mr=Rt.gb;if(we(me!=null),we(Lr!=null),we(mr!=null),mr[0]=0,12<=Lr[0]&&!Le(me,Ar[0],"RIFF")){if(Le(me,Ar[0]+8,"WEBP")){mr=3;break e}var ur=Ha(me,Ar[0]+4);if(12>ur||4294967286<ur){mr=3;break e}if(It&&ur>Lr[0]-8){mr=7;break e}mr[0]=ur,Ar[0]+=12,Lr[0]-=12}mr=0}if(mr!=0)return mr;for(ur=0<Rt.gb[0],ht=ht[0];;){e:{var Cr=me;Lr=Me,mr=ht;var Br=Pe,an=at,jn=Ar=[0];if((di=Ct=[Ct])[0]=0,8>mr[0])mr=7;else{if(!Le(Cr,Lr[0],"VP8X")){if(Ha(Cr,Lr[0]+4)!=10){mr=3;break e}if(18>mr[0]){mr=7;break e}var Vn=Ha(Cr,Lr[0]+8),Ei=1+$i(Cr,Lr[0]+12);if(2147483648<=Ei*(Cr=1+$i(Cr,Lr[0]+15))){mr=3;break e}jn!=null&&(jn[0]=Vn),Br!=null&&(Br[0]=Ei),an!=null&&(an[0]=Cr),Lr[0]+=18,mr[0]-=18,di[0]=1}mr=0}}if(Ct=Ct[0],Ar=Ar[0],mr!=0)return mr;if(Lr=!!(2&Ar),!ur&&Ct)return 3;if(Tr!=null&&(Tr[0]=!!(16&Ar)),Ee!=null&&(Ee[0]=Lr),J!=null&&(J[0]=0),Ee=Pe[0],Ar=at[0],Ct&&Lr&&Ae==null){mr=0;break}if(4>ht){mr=7;break}if(ur&&Ct||!ur&&!Ct&&!Le(me,Me[0],"ALPH")){ht=[ht],Rt.na=[Rt.na],Rt.P=[Rt.P],Rt.Sa=[Rt.Sa];e:{Vn=me,mr=Me,ur=ht;var di=Rt.gb;Br=Rt.na,an=Rt.P,jn=Rt.Sa,Ei=22,we(Vn!=null),we(ur!=null),Cr=mr[0];var ua=ur[0];for(we(Br!=null),we(jn!=null),Br[0]=null,an[0]=null,jn[0]=0;;){if(mr[0]=Cr,ur[0]=ua,8>ua){mr=7;break e}var ji=Ha(Vn,Cr+4);if(4294967286<ji){mr=3;break e}var Ta=8+ji+1&-2;if(Ei+=Ta,0<di&&Ei>di){mr=3;break e}if(!Le(Vn,Cr,"VP8 ")||!Le(Vn,Cr,"VP8L")){mr=0;break e}if(ua[0]<Ta){mr=7;break e}Le(Vn,Cr,"ALPH")||(Br[0]=Vn,an[0]=Cr+8,jn[0]=ji),Cr+=Ta,ua-=Ta}}if(ht=ht[0],Rt.na=Rt.na[0],Rt.P=Rt.P[0],Rt.Sa=Rt.Sa[0],mr!=0)break}ht=[ht],Rt.Ja=[Rt.Ja],Rt.xa=[Rt.xa];e:if(di=me,mr=Me,ur=ht,Br=Rt.gb[0],an=Rt.Ja,jn=Rt.xa,Vn=mr[0],Cr=!Le(di,Vn,"VP8 "),Ei=!Le(di,Vn,"VP8L"),we(di!=null),we(ur!=null),we(an!=null),we(jn!=null),8>ur[0])mr=7;else{if(Cr||Ei){if(di=Ha(di,Vn+4),12<=Br&&di>Br-12){mr=3;break e}if(It&&di>ur[0]-8){mr=7;break e}an[0]=di,mr[0]+=8,ur[0]-=8,jn[0]=Ei}else jn[0]=5<=ur[0]&&di[Vn+0]==47&&!(di[Vn+4]>>5),an[0]=ur[0];mr=0}if(ht=ht[0],Rt.Ja=Rt.Ja[0],Rt.xa=Rt.xa[0],Me=Me[0],mr!=0)break;if(4294967286<Rt.Ja)return 3;if(J==null||Lr||(J[0]=Rt.xa?2:1),Ee=[Ee],Ar=[Ar],Rt.xa){if(5>ht){mr=7;break}J=Ee,It=Ar,Lr=Tr,me==null||5>ht?me=0:5<=ht&&me[Me+0]==47&&!(me[Me+4]>>5)?(ur=[0],di=[0],Br=[0],Hi(an=new Fr,me,Me,ht),Ri(an,ur,di,Br)?(J!=null&&(J[0]=ur[0]),It!=null&&(It[0]=di[0]),Lr!=null&&(Lr[0]=Br[0]),me=1):me=0):me=0}else{if(10>ht){mr=7;break}J=Ar,me==null||10>ht||!Sa(me,Me+3,ht-3)?me=0:(It=me[Me+0]|me[Me+1]<<8|me[Me+2]<<16,Lr=16383&(me[Me+7]<<8|me[Me+6]),me=16383&(me[Me+9]<<8|me[Me+8]),1&It||3<(It>>1&7)||!(It>>4&1)||It>>5>=Rt.Ja||!Lr||!me?me=0:(Ee&&(Ee[0]=Lr),J&&(J[0]=me),me=1))}if(!me)return 3;if(Ee=Ee[0],Ar=Ar[0],Ct&&(Pe[0]!=Ee||at[0]!=Ar))return 3;Ae!=null&&(Ae[0]=Rt,Ae.offset=Me-Ae.w,we(4294967286>Me-Ae.w),we(Ae.offset==Ae.ha-ht));break}return mr==0||mr==7&&Ct&&Ae==null?(Tr!=null&&(Tr[0]|=Rt.na!=null&&0<Rt.na.length),jt!=null&&(jt[0]=Ee),dr!=null&&(dr[0]=Ar),0):mr}function Co(me,Me,ht){var jt=Me.width,dr=Me.height,Tr=0,Ee=0,J=jt,Ae=dr;if(Me.Da=me!=null&&0<me.Da,Me.Da&&(J=me.cd,Ae=me.bd,Tr=me.v,Ee=me.j,11>ht||(Tr&=-2,Ee&=-2),0>Tr||0>Ee||0>=J||0>=Ae||Tr+J>jt||Ee+Ae>dr))return 0;if(Me.v=Tr,Me.j=Ee,Me.va=Tr+J,Me.o=Ee+Ae,Me.U=J,Me.T=Ae,Me.da=me!=null&&0<me.da,Me.da){if(!Ji(J,Ae,ht=[me.ib],Tr=[me.hb]))return 0;Me.ib=ht[0],Me.hb=Tr[0]}return Me.ob=me!=null&&me.ob,Me.Kb=me==null||!me.Sd,Me.da&&(Me.ob=Me.ib<3*jt/4&&Me.hb<3*dr/4,Me.Kb=0),1}function Do(me){if(me==null)return 2;if(11>me.S){var Me=me.f.RGBA;Me.fb+=(me.height-1)*Me.A,Me.A=-Me.A}else Me=me.f.kb,me=me.height,Me.O+=(me-1)*Me.fa,Me.fa=-Me.fa,Me.N+=(me-1>>1)*Me.Ab,Me.Ab=-Me.Ab,Me.W+=(me-1>>1)*Me.Db,Me.Db=-Me.Db,Me.F!=null&&(Me.J+=(me-1)*Me.lb,Me.lb=-Me.lb);return 0}function go(me,Me,ht,jt){if(jt==null||0>=me||0>=Me)return 2;if(ht!=null){if(ht.Da){var dr=ht.cd,Tr=ht.bd,Ee=-2&ht.v,J=-2&ht.j;if(0>Ee||0>J||0>=dr||0>=Tr||Ee+dr>me||J+Tr>Me)return 2;me=dr,Me=Tr}if(ht.da){if(!Ji(me,Me,dr=[ht.ib],Tr=[ht.hb]))return 2;me=dr[0],Me=Tr[0]}}jt.width=me,jt.height=Me;e:{var Ae=jt.width,Pe=jt.height;if(me=jt.S,0>=Ae||0>=Pe||!(me>=Fl&&13>me))me=2;else{if(0>=jt.Rd&&jt.sd==null){Ee=Tr=dr=Me=0;var at=(J=Ae*tc[me])*Pe;if(11>me||(Tr=(Pe+1)/2*(Me=(Ae+1)/2),me==12&&(Ee=(dr=Ae)*Pe)),(Pe=Fe(at+2*Tr+Ee))==null){me=1;break e}jt.sd=Pe,11>me?((Ae=jt.f.RGBA).eb=Pe,Ae.fb=0,Ae.A=J,Ae.size=at):((Ae=jt.f.kb).y=Pe,Ae.O=0,Ae.fa=J,Ae.Fd=at,Ae.f=Pe,Ae.N=0+at,Ae.Ab=Me,Ae.Cd=Tr,Ae.ea=Pe,Ae.W=0+at+Tr,Ae.Db=Me,Ae.Ed=Tr,me==12&&(Ae.F=Pe,Ae.J=0+at+2*Tr),Ae.Tc=Ee,Ae.lb=dr)}if(Me=1,dr=jt.S,Tr=jt.width,Ee=jt.height,dr>=Fl&&13>dr)if(11>dr)me=jt.f.RGBA,Me&=(J=Math.abs(me.A))*(Ee-1)+Tr<=me.size,Me&=J>=Tr*tc[dr],Me&=me.eb!=null;else{me=jt.f.kb,J=(Tr+1)/2,at=(Ee+1)/2,Ae=Math.abs(me.fa),Pe=Math.abs(me.Ab);var Ct=Math.abs(me.Db),It=Math.abs(me.lb),Rt=It*(Ee-1)+Tr;Me&=Ae*(Ee-1)+Tr<=me.Fd,Me&=Pe*(at-1)+J<=me.Cd,Me=(Me&=Ct*(at-1)+J<=me.Ed)&Ae>=Tr&Pe>=J&Ct>=J,Me&=me.y!=null,Me&=me.f!=null,Me&=me.ea!=null,dr==12&&(Me&=It>=Tr,Me&=Rt<=me.Tc,Me&=me.F!=null)}else Me=0;me=Me?0:2}}return me!=0||ht!=null&&ht.fd&&(me=Do(jt)),me}var So=64,is=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],ts=24,To=32,Yi=8,Rs=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];zt("Predictor0","PredictorAdd0"),Bn.Predictor0=function(){return 4278190080},Bn.Predictor1=function(me){return me},Bn.Predictor2=function(me,Me,ht){return Me[ht+0]},Bn.Predictor3=function(me,Me,ht){return Me[ht+1]},Bn.Predictor4=function(me,Me,ht){return Me[ht-1]},Bn.Predictor5=function(me,Me,ht){return nn(nn(me,Me[ht+1]),Me[ht+0])},Bn.Predictor6=function(me,Me,ht){return nn(me,Me[ht-1])},Bn.Predictor7=function(me,Me,ht){return nn(me,Me[ht+0])},Bn.Predictor8=function(me,Me,ht){return nn(Me[ht-1],Me[ht+0])},Bn.Predictor9=function(me,Me,ht){return nn(Me[ht+0],Me[ht+1])},Bn.Predictor10=function(me,Me,ht){return nn(nn(me,Me[ht-1]),nn(Me[ht+0],Me[ht+1]))},Bn.Predictor11=function(me,Me,ht){var jt=Me[ht+0];return 0>=Ot(jt>>24&255,me>>24&255,(Me=Me[ht-1])>>24&255)+Ot(jt>>16&255,me>>16&255,Me>>16&255)+Ot(jt>>8&255,me>>8&255,Me>>8&255)+Ot(255&jt,255&me,255&Me)?jt:me},Bn.Predictor12=function(me,Me,ht){var jt=Me[ht+0];return(fn((me>>24&255)+(jt>>24&255)-((Me=Me[ht-1])>>24&255))<<24|fn((me>>16&255)+(jt>>16&255)-(Me>>16&255))<<16|fn((me>>8&255)+(jt>>8&255)-(Me>>8&255))<<8|fn((255&me)+(255&jt)-(255&Me)))>>>0},Bn.Predictor13=function(me,Me,ht){var jt=Me[ht-1];return(Xe((me=nn(me,Me[ht+0]))>>24&255,jt>>24&255)<<24|Xe(me>>16&255,jt>>16&255)<<16|Xe(me>>8&255,jt>>8&255)<<8|Xe(me>>0&255,jt>>0&255))>>>0};var Es=Bn.PredictorAdd0;Bn.PredictorAdd1=cr,zt("Predictor2","PredictorAdd2"),zt("Predictor3","PredictorAdd3"),zt("Predictor4","PredictorAdd4"),zt("Predictor5","PredictorAdd5"),zt("Predictor6","PredictorAdd6"),zt("Predictor7","PredictorAdd7"),zt("Predictor8","PredictorAdd8"),zt("Predictor9","PredictorAdd9"),zt("Predictor10","PredictorAdd10"),zt("Predictor11","PredictorAdd11"),zt("Predictor12","PredictorAdd12"),zt("Predictor13","PredictorAdd13");var as=Bn.PredictorAdd2;Wr("ColorIndexInverseTransform","MapARGB","32b",function(me){return me>>8&255},function(me){return me}),Wr("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(me){return me},function(me){return me>>8&255});var Qo,hs=Bn.ColorIndexInverseTransform,Al=Bn.MapARGB,sl=Bn.VP8LColorIndexInverseTransformAlpha,fs=Bn.MapAlpha,Lo=Bn.VP8LPredictorsAdd=[];Lo.length=16,(Bn.VP8LPredictors=[]).length=16,(Bn.VP8LPredictorsAdd_C=[]).length=16,(Bn.VP8LPredictors_C=[]).length=16;var ls,Zs,As,Fs,Us,Ds,al,$s,Ys,js,Xa,ga,Wa,oo,Jo,Hs,bs,ws,Uo,_o,Zo,xo,Ws,Sl,xl,kl,el,Il,Ol=Fe(511),Uc=Fe(2041),ic=Fe(225),Cc=Fe(767),ac=0,Hl=Uc,zs=ic,tl=Cc,ll=Ol,Fl=0,oc=1,sc=2,Ql=3,Vs=4,lc=5,cc=6,Tc=7,vl=8,Ll=9,Kl=10,Jl=[2,3,7],El=[3,3,11],jc=[280,256,256,256,40],Hc=[0,1,1,1,0],yl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zl=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],uc=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],$l=8,Ss=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],dl=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,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,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],Ul=null,_c=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],dc=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Wl=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],zl=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],hc=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Ic=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Kc=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hl=[],fl=[],Cl=[],ql=1,ec=2,bl=[],cl=[];ge("UpsampleRgbLinePair",Zr,3),ge("UpsampleBgrLinePair",Cn,3),ge("UpsampleRgbaLinePair",sa,4),ge("UpsampleBgraLinePair",Di,4),ge("UpsampleArgbLinePair",xi,4),ge("UpsampleRgba4444LinePair",si,2),ge("UpsampleRgb565LinePair",Hn,2);var fc=Bn.UpsampleRgbLinePair,pc=Bn.UpsampleBgrLinePair,Wc=Bn.UpsampleRgbaLinePair,Oc=Bn.UpsampleBgraLinePair,Lc=Bn.UpsampleArgbLinePair,zc=Bn.UpsampleRgba4444LinePair,Vl=Bn.UpsampleRgb565LinePair,pl=16,Nl=1<<pl-1,Xl=-227,jl=482,mc=6,Vc=(256<<mc)-1,Nc=0,eu=Fe(256),Rc=Fe(256),Xc=Fe(256),Gc=Fe(256),Yc=Fe(jl-Xl),Dc=Fe(jl-Xl);ya("YuvToRgbRow",Zr,3),ya("YuvToBgrRow",Cn,3),ya("YuvToRgbaRow",sa,4),ya("YuvToBgraRow",Di,4),ya("YuvToArgbRow",xi,4),ya("YuvToRgba4444Row",si,2),ya("YuvToRgb565Row",Hn,2);var gc=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],wl=[0,2,8],Ac=[8,7,6,4,4,2,2,2,1,1,1,1],Tl=1;this.WebPDecodeRGBA=function(me,Me,ht,jt,dr){var Tr=oc,Ee=new ms,J=new ni;Ee.ba=J,J.S=Tr,J.width=[J.width],J.height=[J.height];var Ae=J.width,Pe=J.height,at=new yi;if(at==null||me==null)var Ct=2;else we(at!=null),Ct=Io(me,Me,ht,at.width,at.height,at.Pd,at.Qd,at.format,null);if(Ct!=0?Ae=0:(Ae!=null&&(Ae[0]=at.width[0]),Pe!=null&&(Pe[0]=at.height[0]),Ae=1),Ae){J.width=J.width[0],J.height=J.height[0],jt!=null&&(jt[0]=J.width),dr!=null&&(dr[0]=J.height);e:{if(jt=new La,(dr=new _s).data=me,dr.w=Me,dr.ha=ht,dr.kd=1,Me=[0],we(dr!=null),((me=Io(dr.data,dr.w,dr.ha,null,null,null,Me,null,dr))==0||me==7)&&Me[0]&&(me=4),(Me=me)==0){if(we(Ee!=null),jt.data=dr.data,jt.w=dr.w+dr.offset,jt.ha=dr.ha-dr.offset,jt.put=Li,jt.ac=mi,jt.bc=Wn,jt.ma=Ee,dr.xa){if((me=yn())==null){Ee=1;break e}if(function(It,Rt){var Ar=[0],Lr=[0],mr=[0];t:for(;;){if(It==null)return 0;if(Rt==null)return It.a=2,0;if(It.l=Rt,It.a=0,Hi(It.m,Rt.data,Rt.w,Rt.ha),!Ri(It.m,Ar,Lr,mr)){It.a=3;break t}if(It.xb=ec,Rt.width=Ar[0],Rt.height=Lr[0],!Fn(Ar[0],Lr[0],1,It,null))break t;return 1}return we(It.a!=0),0}(me,jt)){if(jt=(Me=go(jt.width,jt.height,Ee.Oa,Ee.ba))==0){t:{jt=me;r:for(;;){if(jt==null){jt=0;break t}if(we(jt.s.yc!=null),we(jt.s.Ya!=null),we(0<jt.s.Wb),we((ht=jt.l)!=null),we((dr=ht.ma)!=null),jt.xb!=0){if(jt.ca=dr.ba,jt.tb=dr.tb,we(jt.ca!=null),!Co(dr.Oa,ht,Ql)){jt.a=2;break r}if(!Gn(jt,ht.width))break r;if(ht.da)break r;if((ht.da||Tn(jt.ca.S))&&fe(),11>jt.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),jt.ca.f.kb.F!=null&&fe()),jt.Pb&&0<jt.s.ua&&jt.s.vb.X==null&&!pi(jt.s.vb,jt.s.Wa.Xa)){jt.a=1;break r}jt.xb=0}if(!pn(jt,jt.V,jt.Ba,jt.c,jt.i,ht.o,Sr))break r;dr.Dc=jt.Ma,jt=1;break t}we(jt.a!=0),jt=0}jt=!jt}jt&&(Me=me.a)}else Me=me.a}else{if((me=new Aa)==null){Ee=1;break e}if(me.Fa=dr.na,me.P=dr.P,me.qc=dr.Sa,Ra(me,jt)){if((Me=go(jt.width,jt.height,Ee.Oa,Ee.ba))==0){if(me.Aa=0,ht=Ee.Oa,we((dr=me)!=null),ht!=null){if(0<(Ae=0>(Ae=ht.Md)?0:100<Ae?255:255*Ae/100)){for(Pe=at=0;4>Pe;++Pe)12>(Ct=dr.pb[Pe]).lc&&(Ct.ia=Ae*Ac[0>Ct.lc?0:Ct.lc]>>3),at|=Ct.ia;at&&(alert("todo:VP8InitRandom"),dr.ia=1)}dr.Ga=ht.Id,100<dr.Ga?dr.Ga=100:0>dr.Ga&&(dr.Ga=0)}Pa(me,jt)||(Me=me.a)}}else Me=me.a}Me==0&&Ee.Oa!=null&&Ee.Oa.fd&&(Me=Do(Ee.ba))}Ee=Me}Tr=Ee!=0?null:11>Tr?J.f.RGBA.eb:J.f.kb.y}else Tr=null;return Tr};var tc=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function kt(bi,Bn){for(var _i="",gn=0;gn<4;gn++)_i+=String.fromCharCode(bi[Bn++]);return _i}function wr(bi,Bn){return(bi[Bn+0]<<0|bi[Bn+1]<<8|bi[Bn+2]<<16)>>>0}function hr(bi,Bn){return(bi[Bn+0]<<0|bi[Bn+1]<<8|bi[Bn+2]<<16|bi[Bn+3]<<24)>>>0}new st;var Nr=[0],Kt=[0],un=[],ar=new st,Xr=Ge,kr=function(bi,Bn){var _i={},gn=0,Vr=!1,xn=0,tn=0;if(_i.frames=[],!function(Fr,bn,Mn,Xn){for(var $n=0;$n<Xn;$n++)if(Fr[bn+$n]!=Mn.charCodeAt($n))return!0;return!1}(bi,Bn,"RIFF",4)){var ui,qn;for(hr(bi,Bn+=4),Bn+=8;Bn<bi.length;){var wi=kt(bi,Bn),Qn=hr(bi,Bn+=4);Bn+=4;var Hi=Qn+(1&Qn);switch(wi){case"VP8 ":case"VP8L":_i.frames[gn]===void 0&&(_i.frames[gn]={}),(dn=_i.frames[gn]).src_off=Vr?tn:Bn-8,dn.src_size=xn+Qn+8,gn++,Vr&&(Vr=!1,xn=0,tn=0);break;case"VP8X":(dn=_i.header={}).feature_flags=bi[Bn];var ri=Bn+4;dn.canvas_width=1+wr(bi,ri),ri+=3,dn.canvas_height=1+wr(bi,ri),ri+=3;break;case"ALPH":Vr=!0,xn=Hi+8,tn=Bn-8;break;case"ANIM":(dn=_i.header).bgcolor=hr(bi,Bn),ri=Bn+4,dn.loop_count=(ui=bi)[(qn=ri)+0]<<0|ui[qn+1]<<8,ri+=2;break;case"ANMF":var Mi,dn;(dn=_i.frames[gn]={}).offset_x=2*wr(bi,Bn),Bn+=3,dn.offset_y=2*wr(bi,Bn),Bn+=3,dn.width=1+wr(bi,Bn),Bn+=3,dn.height=1+wr(bi,Bn),Bn+=3,dn.duration=wr(bi,Bn),Bn+=3,Mi=bi[Bn++],dn.dispose=1&Mi,dn.blend=Mi>>1&1}wi!="ANMF"&&(Bn+=Hi)}return _i}}(Xr,0);kr.response=Xr,kr.rgbaoutput=!0,kr.dataurl=!1;var gr=kr.header?kr.header:null,Sn=kr.frames?kr.frames:null;if(gr){gr.loop_counter=gr.loop_count,Nr=[gr.canvas_height],Kt=[gr.canvas_width];for(var Pn=0;Pn<Sn.length&&Sn[Pn].blend!=0;Pn++);}var ii=Sn[0],oi=ar.WebPDecodeRGBA(Xr,ii.src_off,ii.src_size,Kt,Nr);ii.rgba=oi,ii.imgwidth=Kt[0],ii.imgheight=Nr[0];for(var ti=0;ti<Kt[0]*Nr[0]*4;ti++)un[ti]=oi[ti];return this.width=Kt,this.height=Nr,this.data=un,this}!function(Ge){var we=function(){return typeof E.b=="function"},Le=function(Kt,un,ar,Xr){var kr=4,gr=Je;switch(Xr){case Ge.image_compression.FAST:kr=1,gr=Fe;break;case Ge.image_compression.MEDIUM:kr=6,gr=vt;break;case Ge.image_compression.SLOW:kr=9,gr=st}Kt=De(Kt,un,ar,gr);var Sn=Object(E.b)(Kt,{level:kr});return Ge.__addimage__.arrayBufferToBinaryString(Sn)},De=function(Kt,un,ar,Xr){for(var kr,gr,Sn,Pn=Kt.length/un,ii=new Uint8Array(Kt.length+Pn),oi=wr(),ti=0;ti<Pn;ti+=1){if(Sn=ti*un,kr=Kt.subarray(Sn,Sn+un),Xr)ii.set(Xr(kr,ar,gr),Sn+ti);else{for(var bi,Bn=oi.length,_i=[];bi<Bn;bi+=1)_i[bi]=oi[bi](kr,ar,gr);var gn=hr(_i.concat());ii.set(_i[gn],Sn+ti)}gr=kr}return ii},We=function(Kt){var un=Array.apply([],Kt);return un.unshift(0),un},Fe=function(Kt,un){var ar,Xr=[],kr=Kt.length;Xr[0]=1;for(var gr=0;gr<kr;gr+=1)ar=Kt[gr-un]||0,Xr[gr+1]=Kt[gr]-ar+256&255;return Xr},Je=function(Kt,un,ar){var Xr,kr=[],gr=Kt.length;kr[0]=2;for(var Sn=0;Sn<gr;Sn+=1)Xr=ar&&ar[Sn]||0,kr[Sn+1]=Kt[Sn]-Xr+256&255;return kr},vt=function(Kt,un,ar){var Xr,kr,gr=[],Sn=Kt.length;gr[0]=3;for(var Pn=0;Pn<Sn;Pn+=1)Xr=Kt[Pn-un]||0,kr=ar&&ar[Pn]||0,gr[Pn+1]=Kt[Pn]+256-(Xr+kr>>>1)&255;return gr},st=function(Kt,un,ar){var Xr,kr,gr,Sn,Pn=[],ii=Kt.length;Pn[0]=4;for(var oi=0;oi<ii;oi+=1)Xr=Kt[oi-un]||0,kr=ar&&ar[oi]||0,gr=ar&&ar[oi-un]||0,Sn=kt(Xr,kr,gr),Pn[oi+1]=Kt[oi]-Sn+256&255;return Pn},kt=function(Kt,un,ar){if(Kt===un&&un===ar)return Kt;var Xr=Math.abs(un-ar),kr=Math.abs(Kt-ar),gr=Math.abs(Kt+un-ar-ar);return Xr<=kr&&Xr<=gr?Kt:kr<=gr?un:ar},wr=function(){return[We,Fe,Je,vt,st]},hr=function(Kt){var un=Kt.map(function(ar){return ar.reduce(function(Xr,kr){return Xr+Math.abs(kr)},0)});return un.indexOf(Math.min.apply(null,un))};Ge.processPNG=function(Nr,Kt,un,ar){var Xr,kr,gr,Sn,Pn,ii,oi,ti,bi,Bn,_i,gn,Vr,xn,tn,ui=this.decode.FLATE_DECODE,qn="";if(this.__addimage__.isArrayBuffer(Nr)&&(Nr=new Uint8Array(Nr)),this.__addimage__.isArrayBufferView(Nr)){if(Nr=(gr=new rt(Nr)).imgData,kr=gr.bits,Xr=gr.colorSpace,Pn=gr.colors,[4,6].indexOf(gr.colorType)!==-1){if(gr.bits===8){bi=(ti=gr.pixelBitlength==32?new Uint32Array(gr.decodePixels().buffer):gr.pixelBitlength==16?new Uint16Array(gr.decodePixels().buffer):new Uint8Array(gr.decodePixels().buffer)).length,_i=new Uint8Array(bi*gr.colors),Bn=new Uint8Array(bi);var wi,Qn=gr.pixelBitlength-gr.bits;for(xn=0,tn=0;xn<bi;xn++){for(Vr=ti[xn],wi=0;wi<Qn;)_i[tn++]=Vr>>>wi&255,wi+=gr.bits;Bn[xn]=Vr>>>wi&255}}if(gr.bits===16){bi=(ti=new Uint32Array(gr.decodePixels().buffer)).length,_i=new Uint8Array(bi*(32/gr.pixelBitlength)*gr.colors),Bn=new Uint8Array(bi*(32/gr.pixelBitlength)),gn=gr.colors>1,xn=0,tn=0;for(var Hi=0;xn<bi;)Vr=ti[xn++],_i[tn++]=Vr>>>0&255,gn&&(_i[tn++]=Vr>>>16&255,Vr=ti[xn++],_i[tn++]=Vr>>>0&255),Bn[Hi++]=Vr>>>16&255;kr=8}ar!==Ge.image_compression.NONE&&we()?(Nr=Le(_i,gr.width*gr.colors,gr.colors,ar),oi=Le(Bn,gr.width,1,ar)):(Nr=_i,oi=Bn,ui=void 0)}if(gr.colorType===3&&(Xr=this.color_spaces.INDEXED,ii=gr.palette,gr.transparency.indexed)){var ri=gr.transparency.indexed,Mi=0;for(xn=0,bi=ri.length;xn<bi;++xn)Mi+=ri[xn];if((Mi/=255)===bi-1&&ri.indexOf(0)!==-1)Sn=[ri.indexOf(0)];else if(Mi!==bi){for(ti=gr.decodePixels(),Bn=new Uint8Array(ti.length),xn=0,bi=ti.length;xn<bi;xn++)Bn[xn]=ri[ti[xn]];oi=Le(Bn,gr.width,1)}}var dn=function(Fr){var bn;switch(Fr){case Ge.image_compression.FAST:bn=11;break;case Ge.image_compression.MEDIUM:bn=13;break;case Ge.image_compression.SLOW:bn=14;break;default:bn=12}return bn}(ar);return ui===this.decode.FLATE_DECODE&&(qn="/Predictor "+dn+" "),qn+="/Colors "+Pn+" /BitsPerComponent "+kr+" /Columns "+gr.width,(this.__addimage__.isArrayBuffer(Nr)||this.__addimage__.isArrayBufferView(Nr))&&(Nr=this.__addimage__.arrayBufferToBinaryString(Nr)),(oi&&this.__addimage__.isArrayBuffer(oi)||this.__addimage__.isArrayBufferView(oi))&&(oi=this.__addimage__.arrayBufferToBinaryString(oi)),{alias:un,data:Nr,index:Kt,filter:ui,decodeParameters:qn,transparency:Sn,palette:ii,sMask:oi,predictor:dn,width:gr.width,height:gr.height,bitsPerComponent:kr,colorSpace:Xr}}}}(j.API),function(Ge){Ge.processGIF89A=function(we,Le,De,We){var Fe=new Wt(we),Je=Fe.width,vt=Fe.height,st=[];Fe.decodeAndBlitFrameRGBA(0,st);var kt={data:st,width:Je,height:vt},wr=new Gt(100).encode(kt,100);return Ge.processJPEG.call(this,wr,Le,De,We)},Ge.processGIF87A=Ge.processGIF89A}(j.API),Rr.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 Ge=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(Ge);for(var we=0;we<Ge;we++){var Le=this.datav.getUint8(this.pos++,!0),De=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0);this.palette[we]={red:We,green:De,blue:Le,quad:Fe}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Rr.prototype.parseBGR=function(){this.pos=this.offset;try{var Ge="bit"+this.bitPP,we=this.width*this.height*4;this.data=new Uint8Array(we),this[Ge]()}catch(Le){p.log("bit decode error:"+Le)}},Rr.prototype.bit1=function(){var Ge,we=Math.ceil(this.width/8),Le=we%4;for(Ge=this.height-1;Ge>=0;Ge--){for(var De=this.bottom_up?Ge:this.height-1-Ge,We=0;We<we;We++)for(var Fe=this.datav.getUint8(this.pos++,!0),Je=De*this.width*4+8*We*4,vt=0;vt<8&&8*We+vt<this.width;vt++){var st=this.palette[Fe>>7-vt&1];this.data[Je+4*vt]=st.blue,this.data[Je+4*vt+1]=st.green,this.data[Je+4*vt+2]=st.red,this.data[Je+4*vt+3]=255}Le!==0&&(this.pos+=4-Le)}},Rr.prototype.bit4=function(){for(var Ge=Math.ceil(this.width/2),we=Ge%4,Le=this.height-1;Le>=0;Le--){for(var De=this.bottom_up?Le:this.height-1-Le,We=0;We<Ge;We++){var Fe=this.datav.getUint8(this.pos++,!0),Je=De*this.width*4+2*We*4,vt=Fe>>4,st=15&Fe,kt=this.palette[vt];if(this.data[Je]=kt.blue,this.data[Je+1]=kt.green,this.data[Je+2]=kt.red,this.data[Je+3]=255,2*We+1>=this.width)break;kt=this.palette[st],this.data[Je+4]=kt.blue,this.data[Je+4+1]=kt.green,this.data[Je+4+2]=kt.red,this.data[Je+4+3]=255}we!==0&&(this.pos+=4-we)}},Rr.prototype.bit8=function(){for(var Ge=this.width%4,we=this.height-1;we>=0;we--){for(var Le=this.bottom_up?we:this.height-1-we,De=0;De<this.width;De++){var We=this.datav.getUint8(this.pos++,!0),Fe=Le*this.width*4+4*De;if(We<this.palette.length){var Je=this.palette[We];this.data[Fe]=Je.red,this.data[Fe+1]=Je.green,this.data[Fe+2]=Je.blue,this.data[Fe+3]=255}else this.data[Fe]=255,this.data[Fe+1]=255,this.data[Fe+2]=255,this.data[Fe+3]=255}Ge!==0&&(this.pos+=4-Ge)}},Rr.prototype.bit15=function(){for(var Ge=this.width%3,we=parseInt("11111",2),Le=this.height-1;Le>=0;Le--){for(var De=this.bottom_up?Le:this.height-1-Le,We=0;We<this.width;We++){var Fe=this.datav.getUint16(this.pos,!0);this.pos+=2;var Je=(Fe&we)/we*255|0,vt=(Fe>>5&we)/we*255|0,st=(Fe>>10&we)/we*255|0,kt=Fe>>15?255:0,wr=De*this.width*4+4*We;this.data[wr]=st,this.data[wr+1]=vt,this.data[wr+2]=Je,this.data[wr+3]=kt}this.pos+=Ge}},Rr.prototype.bit16=function(){for(var Ge=this.width%3,we=parseInt("11111",2),Le=parseInt("111111",2),De=this.height-1;De>=0;De--){for(var We=this.bottom_up?De:this.height-1-De,Fe=0;Fe<this.width;Fe++){var Je=this.datav.getUint16(this.pos,!0);this.pos+=2;var vt=(Je&we)/we*255|0,st=(Je>>5&Le)/Le*255|0,kt=(Je>>11)/we*255|0,wr=We*this.width*4+4*Fe;this.data[wr]=kt,this.data[wr+1]=st,this.data[wr+2]=vt,this.data[wr+3]=255}this.pos+=Ge}},Rr.prototype.bit24=function(){for(var Ge=this.height-1;Ge>=0;Ge--){for(var we=this.bottom_up?Ge:this.height-1-Ge,Le=0;Le<this.width;Le++){var De=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Je=we*this.width*4+4*Le;this.data[Je]=Fe,this.data[Je+1]=We,this.data[Je+2]=De,this.data[Je+3]=255}this.pos+=this.width%4}},Rr.prototype.bit32=function(){for(var Ge=this.height-1;Ge>=0;Ge--)for(var we=this.bottom_up?Ge:this.height-1-Ge,Le=0;Le<this.width;Le++){var De=this.datav.getUint8(this.pos++,!0),We=this.datav.getUint8(this.pos++,!0),Fe=this.datav.getUint8(this.pos++,!0),Je=this.datav.getUint8(this.pos++,!0),vt=we*this.width*4+4*Le;this.data[vt]=Fe,this.data[vt+1]=We,this.data[vt+2]=De,this.data[vt+3]=Je}},Rr.prototype.getData=function(){return this.data},function(Ge){Ge.processBMP=function(we,Le,De,We){var Fe=new Rr(we,!1),Je=Fe.width,vt=Fe.height,st={data:Fe.getData(),width:Je,height:vt},kt=new Gt(100).encode(st,100);return Ge.processJPEG.call(this,kt,Le,De,We)}}(j.API),Pr.prototype.getData=function(){return this.data},function(Ge){Ge.processWEBP=function(we,Le,De,We){var Fe=new Pr(we,!1),Je=Fe.width,vt=Fe.height,st={data:Fe.getData(),width:Je,height:vt},kt=new Gt(100).encode(st,100);return Ge.processJPEG.call(this,kt,Le,De,We)}}(j.API),j.API.processRGBA=function(Ge,we,Le){for(var De=Ge.data,We=De.length,Fe=new Uint8Array(We/4*3),Je=new Uint8Array(We/4),vt=0,st=0,kt=0;kt<We;kt+=4){var wr=De[kt],hr=De[kt+1],Nr=De[kt+2],Kt=De[kt+3];Fe[vt++]=wr,Fe[vt++]=hr,Fe[vt++]=Nr,Je[st++]=Kt}var un=this.__addimage__.arrayBufferToBinaryString(Fe);return{alpha:this.__addimage__.arrayBufferToBinaryString(Je),data:un,index:we,alias:Le,colorSpace:"DeviceRGB",bitsPerComponent:8,width:Ge.width,height:Ge.height}},j.API.setLanguage=function(Ge){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:"North Macedonia",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"}[Ge]!==void 0&&(this.internal.languageSettings.languageCode=Ge,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},$e=j.API,tt=$e.getCharWidthsArray=function(Ge,we){var Le,De,We=(we=we||{}).font||this.internal.getFont(),Fe=we.fontSize||this.internal.getFontSize(),Je=we.charSpace||this.internal.getCharSpace(),vt=we.widths?we.widths:We.metadata.Unicode.widths,st=vt.fof?vt.fof:1,kt=we.kerning?we.kerning:We.metadata.Unicode.kerning,wr=kt.fof?kt.fof:1,hr=we.doKerning!==!1,Nr=0,Kt=Ge.length,un=0,ar=vt[0]||st,Xr=[];for(Le=0;Le<Kt;Le++)De=Ge.charCodeAt(Le),typeof We.metadata.widthOfString=="function"?Xr.push((We.metadata.widthOfGlyph(We.metadata.characterToGlyph(De))+Je*(1e3/Fe)||0)/1e3):(Nr=hr&&I()(kt[De])==="object"&&!isNaN(parseInt(kt[De][un],10))?kt[De][un]/wr:0,Xr.push((vt[De]||ar)/st+Nr)),un=De;return Xr},ve=$e.getStringUnitWidth=function(Ge,we){var Le=(we=we||{}).fontSize||this.internal.getFontSize(),De=we.font||this.internal.getFont(),We=we.charSpace||this.internal.getCharSpace();return $e.processArabic&&(Ge=$e.processArabic(Ge)),typeof De.metadata.widthOfString=="function"?De.metadata.widthOfString(Ge,Le,We)/Le:tt.apply(this,arguments).reduce(function(Fe,Je){return Fe+Je},0)},_e=function(we,Le,De,We){for(var Fe=[],Je=0,vt=we.length,st=0;Je!==vt&&st+Le[Je]<De;)st+=Le[Je],Je++;Fe.push(we.slice(0,Je));var kt=Je;for(st=0;Je!==vt;)st+Le[Je]>We&&(Fe.push(we.slice(kt,Je)),st=0,kt=Je),st+=Le[Je],Je++;return kt!==Je&&Fe.push(we.slice(kt,Je)),Fe},ke=function(we,Le,De){De||(De={});var We,Fe,Je,vt,st,kt,wr,hr=[],Nr=[hr],Kt=De.textIndent||0,un=0,ar=0,Xr=we.split(" "),kr=tt.apply(this,[" ",De])[0];if(kt=De.lineIndent===-1?Xr[0].length+2:De.lineIndent||0){var gr=Array(kt).join(" "),Sn=[];Xr.map(function(ii){(ii=ii.split(/\s*\n/)).length>1?Sn=Sn.concat(ii.map(function(oi,ti){return(ti&&oi.length?`
`:"")+oi})):Sn.push(ii[0])}),Xr=Sn,kt=ve.apply(this,[gr,De])}for(Je=0,vt=Xr.length;Je<vt;Je++){var Pn=0;if(We=Xr[Je],kt&&We[0]==`
`&&(We=We.substr(1),Pn=1),Kt+un+(ar=(Fe=tt.apply(this,[We,De])).reduce(function(ii,oi){return ii+oi},0))>Le||Pn){if(ar>Le){for(st=_e.apply(this,[We,Fe,Le-(Kt+un),Le]),hr.push(st.shift()),hr=[st.pop()];st.length;)Nr.push([st.shift()]);ar=Fe.slice(We.length-(hr[0]?hr[0].length:0)).reduce(function(ii,oi){return ii+oi},0)}else hr=[We];Nr.push(hr),Kt=ar+kt,un=kr}else hr.push(We),Kt+=un+ar,un=kr}return wr=kt?function(ii,oi){return(oi?gr:"")+ii.join(" ")}:function(ii){return ii.join(" ")},Nr.map(wr)},$e.splitTextToSize=function(Ge,we,Le){var De,We=(Le=Le||{}).fontSize||this.internal.getFontSize(),Fe=function(wr){if(wr.widths&&wr.kerning)return{widths:wr.widths,kerning:wr.kerning};var hr=this.internal.getFont(wr.fontName,wr.fontStyle);return hr.metadata.Unicode?{widths:hr.metadata.Unicode.widths||{0:1},kerning:hr.metadata.Unicode.kerning||{}}:{font:hr.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,Le);De=Array.isArray(Ge)?Ge:String(Ge).split(/\r?\n/);var Je=1*this.internal.scaleFactor*we/We;Fe.textIndent=Le.textIndent?1*Le.textIndent*this.internal.scaleFactor/We:0,Fe.lineIndent=Le.lineIndent;var vt,st,kt=[];for(vt=0,st=De.length;vt<st;vt++)kt=kt.concat(ke.apply(this,[De[vt],Je,Fe]));return kt},function(Ge){Ge.__fontmetrics__=Ge.__fontmetrics__||{};for(var we="klmnopqrstuvwxyz",Le={},De={},We=0;We<we.length;We++)Le[we[We]]="0123456789abcdef"[We],De["0123456789abcdef"[We]]=we[We];var Fe=function(Nr){return"0x"+parseInt(Nr,10).toString(16)},Je=Ge.__fontmetrics__.compress=function(hr){var Nr,Kt,un,ar,Xr=["{"];for(var kr in hr){if(Nr=hr[kr],isNaN(parseInt(kr,10))?Kt="'"+kr+"'":(kr=parseInt(kr,10),Kt=(Kt=Fe(kr).slice(2)).slice(0,-1)+De[Kt.slice(-1)]),typeof Nr=="number")Nr<0?(un=Fe(Nr).slice(3),ar="-"):(un=Fe(Nr).slice(2),ar=""),un=ar+un.slice(0,-1)+De[un.slice(-1)];else{if(I()(Nr)!=="object")throw new Error("Don't know what to do with value type "+I()(Nr)+".");un=Je(Nr)}Xr.push(Kt+un)}return Xr.push("}"),Xr.join("")},vt=Ge.__fontmetrics__.uncompress=function(hr){if(typeof hr!="string")throw new Error("Invalid argument passed to uncompress.");for(var Nr,Kt,un,ar,Xr={},kr=1,gr=Xr,Sn=[],Pn="",ii="",oi=hr.length-1,ti=1;ti<oi;ti+=1)(ar=hr[ti])=="'"?Nr?(un=Nr.join(""),Nr=void 0):Nr=[]:Nr?Nr.push(ar):ar=="{"?(Sn.push([gr,un]),gr={},un=void 0):ar=="}"?((Kt=Sn.pop())[0][Kt[1]]=gr,un=void 0,gr=Kt[0]):ar=="-"?kr=-1:un===void 0?Le.hasOwnProperty(ar)?(Pn+=Le[ar],un=parseInt(Pn,16)*kr,kr=1,Pn=""):Pn+=ar:Le.hasOwnProperty(ar)?(ii+=Le[ar],gr[un]=parseInt(ii,16)*kr,kr=1,un=void 0,ii=""):ii+=ar;return Xr},st={codePages:["WinAnsiEncoding"],WinAnsiEncoding:vt("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},kt={Unicode:{Courier:st,"Courier-Bold":st,"Courier-BoldOblique":st,"Courier-Oblique":st,Helvetica:st,"Helvetica-Bold":st,"Helvetica-BoldOblique":st,"Helvetica-Oblique":st,"Times-Roman":st,"Times-Bold":st,"Times-BoldItalic":st,"Times-Italic":st}},wr={Unicode:{"Courier-Oblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":vt("{'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":vt("{'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:vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":vt("{'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:vt("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:vt("{'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":vt("{'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:vt("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":vt("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":vt("{'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":vt("{'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":vt("{'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}}}")}};Ge.events.push(["addFont",function(hr){var Nr=hr.font,Kt=wr.Unicode[Nr.postScriptName];Kt&&(Nr.metadata.Unicode={},Nr.metadata.Unicode.widths=Kt.widths,Nr.metadata.Unicode.kerning=Kt.kerning);var un=kt.Unicode[Nr.postScriptName];un&&(Nr.metadata.Unicode.encoding=un,Nr.encoding=un.codePages[0])}])}(j.API),function(Ge){var we=function(De){for(var We=De.length,Fe=new Uint8Array(We),Je=0;Je<We;Je++)Fe[Je]=De.charCodeAt(Je);return Fe};Ge.API.events.push(["addFont",function(Le){var De=void 0,We=Le.font,Fe=Le.instance;if(!We.isStandardFont){if(Fe===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+We.postScriptName+"').");if(typeof(De=Fe.existsFileInVFS(We.postScriptName)===!1?Fe.loadFile(We.postScriptName):Fe.getFileFromVFS(We.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+We.postScriptName+"').");!function(Je,vt){vt=/^\x00\x01\x00\x00/.test(vt)?we(vt):we(s(vt)),Je.metadata=Ge.API.TTFFont.open(vt),Je.metadata.Unicode=Je.metadata.Unicode||{encoding:{},kerning:{},widths:[]},Je.metadata.glyIdsUsed=[0]}(We,De)}}])}(j),function(Ge){function we(){return(C.canvg?Promise.resolve(C.canvg):Promise.all([d.e(0),d.e(220)]).then(d.bind(null,"DXPr"))).catch(function(Le){return Promise.reject(new Error("Could not load canvg: "+Le))}).then(function(Le){return Le.default?Le.default:Le})}j.API.addSvgAsImage=function(Le,De,We,Fe,Je,vt,st,kt){if(isNaN(De)||isNaN(We))throw p.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(Fe)||isNaN(Je))throw p.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var wr=document.createElement("canvas");wr.width=Fe,wr.height=Je;var hr=wr.getContext("2d");hr.fillStyle="#fff",hr.fillRect(0,0,wr.width,wr.height);var Nr={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Kt=this;return we().then(function(un){return un.fromString(hr,Le,Nr)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(un){return un.render(Nr)}).then(function(){Kt.addImage(wr.toDataURL("image/jpeg",1),De,We,Fe,Je,st,kt)})}}(),j.API.putTotalPages=function(Ge){var we,Le=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(we=new RegExp(Ge,"g"),Le=this.internal.getNumberOfPages()):(we=new RegExp(this.pdfEscape16(Ge,this.internal.getFont()),"g"),Le=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var De=1;De<=this.internal.getNumberOfPages();De++)for(var We=0;We<this.internal.pages[De].length;We++)this.internal.pages[De][We]=this.internal.pages[De][We].replace(we,Le);return this},j.API.viewerPreferences=function(Ge,we){var Le;Ge=Ge||{},we=we||!1;var De,We,Fe,Je={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}},vt=Object.keys(Je),st=[],kt=0,wr=0,hr=0;function Nr(un,ar){var Xr,kr=!1;for(Xr=0;Xr<un.length;Xr+=1)un[Xr]===ar&&(kr=!0);return kr}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(Je)),this.internal.viewerpreferences.isSubscribed=!1),Le=this.internal.viewerpreferences.configuration,Ge==="reset"||we===!0){var Kt=vt.length;for(hr=0;hr<Kt;hr+=1)Le[vt[hr]].value=Le[vt[hr]].defaultValue,Le[vt[hr]].explicitSet=!1}if(I()(Ge)==="object"){for(We in Ge)if(Fe=Ge[We],Nr(vt,We)&&Fe!==void 0){if(Le[We].type==="boolean"&&typeof Fe=="boolean")Le[We].value=Fe;else if(Le[We].type==="name"&&Nr(Le[We].valueSet,Fe))Le[We].value=Fe;else if(Le[We].type==="integer"&&Number.isInteger(Fe))Le[We].value=Fe;else if(Le[We].type==="array"){for(kt=0;kt<Fe.length;kt+=1)if(De=!0,Fe[kt].length===1&&typeof Fe[kt][0]=="number")st.push(String(Fe[kt]-1));else if(Fe[kt].length>1){for(wr=0;wr<Fe[kt].length;wr+=1)typeof Fe[kt][wr]!="number"&&(De=!1);De===!0&&st.push([Fe[kt][0]-1,Fe[kt][1]-1].join(" "))}Le[We].value="["+st.join(" ")+"]"}else Le[We].value=Le[We].defaultValue;Le[We].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var un,ar=[];for(un in Le)Le[un].explicitSet===!0&&(Le[un].type==="name"?ar.push("/"+un+" /"+Le[un].value):ar.push("/"+un+" "+Le[un].value));ar.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+ar.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=Le,this},function(Ge){var we=function(){var We='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',Fe=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),Je=unescape(encodeURIComponent(We)),vt=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),st=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),kt=unescape(encodeURIComponent("</x:xmpmeta>")),wr=Je.length+vt.length+st.length+Fe.length+kt.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+wr+" >>"),this.internal.write("stream"),this.internal.write(Fe+Je+vt+st+kt),this.internal.write("endstream"),this.internal.write("endobj")},Le=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};Ge.addMetadata=function(De,We){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:De,namespaceuri:We||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",Le),this.internal.events.subscribe("postPutResources",we)),this}}(j.API),function(Ge){var we=Ge.API,Le=we.pdfEscape16=function(Fe,Je){for(var vt,st=Je.metadata.Unicode.widths,kt=["","0","00","000","0000"],wr=[""],hr=0,Nr=Fe.length;hr<Nr;++hr){if(vt=Je.metadata.characterToGlyph(Fe.charCodeAt(hr)),Je.metadata.glyIdsUsed.push(vt),Je.metadata.toUnicode[vt]=Fe.charCodeAt(hr),st.indexOf(vt)==-1&&(st.push(vt),st.push([parseInt(Je.metadata.widthOfGlyph(vt),10)])),vt=="0")return wr.join("");vt=vt.toString(16),wr.push(kt[4-vt.length],vt)}return wr.join("")},De=function(Je){var vt,st,kt,wr,hr,Nr,Kt;for(hr=`/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`,kt=[],Nr=0,Kt=(st=Object.keys(Je).sort(function(un,ar){return un-ar})).length;Nr<Kt;Nr++)vt=st[Nr],kt.length>=100&&(hr+=`
`+kt.length+` beginbfchar
`+kt.join(`
`)+`
endbfchar`,kt=[]),Je[vt]!==void 0&&Je[vt]!==null&&typeof Je[vt].toString=="function"&&(wr=("0000"+Je[vt].toString(16)).slice(-4),vt=("0000"+(+vt).toString(16)).slice(-4),kt.push("<"+vt+"><"+wr+">"));return kt.length&&(hr+=`
`+kt.length+` beginbfchar
`+kt.join(`
`)+`
endbfchar
`),hr+=`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};we.events.push(["putFont",function(Fe){!function(Je){var vt=Je.font,st=Je.out,kt=Je.newObject,wr=Je.putStream;if(vt.metadata instanceof Ge.API.TTFFont&&vt.encoding==="Identity-H"){for(var hr=vt.metadata.Unicode.widths,Nr=vt.metadata.subset.encode(vt.metadata.glyIdsUsed,1),Kt="",un=0;un<Nr.length;un++)Kt+=String.fromCharCode(Nr[un]);var ar=kt();wr({data:Kt,addLength1:!0,objectId:ar}),st("endobj");var Xr=kt();wr({data:De(vt.metadata.toUnicode),addLength1:!0,objectId:Xr}),st("endobj");var kr=kt();st("<<"),st("/Type /FontDescriptor"),st("/FontName /"+P(vt.fontName)),st("/FontFile2 "+ar+" 0 R"),st("/FontBBox "+Ge.API.PDFObject.convert(vt.metadata.bbox)),st("/Flags "+vt.metadata.flags),st("/StemV "+vt.metadata.stemV),st("/ItalicAngle "+vt.metadata.italicAngle),st("/Ascent "+vt.metadata.ascender),st("/Descent "+vt.metadata.decender),st("/CapHeight "+vt.metadata.capHeight),st(">>"),st("endobj");var gr=kt();st("<<"),st("/Type /Font"),st("/BaseFont /"+P(vt.fontName)),st("/FontDescriptor "+kr+" 0 R"),st("/W "+Ge.API.PDFObject.convert(hr)),st("/CIDToGIDMap /Identity"),st("/DW 1000"),st("/Subtype /CIDFontType2"),st("/CIDSystemInfo"),st("<<"),st("/Supplement 0"),st("/Registry (Adobe)"),st("/Ordering ("+vt.encoding+")"),st(">>"),st(">>"),st("endobj"),vt.objectNumber=kt(),st("<<"),st("/Type /Font"),st("/Subtype /Type0"),st("/ToUnicode "+Xr+" 0 R"),st("/BaseFont /"+P(vt.fontName)),st("/Encoding /"+vt.encoding),st("/DescendantFonts ["+gr+" 0 R]"),st(">>"),st("endobj"),vt.isAlreadyPutted=!0}}(Fe)}]),we.events.push(["putFont",function(Fe){!function(Je){var vt=Je.font,st=Je.out,kt=Je.newObject,wr=Je.putStream;if(vt.metadata instanceof Ge.API.TTFFont&&vt.encoding==="WinAnsiEncoding"){for(var hr=vt.metadata.rawData,Nr="",Kt=0;Kt<hr.length;Kt++)Nr+=String.fromCharCode(hr[Kt]);var un=kt();wr({data:Nr,addLength1:!0,objectId:un}),st("endobj");var ar=kt();wr({data:De(vt.metadata.toUnicode),addLength1:!0,objectId:ar}),st("endobj");var Xr=kt();st("<<"),st("/Descent "+vt.metadata.decender),st("/CapHeight "+vt.metadata.capHeight),st("/StemV "+vt.metadata.stemV),st("/Type /FontDescriptor"),st("/FontFile2 "+un+" 0 R"),st("/Flags 96"),st("/FontBBox "+Ge.API.PDFObject.convert(vt.metadata.bbox)),st("/FontName /"+P(vt.fontName)),st("/ItalicAngle "+vt.metadata.italicAngle),st("/Ascent "+vt.metadata.ascender),st(">>"),st("endobj"),vt.objectNumber=kt();for(var kr=0;kr<vt.metadata.hmtx.widths.length;kr++)vt.metadata.hmtx.widths[kr]=parseInt(vt.metadata.hmtx.widths[kr]*(1e3/vt.metadata.head.unitsPerEm));st("<</Subtype/TrueType/Type/Font/ToUnicode "+ar+" 0 R/BaseFont/"+P(vt.fontName)+"/FontDescriptor "+Xr+" 0 R/Encoding/"+vt.encoding+" /FirstChar 29 /LastChar 255 /Widths "+Ge.API.PDFObject.convert(vt.metadata.hmtx.widths)+">>"),st("endobj"),vt.isAlreadyPutted=!0}}(Fe)}]);var We=function(Je){var vt,st=Je.text||"",kt=Je.x,wr=Je.y,hr=Je.options||{},Nr=Je.mutex||{},Kt=Nr.pdfEscape,un=Nr.activeFontKey,ar=Nr.fonts,Xr=un,kr="",gr=0,Sn="",Pn=ar[Xr].encoding;if(ar[Xr].encoding!=="Identity-H")return{text:st,x:kt,y:wr,options:hr,mutex:Nr};for(Sn=st,Xr=un,Array.isArray(st)&&(Sn=st[0]),gr=0;gr<Sn.length;gr+=1)ar[Xr].metadata.hasOwnProperty("cmap")&&(vt=ar[Xr].metadata.cmap.unicode.codeMap[Sn[gr].charCodeAt(0)]),vt||Sn[gr].charCodeAt(0)<256&&ar[Xr].metadata.hasOwnProperty("Unicode")?kr+=Sn[gr]:kr+="";var ii="";return parseInt(Xr.slice(1))<14||Pn==="WinAnsiEncoding"?ii=Kt(kr,Xr).split("").map(function(oi){return oi.charCodeAt(0).toString(16)}).join(""):Pn==="Identity-H"&&(ii=Le(kr,ar[Xr])),Nr.isHex=!0,{text:ii,x:kt,y:wr,options:hr,mutex:Nr}};we.events.push(["postProcessText",function(Fe){var Je=Fe.text||"",vt=[],st={text:Je,x:Fe.x,y:Fe.y,options:Fe.options,mutex:Fe.mutex};if(Array.isArray(Je)){var kt=0;for(kt=0;kt<Je.length;kt+=1)Array.isArray(Je[kt])&&Je[kt].length===3?vt.push([We(Object.assign({},st,{text:Je[kt][0]})).text,Je[kt][1],Je[kt][2]]):vt.push(We(Object.assign({},st,{text:Je[kt]})).text);Fe.text=vt}else Fe.text=We(Object.assign({},st,{text:Je})).text}])}(j),function(Ge){var we=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};Ge.existsFileInVFS=function(Le){return we.call(this),this.internal.vFS[Le]!==void 0},Ge.addFileToVFS=function(Le,De){return we.call(this),this.internal.vFS[Le]=De,this},Ge.getFileFromVFS=function(Le){return we.call(this),this.internal.vFS[Le]!==void 0?this.internal.vFS[Le]:null}}(j.API),function(Ge){Ge.__bidiEngine__=Ge.prototype.__bidiEngine__=function(De){var We,Fe,Je,vt,st,kt,wr,hr=we,Nr=[[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]],Kt=[[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]],un={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},ar={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Xr=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],kr=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)$/),gr=!1,Sn=0;this.__bidiEngine__={};var Pn=function(Vr){var xn=Vr.charCodeAt(),tn=xn>>8,ui=ar[tn];return ui!==void 0?hr[256*ui+(255&xn)]:tn===252||tn===253?"AL":kr.test(tn)?"L":tn===8?"R":"N"},ii=function(Vr){for(var xn,tn=0;tn<Vr.length;tn++){if((xn=Pn(Vr.charAt(tn)))==="L")return!1;if(xn==="R")return!0}return!1},oi=function(Vr,xn,tn,ui){var qn,wi,Qn,Hi,ri=xn[ui];switch(ri){case"L":case"R":gr=!1;break;case"N":case"AN":break;case"EN":gr&&(ri="AN");break;case"AL":gr=!0,ri="R";break;case"WS":ri="N";break;case"CS":ui<1||ui+1>=xn.length||(qn=tn[ui-1])!=="EN"&&qn!=="AN"||(wi=xn[ui+1])!=="EN"&&wi!=="AN"?ri="N":gr&&(wi="AN"),ri=wi===qn?wi:"N";break;case"ES":ri=(qn=ui>0?tn[ui-1]:"B")==="EN"&&ui+1<xn.length&&xn[ui+1]==="EN"?"EN":"N";break;case"ET":if(ui>0&&tn[ui-1]==="EN"){ri="EN";break}if(gr){ri="N";break}for(Qn=ui+1,Hi=xn.length;Qn<Hi&&xn[Qn]==="ET";)Qn++;ri=Qn<Hi&&xn[Qn]==="EN"?"EN":"N";break;case"NSM":if(Je&&!vt){for(Hi=xn.length,Qn=ui+1;Qn<Hi&&xn[Qn]==="NSM";)Qn++;if(Qn<Hi){var Mi=Vr[ui],dn=Mi>=1425&&Mi<=2303||Mi===64286;if(qn=xn[Qn],dn&&(qn==="R"||qn==="AL")){ri="R";break}}}ri=ui<1||(qn=xn[ui-1])==="B"?"N":tn[ui-1];break;case"B":gr=!1,We=!0,ri=Sn;break;case"S":Fe=!0,ri="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":gr=!1;break;case"BN":ri="N"}return ri},ti=function(Vr,xn,tn){var ui=Vr.split("");return tn&&bi(ui,tn,{hiLevel:Sn}),ui.reverse(),xn&&xn.reverse(),ui.join("")},bi=function(Vr,xn,tn){var ui,qn,wi,Qn,Hi,ri=-1,Mi=Vr.length,dn=0,Fr=[],bn=Sn?Kt:Nr,Mn=[];for(gr=!1,We=!1,Fe=!1,qn=0;qn<Mi;qn++)Mn[qn]=Pn(Vr[qn]);for(wi=0;wi<Mi;wi++){if(Hi=dn,Fr[wi]=oi(Vr,Mn,Fr,wi),ui=240&(dn=bn[Hi][un[Fr[wi]]]),dn&=15,xn[wi]=Qn=bn[dn][5],ui>0)if(ui===16){for(qn=ri;qn<wi;qn++)xn[qn]=1;ri=-1}else ri=-1;if(bn[dn][6])ri===-1&&(ri=wi);else if(ri>-1){for(qn=ri;qn<wi;qn++)xn[qn]=Qn;ri=-1}Mn[wi]==="B"&&(xn[wi]=0),tn.hiLevel|=Qn}Fe&&function(Xn,$n,hi){for(var fi=0;fi<hi;fi++)if(Xn[fi]==="S"){$n[fi]=Sn;for(var gi=fi-1;gi>=0&&Xn[gi]==="WS";gi--)$n[gi]=Sn}}(Mn,xn,Mi)},Bn=function(Vr,xn,tn,ui,qn){if(!(qn.hiLevel<Vr)){if(Vr===1&&Sn===1&&!We)return xn.reverse(),void(tn&&tn.reverse());for(var wi,Qn,Hi,ri,Mi=xn.length,dn=0;dn<Mi;){if(ui[dn]>=Vr){for(Hi=dn+1;Hi<Mi&&ui[Hi]>=Vr;)Hi++;for(ri=dn,Qn=Hi-1;ri<Qn;ri++,Qn--)wi=xn[ri],xn[ri]=xn[Qn],xn[Qn]=wi,tn&&(wi=tn[ri],tn[ri]=tn[Qn],tn[Qn]=wi);dn=Hi}dn++}}},_i=function(Vr,xn,tn){var ui=Vr.split(""),qn={hiLevel:Sn};return tn||(tn=[]),bi(ui,tn,qn),function(wi,Qn,Hi){if(Hi.hiLevel!==0&&wr)for(var ri,Mi=0;Mi<wi.length;Mi++)Qn[Mi]===1&&(ri=Xr.indexOf(wi[Mi]))>=0&&(wi[Mi]=Xr[ri+1])}(ui,tn,qn),Bn(2,ui,xn,tn,qn),Bn(1,ui,xn,tn,qn),ui.join("")};return this.__bidiEngine__.doBidiReorder=function(gn,Vr,xn){if(function(ui,qn){if(qn)for(var wi=0;wi<ui.length;wi++)qn[wi]=wi;vt===void 0&&(vt=ii(ui)),kt===void 0&&(kt=ii(ui))}(gn,Vr),Je||!st||kt)if(Je&&st&&vt^kt)Sn=vt?1:0,gn=ti(gn,Vr,xn);else if(!Je&&st&&kt)Sn=vt?1:0,gn=_i(gn,Vr,xn),gn=ti(gn,Vr);else if(!Je||vt||st||kt){if(Je&&!st&&vt^kt)gn=ti(gn,Vr),vt?(Sn=0,gn=_i(gn,Vr,xn)):(Sn=1,gn=_i(gn,Vr,xn),gn=ti(gn,Vr));else if(Je&&vt&&!st&&kt)Sn=1,gn=_i(gn,Vr,xn),gn=ti(gn,Vr);else if(!Je&&!st&&vt^kt){var tn=wr;vt?(Sn=1,gn=_i(gn,Vr,xn),Sn=0,wr=!1,gn=_i(gn,Vr,xn),wr=tn):(Sn=0,gn=_i(gn,Vr,xn),gn=ti(gn,Vr),Sn=1,wr=!1,gn=_i(gn,Vr,xn),wr=tn,gn=ti(gn,Vr))}}else Sn=0,gn=_i(gn,Vr,xn);else Sn=vt?1:0,gn=_i(gn,Vr,xn);return gn},this.__bidiEngine__.setOptions=function(gn){gn&&(Je=gn.isInputVisual,st=gn.isOutputVisual,vt=gn.isInputRtl,kt=gn.isOutputRtl,wr=gn.isSymmetricSwapping)},this.__bidiEngine__.setOptions(De),this.__bidiEngine__};var we=["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"],Le=new Ge.__bidiEngine__({isInputVisual:!0});Ge.API.events.push(["postProcessText",function(De){var We=De.text,Fe=(De.x,De.y,De.options||{}),Je=(De.mutex,Fe.lang,[]);if(Fe.isInputVisual=typeof Fe.isInputVisual!="boolean"||Fe.isInputVisual,Le.setOptions(Fe),Object.prototype.toString.call(We)==="[object Array]"){var vt=0;for(Je=[],vt=0;vt<We.length;vt+=1)Object.prototype.toString.call(We[vt])==="[object Array]"?Je.push([Le.doBidiReorder(We[vt][0]),We[vt][1],We[vt][2]]):Je.push([Le.doBidiReorder(We[vt])]);De.text=Je}else De.text=Le.doBidiReorder(We);Le.setOptions({isInputVisual:!0})}])}(j),j.API.TTFFont=function(){function Ge(we){var Le;if(this.rawData=we,Le=this.contents=new Ut(we),this.contents.pos=4,Le.readString(4)==="ttcf")throw new Error("TTCF not supported.");Le.pos=0,this.parse(),this.subset=new Pi(this),this.registerTTF()}return Ge.open=function(we){return new Ge(we)},Ge.prototype.parse=function(){return this.directory=new pt(this.contents),this.head=new Jt(this),this.name=new ir(this),this.cmap=new Pt(this),this.toUnicode={},this.hhea=new At(this),this.maxp=new Yr(this),this.hmtx=new Jr(this),this.post=new pr(this),this.os2=new Ft(this),this.loca=new vi(this),this.glyf=new Nn(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]},Ge.prototype.registerTTF=function(){var we,Le,De,We,Fe;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var Je,vt,st,kt;for(kt=[],Je=0,vt=(st=this.bbox).length;Je<vt;Je++)we=st[Je],kt.push(Math.round(we*this.scaleFactor));return kt}.call(this),this.stemV=0,this.post.exists?(De=255&(We=this.post.italic_angle),(32768&(Le=We>>16))!=0&&(Le=-(1+(65535^Le))),this.italicAngle=+(Le+"."+De)):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=(Fe=this.familyClass)===1||Fe===2||Fe===3||Fe===4||Fe===5||Fe===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")},Ge.prototype.characterToGlyph=function(we){var Le;return((Le=this.cmap.unicode)!=null?Le.codeMap[we]:void 0)||0},Ge.prototype.widthOfGlyph=function(we){var Le;return Le=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(we).advance*Le},Ge.prototype.widthOfString=function(we,Le,De){var We,Fe,Je,vt;for(Je=0,Fe=0,vt=(we=""+we).length;0<=vt?Fe<vt:Fe>vt;Fe=0<=vt?++Fe:--Fe)We=we.charCodeAt(Fe),Je+=this.widthOfGlyph(this.characterToGlyph(We))+De*(1e3/Le)||0;return Je*(Le/1e3)},Ge.prototype.lineHeight=function(we,Le){var De;return Le==null&&(Le=!1),De=Le?this.lineGap:0,(this.ascender+De-this.decender)/1e3*we},Ge}();var cn,Ut=function(){function Ge(we){this.data=we!=null?we:[],this.pos=0,this.length=this.data.length}return Ge.prototype.readByte=function(){return this.data[this.pos++]},Ge.prototype.writeByte=function(we){return this.data[this.pos++]=we},Ge.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},Ge.prototype.writeUInt32=function(we){return this.writeByte(we>>>24&255),this.writeByte(we>>16&255),this.writeByte(we>>8&255),this.writeByte(255&we)},Ge.prototype.readInt32=function(){var we;return(we=this.readUInt32())>=2147483648?we-4294967296:we},Ge.prototype.writeInt32=function(we){return we<0&&(we+=4294967296),this.writeUInt32(we)},Ge.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},Ge.prototype.writeUInt16=function(we){return this.writeByte(we>>8&255),this.writeByte(255&we)},Ge.prototype.readInt16=function(){var we;return(we=this.readUInt16())>=32768?we-65536:we},Ge.prototype.writeInt16=function(we){return we<0&&(we+=65536),this.writeUInt16(we)},Ge.prototype.readString=function(we){var Le,De;for(De=[],Le=0;0<=we?Le<we:Le>we;Le=0<=we?++Le:--Le)De[Le]=String.fromCharCode(this.readByte());return De.join("")},Ge.prototype.writeString=function(we){var Le,De,We;for(We=[],Le=0,De=we.length;0<=De?Le<De:Le>De;Le=0<=De?++Le:--Le)We.push(this.writeByte(we.charCodeAt(Le)));return We},Ge.prototype.readShort=function(){return this.readInt16()},Ge.prototype.writeShort=function(we){return this.writeInt16(we)},Ge.prototype.readLongLong=function(){var we,Le,De,We,Fe,Je,vt,st;return we=this.readByte(),Le=this.readByte(),De=this.readByte(),We=this.readByte(),Fe=this.readByte(),Je=this.readByte(),vt=this.readByte(),st=this.readByte(),128&we?-1*(72057594037927940*(255^we)+281474976710656*(255^Le)+1099511627776*(255^De)+4294967296*(255^We)+16777216*(255^Fe)+65536*(255^Je)+256*(255^vt)+(255^st)+1):72057594037927940*we+281474976710656*Le+1099511627776*De+4294967296*We+16777216*Fe+65536*Je+256*vt+st},Ge.prototype.writeLongLong=function(we){var Le,De;return Le=Math.floor(we/4294967296),De=4294967295&we,this.writeByte(Le>>24&255),this.writeByte(Le>>16&255),this.writeByte(Le>>8&255),this.writeByte(255&Le),this.writeByte(De>>24&255),this.writeByte(De>>16&255),this.writeByte(De>>8&255),this.writeByte(255&De)},Ge.prototype.readInt=function(){return this.readInt32()},Ge.prototype.writeInt=function(we){return this.writeInt32(we)},Ge.prototype.read=function(we){var Le,De;for(Le=[],De=0;0<=we?De<we:De>we;De=0<=we?++De:--De)Le.push(this.readByte());return Le},Ge.prototype.write=function(we){var Le,De,We,Fe;for(Fe=[],De=0,We=we.length;De<We;De++)Le=we[De],Fe.push(this.writeByte(Le));return Fe},Ge}(),pt=function(){var Ge;function we(Le){var De,We,Fe;for(this.scalarType=Le.readInt(),this.tableCount=Le.readShort(),this.searchRange=Le.readShort(),this.entrySelector=Le.readShort(),this.rangeShift=Le.readShort(),this.tables={},We=0,Fe=this.tableCount;0<=Fe?We<Fe:We>Fe;We=0<=Fe?++We:--We)De={tag:Le.readString(4),checksum:Le.readInt(),offset:Le.readInt(),length:Le.readInt()},this.tables[De.tag]=De}return we.prototype.encode=function(Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr,Kt,un,ar;for(ar in Kt=Object.keys(Le).length,st=Math.log(2),hr=16*Math.floor(Math.log(Kt)/st),Je=Math.floor(hr/st),wr=16*Kt-hr,(We=new Ut).writeInt(this.scalarType),We.writeShort(Kt),We.writeShort(hr),We.writeShort(Je),We.writeShort(wr),Fe=16*Kt,kt=We.pos+Fe,vt=null,un=[],Le)for(Nr=Le[ar],We.writeString(ar),We.writeInt(Ge(Nr)),We.writeInt(kt),We.writeInt(Nr.length),un=un.concat(Nr),ar==="head"&&(vt=kt),kt+=Nr.length;kt%4;)un.push(0),kt++;return We.write(un),De=2981146554-Ge(We.data),We.pos=vt+8,We.writeUInt32(De),We.data},Ge=function(De){var We,Fe,Je,vt;for(De=_n.call(De);De.length%4;)De.push(0);for(Je=new Ut(De),Fe=0,We=0,vt=De.length;We<vt;We=We+=4)Fe+=Je.readUInt32();return 4294967295&Fe},we}(),ct={}.hasOwnProperty,Qt=function(we,Le){for(var De in Le)ct.call(Le,De)&&(we[De]=Le[De]);function We(){this.constructor=we}return We.prototype=Le.prototype,we.prototype=new We,we.__super__=Le.prototype,we};cn=function(){function Ge(we){var Le;this.file=we,Le=this.file.directory.tables[this.tag],this.exists=!!Le,Le&&(this.offset=Le.offset,this.length=Le.length,this.parse(this.file.contents))}return Ge.prototype.parse=function(){},Ge.prototype.encode=function(){},Ge.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},Ge}();var Jt=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="head",we.prototype.parse=function(Le){return Le.pos=this.offset,this.version=Le.readInt(),this.revision=Le.readInt(),this.checkSumAdjustment=Le.readInt(),this.magicNumber=Le.readInt(),this.flags=Le.readShort(),this.unitsPerEm=Le.readShort(),this.created=Le.readLongLong(),this.modified=Le.readLongLong(),this.xMin=Le.readShort(),this.yMin=Le.readShort(),this.xMax=Le.readShort(),this.yMax=Le.readShort(),this.macStyle=Le.readShort(),this.lowestRecPPEM=Le.readShort(),this.fontDirectionHint=Le.readShort(),this.indexToLocFormat=Le.readShort(),this.glyphDataFormat=Le.readShort()},we.prototype.encode=function(Le){var De;return(De=new Ut).writeInt(this.version),De.writeInt(this.revision),De.writeInt(this.checkSumAdjustment),De.writeInt(this.magicNumber),De.writeShort(this.flags),De.writeShort(this.unitsPerEm),De.writeLongLong(this.created),De.writeLongLong(this.modified),De.writeShort(this.xMin),De.writeShort(this.yMin),De.writeShort(this.xMax),De.writeShort(this.yMax),De.writeShort(this.macStyle),De.writeShort(this.lowestRecPPEM),De.writeShort(this.fontDirectionHint),De.writeShort(Le),De.writeShort(this.glyphDataFormat),De.data},we}(),yt=function(){function Ge(we,Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr,kr,gr,Sn;switch(this.platformID=we.readUInt16(),this.encodingID=we.readShort(),this.offset=Le+we.readInt(),hr=we.pos,we.pos=this.offset,this.format=we.readUInt16(),this.length=we.readUInt16(),this.language=we.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(st=0;st<256;++st)this.codeMap[st]=we.readByte();break;case 4:for(Kt=we.readUInt16(),Nr=Kt/2,we.pos+=6,Fe=function(){var Pn,ii;for(ii=[],st=Pn=0;0<=Nr?Pn<Nr:Pn>Nr;st=0<=Nr?++Pn:--Pn)ii.push(we.readUInt16());return ii}(),we.pos+=2,ar=function(){var Pn,ii;for(ii=[],st=Pn=0;0<=Nr?Pn<Nr:Pn>Nr;st=0<=Nr?++Pn:--Pn)ii.push(we.readUInt16());return ii}(),kt=function(){var Pn,ii;for(ii=[],st=Pn=0;0<=Nr?Pn<Nr:Pn>Nr;st=0<=Nr?++Pn:--Pn)ii.push(we.readUInt16());return ii}(),wr=function(){var Pn,ii;for(ii=[],st=Pn=0;0<=Nr?Pn<Nr:Pn>Nr;st=0<=Nr?++Pn:--Pn)ii.push(we.readUInt16());return ii}(),We=(this.length-we.pos+this.offset)/2,vt=function(){var Pn,ii;for(ii=[],st=Pn=0;0<=We?Pn<We:Pn>We;st=0<=We?++Pn:--Pn)ii.push(we.readUInt16());return ii}(),st=kr=0,Sn=Fe.length;kr<Sn;st=++kr)for(Xr=Fe[st],De=gr=un=ar[st];un<=Xr?gr<=Xr:gr>=Xr;De=un<=Xr?++gr:--gr)wr[st]===0?Je=De+kt[st]:(Je=vt[wr[st]/2+(De-un)-(Nr-st)]||0)!==0&&(Je+=kt[st]),this.codeMap[De]=65535&Je}we.pos=hr}return Ge.encode=function(we,Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr,kr,gr,Sn,Pn,ii,oi,ti,bi,Bn,_i,gn,Vr,xn,tn,ui,qn,wi,Qn,Hi,ri,Mi,dn,Fr,bn,Mn,Xn,$n,hi,fi,gi,Wi,na;switch(tn=new Ut,Je=Object.keys(we).sort(function($i,Ha){return $i-Ha}),Le){case"macroman":for(ar=0,Xr=function(){var $i=[];for(un=0;un<256;++un)$i.push(0);return $i}(),gr={0:0},Fe={},ui=0,Hi=Je.length;ui<Hi;ui++)gr[fi=we[We=Je[ui]]]==null&&(gr[fi]=++ar),Fe[We]={old:we[We],new:gr[we[We]]},Xr[We]=gr[we[We]];return tn.writeUInt16(1),tn.writeUInt16(0),tn.writeUInt32(12),tn.writeUInt16(0),tn.writeUInt16(262),tn.writeUInt16(0),tn.write(Xr),{charMap:Fe,subtable:tn.data,maxGlyphID:ar+1};case"unicode":for(Vr=[],hr=[],Sn=0,gr={},De={},kr=kt=null,qn=0,ri=Je.length;qn<ri;qn++)gr[ii=we[We=Je[qn]]]==null&&(gr[ii]=++Sn),De[We]={old:ii,new:gr[ii]},vt=gr[ii]-We,kr!=null&&vt===kt||(kr&&hr.push(kr),Vr.push(We),kt=vt),kr=We;for(kr&&hr.push(kr),hr.push(65535),Vr.push(65535),_i=2*(Bn=Vr.length),bi=2*Math.pow(Math.log(Bn)/Math.LN2,2),Nr=Math.log(bi/2)/Math.LN2,ti=2*Bn-bi,st=[],oi=[],Kt=[],un=wi=0,Mi=Vr.length;wi<Mi;un=++wi){if(gn=Vr[un],wr=hr[un],gn===65535){st.push(0),oi.push(0);break}if(gn-(xn=De[gn].new)>=32768)for(st.push(0),oi.push(2*(Kt.length+Bn-un)),We=Qn=gn;gn<=wr?Qn<=wr:Qn>=wr;We=gn<=wr?++Qn:--Qn)Kt.push(De[We].new);else st.push(xn-gn),oi.push(0)}for(tn.writeUInt16(3),tn.writeUInt16(1),tn.writeUInt32(12),tn.writeUInt16(4),tn.writeUInt16(16+8*Bn+2*Kt.length),tn.writeUInt16(0),tn.writeUInt16(_i),tn.writeUInt16(bi),tn.writeUInt16(Nr),tn.writeUInt16(ti),$n=0,dn=hr.length;$n<dn;$n++)We=hr[$n],tn.writeUInt16(We);for(tn.writeUInt16(0),hi=0,Fr=Vr.length;hi<Fr;hi++)We=Vr[hi],tn.writeUInt16(We);for(gi=0,bn=st.length;gi<bn;gi++)vt=st[gi],tn.writeUInt16(vt);for(Wi=0,Mn=oi.length;Wi<Mn;Wi++)Pn=oi[Wi],tn.writeUInt16(Pn);for(na=0,Xn=Kt.length;na<Xn;na++)ar=Kt[na],tn.writeUInt16(ar);return{charMap:De,subtable:tn.data,maxGlyphID:Sn+1}}},Ge}(),Pt=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="cmap",we.prototype.parse=function(Le){var De,We,Fe;for(Le.pos=this.offset,this.version=Le.readUInt16(),Fe=Le.readUInt16(),this.tables=[],this.unicode=null,We=0;0<=Fe?We<Fe:We>Fe;We=0<=Fe?++We:--We)De=new yt(Le,this.offset),this.tables.push(De),De.isUnicode&&this.unicode==null&&(this.unicode=De);return!0},we.encode=function(Le,De){var We,Fe;return De==null&&(De="macroman"),We=yt.encode(Le,De),(Fe=new Ut).writeUInt16(0),Fe.writeUInt16(1),We.table=Fe.data.concat(We.subtable),We},we}(),At=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="hhea",we.prototype.parse=function(Le){return Le.pos=this.offset,this.version=Le.readInt(),this.ascender=Le.readShort(),this.decender=Le.readShort(),this.lineGap=Le.readShort(),this.advanceWidthMax=Le.readShort(),this.minLeftSideBearing=Le.readShort(),this.minRightSideBearing=Le.readShort(),this.xMaxExtent=Le.readShort(),this.caretSlopeRise=Le.readShort(),this.caretSlopeRun=Le.readShort(),this.caretOffset=Le.readShort(),Le.pos+=8,this.metricDataFormat=Le.readShort(),this.numberOfMetrics=Le.readUInt16()},we}(),Ft=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="OS/2",we.prototype.parse=function(Le){if(Le.pos=this.offset,this.version=Le.readUInt16(),this.averageCharWidth=Le.readShort(),this.weightClass=Le.readUInt16(),this.widthClass=Le.readUInt16(),this.type=Le.readShort(),this.ySubscriptXSize=Le.readShort(),this.ySubscriptYSize=Le.readShort(),this.ySubscriptXOffset=Le.readShort(),this.ySubscriptYOffset=Le.readShort(),this.ySuperscriptXSize=Le.readShort(),this.ySuperscriptYSize=Le.readShort(),this.ySuperscriptXOffset=Le.readShort(),this.ySuperscriptYOffset=Le.readShort(),this.yStrikeoutSize=Le.readShort(),this.yStrikeoutPosition=Le.readShort(),this.familyClass=Le.readShort(),this.panose=function(){var De,We;for(We=[],De=0;De<10;++De)We.push(Le.readByte());return We}(),this.charRange=function(){var De,We;for(We=[],De=0;De<4;++De)We.push(Le.readInt());return We}(),this.vendorID=Le.readString(4),this.selection=Le.readShort(),this.firstCharIndex=Le.readShort(),this.lastCharIndex=Le.readShort(),this.version>0&&(this.ascent=Le.readShort(),this.descent=Le.readShort(),this.lineGap=Le.readShort(),this.winAscent=Le.readShort(),this.winDescent=Le.readShort(),this.codePageRange=function(){var De,We;for(We=[],De=0;De<2;De=++De)We.push(Le.readInt());return We}(),this.version>1))return this.xHeight=Le.readShort(),this.capHeight=Le.readShort(),this.defaultChar=Le.readShort(),this.breakChar=Le.readShort(),this.maxContext=Le.readShort()},we}(),pr=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="post",we.prototype.parse=function(Le){var De,We,Fe;switch(Le.pos=this.offset,this.format=Le.readInt(),this.italicAngle=Le.readInt(),this.underlinePosition=Le.readShort(),this.underlineThickness=Le.readShort(),this.isFixedPitch=Le.readInt(),this.minMemType42=Le.readInt(),this.maxMemType42=Le.readInt(),this.minMemType1=Le.readInt(),this.maxMemType1=Le.readInt(),this.format){case 65536:break;case 131072:var Je;for(We=Le.readUInt16(),this.glyphNameIndex=[],Je=0;0<=We?Je<We:Je>We;Je=0<=We?++Je:--Je)this.glyphNameIndex.push(Le.readUInt16());for(this.names=[],Fe=[];Le.pos<this.offset+this.length;)De=Le.readByte(),Fe.push(this.names.push(Le.readString(De)));return Fe;case 151552:return We=Le.readUInt16(),this.offsets=Le.read(We);case 196608:break;case 262144:return this.map=function(){var vt,st,kt;for(kt=[],Je=vt=0,st=this.file.maxp.numGlyphs;0<=st?vt<st:vt>st;Je=0<=st?++vt:--vt)kt.push(Le.readUInt32());return kt}.call(this)}},we}(),or=function(we,Le){this.raw=we,this.length=we.length,this.platformID=Le.platformID,this.encodingID=Le.encodingID,this.languageID=Le.languageID},ir=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="name",we.prototype.parse=function(Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr,Kt;for(Le.pos=this.offset,Le.readShort(),De=Le.readShort(),st=Le.readShort(),We=[],Je=0;0<=De?Je<De:Je>De;Je=0<=De?++Je:--Je)We.push({platformID:Le.readShort(),encodingID:Le.readShort(),languageID:Le.readShort(),nameID:Le.readShort(),length:Le.readShort(),offset:this.offset+st+Le.readShort()});for(kt={},Je=hr=0,Nr=We.length;hr<Nr;Je=++hr)Fe=We[Je],Le.pos=Fe.offset,wr=Le.readString(Fe.length),vt=new or(wr,Fe),kt[Kt=Fe.nameID]==null&&(kt[Kt]=[]),kt[Fe.nameID].push(vt);this.strings=kt,this.copyright=kt[0],this.fontFamily=kt[1],this.fontSubfamily=kt[2],this.uniqueSubfamily=kt[3],this.fontName=kt[4],this.version=kt[5];try{this.postscriptName=kt[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(un){this.postscriptName=kt[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=kt[7],this.manufacturer=kt[8],this.designer=kt[9],this.description=kt[10],this.vendorUrl=kt[11],this.designerUrl=kt[12],this.license=kt[13],this.licenseUrl=kt[14],this.preferredFamily=kt[15],this.preferredSubfamily=kt[17],this.compatibleFull=kt[18],this.sampleText=kt[19]},we}(),Yr=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="maxp",we.prototype.parse=function(Le){return Le.pos=this.offset,this.version=Le.readInt(),this.numGlyphs=Le.readUInt16(),this.maxPoints=Le.readUInt16(),this.maxContours=Le.readUInt16(),this.maxCompositePoints=Le.readUInt16(),this.maxComponentContours=Le.readUInt16(),this.maxZones=Le.readUInt16(),this.maxTwilightPoints=Le.readUInt16(),this.maxStorage=Le.readUInt16(),this.maxFunctionDefs=Le.readUInt16(),this.maxInstructionDefs=Le.readUInt16(),this.maxStackElements=Le.readUInt16(),this.maxSizeOfInstructions=Le.readUInt16(),this.maxComponentElements=Le.readUInt16(),this.maxComponentDepth=Le.readUInt16()},we}(),Jr=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="hmtx",we.prototype.parse=function(Le){var De,We,Fe,Je,vt,st,kt;for(Le.pos=this.offset,this.metrics=[],De=0,st=this.file.hhea.numberOfMetrics;0<=st?De<st:De>st;De=0<=st?++De:--De)this.metrics.push({advance:Le.readUInt16(),lsb:Le.readInt16()});for(Fe=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var wr,hr;for(hr=[],De=wr=0;0<=Fe?wr<Fe:wr>Fe;De=0<=Fe?++wr:--wr)hr.push(Le.readInt16());return hr}(),this.widths=function(){var wr,hr,Nr,Kt;for(Kt=[],wr=0,hr=(Nr=this.metrics).length;wr<hr;wr++)Je=Nr[wr],Kt.push(Je.advance);return Kt}.call(this),We=this.widths[this.widths.length-1],kt=[],De=vt=0;0<=Fe?vt<Fe:vt>Fe;De=0<=Fe?++vt:--vt)kt.push(this.widths.push(We));return kt},we.prototype.forGlyph=function(Le){return Le in this.metrics?this.metrics[Le]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[Le-this.metrics.length]}},we}(),_n=[].slice,Nn=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="glyf",we.prototype.parse=function(){return this.cache={}},we.prototype.glyphFor=function(Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr;return Le in this.cache?this.cache[Le]:(Je=this.file.loca,De=this.file.contents,We=Je.indexOf(Le),(Fe=Je.lengthOf(Le))===0?this.cache[Le]=null:(De.pos=this.offset+We,vt=(st=new Ut(De.read(Fe))).readShort(),wr=st.readShort(),Nr=st.readShort(),kt=st.readShort(),hr=st.readShort(),this.cache[Le]=vt===-1?new ei(st,wr,Nr,kt,hr):new zn(st,vt,wr,Nr,kt,hr),this.cache[Le]))},we.prototype.encode=function(Le,De,We){var Fe,Je,vt,st,kt;for(vt=[],Je=[],st=0,kt=De.length;st<kt;st++)Fe=Le[De[st]],Je.push(vt.length),Fe&&(vt=vt.concat(Fe.encode(We)));return Je.push(vt.length),{table:vt,offsets:Je}},we}(),zn=function(){function Ge(we,Le,De,We,Fe,Je){this.raw=we,this.numberOfContours=Le,this.xMin=De,this.yMin=We,this.xMax=Fe,this.yMax=Je,this.compound=!1}return Ge.prototype.encode=function(){return this.raw.data},Ge}(),ei=function(){function Ge(we,Le,De,We,Fe){var Je,vt;for(this.raw=we,this.xMin=Le,this.yMin=De,this.xMax=We,this.yMax=Fe,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],Je=this.raw;vt=Je.readShort(),this.glyphOffsets.push(Je.pos),this.glyphIDs.push(Je.readUInt16()),32&vt;)Je.pos+=1&vt?4:2,128&vt?Je.pos+=8:64&vt?Je.pos+=4:8&vt&&(Je.pos+=2)}return Ge.prototype.encode=function(){var we,Le,De;for(Le=new Ut(_n.call(this.raw.data)),we=0,De=this.glyphIDs.length;we<De;++we)Le.pos=this.glyphOffsets[we];return Le.data},Ge}(),vi=function(Ge){function we(){return we.__super__.constructor.apply(this,arguments)}return Qt(we,cn),we.prototype.tag="loca",we.prototype.parse=function(Le){var De,We;return Le.pos=this.offset,De=this.file.head.indexToLocFormat,this.offsets=De===0?function(){var Fe,Je;for(Je=[],We=0,Fe=this.length;We<Fe;We+=2)Je.push(2*Le.readUInt16());return Je}.call(this):function(){var Fe,Je;for(Je=[],We=0,Fe=this.length;We<Fe;We+=4)Je.push(Le.readUInt32());return Je}.call(this)},we.prototype.indexOf=function(Le){return this.offsets[Le]},we.prototype.lengthOf=function(Le){return this.offsets[Le+1]-this.offsets[Le]},we.prototype.encode=function(Le,De){for(var We=new Uint32Array(this.offsets.length),Fe=0,Je=0,vt=0;vt<We.length;++vt)if(We[vt]=Fe,Je<De.length&&De[Je]==vt){++Je,We[vt]=Fe;var st=this.offsets[vt],kt=this.offsets[vt+1]-st;kt>0&&(Fe+=kt)}for(var wr=new Array(4*We.length),hr=0;hr<We.length;++hr)wr[4*hr+3]=255&We[hr],wr[4*hr+2]=(65280&We[hr])>>8,wr[4*hr+1]=(16711680&We[hr])>>16,wr[4*hr]=(4278190080&We[hr])>>24;return wr},we}(),Pi=function(){function Ge(we){this.font=we,this.subset={},this.unicodes={},this.next=33}return Ge.prototype.generateCmap=function(){var we,Le,De,We,Fe;for(Le in We=this.font.cmap.tables[0].codeMap,we={},Fe=this.subset)De=Fe[Le],we[Le]=We[De];return we},Ge.prototype.glyphsFor=function(we){var Le,De,We,Fe,Je,vt,st;for(We={},Je=0,vt=we.length;Je<vt;Je++)We[Fe=we[Je]]=this.font.glyf.glyphFor(Fe);for(Fe in Le=[],We)((De=We[Fe])!=null?De.compound:void 0)&&Le.push.apply(Le,De.glyphIDs);if(Le.length>0)for(Fe in st=this.glyphsFor(Le))De=st[Fe],We[Fe]=De;return We},Ge.prototype.encode=function(we,Le){var De,We,Fe,Je,vt,st,kt,wr,hr,Nr,Kt,un,ar,Xr,kr;for(We in De=Pt.encode(this.generateCmap(),"unicode"),Je=this.glyphsFor(we),Kt={0:0},kr=De.charMap)Kt[(st=kr[We]).old]=st.new;for(un in Nr=De.maxGlyphID,Je)un in Kt||(Kt[un]=Nr++);return wr=function(gr){var Sn,Pn;for(Sn in Pn={},gr)Pn[gr[Sn]]=Sn;return Pn}(Kt),hr=Object.keys(wr).sort(function(gr,Sn){return gr-Sn}),ar=function(){var gr,Sn,Pn;for(Pn=[],gr=0,Sn=hr.length;gr<Sn;gr++)vt=hr[gr],Pn.push(wr[vt]);return Pn}(),Fe=this.font.glyf.encode(Je,ar,Kt),kt=this.font.loca.encode(Fe.offsets,ar),Xr={cmap:this.font.cmap.raw(),glyf:Fe.table,loca:kt,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(Le)},this.font.os2.exists&&(Xr["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Xr)},Ge}();j.API.PDFObject=function(){var Ge;function we(){}return Ge=function(De,We){return(Array(We+1).join("0")+De).slice(-We)},we.convert=function(Le){var De,We,Fe,Je;if(Array.isArray(Le))return"["+function(){var vt,st,kt;for(kt=[],vt=0,st=Le.length;vt<st;vt++)De=Le[vt],kt.push(we.convert(De));return kt}().join(" ")+"]";if(typeof Le=="string")return"/"+Le;if(Le!=null?Le.isString:void 0)return"("+Le+")";if(Le instanceof Date)return"(D:"+Ge(Le.getUTCFullYear(),4)+Ge(Le.getUTCMonth(),2)+Ge(Le.getUTCDate(),2)+Ge(Le.getUTCHours(),2)+Ge(Le.getUTCMinutes(),2)+Ge(Le.getUTCSeconds(),2)+"Z)";if({}.toString.call(Le)==="[object Object]"){for(We in Fe=["<<"],Le)Je=Le[We],Fe.push("/"+We+" "+we.convert(Je));return Fe.push(">>"),Fe.join(`
`)}return""+Le},we}(),z.default=j}.call(this,d("yLpj"))},e5VY:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("YNAk"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},eIcI:function(ue,z,d){var O=d("bYtY"),_=d("hM6l");function I(C,t,p){_.call(this,C,t,p),this.type="value",this.angle=0,this.name="",this.model}O.inherits(I,_);var E=I;ue.exports=E},eJH7:function(ue,z,d){var O=d("bYtY");function _(I){var E=I.polar;if(E){O.isArray(E)||(E=[E]);var C=[];O.each(E,function(t,p){t.indicator?(t.type&&!t.shape&&(t.shape=t.type),I.radar=I.radar||[],O.isArray(I.radar)||(I.radar=[I.radar]),I.radar.push(t)):C.push(t)}),I.polar=C}O.each(I.series,function(t){t&&t.type==="radar"&&t.polarIndex&&(t.radarIndex=t.polarIndex)})}ue.exports=_},eP3c:function(ue,z,d){"use strict";function O(Be){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(q){return typeof q}:O=function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q},O(Be)}Object.defineProperty(z,"__esModule",{value:!0}),z.inflateReset=pe,z.inflateReset2=ae,z.inflateResetKeep=He,z.inflateInit=be,z.inflateInit2=re,z.inflate=bt,z.inflateEnd=wt,z.inflateGetHeader=Et,z.inflateSetDictionary=xt,z.inflateInfo=z.Z_DEFLATED=z.Z_BUF_ERROR=z.Z_MEM_ERROR=z.Z_DATA_ERROR=z.Z_STREAM_ERROR=z.Z_NEED_DICT=z.Z_STREAM_END=z.Z_OK=z.Z_TREES=z.Z_BLOCK=z.Z_FINISH=void 0;var _=o(d("6BzB")),I=p(d("xlC8")),E=p(d("QV2g")),C=p(d("sjKO")),t=p(d("JSwD"));function p(Be){return Be&&Be.__esModule?Be:{default:Be}}function h(){if(typeof WeakMap!="function")return null;var Be=new WeakMap;return h=function(){return Be},Be}function o(Be){if(Be&&Be.__esModule)return Be;if(Be===null||O(Be)!=="object"&&typeof Be!="function")return{default:Be};var ce=h();if(ce&&ce.has(Be))return ce.get(Be);var q={},dt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ve in Be)if(Object.prototype.hasOwnProperty.call(Be,Ve)){var de=dt?Object.getOwnPropertyDescriptor(Be,Ve):null;de&&(de.get||de.set)?Object.defineProperty(q,Ve,de):q[Ve]=Be[Ve]}return q.default=Be,ce&&ce.set(Be,q),q}var r=0,s=1,l=2,n=4;z.Z_FINISH=n;var c=5;z.Z_BLOCK=c;var e=6;z.Z_TREES=e;var a=0;z.Z_OK=a;var i=1;z.Z_STREAM_END=i;var u=2;z.Z_NEED_DICT=u;var f=-2;z.Z_STREAM_ERROR=f;var m=-3;z.Z_DATA_ERROR=m;var A=-4;z.Z_MEM_ERROR=A;var g=-5;z.Z_BUF_ERROR=g;var v=8;z.Z_DEFLATED=v;var b=1,S=2,y=3,w=4,x=5,T=6,L=7,R=8,P=9,k=10,U=11,D=12,M=13,B=14,j=15,H=16,K=17,W=18,X=19,V=20,Z=21,G=22,Y=23,te=24,se=25,Ce=26,he=27,xe=28,ie=29,ee=30,Ze=31,Se=32,Ne=852,it=592,Ye=15,nt=Ye;function je(Be){return(Be>>>24&255)+(Be>>>8&65280)+((Be&65280)<<8)+((Be&255)<<24)}function et(){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 _.Buf16(320),this.work=new _.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function He(Be){var ce;return!Be||!Be.state?f:(ce=Be.state,Be.total_in=Be.total_out=ce.total=0,Be.msg="",ce.wrap&&(Be.adler=ce.wrap&1),ce.mode=b,ce.last=0,ce.havedict=0,ce.dmax=32768,ce.head=null,ce.hold=0,ce.bits=0,ce.lencode=ce.lendyn=new _.Buf32(Ne),ce.distcode=ce.distdyn=new _.Buf32(it),ce.sane=1,ce.back=-1,a)}function pe(Be){var ce;return!Be||!Be.state?f:(ce=Be.state,ce.wsize=0,ce.whave=0,ce.wnext=0,He(Be))}function ae(Be,ce){var q,dt;return!Be||!Be.state?f:(dt=Be.state,ce<0?(q=0,ce=-ce):(q=(ce>>4)+1,ce<48&&(ce&=15)),ce&&(ce<8||ce>15)?f:(dt.window!==null&&dt.wbits!==ce&&(dt.window=null),dt.wrap=q,dt.wbits=ce,pe(Be)))}function re(Be,ce){var q,dt;return Be?(dt=new et,Be.state=dt,dt.window=null,q=ae(Be,ce),q!==a&&(Be.state=null),q):f}function be(Be){return re(Be,nt)}var ze=!0,Ke,Te;function gt(Be){if(ze){var ce;for(Ke=new _.Buf32(512),Te=new _.Buf32(32),ce=0;ce<144;)Be.lens[ce++]=8;for(;ce<256;)Be.lens[ce++]=9;for(;ce<280;)Be.lens[ce++]=7;for(;ce<288;)Be.lens[ce++]=8;for((0,t.default)(s,Be.lens,0,288,Ke,0,Be.work,{bits:9}),ce=0;ce<32;)Be.lens[ce++]=5;(0,t.default)(l,Be.lens,0,32,Te,0,Be.work,{bits:5}),ze=!1}Be.lencode=Ke,Be.lenbits=9,Be.distcode=Te,Be.distbits=5}function Ue(Be,ce,q,dt){var Ve,de=Be.state;return de.window===null&&(de.wsize=1<<de.wbits,de.wnext=0,de.whave=0,de.window=new _.Buf8(de.wsize)),dt>=de.wsize?(_.arraySet(de.window,ce,q-de.wsize,de.wsize,0),de.wnext=0,de.whave=de.wsize):(Ve=de.wsize-de.wnext,Ve>dt&&(Ve=dt),_.arraySet(de.window,ce,q-dt,Ve,de.wnext),dt-=Ve,dt?(_.arraySet(de.window,ce,q-dt,dt,0),de.wnext=dt,de.whave=de.wsize):(de.wnext+=Ve,de.wnext===de.wsize&&(de.wnext=0),de.whave<de.wsize&&(de.whave+=Ve))),0}function bt(Be,ce){var q,dt,Ve,de,Ht,tr,lt,Xt,sr,Kr,rr,nr,Nt,ot,Qe=0,qt,xr,vr,fr,An,$r,Ln,$e,tt=new _.Buf8(4),ve,_e,ke=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!Be||!Be.state||!Be.output||!Be.input&&Be.avail_in!==0)return f;q=Be.state,q.mode===D&&(q.mode=M),Ht=Be.next_out,Ve=Be.output,lt=Be.avail_out,de=Be.next_in,dt=Be.input,tr=Be.avail_in,Xt=q.hold,sr=q.bits,Kr=tr,rr=lt,$e=a;e:for(;;)switch(q.mode){case b:if(q.wrap===0){q.mode=M;break}for(;sr<16;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(q.wrap&2&&Xt===35615){q.check=0,tt[0]=Xt&255,tt[1]=Xt>>>8&255,q.check=(0,E.default)(q.check,tt,2,0),Xt=0,sr=0,q.mode=S;break}if(q.flags=0,q.head&&(q.head.done=!1),!(q.wrap&1)||(((Xt&255)<<8)+(Xt>>8))%31){Be.msg="incorrect header check",q.mode=ee;break}if((Xt&15)!==v){Be.msg="unknown compression method",q.mode=ee;break}if(Xt>>>=4,sr-=4,Ln=(Xt&15)+8,q.wbits===0)q.wbits=Ln;else if(Ln>q.wbits){Be.msg="invalid window size",q.mode=ee;break}q.dmax=1<<Ln,Be.adler=q.check=1,q.mode=Xt&512?k:D,Xt=0,sr=0;break;case S:for(;sr<16;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(q.flags=Xt,(q.flags&255)!==v){Be.msg="unknown compression method",q.mode=ee;break}if(q.flags&57344){Be.msg="unknown header flags set",q.mode=ee;break}q.head&&(q.head.text=Xt>>8&1),q.flags&512&&(tt[0]=Xt&255,tt[1]=Xt>>>8&255,q.check=(0,E.default)(q.check,tt,2,0)),Xt=0,sr=0,q.mode=y;case y:for(;sr<32;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.head&&(q.head.time=Xt),q.flags&512&&(tt[0]=Xt&255,tt[1]=Xt>>>8&255,tt[2]=Xt>>>16&255,tt[3]=Xt>>>24&255,q.check=(0,E.default)(q.check,tt,4,0)),Xt=0,sr=0,q.mode=w;case w:for(;sr<16;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.head&&(q.head.xflags=Xt&255,q.head.os=Xt>>8),q.flags&512&&(tt[0]=Xt&255,tt[1]=Xt>>>8&255,q.check=(0,E.default)(q.check,tt,2,0)),Xt=0,sr=0,q.mode=x;case x:if(q.flags&1024){for(;sr<16;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.length=Xt,q.head&&(q.head.extra_len=Xt),q.flags&512&&(tt[0]=Xt&255,tt[1]=Xt>>>8&255,q.check=(0,E.default)(q.check,tt,2,0)),Xt=0,sr=0}else q.head&&(q.head.extra=null);q.mode=T;case T:if(q.flags&1024&&(nr=q.length,nr>tr&&(nr=tr),nr&&(q.head&&(Ln=q.head.extra_len-q.length,q.head.extra||(q.head.extra=new Array(q.head.extra_len)),_.arraySet(q.head.extra,dt,de,nr,Ln)),q.flags&512&&(q.check=(0,E.default)(q.check,dt,nr,de)),tr-=nr,de+=nr,q.length-=nr),q.length))break e;q.length=0,q.mode=L;case L:if(q.flags&2048){if(tr===0)break e;nr=0;do Ln=dt[de+nr++],q.head&&Ln&&q.length<65536&&(q.head.name+=String.fromCharCode(Ln));while(Ln&&nr<tr);if(q.flags&512&&(q.check=(0,E.default)(q.check,dt,nr,de)),tr-=nr,de+=nr,Ln)break e}else q.head&&(q.head.name=null);q.length=0,q.mode=R;case R:if(q.flags&4096){if(tr===0)break e;nr=0;do Ln=dt[de+nr++],q.head&&Ln&&q.length<65536&&(q.head.comment+=String.fromCharCode(Ln));while(Ln&&nr<tr);if(q.flags&512&&(q.check=(0,E.default)(q.check,dt,nr,de)),tr-=nr,de+=nr,Ln)break e}else q.head&&(q.head.comment=null);q.mode=P;case P:if(q.flags&512){for(;sr<16;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(Xt!==(q.check&65535)){Be.msg="header crc mismatch",q.mode=ee;break}Xt=0,sr=0}q.head&&(q.head.hcrc=q.flags>>9&1,q.head.done=!0),Be.adler=q.check=0,q.mode=D;break;case k:for(;sr<32;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}Be.adler=q.check=je(Xt),Xt=0,sr=0,q.mode=U;case U:if(q.havedict===0)return Be.next_out=Ht,Be.avail_out=lt,Be.next_in=de,Be.avail_in=tr,q.hold=Xt,q.bits=sr,u;Be.adler=q.check=1,q.mode=D;case D:if(ce===c||ce===e)break e;case M:if(q.last){Xt>>>=sr&7,sr-=sr&7,q.mode=he;break}for(;sr<3;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.last=Xt&1,Xt>>>=1,sr-=1;switch(Xt&3){case 0:q.mode=B;break;case 1:if(gt(q),q.mode=V,ce===e){Xt>>>=2,sr-=2;break e}break;case 2:q.mode=K;break;case 3:Be.msg="invalid block type",q.mode=ee}Xt>>>=2,sr-=2;break;case B:for(Xt>>>=sr&7,sr-=sr&7;sr<32;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if((Xt&65535)!==(Xt>>>16^65535)){Be.msg="invalid stored block lengths",q.mode=ee;break}if(q.length=Xt&65535,Xt=0,sr=0,q.mode=j,ce===e)break e;case j:q.mode=H;case H:if(nr=q.length,nr){if(nr>tr&&(nr=tr),nr>lt&&(nr=lt),nr===0)break e;_.arraySet(Ve,dt,de,nr,Ht),tr-=nr,de+=nr,lt-=nr,Ht+=nr,q.length-=nr;break}q.mode=D;break;case K:for(;sr<14;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(q.nlen=(Xt&31)+257,Xt>>>=5,sr-=5,q.ndist=(Xt&31)+1,Xt>>>=5,sr-=5,q.ncode=(Xt&15)+4,Xt>>>=4,sr-=4,q.nlen>286||q.ndist>30){Be.msg="too many length or distance symbols",q.mode=ee;break}q.have=0,q.mode=W;case W:for(;q.have<q.ncode;){for(;sr<3;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.lens[ke[q.have++]]=Xt&7,Xt>>>=3,sr-=3}for(;q.have<19;)q.lens[ke[q.have++]]=0;if(q.lencode=q.lendyn,q.lenbits=7,ve={bits:q.lenbits},$e=(0,t.default)(r,q.lens,0,19,q.lencode,0,q.work,ve),q.lenbits=ve.bits,$e){Be.msg="invalid code lengths set",q.mode=ee;break}q.have=0,q.mode=X;case X:for(;q.have<q.nlen+q.ndist;){for(;!(Qe=q.lencode[Xt&(1<<q.lenbits)-1],qt=Qe>>>24,xr=Qe>>>16&255,vr=Qe&65535,qt<=sr);){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(vr<16)Xt>>>=qt,sr-=qt,q.lens[q.have++]=vr;else{if(vr===16){for(_e=qt+2;sr<_e;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(Xt>>>=qt,sr-=qt,q.have===0){Be.msg="invalid bit length repeat",q.mode=ee;break}Ln=q.lens[q.have-1],nr=3+(Xt&3),Xt>>>=2,sr-=2}else if(vr===17){for(_e=qt+3;sr<_e;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}Xt>>>=qt,sr-=qt,Ln=0,nr=3+(Xt&7),Xt>>>=3,sr-=3}else{for(_e=qt+7;sr<_e;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}Xt>>>=qt,sr-=qt,Ln=0,nr=11+(Xt&127),Xt>>>=7,sr-=7}if(q.have+nr>q.nlen+q.ndist){Be.msg="invalid bit length repeat",q.mode=ee;break}for(;nr--;)q.lens[q.have++]=Ln}}if(q.mode===ee)break;if(q.lens[256]===0){Be.msg="invalid code -- missing end-of-block",q.mode=ee;break}if(q.lenbits=9,ve={bits:q.lenbits},$e=(0,t.default)(s,q.lens,0,q.nlen,q.lencode,0,q.work,ve),q.lenbits=ve.bits,$e){Be.msg="invalid literal/lengths set",q.mode=ee;break}if(q.distbits=6,q.distcode=q.distdyn,ve={bits:q.distbits},$e=(0,t.default)(l,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,ve),q.distbits=ve.bits,$e){Be.msg="invalid distances set",q.mode=ee;break}if(q.mode=V,ce===e)break e;case V:q.mode=Z;case Z:if(tr>=6&&lt>=258){Be.next_out=Ht,Be.avail_out=lt,Be.next_in=de,Be.avail_in=tr,q.hold=Xt,q.bits=sr,(0,C.default)(Be,rr),Ht=Be.next_out,Ve=Be.output,lt=Be.avail_out,de=Be.next_in,dt=Be.input,tr=Be.avail_in,Xt=q.hold,sr=q.bits,q.mode===D&&(q.back=-1);break}for(q.back=0;!(Qe=q.lencode[Xt&(1<<q.lenbits)-1],qt=Qe>>>24,xr=Qe>>>16&255,vr=Qe&65535,qt<=sr);){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(xr&&(xr&240)===0){for(fr=qt,An=xr,$r=vr;!(Qe=q.lencode[$r+((Xt&(1<<fr+An)-1)>>fr)],qt=Qe>>>24,xr=Qe>>>16&255,vr=Qe&65535,fr+qt<=sr);){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}Xt>>>=fr,sr-=fr,q.back+=fr}if(Xt>>>=qt,sr-=qt,q.back+=qt,q.length=vr,xr===0){q.mode=Ce;break}if(xr&32){q.back=-1,q.mode=D;break}if(xr&64){Be.msg="invalid literal/length code",q.mode=ee;break}q.extra=xr&15,q.mode=G;case G:if(q.extra){for(_e=q.extra;sr<_e;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.length+=Xt&(1<<q.extra)-1,Xt>>>=q.extra,sr-=q.extra,q.back+=q.extra}q.was=q.length,q.mode=Y;case Y:for(;!(Qe=q.distcode[Xt&(1<<q.distbits)-1],qt=Qe>>>24,xr=Qe>>>16&255,vr=Qe&65535,qt<=sr);){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if((xr&240)===0){for(fr=qt,An=xr,$r=vr;!(Qe=q.distcode[$r+((Xt&(1<<fr+An)-1)>>fr)],qt=Qe>>>24,xr=Qe>>>16&255,vr=Qe&65535,fr+qt<=sr);){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}Xt>>>=fr,sr-=fr,q.back+=fr}if(Xt>>>=qt,sr-=qt,q.back+=qt,xr&64){Be.msg="invalid distance code",q.mode=ee;break}q.offset=vr,q.extra=xr&15,q.mode=te;case te:if(q.extra){for(_e=q.extra;sr<_e;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}q.offset+=Xt&(1<<q.extra)-1,Xt>>>=q.extra,sr-=q.extra,q.back+=q.extra}if(q.offset>q.dmax){Be.msg="invalid distance too far back",q.mode=ee;break}q.mode=se;case se:if(lt===0)break e;if(nr=rr-lt,q.offset>nr){if(nr=q.offset-nr,nr>q.whave&&q.sane){Be.msg="invalid distance too far back",q.mode=ee;break}nr>q.wnext?(nr-=q.wnext,Nt=q.wsize-nr):Nt=q.wnext-nr,nr>q.length&&(nr=q.length),ot=q.window}else ot=Ve,Nt=Ht-q.offset,nr=q.length;nr>lt&&(nr=lt),lt-=nr,q.length-=nr;do Ve[Ht++]=ot[Nt++];while(--nr);q.length===0&&(q.mode=Z);break;case Ce:if(lt===0)break e;Ve[Ht++]=q.length,lt--,q.mode=Z;break;case he:if(q.wrap){for(;sr<32;){if(tr===0)break e;tr--,Xt|=dt[de++]<<sr,sr+=8}if(rr-=lt,Be.total_out+=rr,q.total+=rr,rr&&(Be.adler=q.check=q.flags?(0,E.default)(q.check,Ve,rr,Ht-rr):(0,I.default)(q.check,Ve,rr,Ht-rr)),rr=lt,(q.flags?Xt:je(Xt))!==q.check){Be.msg="incorrect data check",q.mode=ee;break}Xt=0,sr=0}q.mode=xe;case xe:if(q.wrap&&q.flags){for(;sr<32;){if(tr===0)break e;tr--,Xt+=dt[de++]<<sr,sr+=8}if(Xt!==(q.total&4294967295)){Be.msg="incorrect length check",q.mode=ee;break}Xt=0,sr=0}q.mode=ie;case ie:$e=i;break e;case ee:$e=m;break e;case Ze:return A;case Se:default:return f}return Be.next_out=Ht,Be.avail_out=lt,Be.next_in=de,Be.avail_in=tr,q.hold=Xt,q.bits=sr,(q.wsize||rr!==Be.avail_out&&q.mode<ee&&(q.mode<he||ce!==n))&&Ue(Be,Be.output,Be.next_out,rr-Be.avail_out)?(q.mode=Ze,A):(Kr-=Be.avail_in,rr-=Be.avail_out,Be.total_in+=Kr,Be.total_out+=rr,q.total+=rr,q.wrap&&rr&&(Be.adler=q.check=q.flags?(0,E.default)(q.check,Ve,rr,Be.next_out-rr):(0,I.default)(q.check,Ve,rr,Be.next_out-rr)),Be.data_type=q.bits+(q.last?64:0)+(q.mode===D?128:0)+(q.mode===V||q.mode===j?256:0),(Kr===0&&rr===0||ce===n)&&$e===a&&($e=g),$e)}function wt(Be){if(!Be||!Be.state)return f;var ce=Be.state;return ce.window&&(ce.window=null),Be.state=null,a}function Et(Be,ce){var q;return!Be||!Be.state?f:(q=Be.state,(q.wrap&2)===0?f:(q.head=ce,ce.done=!1,a))}function xt(Be,ce){var q=ce.length,dt,Ve,de;return!Be||!Be.state?f:(dt=Be.state,dt.wrap!==0&&dt.mode!==U?f:dt.mode===U&&(Ve=1,Ve=(0,I.default)(Ve,ce,q,0),Ve!==dt.check)?m:(de=Ue(Be,ce,q,q),de?(dt.mode=Ze,A):(dt.havedict=1,a)))}var Tt="pako inflate (from Nodeca project)";z.inflateInfo=Tt},ePAk:function(ue,z,d){var O=d("ProS");d("2fGM");var _=O.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(I){var E,C=this.ecModel;return C.eachComponent(I,function(t){t.getCoordSysModel()===this&&(E=t)},this),E},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});ue.exports=_},eRkO:function(ue,z,d){var O=d("+TT/"),_=O.getLayoutRect,I=O.box,E=O.positionElement,C=d("7aKB"),t=d("IwbS");function p(o,r,s){var l=r.getBoxLayoutParams(),n=r.get("padding"),c={width:s.getWidth(),height:s.getHeight()},e=_(l,c,n);I(r.get("orient"),o,r.get("itemGap"),e.width,e.height),E(o,l,c,n)}function h(o,r){var s=C.normalizeCssArray(r.get("padding")),l=r.getItemStyle(["color","opacity"]);l.fill=r.get("backgroundColor");var o=new t.Rect({shape:{x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],r:r.get("borderRadius")},style:l,silent:!0,z2:-1});return o}z.layout=p,z.makeBackground=h},eS4l:function(ue,z,d){d("HM/N"),d("FNN5")},eUgh:function(ue,z){function d(O,_){for(var I=-1,E=O==null?0:O.length,C=Array(E);++I<E;)C[I]=_(O[I],I,O);return C}ue.exports=d},ewwo:function(ue,z,d){var O=d("bMXI"),_=d("+TT/"),I=_.getLayoutRect,E=d("4mN7");function C(p,h,o){var r=p.getBoxLayoutParams();return r.aspect=o,I(r,{width:h.getWidth(),height:h.getHeight()})}function t(p,h){var o=[];return p.eachSeriesByType("graph",function(r){var s=r.get("coordinateSystem");if(!s||s==="view"){var l=r.getData(),n=l.mapArray(function(v){var b=l.getItemModel(v);return[+b.get("x"),+b.get("y")]}),c=[],e=[];E.fromPoints(n,c,e),e[0]-c[0]===0&&(e[0]+=1,c[0]-=1),e[1]-c[1]===0&&(e[1]+=1,c[1]-=1);var a=(e[0]-c[0])/(e[1]-c[1]),i=C(r,h,a);isNaN(a)&&(c=[i.x,i.y],e=[i.x+i.width,i.y+i.height]);var u=e[0]-c[0],f=e[1]-c[1],m=i.width,A=i.height,g=r.coordinateSystem=new O;g.zoomLimit=r.get("scaleLimit"),g.setBoundingRect(c[0],c[1],u,f),g.setViewRect(i.x,i.y,m,A),g.setCenter(r.get("center")),g.setZoom(r.get("zoom")),o.push(g)}}),o}ue.exports=t},f1nB:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("bYtY"),C=d("4NO4"),t=d("IwbS"),p=d("+TT/"),h=d("OELB"),o=h.parsePercent,r={path:null,compoundPath:null,group:t.Group,image:t.Image,text:t.Text};I.registerPreprocessor(function(m){var A=m.graphic;E.isArray(A)?!A[0]||!A[0].elements?m.graphic=[{elements:A}]:m.graphic=[m.graphic[0]]:A&&!A.elements&&(m.graphic=[{elements:[A]}])});var s=I.extendComponentModel({type:"graphic",defaultOption:{elements:[],parentId:null},_elOptionsToUpdate:null,mergeOption:function(m){var A=this.option.elements;this.option.elements=null,s.superApply(this,"mergeOption",arguments),this.option.elements=A},optionUpdated:function(m,A){var g=this.option,v=(A?g:m).elements,b=g.elements=A?[]:g.elements,S=[];this._flatten(v,S);var y=C.mappingToExists(b,S);C.makeIdAndName(y);var w=this._elOptionsToUpdate=[];E.each(y,function(T,L){var R=T.option;if(!R)return;w.push(R),a(T,R),i(b,L,R),u(b[L],R)},this);for(var x=b.length-1;x>=0;x--)b[x]==null?b.splice(x,1):delete b[x].$action},_flatten:function(m,A,g){E.each(m,function(v){if(!v)return;g&&(v.parentOption=g),A.push(v);var b=v.children;v.type==="group"&&b&&this._flatten(b,A,v),delete v.children},this)},useElOptionsToUpdate:function(){var m=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,m}});I.extendComponentView({type:"graphic",init:function(m,A){this._elMap=E.createHashMap(),this._lastGraphicModel},render:function(m,A,g){m!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=m,this._updateElements(m),this._relocate(m,g)},_updateElements:function(m){var A=m.useElOptionsToUpdate();if(!A)return;var g=this._elMap,v=this.group;E.each(A,function(b){var S=b.$action,y=b.id,w=g.get(y),x=b.parentId,T=x!=null?g.get(x):v,L=b.style;b.type==="text"&&L&&(b.hv&&b.hv[1]&&(L.textVerticalAlign=L.textBaseline=null),!L.hasOwnProperty("textFill")&&L.fill&&(L.textFill=L.fill),!L.hasOwnProperty("textStroke")&&L.stroke&&(L.textStroke=L.stroke));var R=c(b);!S||S==="merge"?w?w.attr(R):l(y,T,R,g):S==="replace"?(n(w,g),l(y,T,R,g)):S==="remove"&&n(w,g);var P=g.get(y);P&&(P.__ecGraphicWidthOption=b.width,P.__ecGraphicHeightOption=b.height,f(P,m,b))})},_relocate:function(m,A){for(var g=m.option.elements,v=this.group,b=this._elMap,S=A.getWidth(),y=A.getHeight(),w=0;w<g.length;w++){var x=g[w],T=b.get(x.id);if(!T||!T.isGroup)continue;var L=T.parent,R=L===v;T.__ecGraphicWidth=o(T.__ecGraphicWidthOption,R?S:L.__ecGraphicWidth)||0,T.__ecGraphicHeight=o(T.__ecGraphicHeightOption,R?y:L.__ecGraphicHeight)||0}for(var w=g.length-1;w>=0;w--){var x=g[w],T=b.get(x.id);if(!T)continue;var L=T.parent,P=L===v?{width:S,height:y}:{width:L.__ecGraphicWidth,height:L.__ecGraphicHeight};p.positionElement(T,x,P,null,{hv:x.hv,boundingMode:x.bounding})}},_clear:function(){var m=this._elMap;m.each(function(A){n(A,m)}),this._elMap=E.createHashMap()},dispose:function(){this._clear()}});function l(m,A,g,v){var b=g.type,S=r.hasOwnProperty(b)?r[b]:t.getShapeClass(b),y=new S(g);A.add(y),v.set(m,y),y.__ecGraphicId=m}function n(m,A){var g=m&&m.parent;g&&(m.type==="group"&&m.traverse(function(v){n(v,A)}),A.removeKey(m.__ecGraphicId),g.remove(m))}function c(m){return m=E.extend({},m),E.each(["id","parentId","$action","hv","bounding"].concat(p.LOCATION_PARAMS),function(A){delete m[A]}),m}function e(m,A){var g;return E.each(A,function(v){m[v]!=null&&m[v]!=="auto"&&(g=!0)}),g}function a(m,A){var g=m.exist;if(A.id=m.keyInfo.id,!A.type&&g&&(A.type=g.type),A.parentId==null){var v=A.parentOption;v?A.parentId=v.id:g&&(A.parentId=g.parentId)}A.parentOption=null}function i(m,A,g){var v=E.extend({},g),b=m[A],S=g.$action||"merge";S==="merge"?b?(E.merge(b,v,!0),p.mergeLayoutParam(b,v,{ignoreSize:!0}),p.copyLayoutParams(g,b)):m[A]=v:S==="replace"?m[A]=v:S==="remove"&&(b&&(m[A]=null))}function u(m,A){if(!m)return;m.hv=A.hv=[e(A,["left","right"]),e(A,["top","bottom"])],m.type==="group"&&(m.width==null&&(m.width=A.width=0),m.height==null&&(m.height=A.height=0))}function f(m,A,g){var v=m.eventData;!m.silent&&!m.ignore&&!v&&(v=m.eventData={componentType:"graphic",componentIndex:A.componentIndex,name:m.name}),v&&(v.info=m.info)}},f3JH:function(ue,z,d){d("aTJb"),d("OlYY"),d("fc+c"),d("oY9F"),d("MqEG"),d("LBfv"),d("noeP")},f5HG:function(ue,z,d){var O=d("IwbS"),_=d("QBsz"),I=O.Line.prototype,E=O.BezierCurve.prototype;function C(p){return isNaN(+p.cpx1)||isNaN(+p.cpy1)}var t=O.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(p,h){this[C(h)?"_buildPathLine":"_buildPathCurve"](p,h)},_buildPathLine:I.buildPath,_buildPathCurve:E.buildPath,pointAt:function(p){return this[C(this.shape)?"_pointAtLine":"_pointAtCurve"](p)},_pointAtLine:I.pointAt,_pointAtCurve:E.pointAt,tangentAt:function(p){var h=this.shape,o=C(h)?[h.x2-h.x1,h.y2-h.y1]:this._tangentAtCurve(p);return _.normalize(o,o)},_tangentAtCurve:E.tangentAt});ue.exports=t},f5Yq:function(ue,z,d){var O=d("bYtY"),_=O.isFunction;function I(E,C,t){return{seriesType:E,performRawSeries:!0,reset:function(p,h,o){var r=p.getData(),s=p.get("symbol"),l=p.get("symbolSize"),n=p.get("symbolKeepAspect"),c=p.get("symbolRotate"),e=_(s),a=_(l),i=_(c),u=e||a||i,f=!e&&s?s:C,m=a?null:l,A=i?null:A;if(r.setVisual({legendSymbol:t||f,symbol:f,symbolSize:m,symbolKeepAspect:n,symbolRotate:c}),h.isSeriesFiltered(p))return;function g(v,b){if(u){var S=p.getRawValue(b),y=p.getDataParams(b);e&&v.setItemVisual(b,"symbol",s(S,y)),a&&v.setItemVisual(b,"symbolSize",l(S,y)),i&&v.setItemVisual(b,"symbolRotate",c(S,y))}if(v.hasItemOption){var w=v.getItemModel(b),x=w.getShallow("symbol",!0),T=w.getShallow("symbolSize",!0),L=w.getShallow("symbolRotate",!0),R=w.getShallow("symbolKeepAspect",!0);x!=null&&v.setItemVisual(b,"symbol",x),T!=null&&v.setItemVisual(b,"symbolSize",T),L!=null&&v.setItemVisual(b,"symbolRotate",L),R!=null&&v.setItemVisual(b,"symbolKeepAspect",R)}}return{dataEach:r.hasItemOption||u?g:null}}}}ue.exports=I},fAei:function(ue,z,d){"use strict";d.d(z,"a",function(){return m.a});var O=d("rePB"),_=d("VTBJ"),I=d("KQm4"),E=d("1OyB"),C=d("vuIU"),t=d("Ji7U"),p=d("LK+K"),h=d("q1tI"),o=d("4IlW"),r=d("Kwbf"),s=d("TSYQ"),l=d.n(s),n=d("sboe"),c=d("OZM5"),e=d("815F"),a=d("ODXe"),i=d("Ff2n"),u=d("+nKL"),f=d("8XRh"),m=d("WaYH"),A=function(V,Z){var G=V.className,Y=V.style,te=V.motion,se=V.motionNodes,Ce=V.motionType,he=V.onMotionStart,xe=V.onMotionEnd,ie=V.active,ee=V.treeNodeRequiredProps,Ze=Object(i.a)(V,["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"]),Se=h.useState(!0),Ne=Object(a.a)(Se,2),it=Ne[0],Ye=Ne[1],nt=h.useContext(n.a),je=nt.prefixCls,et=h.useRef(!1),He=function(){et.current||xe(),et.current=!0};return Object(h.useEffect)(function(){se&&Ce==="hide"&&it&&Ye(!1)},[se]),Object(h.useEffect)(function(){return se&&he(),function(){se&&He()}},[]),se?h.createElement(f.default,Object.assign({ref:Z,visible:it},te,{motionAppear:Ce==="show",onAppearEnd:He,onLeaveEnd:He}),function(pe,ae){var re=pe.className,be=pe.style;return h.createElement("div",{ref:ae,className:l()("".concat(je,"-treenode-motion"),re),style:be},se.map(function(ze){var Ke=ze.data,Te=Ke.key,gt=Object(i.a)(Ke,["key"]),Ue=ze.isStart,bt=ze.isEnd;delete gt.children;var wt=Object(e.f)(Te,ee);return h.createElement(m.a,Object.assign({},gt,wt,{active:ie,data:ze.data,key:Te,isStart:Ue,isEnd:bt}))}))}):h.createElement(m.a,Object.assign({domRef:Z,className:G,style:Y},Ze,{active:ie}))};A.displayName="MotionTreeNode";var g=h.forwardRef(A),v=g;function b(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Z=X.length,G=V.length;if(Math.abs(Z-G)!==1)return{add:!1,key:null};function Y(te,se){var Ce=new Map;te.forEach(function(xe){Ce.set(xe,!0)});var he=se.filter(function(xe){return!Ce.has(xe)});return he.length===1?he[0]:null}return Z<G?{add:!0,key:Y(X,V)}:{add:!1,key:Y(V,X)}}function S(X,V,Z){var G=X.findIndex(function(Ce){var he=Ce.data;return he.key===Z}),Y=X[G+1],te=V.findIndex(function(Ce){var he=Ce.data;return he.key===Z});if(Y){var se=V.findIndex(function(Ce){var he=Ce.data;return he.key===Y.data.key});return V.slice(te+1,se)}return V.slice(te+1)}var y={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},w=function(){},x="RC_TREE_MOTION_".concat(Math.random()),T={key:x},L={key:x,level:0,index:0,pos:"0",node:T},R={parent:null,children:[],pos:L.pos,data:T,isStart:[],isEnd:[]};function P(X,V,Z,G){return V===!1||!Z?X:X.slice(0,Math.ceil(Z/G)+1)}function k(X){var V=X.data.key,Z=X.pos;return Object(e.e)(V,Z)}function U(X){for(var V=String(X.data.key),Z=X;Z.parent;)Z=Z.parent,V="".concat(Z.data.key," > ").concat(V);return V}var D=function(V,Z){var G=V.prefixCls,Y=V.data,te=V.selectable,se=V.checkable,Ce=V.expandedKeys,he=V.selectedKeys,xe=V.checkedKeys,ie=V.loadedKeys,ee=V.loadingKeys,Ze=V.halfCheckedKeys,Se=V.keyEntities,Ne=V.disabled,it=V.dragging,Ye=V.dragOverNodeKey,nt=V.dropPosition,je=V.motion,et=V.height,He=V.itemHeight,pe=V.virtual,ae=V.focusable,re=V.activeItem,be=V.focused,ze=V.tabIndex,Ke=V.onKeyDown,Te=V.onFocus,gt=V.onBlur,Ue=V.onActiveChange,bt=V.onListChangeStart,wt=V.onListChangeEnd,Et=Object(i.a)(V,["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"]),xt=h.useRef(null);h.useImperativeHandle(Z,function(){return{scrollTo:function(Ln){xt.current.scrollTo(Ln)}}});var Tt=h.useState(Ce),Be=Object(a.a)(Tt,2),ce=Be[0],q=Be[1],dt=h.useState(Y),Ve=Object(a.a)(dt,2),de=Ve[0],Ht=Ve[1],tr=h.useState(Y),lt=Object(a.a)(tr,2),Xt=lt[0],sr=lt[1],Kr=h.useState([]),rr=Object(a.a)(Kr,2),nr=rr[0],Nt=rr[1],ot=h.useState(null),Qe=Object(a.a)(ot,2),qt=Qe[0],xr=Qe[1];function vr(){Ht(Y),sr(Y),Nt([]),xr(null),wt()}h.useEffect(function(){q(Ce);var $r=b(ce,Ce);if($r.key!==null)if($r.add){var Ln=de.findIndex(function(rt){var Wt=rt.data.key;return Wt===$r.key}),$e=P(S(de,Y,$r.key),pe,et,He),tt=de.slice();tt.splice(Ln+1,0,R),sr(tt),Nt($e),xr("show")}else{var ve=Y.findIndex(function(rt){var Wt=rt.data.key;return Wt===$r.key}),_e=P(S(Y,de,$r.key),pe,et,He),ke=Y.slice();ke.splice(ve+1,0,R),sr(ke),Nt(_e),xr("hide")}else de!==Y&&(Ht(Y),sr(Y))},[Ce,Y]),h.useEffect(function(){it||vr()},[it]);var fr=je?Xt:Y,An={expandedKeys:Ce,selectedKeys:he,loadedKeys:ie,loadingKeys:ee,checkedKeys:xe,halfCheckedKeys:Ze,dragOverNodeKey:Ye,dropPosition:nt,keyEntities:Se};return h.createElement(h.Fragment,null,be&&re&&h.createElement("span",{style:y,"aria-live":"assertive"},U(re)),h.createElement("div",{role:"tree"},h.createElement("input",{style:y,disabled:ae===!1||Ne,tabIndex:ae!==!1?ze:null,onKeyDown:Ke,onFocus:Te,onBlur:gt,value:"",onChange:w})),h.createElement(u.a,Object.assign({},Et,{data:fr,itemKey:k,height:et,fullHeight:!1,virtual:pe,itemHeight:He,prefixCls:"".concat(G,"-list"),ref:xt}),function($r){var Ln=$r.pos,$e=$r.data,tt=$e.key,ve=Object(i.a)($e,["key"]),_e=$r.isStart,ke=$r.isEnd,rt=Object(e.e)(tt,Ln);delete ve.children;var Wt=Object(e.f)(rt,An);return h.createElement(v,Object.assign({},ve,Wt,{active:re&&tt===re.data.key,pos:Ln,data:$r.data,isStart:_e,isEnd:ke,motion:je,motionNodes:tt===x?nr:null,motionType:qt,onMotionStart:bt,onMotionEnd:vr,treeNodeRequiredProps:An,onMouseMove:function(){Ue(null)}}))}))},M=h.forwardRef(D);M.displayName="NodeList";var B=M,j=d("NvD2"),H=function(X){Object(t.a)(Z,X);var V=Object(p.a)(Z);function Z(){var G;return Object(E.a)(this,Z),G=V.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=h.createRef(),G.onNodeDragStart=function(Y,te){var se=G.state,Ce=se.expandedKeys,he=se.keyEntities,xe=G.props.onDragStart,ie=te.props.eventKey;G.dragNode=te;var ee=Object(c.b)(Ce,ie);G.setState({dragging:!0,dragNodesKeys:Object(c.g)(ie,he)}),G.setExpandedKeys(ee),xe&&xe({event:Y,node:Object(e.b)(te.props)})},G.onNodeDragEnter=function(Y,te){var se=G.state,Ce=se.expandedKeys,he=se.keyEntities,xe=se.dragNodesKeys,ie=G.props.onDragEnter,ee=te.props,Ze=ee.pos,Se=ee.eventKey;if(!G.dragNode||xe.indexOf(Se)!==-1)return;var Ne=Object(c.c)(Y,te);if(G.dragNode.props.eventKey===Se&&Ne===0){G.setState({dragOverNodeKey:"",dropPosition:null});return}setTimeout(function(){G.setState({dragOverNodeKey:Se,dropPosition:Ne}),G.delayedDragEnterLogic||(G.delayedDragEnterLogic={}),Object.keys(G.delayedDragEnterLogic).forEach(function(it){clearTimeout(G.delayedDragEnterLogic[it])}),G.delayedDragEnterLogic[Ze]=window.setTimeout(function(){if(!G.state.dragging)return;var it=Object(I.a)(Ce),Ye=he[Se];Ye&&(Ye.children||[]).length&&(it=Object(c.a)(Ce,Se)),"expandedKeys"in G.props||G.setExpandedKeys(it),ie&&ie({event:Y,node:Object(e.b)(te.props),expandedKeys:it})},400)},0)},G.onNodeDragOver=function(Y,te){var se=G.state.dragNodesKeys,Ce=G.props.onDragOver,he=te.props.eventKey;if(se.indexOf(he)!==-1)return;if(G.dragNode&&he===G.state.dragOverNodeKey){var xe=Object(c.c)(Y,te);if(xe===G.state.dropPosition)return;G.setState({dropPosition:xe})}Ce&&Ce({event:Y,node:Object(e.b)(te.props)})},G.onNodeDragLeave=function(Y,te){var se=G.props.onDragLeave;G.setState({dragOverNodeKey:""}),se&&se({event:Y,node:Object(e.b)(te.props)})},G.onNodeDragEnd=function(Y,te){var se=G.props.onDragEnd;G.setState({dragOverNodeKey:""}),G.cleanDragState(),se&&se({event:Y,node:Object(e.b)(te.props)}),G.dragNode=null},G.onNodeDrop=function(Y,te){var se=G.state,Ce=se.dragNodesKeys,he=Ce===void 0?[]:Ce,xe=se.dropPosition,ie=G.props.onDrop,ee=te.props,Ze=ee.eventKey,Se=ee.pos;if(G.setState({dragOverNodeKey:""}),G.cleanDragState(),he.indexOf(Ze)!==-1){Object(r.a)(!1,"Can not drop to dragNode(include it's children node)");return}var Ne=Object(c.k)(Se),it={event:Y,node:Object(e.b)(te.props),dragNode:G.dragNode?Object(e.b)(G.dragNode.props):null,dragNodesKeys:he.slice(),dropPosition:xe+Number(Ne[Ne.length-1]),dropToGap:!1};xe!==0&&(it.dropToGap=!0),ie&&ie(it),G.dragNode=null},G.cleanDragState=function(){var Y=G.state.dragging;Y&&G.setState({dragging:!1})},G.onNodeClick=function(Y,te){var se=G.props.onClick;se&&se(Y,te)},G.onNodeDoubleClick=function(Y,te){var se=G.props.onDoubleClick;se&&se(Y,te)},G.onNodeSelect=function(Y,te){var se=G.state.selectedKeys,Ce=G.state.keyEntities,he=G.props,xe=he.onSelect,ie=he.multiple,ee=te.selected,Ze=te.key,Se=!ee;Se?ie?se=Object(c.a)(se,Ze):se=[Ze]:se=Object(c.b)(se,Ze);var Ne=se.map(function(it){var Ye=Ce[it];return Ye?Ye.node:null}).filter(function(it){return it});G.setUncontrolledState({selectedKeys:se}),xe&&xe(se,{event:"select",selected:Se,node:te,selectedNodes:Ne,nativeEvent:Y.nativeEvent})},G.onNodeCheck=function(Y,te,se){var Ce=G.state,he=Ce.keyEntities,xe=Ce.checkedKeys,ie=Ce.halfCheckedKeys,ee=G.props,Ze=ee.checkStrictly,Se=ee.onCheck,Ne=te.key,it,Ye={event:"check",node:te,checked:se,nativeEvent:Y.nativeEvent};if(Ze){var nt=se?Object(c.a)(xe,Ne):Object(c.b)(xe,Ne),je=Object(c.b)(ie,Ne);it={checked:nt,halfChecked:je},Ye.checkedNodes=nt.map(function(be){return he[be]}).filter(function(be){return be}).map(function(be){return be.node}),G.setUncontrolledState({checkedKeys:nt})}else{var et=Object(j.a)([].concat(Object(I.a)(xe),[Ne]),!0,he),He=et.checkedKeys,pe=et.halfCheckedKeys;if(!se){var ae=new Set(He);ae.delete(Ne);var re=Object(j.a)(Array.from(ae),{checked:!1,halfCheckedKeys:pe},he);He=re.checkedKeys,pe=re.halfCheckedKeys}it=He,Ye.checkedNodes=[],Ye.checkedNodesPositions=[],Ye.halfCheckedKeys=pe,He.forEach(function(be){var ze=he[be];if(!ze)return;var Ke=ze.node,Te=ze.pos;Ye.checkedNodes.push(Ke),Ye.checkedNodesPositions.push({node:Ke,pos:Te})}),G.setUncontrolledState({checkedKeys:He},!1,{halfCheckedKeys:pe})}Se&&Se(it,Ye)},G.onNodeLoad=function(Y){return new Promise(function(te){G.setState(function(se){var Ce=se.loadedKeys,he=Ce===void 0?[]:Ce,xe=se.loadingKeys,ie=xe===void 0?[]:xe,ee=G.props,Ze=ee.loadData,Se=ee.onLoad,Ne=Y.key;if(!Ze||he.indexOf(Ne)!==-1||ie.indexOf(Ne)!==-1)return{};var it=Ze(Y);return it.then(function(){var Ye=G.state,nt=Ye.loadedKeys,je=Ye.loadingKeys,et=Object(c.a)(nt,Ne),He=Object(c.b)(je,Ne);Se&&Se(et,{event:"load",node:Y}),G.setUncontrolledState({loadedKeys:et}),G.setState({loadingKeys:He}),te()}),{loadingKeys:Object(c.a)(ie,Ne)}})})},G.onNodeMouseEnter=function(Y,te){var se=G.props.onMouseEnter;se&&se({event:Y,node:te})},G.onNodeMouseLeave=function(Y,te){var se=G.props.onMouseLeave;se&&se({event:Y,node:te})},G.onNodeContextMenu=function(Y,te){var se=G.props.onRightClick;se&&(Y.preventDefault(),se({event:Y,node:te}))},G.onFocus=function(){var Y=G.props.onFocus;G.setState({focused:!0}),Y&&Y.apply(void 0,arguments)},G.onBlur=function(){var Y=G.props.onBlur;G.setState({focused:!1}),G.onActiveChange(null),Y&&Y.apply(void 0,arguments)},G.getTreeNodeRequiredProps=function(){var Y=G.state,te=Y.expandedKeys,se=Y.selectedKeys,Ce=Y.loadedKeys,he=Y.loadingKeys,xe=Y.checkedKeys,ie=Y.halfCheckedKeys,ee=Y.dragOverNodeKey,Ze=Y.dropPosition,Se=Y.keyEntities;return{expandedKeys:te||[],selectedKeys:se||[],loadedKeys:Ce||[],loadingKeys:he||[],checkedKeys:xe||[],halfCheckedKeys:ie||[],dragOverNodeKey:ee,dropPosition:Ze,keyEntities:Se}},G.setExpandedKeys=function(Y){var te=G.state.treeData,se=Object(e.d)(te,Y);G.setUncontrolledState({expandedKeys:Y,flattenNodes:se},!0)},G.onNodeExpand=function(Y,te){var se=G.state.expandedKeys,Ce=G.state.listChanging,he=G.props,xe=he.onExpand,ie=he.loadData,ee=te.key,Ze=te.expanded;if(Ce)return;var Se=se.indexOf(ee),Ne=!Ze;if(Object(r.a)(Ze&&Se!==-1||!Ze&&Se===-1,"Expand state not sync with index check"),Ne?se=Object(c.a)(se,ee):se=Object(c.b)(se,ee),G.setExpandedKeys(se),xe&&xe(se,{node:te,expanded:Ne,nativeEvent:Y.nativeEvent}),Ne&&ie){var it=G.onNodeLoad(te);it&&it.then(function(){var Ye=Object(e.d)(G.state.treeData,se);G.setUncontrolledState({flattenNodes:Ye})})}},G.onListChangeStart=function(){G.setUncontrolledState({listChanging:!0})},G.onListChangeEnd=function(){setTimeout(function(){G.setUncontrolledState({listChanging:!1})})},G.onActiveChange=function(Y){var te=G.state.activeKey,se=G.props.onActiveChange;if(te===Y)return;G.setState({activeKey:Y}),Y!==null&&G.scrollTo({key:Y}),se&&se(Y)},G.getActiveItem=function(){var Y=G.state,te=Y.activeKey,se=Y.flattenNodes;return te===null?null:se.find(function(Ce){var he=Ce.data.key;return he===te})||null},G.offsetActiveKey=function(Y){var te=G.state,se=te.flattenNodes,Ce=te.activeKey,he=se.findIndex(function(ee){var Ze=ee.data.key;return Ze===Ce});he===-1&&Y<0&&(he=se.length),he=(he+Y+se.length)%se.length;var xe=se[he];if(xe){var ie=xe.data.key;G.onActiveChange(ie)}else G.onActiveChange(null)},G.onKeyDown=function(Y){var te=G.state,se=te.activeKey,Ce=te.expandedKeys,he=te.checkedKeys,xe=G.props,ie=xe.onKeyDown,ee=xe.checkable,Ze=xe.selectable;switch(Y.which){case o.a.UP:{G.offsetActiveKey(-1),Y.preventDefault();break}case o.a.DOWN:{G.offsetActiveKey(1),Y.preventDefault();break}}var Se=G.getActiveItem();if(Se&&Se.data){var Ne=G.getTreeNodeRequiredProps(),it=Se.data.isLeaf===!1||!!(Se.data.children||[]).length,Ye=Object(e.b)(Object(_.a)(Object(_.a)({},Object(e.f)(se,Ne)),{},{data:Se.data,active:!0}));switch(Y.which){case o.a.LEFT:{it&&Ce.includes(se)?G.onNodeExpand({},Ye):Se.parent&&G.onActiveChange(Se.parent.data.key),Y.preventDefault();break}case o.a.RIGHT:{it&&!Ce.includes(se)?G.onNodeExpand({},Ye):Se.children&&Se.children.length&&G.onActiveChange(Se.children[0].data.key),Y.preventDefault();break}case o.a.ENTER:case o.a.SPACE:{ee&&!Ye.disabled&&Ye.checkable!==!1&&!Ye.disableCheckbox?G.onNodeCheck({},Ye,!he.includes(se)):!ee&&Ze&&!Ye.disabled&&Ye.selectable!==!1&&G.onNodeSelect({},Ye);break}}}ie&&ie(Y)},G.setUncontrolledState=function(Y){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(G.destroyed)return;var Ce=!1,he=!0,xe={};Object.keys(Y).forEach(function(ie){if(ie in G.props){he=!1;return}Ce=!0,xe[ie]=Y[ie]}),Ce&&(!te||he)&&G.setState(Object(_.a)(Object(_.a)({},xe),se))},G.scrollTo=function(Y){G.listRef.current.scrollTo(Y)},G}return Object(C.a)(Z,[{key:"componentWillUnmount",value:function(){this.destroyed=!0}},{key:"render",value:function(){var Y,te=this.state,se=te.focused,Ce=te.flattenNodes,he=te.keyEntities,xe=te.dragging,ie=te.activeKey,ee=this.props,Ze=ee.prefixCls,Se=ee.className,Ne=ee.style,it=ee.showLine,Ye=ee.focusable,nt=ee.tabIndex,je=nt===void 0?0:nt,et=ee.selectable,He=ee.showIcon,pe=ee.icon,ae=ee.switcherIcon,re=ee.draggable,be=ee.checkable,ze=ee.checkStrictly,Ke=ee.disabled,Te=ee.motion,gt=ee.loadData,Ue=ee.filterTreeNode,bt=ee.height,wt=ee.itemHeight,Et=ee.virtual,xt=ee.titleRender,Tt=ee.onContextMenu,Be=Object(c.f)(this.props);return h.createElement(n.a.Provider,{value:{prefixCls:Ze,selectable:et,showIcon:He,icon:pe,switcherIcon:ae,draggable:re,checkable:be,checkStrictly:ze,disabled:Ke,keyEntities:he,loadData:gt,filterTreeNode:Ue,titleRender:xt,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}},h.createElement("div",{className:l()(Ze,Se,(Y={},Object(O.a)(Y,"".concat(Ze,"-show-line"),it),Object(O.a)(Y,"".concat(Ze,"-focused"),se),Object(O.a)(Y,"".concat(Ze,"-active-focused"),ie!==null),Y))},h.createElement(B,Object.assign({ref:this.listRef,prefixCls:Ze,style:Ne,data:Ce,disabled:Ke,selectable:et,checkable:!!be,motion:Te,dragging:xe,height:bt,itemHeight:wt,virtual:Et,focusable:Ye,focused:se,tabIndex:je,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Tt},this.getTreeNodeRequiredProps(),Be))))}}],[{key:"getDerivedStateFromProps",value:function(Y,te){var se=te.prevProps,Ce={prevProps:Y};function he(pe){return!se&&pe in Y||se&&se[pe]!==Y[pe]}var xe;if(he("treeData")?xe=Y.treeData:he("children")&&(Object(r.a)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),xe=Object(e.c)(Y.children)),xe){Ce.treeData=xe;var ie=Object(e.a)(xe);Ce.keyEntities=Object(_.a)(Object(O.a)({},x,L),ie.keyEntities)}var ee=Ce.keyEntities||te.keyEntities;if(he("expandedKeys")||se&&he("autoExpandParent"))Ce.expandedKeys=Y.autoExpandParent||!se&&Y.defaultExpandParent?Object(c.e)(Y.expandedKeys,ee):Y.expandedKeys;else if(!se&&Y.defaultExpandAll){var Ze=Object(_.a)({},ee);delete Ze[x],Ce.expandedKeys=Object.keys(Ze).map(function(pe){return Ze[pe].key})}else!se&&Y.defaultExpandedKeys&&(Ce.expandedKeys=Y.autoExpandParent||Y.defaultExpandParent?Object(c.e)(Y.defaultExpandedKeys,ee):Y.defaultExpandedKeys);if(Ce.expandedKeys||delete Ce.expandedKeys,xe||Ce.expandedKeys){var Se=Object(e.d)(xe||te.treeData,Ce.expandedKeys||te.expandedKeys);Ce.flattenNodes=Se}if(Y.selectable&&(he("selectedKeys")?Ce.selectedKeys=Object(c.d)(Y.selectedKeys,Y):!se&&Y.defaultSelectedKeys&&(Ce.selectedKeys=Object(c.d)(Y.defaultSelectedKeys,Y))),Y.checkable){var Ne;if(he("checkedKeys")?Ne=Object(c.j)(Y.checkedKeys)||{}:!se&&Y.defaultCheckedKeys?Ne=Object(c.j)(Y.defaultCheckedKeys)||{}:xe&&(Ne=Object(c.j)(Y.checkedKeys)||{checkedKeys:te.checkedKeys,halfCheckedKeys:te.halfCheckedKeys}),Ne){var it=Ne,Ye=it.checkedKeys,nt=Ye===void 0?[]:Ye,je=it.halfCheckedKeys,et=je===void 0?[]:je;if(!Y.checkStrictly){var He=Object(j.a)(nt,!0,ee);nt=He.checkedKeys,et=He.halfCheckedKeys}Ce.checkedKeys=nt,Ce.halfCheckedKeys=et}}return he("loadedKeys")&&(Ce.loadedKeys=Y.loadedKeys),Ce}}]),Z}(h.Component);H.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:[]},H.TreeNode=m.a;var K=H,W=z.b=K},fE02:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("/IIm"),E=d("vZ6x"),C=d("b9oc"),t=d("72pK"),p=d("Kagy"),h=d("IUWy");d("3TkU");var o=p.toolbox.dataZoom,r=_.each,s="\0_ec_\0toolbox-dataZoom_";function l(f,m,A){(this._brushController=new I(A.getZr())).on("brush",_.bind(this._onBrush,this)).mount(),this._isZoomActive}l.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:_.clone(o.title)};var n=l.prototype;n.render=function(f,m,A,g){this.model=f,this.ecModel=m,this.api=A,i(f,m,this,g,A),a(f,m)},n.onclick=function(f,m,A){c[A].call(this)},n.remove=function(f,m){this._brushController.unmount()},n.dispose=function(f,m){this._brushController.dispose()};var c={zoom:function(){var f=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:f})},back:function(){this._dispatchZoomAction(C.pop(this.ecModel))}};n._onBrush=function(f,m){if(!m.isEnd||!f.length)return;var A={},g=this.ecModel;this._brushController.updateCovers([]);var v=new E(e(this.model.option),g,{include:["grid"]});v.matchOutputRanges(f,g,function(y,w,x){if(x.type!=="cartesian2d")return;var T=y.brushType;T==="rect"?(b("x",x,w[0]),b("y",x,w[1])):b({lineX:"x",lineY:"y"}[T],x,w)}),C.push(g,A),this._dispatchZoomAction(A);function b(y,w,x){var T=w.getAxis(y),L=T.model,R=S(y,L,g),P=R.findRepresentativeAxisProxy(L).getMinMaxSpan();(P.minValueSpan!=null||P.maxValueSpan!=null)&&(x=t(0,x.slice(),T.scale.getExtent(),0,P.minValueSpan,P.maxValueSpan)),R&&(A[R.id]={dataZoomId:R.id,startValue:x[0],endValue:x[1]})}function S(y,w,x){var T;return x.eachComponent({mainType:"dataZoom",subType:"select"},function(L){var R=L.getAxisModel(y,w.componentIndex);R&&(T=L)}),T}},n._dispatchZoomAction=function(f){var m=[];r(f,function(A,g){m.push(_.clone(A))}),m.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:m})};function e(f){var m={};return _.each(["xAxisIndex","yAxisIndex"],function(A){m[A]=f[A],m[A]==null&&(m[A]="all"),(m[A]===!1||m[A]==="none")&&(m[A]=[])}),m}function a(f,m){f.setIconStatus("back",C.count(m)>1?"emphasis":"normal")}function i(f,m,A,g,v){var b=A._isZoomActive;g&&g.type==="takeGlobalCursor"&&(b=g.key==="dataZoomSelect"?g.dataZoomSelectActive:!1),A._isZoomActive=b,f.setIconStatus("zoom",b?"emphasis":"normal");var S=new E(e(f.option),m,{include:["grid"]});A._brushController.setPanels(S.makePanelOpts(v,function(y){return y.xAxisDeclared&&!y.yAxisDeclared?"lineX":!y.xAxisDeclared&&y.yAxisDeclared?"lineY":"rect"})).enableBrush(b?{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}}:!1)}h.register("dataZoom",l),O.registerPreprocessor(function(f){if(!f)return;var m=f.dataZoom||(f.dataZoom=[]);_.isArray(m)||(f.dataZoom=m=[m]);var A=f.toolbox;if(A&&(_.isArray(A)&&(A=A[0]),A&&A.feature)){var g=A.feature.dataZoom;v("xAxis",g),v("yAxis",g)}function v(S,y){if(!y)return;var w=S+"Index",x=y[w];x!=null&&x!=="all"&&!_.isArray(x)&&(x=x===!1||x==="none"?[]:[x]),b(S,function(T,L){if(x!=null&&x!=="all"&&_.indexOf(x,L)===-1)return;var R={type:"select",$fromToolbox:!0,filterMode:y.filterMode||"filter",id:s+S+L};R[w]=L,m.push(R)})}function b(S,y){var w=f[S];_.isArray(w)||(w=w?[w]:[]),r(w,y)}});var u=l;ue.exports=u},fNCr:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("tSko"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},fUL4:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("r+aA"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},fW2E:function(ue,z){var d={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function O(_,I,E){return d.hasOwnProperty(I)?E*=_.dpr:E}ue.exports=O},"fc+c":function(ue,z,d){var O=d("sS/r"),_=O.extend({type:"dataZoom",render:function(I,E,C,t){this.dataZoomModel=I,this.ecModel=E,this.api=C},getTargetCoordInfo:function(){var I=this.dataZoomModel,E=this.ecModel,C={};I.eachTargetAxis(function(p,h){var o=E.getComponent(p.axis,h);if(o){var r=o.getCoordSysModel();r&&t(r,o,C[r.mainType]||(C[r.mainType]=[]),r.componentIndex)}},this);function t(p,h,o,r){for(var s,l=0;l<o.length;l++)if(o[l].model===p){s=o[l];break}s||o.push(s={model:p,axisModels:[],coordIndex:r}),s.axisModels.push(h)}return C}});ue.exports=_},fjKi:function(ue,z,d){var O=d("ProS");d("Q7if"),d("jndi"),O.registerPreprocessor(function(_){_.markArea=_.markArea||{}})},fls0:function(ue,z,d){var O=d("bYtY"),_=d("QBsz"),I=d("oVpE"),E=d("f5HG"),C=d("IwbS"),t=d("OELB"),p=t.round,h=["fromSymbol","toSymbol"];function o(i){return"_"+i+"Type"}function r(i,u,f){var m=u.getItemVisual(f,"color"),A=u.getItemVisual(f,i),g=u.getItemVisual(f,i+"Size");if(!A||A==="none")return;O.isArray(g)||(g=[g,g]);var v=I.createSymbol(A,-g[0]/2,-g[1]/2,g[0],g[1],m);return v.name=i,v}function s(i){var u=new E({name:"line",subPixelOptimize:!0});return l(u.shape,i),u}function l(i,u){i.x1=u[0][0],i.y1=u[0][1],i.x2=u[1][0],i.y2=u[1][1],i.percent=1;var f=u[2];f?(i.cpx1=f[0],i.cpy1=f[1]):(i.cpx1=NaN,i.cpy1=NaN)}function n(){var i=this,u=i.childOfName("fromSymbol"),f=i.childOfName("toSymbol"),m=i.childOfName("label");if(!u&&!f&&m.ignore)return;for(var A=1,g=this.parent;g;)g.scale&&(A/=g.scale[0]),g=g.parent;var v=i.childOfName("line");if(!this.__dirty&&!v.__dirty)return;var b=v.shape.percent,S=v.pointAt(0),y=v.pointAt(b),w=_.sub([],y,S);if(_.normalize(w,w),u){u.attr("position",S);var x=v.tangentAt(0);u.attr("rotation",Math.PI/2-Math.atan2(x[1],x[0])),u.attr("scale",[A*b,A*b])}if(f){f.attr("position",y);var x=v.tangentAt(1);f.attr("rotation",-Math.PI/2-Math.atan2(x[1],x[0])),f.attr("scale",[A*b,A*b])}if(!m.ignore){m.attr("position",y);var T,L,R,P,k=m.__labelDistance,U=k[0]*A,D=k[1]*A,M=b/2,x=v.tangentAt(M),B=[x[1],-x[0]],j=v.pointAt(M);B[1]>0&&(B[0]=-B[0],B[1]=-B[1]);var H=x[0]<0?-1:1;if(m.__position!=="start"&&m.__position!=="end"){var K=-Math.atan2(x[1],x[0]);y[0]<S[0]&&(K=Math.PI+K),m.attr("rotation",K)}var W;switch(m.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":W=-D,R="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":W=D,R="top";break;default:W=0,R="middle"}switch(m.__position){case"end":T=[w[0]*U+y[0],w[1]*D+y[1]],L=w[0]>.8?"left":w[0]<-.8?"right":"center",R=w[1]>.8?"top":w[1]<-.8?"bottom":"middle";break;case"start":T=[-w[0]*U+S[0],-w[1]*D+S[1]],L=w[0]>.8?"right":w[0]<-.8?"left":"center",R=w[1]>.8?"bottom":w[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":T=[U*H+S[0],S[1]+W],L=x[0]<0?"right":"left",P=[-U*H,-W];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":T=[j[0],j[1]+W],L="center",P=[0,-W];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":T=[-U*H+y[0],y[1]+W],L=x[0]>=0?"right":"left",P=[U*H,-W];break}m.attr({style:{textVerticalAlign:m.__verticalAlign||R,textAlign:m.__textAlign||L},position:T,scale:[A,A],origin:P})}}function c(i,u,f){C.Group.call(this),this._createLine(i,u,f)}var e=c.prototype;e.beforeUpdate=n,e._createLine=function(i,u,f){var m=i.hostModel,A=i.getItemLayout(u),g=s(A);g.shape.percent=0,C.initProps(g,{shape:{percent:1}},m,u),this.add(g);var v=new C.Text({name:"label",lineLabelOriginalOpacity:1});this.add(v),O.each(h,function(b){var S=r(b,i,u);this.add(S),this[o(b)]=i.getItemVisual(u,b)},this),this._updateCommonStl(i,u,f)},e.updateData=function(i,u,f){var m=i.hostModel,A=this.childOfName("line"),g=i.getItemLayout(u),v={shape:{}};l(v.shape,g),C.updateProps(A,v,m,u),O.each(h,function(b){var S=i.getItemVisual(u,b),y=o(b);if(this[y]!==S){this.remove(this.childOfName(b));var w=r(b,i,u);this.add(w)}this[y]=S},this),this._updateCommonStl(i,u,f)},e._updateCommonStl=function(i,u,f){var m=i.hostModel,A=this.childOfName("line"),g=f&&f.lineStyle,v=f&&f.hoverLineStyle,b=f&&f.labelModel,S=f&&f.hoverLabelModel;if(!f||i.hasItemOption){var y=i.getItemModel(u);g=y.getModel("lineStyle").getLineStyle(),v=y.getModel("emphasis.lineStyle").getLineStyle(),b=y.getModel("label"),S=y.getModel("emphasis.label")}var w=i.getItemVisual(u,"color"),x=O.retrieve3(i.getItemVisual(u,"opacity"),g.opacity,1);A.useStyle(O.defaults({strokeNoScale:!0,fill:"none",stroke:w,opacity:x},g)),A.hoverStyle=v,O.each(h,function(H){var K=this.childOfName(H);K&&(K.setColor(w),K.setStyle({opacity:x}))},this);var T=b.getShallow("show"),L=S.getShallow("show"),R=this.childOfName("label"),P,k;if((T||L)&&(P=w||"#000",k=m.getFormattedLabel(u,"normal",i.dataType),k==null)){var U=m.getRawValue(u);k=U==null?i.getName(u):isFinite(U)?p(U):U}var D=T?k:null,M=L?O.retrieve2(m.getFormattedLabel(u,"emphasis",i.dataType),k):null,B=R.style;if(D!=null||M!=null){C.setTextStyle(R.style,b,{text:D},{autoColor:P}),R.__textAlign=B.textAlign,R.__verticalAlign=B.textVerticalAlign,R.__position=b.get("position")||"middle";var j=b.get("distance");O.isArray(j)||(j=[j,j]),R.__labelDistance=j}M!=null?R.hoverStyle={text:M,textFill:S.getTextColor(!0),fontStyle:S.getShallow("fontStyle"),fontWeight:S.getShallow("fontWeight"),fontSize:S.getShallow("fontSize"),fontFamily:S.getShallow("fontFamily")}:R.hoverStyle={text:null},R.ignore=!T&&!L,C.setHoverStyle(this)},e.highlight=function(){this.trigger("emphasis")},e.downplay=function(){this.trigger("normal")},e.updateLayout=function(i,u){this.setLinePoints(i.getItemLayout(u))},e.setLinePoints=function(i){var u=this.childOfName("line");l(u.shape,i),u.dirty()},O.inherits(c,C.Group);var a=c;ue.exports=a},fmMI:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.each,C=I.filter,t=I.map,p=I.isArray,h=I.indexOf,o=I.isObject,r=I.isString,s=I.createHashMap,l=I.assert,n=I.clone,c=I.merge,e=I.extend,a=I.mixin,i=d("4NO4"),u=d("Qxkt"),f=d("bLfw"),m=d("iXHM"),A=d("5Hur"),g=d("D5nY"),v=g.resetSourceDefaulter,b="\0_ec_inner",S=u.extend({init:function(D,M,B,j){B=B||{},this.option=null,this._theme=new u(B),this._optionManager=j},setOption:function(D,M){l(!(b in D),"please use chart.getOption()"),this._optionManager.setOption(D,M),this.resetOption(null)},resetOption:function(D){var M=!1,B=this._optionManager;if(!D||D==="recreate"){var j=B.mountOption(D==="recreate");!this.option||D==="recreate"?x.call(this,j):(this.restoreData(),this.mergeOption(j)),M=!0}if((D==="timeline"||D==="media")&&this.restoreData(),!D||D==="recreate"||D==="timeline"){var H=B.getTimelineOption(this);H&&(this.mergeOption(H),M=!0)}if(!D||D==="recreate"||D==="media"){var K=B.getMediaOption(this,this._api);K.length&&E(K,function(W){this.mergeOption(W,M=!0)},this)}return M},mergeOption:function(D){var M=this.option,B=this._componentsMap,j=[];v(this),E(D,function(K,W){if(K==null)return;f.hasClass(W)?W&&j.push(W):M[W]=M[W]==null?n(K):c(M[W],K,!0)}),f.topologicalTravel(j,f.getAllClassMainTypes(),H,this);function H(K,W){var X=i.normalizeToArray(D[K]),V=i.mappingToExists(B.get(K),X);i.makeIdAndName(V),E(V,function(G,Y){var te=G.option;o(te)&&(G.keyInfo.mainType=K,G.keyInfo.subType=L(K,te,G.exist))});var Z=T(B,W);M[K]=[],B.set(K,[]),E(V,function(G,Y){var te=G.exist,se=G.option;if(l(o(se)||te,"Empty component definition"),!se)te.mergeOption({},this),te.optionUpdated({},!1);else{var Ce=f.getClass(K,G.keyInfo.subType,!0);if(te&&te.constructor===Ce)te.name=G.keyInfo.name,te.mergeOption(se,this),te.optionUpdated(se,!1);else{var he=e({dependentModels:Z,componentIndex:Y},G.keyInfo);te=new Ce(se,this,this,he),e(te,he),te.init(se,this,this,he),te.optionUpdated(null,!0)}}B.get(K)[Y]=te,M[K][Y]=te.option},this),K==="series"&&R(this,B.get("series"))}this._seriesIndicesMap=s(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var D=n(this.option);return E(D,function(M,B){if(f.hasClass(B)){for(var M=i.normalizeToArray(M),j=M.length-1;j>=0;j--)i.isIdInner(M[j])&&M.splice(j,1);D[B]=M}}),delete D[b],D},getTheme:function(){return this._theme},getComponent:function(D,M){var B=this._componentsMap.get(D);if(B)return B[M||0]},queryComponents:function(D){var M=D.mainType;if(!M)return[];var B=D.index,j=D.id,H=D.name,K=this._componentsMap.get(M);if(!K||!K.length)return[];var W;if(B!=null)p(B)||(B=[B]),W=C(t(B,function(Z){return K[Z]}),function(Z){return!!Z});else if(j!=null){var X=p(j);W=C(K,function(Z){return X&&h(j,Z.id)>=0||!X&&Z.id===j})}else if(H!=null){var V=p(H);W=C(K,function(Z){return V&&h(H,Z.name)>=0||!V&&Z.name===H})}else W=K.slice();return P(W,D)},findComponents:function(D){var M=D.query,B=D.mainType,j=K(M),H=j?this.queryComponents(j):this._componentsMap.get(B);return W(P(H,D));function K(X){var V=B+"Index",Z=B+"Id",G=B+"Name";return X&&(X[V]!=null||X[Z]!=null||X[G]!=null)?{mainType:B,index:X[V],id:X[Z],name:X[G]}:null}function W(X){return D.filter?C(X,D.filter):X}},eachComponent:function(D,M,B){var j=this._componentsMap;if(typeof D=="function")B=M,M=D,j.each(function(K,W){E(K,function(X,V){M.call(B,W,X,V)})});else if(r(D))E(j.get(D),M,B);else if(o(D)){var H=this.findComponents(D);E(H,M,B)}},getSeriesByName:function(D){var M=this._componentsMap.get("series");return C(M,function(B){return B.name===D})},getSeriesByIndex:function(D){return this._componentsMap.get("series")[D]},getSeriesByType:function(D){var M=this._componentsMap.get("series");return C(M,function(B){return B.subType===D})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(D,M){k(this),E(this._seriesIndices,function(B){var j=this._componentsMap.get("series")[B];D.call(M,j,B)},this)},eachRawSeries:function(D,M){E(this._componentsMap.get("series"),D,M)},eachSeriesByType:function(D,M,B){k(this),E(this._seriesIndices,function(j){var H=this._componentsMap.get("series")[j];H.subType===D&&M.call(B,H,j)},this)},eachRawSeriesByType:function(D,M,B){return E(this.getSeriesByType(D),M,B)},isSeriesFiltered:function(D){return k(this),this._seriesIndicesMap.get(D.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(D,M){k(this);var B=C(this._componentsMap.get("series"),D,M);R(this,B)},restoreData:function(D){var M=this._componentsMap;R(this,M.get("series"));var B=[];M.each(function(j,H){B.push(H)}),f.topologicalTravel(B,f.getAllClassMainTypes(),function(j,H){E(M.get(j),function(K){(j!=="series"||!y(K,D))&&K.restoreData()})})}});function y(D,M){if(M){var B=M.seiresIndex,j=M.seriesId,H=M.seriesName;return B!=null&&D.componentIndex!==B||j!=null&&D.id!==j||H!=null&&D.name!==H}}function w(D,M){var B=D.color&&!D.colorLayer;E(M,function(j,H){if(H==="colorLayer"&&B)return;f.hasClass(H)||(typeof j=="object"?D[H]=D[H]?c(D[H],j,!1):n(j):D[H]==null&&(D[H]=j))})}function x(D){D=D,this.option={},this.option[b]=1,this._componentsMap=s({series:[]}),this._seriesIndices,this._seriesIndicesMap,w(D,this._theme.option),c(D,m,!1),this.mergeOption(D)}function T(D,M){p(M)||(M=M?[M]:[]);var B={};return E(M,function(j){B[j]=(D.get(j)||[]).slice()}),B}function L(D,M,B){var j=M.type?M.type:B?B.subType:f.determineSubType(D,M);return j}function R(D,M){D._seriesIndicesMap=s(D._seriesIndices=t(M,function(B){return B.componentIndex})||[])}function P(D,M){return M.hasOwnProperty("subType")?C(D,function(B){return B.subType===M.subType}):D}function k(D){}a(S,A);var U=S;ue.exports=U},fyUT:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("q1tI"),t=d.n(C),p=d("TSYQ"),h=d.n(p),o=d("Ff2n"),r=d("rePB"),s=d("1OyB"),l=d("vuIU"),n=d("Ji7U"),c=d("md7G"),e=d("foSv"),a=d("4IlW");function i(W,X){var V=Object.keys(W);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(W);X&&(Z=Z.filter(function(G){return Object.getOwnPropertyDescriptor(W,G).enumerable})),V.push.apply(V,Z)}return V}function u(W){for(var X=1;X<arguments.length;X++){var V=arguments[X]!=null?arguments[X]:{};X%2?i(Object(V),!0).forEach(function(Z){Object(r.a)(W,Z,V[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(V)):i(Object(V)).forEach(function(Z){Object.defineProperty(W,Z,Object.getOwnPropertyDescriptor(V,Z))})}return W}function f(W){var X=m();return function(){var Z=Object(e.a)(W),G;if(X){var Y=Object(e.a)(this).constructor;G=Reflect.construct(Z,arguments,Y)}else G=Z.apply(this,arguments);return Object(c.a)(this,G)}}function m(){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 A(){}function g(W){W.preventDefault()}var v=function(X){return X.replace(/[^\w.-]+/g,"")},b=200,S=600,y=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,w=function(X){return X!=null},x=function(X,V){return V===X||typeof V=="number"&&typeof X=="number"&&isNaN(V)&&isNaN(X)},T=function(W){Object(n.a)(V,W);var X=f(V);function V(Z){var G;Object(s.a)(this,V),G=X.call(this,Z),G.onKeyDown=function(se){var Ce=G.props,he=Ce.onKeyDown,xe=Ce.onPressEnter;if(se.keyCode===a.a.UP){var ie=G.getRatio(se);G.up(se,ie,null),G.stop()}else if(se.keyCode===a.a.DOWN){var ee=G.getRatio(se);G.down(se,ee,null),G.stop()}else se.keyCode===a.a.ENTER&&xe&&xe(se);if(G.recordCursorPosition(),G.lastKeyCode=se.keyCode,he){for(var Ze=arguments.length,Se=new Array(Ze>1?Ze-1:0),Ne=1;Ne<Ze;Ne++)Se[Ne-1]=arguments[Ne];he.apply(void 0,[se].concat(Se))}},G.onKeyUp=function(se){var Ce=G.props.onKeyUp;if(G.stop(),G.recordCursorPosition(),Ce){for(var he=arguments.length,xe=new Array(he>1?he-1:0),ie=1;ie<he;ie++)xe[ie-1]=arguments[ie];Ce.apply(void 0,[se].concat(xe))}},G.onChange=function(se){var Ce=G.props.onChange;G.state.focused&&(G.inputting=!0),G.rawInput=G.props.parser(G.getValueFromEvent(se)),G.setState({inputValue:G.rawInput}),Ce(G.toNumber(G.rawInput))},G.onMouseUp=function(){var se=G.props.onMouseUp;G.recordCursorPosition(),se&&se.apply(void 0,arguments)},G.onFocus=function(){var se;G.setState({focused:!0}),(se=G.props).onFocus.apply(se,arguments)},G.onBlur=function(){var se=G.props.onBlur;G.inputting=!1,G.setState({focused:!1});var Ce=G.getCurrentValidValue(G.state.inputValue),he=G.setValue(Ce,A);if(se){var xe=G.input.value,ie=G.getInputDisplayValue({focus:!1,value:he});G.input.value=ie&&Number(ie),se.apply(void 0,arguments),G.input.value=xe}},G.getRatio=function(se){var Ce=1;return se.metaKey||se.ctrlKey?Ce=.1:se.shiftKey&&(Ce=10),Ce},G.getFullNum=function(se){return isNaN(se)?se:/e/i.test(String(se))?Number(se).toFixed(18).replace(/\.?0+$/,""):se},G.getPrecision=function(se){if(w(G.props.precision))return G.props.precision;var Ce=String(se);if(Ce.indexOf("e-")>=0)return parseInt(Ce.slice(Ce.indexOf("e-")+2),10);var he=0;return Ce.indexOf(".")>=0&&(he=Ce.length-Ce.indexOf(".")-1),he},G.getInputDisplayValue=function(se){var Ce=se||G.state,he=Ce.focused,xe=Ce.inputValue,ie=Ce.value,ee;he?ee=xe:ee=G.toPrecisionAsStep(ie),ee==null&&(ee="");var Ze=G.formatWrapper(ee);return w(G.props.decimalSeparator)&&(Ze=Ze.toString().replace(".",G.props.decimalSeparator)),Ze},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(se){}},G.restoreByAfter=function(se){if(se===void 0)return!1;var Ce=G.input.value,he=Ce.lastIndexOf(se);if(he===-1)return!1;var xe=G.cursorBefore.length;return G.lastKeyCode===a.a.DELETE&&G.cursorBefore.charAt(xe-1)===se[0]?(G.fixCaret(xe,xe),!0):he+se.length===Ce.length?(G.fixCaret(he,he),!0):!1},G.partRestoreByAfter=function(se){return se===void 0?!1:Array.prototype.some.call(se,function(Ce,he){var xe=se.substring(he);return G.restoreByAfter(xe)})},G.isNotCompleteNumber=function(se){return isNaN(se)||se===""||se===null||se&&se.toString().indexOf(".")===se.toString().length-1},G.stop=function(){G.autoStepTimer&&clearTimeout(G.autoStepTimer)},G.down=function(se,Ce,he){G.pressingUpOrDown=!0,G.step("down",se,Ce,he)},G.up=function(se,Ce,he){G.pressingUpOrDown=!0,G.step("up",se,Ce,he)},G.saveInput=function(se){G.input=se};var Y=Z.value;Y===void 0&&(Y=Z.defaultValue),G.state={focused:Z.autoFocus};var te=G.getValidValue(G.toNumber(Y));return G.state=u(u({},G.state),{},{inputValue:G.toPrecisionAsStep(te),value:te}),G}return Object(l.a)(V,[{key:"componentDidMount",value:function(){this.componentDidUpdate(null)}},{key:"componentDidUpdate",value:function(G){var Y=this.props,te=Y.value,se=Y.onChange,Ce=Y.max,he=Y.min,xe=this.state.focused;if(G){if(!x(G.value,te)||!x(G.max,Ce)||!x(G.min,he)){var ie=xe?te:this.getValidValue(te),ee;this.pressingUpOrDown?ee=ie:this.inputting?ee=this.rawInput:ee=this.toPrecisionAsStep(ie),this.setState({value:ie,inputValue:ee})}var Ze="value"in this.props?te:this.state.value;"max"in this.props&&G.max!==Ce&&typeof Ze=="number"&&Ze>Ce&&se&&se(Ce),"min"in this.props&&G.min!==he&&typeof Ze=="number"&&Ze<he&&se&&se(he)}try{if(this.cursorStart!==void 0&&this.state.focused){if(!this.partRestoreByAfter(this.cursorAfter)&&this.state.value!==this.props.value){var Se=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===a.a.BACKSPACE?Se=this.cursorStart-1:this.lastKeyCode===a.a.DELETE&&(Se=this.cursorStart):Se=this.input.value.length,this.fixCaret(Se,Se)}else if(this.currentValue===this.input.value)switch(this.lastKeyCode){case a.a.BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case a.a.DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}}catch(Ne){}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 Y=G;return Y===""?Y="":this.isNotCompleteNumber(parseFloat(Y))?Y=this.state.value:Y=this.getValidValue(Y),this.toNumber(Y)}},{key:"getValueFromEvent",value:function(G){var Y=G.target.value.trim().replace(/。/g,".");return w(this.props.decimalSeparator)&&(Y=Y.replace(this.props.decimalSeparator,".")),Y}},{key:"getValidValue",value:function(G){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.props.min,te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:this.props.max,se=parseFloat(G);return isNaN(se)?G:(se<Y&&(se=Y),se>te&&(se=te),se)}},{key:"setValue",value:function(G,Y){var te=this.props.precision,se=this.isNotCompleteNumber(parseFloat(G))?null:parseFloat(G),Ce=this.state.value,he=Ce===void 0?null:Ce,xe=this.state.inputValue,ie=xe===void 0?null:xe,ee=typeof se=="number"?se.toFixed(te):"".concat(se),Ze=se!==he||ee!=="".concat(ie);return"value"in this.props?(ie=this.toPrecisionAsStep(this.state.value),this.setState({inputValue:ie},Y)):this.setState({value:se,inputValue:this.toPrecisionAsStep(G)},Y),Ze&&this.props.onChange(se),se}},{key:"getMaxPrecision",value:function(G){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,te=this.props,se=te.precision,Ce=te.step;if(w(se))return se;var he=this.getPrecision(Y),xe=this.getPrecision(Ce),ie=this.getPrecision(G);return G?Math.max(ie,he+xe):he+xe}},{key:"getPrecisionFactor",value:function(G){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,te=this.getMaxPrecision(G,Y);return Math.pow(10,te)}},{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 Y=Math.abs(this.getMaxPrecision(G));return isNaN(Y)?G.toString():Number(G).toFixed(Y)}},{key:"toNumber",value:function(G){var Y=this.props.precision,te=this.state.focused,se=G&&G.length>16&&te;return this.isNotCompleteNumber(G)||se?G:w(Y)?Math.round(G*Math.pow(10,Y))/Math.pow(10,Y):Number(G)}},{key:"upStep",value:function(G,Y){var te=this.props.step,se=this.getPrecisionFactor(G,Y),Ce=Math.abs(this.getMaxPrecision(G,Y)),he=((se*G+se*te*Y)/se).toFixed(Ce);return this.toNumber(he)}},{key:"downStep",value:function(G,Y){var te=this.props.step,se=this.getPrecisionFactor(G,Y),Ce=Math.abs(this.getMaxPrecision(G,Y)),he=((se*G-se*te*Y)/se).toFixed(Ce);return this.toNumber(he)}},{key:"step",value:function(G,Y){var te=this,se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ce=arguments.length>3?arguments[3]:void 0;this.stop(),Y&&(Y.persist(),Y.preventDefault());var he=this.props;if(he.disabled)return;var xe=this.getCurrentValidValue(this.state.inputValue)||0;if(this.isNotCompleteNumber(xe))return;var ie=this["".concat(G,"Step")](xe,se),ee=ie>he.max||ie<he.min;if(ie>he.max?ie=he.max:ie<he.min&&(ie=he.min),this.setValue(ie,null),this.setState({focused:!0},function(){te.pressingUpOrDown=!1}),ee)return;this.autoStepTimer=setTimeout(function(){te[G](Y,se,!0)},Ce?b:S)}},{key:"fixCaret",value:function(G,Y){if(G===void 0||Y===void 0||!this.input||!this.input.value)return;try{var te=this.input.selectionStart,se=this.input.selectionEnd;(G!==te||Y!==se)&&this.input.setSelectionRange(G,Y)}catch(Ce){}}},{key:"render",value:function(){var G,Y=this.props,te=Y.prefixCls,se=Y.disabled,Ce=Y.readOnly,he=Y.useTouch,xe=Y.autoComplete,ie=Y.upHandler,ee=Y.downHandler,Ze=Y.className,Se=Y.max,Ne=Y.min,it=Y.style,Ye=Y.title,nt=Y.onMouseEnter,je=Y.onMouseLeave,et=Y.onMouseOver,He=Y.onMouseOut,pe=Y.required,ae=Y.onClick,re=Y.tabIndex,be=Y.type,ze=Y.placeholder,Ke=Y.id,Te=Y.inputMode,gt=Y.pattern,Ue=Y.step,bt=Y.maxLength,wt=Y.autoFocus,Et=Y.name,xt=Y.onPaste,Tt=Y.onInput,Be=Object(o.a)(Y,["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","onInput"]),ce=this.state,q=ce.value,dt=ce.focused,Ve=h()(te,(G={},Object(r.a)(G,Ze,!!Ze),Object(r.a)(G,"".concat(te,"-disabled"),se),Object(r.a)(G,"".concat(te,"-focused"),dt),G)),de={};Object.keys(Be).forEach(function(Qe){(Qe.substr(0,5)==="data-"||Qe.substr(0,5)==="aria-"||Qe==="role")&&(de[Qe]=Be[Qe])});var Ht=!Ce&&!se,tr=this.getInputDisplayValue(null),lt=(q||q===0)&&(isNaN(q)||Number(q)>=Se),Xt=(q||q===0)&&(isNaN(q)||Number(q)<=Ne),sr=lt||se||Ce,Kr=Xt||se||Ce,rr=h()("".concat(te,"-handler"),"".concat(te,"-handler-up"),Object(r.a)({},"".concat(te,"-handler-up-disabled"),sr)),nr=h()("".concat(te,"-handler"),"".concat(te,"-handler-down"),Object(r.a)({},"".concat(te,"-handler-down-disabled"),Kr)),Nt=he?{onTouchStart:sr?A:this.up,onTouchEnd:this.stop}:{onMouseDown:sr?A:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},ot=he?{onTouchStart:Kr?A:this.down,onTouchEnd:this.stop}:{onMouseDown:Kr?A:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return t.a.createElement("div",{className:Ve,style:it,title:Ye,onMouseEnter:nt,onMouseLeave:je,onMouseOver:et,onMouseOut:He,onFocus:function(){return null},onBlur:function(){return null}},t.a.createElement("div",{className:"".concat(te,"-handler-wrap")},t.a.createElement("span",Object.assign({unselectable:"on"},Nt,{role:"button","aria-label":"Increase Value","aria-disabled":sr,className:rr}),ie||t.a.createElement("span",{unselectable:"on",className:"".concat(te,"-handler-up-inner"),onClick:g})),t.a.createElement("span",Object.assign({unselectable:"on"},ot,{role:"button","aria-label":"Decrease Value","aria-disabled":Kr,className:nr}),ee||t.a.createElement("span",{unselectable:"on",className:"".concat(te,"-handler-down-inner"),onClick:g}))),t.a.createElement("div",{className:"".concat(te,"-input-wrap")},t.a.createElement("input",Object.assign({role:"spinbutton","aria-valuemin":Ne,"aria-valuemax":Se,"aria-valuenow":q,required:pe,type:be,placeholder:ze,onPaste:xt,onClick:ae,onMouseUp:this.onMouseUp,className:"".concat(te,"-input"),tabIndex:re,autoComplete:xe,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:Ht?this.onKeyDown:A,onKeyUp:Ht?this.onKeyUp:A,autoFocus:wt,maxLength:bt,readOnly:Ce,disabled:se,max:Se,min:Ne,step:Ue,name:Et,title:Ye,id:Ke,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(tr),pattern:gt,inputMode:Te,onInput:Tt},de))))}}]),V}(t.a.Component);T.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",max:y,min:-y,step:1,style:{},onChange:A,onKeyDown:A,onPressEnter:A,onFocus:A,onBlur:A,parser:v,required:!1,autoComplete:"off"};var L=T,R=L,P=d("FH2Y"),k=d.n(P),U=d("HQEm"),D=d.n(U),M=d("H84U"),B=d("3Nzz"),j=function(W,X){var V={};for(var Z in W)Object.prototype.hasOwnProperty.call(W,Z)&&X.indexOf(Z)<0&&(V[Z]=W[Z]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,Z=Object.getOwnPropertySymbols(W);G<Z.length;G++)X.indexOf(Z[G])<0&&Object.prototype.propertyIsEnumerable.call(W,Z[G])&&(V[Z[G]]=W[Z[G]]);return V},H=C.forwardRef(function(W,X){var V=function(G){var Y=G.getPrefixCls,te=G.direction,se=W.className,Ce=W.size,he=W.prefixCls,xe=W.readOnly,ie=j(W,["className","size","prefixCls","readOnly"]),ee=Y("input-number",he),Ze=C.createElement(k.a,{className:"".concat(ee,"-handler-up-inner")}),Se=C.createElement(D.a,{className:"".concat(ee,"-handler-down-inner")});return C.createElement(B.b.Consumer,null,function(Ne){var it,Ye=Ce||Ne,nt=h()((it={},E()(it,"".concat(ee,"-lg"),Ye==="large"),E()(it,"".concat(ee,"-sm"),Ye==="small"),E()(it,"".concat(ee,"-rtl"),te==="rtl"),E()(it,"".concat(ee,"-readonly"),xe),it),se);return C.createElement(R,_()({ref:X,className:nt,upHandler:Ze,downHandler:Se,prefixCls:ee,readOnly:xe},ie))})};return C.createElement(M.a,null,V)});H.defaultProps={step:1};var K=z.a=H},g0SD:function(ue,z,d){var O=d("bYtY"),_=d("9wZj"),I=d("OELB"),E=d("YXkt"),C=d("kj2x"),t=d("iPDy");function p(r,s,l){var n=s.coordinateSystem;r.each(function(c){var e=r.getItemModel(c),a,i=I.parsePercent(e.get("x"),l.getWidth()),u=I.parsePercent(e.get("y"),l.getHeight());if(!isNaN(i)&&!isNaN(u))a=[i,u];else if(s.getMarkerPosition)a=s.getMarkerPosition(r.getValues(r.dimensions,c));else if(n){var f=r.get(n.dimensions[0],c),m=r.get(n.dimensions[1],c);a=n.dataToPoint([f,m])}isNaN(i)||(a[0]=i),isNaN(u)||(a[1]=u),r.setItemLayout(c,a)})}var h=t.extend({type:"markPoint",updateTransform:function(r,s,l){s.eachSeries(function(n){var c=n.markPointModel;c&&(p(c.getData(),n,l),this.markerGroupMap.get(n.id).updateLayout(c))},this)},renderSeries:function(r,s,l,n){var c=r.coordinateSystem,e=r.id,a=r.getData(),i=this.markerGroupMap,u=i.get(e)||i.set(e,new _),f=o(c,r,s);s.setData(f),p(s.getData(),r,n),f.each(function(m){var A=f.getItemModel(m),g=A.getShallow("symbol"),v=A.getShallow("symbolSize"),b=O.isFunction(g),S=O.isFunction(v);if(b||S){var y=s.getRawValue(m),w=s.getDataParams(m);b&&(g=g(y,w)),S&&(v=v(y,w))}f.setItemVisual(m,{symbol:g,symbolSize:v,color:A.get("itemStyle.color")||a.getVisual("color")})}),u.updateData(f),this.group.add(u.group),f.eachItemGraphicEl(function(m){m.traverse(function(A){A.dataModel=s})}),u.__keep=!0,u.group.silent=s.get("silent")||r.get("silent")}});function o(r,s,l){var n;r?n=O.map(r&&r.dimensions,function(a){var i=s.getData().getDimensionInfo(s.getData().mapDimension(a))||{};return O.defaults({name:a},i)}):n=[{name:"value",type:"float"}];var c=new E(n,l),e=O.map(l.get("data"),O.curry(C.dataTransform,s));return r&&(e=O.filter(e,O.curry(C.dataFilter,r))),c.initData(e,null,r?C.dimValueGetter:function(a){return a.value}),c}ue.exports=h},g7p0:function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("+TT/"),E=I.getLayoutParams,C=I.sizeCalculable,t=I.mergeLayoutParam,p=_.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,s,l,n){var c=E(r);p.superApply(this,"init",arguments),h(r,c)},mergeOption:function(r,s){p.superApply(this,"mergeOption",arguments),h(this.option,r)}});function h(r,s){var l=r.cellSize;O.isArray(l)?l.length===1&&(l[1]=l[0]):l=r.cellSize=[l,l];var n=O.map([0,1],function(c){return C(s,c)&&(l[c]="auto"),l[c]!=null&&l[c]!=="auto"});t(r,s,{type:"box",ignoreSize:n})}var o=p;ue.exports=o},g9YV:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("pED+"),E=d.n(I),C=d("+L6B"),t=d("R9oj"),p=d("7Kak"),h=d("sRBo"),o=d("qVdP"),r=d("T2oS"),s=d("DjyN"),l=d("5Dmo")},gIYZ:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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"};z.default=O},gKaM:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},gPAo:function(ue,z){function d(E){return E}function O(E,C,t,p,h){this._old=E,this._new=C,this._oldKeyGetter=t||d,this._newKeyGetter=p||d,this.context=h}O.prototype={constructor:O,add:function(E){return this._add=E,this},update:function(E){return this._update=E,this},remove:function(E){return this._remove=E,this},execute:function(){var E=this._old,C=this._new,t={},p={},h=[],o=[],r;for(_(E,t,h,"_oldKeyGetter",this),_(C,p,o,"_newKeyGetter",this),r=0;r<E.length;r++){var s=h[r],l=p[s];if(l!=null){var n=l.length;n?(n===1&&(p[s]=null),l=l.shift()):p[s]=null,this._update&&this._update(l,r)}else this._remove&&this._remove(r)}for(var r=0;r<o.length;r++){var s=o[r];if(p.hasOwnProperty(s)){var l=p[s];if(l==null)continue;if(!l.length)this._add&&this._add(l);else for(var c=0,n=l.length;c<n;c++)this._add&&this._add(l[c])}}}};function _(E,C,t,p,h){for(var o=0;o<E.length;o++){var r="_ec_"+h[p](E[o],o),s=C[r];s==null?(t.push(r),C[r]=o):(s.length||(C[r]=s=[s]),s.push(o))}}var I=O;ue.exports=I},gRFJ:function(ue,z,d){ue.exports=[d("rdUC"),d("ynwM"),d("RELg"),d("DlR+"),d("CrYA"),d("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(ue){return ue<10?"0"+ue:ue}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(ue){return rx_escapable.lastIndex=0,rx_escapable.test(ue)?'"'+ue.replace(rx_escapable,function(z){var d=meta[z];return typeof d=="string"?d:"\\u"+("0000"+z.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+ue+'"'}function str(ue,z){var d,O,_,I,E=gap,C,t=z[ue];t&&typeof t=="object"&&typeof t.toJSON=="function"&&(t=t.toJSON(ue)),typeof rep=="function"&&(t=rep.call(z,ue,t));switch(typeof t){case"string":return quote(t);case"number":return isFinite(t)?String(t):"null";case"boolean":case"null":return String(t);case"object":if(!t)return"null";if(gap+=indent,C=[],Object.prototype.toString.apply(t)==="[object Array]"){for(I=t.length,d=0;d<I;d+=1)C[d]=str(d,t)||"null";return _=C.length===0?"[]":gap?`[
`+gap+C.join(`,
`+gap)+`
`+E+"]":"["+C.join(",")+"]",gap=E,_}if(rep&&typeof rep=="object")for(I=rep.length,d=0;d<I;d+=1)typeof rep[d]=="string"&&(O=rep[d],_=str(O,t),_&&C.push(quote(O)+(gap?": ":":")+_));else for(O in t)Object.prototype.hasOwnProperty.call(t,O)&&(_=str(O,t),_&&C.push(quote(O)+(gap?": ":":")+_));return _=C.length===0?"{}":gap?`{
`+gap+C.join(`,
`+gap)+`
`+E+"}":"{"+C.join(",")+"}",gap=E,_}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(ue,z,d){var O;if(gap="",indent="",typeof d=="number")for(O=0;O<d;O+=1)indent+=" ";else typeof d=="string"&&(indent=d);if(rep=z,z&&typeof z!="function"&&(typeof z!="object"||typeof z.length!="number"))throw new Error("JSON.stringify");return str("",{"":ue})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(ue,z){var d,O,_=ue[z];if(_&&typeof _=="object")for(d in _)Object.prototype.hasOwnProperty.call(_,d)&&(O=walk(_,d),O!==void 0?_[d]=O:delete _[d]);return reviver.call(ue,z,_)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(ue){return"\\u"+("0000"+ue.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(ue,z,d){var O=d("+TT/"),_=d("bYtY"),I=d("4NO4"),E=I.groupData;function C(x,T,L){x.eachSeriesByType("sankey",function(R){var P=R.get("nodeWidth"),k=R.get("nodeGap"),U=t(R,T);R.layoutInfo=U;var D=U.width,M=U.height,B=R.getGraph(),j=B.nodes,H=B.edges;h(j);var K=_.filter(j,function(Z){return Z.getLayout().value===0}),W=K.length!==0?0:R.get("layoutIterations"),X=R.get("orient"),V=R.get("nodeAlign");p(j,H,P,k,D,M,W,X,V)})}function t(x,T){return O.getLayoutRect(x.getBoxLayoutParams(),{width:T.getWidth(),height:T.getHeight()})}function p(x,T,L,R,P,k,U,D,M){o(x,T,L,P,k,D,M),c(x,T,k,P,R,U,D),w(x,D)}function h(x){_.each(x,function(T){var L=S(T.outEdges,b),R=S(T.inEdges,b),P=T.getValue()||0,k=Math.max(L,R,P);T.setLayout({value:k},!0)})}function o(x,T,L,R,P,k,U){for(var D=[],M=[],B=[],j=[],H=0,K=0,W=0;W<T.length;W++)D[W]=1;for(W=0;W<x.length;W++)M[W]=x[W].inEdges.length,M[W]===0&&B.push(x[W]);for(var X=-1;B.length;){for(var V=0;V<B.length;V++){var Z=B[V],G=Z.hostGraph.data.getRawDataItem(Z.dataIndex),Y=G.depth!=null&&G.depth>=0;Y&&G.depth>X&&(X=G.depth),Z.setLayout({depth:Y?G.depth:H},!0),k==="vertical"?Z.setLayout({dy:L},!0):Z.setLayout({dx:L},!0);for(var te=0;te<Z.outEdges.length;te++){var se=Z.outEdges[te],Ce=T.indexOf(se);D[Ce]=0;var he=se.node2,xe=x.indexOf(he);--M[xe]===0&&j.indexOf(he)<0&&j.push(he)}}++H,B=j,j=[]}for(W=0;W<D.length;W++)if(D[W]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var ie=X>H-1?X:H-1;U&&U!=="left"&&s(x,U,k,ie);var K=k==="vertical"?(P-L)/ie:(R-L)/ie;n(x,K,k)}function r(x){var T=x.hostGraph.data.getRawDataItem(x.dataIndex);return T.depth!=null&&T.depth>=0}function s(x,T,L,R){if(T==="right"){for(var P=[],k=x,U=0;k.length;){for(var D=0;D<k.length;D++){var M=k[D];M.setLayout({skNodeHeight:U},!0);for(var B=0;B<M.inEdges.length;B++){var j=M.inEdges[B];P.indexOf(j.node1)<0&&P.push(j.node1)}}k=P,P=[],++U}_.each(x,function(H){r(H)||H.setLayout({depth:Math.max(0,R-H.getLayout().skNodeHeight)},!0)})}else T==="justify"&&l(x,R)}function l(x,T){_.each(x,function(L){!r(L)&&!L.outEdges.length&&L.setLayout({depth:T},!0)})}function n(x,T,L){_.each(x,function(R){var P=R.getLayout().depth*T;L==="vertical"?R.setLayout({y:P},!0):R.setLayout({x:P},!0)})}function c(x,T,L,R,P,k,U){var D=e(x,U);a(D,T,L,R,P,U),i(D,P,L,R,U);for(var M=1;k>0;k--)M*=.99,u(D,M,U),i(D,P,L,R,U),y(D,M,U),i(D,P,L,R,U)}function e(x,T){var L=[],R=T==="vertical"?"y":"x",P=E(x,function(k){return k.getLayout()[R]});return P.keys.sort(function(k,U){return k-U}),_.each(P.keys,function(k){L.push(P.buckets.get(k))}),L}function a(x,T,L,R,P,k){var U=Infinity;_.each(x,function(D){var M=D.length,B=0;_.each(D,function(H){B+=H.getLayout().value});var j=k==="vertical"?(R-(M-1)*P)/B:(L-(M-1)*P)/B;j<U&&(U=j)}),_.each(x,function(D){_.each(D,function(M,B){var j=M.getLayout().value*U;k==="vertical"?(M.setLayout({x:B},!0),M.setLayout({dx:j},!0)):(M.setLayout({y:B},!0),M.setLayout({dy:j},!0))})}),_.each(T,function(D){var M=+D.getValue()*U;D.setLayout({dy:M},!0)})}function i(x,T,L,R,P){var k=P==="vertical"?"x":"y";_.each(x,function(U){U.sort(function(V,Z){return V.getLayout()[k]-Z.getLayout()[k]});for(var D,M,B,j=0,H=U.length,K=P==="vertical"?"dx":"dy",W=0;W<H;W++)M=U[W],B=j-M.getLayout()[k],B>0&&(D=M.getLayout()[k]+B,P==="vertical"?M.setLayout({x:D},!0):M.setLayout({y:D},!0)),j=M.getLayout()[k]+M.getLayout()[K]+T;var X=P==="vertical"?R:L;if(B=j-T-X,B>0)for(D=M.getLayout()[k]-B,P==="vertical"?M.setLayout({x:D},!0):M.setLayout({y:D},!0),j=D,W=H-2;W>=0;--W)M=U[W],B=M.getLayout()[k]+M.getLayout()[K]+T-j,B>0&&(D=M.getLayout()[k]-B,P==="vertical"?M.setLayout({x:D},!0):M.setLayout({y:D},!0)),j=M.getLayout()[k]})}function u(x,T,L){_.each(x.slice().reverse(),function(R){_.each(R,function(P){if(P.outEdges.length){var k=S(P.outEdges,f,L)/S(P.outEdges,b,L);if(isNaN(k)){var U=P.outEdges.length;k=U?S(P.outEdges,m,L)/U:0}if(L==="vertical"){var D=P.getLayout().x+(k-v(P,L))*T;P.setLayout({x:D},!0)}else{var M=P.getLayout().y+(k-v(P,L))*T;P.setLayout({y:M},!0)}}})})}function f(x,T){return v(x.node2,T)*x.getValue()}function m(x,T){return v(x.node2,T)}function A(x,T){return v(x.node1,T)*x.getValue()}function g(x,T){return v(x.node1,T)}function v(x,T){return T==="vertical"?x.getLayout().x+x.getLayout().dx/2:x.getLayout().y+x.getLayout().dy/2}function b(x){return x.getValue()}function S(x,T,L){for(var R=0,P=x.length,k=-1;++k<P;){var U=+T.call(x,x[k],L);isNaN(U)||(R+=U)}return R}function y(x,T,L){_.each(x,function(R){_.each(R,function(P){if(P.inEdges.length){var k=S(P.inEdges,A,L)/S(P.inEdges,b,L);if(isNaN(k)){var U=P.inEdges.length;k=U?S(P.inEdges,g,L)/U:0}if(L==="vertical"){var D=P.getLayout().x+(k-v(P,L))*T;P.setLayout({x:D},!0)}else{var M=P.getLayout().y+(k-v(P,L))*T;P.setLayout({y:M},!0)}}})})}function w(x,T){var L=T==="vertical"?"x":"y";_.each(x,function(R){R.outEdges.sort(function(P,k){return P.node2.getLayout()[L]-k.node2.getLayout()[L]}),R.inEdges.sort(function(P,k){return P.node1.getLayout()[L]-k.node1.getLayout()[L]})}),_.each(x,function(R){var P=0,k=0;_.each(R.outEdges,function(U){U.setLayout({sy:P},!0),P+=U.getLayout().dy}),_.each(R.inEdges,function(U){U.setLayout({ty:k},!0),k+=U.getLayout().dy})})}ue.exports=C},"giR+":function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("QbM5"),E=d.n(I)},gut8:function(ue,z){var d={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},O=9;z.ContextCachedBy=d,z.WILL_BE_RESTORED=O},gvm7:function(ue,z,d){var O=d("bYtY"),_=d("dqUG");function I(C){this._zr=C.getZr(),this._show=!1,this._hideTimeout}I.prototype={constructor:I,_enterable:!0,update:function(){},show:function(C){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(C,t,p){this.el&&this._zr.remove(this.el);for(var h={},o=C,r="{marker",s="|}",l=o.indexOf(r);l>=0;){var n=o.indexOf(s),c=o.substr(l+r.length,n-l-r.length);c.indexOf("sub")>-1?h["marker"+c]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[c],textOffset:[3,0]}:h["marker"+c]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[c]},o=o.substr(n+1),l=o.indexOf("{marker")}this.el=new _({style:{rich:h,text:C,textLineHeight:20,textBackgroundColor:p.get("backgroundColor"),textBorderRadius:p.get("borderRadius"),textFill:p.get("textStyle.color"),textPadding:p.get("padding")},z:p.get("z")}),this._zr.add(this.el);var e=this;this.el.on("mouseover",function(){e._enterable&&(clearTimeout(e._hideTimeout),e._show=!0),e._inContent=!0}),this.el.on("mouseout",function(){e._enterable&&(e._show&&e.hideLater(e._hideDelay)),e._inContent=!1})},setEnterable:function(C){this._enterable=C},getSize:function(){var C=this.el.getBoundingRect();return[C.width,C.height]},moveTo:function(C,t){this.el&&this.el.attr("position",[C,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(C){this._show&&!(this._inContent&&this._enterable)&&(C?(this._hideDelay=C,this._show=!1,this._hideTimeout=setTimeout(O.bind(this.hide,this),C)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var C=this.getSize();return{width:C[0],height:C[1]}}};var E=I;ue.exports=E},gwTy:function(ue,z,d){},h54F:function(ue,z,d){var O=d("ProS"),_=d("YXkt"),I=d("bYtY"),E=d("4NO4"),C=E.defaultEmphasis,t=d("Qxkt"),p=d("7aKB"),h=p.encodeHTML,o=d("I3/A"),r=d("xKMd"),s=O.extendSeriesModel({type:"series.graph",init:function(n){s.superApply(this,"init",arguments);var c=this;function e(){return c._categoriesData}this.legendVisualProvider=new r(e,e),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeOption:function(n){s.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(n){s.superApply(this,"mergeDefaultAndTheme",arguments),C(n,["edgeLabel"],["show"])},getInitialData:function(n,c){var e=n.edges||n.links||[],a=n.data||n.nodes||[],i=this;if(a&&e)return o(a,e,this,!0,u).data;function u(f,m){f.wrapMethod("getItemModel",function(y){var w=i._categoriesModels,x=y.getShallow("category"),T=w[x];return T&&(T.parentModel=y.parentModel,y.parentModel=T),y});var A=i.getModel("edgeLabel"),g=new t({label:A.option},A.parentModel,c),v=i.getModel("emphasis.edgeLabel"),b=new t({emphasis:{label:v.option}},v.parentModel,c);m.wrapMethod("getItemModel",function(y){return y.customizeGetParent(S),y});function S(y){return y=this.parsePath(y),y&&y[0]==="label"?g:y&&y[0]==="emphasis"&&y[1]==="label"?b:this.parentModel}}},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(n,c,e){if(e==="edge"){var a=this.getData(),i=this.getDataParams(n,e),u=a.graph.getEdgeByIndex(n),f=a.getName(u.node1.dataIndex),m=a.getName(u.node2.dataIndex),A=[];return f!=null&&A.push(f),m!=null&&A.push(m),A=h(A.join(" > ")),i.value&&(A+=" : "+h(i.value)),A}else return s.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var n=I.map(this.option.categories||[],function(e){return e.value!=null?e:I.extend({value:0},e)}),c=new _(["value"],this);c.initData(n),this._categoriesData=c,this._categoriesModels=c.mapArray(function(e){return c.getItemModel(e,!0)})},setZoom:function(n){this.option.zoom=n},setCenter:function(n){this.option.center=n},isAnimationEnabled:function(){return s.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}}}}),l=s;ue.exports=l},h7HQ:function(ue,z,d){var O=d("y+Vt"),_=d("T6xi"),I=O.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(C,t){_.buildPath(C,t,!0)}});ue.exports=I},h8O9:function(ue,z,d){var O=d("bYtY"),_=O.map,I=d("zM3Q"),E=d("7hqr"),C=E.isDimensionStacked;function t(p){return{seriesType:p,plan:I(),reset:function(h){var o=h.getData(),r=h.coordinateSystem,s=h.pipelineContext,l=s.large;if(!r)return;var n=_(r.dimensions,function(i){return o.mapDimension(i)}).slice(0,2),c=n.length,e=o.getCalculationInfo("stackResultDimension");C(o,n[0])&&(n[0]=e),C(o,n[1])&&(n[1]=e);function a(i,u){for(var f=i.end-i.start,m=l&&new Float32Array(f*c),A=i.start,g=0,v=[],b=[];A<i.end;A++){var S;if(c===1){var y=u.get(n[0],A);S=!isNaN(y)&&r.dataToPoint(y,null,b)}else{var y=v[0]=u.get(n[0],A),w=v[1]=u.get(n[1],A);S=!isNaN(y)&&!isNaN(w)&&r.dataToPoint(v,null,b)}l?(m[g++]=S?S[0]:NaN,m[g++]=S?S[1]:NaN):u.setItemLayout(A,S&&S.slice()||[NaN,NaN])}l&&u.setLayout("symbolPoints",m)}return c&&{progress:a}}}}ue.exports=t},hD7B:function(ue,z,d){var O=d("bYtY"),_=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function I(C){O.each(_,function(t){this[t]=O.bind(C[t],C)},this)}var E=I;ue.exports=E},hFmY:function(ue,z,d){var O=d("ProS"),_={type:"axisAreaSelect",event:"axisAreaSelected"};O.registerAction(_,function(I,E){E.eachComponent({mainType:"parallelAxis",query:I},function(C){C.axis.model.setActiveIntervals(I.intervals)})}),O.registerAction("parallelAxisExpand",function(I,E){E.eachComponent({mainType:"parallel",query:I},function(C){C.setAxisExpand(I)})})},hJvP:function(ue,z,d){var O=d("2dDv"),_=d("IDmD");function I(E,C){var t=[];return E.eachComponent("parallel",function(p,h){var o=new O(p,E,C);o.name="parallel_"+h,o.resize(p,C),p.coordinateSystem=o,o.model=p,t.push(o)}),E.eachSeries(function(p){if(p.get("coordinateSystem")==="parallel"){var h=E.queryComponents({mainType:"parallel",index:p.get("parallelIndex"),id:p.get("parallelId")})[0];p.coordinateSystem=h.coordinateSystem}}),t}_.register("parallel",{create:I})},hM6l:function(ue,z,d){var O=d("bYtY"),_=O.each,I=O.map,E=d("OELB"),C=E.linearMap,t=E.getPixelPrecision,p=E.round,h=d("4HMb"),o=h.createAxisTicks,r=h.createAxisLabels,s=h.calculateCategoryInterval,l=[0,1],n=function(i,u,f){this.dim=i,this.scale=u,this._extent=f||[0,0],this.inverse=!1,this.onBand=!1};n.prototype={constructor:n,contain:function(i){var u=this._extent,f=Math.min(u[0],u[1]),m=Math.max(u[0],u[1]);return i>=f&&i<=m},containData:function(i){return this.scale.contain(i)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(i){return t(i||this.scale.getExtent(),this._extent)},setExtent:function(i,u){var f=this._extent;f[0]=i,f[1]=u},dataToCoord:function(i,u){var f=this._extent,m=this.scale;return i=m.normalize(i),this.onBand&&m.type==="ordinal"&&(f=f.slice(),c(f,m.count())),C(i,l,f,u)},coordToData:function(i,u){var f=this._extent,m=this.scale;this.onBand&&m.type==="ordinal"&&(f=f.slice(),c(f,m.count()));var A=C(i,f,l,u);return this.scale.scale(A)},pointToData:function(i,u){},getTicksCoords:function(i){i=i||{};var u=i.tickModel||this.getTickModel(),f=o(this,u),m=f.ticks,A=I(m,function(v){return{coord:this.dataToCoord(v),tickValue:v}},this),g=u.get("alignWithLabel");return e(this,A,g,i.clamp),A},getMinorTicksCoords:function(){if(this.scale.type==="ordinal")return[];var i=this.model.getModel("minorTick"),u=i.get("splitNumber");u>0&&u<100||(u=5);var f=this.scale.getMinorTicks(u),m=I(f,function(A){return I(A,function(g){return{coord:this.dataToCoord(g),tickValue:g}},this)},this);return m},getViewLabels:function(){return r(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var i=this._extent,u=this.scale.getExtent(),f=u[1]-u[0]+(this.onBand?1:0);f===0&&(f=1);var m=Math.abs(i[1]-i[0]);return Math.abs(m)/f},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return s(this)}};function c(i,u){var f=i[1]-i[0],m=u,A=f/m/2;i[0]+=A,i[1]-=A}function e(i,u,f,m){var A=u.length;if(!i.onBand||f||!A)return;var g=i.getExtent(),v,b;if(A===1)u[0].coord=g[0],v=u[1]={coord:g[0]};else{var S=u[A-1].tickValue-u[0].tickValue,y=(u[A-1].coord-u[0].coord)/S;_(u,function(L){L.coord-=y/2});var w=i.scale.getExtent();b=1+w[1]-u[A-1].tickValue,v={coord:u[A-1].coord+y*b},u.push(v)}var x=g[0]>g[1];T(u[0].coord,g[0])&&(m?u[0].coord=g[0]:u.shift()),m&&T(g[0],u[0].coord)&&u.unshift({coord:g[0]}),T(g[1],v.coord)&&(m?v.coord=g[1]:u.pop()),m&&T(v.coord,g[1])&&u.push({coord:g[1]});function T(L,R){return L=p(L),R=p(R),x?L>R:L<R}}var a=n;ue.exports=a},hNWo:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("Qxkt"),E=d("4NO4"),C=E.isNameSpecified,t=d("Kagy"),p=t.legend.selector,h={all:{type:"all",title:_.clone(p.all)},inverse:{type:"inverse",title:_.clone(p.inverse)}},o=O.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(s,l,n){this.mergeDefaultAndTheme(s,n),s.selected=s.selected||{},this._updateSelector(s)},mergeOption:function(s){o.superCall(this,"mergeOption",s),this._updateSelector(s)},_updateSelector:function(s){var l=s.selector;l===!0&&(l=s.selector=["all","inverse"]),_.isArray(l)&&_.each(l,function(n,c){_.isString(n)&&(n={type:n}),l[c]=_.merge(n,h[n.type])})},optionUpdated:function(){this._updateData(this.ecModel);var s=this._data;if(s[0]&&this.get("selectedMode")==="single"){for(var l=!1,n=0;n<s.length;n++){var c=s[n].get("name");if(this.isSelected(c)){this.select(c),l=!0;break}}!l&&this.select(s[0].get("name"))}},_updateData:function(s){var l=[],n=[];s.eachRawSeries(function(a){var i=a.name;n.push(i);var u;if(a.legendVisualProvider){var f=a.legendVisualProvider,m=f.getAllNames();s.isSeriesFiltered(a)||(n=n.concat(m)),m.length?l=l.concat(m):u=!0}else u=!0;u&&C(a)&&l.push(a.name)}),this._availableNames=n;var c=this.get("data")||l,e=_.map(c,function(a){return(typeof a=="string"||typeof a=="number")&&(a={name:a}),new I(a,this,this.ecModel)},this);this._data=e},getData:function(){return this._data},select:function(s){var l=this.option.selected,n=this.get("selectedMode");if(n==="single"){var c=this._data;_.each(c,function(e){l[e.get("name")]=!1})}l[s]=!0},unSelect:function(s){this.get("selectedMode")!=="single"&&(this.option.selected[s]=!1)},toggleSelected:function(s){var l=this.option.selected;l.hasOwnProperty(s)||(l[s]=!0),this[l[s]?"unSelect":"select"](s)},allSelect:function(){var s=this._data,l=this.option.selected;_.each(s,function(n){l[n.get("name",!0)]=!0})},inverseSelect:function(){var s=this._data,l=this.option.selected;_.each(s,function(n){var c=n.get("name",!0);l.hasOwnProperty(c)||(l[c]=!0),l[c]=!l[c]})},isSelected:function(s){var l=this.option.selected;return!(l.hasOwnProperty(s)&&!l[s])&&_.indexOf(this._availableNames,s)>=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=o;ue.exports=r},hOwI:function(ue,z){var d=Math.log(2);function O(I,E,C,t,p,h){var o=t+"-"+p,r=I.length;if(h.hasOwnProperty(o))return h[o];if(E===1){var s=Math.round(Math.log((1<<r)-1&~p)/d);return I[C][s]}for(var l=t|1<<C,n=C+1;t&1<<n;)n++;for(var c=0,e=0,a=0;e<r;e++){var i=1<<e;i&p||(c+=(a%2?-1:1)*I[C][e]*O(I,E-1,n,l,p|i,h),a++)}return h[o]=c,c}function _(I,E){var C=[[I[0],I[1],1,0,0,0,-E[0]*I[0],-E[0]*I[1]],[0,0,0,I[0],I[1],1,-E[1]*I[0],-E[1]*I[1]],[I[2],I[3],1,0,0,0,-E[2]*I[2],-E[2]*I[3]],[0,0,0,I[2],I[3],1,-E[3]*I[2],-E[3]*I[3]],[I[4],I[5],1,0,0,0,-E[4]*I[4],-E[4]*I[5]],[0,0,0,I[4],I[5],1,-E[5]*I[4],-E[5]*I[5]],[I[6],I[7],1,0,0,0,-E[6]*I[6],-E[6]*I[7]],[0,0,0,I[6],I[7],1,-E[7]*I[6],-E[7]*I[7]]],t={},p=O(C,8,0,0,0,t);if(p===0)return;for(var h=[],o=0;o<8;o++)for(var r=0;r<8;r++)h[r]==null&&(h[r]=0),h[r]+=((o+r)%2?-1:1)*O(C,7,o===0?1:0,1<<o,1<<r,t)/p*E[o];return function(s,l,n){var c=l*h[6]+n*h[7]+1;s[0]=(l*h[0]+n*h[1]+h[2])/c,s[1]=(l*h[3]+n*h[4]+h[5])/c}}z.buildTransformer=_},hX1E:function(ue,z){var d=Math.PI*2;function O(_){return _%=d,_<0&&(_+=d),_}z.normalizeRadian=O},hXwI:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(C,t){if(!(C instanceof t))throw new TypeError("Cannot call a class as a function")}function _(C,t){for(var p=0;p<t.length;p++){var h=t[p];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(C,h.key,h)}}function I(C,t,p){return t&&_(C.prototype,t),p&&_(C,p),C}var E=function(){function C(){O(this,C)}return I(C,[{key:"decodeRect",value:function(p,h,o,r,s,l,n){if(s.rQwait("COPYRECT",4))return!1;var c=s.rQshift16(),e=s.rQshift16();return l.copyImage(c,e,p,h,o,r),!0}}]),C}();z.default=E},hi0g:function(ue,z,d){var O=d("bYtY"),_=O.createHashMap,I=O.each,E=O.isString,C=O.defaults,t=O.extend,p=O.isObject,h=O.clone,o=d("4NO4"),r=o.normalizeToArray,s=d("D5nY"),l=s.guessOrdinal,n=s.BE_ORDINAL,c=d("7G+c"),e=d("L0Ub"),a=e.OTHER_DIMENSIONS,i=d("Vi4m");function u(g,v,b){c.isInstance(v)||(v=c.seriesDataToSource(v)),b=b||{},g=(g||[]).slice();for(var S=(b.dimsDef||[]).slice(),y=_(),w=_(),x=[],T=f(v,g,S,b.dimCount),L=0;L<T;L++){var R=S[L]=t({},p(S[L])?S[L]:{name:S[L]}),P=R.name,k=x[L]=new i;P!=null&&y.get(P)==null&&(k.name=k.displayName=P,y.set(P,L)),R.type!=null&&(k.type=R.type),R.displayName!=null&&(k.displayName=R.displayName)}var U=b.encodeDef;!U&&b.encodeDefaulter&&(U=b.encodeDefaulter(v,T)),U=_(U),U.each(function(V,Z){if(V=r(V).slice(),V.length===1&&!E(V[0])&&V[0]<0){U.set(Z,!1);return}var G=U.set(Z,[]);I(V,function(Y,te){E(Y)&&(Y=y.get(Y)),Y!=null&&Y<T&&(G[te]=Y,M(x[Y],Z,te))})});var D=0;I(g,function(V,Z){var G,V,Y,te;if(E(V))G=V,V={};else{G=V.name;var se=V.ordinalMeta;V.ordinalMeta=null,V=h(V),V.ordinalMeta=se,Y=V.dimsDef,te=V.otherDims,V.name=V.coordDim=V.coordDimIndex=V.dimsDef=V.otherDims=null}var Ce=U.get(G);if(Ce===!1)return;var Ce=r(Ce);if(!Ce.length)for(var he=0;he<(Y&&Y.length||1);he++){for(;D<x.length&&x[D].coordDim!=null;)D++;D<x.length&&Ce.push(D++)}I(Ce,function(xe,ie){var ee=x[xe];if(M(C(ee,V),G,ie),ee.name==null&&Y){var Ze=Y[ie];!p(Ze)&&(Ze={name:Ze}),ee.name=ee.displayName=Ze.name,ee.defaultTooltip=Ze.defaultTooltip}te&&C(ee.otherDims,te)})});function M(V,Z,G){a.get(Z)!=null?V.otherDims[Z]=G:(V.coordDim=Z,V.coordDimIndex=G,w.set(Z,!0))}var B=b.generateCoord,j=b.generateCoordCount,H=j!=null;j=B?j||1:0;for(var K=B||"value",W=0;W<T;W++){var k=x[W]=x[W]||new i,X=k.coordDim;X==null&&(k.coordDim=m(K,w,H),k.coordDimIndex=0,(!B||j<=0)&&(k.isExtraCoord=!0),j--),k.name==null&&(k.name=m(k.coordDim,y)),k.type==null&&(l(v,W,k.name)===n.Must||k.isExtraCoord&&(k.otherDims.itemName!=null||k.otherDims.seriesName!=null))&&(k.type="ordinal")}return x}function f(g,v,b,S){var y=Math.max(g.dimensionsDetectCount||1,v.length,b.length,S||0);return I(v,function(w){var x=w.dimsDef;x&&(y=Math.max(y,x.length))}),y}function m(g,v,b){if(b||v.get(g)!=null){for(var S=0;v.get(g+S)!=null;)S++;g+=S}return v.set(g,!0),g}var A=u;ue.exports=A},hkKa:function(ue,z,d){"use strict";d.d(z,"a",function(){return C});var O=d("J4zp"),_=d.n(O),I=d("q1tI"),E=d.n(I);function C(){var t=I.useReducer(function(o){return o+1},0),p=_()(t,2),h=p[1];return h}},hw6D:function(ue,z,d){var O=d("bYtY");function _(C){C.eachSeriesByType("radar",function(t){var p=t.getData(),h=[],o=t.coordinateSystem;if(!o)return;var r=o.getIndicatorAxes();O.each(r,function(s,l){p.each(p.mapDimension(r[l].dim),function(n,c){h[c]=h[c]||[];var e=o.dataToPoint(n,l);h[c][l]=I(e)?e:E(o)})}),p.each(function(s){var l=O.find(h[s],function(n){return I(n)})||E(o);h[s].push(l.slice()),p.setItemLayout(s,h[s])})})}function I(C){return!isNaN(C[0])&&!isNaN(C[1])}function E(C){return[C.cx,C.cy]}ue.exports=_},hwYd:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("Nu4q")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="PictureTwoTone";var h=E.forwardRef(p);z.default=h},hydK:function(ue,z){var d="http://www.w3.org/2000/svg";function O(_){return document.createElementNS(d,_)}z.createElement=O},hyiK:function(ue,z){function d(O,_,I,E,C,t){if(t>_&&t>E||t<_&&t<E)return 0;if(E===_)return 0;var p=E<_?1:-1,h=(t-_)/(E-_);(h===1||h===0)&&(p=E<_?.5:-.5);var o=h*(I-O)+O;return o===C?Infinity:o>C?p:0}ue.exports=d},i38C:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=I.createHashMap,C=I.retrieve,t=I.each;function p(s){this.coordSysName=s,this.coordSysDims=[],this.axisMap=E(),this.categoryAxisMap=E(),this.firstCategoryDimIndex=null}function h(s){var l=s.get("coordinateSystem"),n=new p(l),c=o[l];if(c)return c(s,n,n.axisMap,n.categoryAxisMap),n}var o={cartesian2d:function(s,l,n,c){var e=s.getReferringComponents("xAxis")[0],a=s.getReferringComponents("yAxis")[0];l.coordSysDims=["x","y"],n.set("x",e),n.set("y",a),r(e)&&(c.set("x",e),l.firstCategoryDimIndex=0),r(a)&&(c.set("y",a),l.firstCategoryDimIndex==null&(l.firstCategoryDimIndex=1))},singleAxis:function(s,l,n,c){var e=s.getReferringComponents("singleAxis")[0];l.coordSysDims=["single"],n.set("single",e),r(e)&&(c.set("single",e),l.firstCategoryDimIndex=0)},polar:function(s,l,n,c){var e=s.getReferringComponents("polar")[0],a=e.findAxisModel("radiusAxis"),i=e.findAxisModel("angleAxis");l.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",i),r(a)&&(c.set("radius",a),l.firstCategoryDimIndex=0),r(i)&&(c.set("angle",i),l.firstCategoryDimIndex==null&&(l.firstCategoryDimIndex=1))},geo:function(s,l,n,c){l.coordSysDims=["lng","lat"]},parallel:function(s,l,n,c){var e=s.ecModel,a=e.getComponent("parallel",s.get("parallelIndex")),i=l.coordSysDims=a.dimensions.slice();t(a.parallelAxisIndex,function(u,f){var m=e.getComponent("parallelAxis",u),A=i[f];n.set(A,m),r(m)&&l.firstCategoryDimIndex==null&&(c.set(A,m),l.firstCategoryDimIndex=f)})}};function r(s){return s.get("type")==="category"}z.getCoordSysInfoBySeries=h},i6bk:function(ue,z,d){"use strict";d.d(z,"b",function(){return O}),d.d(z,"a",function(){return _});function O(I){return I!=null&&I===I.window}function _(I,E){if(typeof window=="undefined")return 0;var C=E?"scrollTop":"scrollLeft",t=0;return O(I)?t=I[E?"pageYOffset":"pageXOffset"]:I instanceof Document?t=I.documentElement[C]:I&&(t=I[C]),I&&!O(I)&&typeof t!="number"&&(t=(I.ownerDocument||I).documentElement[C]),t}},i8CU:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("Fm1+"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},iLNv:function(ue,z){var d="\0__throttleOriginMethod",O="\0__throttleRate",_="\0__throttleType";function I(t,p,h){var o,r=0,s=0,l=null,n,c,e,a;p=p||0;function i(){s=new Date().getTime(),l=null,t.apply(c,e||[])}var u=function(){o=new Date().getTime(),c=this,e=arguments;var f=a||p,m=a||h;a=null,n=o-(m?r:s)-f,clearTimeout(l),m?l=setTimeout(i,f):n>=0?i():l=setTimeout(i,-n),r=o};return u.clear=function(){l&&(clearTimeout(l),l=null)},u.debounceNextCall=function(f){a=f},u}function E(t,p,h,o){var r=t[p];if(!r)return;var s=r[d]||r,l=r[_],n=r[O];if(n!==h||l!==o){if(h==null||!o)return t[p]=s;r=t[p]=I(s,h,o==="debounce"),r[d]=s,r[_]=o,r[O]=h}return r}function C(t,p){var h=t[p];h&&h[d]&&(t[p]=h[d])}z.throttle=I,z.createOrUpdate=E,z.clear=C},iPDy:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=O.extendComponentView({type:"marker",init:function(){this.markerGroupMap=_.createHashMap()},render:function(E,C,t){var p=this.markerGroupMap;p.each(function(o){o.__keep=!1});var h=this.type+"Model";C.eachSeries(function(o){var r=o[h];r&&this.renderSeries(o,r,C,t)},this),p.each(function(o){!o.__keep&&this.group.remove(o.group)},this)},renderSeries:function(){}});ue.exports=I},iQDF:function(ue,z,d){"use strict";var O=d("ZTW2"),_=d.n(O),I=d("+BJd"),E=d("+L6B")},iRjW:function(ue,z,d){var O=d("bYtY"),_=d("Yl7c"),I=_.parseClassType,E=0;function C(h){return[h||"",E++,Math.random().toFixed(5)].join("_")}function t(h){var o={};return h.registerSubTypeDefaulter=function(r,s){r=I(r),o[r.main]=s},h.determineSubType=function(r,s){var l=s.type;if(!l){var n=I(r).main;h.hasSubTypes(r)&&o[n]&&(l=o[n](s))}return l},h}function p(h,o){h.topologicalTravel=function(n,c,e,a){if(!n.length)return;var i=r(c),u=i.graph,f=i.noEntryList,m={};for(O.each(n,function(y){m[y]=!0});f.length;){var A=f.pop(),g=u[A],v=!!m[A];v&&(e.call(a,A,g.originalDeps.slice()),delete m[A]),O.each(g.successor,v?S:b)}O.each(m,function(){throw new Error("Circle dependency may exists")});function b(y){u[y].entryCount--,u[y].entryCount===0&&f.push(y)}function S(y){m[y]=!0,b(y)}};function r(n){var c={},e=[];return O.each(n,function(a){var i=s(c,a),u=i.originalDeps=o(a),f=l(u,n);i.entryCount=f.length,i.entryCount===0&&e.push(a),O.each(f,function(m){O.indexOf(i.predecessor,m)<0&&i.predecessor.push(m);var A=s(c,m);O.indexOf(A.successor,m)<0&&A.successor.push(a)})}),{graph:c,noEntryList:e}}function s(n,c){return n[c]||(n[c]={predecessor:[],successor:[]}),n[c]}function l(n,c){var e=[];return O.each(n,function(a){O.indexOf(c,a)>=0&&e.push(a)}),e}}z.getUID=C,z.enableSubTypeDefaulter=t,z.enableTopologicalTravel=p},iUHT:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;function O(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")}function _(g,v){for(var b=0;b<v.length;b++){var S=v[b];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(g,S.key,S)}}function I(g,v,b){return v&&_(g.prototype,v),b&&_(g,b),g}var E=[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],C=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],t=0,p,h,o,r,s,l;p=1<<16,h=1<<24,o=p|h,r=1<<2,s=1<<10,l=r|s;var n=[o|s,t|t,p|t,o|l,o|r,p|l,t|r,p|t,t|s,o|s,o|l,t|s,h|l,o|r,h|t,t|r,t|l,h|s,h|s,p|s,p|s,o|t,o|t,h|l,p|r,h|r,h|r,p|r,t|t,t|l,p|l,h|t,p|t,o|l,t|r,o|t,o|s,h|t,h|t,t|s,o|r,p|t,p|s,h|r,t|s,t|r,h|l,p|l,o|l,p|r,o|t,h|l,h|r,t|l,p|l,o|s,t|l,h|s,h|s,t|t,p|r,p|s,t|t,o|r];p=1<<20,h=1<<31,o=p|h,r=1<<5,s=1<<15,l=r|s;var c=[o|l,h|s,t|s,p|l,p|t,t|r,o|r,h|l,h|r,o|l,o|s,h|t,h|s,p|t,t|r,o|r,p|s,p|r,h|l,t|t,h|t,t|s,p|l,o|t,p|r,h|r,t|t,p|s,t|l,o|s,o|t,t|l,t|t,p|l,o|r,p|t,h|l,o|t,o|s,t|s,o|t,h|s,t|r,o|l,p|l,t|r,t|s,h|t,t|l,o|s,p|t,h|r,p|r,h|l,h|r,p|r,p|s,t|t,h|s,t|l,h|t,o|r,o|l,p|s];p=1<<17,h=1<<27,o=p|h,r=1<<3,s=1<<9,l=r|s;var e=[t|l,o|s,t|t,o|r,h|s,t|t,p|l,h|s,p|r,h|r,h|r,p|t,o|l,p|r,o|t,t|l,h|t,t|r,o|s,t|s,p|s,o|t,o|r,p|l,h|l,p|s,p|t,h|l,t|r,o|l,t|s,h|t,o|s,h|t,p|r,t|l,p|t,o|s,h|s,t|t,t|s,p|r,o|l,h|s,h|r,t|s,t|t,o|r,h|l,p|t,h|t,o|l,t|r,p|l,p|s,h|r,o|t,h|l,t|l,o|t,p|l,t|r,o|r,p|s];p=1<<13,h=1<<23,o=p|h,r=1<<0,s=1<<7,l=r|s;var a=[o|r,p|l,p|l,t|s,o|s,h|l,h|r,p|r,t|t,o|t,o|t,o|l,t|l,t|t,h|s,h|r,t|r,p|t,h|t,o|r,t|s,h|t,p|r,p|s,h|l,t|r,p|s,h|s,p|t,o|s,o|l,t|l,h|s,h|r,o|t,o|l,t|l,t|t,t|t,o|t,p|s,h|s,h|l,t|r,o|r,p|l,p|l,t|s,o|l,t|l,t|r,p|t,h|r,p|r,o|s,h|l,p|r,p|s,h|t,o|r,t|s,h|t,p|t,o|s];p=1<<25,h=1<<30,o=p|h,r=1<<8,s=1<<19,l=r|s;var i=[t|r,p|l,p|s,o|r,t|s,t|r,h|t,p|s,h|l,t|s,p|r,h|l,o|r,o|s,t|l,h|t,p|t,h|s,h|s,t|t,h|r,o|l,o|l,p|r,o|s,h|r,t|t,o|t,p|l,p|t,o|t,t|l,t|s,o|r,t|r,p|t,h|t,p|s,o|r,h|l,p|r,h|t,o|s,p|l,h|l,t|r,p|t,o|s,o|l,t|l,o|t,o|l,p|s,t|t,h|s,o|t,t|l,p|r,h|r,t|s,t|t,h|s,p|l,h|r];p=1<<22,h=1<<29,o=p|h,r=1<<4,s=1<<14,l=r|s;var u=[h|r,o|t,t|s,o|l,o|t,t|r,o|l,p|t,h|s,p|l,p|t,h|r,p|r,h|s,h|t,t|l,t|t,p|r,h|l,t|s,p|s,h|l,t|r,o|r,o|r,t|t,p|l,o|s,t|l,p|s,o|s,h|t,h|s,t|r,o|r,p|s,o|l,p|t,t|l,h|r,p|t,h|s,h|t,t|l,h|r,o|l,p|s,o|t,p|l,o|s,t|t,o|r,t|r,t|s,o|t,p|l,t|s,p|r,h|l,t|t,o|s,h|t,p|r,h|l];p=1<<21,h=1<<26,o=p|h,r=1<<1,s=1<<11,l=r|s;var f=[p|t,o|r,h|l,t|t,t|s,h|l,p|l,o|s,o|l,p|t,t|t,h|r,t|r,h|t,o|r,t|l,h|s,p|l,p|r,h|s,h|r,o|t,o|s,p|r,o|t,t|s,t|l,o|l,p|s,t|r,h|t,p|s,h|t,p|s,p|t,h|l,h|l,o|r,o|r,t|r,p|r,h|t,h|s,p|t,o|s,t|l,p|l,o|s,t|l,h|r,o|l,o|t,p|s,t|t,t|r,o|l,t|t,p|l,o|t,t|s,h|r,h|s,t|s,p|r];p=1<<18,h=1<<28,o=p|h,r=1<<6,s=1<<12,l=r|s;var m=[h|l,t|s,p|t,o|l,h|t,h|l,t|r,h|t,p|r,o|t,o|l,p|s,o|s,p|l,t|s,t|r,o|t,h|r,h|s,t|l,p|s,p|r,o|r,o|s,t|l,t|t,t|t,o|r,h|r,h|s,p|l,p|t,p|l,p|t,o|s,t|s,t|r,o|r,t|s,p|l,h|s,t|r,h|r,o|t,o|r,h|t,p|t,h|l,t|t,o|l,p|r,h|r,o|t,h|s,h|l,t|t,o|l,p|s,p|s,t|l,t|l,p|r,h|t,o|s],A=function(){function g(v){O(this,g),this.keys=[];for(var b=[],S=[],y=[],w=0,x=56;w<56;++w,x-=8){x+=x<-5?65:x<-3?31:x<-1?63:x===27?35:0;var T=x&7;b[w]=(v[x>>>3]&1<<T)!==0?1:0}for(var L=0;L<16;++L){var R=L<<1,P=R+1;y[R]=y[P]=0;for(var k=28;k<59;k+=28)for(var U=k-28;U<k;++U){var D=U+C[L];S[U]=D<k?b[D]:b[D-28]}for(var M=0;M<24;++M)S[E[M]]!==0&&(y[R]|=1<<23-M),S[E[M+24]]!==0&&(y[P]|=1<<23-M)}for(var B=0,j=0,H=0;B<16;++B){var K=y[j++],W=y[j++];this.keys[H]=(K&16515072)<<6,this.keys[H]|=(K&4032)<<10,this.keys[H]|=(W&16515072)>>>10,this.keys[H]|=(W&4032)>>>6,++H,this.keys[H]=(K&258048)<<12,this.keys[H]|=(K&63)<<16,this.keys[H]|=(W&258048)>>>4,this.keys[H]|=W&63,++H}}return I(g,[{key:"enc8",value:function(b){var S=b.slice(),y=0,w,x,T;w=S[y++]<<24|S[y++]<<16|S[y++]<<8|S[y++],x=S[y++]<<24|S[y++]<<16|S[y++]<<8|S[y++],T=(w>>>4^x)&252645135,x^=T,w^=T<<4,T=(w>>>16^x)&65535,x^=T,w^=T<<16,T=(x>>>2^w)&858993459,w^=T,x^=T<<2,T=(x>>>8^w)&16711935,w^=T,x^=T<<8,x=x<<1|x>>>31&1,T=(w^x)&2863311530,w^=T,x^=T,w=w<<1|w>>>31&1;for(var L=0,R=0;L<8;++L){T=x<<28|x>>>4,T^=this.keys[R++];var P=f[T&63];P|=i[T>>>8&63],P|=e[T>>>16&63],P|=n[T>>>24&63],T=x^this.keys[R++],P|=m[T&63],P|=u[T>>>8&63],P|=a[T>>>16&63],P|=c[T>>>24&63],w^=P,T=w<<28|w>>>4,T^=this.keys[R++],P=f[T&63],P|=i[T>>>8&63],P|=e[T>>>16&63],P|=n[T>>>24&63],T=w^this.keys[R++],P|=m[T&63],P|=u[T>>>8&63],P|=a[T>>>16&63],P|=c[T>>>24&63],x^=P}for(x=x<<31|x>>>1,T=(w^x)&2863311530,w^=T,x^=T,w=w<<31|w>>>1,T=(w>>>8^x)&16711935,x^=T,w^=T<<8,T=(w>>>2^x)&858993459,x^=T,w^=T<<2,T=(x>>>16^w)&65535,w^=T,x^=T<<16,T=(x>>>4^w)&252645135,w^=T,x^=T<<4,T=[x,w],y=0;y<8;y++)S[y]=(T[y>>>2]>>>8*(3-y%4))%256,S[y]<0&&(S[y]+=256);return S}},{key:"encrypt",value:function(b){return this.enc8(b.slice(0,8)).concat(this.enc8(b.slice(8,16)))}}]),g}();z.default=A},iXHM:function(ue,z){var d="";typeof navigator!="undefined"&&(d=navigator.platform||"");var O={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:d.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};ue.exports=O},iXp4:function(ue,z,d){var O=d("ItGF"),_=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function I(E){return O.browser.ie&&O.browser.version>=11?function(){var C=this.__clipPaths,t=this.style,p;if(C)for(var h=0;h<C.length;h++){var o=C[h],r=o&&o.shape,s=o&&o.type;if(r&&(s==="sector"&&r.startAngle===r.endAngle||s==="rect"&&(!r.width||!r.height))){for(var l=0;l<_.length;l++)_[l][2]=t[_[l][0]],t[_[l][0]]=_[l][1];p=!0;break}}if(E.apply(this,arguments),p)for(var l=0;l<_.length;l++)t[_[l][0]]=_[l][2]}:E}ue.exports=I},iYpf:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("ZLWo")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="FolderOpenOutlined";var h=E.forwardRef(p);z.default=h},ieMj:function(ue,z,d){var O=d("OELB"),_=d("7aKB"),I=d("4NgU"),E=d("lE7J"),C=O.round,t=I.extend({type:"interval",_interval:0,_intervalPrecision:2,setExtent:function(h,o){var r=this._extent;isNaN(h)||(r[0]=parseFloat(h)),isNaN(o)||(r[1]=parseFloat(o))},unionExtent:function(h){var o=this._extent;h[0]<o[0]&&(o[0]=h[0]),h[1]>o[1]&&(o[1]=h[1]),t.prototype.setExtent.call(this,o[0],o[1])},getInterval:function(){return this._interval},setInterval:function(h){this._interval=h,this._niceExtent=this._extent.slice(),this._intervalPrecision=E.getIntervalPrecision(h)},getTicks:function(h){var o=this._interval,r=this._extent,s=this._niceExtent,l=this._intervalPrecision,n=[];if(!o)return n;var c=1e4;r[0]<s[0]&&(h?n.push(C(s[0]-o,l)):n.push(r[0]));for(var e=s[0];e<=s[1]&&!(n.push(e),e=C(e+o,l),e===n[n.length-1]);)if(n.length>c)return[];var a=n.length?n[n.length-1]:s[1];return r[1]>a&&(h?n.push(C(a+o,l)):n.push(r[1])),n},getMinorTicks:function(h){for(var o=this.getTicks(!0),r=[],s=this.getExtent(),l=1;l<o.length;l++){for(var n=o[l],c=o[l-1],e=0,a=[],i=n-c,u=i/h;e<h-1;){var f=O.round(c+(e+1)*u);f>s[0]&&f<s[1]&&a.push(f),e++}r.push(a)}return r},getLabel:function(h,o){if(h==null)return"";var r=o&&o.precision;return r==null?r=O.getPrecisionSafe(h)||0:r==="auto"&&(r=this._intervalPrecision),h=C(h,r,!0),_.addCommas(h)},niceTicks:function(h,o,r){h=h||5;var s=this._extent,l=s[1]-s[0];if(!isFinite(l))return;l<0&&(l=-l,s.reverse());var n=E.intervalScaleNiceTicks(s,h,o,r);this._intervalPrecision=n.intervalPrecision,this._interval=n.interval,this._niceExtent=n.niceTickExtent},niceExtent:function(h){var o=this._extent;if(o[0]===o[1])if(o[0]!==0){var r=o[0];h.fixMax||(o[1]+=r/2),o[0]-=r/2}else o[1]=1;var s=o[1]-o[0];isFinite(s)||(o[0]=0,o[1]=1),this.niceTicks(h.splitNumber,h.minInterval,h.maxInterval);var l=this._interval;h.fixMin||(o[0]=C(Math.floor(o[0]/l)*l)),h.fixMax||(o[1]=C(Math.ceil(o[1]/l)*l))}});t.create=function(){return new t};var p=t;ue.exports=p},j5sG:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.createSensor=void 0;var O=_(d("NohK"));function _(E){return E&&E.__esModule?E:{default:E}}var I=function(C){var t=void 0,p=[],h=(0,O.default)(function(){p.forEach(function(n){n(C)})}),o=function(){var c=new ResizeObserver(h);return c.observe(C),h(),c},r=function(c){t||(t=o()),p.indexOf(c)===-1&&p.push(c)},s=function(){t.disconnect(),p=[],t=void 0},l=function(c){var e=p.indexOf(c);e!==-1&&p.splice(e,1),p.length===0&&t&&s()};return{element:C,bind:r,destroy:s,unbind:l}};z.createSensor=I},jCWc:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("1GLa")},jCoz:function(ue,z,d){var O=d("bYtY"),_=d("4NgU"),I=d("OELB"),E=d("ieMj"),C=_.prototype,t=E.prototype,p=I.getPrecisionSafe,h=I.round,o=Math.floor,r=Math.ceil,s=Math.pow,l=Math.log,n=_.extend({type:"log",base:10,$constructor:function(){_.apply(this,arguments),this._originalScale=new E},getTicks:function(a){var i=this._originalScale,u=this._extent,f=i.getExtent();return O.map(t.getTicks.call(this,a),function(m){var A=I.round(s(this.base,m));return A=m===u[0]&&i.__fixMin?c(A,f[0]):A,A=m===u[1]&&i.__fixMax?c(A,f[1]):A,A},this)},getMinorTicks:t.getMinorTicks,getLabel:t.getLabel,scale:function(a){return a=C.scale.call(this,a),s(this.base,a)},setExtent:function(a,i){var u=this.base;a=l(a)/l(u),i=l(i)/l(u),t.setExtent.call(this,a,i)},getExtent:function(){var a=this.base,i=C.getExtent.call(this);i[0]=s(a,i[0]),i[1]=s(a,i[1]);var u=this._originalScale,f=u.getExtent();return u.__fixMin&&(i[0]=c(i[0],f[0])),u.__fixMax&&(i[1]=c(i[1],f[1])),i},unionExtent:function(a){this._originalScale.unionExtent(a);var i=this.base;a[0]=l(a[0])/l(i),a[1]=l(a[1])/l(i),C.unionExtent.call(this,a)},unionExtentFromData:function(a,i){this.unionExtent(a.getApproximateExtent(i))},niceTicks:function(a){a=a||10;var i=this._extent,u=i[1]-i[0];if(u===Infinity||u<=0)return;var f=I.quantity(u),m=a/u*f;for(m<=.5&&(f*=10);!isNaN(f)&&Math.abs(f)<1&&Math.abs(f)>0;)f*=10;var A=[I.round(r(i[0]/f)*f),I.round(o(i[1]/f)*f)];this._interval=f,this._niceExtent=A},niceExtent:function(a){t.niceExtent.call(this,a);var i=this._originalScale;i.__fixMin=a.fixMin,i.__fixMax=a.fixMax}});O.each(["contain","normalize"],function(a){n.prototype[a]=function(i){return i=l(i)/l(this.base),C[a].call(this,i)}}),n.create=function(){return new n};function c(a,i){return h(a,p(i))}var e=n;ue.exports=e},jN4g:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CloseCircleFilled";var p=z.a=_.forwardRef(t)},jO45:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="CheckCircleFilled";var p=z.a=_.forwardRef(t)},jTL6:function(ue,z,d){var O=d("y+Vt"),_=O.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(E,C){var t=C.cx,p=C.cy,h=Math.max(C.r,0),o=C.startAngle,r=C.endAngle,s=C.clockwise,l=Math.cos(o),n=Math.sin(o);E.moveTo(l*h+t,n*h+p),E.arc(t,p,h,o,r,!s)}});ue.exports=_},je13:function(ue,z,d){var O=d("5nXd"),_=d("gRFJ"),I=[d("uQRt")];ue.exports=O.createStore(_,I)},jett:function(ue,z,d){var O=d("ProS");d("VSLf"),d("oBaM"),d("FGaS");var _=d("mOdp"),I=d("f5Yq"),E=d("hw6D"),C=d("0/Rx"),t=d("eJH7");O.registerVisual(_("radar")),O.registerVisual(I("radar","circle")),O.registerLayout(E),O.registerProcessor(C("radar")),O.registerPreprocessor(t)},jhfD:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="ArrowLeftOutlined";var p=z.a=_.forwardRef(t)},jkPA:function(ue,z,d){var O=d("bYtY"),_=O.createHashMap,I=O.isObject,E=O.map;function C(r){this.categories=r.categories||[],this._needCollect=r.needCollect,this._deduplication=r.deduplication,this._map}C.createByAxisModel=function(r){var s=r.option,l=s.data,n=l&&E(l,h);return new C({categories:n,needCollect:!n,deduplication:s.dedplication!==!1})};var t=C.prototype;t.getOrdinal=function(r){return p(this).get(r)},t.parseAndCollect=function(r){var s,l=this._needCollect;if(typeof r!="string"&&!l)return r;if(l&&!this._deduplication)return s=this.categories.length,this.categories[s]=r,s;var n=p(this);return s=n.get(r),s==null&&(l?(s=this.categories.length,this.categories[s]=r,n.set(r,s)):s=NaN),s};function p(r){return r._map||(r._map=_(r.categories))}function h(r){return I(r)&&r.value!=null?r.value:r+""}var o=C;ue.exports=o},jndi:function(ue,z,d){var O=d("bYtY"),_=d("Qe9p"),I=d("YXkt"),E=d("OELB"),C=d("IwbS"),t=d("kj2x"),p=d("iPDy"),h=function(e,a,i,u){var f=t.dataTransform(e,u[0]),m=t.dataTransform(e,u[1]),A=O.retrieve,g=f.coord,v=m.coord;g[0]=A(g[0],-Infinity),g[1]=A(g[1],-Infinity),v[0]=A(v[0],Infinity),v[1]=A(v[1],Infinity);var b=O.mergeAll([{},f,m]);return b.coord=[f.coord,m.coord],b.x0=f.x,b.y0=f.y,b.x1=m.x,b.y1=m.y,b};function o(e){return!isNaN(e)&&!isFinite(e)}function r(e,a,i,u){var f=1-e;return o(a[f])&&o(i[f])}function s(e,a){var i=a.coord[0],u=a.coord[1];return e.type==="cartesian2d"&&(i&&u&&(r(1,i,u,e)||r(0,i,u,e)))?!0:t.dataFilter(e,{coord:i,x:a.x0,y:a.y0})||t.dataFilter(e,{coord:u,x:a.x1,y:a.y1})}function l(e,a,i,u,f){var m=u.coordinateSystem,A=e.getItemModel(a),g,v=E.parsePercent(A.get(i[0]),f.getWidth()),b=E.parsePercent(A.get(i[1]),f.getHeight());if(!isNaN(v)&&!isNaN(b))g=[v,b];else{if(u.getMarkerPosition)g=u.getMarkerPosition(e.getValues(i,a));else{var S=e.get(i[0],a),y=e.get(i[1],a),w=[S,y];m.clampData&&m.clampData(w,w),g=m.dataToPoint(w,!0)}if(m.type==="cartesian2d"){var x=m.getAxis("x"),T=m.getAxis("y"),S=e.get(i[0],a),y=e.get(i[1],a);o(S)?g[0]=x.toGlobalCoord(x.getExtent()[i[0]==="x0"?0:1]):o(y)&&(g[1]=T.toGlobalCoord(T.getExtent()[i[1]==="y0"?0:1]))}isNaN(v)||(g[0]=v),isNaN(b)||(g[1]=b)}return g}var n=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];p.extend({type:"markArea",updateTransform:function(e,a,i){a.eachSeries(function(u){var f=u.markAreaModel;if(f){var m=f.getData();m.each(function(A){var g=O.map(n,function(b){return l(m,A,b,u,i)});m.setItemLayout(A,g);var v=m.getItemGraphicEl(A);v.setShape("points",g)})}},this)},renderSeries:function(e,a,i,u){var f=e.coordinateSystem,m=e.id,A=e.getData(),g=this.markerGroupMap,v=g.get(m)||g.set(m,{group:new C.Group});this.group.add(v.group),v.__keep=!0;var b=c(f,e,a);a.setData(b),b.each(function(S){b.setItemLayout(S,O.map(n,function(y){return l(b,S,y,e,u)})),b.setItemVisual(S,{color:A.getVisual("color")})}),b.diff(v.__data).add(function(S){var y=new C.Polygon({shape:{points:b.getItemLayout(S)}});b.setItemGraphicEl(S,y),v.group.add(y)}).update(function(S,y){var w=v.__data.getItemGraphicEl(y);C.updateProps(w,{shape:{points:b.getItemLayout(S)}},a,S),v.group.add(w),b.setItemGraphicEl(S,w)}).remove(function(S){var y=v.__data.getItemGraphicEl(S);v.group.remove(y)}).execute(),b.eachItemGraphicEl(function(S,y){var w=b.getItemModel(y),x=w.getModel("label"),T=w.getModel("emphasis.label"),L=b.getItemVisual(y,"color");S.useStyle(O.defaults(w.getModel("itemStyle").getItemStyle(),{fill:_.modifyAlpha(L,.4),stroke:L})),S.hoverStyle=w.getModel("emphasis.itemStyle").getItemStyle(),C.setLabelStyle(S.style,S.hoverStyle,x,T,{labelFetcher:a,labelDataIndex:y,defaultText:b.getName(y)||"",isRectText:!0,autoColor:L}),C.setHoverStyle(S,{}),S.dataModel=a}),v.__data=b,v.group.silent=a.get("silent")||e.get("silent")}});function c(e,a,i){var u,f,m=["x0","y0","x1","y1"];e?(u=O.map(e&&e.dimensions,function(v){var b=a.getData(),S=b.getDimensionInfo(b.mapDimension(v))||{};return O.defaults({name:v},S)}),f=new I(O.map(m,function(v,b){return{name:v,type:u[b%2].type}}),i)):(u=[{name:"value",type:"float"}],f=new I(u,i));var A=O.map(i.get("data"),O.curry(h,a,e,i));e&&(A=O.filter(A,O.curry(s,e)));var g=e?function(v,b,S,y){return v.coord[Math.floor(y/2)][y%2]}:function(v){return v.value};return f.initData(A,null,g),f.hasItemOption=!0,f}},"jsU+":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IUWy"),E=O.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){E.superApply(this,"optionUpdated",arguments),_.each(this.option.feature,function(t,p){var h=I.get(p);h&&_.merge(t,h.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}}}),C=E;ue.exports=C},jtI2:function(ue,z,d){d("SMc4");var O=d("bLfw"),_=O.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"}});ue.exports=_},juDX:function(ue,z,d){d("P47w");var O=d("aX58"),_=O.registerPainter,I=d("3CBa");_("svg",I)},k5C7:function(ue,z,d){d("0JAE"),d("g7p0"),d("7mYs")},k9D9:function(ue,z){var d="original",O="arrayRows",_="objectRows",I="keyedColumns",E="unknown",C="typedArray",t="column",p="row";z.SOURCE_FORMAT_ORIGINAL=d,z.SOURCE_FORMAT_ARRAY_ROWS=O,z.SOURCE_FORMAT_OBJECT_ROWS=_,z.SOURCE_FORMAT_KEYED_COLUMNS=I,z.SOURCE_FORMAT_UNKNOWN=E,z.SOURCE_FORMAT_TYPED_ARRAY=C,z.SERIES_LAYOUT_BY_COLUMN=t,z.SERIES_LAYOUT_BY_ROW=p},kDyi:function(ue,z){function d(O){var _=O.findComponents({mainType:"legend"});_&&_.length&&O.filterSeries(function(I){for(var E=0;E<_.length;E++)if(!_[E].isSelected(I.name))return!1;return!0})}ue.exports=d},kGiB:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("ABKa"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},kMLO:function(ue,z,d){var O=d("XxSj"),_=d("Qe9p"),I=d("bYtY"),E=I.isArray,C="itemStyle",t={seriesType:"treemap",reset:function(e,a,i,u){var f=e.getData().tree,m=f.root,A=e.getModel(C);if(m.isRemoved())return;var g=I.map(f.levelModels,function(v){return v?v.get(C):null});p(m,{},g,A,e.getViewRoot().getAncestors(),e)}};function p(e,a,i,u,f,m){var A=e.getModel(),g=e.getLayout();if(!g||g.invisible||!g.isInView)return;var v=e.getModel(C),b=i[e.depth],S=h(v,a,b,u),y=v.get("borderColor"),w=v.get("borderColorSaturation"),x;w!=null&&(x=o(S,e),y=r(w,x)),e.setVisual("borderColor",y);var T=e.viewChildren;if(!T||!T.length)x=o(S,e),e.setVisual("color",x);else{var L=l(e,A,g,v,S,T);I.each(T,function(R,P){if(R.depth>=f.length||R===f[R.depth]){var k=c(A,S,R,P,L,m);p(R,k,i,u,f,m)}})}}function h(e,a,i,u){var f=I.extend({},a);return I.each(["color","colorAlpha","colorSaturation"],function(m){var A=e.get(m,!0);A==null&&i&&(A=i[m]),A==null&&(A=a[m]),A==null&&(A=u.get(m)),A!=null&&(f[m]=A)}),f}function o(e){var a=s(e,"color");if(a){var i=s(e,"colorAlpha"),u=s(e,"colorSaturation");return u&&(a=_.modifyHSL(a,null,null,u)),i&&(a=_.modifyAlpha(a,i)),a}}function r(e,a){return a!=null?_.modifyHSL(a,null,null,e):null}function s(e,a){var i=e[a];if(i!=null&&i!=="none")return i}function l(e,a,i,u,f,m){if(!m||!m.length)return;var A=n(a,"color")||f.color!=null&&f.color!=="none"&&(n(a,"colorAlpha")||n(a,"colorSaturation"));if(!A)return;var g=a.get("visualMin"),v=a.get("visualMax"),b=i.dataExtent.slice();g!=null&&g<b[0]&&(b[0]=g),v!=null&&v>b[1]&&(b[1]=v);var S=a.get("colorMappingBy"),y={type:A.name,dataExtent:b,visual:A.range};y.type==="color"&&(S==="index"||S==="id")?(y.mappingMethod="category",y.loop=!0):y.mappingMethod="linear";var w=new O(y);return w.__drColorMappingBy=S,w}function n(e,a){var i=e.get(a);return E(i)&&i.length?{name:a,range:i}:null}function c(e,a,i,u,f,m){var A=I.extend({},a);if(f){var g=f.type,v=g==="color"&&f.__drColorMappingBy,b=v==="index"?u:v==="id"?m.mapIdToIndex(i.getId()):i.getValue(e.get("visualDimension"));A[g]=f.mapValueToVisual(b)}return A}ue.exports=t},kPKH:function(ue,z,d){"use strict";var O=d("/kpp");z.a=O.a},kaz8:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("PJYZ"),r=d.n(o),s=d("7W2i"),l=d.n(s),n=d("LQ03"),c=d.n(n),e=d("q1tI"),a=d("TSYQ"),i=d.n(a),u=d("+6Fa"),f=d("RIqP"),m=d.n(f),A=d("BGR+"),g=d("H84U"),v=function(P,k){var U={};for(var D in P)Object.prototype.hasOwnProperty.call(P,D)&&k.indexOf(D)<0&&(U[D]=P[D]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(P);M<D.length;M++)k.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(P,D[M])&&(U[D[M]]=P[D[M]]);return U},b=e.createContext(null),S=function(P){l()(U,P);var k=c()(U);function U(D){var M;return t()(this,U),M=k.call(this,D),M.cancelValue=function(B){M.setState(function(j){var H=j.registeredValues;return{registeredValues:H.filter(function(K){return K!==B})}})},M.registerValue=function(B){M.setState(function(j){var H=j.registeredValues;return{registeredValues:[].concat(m()(H),[B])}})},M.toggleOption=function(B){var j=M.state.registeredValues,H=M.state.value.indexOf(B.value),K=m()(M.state.value);H===-1?K.push(B.value):K.splice(H,1),"value"in M.props||M.setState({value:K});var W=M.props.onChange;if(W){var X=M.getOptions();W(K.filter(function(V){return j.indexOf(V)!==-1}).sort(function(V,Z){var G=X.findIndex(function(te){return te.value===V}),Y=X.findIndex(function(te){return te.value===Z});return G-Y}))}},M.renderGroup=function(B){var j=B.getPrefixCls,H=B.direction,K=r()(M),W=K.props,X=K.state,V=W.prefixCls,Z=W.className,G=W.style,Y=W.options,te=v(W,["prefixCls","className","style","options"]),se=j("checkbox",V),Ce="".concat(se,"-group"),he=Object(A.default)(te,["children","defaultValue","value","onChange","disabled"]),xe=W.children;Y&&Y.length>0&&(xe=M.getOptions().map(function(Ze){return e.createElement(L,{prefixCls:se,key:Ze.value.toString(),disabled:"disabled"in Ze?Ze.disabled:W.disabled,value:Ze.value,checked:X.value.indexOf(Ze.value)!==-1,onChange:Ze.onChange,className:"".concat(Ce,"-item"),style:Ze.style},Ze.label)}));var ie={toggleOption:M.toggleOption,value:M.state.value,disabled:M.props.disabled,name:M.props.name,registerValue:M.registerValue,cancelValue:M.cancelValue},ee=i()(Ce,Z,_()({},"".concat(Ce,"-rtl"),H==="rtl"));return e.createElement("div",E()({className:ee,style:G},he),e.createElement(b.Provider,{value:ie},xe))},M.state={value:D.value||D.defaultValue||[],registeredValues:[]},M}return h()(U,[{key:"getOptions",value:function(){var M=this.props.options;return M.map(function(B){return typeof B=="string"?{label:B,value:B}:B})}},{key:"render",value:function(){return e.createElement(g.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(M){return"value"in M?{value:M.value||[]}:null}}]),U}(e.PureComponent);S.defaultProps={options:[]};var y=S,w=d("uaoM"),x=function(P,k){var U={};for(var D in P)Object.prototype.hasOwnProperty.call(P,D)&&k.indexOf(D)<0&&(U[D]=P[D]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(P);M<D.length;M++)k.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(P,D[M])&&(U[D[M]]=P[D[M]]);return U},T=function(P){l()(U,P);var k=c()(U);function U(){var D;return t()(this,U),D=k.apply(this,arguments),D.saveCheckbox=function(M){D.rcCheckbox=M},D.renderCheckbox=function(M){var B,j=M.getPrefixCls,H=M.direction,K=r()(D),W=K.props,X=K.context,V=W.prefixCls,Z=W.className,G=W.children,Y=W.indeterminate,te=W.style,se=W.onMouseEnter,Ce=W.onMouseLeave,he=x(W,["prefixCls","className","children","indeterminate","style","onMouseEnter","onMouseLeave"]),xe=X,ie=j("checkbox",V),ee=E()({},he);xe&&(ee.onChange=function(){he.onChange&&he.onChange.apply(he,arguments),xe.toggleOption({label:G,value:W.value})},ee.name=xe.name,ee.checked=xe.value.indexOf(W.value)!==-1,ee.disabled=W.disabled||xe.disabled);var Ze=i()(Z,(B={},_()(B,"".concat(ie,"-wrapper"),!0),_()(B,"".concat(ie,"-rtl"),H==="rtl"),_()(B,"".concat(ie,"-wrapper-checked"),ee.checked),_()(B,"".concat(ie,"-wrapper-disabled"),ee.disabled),B)),Se=i()(_()({},"".concat(ie,"-indeterminate"),Y));return e.createElement("label",{className:Ze,style:te,onMouseEnter:se,onMouseLeave:Ce},e.createElement(u.a,E()({},ee,{prefixCls:ie,className:Se,ref:D.saveCheckbox})),G!==void 0&&e.createElement("span",null,G))},D}return h()(U,[{key:"componentDidMount",value:function(){var M,B=this.props.value;(M=this.context)===null||M===void 0||M.registerValue(B),Object(w.a)("checked"in this.props||this.context||!("value"in this.props),"Checkbox","`value` is not a valid prop, do you mean `checked`?")}},{key:"componentDidUpdate",value:function(M){var B=M.value,j,H,K=this.props.value;K!==B&&((j=this.context)===null||j===void 0||j.cancelValue(B),(H=this.context)===null||H===void 0||H.registerValue(K))}},{key:"componentWillUnmount",value:function(){var M,B=this.props.value;(M=this.context)===null||M===void 0||M.cancelValue(B)}},{key:"focus",value:function(){this.rcCheckbox.focus()}},{key:"blur",value:function(){this.rcCheckbox.blur()}},{key:"render",value:function(){return e.createElement(g.a,null,this.renderCheckbox)}}]),U}(e.PureComponent);T.__ANT_CHECKBOX=!0,T.defaultProps={indeterminate:!1},T.contextType=b;var L=T;L.Group=y;var R=z.a=L},kj2x:function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=d("7hqr"),E=I.isDimensionStacked,C=O.indexOf;function t(i){return!(isNaN(parseFloat(i.x))&&isNaN(parseFloat(i.y)))}function p(i){return!isNaN(parseFloat(i.x))&&!isNaN(parseFloat(i.y))}function h(i,u,f,m,A,g){var v=[],b=E(u,m),S=b?u.getCalculationInfo("stackResultDimension"):m,y=a(u,S,i),w=u.indicesOfNearest(S,y)[0];v[A]=u.get(f,w),v[g]=u.get(S,w);var x=u.get(m,w),T=_.getPrecision(u.get(m,w));return T=Math.min(T,20),T>=0&&(v[g]=+v[g].toFixed(T)),[v,x]}var o=O.curry,r={min:o(h,"min"),max:o(h,"max"),average:o(h,"average")};function s(i,u){var f=i.getData(),m=i.coordinateSystem;if(u&&!p(u)&&!O.isArray(u.coord)&&m){var A=m.dimensions,g=l(u,f,m,i);if(u=O.clone(u),u.type&&r[u.type]&&g.baseAxis&&g.valueAxis){var v=C(A,g.baseAxis.dim),b=C(A,g.valueAxis.dim),S=r[u.type](f,g.baseDataDim,g.valueDataDim,v,b);u.coord=S[0],u.value=S[1]}else{for(var y=[u.xAxis!=null?u.xAxis:u.radiusAxis,u.yAxis!=null?u.yAxis:u.angleAxis],w=0;w<2;w++)r[y[w]]&&(y[w]=a(f,f.mapDimension(A[w]),y[w]));u.coord=y}}return u}function l(i,u,f,m){var A={};return i.valueIndex!=null||i.valueDim!=null?(A.valueDataDim=i.valueIndex!=null?u.getDimension(i.valueIndex):i.valueDim,A.valueAxis=f.getAxis(n(m,A.valueDataDim)),A.baseAxis=f.getOtherAxis(A.valueAxis),A.baseDataDim=u.mapDimension(A.baseAxis.dim)):(A.baseAxis=m.getBaseAxis(),A.valueAxis=f.getOtherAxis(A.baseAxis),A.baseDataDim=u.mapDimension(A.baseAxis.dim),A.valueDataDim=u.mapDimension(A.valueAxis.dim)),A}function n(i,u){var f=i.getData(),m=f.dimensions;u=f.getDimension(u);for(var A=0;A<m.length;A++){var g=f.getDimensionInfo(m[A]);if(g.name===u)return g.coordDim}}function c(i,u){return i&&i.containData&&u.coord&&!t(u)?i.containData(u.coord):!0}function e(i,u,f,m){return m<2?i.coord&&i.coord[m]:i.value}function a(i,u,f){if(f==="average"){var m=0,A=0;return i.each(u,function(g,v){isNaN(g)||(m+=g,A++)}),m/A}else return f==="median"?i.getMedian(u):i.getDataExtent(u,!0)[f==="max"?1:0]}z.dataTransform=s,z.getAxisInfo=l,z.dataFilter=c,z.dimValueGetter=e,z.numCalculate=a},knOB:function(ue,z,d){var O=d("bYtY"),_=d("hM6l");function I(C,t){_.call(this,"radius",C,t),this.type="category"}I.prototype={constructor:I,pointToData:function(C,t){return this.polar.pointToData(C,t)[this.dim==="radius"?0:1]},dataToRadius:_.prototype.dataToCoord,radiusToData:_.prototype.coordToData},O.inherits(I,_);var E=I;ue.exports=E},ko1b:function(ue,z,d){var O=d("bYtY"),_=d("T4UG"),I=d("Bsck"),E=d("Qxkt"),C=d("7aKB"),t=C.encodeHTML,p=C.addCommas,h=d("VaxA"),o=h.wrapTreePathInfo,r=_.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,c){var e={name:n.name,children:n.data};s(e);var a=n.levels||[];a=n.levels=l(a,c);var i=O.map(a||[],function(m){return new E(m,this,c)},this),u=I.createTree(e,this,null,f);function f(m){m.wrapMethod("getItemModel",function(A,g){var v=u.getNodeByDataIndex(g),b=i[v.depth];return b&&(A.parentModel=b),A})}return u.data},optionUpdated:function(){this.resetViewRoot()},formatTooltip:function(n){var c=this.getData(),e=this.getRawValue(n),a=O.isArray(e)?p(e[0]):p(e),i=c.getName(n);return t(i+": "+a)},getDataParams:function(n){var c=_.prototype.getDataParams.apply(this,arguments),e=this.getData().tree.getNodeByDataIndex(n);return c.treePathInfo=o(e,this),c},setLayoutInfo:function(n){this.layoutInfo=this.layoutInfo||{},O.extend(this.layoutInfo,n)},mapIdToIndex:function(n){var c=this._idIndexMap;c||(c=this._idIndexMap=O.createHashMap(),this._idIndexMapCount=0);var e=c.get(n);return e==null&&c.set(n,e=this._idIndexMapCount++),e},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(n){n?this._viewRoot=n:n=this._viewRoot;var c=this.getRawData().tree.root;(!n||n!==c&&!c.contains(n))&&(this._viewRoot=c)}});function s(n){var c=0;O.each(n.children,function(a){s(a);var i=a.value;O.isArray(i)&&(i=i[0]),c+=i});var e=n.value;O.isArray(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=c),e<0&&(e=0),O.isArray(n.value)?n.value[0]=e:n.value=e}function l(n,c){var e=c.get("color");if(!e)return;n=n||[];var a;if(O.each(n,function(u){var f=new E(u),m=f.get("color");(f.get("itemStyle.color")||m&&m!=="none")&&(a=!0)}),!a){var i=n[0]||(n[0]={});i.color=e.slice()}return n}ue.exports=r},kzFp:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O=z.pick=function(I,E){var C={};return E.forEach(function(t){C[t]=I[t]}),C}},kzvK:function(ue,z,d){var O=d("sS/r"),_=O.extend({type:"timeline"});ue.exports=_},"l+S1":function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="SearchOutlined";var p=z.a=_.forwardRef(t)},lE7J:function(ue,z,d){var O=d("OELB"),_=O.round;function I(p,h,o,r){var s={},l=p[1]-p[0],n=s.interval=O.nice(l/h,!0);o!=null&&n<o&&(n=s.interval=o),r!=null&&n>r&&(n=s.interval=r);var c=s.intervalPrecision=E(n),e=s.niceTickExtent=[_(Math.ceil(p[0]/n)*n,c),_(Math.floor(p[1]/n)*n,c)];return t(e,p),s}function E(p){return O.getPrecisionSafe(p)+2}function C(p,h,o){p[h]=Math.max(Math.min(p[h],o[1]),o[0])}function t(p,h){!isFinite(p[0])&&(p[0]=h[0]),!isFinite(p[1])&&(p[1]=h[1]),C(p,0,h),C(p,1,h),p[0]>p[1]&&(p[0]=p[1])}z.intervalScaleNiceTicks=I,z.getIntervalPrecision=E,z.fixExtent=t},lELe:function(ue,z,d){var O=d("bYtY");function _(I){var E=[];O.each(I.series,function(C){C&&C.type==="map"&&(E.push(C),C.map=C.map||C.mapType,O.defaults(C,C.mapLocation))})}ue.exports=_},lLGD:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("nVfU"),E=I.layout,C=I.largeLayout;d("Wqna"),d("F7hV"),d("Z8zF"),d("Ae16"),O.registerLayout(O.PRIORITY.VISUAL.LAYOUT,_.curry(E,"bar")),O.registerLayout(O.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,C),O.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},lNSK:function(ue,z,d){"use strict";function O(de){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(tr){return typeof tr}:O=function(tr){return tr&&typeof Symbol=="function"&&tr.constructor===Symbol&&tr!==Symbol.prototype?"symbol":typeof tr},O(de)}Object.defineProperty(z,"__esModule",{value:!0}),z.deflateInit=Be,z.deflateInit2=Tt,z.deflateReset=Et,z.deflateResetKeep=wt,z.deflateSetHeader=xt,z.deflate=ce,z.deflateEnd=q,z.deflateSetDictionary=dt,z.deflateInfo=z.Z_DEFLATED=z.Z_UNKNOWN=z.Z_DEFAULT_STRATEGY=z.Z_FIXED=z.Z_RLE=z.Z_HUFFMAN_ONLY=z.Z_FILTERED=z.Z_DEFAULT_COMPRESSION=z.Z_BUF_ERROR=z.Z_DATA_ERROR=z.Z_STREAM_ERROR=z.Z_STREAM_END=z.Z_OK=z.Z_BLOCK=z.Z_FINISH=z.Z_FULL_FLUSH=z.Z_PARTIAL_FLUSH=z.Z_NO_FLUSH=void 0;var _=o(d("6BzB")),I=o(d("c5fP")),E=p(d("xlC8")),C=p(d("QV2g")),t=p(d("xSIq"));function p(de){return de&&de.__esModule?de:{default:de}}function h(){if(typeof WeakMap!="function")return null;var de=new WeakMap;return h=function(){return de},de}function o(de){if(de&&de.__esModule)return de;if(de===null||O(de)!=="object"&&typeof de!="function")return{default:de};var Ht=h();if(Ht&&Ht.has(de))return Ht.get(de);var tr={},lt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Xt in de)if(Object.prototype.hasOwnProperty.call(de,Xt)){var sr=lt?Object.getOwnPropertyDescriptor(de,Xt):null;sr&&(sr.get||sr.set)?Object.defineProperty(tr,Xt,sr):tr[Xt]=de[Xt]}return tr.default=de,Ht&&Ht.set(de,tr),tr}var r=0;z.Z_NO_FLUSH=r;var s=1;z.Z_PARTIAL_FLUSH=s;var l=3;z.Z_FULL_FLUSH=l;var n=4;z.Z_FINISH=n;var c=5;z.Z_BLOCK=c;var e=0;z.Z_OK=e;var a=1;z.Z_STREAM_END=a;var i=-2;z.Z_STREAM_ERROR=i;var u=-3;z.Z_DATA_ERROR=u;var f=-5;z.Z_BUF_ERROR=f;var m=-1;z.Z_DEFAULT_COMPRESSION=m;var A=1;z.Z_FILTERED=A;var g=2;z.Z_HUFFMAN_ONLY=g;var v=3;z.Z_RLE=v;var b=4;z.Z_FIXED=b;var S=0;z.Z_DEFAULT_STRATEGY=S;var y=2;z.Z_UNKNOWN=y;var w=8;z.Z_DEFLATED=w;var x=9,T=15,L=8,R=29,P=256,k=P+1+R,U=30,D=19,M=2*k+1,B=15,j=3,H=258,K=H+j+1,W=32,X=42,V=69,Z=73,G=91,Y=103,te=113,se=666,Ce=1,he=2,xe=3,ie=4,ee=3;function Ze(de,Ht){return de.msg=t.default[Ht],Ht}function Se(de){return(de<<1)-(de>4?9:0)}function Ne(de){for(var Ht=de.length;--Ht>=0;)de[Ht]=0}function it(de){var Ht=de.state,tr=Ht.pending;if(tr>de.avail_out&&(tr=de.avail_out),tr===0)return;_.arraySet(de.output,Ht.pending_buf,Ht.pending_out,tr,de.next_out),de.next_out+=tr,Ht.pending_out+=tr,de.total_out+=tr,de.avail_out-=tr,Ht.pending-=tr,Ht.pending===0&&(Ht.pending_out=0)}function Ye(de,Ht){I._tr_flush_block(de,de.block_start>=0?de.block_start:-1,de.strstart-de.block_start,Ht),de.block_start=de.strstart,it(de.strm)}function nt(de,Ht){de.pending_buf[de.pending++]=Ht}function je(de,Ht){de.pending_buf[de.pending++]=Ht>>>8&255,de.pending_buf[de.pending++]=Ht&255}function et(de,Ht,tr,lt){var Xt=de.avail_in;return Xt>lt&&(Xt=lt),Xt===0?0:(de.avail_in-=Xt,_.arraySet(Ht,de.input,de.next_in,Xt,tr),de.state.wrap===1?de.adler=(0,E.default)(de.adler,Ht,Xt,tr):de.state.wrap===2&&(de.adler=(0,C.default)(de.adler,Ht,Xt,tr)),de.next_in+=Xt,de.total_in+=Xt,Xt)}function He(de,Ht){var tr=de.max_chain_length,lt=de.strstart,Xt,sr,Kr=de.prev_length,rr=de.nice_match,nr=de.strstart>de.w_size-K?de.strstart-(de.w_size-K):0,Nt=de.window,ot=de.w_mask,Qe=de.prev,qt=de.strstart+H,xr=Nt[lt+Kr-1],vr=Nt[lt+Kr];de.prev_length>=de.good_match&&(tr>>=2),rr>de.lookahead&&(rr=de.lookahead);do{if(Xt=Ht,Nt[Xt+Kr]!==vr||Nt[Xt+Kr-1]!==xr||Nt[Xt]!==Nt[lt]||Nt[++Xt]!==Nt[lt+1])continue;lt+=2,Xt++;do;while(Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&Nt[++lt]===Nt[++Xt]&&lt<qt);if(sr=H-(qt-lt),lt=qt-H,sr>Kr){if(de.match_start=Ht,Kr=sr,sr>=rr)break;xr=Nt[lt+Kr-1],vr=Nt[lt+Kr]}}while((Ht=Qe[Ht&ot])>nr&&--tr!==0);return Kr<=de.lookahead?Kr:de.lookahead}function pe(de){var Ht=de.w_size,tr,lt,Xt,sr,Kr;do{if(sr=de.window_size-de.lookahead-de.strstart,de.strstart>=Ht+(Ht-K)){_.arraySet(de.window,de.window,Ht,Ht,0),de.match_start-=Ht,de.strstart-=Ht,de.block_start-=Ht,lt=de.hash_size,tr=lt;do Xt=de.head[--tr],de.head[tr]=Xt>=Ht?Xt-Ht:0;while(--lt);lt=Ht,tr=lt;do Xt=de.prev[--tr],de.prev[tr]=Xt>=Ht?Xt-Ht:0;while(--lt);sr+=Ht}if(de.strm.avail_in===0)break;if(lt=et(de.strm,de.window,de.strstart+de.lookahead,sr),de.lookahead+=lt,de.lookahead+de.insert>=j)for(Kr=de.strstart-de.insert,de.ins_h=de.window[Kr],de.ins_h=(de.ins_h<<de.hash_shift^de.window[Kr+1])&de.hash_mask;de.insert&&!(de.ins_h=(de.ins_h<<de.hash_shift^de.window[Kr+j-1])&de.hash_mask,de.prev[Kr&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=Kr,Kr++,de.insert--,de.lookahead+de.insert<j););}while(de.lookahead<K&&de.strm.avail_in!==0)}function ae(de,Ht){var tr=65535;for(tr>de.pending_buf_size-5&&(tr=de.pending_buf_size-5);;){if(de.lookahead<=1){if(pe(de),de.lookahead===0&&Ht===r)return Ce;if(de.lookahead===0)break}de.strstart+=de.lookahead,de.lookahead=0;var lt=de.block_start+tr;if((de.strstart===0||de.strstart>=lt)&&(de.lookahead=de.strstart-lt,de.strstart=lt,Ye(de,!1),de.strm.avail_out===0))return Ce;if(de.strstart-de.block_start>=de.w_size-K&&(Ye(de,!1),de.strm.avail_out===0))return Ce}return de.insert=0,Ht===n?(Ye(de,!0),de.strm.avail_out===0?xe:ie):(de.strstart>de.block_start&&(Ye(de,!1),de.strm.avail_out===0),Ce)}function re(de,Ht){for(var tr,lt;;){if(de.lookahead<K){if(pe(de),de.lookahead<K&&Ht===r)return Ce;if(de.lookahead===0)break}if(tr=0,de.lookahead>=j&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+j-1])&de.hash_mask,tr=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart),tr!==0&&de.strstart-tr<=de.w_size-K&&(de.match_length=He(de,tr)),de.match_length>=j)if(lt=I._tr_tally(de,de.strstart-de.match_start,de.match_length-j),de.lookahead-=de.match_length,de.match_length<=de.max_lazy_match&&de.lookahead>=j){de.match_length--;do de.strstart++,de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+j-1])&de.hash_mask,tr=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart;while(--de.match_length!==0);de.strstart++}else de.strstart+=de.match_length,de.match_length=0,de.ins_h=de.window[de.strstart],de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+1])&de.hash_mask;else lt=I._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++;if(lt&&(Ye(de,!1),de.strm.avail_out===0))return Ce}return de.insert=de.strstart<j-1?de.strstart:j-1,Ht===n?(Ye(de,!0),de.strm.avail_out===0?xe:ie):de.last_lit&&(Ye(de,!1),de.strm.avail_out===0)?Ce:he}function be(de,Ht){for(var tr,lt,Xt;;){if(de.lookahead<K){if(pe(de),de.lookahead<K&&Ht===r)return Ce;if(de.lookahead===0)break}if(tr=0,de.lookahead>=j&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+j-1])&de.hash_mask,tr=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart),de.prev_length=de.match_length,de.prev_match=de.match_start,de.match_length=j-1,tr!==0&&de.prev_length<de.max_lazy_match&&de.strstart-tr<=de.w_size-K&&(de.match_length=He(de,tr),de.match_length<=5&&(de.strategy===A||de.match_length===j&&de.strstart-de.match_start>4096)&&(de.match_length=j-1)),de.prev_length>=j&&de.match_length<=de.prev_length){Xt=de.strstart+de.lookahead-j,lt=I._tr_tally(de,de.strstart-1-de.prev_match,de.prev_length-j),de.lookahead-=de.prev_length-1,de.prev_length-=2;do++de.strstart<=Xt&&(de.ins_h=(de.ins_h<<de.hash_shift^de.window[de.strstart+j-1])&de.hash_mask,tr=de.prev[de.strstart&de.w_mask]=de.head[de.ins_h],de.head[de.ins_h]=de.strstart);while(--de.prev_length!==0);if(de.match_available=0,de.match_length=j-1,de.strstart++,lt&&(Ye(de,!1),de.strm.avail_out===0))return Ce}else if(de.match_available){if(lt=I._tr_tally(de,0,de.window[de.strstart-1]),lt&&Ye(de,!1),de.strstart++,de.lookahead--,de.strm.avail_out===0)return Ce}else de.match_available=1,de.strstart++,de.lookahead--}return de.match_available&&(lt=I._tr_tally(de,0,de.window[de.strstart-1]),de.match_available=0),de.insert=de.strstart<j-1?de.strstart:j-1,Ht===n?(Ye(de,!0),de.strm.avail_out===0?xe:ie):de.last_lit&&(Ye(de,!1),de.strm.avail_out===0)?Ce:he}function ze(de,Ht){for(var tr,lt,Xt,sr,Kr=de.window;;){if(de.lookahead<=H){if(pe(de),de.lookahead<=H&&Ht===r)return Ce;if(de.lookahead===0)break}if(de.match_length=0,de.lookahead>=j&&de.strstart>0&&(Xt=de.strstart-1,lt=Kr[Xt],lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt])){sr=de.strstart+H;do;while(lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&lt===Kr[++Xt]&&Xt<sr);de.match_length=H-(sr-Xt),de.match_length>de.lookahead&&(de.match_length=de.lookahead)}if(de.match_length>=j?(tr=I._tr_tally(de,1,de.match_length-j),de.lookahead-=de.match_length,de.strstart+=de.match_length,de.match_length=0):(tr=I._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++),tr&&(Ye(de,!1),de.strm.avail_out===0))return Ce}return de.insert=0,Ht===n?(Ye(de,!0),de.strm.avail_out===0?xe:ie):de.last_lit&&(Ye(de,!1),de.strm.avail_out===0)?Ce:he}function Ke(de,Ht){for(var tr;;){if(de.lookahead===0&&(pe(de),de.lookahead===0)){if(Ht===r)return Ce;break}if(de.match_length=0,tr=I._tr_tally(de,0,de.window[de.strstart]),de.lookahead--,de.strstart++,tr&&(Ye(de,!1),de.strm.avail_out===0))return Ce}return de.insert=0,Ht===n?(Ye(de,!0),de.strm.avail_out===0?xe:ie):de.last_lit&&(Ye(de,!1),de.strm.avail_out===0)?Ce:he}function Te(de,Ht,tr,lt,Xt){this.good_length=de,this.max_lazy=Ht,this.nice_length=tr,this.max_chain=lt,this.func=Xt}var gt;gt=[new Te(0,0,0,0,ae),new Te(4,4,8,4,re),new Te(4,5,16,8,re),new Te(4,6,32,32,re),new Te(4,4,16,16,be),new Te(8,16,32,32,be),new Te(8,16,128,128,be),new Te(8,32,128,256,be),new Te(32,128,258,1024,be),new Te(32,258,258,4096,be)];function Ue(de){de.window_size=2*de.w_size,Ne(de.head),de.max_lazy_match=gt[de.level].max_lazy,de.good_match=gt[de.level].good_length,de.nice_match=gt[de.level].nice_length,de.max_chain_length=gt[de.level].max_chain,de.strstart=0,de.block_start=0,de.lookahead=0,de.insert=0,de.match_length=de.prev_length=j-1,de.match_available=0,de.ins_h=0}function bt(){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=w,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 _.Buf16(M*2),this.dyn_dtree=new _.Buf16((2*U+1)*2),this.bl_tree=new _.Buf16((2*D+1)*2),Ne(this.dyn_ltree),Ne(this.dyn_dtree),Ne(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _.Buf16(B+1),this.heap=new _.Buf16(2*k+1),Ne(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _.Buf16(2*k+1),Ne(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 wt(de){var Ht;return!de||!de.state?Ze(de,i):(de.total_in=de.total_out=0,de.data_type=y,Ht=de.state,Ht.pending=0,Ht.pending_out=0,Ht.wrap<0&&(Ht.wrap=-Ht.wrap),Ht.status=Ht.wrap?X:te,de.adler=Ht.wrap===2?0:1,Ht.last_flush=r,I._tr_init(Ht),e)}function Et(de){var Ht=wt(de);return Ht===e&&Ue(de.state),Ht}function xt(de,Ht){return!de||!de.state||de.state.wrap!==2?i:(de.state.gzhead=Ht,e)}function Tt(de,Ht,tr,lt,Xt,sr){if(!de)return i;var Kr=1;if(Ht===m&&(Ht=6),lt<0?(Kr=0,lt=-lt):lt>15&&(Kr=2,lt-=16),Xt<1||Xt>x||tr!==w||lt<8||lt>15||Ht<0||Ht>9||sr<0||sr>b)return Ze(de,i);lt===8&&(lt=9);var rr=new bt;return de.state=rr,rr.strm=de,rr.wrap=Kr,rr.gzhead=null,rr.w_bits=lt,rr.w_size=1<<rr.w_bits,rr.w_mask=rr.w_size-1,rr.hash_bits=Xt+7,rr.hash_size=1<<rr.hash_bits,rr.hash_mask=rr.hash_size-1,rr.hash_shift=~~((rr.hash_bits+j-1)/j),rr.window=new _.Buf8(rr.w_size*2),rr.head=new _.Buf16(rr.hash_size),rr.prev=new _.Buf16(rr.w_size),rr.lit_bufsize=1<<Xt+6,rr.pending_buf_size=rr.lit_bufsize*4,rr.pending_buf=new _.Buf8(rr.pending_buf_size),rr.d_buf=1*rr.lit_bufsize,rr.l_buf=(1+2)*rr.lit_bufsize,rr.level=Ht,rr.strategy=sr,rr.method=tr,Et(de)}function Be(de,Ht){return Tt(de,Ht,w,T,L,S)}function ce(de,Ht){var tr,lt,Xt,sr;if(!de||!de.state||Ht>c||Ht<0)return de?Ze(de,i):i;if(lt=de.state,!de.output||!de.input&&de.avail_in!==0||lt.status===se&&Ht!==n)return Ze(de,de.avail_out===0?f:i);if(lt.strm=de,tr=lt.last_flush,lt.last_flush=Ht,lt.status===X)if(lt.wrap===2)de.adler=0,nt(lt,31),nt(lt,139),nt(lt,8),lt.gzhead?(nt(lt,(lt.gzhead.text?1:0)+(lt.gzhead.hcrc?2:0)+(lt.gzhead.extra?4:0)+(lt.gzhead.name?8:0)+(lt.gzhead.comment?16:0)),nt(lt,lt.gzhead.time&255),nt(lt,lt.gzhead.time>>8&255),nt(lt,lt.gzhead.time>>16&255),nt(lt,lt.gzhead.time>>24&255),nt(lt,lt.level===9?2:lt.strategy>=g||lt.level<2?4:0),nt(lt,lt.gzhead.os&255),lt.gzhead.extra&&lt.gzhead.extra.length&&(nt(lt,lt.gzhead.extra.length&255),nt(lt,lt.gzhead.extra.length>>8&255)),lt.gzhead.hcrc&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending,0)),lt.gzindex=0,lt.status=V):(nt(lt,0),nt(lt,0),nt(lt,0),nt(lt,0),nt(lt,0),nt(lt,lt.level===9?2:lt.strategy>=g||lt.level<2?4:0),nt(lt,ee),lt.status=te);else{var Kr=w+(lt.w_bits-8<<4)<<8,rr=-1;lt.strategy>=g||lt.level<2?rr=0:lt.level<6?rr=1:lt.level===6?rr=2:rr=3,Kr|=rr<<6,lt.strstart!==0&&(Kr|=W),Kr+=31-Kr%31,lt.status=te,je(lt,Kr),lt.strstart!==0&&(je(lt,de.adler>>>16),je(lt,de.adler&65535)),de.adler=1}if(lt.status===V)if(lt.gzhead.extra){for(Xt=lt.pending;lt.gzindex<(lt.gzhead.extra.length&65535)&&!(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),it(de),Xt=lt.pending,lt.pending===lt.pending_buf_size));)nt(lt,lt.gzhead.extra[lt.gzindex]&255),lt.gzindex++;lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),lt.gzindex===lt.gzhead.extra.length&&(lt.gzindex=0,lt.status=Z)}else lt.status=Z;if(lt.status===Z)if(lt.gzhead.name){Xt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),it(de),Xt=lt.pending,lt.pending===lt.pending_buf_size)){sr=1;break}lt.gzindex<lt.gzhead.name.length?sr=lt.gzhead.name.charCodeAt(lt.gzindex++)&255:sr=0,nt(lt,sr)}while(sr!==0);lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),sr===0&&(lt.gzindex=0,lt.status=G)}else lt.status=G;if(lt.status===G)if(lt.gzhead.comment){Xt=lt.pending;do{if(lt.pending===lt.pending_buf_size&&(lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),it(de),Xt=lt.pending,lt.pending===lt.pending_buf_size)){sr=1;break}lt.gzindex<lt.gzhead.comment.length?sr=lt.gzhead.comment.charCodeAt(lt.gzindex++)&255:sr=0,nt(lt,sr)}while(sr!==0);lt.gzhead.hcrc&&lt.pending>Xt&&(de.adler=(0,C.default)(de.adler,lt.pending_buf,lt.pending-Xt,Xt)),sr===0&&(lt.status=Y)}else lt.status=Y;if(lt.status===Y&&(lt.gzhead.hcrc?(lt.pending+2>lt.pending_buf_size&&it(de),lt.pending+2<=lt.pending_buf_size&&(nt(lt,de.adler&255),nt(lt,de.adler>>8&255),de.adler=0,lt.status=te)):lt.status=te),lt.pending!==0){if(it(de),de.avail_out===0)return lt.last_flush=-1,e}else if(de.avail_in===0&&Se(Ht)<=Se(tr)&&Ht!==n)return Ze(de,f);if(lt.status===se&&de.avail_in!==0)return Ze(de,f);if(de.avail_in!==0||lt.lookahead!==0||Ht!==r&&lt.status!==se){var nr=lt.strategy===g?Ke(lt,Ht):lt.strategy===v?ze(lt,Ht):gt[lt.level].func(lt,Ht);if((nr===xe||nr===ie)&&(lt.status=se),nr===Ce||nr===xe)return de.avail_out===0&&(lt.last_flush=-1),e;if(nr===he&&(Ht===s?I._tr_align(lt):Ht!==c&&(I._tr_stored_block(lt,0,0,!1),Ht===l&&(Ne(lt.head),lt.lookahead===0&&(lt.strstart=0,lt.block_start=0,lt.insert=0))),it(de),de.avail_out===0))return lt.last_flush=-1,e}return Ht!==n?e:lt.wrap<=0?a:(lt.wrap===2?(nt(lt,de.adler&255),nt(lt,de.adler>>8&255),nt(lt,de.adler>>16&255),nt(lt,de.adler>>24&255),nt(lt,de.total_in&255),nt(lt,de.total_in>>8&255),nt(lt,de.total_in>>16&255),nt(lt,de.total_in>>24&255)):(je(lt,de.adler>>>16),je(lt,de.adler&65535)),it(de),lt.wrap>0&&(lt.wrap=-lt.wrap),lt.pending!==0?e:a)}function q(de){var Ht;return!de||!de.state?i:(Ht=de.state.status,Ht!==X&&Ht!==V&&Ht!==Z&&Ht!==G&&Ht!==Y&&Ht!==te&&Ht!==se?Ze(de,i):(de.state=null,Ht===te?Ze(de,u):e))}function dt(de,Ht){var tr=Ht.length,lt,Xt,sr,Kr,rr,nr,Nt,ot;if(!de||!de.state)return i;if(lt=de.state,Kr=lt.wrap,Kr===2||Kr===1&&lt.status!==X||lt.lookahead)return i;for(Kr===1&&(de.adler=(0,E.default)(de.adler,Ht,tr,0)),lt.wrap=0,tr>=lt.w_size&&(Kr===0&&(Ne(lt.head),lt.strstart=0,lt.block_start=0,lt.insert=0),ot=new _.Buf8(lt.w_size),_.arraySet(ot,Ht,tr-lt.w_size,lt.w_size,0),Ht=ot,tr=lt.w_size),rr=de.avail_in,nr=de.next_in,Nt=de.input,de.avail_in=tr,de.next_in=0,de.input=Ht,pe(lt);lt.lookahead>=j;){Xt=lt.strstart,sr=lt.lookahead-(j-1);do lt.ins_h=(lt.ins_h<<lt.hash_shift^lt.window[Xt+j-1])&lt.hash_mask,lt.prev[Xt&lt.w_mask]=lt.head[lt.ins_h],lt.head[lt.ins_h]=Xt,Xt++;while(--sr);lt.strstart=Xt,lt.lookahead=j-1,pe(lt)}return lt.strstart+=lt.lookahead,lt.block_start=lt.strstart,lt.insert=lt.lookahead,lt.lookahead=0,lt.match_length=lt.prev_length=j-1,lt.match_available=0,de.next_in=nr,de.input=Nt,de.avail_in=rr,lt.wrap=Kr,e}var Ve="pako deflate (from Nodeca project)";z.deflateInfo=Ve},lOQZ:function(ue,z,d){var O=d("QBsz"),_=d("U/Mo"),I=_.getSymbolSize,E=_.getNodeGlobalScale,C=Math.PI,t=[];function p(o,r){var s=o.coordinateSystem;if(s&&s.type!=="view")return;var l=s.getBoundingRect(),n=o.getData(),c=n.graph,e=l.width/2+l.x,a=l.height/2+l.y,i=Math.min(l.width,l.height)/2,u=n.count();if(n.setLayout({cx:e,cy:a}),!u)return;h[r](o,s,c,n,i,e,a,u),c.eachEdge(function(f){var m=f.getModel().get("lineStyle.curveness")||0,A=O.clone(f.node1.getLayout()),g=O.clone(f.node2.getLayout()),v,b=(A[0]+g[0])/2,S=(A[1]+g[1])/2;+m&&(m*=3,v=[e*m+b*(1-m),a*m+S*(1-m)]),f.setLayout([A,g,v])})}var h={value:function(o,r,s,l,n,c,e,a){var i=0,u=l.getSum("value"),f=Math.PI*2/(u||a);s.eachNode(function(m){var A=m.getValue("value"),g=f*(u?A:1)/2;i+=g,m.setLayout([n*Math.cos(i)+c,n*Math.sin(i)+e]),i+=g})},symbolSize:function(o,r,s,l,n,c,e,a){var i=0;t.length=a;var u=E(o);s.eachNode(function(A){var g=I(A);isNaN(g)&&(g=2),g<0&&(g=0),g*=u;var v=Math.asin(g/2/n);isNaN(v)&&(v=C/2),t[A.dataIndex]=v,i+=v*2});var f=(2*C-i)/a/2,m=0;s.eachNode(function(A){var g=f+t[A.dataIndex];m+=g,A.setLayout([n*Math.cos(m)+c,n*Math.sin(m)+e]),m+=g})}};z.circularLayout=p},lUTK:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("x54q"),E=d.n(I),C=d("5Dmo")},lZu9:function(ue,z,d){(function(O){O(d("VrN/"),d("1eCo"),d("8EBN"))})(function(O){"use strict";O.defineMode("markdown",function(_,I){var E=O.getMode(_,"text/html"),C=E.name=="null";function t(B){if(O.findModeByName){var j=O.findModeByName(B);j&&(B=j.mime||j.mimes[0])}var H=O.getMode(_,B);return H.name=="null"?null:H}I.highlightFormatting===void 0&&(I.highlightFormatting=!1),I.maxBlockquoteDepth===void 0&&(I.maxBlockquoteDepth=0),I.taskLists===void 0&&(I.taskLists=!1),I.strikethrough===void 0&&(I.strikethrough=!1),I.emoji===void 0&&(I.emoji=!1),I.fencedCodeBlockHighlighting===void 0&&(I.fencedCodeBlockHighlighting=!0),I.fencedCodeBlockDefaultMode===void 0&&(I.fencedCodeBlockDefaultMode="text/plain"),I.xml===void 0&&(I.xml=!0),I.tokenTypeOverrides===void 0&&(I.tokenTypeOverrides={});var p={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 h in p)p.hasOwnProperty(h)&&I.tokenTypeOverrides[h]&&(p[h]=I.tokenTypeOverrides[h]);var o=/^([*\-_])(?:\s*\1){2,}\s*$/,r=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,s=/^\[(x| )\](?=\s)/i,l=I.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,n=/^ {0,3}(?:\={1,}|-{2,})\s*$/,c=/^[^#!\[\]*_\\<>` "'(~:]+/,e=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,a=/^\s*\[[^\]]+?\]:.*$/,i=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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]/,u=" ";function f(B,j,H){return j.f=j.inline=H,H(B,j)}function m(B,j,H){return j.f=j.block=H,H(B,j)}function A(B){return!B||!/\S/.test(B.string)}function g(B){if(B.linkTitle=!1,B.linkHref=!1,B.linkText=!1,B.em=!1,B.strong=!1,B.strikethrough=!1,B.quote=0,B.indentedCode=!1,B.f==b){var j=C;if(!j){var H=O.innerMode(E,B.htmlState);j=H.mode.name=="xml"&&H.state.tagStart===null&&!H.state.context&&H.state.tokenize.isInText}j&&(B.f=x,B.block=v,B.htmlState=null)}return B.trailingSpace=0,B.trailingSpaceNewLine=!1,B.prevLine=B.thisLine,B.thisLine={stream:null},null}function v(B,j){var H=B.column()===j.indentation,K=A(j.prevLine.stream),W=j.indentedCode,X=j.prevLine.hr,V=j.list!==!1,Z=(j.listStack[j.listStack.length-1]||0)+3;j.indentedCode=!1;var G=j.indentation;if(j.indentationDiff===null&&(j.indentationDiff=j.indentation,V)){for(j.list=null;G<j.listStack[j.listStack.length-1];)j.listStack.pop(),j.listStack.length?j.indentation=j.listStack[j.listStack.length-1]:j.list=!1;j.list!==!1&&(j.indentationDiff=G-j.listStack[j.listStack.length-1])}var Y=!K&&!X&&!j.prevLine.header&&(!V||!W)&&!j.prevLine.fencedCodeEnd,te=(j.list===!1||X||K)&&j.indentation<=Z&&B.match(o),se=null;if(j.indentationDiff>=4&&(W||j.prevLine.fencedCodeEnd||j.prevLine.header||K))return B.skipToEnd(),j.indentedCode=!0,p.code;if(B.eatSpace())return null;if(H&&j.indentation<=Z&&(se=B.match(l))&&se[1].length<=6)return j.quote=0,j.header=se[1].length,j.thisLine.header=!0,I.highlightFormatting&&(j.formatting="header"),j.f=j.inline,y(j);if(j.indentation<=Z&&B.eat(">"))return j.quote=H?1:j.quote+1,I.highlightFormatting&&(j.formatting="quote"),B.eatSpace(),y(j);if(!te&&!j.setext&&H&&j.indentation<=Z&&(se=B.match(r))){var Ce=se[1]?"ol":"ul";return j.indentation=G+B.current().length,j.list=!0,j.quote=0,j.listStack.push(j.indentation),j.em=!1,j.strong=!1,j.code=!1,j.strikethrough=!1,I.taskLists&&B.match(s,!1)&&(j.taskList=!0),j.f=j.inline,I.highlightFormatting&&(j.formatting=["list","list-"+Ce]),y(j)}else{if(H&&j.indentation<=Z&&(se=B.match(e,!0)))return j.quote=0,j.fencedEndRE=new RegExp(se[1]+"+ *$"),j.localMode=I.fencedCodeBlockHighlighting&&t(se[2]||I.fencedCodeBlockDefaultMode),j.localMode&&(j.localState=O.startState(j.localMode)),j.f=j.block=S,I.highlightFormatting&&(j.formatting="code-block"),j.code=-1,y(j);if(j.setext||(!Y||!V)&&!j.quote&&j.list===!1&&!j.code&&!te&&!a.test(B.string)&&(se=B.lookAhead(1))&&(se=se.match(n)))return j.setext?(j.header=j.setext,j.setext=0,B.skipToEnd(),I.highlightFormatting&&(j.formatting="header")):(j.header=se[0].charAt(0)=="="?1:2,j.setext=j.header),j.thisLine.header=!0,j.f=j.inline,y(j);if(te)return B.skipToEnd(),j.hr=!0,j.thisLine.hr=!0,p.hr;if(B.peek()==="[")return f(B,j,k)}return f(B,j,j.inline)}function b(B,j){var H=E.token(B,j.htmlState);if(!C){var K=O.innerMode(E,j.htmlState);(K.mode.name=="xml"&&K.state.tagStart===null&&!K.state.context&&K.state.tokenize.isInText||j.md_inside&&B.current().indexOf(">")>-1)&&(j.f=x,j.block=v,j.htmlState=null)}return H}function S(B,j){var H=j.listStack[j.listStack.length-1]||0,K=j.indentation<H,W=H+3;if(j.fencedEndRE&&j.indentation<=W&&(K||B.match(j.fencedEndRE))){I.highlightFormatting&&(j.formatting="code-block");var X;return K||(X=y(j)),j.localMode=j.localState=null,j.block=v,j.f=x,j.fencedEndRE=null,j.code=0,j.thisLine.fencedCodeEnd=!0,K?m(B,j,j.block):X}else return j.localMode?j.localMode.token(B,j.localState):(B.skipToEnd(),p.code)}function y(B){var j=[];if(B.formatting){j.push(p.formatting),typeof B.formatting=="string"&&(B.formatting=[B.formatting]);for(var H=0;H<B.formatting.length;H++)j.push(p.formatting+"-"+B.formatting[H]),B.formatting[H]==="header"&&j.push(p.formatting+"-"+B.formatting[H]+"-"+B.header),B.formatting[H]==="quote"&&(!I.maxBlockquoteDepth||I.maxBlockquoteDepth>=B.quote?j.push(p.formatting+"-"+B.formatting[H]+"-"+B.quote):j.push("error"))}if(B.taskOpen)return j.push("meta"),j.length?j.join(" "):null;if(B.taskClosed)return j.push("property"),j.length?j.join(" "):null;if(B.linkHref?j.push(p.linkHref,"url"):(B.strong&&j.push(p.strong),B.em&&j.push(p.em),B.strikethrough&&j.push(p.strikethrough),B.emoji&&j.push(p.emoji),B.linkText&&j.push(p.linkText),B.code&&j.push(p.code),B.image&&j.push(p.image),B.imageAltText&&j.push(p.imageAltText,"link"),B.imageMarker&&j.push(p.imageMarker)),B.header&&j.push(p.header,p.header+"-"+B.header),B.quote&&(j.push(p.quote),!I.maxBlockquoteDepth||I.maxBlockquoteDepth>=B.quote?j.push(p.quote+"-"+B.quote):j.push(p.quote+"-"+I.maxBlockquoteDepth)),B.list!==!1){var K=(B.listStack.length-1)%3;K?K===1?j.push(p.list2):j.push(p.list3):j.push(p.list1)}return B.trailingSpaceNewLine?j.push("trailing-space-new-line"):B.trailingSpace&&j.push("trailing-space-"+(B.trailingSpace%2?"a":"b")),j.length?j.join(" "):null}function w(B,j){return B.match(c,!0)?y(j):void 0}function x(B,j){var H=j.text(B,j);if(typeof H!="undefined")return H;if(j.list)return j.list=null,y(j);if(j.taskList){var K=B.match(s,!0)[1]===" ";return K?j.taskOpen=!0:j.taskClosed=!0,I.highlightFormatting&&(j.formatting="task"),j.taskList=!1,y(j)}if(j.taskOpen=!1,j.taskClosed=!1,j.header&&B.match(/^#+$/,!0))return I.highlightFormatting&&(j.formatting="header"),y(j);var W=B.next();if(j.linkTitle){j.linkTitle=!1;var X=W;W==="("&&(X=")"),X=(X+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var V="^\\s*(?:[^"+X+"\\\\]+|\\\\\\\\|\\\\.)"+X;if(B.match(new RegExp(V),!0))return p.linkHref}if(W==="`"){var Z=j.formatting;I.highlightFormatting&&(j.formatting="code"),B.eatWhile("`");var G=B.current().length;if(j.code==0&&(!j.quote||G==1))return j.code=G,y(j);if(G==j.code){var Y=y(j);return j.code=0,Y}else return j.formatting=Z,y(j)}else if(j.code)return y(j);if(W==="\\"&&(B.next(),I.highlightFormatting)){var te=y(j),se=p.formatting+"-escape";return te?te+" "+se:se}if(W==="!"&&B.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return j.imageMarker=!0,j.image=!0,I.highlightFormatting&&(j.formatting="image"),y(j);if(W==="["&&j.imageMarker&&B.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return j.imageMarker=!1,j.imageAltText=!0,I.highlightFormatting&&(j.formatting="image"),y(j);if(W==="]"&&j.imageAltText){I.highlightFormatting&&(j.formatting="image");var te=y(j);return j.imageAltText=!1,j.image=!1,j.inline=j.f=L,te}if(W==="["&&!j.image)return j.linkText&&B.match(/^.*?\]/)||(j.linkText=!0,I.highlightFormatting&&(j.formatting="link")),y(j);if(W==="]"&&j.linkText){I.highlightFormatting&&(j.formatting="link");var te=y(j);return j.linkText=!1,j.inline=j.f=B.match(/\(.*?\)| ?\[.*?\]/,!1)?L:x,te}if(W==="<"&&B.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=T,I.highlightFormatting&&(j.formatting="link");var te=y(j);return te?te+=" ":te="",te+p.linkInline}if(W==="<"&&B.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){j.f=j.inline=T,I.highlightFormatting&&(j.formatting="link");var te=y(j);return te?te+=" ":te="",te+p.linkEmail}if(I.xml&&W==="<"&&B.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ce=B.string.indexOf(">",B.pos);if(Ce!=-1){var he=B.string.substring(B.start,Ce);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(he)&&(j.md_inside=!0)}return B.backUp(1),j.htmlState=O.startState(E),m(B,j,b)}if(I.xml&&W==="<"&&B.match(/^\/\w*?>/))return j.md_inside=!1,"tag";if(W==="*"||W==="_"){for(var xe=1,ie=B.pos==1?" ":B.string.charAt(B.pos-2);xe<3&&B.eat(W);)xe++;var ee=B.peek()||" ",Ze=!/\s/.test(ee)&&(!i.test(ee)||/\s/.test(ie)||i.test(ie)),Se=!/\s/.test(ie)&&(!i.test(ie)||/\s/.test(ee)||i.test(ee)),Ne=null,it=null;if(xe%2&&(!j.em&&Ze&&(W==="*"||!Se||i.test(ie))?Ne=!0:j.em==W&&Se&&(W==="*"||!Ze||i.test(ee))&&(Ne=!1)),xe>1&&(!j.strong&&Ze&&(W==="*"||!Se||i.test(ie))?it=!0:j.strong==W&&Se&&(W==="*"||!Ze||i.test(ee))&&(it=!1)),it!=null||Ne!=null){I.highlightFormatting&&(j.formatting=Ne==null?"strong":it==null?"em":"strong em"),Ne===!0&&(j.em=W),it===!0&&(j.strong=W);var Y=y(j);return Ne===!1&&(j.em=!1),it===!1&&(j.strong=!1),Y}}else if(W===" "&&(B.eat("*")||B.eat("_"))){if(B.peek()===" ")return y(j);B.backUp(1)}if(I.strikethrough){if(W==="~"&&B.eatWhile(W)){if(j.strikethrough){I.highlightFormatting&&(j.formatting="strikethrough");var Y=y(j);return j.strikethrough=!1,Y}else if(B.match(/^[^\s]/,!1))return j.strikethrough=!0,I.highlightFormatting&&(j.formatting="strikethrough"),y(j)}else if(W===" "&&B.match(/^~~/,!0)){if(B.peek()===" ")return y(j);B.backUp(2)}}if(I.emoji&&W===":"&&B.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){j.emoji=!0,I.highlightFormatting&&(j.formatting="emoji");var Ye=y(j);return j.emoji=!1,Ye}return W===" "&&(B.match(/^ +$/,!1)?j.trailingSpace++:j.trailingSpace&&(j.trailingSpaceNewLine=!0)),y(j)}function T(B,j){var H=B.next();if(H===">"){j.f=j.inline=x,I.highlightFormatting&&(j.formatting="link");var K=y(j);return K?K+=" ":K="",K+p.linkInline}return B.match(/^[^>]+/,!0),p.linkInline}function L(B,j){if(B.eatSpace())return null;var H=B.next();return H==="("||H==="["?(j.f=j.inline=P(H==="("?")":"]"),I.highlightFormatting&&(j.formatting="link-string"),j.linkHref=!0,y(j)):"error"}var R={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function P(B){return function(j,H){var K=j.next();if(K===B){H.f=H.inline=x,I.highlightFormatting&&(H.formatting="link-string");var W=y(H);return H.linkHref=!1,W}return j.match(R[B]),H.linkHref=!0,y(H)}}function k(B,j){return B.match(/^([^\]\\]|\\.)*\]:/,!1)?(j.f=U,B.next(),I.highlightFormatting&&(j.formatting="link"),j.linkText=!0,y(j)):f(B,j,x)}function U(B,j){if(B.match(/^\]:/,!0)){j.f=j.inline=D,I.highlightFormatting&&(j.formatting="link");var H=y(j);return j.linkText=!1,H}return B.match(/^([^\]\\]|\\.)+/,!0),p.linkText}function D(B,j){return B.eatSpace()?null:(B.match(/^[^\s]+/,!0),B.peek()===void 0?j.linkTitle=!0:B.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),j.f=j.inline=x,p.linkHref+" url")}var M={startState:function(){return{f:v,prevLine:{stream:null},thisLine:{stream:null},block:v,htmlState:null,indentation:0,inline:x,text:w,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(j){return{f:j.f,prevLine:j.prevLine,thisLine:j.thisLine,block:j.block,htmlState:j.htmlState&&O.copyState(E,j.htmlState),indentation:j.indentation,localMode:j.localMode,localState:j.localMode?O.copyState(j.localMode,j.localState):null,inline:j.inline,text:j.text,formatting:!1,linkText:j.linkText,linkTitle:j.linkTitle,linkHref:j.linkHref,code:j.code,em:j.em,strong:j.strong,strikethrough:j.strikethrough,emoji:j.emoji,header:j.header,setext:j.setext,hr:j.hr,taskList:j.taskList,list:j.list,listStack:j.listStack.slice(0),quote:j.quote,indentedCode:j.indentedCode,trailingSpace:j.trailingSpace,trailingSpaceNewLine:j.trailingSpaceNewLine,md_inside:j.md_inside,fencedEndRE:j.fencedEndRE}},token:function(j,H){if(H.formatting=!1,j!=H.thisLine.stream){if(H.header=0,H.hr=!1,j.match(/^\s*$/,!0))return g(H),null;if(H.prevLine=H.thisLine,H.thisLine={stream:j},H.taskList=!1,H.trailingSpace=0,H.trailingSpaceNewLine=!1,!H.localState&&(H.f=H.block,H.f!=b)){var K=j.match(/^\s*/,!0)[0].replace(/\t/g,u).length;if(H.indentation=K,H.indentationDiff=null,K>0)return null}}return H.f(j,H)},innerMode:function(j){return j.block==b?{state:j.htmlState,mode:E}:j.localState?{state:j.localState,mode:j.localMode}:{state:j,mode:M}},indent:function(j,H,K){return j.block==b&&E.indent?E.indent(j.htmlState,H,K):j.localState&&j.localMode.indent?j.localMode.indent(j.localState,H,K):O.Pass},blankLine:g,getType:y,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return M},"xml"),O.defineMIME("text/markdown","markdown"),O.defineMIME("text/x-markdown","markdown")})},laiN:function(ue,z,d){var O=d("ProS");d("GVMX"),d("MH26"),O.registerPreprocessor(function(_){_.markLine=_.markLine||{}})},lnY3:function(ue,z,d){},loD1:function(ue,z){function d(O,_,I,E,C,t,p){if(C===0)return!1;var h=C,o=0,r=O;if(p>_+h&&p>E+h||p<_-h&&p<E-h||t>O+h&&t>I+h||t<O-h&&t<I-h)return!1;if(O!==I)o=(_-E)/(O-I),r=(O*E-I*_)/(O-I);else return Math.abs(t-O)<=h/2;var s=o*t-p+r,l=s*s/(o*o+1);return l<=h/2*h/2}z.containStroke=d},lrIw:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("cDf5"),E=d.n(I),C=d("J4zp"),t=d.n(C),p=d("q1tI"),h=d.n(p),o=d("Zm9Q"),r=d("TSYQ"),s=d.n(r),l=d("BGR+"),n=d("2fM7"),c=d("H84U"),e=d("uaoM"),a=d("0n0R"),i=n.a.Option,u=n.a;function f(g){return g&&g.type&&(g.type.isSelectOption||g.type.isSelectOptGroup)}var m=function(v,b){var S=v.prefixCls,y=v.className,w=v.children,x=v.dataSource,T=Object(o.a)(w),L=p.useRef();p.useImperativeHandle(b,function(){return L.current});var R;if(T.length===1&&Object(a.b)(T[0])&&!f(T[0])){var P=t()(T,1);R=P[0]}var k=function(){return R},U;return T.length&&f(T[0])?U=w:U=x?x.map(function(D){if(Object(a.b)(D))return D;switch(E()(D)){case"string":return p.createElement(i,{key:D,value:D},D);case"object":{var M=D.value;return p.createElement(i,{key:M,value:M},D.text)}default:throw new Error("AutoComplete[dataSource] only supports type `string[] | Object[]`.")}}):[],p.useEffect(function(){Object(e.a)(!("dataSource"in v),"AutoComplete","`dataSource` is deprecated, please use `options` instead."),Object(e.a)(!R||!("size"in v),"AutoComplete","You need to control style self instead of setting `size` when using customize input.")},[]),p.createElement(c.a,null,function(D){var M=D.getPrefixCls,B=M("select",S);return p.createElement(u,_()({ref:L},Object(l.default)(v,["dataSource"]),{prefixCls:B,className:s()(y,"".concat(B,"-auto-complete")),mode:n.a.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:k}),U)})},A=p.forwardRef(m);A.Option=i,z.a=A},lwQL:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("9wZj"),E=d("c8qY"),C=d("SgGq"),t=d("Ae+d"),p=d("xSat"),h=p.onIrrelevantElement,o=d("IwbS"),r=d("SA8n"),s=d("U/Mo"),l=s.getNodeGlobalScale,n="__focusNodeAdjacency",c="__unfocusNodeAdjacency",e=["itemStyle","opacity"],a=["lineStyle","opacity"];function i(A,g){var v=A.getVisual("opacity");return v!=null?v:A.getModel().get(g)}function u(A,g,v){var b=A.getGraphicEl(),S=i(A,g);v!=null&&(S==null&&(S=1),S*=v),b.downplay&&b.downplay(),b.traverse(function(y){if(!y.isGroup){var w=y.lineLabelOriginalOpacity;(w==null||v!=null)&&(w=S),y.setStyle("opacity",w)}})}function f(A,g){var v=i(A,g),b=A.getGraphicEl();b.traverse(function(S){!S.isGroup&&S.setStyle("opacity",v)}),b.highlight&&b.highlight()}var m=O.extendChartView({type:"graph",init:function(A,g){var v=new I,b=new E,S=this.group;this._controller=new C(g.getZr()),this._controllerHost={target:S},S.add(v.group),S.add(b.group),this._symbolDraw=v,this._lineDraw=b,this._firstRender=!0},render:function(A,g,v){var b=this,S=A.coordinateSystem;this._model=A;var y=this._symbolDraw,w=this._lineDraw,x=this.group;if(S.type==="view"){var T={position:S.position,scale:S.scale};this._firstRender?x.attr(T):o.updateProps(x,T,A)}r(A.getGraph(),l(A));var L=A.getData();y.updateData(L);var R=A.getEdgeData();w.updateData(R),this._updateNodeAndLinkScale(),this._updateController(A,g,v),clearTimeout(this._layoutTimeout);var P=A.forceLayout,k=A.get("force.layoutAnimation");P&&this._startForceLayoutIteration(P,k),L.eachItemGraphicEl(function(B,j){var H=L.getItemModel(j);B.off("drag").off("dragend");var K=H.get("draggable");K&&B.on("drag",function(){P&&(P.warmUp(),!this._layouting&&this._startForceLayoutIteration(P,k),P.setFixed(j),L.setItemLayout(j,B.position))},this).on("dragend",function(){P&&P.setUnfixed(j)},this),B.setDraggable(K&&P),B[n]&&B.off("mouseover",B[n]),B[c]&&B.off("mouseout",B[c]),H.get("focusNodeAdjacency")&&(B.on("mouseover",B[n]=function(){b._clearTimer(),v.dispatchAction({type:"focusNodeAdjacency",seriesId:A.id,dataIndex:B.dataIndex})}),B.on("mouseout",B[c]=function(){b._dispatchUnfocus(v)}))},this),L.graph.eachEdge(function(B){var j=B.getGraphicEl();j[n]&&j.off("mouseover",j[n]),j[c]&&j.off("mouseout",j[c]),B.getModel().get("focusNodeAdjacency")&&(j.on("mouseover",j[n]=function(){b._clearTimer(),v.dispatchAction({type:"focusNodeAdjacency",seriesId:A.id,edgeDataIndex:B.dataIndex})}),j.on("mouseout",j[c]=function(){b._dispatchUnfocus(v)}))});var U=A.get("layout")==="circular"&&A.get("circular.rotateLabel"),D=L.getLayout("cx"),M=L.getLayout("cy");L.eachItemGraphicEl(function(B,j){var H=L.getItemModel(j),K=H.get("label.rotate")||0,W=B.getSymbolPath();if(U){var X=L.getItemLayout(j),V=Math.atan2(X[1]-M,X[0]-D);V<0&&(V=Math.PI*2+V);var Z=X[0]<D;Z&&(V=V-Math.PI);var G=Z?"left":"right";o.modifyLabelStyle(W,{textRotation:-V,textPosition:G,textOrigin:"center"},{textPosition:G})}else o.modifyLabelStyle(W,{textRotation:K*=Math.PI/180})}),this._firstRender=!1},dispose:function(){this._controller&&this._controller.dispose(),this._controllerHost={},this._clearTimer()},_dispatchUnfocus:function(A,g){var v=this;this._clearTimer(),this._unfocusDelayTimer=setTimeout(function(){v._unfocusDelayTimer=null,A.dispatchAction({type:"unfocusNodeAdjacency",seriesId:v._model.id})},500)},_clearTimer:function(){this._unfocusDelayTimer&&(clearTimeout(this._unfocusDelayTimer),this._unfocusDelayTimer=null)},focusNodeAdjacency:function(A,g,v,b){var S=A.getData(),y=S.graph,w=b.dataIndex,x=b.edgeDataIndex,T=y.getNodeByIndex(w),L=y.getEdgeByIndex(x);if(!T&&!L)return;y.eachNode(function(R){u(R,e,.1)}),y.eachEdge(function(R){u(R,a,.1)}),T&&(f(T,e),_.each(T.edges,function(R){if(R.dataIndex<0)return;f(R,a),f(R.node1,e),f(R.node2,e)})),L&&(f(L,a),f(L.node1,e),f(L.node2,e))},unfocusNodeAdjacency:function(A,g,v,b){var S=A.getData().graph;S.eachNode(function(y){u(y,e)}),S.eachEdge(function(y){u(y,a)})},_startForceLayoutIteration:function(A,g){var v=this;(function b(){A.step(function(S){v.updateLayout(v._model),(v._layouting=!S)&&(g?v._layoutTimeout=setTimeout(b,16):b())})})()},_updateController:function(A,g,v){var b=this._controller,S=this._controllerHost,y=this.group;if(b.setPointerChecker(function(w,x,T){var L=y.getBoundingRect();return L.applyTransform(y.transform),L.contain(x,T)&&!h(w,v,A)}),A.coordinateSystem.type!=="view"){b.disable();return}b.enable(A.get("roam")),S.zoomLimit=A.get("scaleLimit"),S.zoom=A.coordinateSystem.getZoom(),b.off("pan").off("zoom").on("pan",function(w){t.updateViewOnPan(S,w.dx,w.dy),v.dispatchAction({seriesId:A.id,type:"graphRoam",dx:w.dx,dy:w.dy})}).on("zoom",function(w){t.updateViewOnZoom(S,w.scale,w.originX,w.originY),v.dispatchAction({seriesId:A.id,type:"graphRoam",zoom:w.scale,originX:w.originX,originY:w.originY}),this._updateNodeAndLinkScale(),r(A.getGraph(),l(A)),this._lineDraw.updateLayout()},this)},_updateNodeAndLinkScale:function(){var A=this._model,g=A.getData(),v=l(A),b=[v,v];g.eachItemGraphicEl(function(S,y){S.attr("scale",b)})},updateLayout:function(A){r(A.getGraph(),l(A)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},remove:function(A,g){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()}});ue.exports=m},m9t5:function(ue,z,d){var O=d("KCsZ"),_=O([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),I={getAreaStyle:function(E,C){return _(this,E,C)}};ue.exports=I},mFDi:function(ue,z,d){var O=d("QBsz"),_=d("Fofx"),I=O.applyTransform,E=Math.min,C=Math.max;function t(h,o,r,s){r<0&&(h=h+r,r=-r),s<0&&(o=o+s,s=-s),this.x=h,this.y=o,this.width=r,this.height=s}t.prototype={constructor:t,union:function(o){var r=E(o.x,this.x),s=E(o.y,this.y);this.width=C(o.x+o.width,this.x+this.width)-r,this.height=C(o.y+o.height,this.y+this.height)-s,this.x=r,this.y=s},applyTransform:function(){var h=[],o=[],r=[],s=[];return function(l){if(!l)return;h[0]=r[0]=this.x,h[1]=s[1]=this.y,o[0]=s[0]=this.x+this.width,o[1]=r[1]=this.y+this.height,I(h,h,l),I(o,o,l),I(r,r,l),I(s,s,l),this.x=E(h[0],o[0],r[0],s[0]),this.y=E(h[1],o[1],r[1],s[1]);var n=C(h[0],o[0],r[0],s[0]),c=C(h[1],o[1],r[1],s[1]);this.width=n-this.x,this.height=c-this.y}}(),calculateTransform:function(o){var r=this,s=o.width/r.width,l=o.height/r.height,n=_.create();return _.translate(n,n,[-r.x,-r.y]),_.scale(n,n,[s,l]),_.translate(n,n,[o.x,o.y]),n},intersect:function(o){if(!o)return!1;o instanceof t||(o=t.create(o));var r=this,s=r.x,l=r.x+r.width,n=r.y,c=r.y+r.height,e=o.x,a=o.x+o.width,i=o.y,u=o.y+o.height;return!(l<e||a<s||c<i||u<n)},contain:function(o,r){var s=this;return o>=s.x&&o<=s.x+s.width&&r>=s.y&&r<=s.y+s.height},clone:function(){return new t(this.x,this.y,this.width,this.height)},copy:function(o){this.x=o.x,this.y=o.y,this.width=o.width,this.height=o.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},t.create=function(h){return new t(h.x,h.y,h.width,h.height)};var p=t;ue.exports=p},mHUz:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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};z.default=O},mLcG:function(ue,z){var d=typeof window!="undefined"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(O){setTimeout(O,16)};ue.exports=d},"mO/d":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("I9Y+"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},mOdp:function(ue,z,d){var O=d("bYtY"),_=O.createHashMap;function I(E){return{getTargetSeries:function(C){var t={},p=_();return C.eachSeriesByType(E,function(h){h.__paletteScope=t,p.set(h.uid,h)}),p},reset:function(C,t){var p=C.getRawData(),h={},o=C.getData();o.each(function(r){var s=o.getRawIndex(r);h[s]=r}),p.each(function(r){var s=h[r],l=s!=null&&o.getItemVisual(s,"color",!0),n=s!=null&&o.getItemVisual(s,"borderColor",!0),c;if((!l||!n)&&(c=p.getItemModel(r)),!l){var e=c.get("itemStyle.color")||C.getColorFromPalette(p.getName(r)||r+"",C.__paletteScope,p.count());s!=null&&o.setItemVisual(s,"color",e)}if(!n){var a=c.get("itemStyle.borderColor");s!=null&&o.setItemVisual(s,"borderColor",a)}})}}}ue.exports=I},mTgk:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("mHUz"));function _(h){return h&&h.__esModule?h:{default:h}}var I={};function E(h,o){if(o===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in I)throw new Error('Duplicate entry for key "'+h+'"');I[h]=[o,o,o,o]}function C(h,o,r){if(o===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in I)throw new Error('Duplicate entry for key "'+h+'"');I[h]=[o,o,r,o]}function t(h,o,r){if(o===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(r===void 0)throw new Error('Undefined keysym for key "'+h+'"');if(h in I)throw new Error('Duplicate entry for key "'+h+'"');I[h]=[o,o,o,r]}C("Alt",O.default.XK_Alt_L,O.default.XK_Alt_R),E("AltGraph",O.default.XK_ISO_Level3_Shift),E("CapsLock",O.default.XK_Caps_Lock),C("Control",O.default.XK_Control_L,O.default.XK_Control_R),C("Meta",O.default.XK_Super_L,O.default.XK_Super_R),E("NumLock",O.default.XK_Num_Lock),E("ScrollLock",O.default.XK_Scroll_Lock),C("Shift",O.default.XK_Shift_L,O.default.XK_Shift_R),t("Enter",O.default.XK_Return,O.default.XK_KP_Enter),E("Tab",O.default.XK_Tab),t(" ",O.default.XK_space,O.default.XK_KP_Space),t("ArrowDown",O.default.XK_Down,O.default.XK_KP_Down),t("ArrowUp",O.default.XK_Up,O.default.XK_KP_Up),t("ArrowLeft",O.default.XK_Left,O.default.XK_KP_Left),t("ArrowRight",O.default.XK_Right,O.default.XK_KP_Right),t("End",O.default.XK_End,O.default.XK_KP_End),t("Home",O.default.XK_Home,O.default.XK_KP_Home),t("PageDown",O.default.XK_Next,O.default.XK_KP_Next),t("PageUp",O.default.XK_Prior,O.default.XK_KP_Prior),E("Backspace",O.default.XK_BackSpace),t("Clear",O.default.XK_Clear,O.default.XK_KP_Begin),E("Copy",O.default.XF86XK_Copy),E("Cut",O.default.XF86XK_Cut),t("Delete",O.default.XK_Delete,O.default.XK_KP_Delete),t("Insert",O.default.XK_Insert,O.default.XK_KP_Insert),E("Paste",O.default.XF86XK_Paste),E("Redo",O.default.XK_Redo),E("Undo",O.default.XK_Undo),E("Cancel",O.default.XK_Cancel),E("ContextMenu",O.default.XK_Menu),E("Escape",O.default.XK_Escape),E("Execute",O.default.XK_Execute),E("Find",O.default.XK_Find),E("Help",O.default.XK_Help),E("Pause",O.default.XK_Pause),E("Select",O.default.XK_Select),E("ZoomIn",O.default.XF86XK_ZoomIn),E("ZoomOut",O.default.XF86XK_ZoomOut),E("BrightnessDown",O.default.XF86XK_MonBrightnessDown),E("BrightnessUp",O.default.XF86XK_MonBrightnessUp),E("Eject",O.default.XF86XK_Eject),E("LogOff",O.default.XF86XK_LogOff),E("Power",O.default.XF86XK_PowerOff),E("PowerOff",O.default.XF86XK_PowerDown),E("PrintScreen",O.default.XK_Print),E("Hibernate",O.default.XF86XK_Hibernate),E("Standby",O.default.XF86XK_Standby),E("WakeUp",O.default.XF86XK_WakeUp),E("AllCandidates",O.default.XK_MultipleCandidate),E("Alphanumeric",O.default.XK_Eisu_Shift),E("CodeInput",O.default.XK_Codeinput),E("Compose",O.default.XK_Multi_key),E("Convert",O.default.XK_Henkan),E("GroupFirst",O.default.XK_ISO_First_Group),E("GroupLast",O.default.XK_ISO_Last_Group),E("GroupNext",O.default.XK_ISO_Next_Group),E("GroupPrevious",O.default.XK_ISO_Prev_Group),E("NonConvert",O.default.XK_Muhenkan),E("PreviousCandidate",O.default.XK_PreviousCandidate),E("SingleCandidate",O.default.XK_SingleCandidate),E("HangulMode",O.default.XK_Hangul),E("HanjaMode",O.default.XK_Hangul_Hanja),E("JunjuaMode",O.default.XK_Hangul_Jeonja),E("Eisu",O.default.XK_Eisu_toggle),E("Hankaku",O.default.XK_Hankaku),E("Hiragana",O.default.XK_Hiragana),E("HiraganaKatakana",O.default.XK_Hiragana_Katakana),E("KanaMode",O.default.XK_Kana_Shift),E("KanjiMode",O.default.XK_Kanji),E("Katakana",O.default.XK_Katakana),E("Romaji",O.default.XK_Romaji),E("Zenkaku",O.default.XK_Zenkaku),E("ZenkakuHanaku",O.default.XK_Zenkaku_Hankaku),E("F1",O.default.XK_F1),E("F2",O.default.XK_F2),E("F3",O.default.XK_F3),E("F4",O.default.XK_F4),E("F5",O.default.XK_F5),E("F6",O.default.XK_F6),E("F7",O.default.XK_F7),E("F8",O.default.XK_F8),E("F9",O.default.XK_F9),E("F10",O.default.XK_F10),E("F11",O.default.XK_F11),E("F12",O.default.XK_F12),E("F13",O.default.XK_F13),E("F14",O.default.XK_F14),E("F15",O.default.XK_F15),E("F16",O.default.XK_F16),E("F17",O.default.XK_F17),E("F18",O.default.XK_F18),E("F19",O.default.XK_F19),E("F20",O.default.XK_F20),E("F21",O.default.XK_F21),E("F22",O.default.XK_F22),E("F23",O.default.XK_F23),E("F24",O.default.XK_F24),E("F25",O.default.XK_F25),E("F26",O.default.XK_F26),E("F27",O.default.XK_F27),E("F28",O.default.XK_F28),E("F29",O.default.XK_F29),E("F30",O.default.XK_F30),E("F31",O.default.XK_F31),E("F32",O.default.XK_F32),E("F33",O.default.XK_F33),E("F34",O.default.XK_F34),E("F35",O.default.XK_F35),E("Close",O.default.XF86XK_Close),E("MailForward",O.default.XF86XK_MailForward),E("MailReply",O.default.XF86XK_Reply),E("MailSend",O.default.XF86XK_Send),E("MediaFastForward",O.default.XF86XK_AudioForward),E("MediaPause",O.default.XF86XK_AudioPause),E("MediaPlay",O.default.XF86XK_AudioPlay),E("MediaRecord",O.default.XF86XK_AudioRecord),E("MediaRewind",O.default.XF86XK_AudioRewind),E("MediaStop",O.default.XF86XK_AudioStop),E("MediaTrackNext",O.default.XF86XK_AudioNext),E("MediaTrackPrevious",O.default.XF86XK_AudioPrev),E("New",O.default.XF86XK_New),E("Open",O.default.XF86XK_Open),E("Print",O.default.XK_Print),E("Save",O.default.XF86XK_Save),E("SpellCheck",O.default.XF86XK_Spell),E("AudioVolumeDown",O.default.XF86XK_AudioLowerVolume),E("AudioVolumeUp",O.default.XF86XK_AudioRaiseVolume),E("AudioVolumeMute",O.default.XF86XK_AudioMute),E("MicrophoneVolumeMute",O.default.XF86XK_AudioMicMute),E("LaunchApplication1",O.default.XF86XK_MyComputer),E("LaunchApplication2",O.default.XF86XK_Calculator),E("LaunchCalendar",O.default.XF86XK_Calendar),E("LaunchMail",O.default.XF86XK_Mail),E("LaunchMediaPlayer",O.default.XF86XK_AudioMedia),E("LaunchMusicPlayer",O.default.XF86XK_Music),E("LaunchPhone",O.default.XF86XK_Phone),E("LaunchScreenSaver",O.default.XF86XK_ScreenSaver),E("LaunchSpreadsheet",O.default.XF86XK_Excel),E("LaunchWebBrowser",O.default.XF86XK_WWW),E("LaunchWebCam",O.default.XF86XK_WebCam),E("LaunchWordProcessor",O.default.XF86XK_Word),E("BrowserBack",O.default.XF86XK_Back),E("BrowserFavorites",O.default.XF86XK_Favorites),E("BrowserForward",O.default.XF86XK_Forward),E("BrowserHome",O.default.XF86XK_HomePage),E("BrowserRefresh",O.default.XF86XK_Refresh),E("BrowserSearch",O.default.XF86XK_Search),E("BrowserStop",O.default.XF86XK_Stop),E("Dimmer",O.default.XF86XK_BrightnessAdjust),E("MediaAudioTrack",O.default.XF86XK_AudioCycleTrack),E("RandomToggle",O.default.XF86XK_AudioRandomPlay),E("SplitScreenToggle",O.default.XF86XK_SplitScreen),E("Subtitle",O.default.XF86XK_Subtitle),E("VideoModeNext",O.default.XF86XK_Next_VMode),t("=",O.default.XK_equal,O.default.XK_KP_Equal),t("+",O.default.XK_plus,O.default.XK_KP_Add),t("-",O.default.XK_minus,O.default.XK_KP_Subtract),t("*",O.default.XK_asterisk,O.default.XK_KP_Multiply),t("/",O.default.XK_slash,O.default.XK_KP_Divide),t(".",O.default.XK_period,O.default.XK_KP_Decimal),t(",",O.default.XK_comma,O.default.XK_KP_Separator),t("0",O.default.XK_0,O.default.XK_KP_0),t("1",O.default.XK_1,O.default.XK_KP_1),t("2",O.default.XK_2,O.default.XK_KP_2),t("3",O.default.XK_3,O.default.XK_KP_3),t("4",O.default.XK_4,O.default.XK_KP_4),t("5",O.default.XK_5,O.default.XK_KP_5),t("6",O.default.XK_6,O.default.XK_KP_6),t("7",O.default.XK_7,O.default.XK_KP_7),t("8",O.default.XK_8,O.default.XK_KP_8),t("9",O.default.XK_9,O.default.XK_KP_9);var p=I;z.default=p},mYwL:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("6GrX"),E=Math.PI;function C(t,p){p=p||{},O.defaults(p,{text:"loading",textColor:"#000",fontSize:"12px",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#c23531",spinnerRadius:10,lineWidth:5,zlevel:0});var h=new _.Group,o=new _.Rect({style:{fill:p.maskColor},zlevel:p.zlevel,z:1e4});h.add(o);var r=p.fontSize+" sans-serif",s=new _.Rect({style:{fill:"none",text:p.text,font:r,textPosition:"right",textDistance:10,textFill:p.textColor},zlevel:p.zlevel,z:10001});if(h.add(s),p.showSpinner){var l=new _.Arc({shape:{startAngle:-E/2,endAngle:-E/2+.1,r:p.spinnerRadius},style:{stroke:p.color,lineCap:"round",lineWidth:p.lineWidth},zlevel:p.zlevel,z:10001});l.animateShape(!0).when(1e3,{endAngle:E*3/2}).start("circularInOut"),l.animateShape(!0).when(1e3,{startAngle:E*3/2}).delay(300).start("circularInOut"),h.add(l)}return h.resize=function(){var n=I.getWidth(p.text,r),c=p.showSpinner?p.spinnerRadius:0,e=(t.getWidth()-c*2-(p.showSpinner&&n?10:0)-n)/2-(p.showSpinner?0:n/2),a=t.getHeight()/2;p.showSpinner&&l.setShape({cx:e,cy:a}),s.setShape({x:e-c,y:a-c,width:c*2,height:c*2}),o.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},h.resize(),h}ue.exports=C},mdZa:function(ue,z,d){"use strict";typeof Object.assign!="function"&&Object.defineProperty(Object,"assign",{value:function(_,I){"use strict";if(_==null)throw new TypeError("Cannot convert undefined or null to object");for(var E=Object(_),C=1;C<arguments.length;C++){var t=arguments[C];if(t!=null)for(var p in t)Object.prototype.hasOwnProperty.call(t,p)&&(E[p]=t[p])}return E},writable:!0,configurable:!0}),function(){function O(_,I){I=I||{bubbles:!1,cancelable:!1,detail:void 0};var E=document.createEvent("CustomEvent");return E.initCustomEvent(_,I.bubbles,I.cancelable,I.detail),E}O.prototype=window.Event.prototype,typeof window.CustomEvent!="function"&&(window.CustomEvent=O)}(),Number.isInteger=Number.isInteger||function(_){return typeof _=="number"&&isFinite(_)&&Math.floor(_)===_}},"mh/l":function(ue,z,d){"use strict";d.d(z,"b",function(){return g}),d.d(z,"d",function(){return v}),d.d(z,"c",function(){return b});var O=d("pVnL"),_=d.n(O),I=d("lwsE"),E=d.n(I),C=d("W8MJ"),t=d.n(C),p=d("7W2i"),h=d.n(p),o=d("LQ03"),r=d.n(o),s=d("lSNA"),l=d.n(s),n=d("q1tI"),c=d.n(n),e=d("TSYQ"),a=d.n(e),i=d("BGR+"),u=d("LlR5"),f=d("H84U"),m=d("3Nzz"),A=d("uaoM");function g(y){return typeof y=="undefined"||y===null?"":y}function v(y,w,x){if(x){var T=w;if(w.type==="click"){T=Object.create(w),T.target=y,T.currentTarget=y;var L=y.value;y.value="",x(T),y.value=L;return}x(T)}}function b(y,w,x,T,L){var R;return a()(y,(R={},l()(R,"".concat(y,"-sm"),x==="small"),l()(R,"".concat(y,"-lg"),x==="large"),l()(R,"".concat(y,"-disabled"),T),l()(R,"".concat(y,"-rtl"),L==="rtl"),l()(R,"".concat(y,"-borderless"),!w),R))}var S=function(y){h()(x,y);var w=r()(x);function x(T){var L;E()(this,x),L=w.call(this,T),L.direction="ltr",L.focus=function(){L.input.focus()},L.saveClearableInput=function(P){L.clearableInput=P},L.saveInput=function(P){L.input=P},L.onFocus=function(P){var k=L.props.onFocus;L.setState({focused:!0},L.clearPasswordValueAttribute),k&&k(P)},L.onBlur=function(P){var k=L.props.onBlur;L.setState({focused:!1},L.clearPasswordValueAttribute),k&&k(P)},L.handleReset=function(P){L.setValue("",function(){L.focus()}),v(L.input,P,L.props.onChange)},L.renderInput=function(P,k,U){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},M=L.props,B=M.className,j=M.addonBefore,H=M.addonAfter,K=M.size,W=M.disabled,X=Object(i.default)(L.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered"]);return n.createElement("input",_()({autoComplete:D.autoComplete},X,{onChange:L.handleChange,onFocus:L.onFocus,onBlur:L.onBlur,onKeyDown:L.handleKeyDown,className:a()(b(P,U,K||k,W,L.direction),l()({},B,B&&!j&&!H)),ref:L.saveInput}))},L.clearPasswordValueAttribute=function(){L.removePasswordTimeout=setTimeout(function(){L.input&&L.input.getAttribute("type")==="password"&&L.input.hasAttribute("value")&&L.input.removeAttribute("value")})},L.handleChange=function(P){L.setValue(P.target.value,L.clearPasswordValueAttribute),v(L.input,P,L.props.onChange)},L.handleKeyDown=function(P){var k=L.props,U=k.onPressEnter,D=k.onKeyDown;P.keyCode===13&&U&&U(P),D&&D(P)},L.renderComponent=function(P){var k=P.getPrefixCls,U=P.direction,D=P.input,M=L.state,B=M.value,j=M.focused,H=L.props,K=H.prefixCls,W=H.bordered,X=W===void 0?!0:W,V=k("input",K);return L.direction=U,n.createElement(m.b.Consumer,null,function(Z){return n.createElement(u.a,_()({size:Z},L.props,{prefixCls:V,inputType:"input",value:g(B),element:L.renderInput(V,Z,X,D),handleReset:L.handleReset,ref:L.saveClearableInput,direction:U,focused:j,triggerFocus:L.focus,bordered:X}))})};var R=typeof T.value=="undefined"?T.defaultValue:T.value;return L.state={value:R,focused:!1,prevValue:T.value},L}return t()(x,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(L){return Object(u.b)(L)!==Object(u.b)(this.props)&&Object(A.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(L,R){this.props.value===void 0&&this.setState({value:L},R)}},{key:"render",value:function(){return n.createElement(f.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(L,R){var P=R.prevValue,k={prevValue:L.value};return(L.value!==void 0||P!==L.value)&&(k.value=L.value),k}}]),x}(n.Component);S.defaultProps={type:"text"},z.a=S},mmNF:function(ue,z){var d={utf8:{stringToBytes:function(_){return d.bin.stringToBytes(unescape(encodeURIComponent(_)))},bytesToString:function(_){return decodeURIComponent(escape(d.bin.bytesToString(_)))}},bin:{stringToBytes:function(_){for(var I=[],E=0;E<_.length;E++)I.push(_.charCodeAt(E)&255);return I},bytesToString:function(_){for(var I=[],E=0;E<_.length;E++)I.push(String.fromCharCode(_[E]));return I.join("")}}};ue.exports=d},mr32:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("J4zp"),t=d.n(C),p=d("q1tI"),h=d("TSYQ"),o=d.n(h),r=d("BGR+"),s=d("V/uB"),l=d.n(s),n=d("H84U"),c=function(S,y){var w={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&y.indexOf(x)<0&&(w[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,x=Object.getOwnPropertySymbols(S);T<x.length;T++)y.indexOf(x[T])<0&&Object.prototype.propertyIsEnumerable.call(S,x[T])&&(w[x[T]]=S[x[T]]);return w},e=function(y){var w,x=p.useContext(n.b),T=x.getPrefixCls,L=function(j){var H=y.checked,K=y.onChange,W=y.onClick;K&&K(!H),W&&W(j)},R=y.prefixCls,P=y.className,k=y.checked,U=c(y,["prefixCls","className","checked"]),D=T("tag",R),M=o()(D,(w={},_()(w,"".concat(D,"-checkable"),!0),_()(w,"".concat(D,"-checkable-checked"),k),w),P);return delete U.onChange,p.createElement("span",E()({},U,{className:M,onClick:L}))},a=e,i=d("09Wf"),u=d("g0mS"),f=function(S,y){var w={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&y.indexOf(x)<0&&(w[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,x=Object.getOwnPropertySymbols(S);T<x.length;T++)y.indexOf(x[T])<0&&Object.prototype.propertyIsEnumerable.call(S,x[T])&&(w[x[T]]=S[x[T]]);return w},m=new RegExp("^(".concat(i.a.join("|"),")(-inverse)?$")),A=new RegExp("^(".concat(i.b.join("|"),")$")),g=function(y,w){var x,T=y.prefixCls,L=y.className,R=y.style,P=y.children,k=y.icon,U=y.color,D=y.onClose,M=y.closeIcon,B=y.closable,j=B===void 0?!1:B,H=f(y,["prefixCls","className","style","children","icon","color","onClose","closeIcon","closable"]),K=p.useContext(n.b),W=K.getPrefixCls,X=K.direction,V=p.useState(!0),Z=t()(V,2),G=Z[0],Y=Z[1];p.useEffect(function(){"visible"in H&&Y(H.visible)},[H.visible]);var te=function(){return U?m.test(U)||A.test(U):!1},se=E()({backgroundColor:U&&!te()?U:void 0},R),Ce=te(),he=W("tag",T),xe=o()(he,(x={},_()(x,"".concat(he,"-").concat(U),Ce),_()(x,"".concat(he,"-has-color"),U&&!Ce),_()(x,"".concat(he,"-hidden"),!G),_()(x,"".concat(he,"-rtl"),X==="rtl"),x),L),ie=function(je){if(je.stopPropagation(),D&&D(je),je.defaultPrevented)return;"visible"in H||Y(!1)},ee=function(){return j?M?p.createElement("div",{className:"".concat(he,"-close-icon"),onClick:ie},M):p.createElement(l.a,{className:"".concat(he,"-close-icon"),onClick:ie}):null},Ze="onClick"in H||P&&P.type==="a",Se=Object(r.default)(H,["visible"]),Ne=k||null,it=Ne?p.createElement(p.Fragment,null,Ne,p.createElement("span",null,P)):P,Ye=p.createElement("span",E()({},Se,{ref:w,className:xe,style:se}),it,ee());return Ze?p.createElement(u.a,null,Ye):Ye},v=p.forwardRef(g);v.displayName="Tag",v.CheckableTag=a;var b=z.a=v},mxV5:function(ue,z,d){(function(O){var _,_;(function(I){if(!0)ue.exports=I();else var E})(function(){var I,E,C;return function(){function t(p,h,o){function r(n,c){if(!h[n]){if(!p[n]){var e=typeof _=="function"&&_;if(!c&&e)return _(n,!0);if(s)return s(n,!0);var a=new Error("Cannot find module '"+n+"'");throw a.code="MODULE_NOT_FOUND",a}var i=h[n]={exports:{}};p[n][0].call(i.exports,function(u){var f=p[n][1][u];return r(f||u)},i,i.exports,t,p,h,o)}return h[n].exports}for(var s=typeof _=="function"&&_,l=0;l<o.length;l++)r(o[l]);return r}return t}()({1:[function(t,p,h){"use strict";var o=t("./browser/client");o.Buffer=t("buffer").Buffer,o.urllib=t("../shims/xhr"),o.version=t("./browser/version").version,p.exports=o},{"../shims/xhr":407,"./browser/client":3,"./browser/version":6,buffer:85}],2:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator"));t("core-js/modules/es.object.to-string.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.slice.js");var l=t("assert"),n=t("../common/utils/checkBucketName"),c=n.checkBucketName,e=h;function a(u){return Array.isArray?Array.isArray(u):Object.prototype.toString.call(u)==="[object Array]"}function i(u){return u?a(u)?u:[u]:[]}e.useBucket=function(f){return c(f),this.options.bucket=f,this},e.setBucket=function(f){return c(f),this.options.bucket=f,this},e.getBucket=function(){return this.options.bucket},e.deleteBucket=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b;return r.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return v=this._bucketRequestParams("DELETE",A,"",g),y.next=3,this.request(v);case 3:if(b=y.sent,!(b.status===200||b.status===204)){y.next=6;break}return y.abrupt("return",{res:b.res});case 6:return y.next=8,this.requestError(b);case 8:throw y.sent;case 9:case"end":return y.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.putBucketACL=function(){var u=(0,s.default)(r.default.mark(function m(A,g,v){var b,S;return r.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return b=this._bucketRequestParams("PUT",A,"acl",v),b.headers={"x-oss-acl":g},b.successStatuses=[200],w.next=5,this.request(b);case 5:return S=w.sent,w.abrupt("return",{bucket:S.headers.location&&S.headers.location.substring(1)||null,res:S.res});case 7:case"end":return w.stop()}},m,this)}));function f(m,A,g){return u.apply(this,arguments)}return f}(),e.getBucketACL=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b;return r.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return v=this._bucketRequestParams("GET",A,"acl",g),v.successStatuses=[200],v.xmlResponse=!0,y.next=5,this.request(v);case 5:return b=y.sent,y.abrupt("return",{acl:b.data.AccessControlList.Grant,owner:{id:b.data.Owner.ID,displayName:b.data.Owner.DisplayName},res:b.res});case 7:case"end":return y.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.putBucketLogging=function(){var u=(0,s.default)(r.default.mark(function m(A,g,v){var b,S,y;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return b=this._bucketRequestParams("PUT",A,"logging",v),S="".concat(`<?xml version="1.0" encoding="UTF-8"?>
<BucketLoggingStatus>
<LoggingEnabled>
<TargetBucket>`).concat(A,`</TargetBucket>
`),g&&(S+="<TargetPrefix>".concat(g,`</TargetPrefix>
`)),S+=`</LoggingEnabled>
</BucketLoggingStatus>`,b.content=S,b.mime="xml",b.successStatuses=[200],x.next=9,this.request(b);case 9:return y=x.sent,x.abrupt("return",{res:y.res});case 11:case"end":return x.stop()}},m,this)}));function f(m,A,g){return u.apply(this,arguments)}return f}(),e.getBucketLogging=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b,S;return r.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return v=this._bucketRequestParams("GET",A,"logging",g),v.successStatuses=[200],v.xmlResponse=!0,w.next=5,this.request(v);case 5:return b=w.sent,S=b.data.LoggingEnabled,w.abrupt("return",{enable:!!S,prefix:S&&S.TargetPrefix||null,res:b.res});case 8:case"end":return w.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.deleteBucketLogging=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b;return r.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return v=this._bucketRequestParams("DELETE",A,"logging",g),v.successStatuses=[204,200],y.next=4,this.request(v);case 4:return b=y.sent,y.abrupt("return",{res:b.res});case 6:case"end":return y.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.putBucketCORS=function(){var u=(0,s.default)(r.default.mark(function m(A,g,v){var b,S,y,w,x,T,L,R,P,k;return r.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:for(g=g||[],l(g.length,"rules is required"),g.forEach(function(M){l(M.allowedOrigin,"allowedOrigin is required"),l(M.allowedMethod,"allowedMethod is required")}),b=this._bucketRequestParams("PUT",A,"cors",v),S=`<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration>`,y=function(B){S+="<AllowedOrigin>".concat(B,"</AllowedOrigin>")},w=function(B){S+="<AllowedMethod>".concat(B,"</AllowedMethod>")},x=function(B){S+="<AllowedHeader>".concat(B,"</AllowedHeader>")},T=function(B){S+="<ExposeHeader>".concat(B,"</ExposeHeader>")},L=0,R=g.length;L<R;L++)P=g[L],S+="<CORSRule>",i(P.allowedOrigin).forEach(y),i(P.allowedMethod).forEach(w),i(P.allowedHeader).forEach(x),i(P.exposeHeader).forEach(T),P.maxAgeSeconds&&(S+="<MaxAgeSeconds>".concat(P.maxAgeSeconds,"</MaxAgeSeconds>")),S+="</CORSRule>";return S+="</CORSConfiguration>",b.content=S,b.mime="xml",b.successStatuses=[200],D.next=16,this.request(b);case 16:return k=D.sent,D.abrupt("return",{res:k.res});case 18:case"end":return D.stop()}},m,this)}));function f(m,A,g){return u.apply(this,arguments)}return f}(),e.getBucketCORS=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b,S,y;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return v=this._bucketRequestParams("GET",A,"cors",g),v.successStatuses=[200],v.xmlResponse=!0,x.next=5,this.request(v);case 5:return b=x.sent,S=[],b.data&&b.data.CORSRule&&(y=b.data.CORSRule,a(y)||(y=[y]),y.forEach(function(T){var L={};Object.keys(T).forEach(function(R){L[R.slice(0,1).toLowerCase()+R.slice(1,R.length)]=T[R]}),S.push(L)})),x.abrupt("return",{rules:S,res:b.res});case 9:case"end":return x.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.deleteBucketCORS=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b;return r.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return v=this._bucketRequestParams("DELETE",A,"cors",g),v.successStatuses=[204],y.next=4,this.request(v);case 4:return b=y.sent,y.abrupt("return",{res:b.res});case 6:case"end":return y.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.putBucketReferer=function(){var u=(0,s.default)(r.default.mark(function m(A,g,v,b){var S,y,w,x;return r.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(S=this._bucketRequestParams("PUT",A,"referer",b),y=`<?xml version="1.0" encoding="UTF-8"?>
<RefererConfiguration>
`,y+=" <AllowEmptyReferer>".concat(g?"true":"false",`</AllowEmptyReferer>
`),v&&v.length>0){for(y+=` <RefererList>
`,w=0;w<v.length;w++)y+=" <Referer>".concat(v[w],`</Referer>
`);y+=` </RefererList>
`}else y+=` <RefererList />
`;return y+="</RefererConfiguration>",S.content=y,S.mime="xml",S.successStatuses=[200],L.next=10,this.request(S);case 10:return x=L.sent,L.abrupt("return",{res:x.res});case 12:case"end":return L.stop()}},m,this)}));function f(m,A,g,v){return u.apply(this,arguments)}return f}(),e.getBucketReferer=function(){var u=(0,s.default)(r.default.mark(function m(A,g){var v,b,S;return r.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return v=this._bucketRequestParams("GET",A,"referer",g),v.successStatuses=[200],v.xmlResponse=!0,w.next=5,this.request(v);case 5:return b=w.sent,S=b.data.RefererList.Referer||null,S&&(a(S)||(S=[S])),w.abrupt("return",{allowEmpty:b.data.AllowEmptyReferer==="true",referers:S,res:b.res});case 9:case"end":return w.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e.deleteBucketReferer=function(){var u=(0,s.default)(r.default.mark(function m(A,g){return r.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,this.putBucketReferer(A,!0,null,g);case 2:return b.abrupt("return",b.sent);case 3:case"end":return b.stop()}},m,this)}));function f(m,A){return u.apply(this,arguments)}return f}(),e._bucketRequestParams=function(f,m,A,g){return{method:f,bucket:m,subres:A,timeout:g&&g.timeout,ctx:g&&g.ctx}}},{"../common/utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,assert:78,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/web.dom-collections.for-each.js":296}],3:[function(t,p,h){(function(o,r){(function(){"use strict";var s=t("@babel/runtime/helpers/interopRequireDefault"),l=s(t("@babel/runtime/regenerator")),n=s(t("@babel/runtime/helpers/asyncToGenerator"));t("core-js/modules/es.function.name.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.split.js"),t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.array.includes.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.symbol.js"),t("core-js/modules/es.symbol.description.js"),t("core-js/modules/es.array.slice.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.regexp.to-string.js");var c=t("debug")("ali-oss"),e=t("xml2js"),a=t("agentkeepalive"),i=t("merge-descriptors"),u=t("platform"),f=t("utility"),m=t("urllib"),A=t("./version"),g=t("bowser"),v=t("../common/signUtils"),b=t("../common/client/initOptions"),S=t("../common/utils/createRequest"),y=S.createRequest,w=t("../common/utils/encoder"),x=w.encoder,T=t("../common/client/getReqUrl"),L=T.getReqUrl,R=t("../common/utils/setSTSToken"),P=R.setSTSToken,k=t("../common/utils/retry"),U=k.retry,D=t("../common/utils/isFunction"),M=D.isFunction,B=new a;function j(){var Z=u.name,G=u.version;Z&&Z.toLowerCase&&Z.toLowerCase()==="ie"&&G.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function H(){return location&&location.protocol==="https:"}function K(Z,G){if(j(),!(this instanceof K))return new K(Z,G);Z&&Z.inited?this.options=Z:this.options=K.initOptions(Z),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=m,this.agent=this.options.agent||B),this.ctx=G,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}p.exports=K,K.initOptions=function(G){G.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var Y=Object.assign({secure:H(),useFetch:!1},G);return b(Y)};var W=K.prototype;W.debug=c,i(W,t("./object")),i(W,t("./bucket")),i(W,t("../common/bucket/getBucketWebsite")),i(W,t("../common/bucket/putBucketWebsite")),i(W,t("../common/bucket/deleteBucketWebsite")),i(W,t("../common/bucket/getBucketLifecycle")),i(W,t("../common/bucket/putBucketLifecycle")),i(W,t("../common/bucket/deleteBucketLifecycle")),i(W,t("../common/bucket/putBucketVersioning")),i(W,t("../common/bucket/getBucketVersioning")),i(W,t("../common/bucket/getBucketInventory")),i(W,t("../common/bucket/deleteBucketInventory")),i(W,t("../common/bucket/listBucketInventory")),i(W,t("../common/bucket/putBucketInventory")),i(W,t("../common/bucket/abortBucketWorm")),i(W,t("../common/bucket/completeBucketWorm")),i(W,t("../common/bucket/extendBucketWorm")),i(W,t("../common/bucket/getBucketWorm")),i(W,t("../common/bucket/initiateBucketWorm")),i(W,t("./managed-upload")),i(W,t("../common/multipart-copy")),i(W,t("../common/multipart")),i(W,t("../common/parallel")),W.signature=function(G){return this.debug("authorization stringToSign: %s",G,"info"),v.computeSignature(this.options.accessKeySecret,G,this.options.headerEncoding)},W._getReqUrl=L,W.authorization=function(G,Y,te,se){var Ce=v.buildCanonicalString(G.toUpperCase(),Y,{headers:se,parameters:te});return v.authorization(this.options.accessKeyId,this.options.accessKeySecret,Ce,this.options.headerEncoding)},W.request=function(){var Z=(0,n.default)(l.default.mark(function G(Y){var te=this;return l.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!this.options.retryMax){Ce.next=6;break}return Ce.next=3,U(X.bind(this),this.options.retryMax,{errorHandler:function(xe){var ie=function(Ze){if(Y.stream)return!1;var Se=[-1,-2].includes(Ze.status),Ne=te.options.requestErrorRetryHandle||function(){return!0};return Se&&Ne(Ze)};return!!ie(xe)}})(Y);case 3:return Ce.abrupt("return",Ce.sent);case 6:return Ce.abrupt("return",X.call(this,Y));case 7:case"end":return Ce.stop()}},G,this)}));return function(G){return Z.apply(this,arguments)}}();function X(Z){return V.apply(this,arguments)}function V(){return V=(0,n.default)(l.default.mark(function Z(G){var Y,te,se,Ce,he,xe;return l.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(!(this.options.stsToken&&M(this.options.refreshSTSToken))){ee.next=3;break}return ee.next=3,P.call(this);case 3:return Y=y.call(this,G),this.options.useFetch||(Y.params.mode="disable-fetch"),Ce=!!G.stream,ee.prev=6,ee.next=9,this.urllib.request(Y.url,Y.params);case 9:te=ee.sent,this.debug("response %s %s, got %s, headers: %j",G.method,Y.url,te.status,te.headers,"info"),ee.next=16;break;case 13:ee.prev=13,ee.t0=ee.catch(6),se=ee.t0;case 16:if(!(te&&G.successStatuses&&G.successStatuses.indexOf(te.status)===-1)){ee.next=28;break}return ee.next=19,this.requestError(te);case 19:if(he=ee.sent,!(he.code==="RequestTimeTooSkewed"&&!Ce)){ee.next=25;break}return this.options.amendTimeSkewed=+new Date(he.serverTime)-new Date,ee.next=24,this.request(G);case 24:return ee.abrupt("return",ee.sent);case 25:he.params=G,ee.next=32;break;case 28:if(!se){ee.next=32;break}return ee.next=31,this.requestError(se);case 31:he=ee.sent;case 32:if(!he){ee.next=34;break}throw he;case 34:if(!G.xmlResponse){ee.next=39;break}return ee.next=37,this.parseXML(te.data);case 37:xe=ee.sent,te.data=xe;case 39:return ee.abrupt("return",te);case 40:case"end":return ee.stop()}},Z,this,[[6,13]])})),V.apply(this,arguments)}W._getResource=function(G){var Y="/";return G.bucket&&(Y+="".concat(G.bucket,"/")),G.object&&(Y+=x(G.object,this.options.headerEncoding)),Y},W._escape=function(G){return f.encodeURIComponent(G).replace(/%2F/g,"/")},W._getUserAgent=function(){var G=r&&r.browser?"js":"nodejs",Y="aliyun-sdk-".concat(G,"/").concat(A.version),te=u.description;return!te&&r&&(te="Node.js ".concat(r.version.slice(1)," on ").concat(r.platform," ").concat(r.arch)),this._checkUserAgent("".concat(Y," ").concat(te))},W._checkUserAgent=function(G){var Y=G.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return Y},W.checkBrowserAndVersion=function(G,Y){return g.name===G&&g.version.split(".")[0]===Y},W.parseXML=function(G){return new Promise(function(Y,te){o.isBuffer(G)&&(G=G.toString()),e.parseString(G,{explicitRoot:!1,explicitArray:!1},function(se,Ce){se?te(se):Y(Ce)})})},W.requestError=function(){var Z=(0,n.default)(l.default.mark(function Y(te){var se,Ce,he,xe;return l.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:if(se=null,!(!te.data||!te.data.length)){ee.next=5;break}te.status===-1||te.status===-2?(se=new Error(te.message),se.name=te.name,se.status=te.status,se.code=te.name):(te.status===404?(se=new Error("Object not exists"),se.name="NoSuchKeyError",se.status=404,se.code="NoSuchKey"):te.status===412?(se=new Error("Pre condition failed"),se.name="PreconditionFailedError",se.status=412,se.code="PreconditionFailed"):(se=new Error("Unknow error, status: ".concat(te.status)),se.name="UnknowError",se.status=te.status),se.requestId=te.headers["x-oss-request-id"],se.host=""),ee.next=32;break;case 5:return Ce=String(te.data),this.debug("request response error data: %s",Ce,"error"),ee.prev=7,ee.next=10,this.parseXML(Ce);case 10:if(ee.t0=ee.sent,ee.t0){ee.next=13;break}ee.t0={};case 13:he=ee.t0,ee.next=23;break;case 16:return ee.prev=16,ee.t1=ee.catch(7),this.debug(Ce,"error"),ee.t1.message+=`
raw xml: `.concat(Ce),ee.t1.status=te.status,ee.t1.requestId=te.headers["x-oss-request-id"],ee.abrupt("return",ee.t1);case 23:xe=he.Message||"unknow request error, status: ".concat(te.status),he.Condition&&(xe+=" (condition: ".concat(he.Condition,")")),se=new Error(xe),se.name=he.Code?"".concat(he.Code,"Error"):"UnknowError",se.status=te.status,se.code=he.Code,se.requestId=he.RequestId,se.hostId=he.HostId,se.serverTime=he.ServerTime;case 32:return this.debug("generate error %j",se,"error"),ee.abrupt("return",se);case 34:case"end":return ee.stop()}},Y,this,[[7,16]])}));function G(Y){return Z.apply(this,arguments)}return G}()}).call(this)}).call(this,{isBuffer:t("../../node_modules/is-buffer/index.js")},t("_process"))},{"../../node_modules/is-buffer/index.js":312,"../common/bucket/abortBucketWorm":7,"../common/bucket/completeBucketWorm":8,"../common/bucket/deleteBucketInventory":9,"../common/bucket/deleteBucketLifecycle":10,"../common/bucket/deleteBucketWebsite":11,"../common/bucket/extendBucketWorm":12,"../common/bucket/getBucketInventory":13,"../common/bucket/getBucketLifecycle":14,"../common/bucket/getBucketVersioning":15,"../common/bucket/getBucketWebsite":16,"../common/bucket/getBucketWorm":17,"../common/bucket/initiateBucketWorm":18,"../common/bucket/listBucketInventory":19,"../common/bucket/putBucketInventory":20,"../common/bucket/putBucketLifecycle":21,"../common/bucket/putBucketVersioning":22,"../common/bucket/putBucketWebsite":23,"../common/client/getReqUrl":25,"../common/client/initOptions":26,"../common/multipart":30,"../common/multipart-copy":29,"../common/parallel":48,"../common/signUtils":49,"../common/utils/createRequest":54,"../common/utils/encoder":57,"../common/utils/isFunction":65,"../common/utils/retry":70,"../common/utils/setSTSToken":72,"./bucket":2,"./managed-upload":4,"./object":5,"./version":6,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,_process:399,agentkeepalive:77,bowser:83,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/es.string.split.js":268,"core-js/modules/es.symbol.description.js":270,"core-js/modules/es.symbol.js":271,debug:397,"merge-descriptors":315,platform:322,urllib:407,utility:406,xml2js:358}],4:[function(t,p,h){(function(o){(function(){"use strict";var r=t("@babel/runtime/helpers/interopRequireDefault"),s=r(t("@babel/runtime/regenerator"));t("core-js/modules/es.function.name.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.array.from.js"),t("core-js/modules/es.string.iterator.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.array.filter.js"),t("core-js/modules/es.array.find.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.regexp.to-string.js"),t("core-js/modules/es.array.slice.js"),t("core-js/modules/es.array.iterator.js"),t("core-js/modules/es.array-buffer.slice.js"),t("core-js/modules/es.typed-array.uint8-array.js"),t("core-js/modules/es.typed-array.copy-within.js"),t("core-js/modules/es.typed-array.every.js"),t("core-js/modules/es.typed-array.fill.js"),t("core-js/modules/es.typed-array.filter.js"),t("core-js/modules/es.typed-array.find.js"),t("core-js/modules/es.typed-array.find-index.js"),t("core-js/modules/es.typed-array.for-each.js"),t("core-js/modules/es.typed-array.includes.js"),t("core-js/modules/es.typed-array.index-of.js"),t("core-js/modules/es.typed-array.iterator.js"),t("core-js/modules/es.typed-array.join.js"),t("core-js/modules/es.typed-array.last-index-of.js"),t("core-js/modules/es.typed-array.map.js"),t("core-js/modules/es.typed-array.reduce.js"),t("core-js/modules/es.typed-array.reduce-right.js"),t("core-js/modules/es.typed-array.reverse.js"),t("core-js/modules/es.typed-array.set.js"),t("core-js/modules/es.typed-array.slice.js"),t("core-js/modules/es.typed-array.some.js"),t("core-js/modules/es.typed-array.sort.js"),t("core-js/modules/es.typed-array.subarray.js"),t("core-js/modules/es.typed-array.to-locale-string.js"),t("core-js/modules/es.typed-array.to-string.js");var l=r(t("@babel/runtime/helpers/asyncToGenerator")),n=t("util"),c=t("path"),e=t("mime"),a=t("copy-to"),i=t("../common/utils/isBlob"),u=i.isBlob,f=t("../common/utils/isFile"),m=f.isFile,A=t("../common/utils/isArray"),g=A.isArray,v=t("../common/utils/isBuffer"),b=v.isBuffer,S=t("../common/utils/retry"),y=S.retry,w=h;w.multipartUpload=function(){var P=(0,l.default)(s.default.mark(function U(D,M){var B,j,H,K,W,X,V,Z,G,Y=arguments;return s.default.wrap(function(se){for(;;)switch(se.prev=se.next){case 0:if(B=Y.length>2&&Y[2]!==void 0?Y[2]:{},this.resetCancelFlag(),B.disabledMD5=B.disabledMD5===void 0?!0:!!B.disabledMD5,!(B.checkpoint&&B.checkpoint.uploadId)){se.next=8;break}return M&&m(M)&&(B.checkpoint.file=M),se.next=7,this._resumeMultipart(B.checkpoint,B);case 7:return se.abrupt("return",se.sent);case 8:return j=100*1024,B.mime||(m(M)?B.mime=e.getType(c.extname(M.name)):u(M)?B.mime=M.type:b(M)?B.mime="":B.mime=e.getType(c.extname(M))),B.headers=B.headers||{},this._convertMetaToHeaders(B.meta,B.headers),se.next=14,this._getFileSize(M);case 14:if(H=se.sent,!(H<j)){se.next=26;break}return B.contentLength=H,se.next=19,this.put(D,M,B);case 19:if(K=se.sent,!(B&&B.progress)){se.next=23;break}return se.next=23,B.progress(1);case 23:return W={res:K.res,bucket:this.options.bucket,name:D,etag:K.res.headers.etag},(B.headers&&B.headers["x-oss-callback"]||B.callback)&&(W.data=K.data),se.abrupt("return",W);case 26:if(!(B.partSize&&!(parseInt(B.partSize,10)===B.partSize))){se.next=28;break}throw new Error("partSize must be int number");case 28:if(!(B.partSize&&B.partSize<j)){se.next=30;break}throw new Error("partSize must not be smaller than ".concat(j));case 30:return se.next=32,this.initMultipartUpload(D,B);case 32:if(X=se.sent,V=X.uploadId,Z=this._getPartSize(H,B.partSize),G={file:M,name:D,fileSize:H,partSize:Z,uploadId:V,doneParts:[]},!(B&&B.progress)){se.next=39;break}return se.next=39,B.progress(0,G,X.res);case 39:return se.next=41,this._resumeMultipart(G,B);case 41:return se.abrupt("return",se.sent);case 42:case"end":return se.stop()}},U,this)}));function k(U,D){return P.apply(this,arguments)}return k}(),w._resumeMultipart=function(){var P=(0,l.default)(s.default.mark(function U(D,M){var B,j,H,K,W,X,V,Z,G,Y,te,se,Ce,he,xe,ie,ee,Ze,Se;return s.default.wrap(function(it){for(;;)switch(it.prev=it.next){case 0:if(B=this,!this.isCancel()){it.next=3;break}throw this._makeCancelEvent();case 3:return j=D.file,H=D.fileSize,K=D.partSize,W=D.uploadId,X=D.doneParts,V=D.name,Z=[],X.length>0&&a(X).to(Z),G=this._divideParts(H,K),Y=G.length,te=!1,se=function(nt,je){return new Promise(function(){var et=(0,l.default)(s.default.mark(function He(pe,ae){var re,be,ze,Ke,Te;return s.default.wrap(function(Ue){for(;;)switch(Ue.prev=Ue.next){case 0:if(Ue.prev=0,nt.isCancel()){Ue.next=29;break}return re=G[je-1],Ue.next=5,nt._createBuffer(j,re.start,re.end);case 5:return be=Ue.sent,ze={content:be,size:re.end-re.start},Ue.prev=7,Ue.next=10,nt._uploadPart(V,W,je,ze,{timeout:M.timeout,disabledMD5:M.disabledMD5});case 10:Ke=Ue.sent,Ue.next=18;break;case 13:if(Ue.prev=13,Ue.t0=Ue.catch(7),!(Ue.t0.status===404)){Ue.next=17;break}throw nt._makeAbortEvent();case 17:throw Ue.t0;case 18:if(!(!nt.isCancel()&&!te)){Ue.next=26;break}if(D.doneParts.push({number:je,etag:Ke.res.headers.etag}),!M.progress){Ue.next=23;break}return Ue.next=23,M.progress(X.length/Y,D,Ke.res);case 23:pe({number:je,etag:Ke.res.headers.etag}),Ue.next=27;break;case 26:pe();case 27:Ue.next=30;break;case 29:pe();case 30:Ue.next=41;break;case 32:Ue.prev=32,Ue.t1=Ue.catch(0),Te=new Error,Te.name=Ue.t1.name,Te.message=Ue.t1.message,Te.stack=Ue.t1.stack,Te.partNum=je,a(Ue.t1).to(Te),ae(Te);case 41:case"end":return Ue.stop()}},He,null,[[0,32],[7,13]])}));return function(He,pe){return et.apply(this,arguments)}}())},Ce=Array.from(new Array(Y),function(Ye,nt){return nt+1}),he=Z.map(function(Ye){return Ye.number}),xe=Ce.filter(function(Ye){return he.indexOf(Ye)<0}),ie=5,ee=M.parallel||ie,it.next=17,this._parallel(xe,ee,function(Ye){return new Promise(function(nt,je){se(B,Ye).then(function(et){et&&Z.push(et),nt()}).catch(function(et){je(et)})})});case 17:if(Ze=it.sent,te=!0,Se=Ze.find(function(Ye){return Ye.name==="abort"}),!Se){it.next=22;break}throw Se;case 22:if(!this.isCancel()){it.next=25;break}throw se=null,this._makeCancelEvent();case 25:if(!(Ze&&Ze.length>0)){it.next=28;break}throw Ze[0].message="Failed to upload some parts with error: ".concat(Ze[0].toString()," part_num: ").concat(Ze[0].partNum),Ze[0];case 28:return it.next=30,this.completeMultipartUpload(V,W,Z,M);case 30:return it.abrupt("return",it.sent);case 31:case"end":return it.stop()}},U,this)}));function k(U,D){return P.apply(this,arguments)}return k}(),w._getFileSize=function(){var P=(0,l.default)(s.default.mark(function U(D){return s.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(!b(D)){B.next=4;break}return B.abrupt("return",D.length);case 4:if(!(u(D)||m(D))){B.next=6;break}return B.abrupt("return",D.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return B.stop()}},U)}));function k(U){return P.apply(this,arguments)}return k}();var x=t("stream"),T=x.Readable;function L(P,k){if(!(this instanceof L))return new L(P,k);T.call(this,k),this.file=P,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}n.inherits(L,T),L.prototype.readFileAndPush=function(k){if(this.fileBuffer)for(var U=!0;U&&this.fileBuffer&&this.start<this.fileBuffer.length;){var D=this.start,M=D+k;M=M>this.fileBuffer.length?this.fileBuffer.length:M,this.start=M,U=this.push(this.fileBuffer.slice(D,M))}},L.prototype._read=function(k){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 U=16*1024;k=k||U;var D=this;this.reader.onload=function(B){D.fileBuffer=o.from(new Uint8Array(B.target.result)),D.file=null,D.readFileAndPush(k)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(k)};function R(P){return P.arrayBuffer?P.arrayBuffer():new Promise(function(k,U){var D=new FileReader;D.onload=function(M){k(M.target.result)},D.onerror=function(M){U(M)},D.readAsArrayBuffer(P)})}w._createBuffer=function(){var P=(0,l.default)(s.default.mark(function U(D,M,B){var j,H;return s.default.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:if(!(u(D)||m(D))){W.next=8;break}return j=D.slice(M,B),W.next=4,R(j);case 4:return H=W.sent,W.abrupt("return",o.from(H));case 8:if(!b(D)){W.next=12;break}return W.abrupt("return",D.subarray(M,B));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return W.stop()}},U)}));function k(U,D,M){return P.apply(this,arguments)}return k}(),w._getPartSize=function(k,U){var D=10*1e3,M=1*1024*1024;U||(U=M);var B=Math.ceil(k/D);return U<B&&(U=B,console.warn("partSize has been set to ".concat(U,", because the partSize you provided causes partNumber to be greater than 10,000"))),U},w._divideParts=function(k,U){for(var D=Math.ceil(k/U),M=[],B=0;B<D;B++){var j=U*B,H=Math.min(j+U,k);M.push({start:j,end:H})}return M}}).call(this)}).call(this,t("buffer").Buffer)},{"../common/utils/isArray":61,"../common/utils/isBlob":62,"../common/utils/isBuffer":63,"../common/utils/isFile":64,"../common/utils/retry":70,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,buffer:85,"copy-to":88,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.from.js":245,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.array.map.js":249,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.iterator.js":264,"core-js/modules/es.typed-array.copy-within.js":272,"core-js/modules/es.typed-array.every.js":273,"core-js/modules/es.typed-array.fill.js":274,"core-js/modules/es.typed-array.filter.js":275,"core-js/modules/es.typed-array.find-index.js":276,"core-js/modules/es.typed-array.find.js":277,"core-js/modules/es.typed-array.for-each.js":278,"core-js/modules/es.typed-array.includes.js":279,"core-js/modules/es.typed-array.index-of.js":280,"core-js/modules/es.typed-array.iterator.js":281,"core-js/modules/es.typed-array.join.js":282,"core-js/modules/es.typed-array.last-index-of.js":283,"core-js/modules/es.typed-array.map.js":284,"core-js/modules/es.typed-array.reduce-right.js":285,"core-js/modules/es.typed-array.reduce.js":286,"core-js/modules/es.typed-array.reverse.js":287,"core-js/modules/es.typed-array.set.js":288,"core-js/modules/es.typed-array.slice.js":289,"core-js/modules/es.typed-array.some.js":290,"core-js/modules/es.typed-array.sort.js":291,"core-js/modules/es.typed-array.subarray.js":292,"core-js/modules/es.typed-array.to-locale-string.js":293,"core-js/modules/es.typed-array.to-string.js":294,"core-js/modules/es.typed-array.uint8-array.js":295,mime:317,path:321,stream:345,util:352}],5:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault");t("core-js/modules/es.function.name.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.number.constructor.js"),t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.promise.js");var r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("fs"),n=t("copy-to"),c=t("path"),e=t("mime"),a=t("../common/callback"),i=t("merge-descriptors"),u=t("../common/utils/isBlob"),f=u.isBlob,m=t("../common/utils/isFile"),A=m.isFile,g=t("../common/utils/isBuffer"),v=g.isBuffer,b=t("../common/utils/obj2xml"),S=b.obj2xml,y=h;y.append=function(){var w=(0,s.default)(r.default.mark(function T(L,R,P){var k;return r.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return P=P||{},P.position===void 0&&(P.position="0"),P.subres={append:"",position:P.position},P.method="POST",D.next=6,this.put(L,R,P);case 6:return k=D.sent,k.nextAppendPosition=k.res.headers["x-oss-next-append-position"],D.abrupt("return",k);case 9:case"end":return D.stop()}},T,this)}));function x(T,L,R){return w.apply(this,arguments)}return x}(),y.put=function(){var w=(0,s.default)(r.default.mark(function T(L,R,P){var k,U,D,M,B;return r.default.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(P=P||{},P.disabledMD5=P.disabledMD5===void 0?!0:!!P.disabledMD5,P.headers=P.headers||{},L=this._objectName(L),!v(R)){H.next=8;break}k=R,H.next=19;break;case 8:if(!(f(R)||A(R))){H.next=18;break}return P.mime||(A(R)?P.mime=e.getType(c.extname(R.name)):P.mime=R.type),H.next=12,this._createBuffer(R,0,R.size);case 12:return k=H.sent,H.next=15,this._getFileSize(R);case 15:P.contentLength=H.sent,H.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(P.meta,P.headers),U=P.method||"PUT",D=this._objectRequestParams(U,L,P),a.encodeCallback(D,P),D.mime=P.mime,D.disabledMD5=P.disabledMD5,D.content=k,D.successStatuses=[200],H.next=29,this.request(D);case 29:return M=H.sent,B={name:L,url:this._objectUrl(L),res:M.res},D.headers&&D.headers["x-oss-callback"]&&(B.data=JSON.parse(M.data.toString())),H.abrupt("return",B);case 33:case"end":return H.stop()}},T,this)}));function x(T,L,R){return w.apply(this,arguments)}return x}(),y.putStream=function(){var w=(0,s.default)(r.default.mark(function T(L,R,P){var k,U,D,M;return r.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return P=P||{},P.headers=P.headers||{},L=this._objectName(L),P.contentLength?P.headers["Content-Length"]=P.contentLength:P.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(P.meta,P.headers),k=P.method||"PUT",U=this._objectRequestParams(k,L,P),a.encodeCallback(U,P),U.mime=P.mime,U.stream=R,U.successStatuses=[200],j.next=13,this.request(U);case 13:return D=j.sent,M={name:L,url:this._objectUrl(L),res:D.res},U.headers&&U.headers["x-oss-callback"]&&(M.data=JSON.parse(D.data.toString())),j.abrupt("return",M);case 17:case"end":return j.stop()}},T,this)}));function x(T,L,R){return w.apply(this,arguments)}return x}(),i(y,t("../common/object/copyObject")),i(y,t("../common/object/getObjectTagging")),i(y,t("../common/object/putObjectTagging")),i(y,t("../common/object/deleteObjectTagging")),i(y,t("../common/image")),i(y,t("../common/object/getBucketVersions")),i(y,t("../common/object/getACL")),i(y,t("../common/object/putACL")),i(y,t("../common/object/head")),i(y,t("../common/object/delete")),i(y,t("../common/object/get")),i(y,t("../common/object/putSymlink")),i(y,t("../common/object/getSymlink")),i(y,t("../common/object/deleteMulti")),i(y,t("../common/object/getObjectMeta")),i(y,t("../common/object/getObjectUrl")),i(y,t("../common/object/generateObjectUrl")),i(y,t("../common/object/signatureUrl")),y.putMeta=function(){var w=(0,s.default)(r.default.mark(function T(L,R,P){var k;return r.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:return D.next=2,this.copy(L,L,{meta:R||{},timeout:P&&P.timeout,ctx:P&&P.ctx});case 2:return k=D.sent,D.abrupt("return",k);case 4:case"end":return D.stop()}},T,this)}));function x(T,L,R){return w.apply(this,arguments)}return x}(),y.list=function(){var w=(0,s.default)(r.default.mark(function T(L,R){var P,k,U,D,M;return r.default.wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return P=this._objectRequestParams("GET","",R),P.query=L,P.xmlResponse=!0,P.successStatuses=[200],j.next=6,this.request(P);case 6:return k=j.sent,U=k.data.Contents||[],D=this,U&&(Array.isArray(U)||(U=[U]),U=U.map(function(H){return{name:H.Key,url:D._objectUrl(H.Key),lastModified:H.LastModified,etag:H.ETag,type:H.Type,size:Number(H.Size),storageClass:H.StorageClass,owner:{id:H.Owner.ID,displayName:H.Owner.DisplayName}}})),M=k.data.CommonPrefixes||null,M&&(Array.isArray(M)||(M=[M]),M=M.map(function(H){return H.Prefix})),j.abrupt("return",{res:k.res,objects:U,prefixes:M,nextMarker:k.data.NextMarker||null,isTruncated:k.data.IsTruncated==="true"});case 13:case"end":return j.stop()}},T,this)}));function x(T,L){return w.apply(this,arguments)}return x}(),y.listV2=function(){var w=(0,s.default)(r.default.mark(function T(L){var R,P,k,U,D,M,B,j=arguments;return r.default.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return R=j.length>1&&j[1]!==void 0?j[1]:{},P=L["continuation-token"]||L.continuationToken,P&&(R.subres=Object.assign({"continuation-token":P},R.subres)),k=this._objectRequestParams("GET","",R),k.query=Object.assign({"list-type":2},L),delete k.query["continuation-token"],delete k.query.continuationToken,k.xmlResponse=!0,k.successStatuses=[200],K.next=11,this.request(k);case 11:return U=K.sent,D=U.data.Contents||[],M=this,D&&(Array.isArray(D)||(D=[D]),D=D.map(function(W){return{name:W.Key,url:M._objectUrl(W.Key),lastModified:W.LastModified,etag:W.ETag,type:W.Type,size:Number(W.Size),storageClass:W.StorageClass,owner:W.Owner?{id:W.Owner.ID,displayName:W.Owner.DisplayName}:null}})),B=U.data.CommonPrefixes||null,B&&(Array.isArray(B)||(B=[B]),B=B.map(function(W){return W.Prefix})),K.abrupt("return",{res:U.res,objects:D,prefixes:B,isTruncated:U.data.IsTruncated==="true",keyCount:+U.data.KeyCount,continuationToken:U.data.ContinuationToken||null,nextContinuationToken:U.data.NextContinuationToken||null});case 18:case"end":return K.stop()}},T,this)}));function x(T){return w.apply(this,arguments)}return x}(),y.restore=function(){var w=(0,s.default)(r.default.mark(function T(L){var R,P,k,U,D=arguments;return r.default.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return R=D.length>1&&D[1]!==void 0?D[1]:{type:"Archive"},R=R||{},R.subres=Object.assign({restore:""},R.subres),R.versionId&&(R.subres.versionId=R.versionId),P=this._objectRequestParams("POST",L,R),R.type==="ColdArchive"&&(k={RestoreRequest:{Days:R.Days?R.Days:2,JobParameters:{Tier:R.JobParameters?R.JobParameters:"Standard"}}},P.content=S(k,{headers:!0}),P.mime="xml"),P.successStatuses=[202],B.next=9,this.request(P);case 9:return U=B.sent,B.abrupt("return",{res:U.res});case 11:case"end":return B.stop()}},T,this)}));function x(T){return w.apply(this,arguments)}return x}(),y._objectUrl=function(x){return this._getReqUrl({bucket:this.options.bucket,object:x})},y._objectRequestParams=function(x,T,L){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");L=L||{},T=this._objectName(T);var R={object:T,bucket:this.options.bucket,method:x,subres:L&&L.subres,timeout:L&&L.timeout,ctx:L&&L.ctx};return L.headers&&(R.headers={},n(L.headers).to(R.headers)),R},y._objectName=function(x){return x.replace(/^\/+/,"")},y._convertMetaToHeaders=function(x,T){if(!x)return;Object.keys(x).forEach(function(L){T["x-oss-meta-".concat(L)]=x[L]})},y._deleteFileSafe=function(x){var T=this;return new Promise(function(L){l.exists(x,function(R){R?l.unlink(x,function(P){P&&T.debug("unlink %j error: %s",x,P,"error"),L()}):L()})})}},{"../common/callback":24,"../common/image":27,"../common/object/copyObject":31,"../common/object/delete":32,"../common/object/deleteMulti":33,"../common/object/deleteObjectTagging":34,"../common/object/generateObjectUrl":35,"../common/object/get":36,"../common/object/getACL":37,"../common/object/getBucketVersions":38,"../common/object/getObjectMeta":39,"../common/object/getObjectTagging":40,"../common/object/getObjectUrl":41,"../common/object/getSymlink":42,"../common/object/head":43,"../common/object/putACL":44,"../common/object/putObjectTagging":45,"../common/object/putSymlink":46,"../common/object/signatureUrl":47,"../common/utils/isBlob":62,"../common/utils/isBuffer":63,"../common/utils/isFile":64,"../common/utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"copy-to":88,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.number.constructor.js":254,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296,fs:84,"merge-descriptors":315,mime:317,path:321}],6:[function(t,p,h){"use strict";h.version="6.17.1"},{}],7:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.abortBucketWorm=void 0;var l=t("../utils/checkBucketName");function n(e,a){return c.apply(this,arguments)}function c(){return c=(0,s.default)(r.default.mark(function e(a,i){var u,f;return r.default.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return l.checkBucketName(a),u=this._bucketRequestParams("DELETE",a,"worm",i),A.next=4,this.request(u);case 4:return f=A.sent,A.abrupt("return",{res:f.res,status:f.status});case 6:case"end":return A.stop()}},e,this)})),c.apply(this,arguments)}h.abortBucketWorm=n},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],8:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.completeBucketWorm=void 0;var l=t("../utils/checkBucketName");function n(e,a,i){return c.apply(this,arguments)}function c(){return c=(0,s.default)(r.default.mark(function e(a,i,u){var f,m;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return l.checkBucketName(a),f=this._bucketRequestParams("POST",a,{wormId:i},u),g.next=4,this.request(f);case 4:return m=g.sent,g.abrupt("return",{res:m.res,status:m.status});case 6:case"end":return g.stop()}},e,this)})),c.apply(this,arguments)}h.completeBucketWorm=n},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],9:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.deleteBucketInventory=void 0;var l=t("../utils/checkBucketName");function n(e,a){return c.apply(this,arguments)}function c(){return c=(0,s.default)(r.default.mark(function e(a,i){var u,f,m,A,g=arguments;return r.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return u=g.length>2&&g[2]!==void 0?g[2]:{},f=Object.assign({inventory:"",inventoryId:i},u.subres),l.checkBucketName(a),m=this._bucketRequestParams("DELETE",a,f,u),m.successStatuses=[204],b.next=7,this.request(m);case 7:return A=b.sent,b.abrupt("return",{status:A.status,res:A.res});case 9:case"end":return b.stop()}},e,this)})),c.apply(this,arguments)}h.deleteBucketInventory=n},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],10:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=h;c.deleteBucketLifecycle=function(){var e=(0,s.default)(r.default.mark(function i(u,f){var m,A;return r.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return n(u),m=this._bucketRequestParams("DELETE",u,"lifecycle",f),m.successStatuses=[204],v.next=5,this.request(m);case 5:return A=v.sent,v.abrupt("return",{res:A.res});case 7:case"end":return v.stop()}},i,this)}));function a(i,u){return e.apply(this,arguments)}return a}()},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],11:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=h;c.deleteBucketWebsite=function(){var e=(0,s.default)(r.default.mark(function i(u,f){var m,A;return r.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return n(u),m=this._bucketRequestParams("DELETE",u,"website",f),m.successStatuses=[204],v.next=5,this.request(m);case 5:return A=v.sent,v.abrupt("return",{res:A.res});case 7:case"end":return v.stop()}},i,this)}));function a(i,u){return e.apply(this,arguments)}return a}()},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],12:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.extendBucketWorm=void 0;var l=t("../utils/checkBucketName"),n=t("../utils/obj2xml");function c(a,i,u,f){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i,u,f,m){var A,g,v;return r.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return l.checkBucketName(i),A=this._bucketRequestParams("POST",i,{wormExtend:"",wormId:u},m),g={ExtendWormConfiguration:{RetentionPeriodInDays:f}},A.mime="xml",A.content=n.obj2xml(g,{headers:!0}),A.successStatuses=[200],S.next=8,this.request(A);case 8:return v=S.sent,S.abrupt("return",{res:v.res,status:v.status});case 10:case"end":return S.stop()}},a,this)})),e.apply(this,arguments)}h.extendBucketWorm=c},{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],13:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.getBucketInventory=void 0;var l=t("../utils/checkBucketName"),n=t("../utils/formatInventoryConfig");function c(a,i){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i,u){var f,m,A,g,v=arguments;return r.default.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return f=v.length>2&&v[2]!==void 0?v[2]:{},m=Object.assign({inventory:"",inventoryId:u},f.subres),l.checkBucketName(i),A=this._bucketRequestParams("GET",i,m,f),A.successStatuses=[200],A.xmlResponse=!0,S.next=8,this.request(A);case 8:return g=S.sent,S.abrupt("return",{status:g.status,res:g.res,inventory:n.formatInventoryConfig(g.data)});case 10:case"end":return S.stop()}},a,this)})),e.apply(this,arguments)}h.getBucketInventory=c},{"../utils/checkBucketName":50,"../utils/formatInventoryConfig":58,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],14:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.map.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("../utils/isArray"),e=c.isArray,a=t("../utils/formatObjKey"),i=a.formatObjKey,u=h;u.getBucketLifecycle=function(){var f=(0,s.default)(r.default.mark(function A(g,v){var b,S,y;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return n(g),b=this._bucketRequestParams("GET",g,"lifecycle",v),b.successStatuses=[200],b.xmlResponse=!0,x.next=6,this.request(b);case 6:return S=x.sent,y=S.data.Rule||null,y&&(e(y)||(y=[y]),y=y.map(function(T){return T.ID&&(T.id=T.ID,delete T.ID),T.Tag&&!e(T.Tag)&&(T.Tag=[T.Tag]),i(T,"firstLowerCase")})),x.abrupt("return",{rules:y,res:S.res});case 10:case"end":return x.stop()}},A,this)}));function m(A,g){return f.apply(this,arguments)}return m}()},{"../utils/checkBucketName":50,"../utils/formatObjKey":59,"../utils/isArray":61,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249}],15:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=h;c.getBucketVersioning=function(){var e=(0,s.default)(r.default.mark(function i(u,f){var m,A,g;return r.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return n(u),m=this._bucketRequestParams("GET",u,"versioning",f),m.xmlResponse=!0,m.successStatuses=[200],b.next=6,this.request(m);case 6:return A=b.sent,g=A.data.Status,b.abrupt("return",{status:A.status,versionStatus:g,res:A.res});case 9:case"end":return b.stop()}},i,this)}));function a(i,u){return e.apply(this,arguments)}return a}()},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],16:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("../utils/isObject"),e=c.isObject,a=h;a.getBucketWebsite=function(){var i=(0,s.default)(r.default.mark(function f(m,A){var g,v,b;return r.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n(m),g=this._bucketRequestParams("GET",m,"website",A),g.successStatuses=[200],g.xmlResponse=!0,y.next=6,this.request(g);case 6:return v=y.sent,b=[],v.data.RoutingRules&&v.data.RoutingRules.RoutingRule&&(e(v.data.RoutingRules.RoutingRule)?b=[v.data.RoutingRules.RoutingRule]:b=v.data.RoutingRules.RoutingRule),y.abrupt("return",{index:v.data.IndexDocument&&v.data.IndexDocument.Suffix||"",supportSubDir:v.data.IndexDocument&&v.data.IndexDocument.SupportSubDir||"false",type:v.data.IndexDocument&&v.data.IndexDocument.Type,routingRules:b,error:v.data.ErrorDocument&&v.data.ErrorDocument.Key||null,res:v.res});case 10:case"end":return y.stop()}},f,this)}));function u(f,m){return i.apply(this,arguments)}return u}()},{"../utils/checkBucketName":50,"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],17:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.getBucketWorm=void 0;var l=t("../utils/checkBucketName"),n=t("../utils/dataFix");function c(a,i){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i,u){var f,m;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return l.checkBucketName(i),f=this._bucketRequestParams("GET",i,"worm",u),f.successStatuses=[200],f.xmlResponse=!0,g.next=6,this.request(f);case 6:return m=g.sent,n.dataFix(m.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),g.abrupt("return",Object.assign(Object.assign({},m.data),{res:m.res,status:m.status}));case 9:case"end":return g.stop()}},a,this)})),e.apply(this,arguments)}h.getBucketWorm=c},{"../utils/checkBucketName":50,"../utils/dataFix":55,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],18:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.initiateBucketWorm=void 0;var l=t("../utils/obj2xml"),n=t("../utils/checkBucketName");function c(a,i,u){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i,u,f){var m,A,g;return r.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return n.checkBucketName(i),m=this._bucketRequestParams("POST",i,"worm",f),A={InitiateWormConfiguration:{RetentionPeriodInDays:u}},m.mime="xml",m.content=l.obj2xml(A,{headers:!0}),m.successStatuses=[200],b.next=8,this.request(m);case 8:return g=b.sent,b.abrupt("return",{res:g.res,wormId:g.res.headers["x-oss-worm-id"],status:g.status});case 10:case"end":return b.stop()}},a,this)})),e.apply(this,arguments)}h.initiateBucketWorm=c},{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],19:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.listBucketInventory=void 0;var l=t("../utils/checkBucketName"),n=t("../utils/formatInventoryConfig");function c(a){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i){var u,f,m,A,g,v,b,S,y=arguments;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return u=y.length>1&&y[1]!==void 0?y[1]:{},f=u.continuationToken,m=Object.assign({inventory:""},f&&{"continuation-token":f},u.subres),l.checkBucketName(i),A=this._bucketRequestParams("GET",i,m,u),A.successStatuses=[200],A.xmlResponse=!0,x.next=9,this.request(A);case 9:return g=x.sent,v=g.data,b=g.res,S=g.status,x.abrupt("return",{isTruncated:v.IsTruncated==="true",nextContinuationToken:v.NextContinuationToken,inventoryList:n.formatInventoryConfig(v.InventoryConfiguration,!0),status:S,res:b});case 12:case"end":return x.stop()}},a,this)})),e.apply(this,arguments)}h.listBucketInventory=c},{"../utils/checkBucketName":50,"../utils/formatInventoryConfig":58,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],20:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.array.concat.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.putBucketInventory=void 0;var l=t("../utils/checkBucketName"),n=t("../utils/obj2xml");function c(a,i){return e.apply(this,arguments)}function e(){return e=(0,s.default)(r.default.mark(function a(i,u){var f,m,A,g,v,b,S,y,w,x,T,L=arguments;return r.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return f=L.length>2&&L[2]!==void 0?L[2]:{},m=Object.assign({inventory:"",inventoryId:u.id},f.subres),l.checkBucketName(i),A=u.OSSBucketDestination,g=u.optionalFields,v=u.includedObjectVersions,b="acs:oss:::",S="acs:ram::".concat(A.accountId,":role/"),y={InventoryConfiguration:{Id:u.id,IsEnabled:u.isEnabled,Filter:{Prefix:u.prefix||""},Destination:{OSSBucketDestination:{Format:A.format,AccountId:A.accountId,RoleArn:"".concat(S).concat(A.rolename),Bucket:"".concat(b).concat(A.bucket),Prefix:A.prefix||"",Encryption:A.encryption||""}},Schedule:{Frequency:u.frequency},IncludedObjectVersions:v,OptionalFields:{Field:(g==null?void 0:g.field)||[]}}},w=n.obj2xml(y,{headers:!0,firstUpperCase:!0}),x=this._bucketRequestParams("PUT",i,m,f),x.successStatuses=[200],x.mime="xml",x.content=w,P.next=14,this.request(x);case 14:return T=P.sent,P.abrupt("return",{status:T.status,res:T.res});case 16:case"end":return P.stop()}},a,this)})),e.apply(this,arguments)}h.putBucketInventory=c},{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.assign.js":255}],21:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.array.includes.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("../utils/isArray"),e=c.isArray,a=t("../utils/deepCopy"),i=a.deepCopy,u=t("../utils/isObject"),f=u.isObject,m=t("../utils/obj2xml"),A=m.obj2xml,g=t("../utils/checkObjectTag"),v=g.checkObjectTag,b=t("../utils/getStrBytesCount"),S=b.getStrBytesCount,y=h;y.putBucketLifecycle=function(){var R=(0,s.default)(r.default.mark(function k(U,D,M){var B,j,H,K,W;return r.default.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(n(U),e(D)){V.next=3;break}throw new Error("rules must be Array");case 3:return B=this._bucketRequestParams("PUT",U,"lifecycle",M),j=[],H={LifecycleConfiguration:{Rule:j}},D.forEach(function(Z){w(Z),L(Z),Z.id&&(Z.ID=Z.id,delete Z.id),j.push(Z)}),K=A(H,{headers:!0,firstUpperCase:!0}),B.content=K,B.mime="xml",B.successStatuses=[200],V.next=13,this.request(B);case 13:return W=V.sent,V.abrupt("return",{res:W.res});case 15:case"end":return V.stop()}},k,this)}));function P(k,U,D){return R.apply(this,arguments)}return P}();function w(R){R.days&&(R.expiration={days:R.days}),R.date&&(R.expiration={createdBeforeDate:R.date})}function x(R,P){var k=R.days,U=R.createdBeforeDate;if(!k&&!U)throw new Error("".concat(P," must includes days or createdBeforeDate"));if(k&&!/^[1-9][0-9]*$/.test(k))throw new Error("days must be a positive integer");if(U&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(U))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function T(R){if(!e(R)&&!f(R))throw new Error("tag must be Object or Array");R=f(R)?[R]:R;var P={},k=i(R);k.forEach(function(U){P[U.key]=U.value}),v(P)}function L(R){if(R.id&&S(R.id)>255)throw new Error("ID is composed of 255 bytes at most");if(R.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(R.status))throw new Error("Status must be Enabled or Disabled");if(R.transition){if(!["IA","Archive"].includes(R.transition.storageClass))throw new Error("StorageClass must be IA or Archive");x(R.transition,"Transition")}if(R.expiration){if(!R.expiration.expiredObjectDeleteMarker)x(R.expiration,"Expiration");else if(R.expiration.days||R.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(R.abortMultipartUpload&&x(R.abortMultipartUpload,"AbortMultipartUpload"),!R.expiration&&!R.abortMultipartUpload&&!R.transition&&!R.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(R.tag){if(R.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");T(R.tag)}}},{"../utils/checkBucketName":50,"../utils/checkObjectTag":52,"../utils/deepCopy":56,"../utils/getStrBytesCount":60,"../utils/isArray":61,"../utils/isObject":67,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.includes.js":246,"core-js/modules/web.dom-collections.for-each.js":296}],22:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.includes.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("../utils/obj2xml"),e=c.obj2xml,a=h;a.putBucketVersioning=function(){var i=(0,s.default)(r.default.mark(function f(m,A){var g,v,b,S,y=arguments;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(g=y.length>2&&y[2]!==void 0?y[2]:{},n(m),["Enabled","Suspended"].includes(A)){x.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return v=this._bucketRequestParams("PUT",m,"versioning",g),b={VersioningConfiguration:{Status:A}},v.mime="xml",v.content=e(b,{headers:!0}),x.next=10,this.request(v);case 10:return S=x.sent,x.abrupt("return",{res:S.res,status:S.status});case 12:case"end":return x.stop()}},f,this)}));function u(f,m){return i.apply(this,arguments)}return u}()},{"../utils/checkBucketName":50,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.includes.js":246}],23:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator")),s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("../utils/obj2xml"),e=c.obj2xml,a=t("../utils/isArray"),i=a.isArray,u=h;u.putBucketWebsite=function(){var f=(0,s.default)(r.default.mark(function A(g){var v,b,S,y,w,x,T,L=arguments;return r.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(v=L.length>1&&L[1]!==void 0?L[1]:{},b=L.length>2?L[2]:void 0,n(g),S=this._bucketRequestParams("PUT",g,"website",b),y={Suffix:v.index||"index.html"},w={IndexDocument:y},x={WebsiteConfiguration:w},v.supportSubDir&&(y.SupportSubDir=v.supportSubDir),v.type&&(y.Type=v.type),v.error&&(w.ErrorDocument={Key:v.error}),!(v.routingRules!==void 0)){P.next=14;break}if(i(v.routingRules)){P.next=13;break}throw new Error("RoutingRules must be Array");case 13:w.RoutingRules={RoutingRule:v.routingRules};case 14:return x=e(x),S.content=x,S.mime="xml",S.successStatuses=[200],P.next=20,this.request(S);case 20:return T=P.sent,P.abrupt("return",{res:T.res});case 22:case"end":return P.stop()}},A,this)}));function m(A){return f.apply(this,arguments)}return m}()},{"../utils/checkBucketName":50,"../utils/isArray":61,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76}],24:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),h.encodeCallback=function(s,l){if(s.headers=s.headers||{},!Object.prototype.hasOwnProperty.call(s.headers,"x-oss-callback")&&l.callback){var n={callbackUrl:encodeURI(l.callback.url),callbackBody:l.callback.body};l.callback.host&&(n.callbackHost=l.callback.host),l.callback.contentType&&(n.callbackBodyType=l.callback.contentType);var c=o.from(JSON.stringify(n)).toString("base64");if(s.headers["x-oss-callback"]=c,l.callback.customValue){var e={};Object.keys(l.callback.customValue).forEach(function(a){e["x:".concat(a)]=l.callback.customValue[a]}),s.headers["x-oss-callback-var"]=o.from(JSON.stringify(e)).toString("base64")}}}}).call(this)}).call(this,t("buffer").Buffer)},{buffer:85,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/web.dom-collections.for-each.js":296}],25:[function(t,p,h){"use strict";t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/web.dom-collections.for-each.js");var o=function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(h,"__esModule",{value:!0}),h.getReqUrl=void 0;var r=o(t("copy-to")),s=o(t("url")),l=o(t("merge-descriptors")),n=o(t("is-type-of")),c=t("../utils/isIP"),e=t("../utils/checkConfigValid");function a(i){var u={},f=this.options.cname;e.checkConfigValid(this.options.endpoint,"endpoint"),r.default(this.options.endpoint,!1).to(u),i.bucket&&!f&&!c.isIP(u.hostname)&&!this.options.sldEnable&&(u.host="".concat(i.bucket,".").concat(u.host));var m="/";i.bucket&&this.options.sldEnable&&(m+="".concat(i.bucket,"/")),i.object&&(m+=this._escape(i.object).replace(/\+/g,"%2B")),u.pathname=m;var A={};if(i.query&&l.default(A,i.query),i.subres){var g={};n.default.string(i.subres)?g[i.subres]="":n.default.array(i.subres)?i.subres.forEach(function(v){g[v]=""}):g=i.subres,l.default(A,g)}return u.query=A,s.default.format(u)}h.getReqUrl=a},{"../utils/checkConfigValid":51,"../utils/isIP":66,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296,"is-type-of":398,"merge-descriptors":315,url:404}],26:[function(t,p,h){"use strict";t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.string.trim.js");var o=t("humanize-ms"),r=t("url"),s=t("../utils/checkBucketName"),l=s.checkBucketName,n=t("../utils/setRegion"),c=n.setRegion,e=t("../utils/checkConfigValid"),a=e.checkConfigValid;function i(u,f){a(u,"endpoint");var m=r.parse(u);if(m.protocol||(m=r.parse("http".concat(f?"s":"","://").concat(u))),m.protocol!=="http:"&&m.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return m}p.exports=function(u){if(!u||!u.accessKeyId||!u.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");u.stsToken&&!u.refreshSTSToken&&!u.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),u.bucket&&l(u.bucket);var f=Object.assign({region:"oss-cn-hangzhou",internal:!1,secure:!1,timeout:6e4,bucket:null,endpoint:null,cname:!1,isRequestPay:!1,sldEnable:!1,headerEncoding:"utf-8",refreshSTSToken:null,refreshSTSTokenInterval:6e4*5,retryMax:0},u);if(f.accessKeyId=f.accessKeyId.trim(),f.accessKeySecret=f.accessKeySecret.trim(),f.timeout&&(f.timeout=o(f.timeout)),f.endpoint)f.endpoint=i(f.endpoint,f.secure);else if(f.region)f.endpoint=c(f.region,f.internal,f.secure);else throw new Error("require options.endpoint or options.region");return f.inited=!0,f}},{"../utils/checkBucketName":50,"../utils/checkConfigValid":51,"../utils/setRegion":71,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.string.trim.js":269,"humanize-ms":303,url:404}],27:[function(t,p,h){"use strict";var o=t("merge-descriptors"),r=h;o(r,t("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":315}],28:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.concat.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/checkBucketName"),n=l.checkBucketName,c=t("querystring"),e=t("js-base64"),a=e.Base64.encode,i=h;i.processObjectSave=function(){var f=(0,s.default)(r.default.mark(function A(g,v,b,S){var y,w,x,T;return r.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return u(g,"sourceObject"),u(v,"targetObject"),u(b,"process"),v=this._objectName(v),S&&n(S),y=this._objectRequestParams("POST",g,{subres:"x-oss-process"}),w=S?",b_".concat(a(S)):"",v=a(v),x={"x-oss-process":"".concat(b,"|sys/saveas,o_").concat(v).concat(w)},y.content=c.stringify(x),R.next=12,this.request(y);case 12:return T=R.sent,R.abrupt("return",{res:T.res,status:T.res.status});case 14:case"end":return R.stop()}},A,this)}));function m(A,g,v,b){return f.apply(this,arguments)}return m}();function u(f,m){if(!f)throw new Error("".concat(m," is required"));if(typeof f!="string")throw new Error("".concat(m," must be String"))}},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"js-base64":314,querystring:328}],29:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.function.name.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.array.from.js"),t("core-js/modules/es.string.iterator.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.array.filter.js"),t("core-js/modules/es.array.find.js"),t("core-js/modules/es.regexp.to-string.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("debug")("ali-oss:multipart-copy"),n=t("copy-to"),c=h;c.uploadPartCopy=function(){var e=(0,s.default)(r.default.mark(function i(u,f,m,A,g){var v,b,S,y,w,x=arguments;return r.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return v=x.length>5&&x[5]!==void 0?x[5]:{},v.headers=v.headers||{},b=v.versionId||v.subres&&v.subres.versionId||null,b?S="/".concat(g.sourceBucketName,"/").concat(encodeURIComponent(g.sourceKey),"?versionId=").concat(b):S="/".concat(g.sourceBucketName,"/").concat(encodeURIComponent(g.sourceKey)),v.headers["x-oss-copy-source"]=S,A&&(v.headers["x-oss-copy-source-range"]="bytes=".concat(A)),v.subres={partNumber:m,uploadId:f},y=this._objectRequestParams("PUT",u,v),y.mime=v.mime,y.successStatuses=[200],L.next=12,this.request(y);case 12:return w=L.sent,L.abrupt("return",{name:u,etag:w.res.headers.etag,res:w.res});case 14:case"end":return L.stop()}},i,this)}));function a(i,u,f,m,A){return e.apply(this,arguments)}return a}(),c.multipartUploadCopy=function(){var e=(0,s.default)(r.default.mark(function i(u,f){var m,A,g,v,b,S,y,w,x,T,L,R,P=arguments;return r.default.wrap(function(U){for(;;)switch(U.prev=U.next){case 0:return m=P.length>2&&P[2]!==void 0?P[2]:{},this.resetCancelFlag(),A=m.versionId,g=A===void 0?null:A,v={versionId:g},U.next=6,this._getObjectMeta(f.sourceBucketName,f.sourceKey,v);case 6:if(b=U.sent,S=b.res.headers["content-length"],f.startOffset=f.startOffset||0,f.endOffset=f.endOffset||S,!(m.checkpoint&&m.checkpoint.uploadId)){U.next=14;break}return U.next=13,this._resumeMultipartCopy(m.checkpoint,f,m);case 13:return U.abrupt("return",U.sent);case 14:if(y=100*1024,w=f.endOffset-f.startOffset,!(w<y)){U.next=18;break}throw new Error("copySize must not be smaller than ".concat(y));case 18:if(!(m.partSize&&m.partSize<y)){U.next=20;break}throw new Error("partSize must not be smaller than ".concat(y));case 20:return U.next=22,this.initMultipartUpload(u,m);case 22:if(x=U.sent,T=x.uploadId,L=this._getPartSize(w,m.partSize),R={name:u,copySize:w,partSize:L,uploadId:T,doneParts:[]},!(m&&m.progress)){U.next=29;break}return U.next=29,m.progress(0,R,x.res);case 29:return U.next=31,this._resumeMultipartCopy(R,f,m);case 31:return U.abrupt("return",U.sent);case 32:case"end":return U.stop()}},i,this)}));function a(i,u){return e.apply(this,arguments)}return a}(),c._resumeMultipartCopy=function(){var e=(0,s.default)(r.default.mark(function i(u,f,m){var A,g,v,b,S,y,w,x,T,L,R,P,k,U,D,M,B,j,H,K,W;return r.default.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:if(!this.isCancel()){V.next=2;break}throw this._makeCancelEvent();case 2:if(A=m.versionId,g=A===void 0?null:A,v={versionId:g},b=u.copySize,S=u.partSize,y=u.uploadId,w=u.doneParts,x=u.name,T=this._divideMultipartCopyParts(b,S,f.startOffset),L=T.length,R={headers:{}},m.copyheaders&&n(m.copyheaders).to(R.headers),g&&n(v).to(R),P=function(G,Y,te){return new Promise(function(){var se=(0,s.default)(r.default.mark(function Ce(he,xe){var ie,ee,Ze;return r.default.wrap(function(Ne){for(;;)switch(Ne.prev=Ne.next){case 0:if(Ne.prev=0,G.isCancel()){Ne.next=22;break}return ie=T[Y-1],ee="".concat(ie.start,"-").concat(ie.end-1),Ne.prev=4,Ne.next=7,G.uploadPartCopy(x,y,Y,ee,te,R);case 7:Ze=Ne.sent,Ne.next=15;break;case 10:if(Ne.prev=10,Ne.t0=Ne.catch(4),!(Ne.t0.status===404)){Ne.next=14;break}throw G._makeAbortEvent();case 14:throw Ne.t0;case 15:if(G.isCancel()){Ne.next=22;break}if(l("content-range ".concat(Ze.res.headers["content-range"])),w.push({number:Y,etag:Ze.res.headers.etag}),u.doneParts=w,!(m&&m.progress)){Ne.next=22;break}return Ne.next=22,m.progress(w.length/L,u,Ze.res);case 22:he(),Ne.next=29;break;case 25:Ne.prev=25,Ne.t1=Ne.catch(0),Ne.t1.partNum=Y,xe(Ne.t1);case 29:case"end":return Ne.stop()}},Ce,null,[[0,25],[4,10]])}));return function(Ce,he){return se.apply(this,arguments)}}())},k=Array.from(new Array(L),function(Z,G){return G+1}),U=w.map(function(Z){return Z.number}),D=k.filter(function(Z){return U.indexOf(Z)<0}),M=5,B=m.parallel||M,!(this.checkBrowserAndVersion("Internet Explorer","10")||B===1)){V.next=28;break}j=0;case 18:if(!(j<D.length)){V.next=26;break}if(!this.isCancel()){V.next=21;break}throw this._makeCancelEvent();case 21:return V.next=23,P(this,D[j],f);case 23:j++,V.next=18;break;case 26:V.next=40;break;case 28:return V.next=30,this._parallelNode(D,B,P,f);case 30:if(H=V.sent,K=H.find(function(Z){return Z.name==="abort"}),!K){V.next=34;break}throw K;case 34:if(!this.isCancel()){V.next=36;break}throw this._makeCancelEvent();case 36:if(!(H&&H.length>0)){V.next=40;break}throw W=H[0],W.message="Failed to copy some parts with error: ".concat(W.toString()," part_num: ").concat(W.partNum),W;case 40:return V.next=42,this.completeMultipartUpload(x,y,w,m);case 42:return V.abrupt("return",V.sent);case 43:case"end":return V.stop()}},i,this)}));function a(i,u,f){return e.apply(this,arguments)}return a}(),c._divideMultipartCopyParts=function(a,i,u){for(var f=Math.ceil(a/i),m=[],A=0;A<f;A++){var g=i*A+u,v=Math.min(g+i,a+u);m.push({start:g,end:v})}return m},c._getObjectMeta=function(){var e=(0,s.default)(r.default.mark(function i(u,f,m){var A,g;return r.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return A=this.getBucket(),this.setBucket(u),b.next=4,this.head(f,m);case 4:return g=b.sent,this.setBucket(A),b.abrupt("return",g);case 7:case"end":return b.stop()}},i,this)}));function a(i,u,f){return e.apply(this,arguments)}return a}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.from.js":245,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.iterator.js":264,debug:397}],30:[function(t,p,h){(function(o){(function(){"use strict";var r=t("@babel/runtime/helpers/interopRequireDefault"),s=r(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.map.js"),t("core-js/modules/es.array.filter.js"),t("core-js/modules/es.array.sort.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js");var l=r(t("@babel/runtime/helpers/asyncToGenerator")),n=t("copy-to"),c=t("./callback"),e=t("./utils/deepCopy"),a=e.deepCopyWith,i=t("./utils/isBuffer"),u=i.isBuffer,f=h;f.listUploads=function(){var m=(0,l.default)(s.default.mark(function g(v,b){var S,y,w,x;return s.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return b=b||{},S={},n(b).to(S),S.subres="uploads",y=this._objectRequestParams("GET","",S),y.query=v,y.xmlResponse=!0,y.successStatuses=[200],L.next=10,this.request(y);case 10:return w=L.sent,x=w.data.Upload||[],Array.isArray(x)||(x=[x]),x=x.map(function(R){return{name:R.Key,uploadId:R.UploadId,initiated:R.Initiated}}),L.abrupt("return",{res:w.res,uploads:x,bucket:w.data.Bucket,nextKeyMarker:w.data.NextKeyMarker,nextUploadIdMarker:w.data.NextUploadIdMarker,isTruncated:w.data.IsTruncated==="true"});case 15:case"end":return L.stop()}},g,this)}));function A(g,v){return m.apply(this,arguments)}return A}(),f.listParts=function(){var m=(0,l.default)(s.default.mark(function g(v,b,S,y){var w,x,T;return s.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return y=y||{},w={},n(y).to(w),w.subres={uploadId:b},x=this._objectRequestParams("GET",v,w),x.query=S,x.xmlResponse=!0,x.successStatuses=[200],R.next=10,this.request(x);case 10:return T=R.sent,R.abrupt("return",{res:T.res,uploadId:T.data.UploadId,bucket:T.data.Bucket,name:T.data.Key,partNumberMarker:T.data.PartNumberMarker,nextPartNumberMarker:T.data.NextPartNumberMarker,maxParts:T.data.MaxParts,isTruncated:T.data.IsTruncated,parts:T.data.Part||[]});case 12:case"end":return R.stop()}},g,this)}));function A(g,v,b,S){return m.apply(this,arguments)}return A}(),f.abortMultipartUpload=function(){var m=(0,l.default)(s.default.mark(function g(v,b,S){var y,w,x;return s.default.wrap(function(L){for(;;)switch(L.prev=L.next){case 0:return this._stop(),S=S||{},y={},n(S).to(y),y.subres={uploadId:b},w=this._objectRequestParams("DELETE",v,y),w.successStatuses=[204],L.next=9,this.request(w);case 9:return x=L.sent,L.abrupt("return",{res:x.res});case 11:case"end":return L.stop()}},g,this)}));function A(g,v,b){return m.apply(this,arguments)}return A}(),f.initMultipartUpload=function(){var m=(0,l.default)(s.default.mark(function g(v,b){var S,y,w;return s.default.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return b=b||{},S={},n(b).to(S),S.headers=S.headers||{},this._convertMetaToHeaders(b.meta,S.headers),S.subres="uploads",y=this._objectRequestParams("POST",v,S),y.mime=b.mime,y.xmlResponse=!0,y.successStatuses=[200],T.next=12,this.request(y);case 12:return w=T.sent,T.abrupt("return",{res:w.res,bucket:w.data.Bucket,name:w.data.Key,uploadId:w.data.UploadId});case 14:case"end":return T.stop()}},g,this)}));function A(g,v){return m.apply(this,arguments)}return A}(),f.uploadPart=function(){var m=(0,l.default)(s.default.mark(function g(v,b,S,y,w,x,T){var L,R;return s.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(L={size:x-w},R=o&&o.browser,!R){k.next=8;break}return k.next=5,this._createBuffer(y,w,x);case 5:L.content=k.sent,k.next=11;break;case 8:return k.next=10,this._createStream(y,w,x);case 10:L.stream=k.sent;case 11:return k.next=13,this._uploadPart(v,b,S,L,T);case 13:return k.abrupt("return",k.sent);case 14:case"end":return k.stop()}},g,this)}));function A(g,v,b,S,y,w,x){return m.apply(this,arguments)}return A}(),f.completeMultipartUpload=function(){var m=(0,l.default)(s.default.mark(function g(v,b,S,y){var w,x,T,L,R,P,k,U;return s.default.wrap(function(M){for(;;)switch(M.prev=M.next){case 0:for(w=S.concat().sort(function(B,j){return B.number-j.number}).filter(function(B,j,H){return!j||B.number!==H[j-1].number}),x=`<?xml version="1.0" encoding="UTF-8"?>
<CompleteMultipartUpload>
`,T=0;T<w.length;T++)L=w[T],x+=`<Part>
`,x+="<PartNumber>".concat(L.number,`</PartNumber>
`),x+="<ETag>".concat(L.etag,`</ETag>
`),x+=`</Part>
`;return x+="</CompleteMultipartUpload>",y=y||{},R={},R=a(y,function(B){if(u(B))return null}),R.headers&&delete R.headers["x-oss-server-side-encryption"],R.subres={uploadId:b},P=this._objectRequestParams("POST",v,R),c.encodeCallback(P,R),P.mime="xml",P.content=x,P.headers&&P.headers["x-oss-callback"]||(P.xmlResponse=!0),P.successStatuses=[200],M.next=17,this.request(P);case 17:return k=M.sent,U={res:k.res,bucket:P.bucket,name:v,etag:k.res.headers.etag},P.headers&&P.headers["x-oss-callback"]&&(U.data=JSON.parse(k.data.toString())),M.abrupt("return",U);case 21:case"end":return M.stop()}},g,this)}));function A(g,v,b,S){return m.apply(this,arguments)}return A}(),f._uploadPart=function(){var m=(0,l.default)(s.default.mark(function g(v,b,S,y,w){var x,T,L,R;return s.default.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return w=w||{},x={},n(w).to(x),x.headers={"Content-Length":y.size},x.subres={partNumber:S,uploadId:b},T=this._objectRequestParams("PUT",v,x),T.mime=x.mime,L=o&&o.browser,L?T.content=y.content:T.stream=y.stream,T.successStatuses=[200],T.disabledMD5=w.disabledMD5,k.next=13,this.request(T);case 13:if(R=k.sent,R.res.headers.etag){k.next=16;break}throw new Error(`Please set the etag of expose-headers in OSS
https://help.aliyun.com/document_detail/32069.html`);case 16:return y.stream&&(y.stream=null,T.stream=null),k.abrupt("return",{name:v,etag:R.res.headers.etag,res:R.res});case 18:case"end":return k.stop()}},g,this)}));function A(g,v,b,S,y){return m.apply(this,arguments)}return A}()}).call(this)}).call(this,t("_process"))},{"./callback":24,"./utils/deepCopy":56,"./utils/isBuffer":63,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,_process:399,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.filter.js":243,"core-js/modules/es.array.map.js":249,"core-js/modules/es.array.sort.js":251,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],31:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.find.js"),t("core-js/modules/es.array.includes.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js");var s=o(t("@babel/runtime/helpers/typeof")),l=o(t("@babel/runtime/helpers/asyncToGenerator")),n=t("../utils/checkBucketName"),c=n.checkBucketName,e=h,a=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];e.copy=function(){var i=(0,l.default)(r.default.mark(function f(m,A,g,v){var b,S,y;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return(0,s.default)(g)==="object"&&(v=g),v=v||{},v.headers=v.headers||{},Object.keys(v.headers).forEach(function(T){v.headers["x-oss-copy-source-".concat(T.toLowerCase())]=v.headers[T]}),(v.meta||Object.keys(v.headers).find(function(T){return a.includes(T.toLowerCase())}))&&(v.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(v.meta,v.headers),A=this._getSourceName(A,g),v.versionId&&(A="".concat(A,"?versionId=").concat(v.versionId)),v.headers["x-oss-copy-source"]=A,b=this._objectRequestParams("PUT",m,v),b.xmlResponse=!0,b.successStatuses=[200,304],x.next=14,this.request(b);case 14:return S=x.sent,y=S.data,y&&(y={etag:y.ETag,lastModified:y.LastModified}),x.abrupt("return",{data:y,res:S.res});case 18:case"end":return x.stop()}},f,this)}));function u(f,m,A,g){return i.apply(this,arguments)}return u}(),e._getSourceName=function(u,f){return typeof f=="string"?u=this._objectName(u):u[0]!=="/"?f=this.options.bucket:(f=u.replace(/\/(.+?)(\/.*)/,"$1"),u=u.replace(/(\/.+?\/)(.*)/,"$2")),c(f),u=encodeURIComponent(u),u="/".concat(f,"/").concat(u),u}},{"../utils/checkBucketName":50,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"@babel/runtime/regenerator":76,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.find.js":244,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],32:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.delete=function(){var n=(0,s.default)(r.default.mark(function e(a){var i,u,f,m=arguments;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=m.length>1&&m[1]!==void 0?m[1]:{},i.subres=Object.assign({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),u=this._objectRequestParams("DELETE",a,i),u.successStatuses=[204],g.next=7,this.request(u);case 7:return f=g.sent,g.abrupt("return",{res:f.res});case 9:case"end":return g.stop()}},e,this)}));function c(e){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],33:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("utility"),n=t("../utils/obj2xml"),c=n.obj2xml,e=h;e.deleteMulti=function(){var a=(0,s.default)(r.default.mark(function u(f){var m,A,g,v,b,S,y,w,x,T,L,R,P,k=arguments;return r.default.wrap(function(D){for(;;)switch(D.prev=D.next){case 0:if(m=k.length>1&&k[1]!==void 0?k[1]:{},A=[],!(!f||!f.length)){D.next=4;break}throw new Error("names is required");case 4:for(g=0;g<f.length;g++)v={},typeof f[g]=="string"?v.Key=l.escape(this._objectName(f[g])):(b=f[g],S=b.key,y=b.versionId,v.Key=l.escape(this._objectName(S)),v.VersionId=y),A.push(v);return w={Delete:{Quiet:!!m.quiet,Object:A}},x=c(w,{headers:!0}),m.subres=Object.assign({delete:""},m.subres),m.versionId&&(m.subres.versionId=m.versionId),T=this._objectRequestParams("POST","",m),T.mime="xml",T.content=x,T.xmlResponse=!0,T.successStatuses=[200],D.next=16,this.request(T);case 16:return L=D.sent,R=L.data,P=R&&R.Deleted||null,P&&(Array.isArray(P)||(P=[P])),D.abrupt("return",{res:L.res,deleted:P||[]});case 21:case"end":return D.stop()}},u,this)}));function i(u){return a.apply(this,arguments)}return i}()},{"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,utility:406}],34:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.deleteObjectTagging=function(){var n=(0,s.default)(r.default.mark(function e(a){var i,u,f,m=arguments;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=m.length>1&&m[1]!==void 0?m[1]:{},i.subres=Object.assign({tagging:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),u=this._objectRequestParams("DELETE",a,i),u.successStatuses=[204],g.next=8,this.request(u);case 8:return f=g.sent,g.abrupt("return",{status:f.status,res:f.res});case 10:case"end":return g.stop()}},e,this)}));function c(e){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],35:[function(t,p,h){"use strict";t("core-js/modules/es.array.concat.js");var o=t("url"),r=t("../utils/isIP"),s=r.isIP,l=h;l.generateObjectUrl=function(c,e){if(s(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(e)e[e.length-1]!=="/"&&(e+="/");else{e=this.options.endpoint.format();var a=o.parse(e),i=this.options.bucket;a.hostname="".concat(i,".").concat(a.hostname),a.host="".concat(i,".").concat(a.host),e=a.format()}return e+this._escape(this._objectName(c))}},{"../utils/isIP":66,"core-js/modules/es.array.concat.js":241,url:404}],36:[function(t,p,h){(function(o){(function(){"use strict";var r=t("@babel/runtime/helpers/interopRequireDefault"),s=r(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var l=r(t("@babel/runtime/helpers/asyncToGenerator")),n=t("fs"),c=t("is-type-of"),e=h;e.get=function(){var a=(0,l.default)(s.default.mark(function u(f,m){var A,g,v,b,S,y,w,x,T=arguments;return s.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return A=T.length>2&&T[2]!==void 0?T[2]:{},g=null,v=!1,c.writableStream(m)?g=m:c.string(m)?(g=n.createWriteStream(m),v=!0):A=m,A=A||{},b=o&&o.browser,S=A.responseCacheControl===null?"":"no-cache",y=b&&S?{"response-cache-control":S}:{},A.subres=Object.assign(y,A.subres),A.versionId&&(A.subres.versionId=A.versionId),A.process&&(A.subres["x-oss-process"]=A.process),R.prev=11,x=this._objectRequestParams("GET",f,A),x.writeStream=g,x.successStatuses=[200,206,304],R.next=17,this.request(x);case 17:w=R.sent,v&&g.destroy(),R.next=28;break;case 21:if(R.prev=21,R.t0=R.catch(11),!v){R.next=27;break}return g.destroy(),R.next=27,this._deleteFileSafe(m);case 27:throw R.t0;case 28:return R.abrupt("return",{res:w.res,content:w.data});case 29:case"end":return R.stop()}},u,this,[[11,21]])}));function i(u,f){return a.apply(this,arguments)}return i}()}).call(this)}).call(this,t("_process"))},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,_process:399,"core-js/modules/es.object.assign.js":255,fs:84,"is-type-of":398}],37:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.getACL=function(){var n=(0,s.default)(r.default.mark(function e(a){var i,u,f,m=arguments;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return i=m.length>1&&m[1]!==void 0?m[1]:{},i.subres=Object.assign({acl:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),u=this._objectRequestParams("GET",a,i),u.successStatuses=[200],u.xmlResponse=!0,g.next=9,this.request(u);case 9:return f=g.sent,g.abrupt("return",{acl:f.data.AccessControlList.Grant,owner:{id:f.data.Owner.ID,displayName:f.data.Owner.DisplayName},res:f.res});case 11:case"end":return g.stop()}},e,this)}));function c(e){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],38:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.number.constructor.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h,n=t("../utils/isObject"),c=n.isObject,e=t("../utils/isArray"),a=e.isArray;l.getBucketVersions=i,l.listObjectVersions=i;function i(){return u.apply(this,arguments)}function u(){return u=(0,s.default)(r.default.mark(function A(){var g,v,b,S,y,w,x,T,L=arguments;return r.default.wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(g=L.length>0&&L[0]!==void 0?L[0]:{},v=L.length>1&&L[1]!==void 0?L[1]:{},!(g.versionIdMarker&&g.keyMarker===void 0)){P.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return v.subres=Object.assign({versions:""},v.subres),v.versionId&&(v.subres.versionId=v.versionId),b=this._objectRequestParams("GET","",v),b.xmlResponse=!0,b.successStatuses=[200],b.query=m(g),P.next=12,this.request(b);case 12:return S=P.sent,y=S.data.Version||[],w=S.data.DeleteMarker||[],x=this,y&&(Array.isArray(y)||(y=[y]),y=y.map(function(k){return{name:k.Key,url:x._objectUrl(k.Key),lastModified:k.LastModified,isLatest:k.IsLatest==="true",versionId:k.VersionId,etag:k.ETag,type:k.Type,size:Number(k.Size),storageClass:k.StorageClass,owner:{id:k.Owner.ID,displayName:k.Owner.DisplayName}}})),w&&(a(w)||(w=[w]),w=w.map(function(k){return{name:k.Key,lastModified:k.LastModified,versionId:k.VersionId,owner:{id:k.Owner.ID,displayName:k.Owner.DisplayName}}})),T=S.data.CommonPrefixes||null,T&&(a(T)||(T=[T]),T=T.map(function(k){return k.Prefix})),P.abrupt("return",{res:S.res,objects:y,deleteMarker:w,prefixes:T,nextMarker:S.data.NextKeyMarker||null,NextVersionIdMarker:S.data.NextVersionIdMarker||null,nextKeyMarker:S.data.NextKeyMarker||null,nextVersionIdMarker:S.data.NextVersionIdMarker||null,isTruncated:S.data.IsTruncated==="true"});case 21:case"end":return P.stop()}},A,this)})),u.apply(this,arguments)}function f(A){return A.replace(/([A-Z])/g,"-$1").toLowerCase()}function m(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g={};return c(A)&&Object.keys(A).forEach(function(v){g[f(v)]=A[v]}),g}},{"../utils/isArray":61,"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249,"core-js/modules/es.number.constructor.js":254,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],39:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.getObjectMeta=function(){var n=(0,s.default)(r.default.mark(function e(a,i){var u,f;return r.default.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return i=i||{},a=this._objectName(a),i.subres=Object.assign({objectMeta:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),u=this._objectRequestParams("HEAD",a,i),u.successStatuses=[200],A.next=8,this.request(u);case 8:return f=A.sent,A.abrupt("return",{status:f.status,res:f.res});case 10:case"end":return A.stop()}},e,this)}));function c(e,a){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],40:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js"),t("core-js/modules/web.dom-collections.for-each.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h,n=t("../utils/isObject"),c=n.isObject;l.getObjectTagging=function(){var e=(0,s.default)(r.default.mark(function i(u){var f,m,A,g,v,b,S=arguments;return r.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return f=S.length>1&&S[1]!==void 0?S[1]:{},f.subres=Object.assign({tagging:""},f.subres),f.versionId&&(f.subres.versionId=f.versionId),u=this._objectName(u),m=this._objectRequestParams("GET",u,f),m.successStatuses=[200],w.next=8,this.request(m);case 8:return A=w.sent,w.next=11,this.parseXML(A.data);case 11:return g=w.sent,v=g.TagSet.Tag,v=v&&c(v)?[v]:v||[],b={},v.forEach(function(x){b[x.Key]=x.Value}),w.abrupt("return",{status:A.status,res:A.res,tag:b});case 17:case"end":return w.stop()}},i,this)}));function a(i){return e.apply(this,arguments)}return a}()},{"../utils/isObject":67,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,"core-js/modules/web.dom-collections.for-each.js":296}],41:[function(t,p,h){"use strict";var o=t("../utils/isIP"),r=o.isIP,s=h;s.getObjectUrl=function(n,c){if(r(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return c?c[c.length-1]!=="/"&&(c+="/"):c=this.options.endpoint.format(),c+this._escape(this._objectName(n))}},{"../utils/isIP":66}],42:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.getSymlink=function(){var n=(0,s.default)(r.default.mark(function e(a){var i,u,f,m,A=arguments;return r.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return i=A.length>1&&A[1]!==void 0?A[1]:{},i.subres=Object.assign({symlink:""},i.subres),i.versionId&&(i.subres.versionId=i.versionId),a=this._objectName(a),u=this._objectRequestParams("GET",a,i),u.successStatuses=[200],v.next=8,this.request(u);case 8:return f=v.sent,m=f.res.headers["x-oss-symlink-target"],v.abrupt("return",{targetName:decodeURIComponent(m),res:f.res});case 11:case"end":return v.stop()}},e,this)}));function c(e){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],43:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.head=function(){var n=(0,s.default)(r.default.mark(function e(a){var i,u,f,m,A=arguments;return r.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return i=A.length>1&&A[1]!==void 0?A[1]:{},i.subres=Object.assign({},i.subres),i.versionId&&(i.subres.versionId=i.versionId),u=this._objectRequestParams("HEAD",a,i),u.successStatuses=[200,304],v.next=7,this.request(u);case 7:return f=v.sent,m={meta:null,res:f.res,status:f.status},f.status===200&&Object.keys(f.headers).forEach(function(b){b.indexOf("x-oss-meta-")===0&&(m.meta||(m.meta={}),m.meta[b.substring(11)]=f.headers[b])}),v.abrupt("return",m);case 11:case"end":return v.stop()}},e,this)}));function c(e){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],44:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.putACL=function(){var n=(0,s.default)(r.default.mark(function e(a,i,u){var f,m;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return u=u||{},u.subres=Object.assign({acl:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),u.headers=u.headers||{},u.headers["x-oss-object-acl"]=i,a=this._objectName(a),f=this._objectRequestParams("PUT",a,u),f.successStatuses=[200],g.next=10,this.request(f);case 10:return m=g.sent,g.abrupt("return",{res:m.res});case 12:case"end":return g.stop()}},e,this)}));function c(e,a,i){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],45:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.object.keys.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("../utils/obj2xml"),n=l.obj2xml,c=t("../utils/checkObjectTag"),e=c.checkObjectTag,a=h;a.putObjectTagging=function(){var i=(0,s.default)(r.default.mark(function f(m,A){var g,v,b,S,y=arguments;return r.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return g=y.length>2&&y[2]!==void 0?y[2]:{},e(A),g.subres=Object.assign({tagging:""},g.subres),g.versionId&&(g.subres.versionId=g.versionId),m=this._objectName(m),v=this._objectRequestParams("PUT",m,g),v.successStatuses=[200],A=Object.keys(A).map(function(T){return{Key:T,Value:A[T]}}),b={Tagging:{TagSet:{Tag:A}}},v.mime="xml",v.content=n(b),x.next=13,this.request(v);case 13:return S=x.sent,x.abrupt("return",{res:S.res,status:S.status});case 15:case"end":return x.stop()}},f,this)}));function u(f,m){return i.apply(this,arguments)}return u}()},{"../utils/checkObjectTag":52,"../utils/obj2xml":69,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.map.js":249,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257}],46:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=h;l.putSymlink=function(){var n=(0,s.default)(r.default.mark(function e(a,i,u){var f,m;return r.default.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return u=u||{},u.headers=u.headers||{},i=this._escape(this._objectName(i)),this._convertMetaToHeaders(u.meta,u.headers),u.headers["x-oss-symlink-target"]=i,u.subres=Object.assign({symlink:""},u.subres),u.versionId&&(u.subres.versionId=u.versionId),u.storageClass&&(u.headers["x-oss-storage-class"]=u.storageClass),a=this._objectName(a),f=this._objectRequestParams("PUT",a,u),f.successStatuses=[200],g.next=13,this.request(f);case 13:return m=g.sent,g.abrupt("return",{res:m.res});case 15:case"end":return g.stop()}},e,this)}));function c(e,a,i){return n.apply(this,arguments)}return c}()},{"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.object.assign.js":255}],47:[function(t,p,h){"use strict";t("core-js/modules/es.object.assign.js");var o=t("url"),r=t("utility"),s=t("copy-to"),l=t("../../common/signUtils"),n=t("../utils/isIP"),c=n.isIP,e=t("../../common/utils/isFunction"),a=e.isFunction,i=t("../utils/setSTSToken"),u=i.checkCredentials,f=t("../utils/formatObjKey"),m=f.formatObjKey,A=h;A.signatureUrl=function(v,b){var S=this;if(c(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");b=b||{},v=this._objectName(v),b.method=b.method||"GET";var y=r.timestamp()+(b.expires||1800),w={bucket:this.options.bucket,object:v},x=this._getResource(w);if(this.options.stsToken&&a(this.options.refreshSTSToken)){var T=new Date;this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval?(this.stsTokenFreshTime=T,this.options.refreshSTSToken().then(function(P){var k=m(P,"firstLowerCase");k.securityToken&&(k.stsToken=k.securityToken),u(k),Object.assign(S.options,k)})):this.stsTokenFreshTime=T}this.options.stsToken&&(b["security-token"]=this.options.stsToken);var L=l._signatureForURL(this.options.accessKeySecret,b,x,y),R=o.parse(this._getReqUrl(w));return R.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:L.Signature},s(L.subResource).to(R.query),R.format()}},{"../../common/signUtils":49,"../../common/utils/isFunction":65,"../utils/formatObjKey":59,"../utils/isIP":66,"../utils/setSTSToken":72,"copy-to":88,"core-js/modules/es.object.assign.js":255,url:404,utility:406}],48:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.array.iterator.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.string.iterator.js"),t("core-js/modules/web.dom-collections.iterator.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.function.name.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator")),l=t("./utils/isArray"),n=l.isArray,c=h;c._parallelNode=function(){var e=(0,s.default)(r.default.mark(function i(u,f,m,A){var g,v,b,S,y,w,x,T;return r.default.wrap(function(R){for(;;)switch(R.prev=R.next){case 0:g=this,v=[],b=[],S=u.length/f,y=u.length%f,w=y===0?S:(u.length-y)/f+1,x=1,T=0;case 8:if(!(T<u.length)){R.next=26;break}if(!g.isCancel()){R.next=11;break}return R.abrupt("break",26);case 11:if(A?b.push(m(g,u[T],A)):b.push(m(g,u[T])),!(b.length===f||x===w&&T===u.length-1)){R.next=23;break}return R.prev=13,x+=1,R.next=17,Promise.all(b);case 17:R.next=22;break;case 19:R.prev=19,R.t0=R.catch(13),v.push(R.t0);case 22:b=[];case 23:T++,R.next=8;break;case 26:return R.abrupt("return",v);case 27:case"end":return R.stop()}},i,this,[[13,19]])}));function a(i,u,f,m){return e.apply(this,arguments)}return a}(),c._parallel=function(a,i,u){var f=this;return new Promise(function(m){var A=[];if(i<=0||!a){m(A);return}function g(R){return function(){if(R===null)throw new Error("Callback was already called.");var P=R;R=null;for(var k=arguments.length,U=new Array(k),D=0;D<k;D++)U[D]=arguments[D];P.apply(this,U)}}function v(R){var P=-1,k=R.length;return function(){return++P<k&&!f.isCancel()?{value:R[P],key:P}:null}}var b=v(a),S=!1,y=0,w=!1;function x(R,P){y-=1,R?(S=!0,A.push(R),m(A)):P==={}||S&&y<=0?(S=!0,m(A)):w||(f.isCancel()?m(A):L())}function T(R,P){u(R).then(function(k){P(null,k)}).catch(function(k){P(k)})}function L(){for(w=!0;y<i&&!S&&!f.isCancel();){var R=b();if(R===null||A.length>0){S=!0,y<=0&&m(A);return}y+=1,T(R.value,g(x))}w=!1}L()})},c.cancel=function(a){this.options.cancelFlag=!0,n(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(i){if(i.destroyed===!1){var u={name:"cancel",message:"cancel"};i.destroy(u)}}),this.multipartUploadStreams=[],a&&this.abortMultipartUpload(a.name,a.uploadId,a.options)},c.isCancel=function(){return this.options.cancelFlag},c.resetCancelFlag=function(){this.options.cancelFlag=!1},c._stop=function(){this.options.cancelFlag=!0},c._makeCancelEvent=function(){var a={status:0,name:"cancel"};return a},c._makeAbortEvent=function(){var a={status:0,name:"abort",message:"upload task has been abort"};return a}},{"./utils/isArray":61,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.string.iterator.js":264,"core-js/modules/web.dom-collections.for-each.js":296,"core-js/modules/web.dom-collections.iterator.js":297}],49:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.string.trim.js"),t("core-js/modules/es.array.sort.js"),t("core-js/modules/es.array.join.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js");var r=t("./../../shims/crypto/crypto.js"),s=t("is-type-of"),l=t("./utils/lowercaseKeyHeader"),n=l.lowercaseKeyHeader;h.buildCanonicalizedResource=function(e,a){var i="".concat(e),u="?";if(s.string(a)&&a.trim()!=="")i+=u+a;else if(s.array(a))a.sort(),i+=u+a.join("&");else if(a){var f=function(g,v){return g[0]>v[0]?1:g[0]<v[0]?-1:0},m=function(g){i+=u+g,(a[g]||a[g]===0)&&(i+="=".concat(a[g])),u="&"};Object.keys(a).sort(f).forEach(m)}return i},h.buildCanonicalString=function(e,a,i,u){i=i||{};var f=n(i.headers),m="x-oss-",A=[],g={},v=[e.toUpperCase(),f["content-md5"]||"",f["content-type"],u||f["x-oss-date"]];return Object.keys(f).forEach(function(b){var S=b.toLowerCase();S.indexOf(m)===0&&(g[S]=String(f[b]).trim())}),Object.keys(g).sort().forEach(function(b){A.push("".concat(b,":").concat(g[b]))}),v=v.concat(A),v.push(this.buildCanonicalizedResource(a,i.parameters)),v.join(`
`)},h.computeSignature=function(e,a){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",u=r.createHmac("sha1",e);return u.update(o.from(a,i)).digest("base64")},h.authorization=function(e,a,i,u){return"OSS ".concat(e,":").concat(this.computeSignature(a,i,u))},h._signatureForURL=function(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,u=arguments.length>3?arguments[3]:void 0,f=arguments.length>4?arguments[4]:void 0,m={},A=a.subResource,g=A===void 0?{}:A;if(a.process){var v="x-oss-process";g[v]=a.process}if(a.trafficLimit){var b="x-oss-traffic-limit";g[b]=a.trafficLimit}if(a.response&&Object.keys(a.response).forEach(function(x){var T="response-".concat(x.toLowerCase());g[T]=a.response[x]}),Object.keys(a).forEach(function(x){var T=x.toLowerCase(),L=a[x];T.indexOf("x-oss-")===0?m[T]=L:(T.indexOf("content-md5")===0||T.indexOf("content-type")===0)&&(m[x]=L)}),Object.prototype.hasOwnProperty.call(a,"security-token")&&(g["security-token"]=a["security-token"]),Object.prototype.hasOwnProperty.call(a,"callback")){var S={callbackUrl:encodeURI(a.callback.url),callbackBody:a.callback.body};if(a.callback.host&&(S.callbackHost=a.callback.host),a.callback.contentType&&(S.callbackBodyType=a.callback.contentType),g.callback=o.from(JSON.stringify(S)).toString("base64"),a.callback.customValue){var y={};Object.keys(a.callback.customValue).forEach(function(x){y["x:".concat(x)]=a.callback.customValue[x]}),g["callback-var"]=o.from(JSON.stringify(y)).toString("base64")}}var w=this.buildCanonicalString(a.method,i,{headers:m,parameters:g},u.toString());return{Signature:this.computeSignature(e,w,f),subResource:g}}}).call(this)}).call(this,t("buffer").Buffer)},{"./../../shims/crypto/crypto.js":393,"./utils/lowercaseKeyHeader":68,buffer:85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.sort.js":251,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.trim.js":269,"core-js/modules/web.dom-collections.for-each.js":296,"is-type-of":398}],50:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.checkBucketName=void 0,h.checkBucketName=function(o){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=r?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!s.test(o))throw new Error("The bucket must be conform to the specifications")}},{}],51:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.checkConfigValid=void 0;var o={endpoint:r,region:/^[a-zA-Z0-9\-_]+$/};function r(s){return typeof s=="string"?/^[a-zA-Z0-9._:/-]+$/.test(s):s.host?/^[a-zA-Z0-9._:/-]+$/.test(s.host):!1}h.checkConfigValid=function(s,l){if(o[l]){var n=!0;if(o[l]instanceof Function?n=o[l](s):n=o[l].test(s),!n)throw new Error("The ".concat(l," must be conform to the specifications"))}}},{}],52:[function(t,p,h){"use strict";t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.object.entries.js"),t("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.checkObjectTag=void 0;var o=t("./checkValid"),r=o.checkValid,s=t("./isObject"),l=s.isObject,n=[{validator:function(i){if(typeof i!="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 (/)"}],c={key:[].concat(n,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(n,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function e(a){if(!l(a))throw new Error("tag must be Object");var i=Object.entries(a);if(i.length>10)throw new Error("maximum of 10 tags for a object");var u=["key","value"];i.forEach(function(f){f.forEach(function(m,A){r(m,c[u[A]])})})}h.checkObjectTag=e},{"./checkValid":53,"./isObject":67,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.object.entries.js":256,"core-js/modules/web.dom-collections.for-each.js":296}],53:[function(t,p,h){"use strict";t("core-js/modules/web.dom-collections.for-each.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.checkValid=void 0;function o(r,s){s.forEach(function(l){if(l.validator)l.validator(r);else if(l.pattern&&!l.pattern.test(r))throw new Error(l.msg)})}h.checkValid=o},{"core-js/modules/web.dom-collections.for-each.js":296}],54:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.array.includes.js"),t("core-js/modules/es.string.includes.js"),t("core-js/modules/es.object.assign.js"),t("core-js/modules/es.array.concat.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.createRequest=void 0;var r=t("./../../../shims/crypto/crypto.js"),s=t("debug")("ali-oss"),l=t("mime"),n=t("dateformat"),c=t("copy-to"),e=t("path"),a=t("./encoder"),i=a.encoder,u=t("./isIP"),f=u.isIP,m=t("./setRegion"),A=m.setRegion,g=t("../client/getReqUrl"),v=g.getReqUrl;function b(w,x){return w[x]||w[x.toLowerCase()]}function S(w,x){delete w[x],delete w[x.toLowerCase()]}function y(w){var x=new Date;this.options.amendTimeSkewed&&(x=+new Date+this.options.amendTimeSkewed);var T={"x-oss-date":n(x,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(T["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(T["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(T,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(T["x-oss-security-token"]=this.options.stsToken),c(w.headers).to(T),b(T,"Content-Type")||(w.mime&&w.mime.indexOf("/")>0?T["Content-Type"]=w.mime:T["Content-Type"]=l.getType(w.mime||e.extname(w.object||""))),b(T,"Content-Type")||S(T,"Content-Type"),w.content&&(w.disabledMD5||(T["Content-MD5"]=r.createHash("md5").update(o.from(w.content,"utf8")).digest("base64")),T["Content-Length"]||(T["Content-Length"]=w.content.length));var L=Object.prototype.hasOwnProperty;for(var R in T)T[R]&&L.call(T,R)&&(T[R]=i(String(T[R]),this.options.headerEncoding));var P=this._getResource(w);if(T.authorization=this.authorization(w.method,P,w.subres,T,this.options.headerEncoding),f(this.options.endpoint.hostname)){var k=this.options,U=k.region,D=k.internal,M=k.secure,B=A(U,D,M);T.host="".concat(w.bucket,".").concat(B.host)}var j=v.bind(this)(w);s("request %s %s, with headers %j, !!stream: %s",w.method,j,T,!!w.stream);var H=w.timeout||this.options.timeout,K={method:w.method,content:w.content,stream:w.stream,headers:T,timeout:H,writeStream:w.writeStream,customResponse:w.customResponse,ctx:w.ctx||this.ctx};return this.agent&&(K.agent=this.agent),this.httpsAgent&&(K.httpsAgent=this.httpsAgent),K.enableProxy=!!this.options.enableProxy,K.proxy=this.options.proxy?this.options.proxy:null,{url:j,params:K}}h.createRequest=y}).call(this)}).call(this,t("buffer").Buffer)},{"../client/getReqUrl":25,"./../../../shims/crypto/crypto.js":393,"./encoder":57,"./isIP":66,"./setRegion":71,buffer:85,"copy-to":88,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.string.includes.js":263,dateformat:299,debug:397,mime:317,path:321}],55:[function(t,p,h){"use strict";t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.entries.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/es.array.includes.js"),t("core-js/modules/es.object.keys.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.dataFix=void 0;var o=t("./isObject"),r=["true","TRUE","1",1],s=["false","FALSE","0",0];function l(e,a,i){if(!o.isObject(e))return;var u=a.remove,f=u===void 0?[]:u,m=a.rename,A=m===void 0?{}:m,g=a.camel,v=g===void 0?[]:g,b=a.bool,S=b===void 0?[]:b,y=a.lowerFirst,w=y===void 0?!1:y;return f.forEach(function(x){return delete e[x]}),Object.entries(A).forEach(function(x){if(!e[x[0]])return;if(e[x[1]])return;e[x[1]]=e[x[0]],delete e[x[0]]}),v.forEach(function(x){if(!e[x])return;var T=x.replace(/^(.)/,function(L){return L.toLowerCase()}).replace(/-(\w)/g,function(L,R){return R.toUpperCase()});if(e[T])return;e[T]=e[x]}),S.forEach(function(x){e[x]=n(e[x])}),typeof i=="function"&&i(e),c(e,w),l}h.dataFix=l;function n(e){return e?r.includes(e)?!0:s.includes(e)?!1:e:!1}function c(e,a){a&&Object.keys(e).forEach(function(i){var u=i.replace(/^\w/,function(f){return f.toLowerCase()});typeof e[u]=="undefined"&&(e[u]=e[i],delete e[i])})}},{"./isObject":67,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.entries.js":256,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],56:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault");t("core-js/modules/es.array.slice.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js");var r=o(t("@babel/runtime/helpers/typeof"));Object.defineProperty(h,"__esModule",{value:!0}),h.deepCopyWith=h.deepCopy=void 0;var s=t("./isBuffer");h.deepCopy=function(l){if(l===null||(0,r.default)(l)!=="object")return l;if(s.isBuffer(l))return l.slice();var n=Array.isArray(l)?[]:{};return Object.keys(l).forEach(function(c){n[c]=h.deepCopy(l[c])}),n},h.deepCopyWith=function(l,n){function c(e,a,i){var u=n(e,a,i);if(u!==void 0)return u;if(e===null||(0,r.default)(e)!=="object")return e;if(s.isBuffer(e))return e.slice();var f=Array.isArray(e)?[]:{};return Object.keys(e).forEach(function(m){f[m]=c(e[m],m,e)}),f}return n?c(l,"",null):h.deepCopy(l)}},{"./isBuffer":63,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],57:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.encoder=void 0;function r(s){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return l==="utf-8"?s:o.from(s).toString("latin1")}h.encoder=r}).call(this)}).call(this,t("buffer").Buffer)},{buffer:85,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],58:[function(t,p,h){"use strict";t("core-js/modules/es.array.map.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.formatInventoryConfig=void 0;var o=t("../utils/dataFix"),r=t("../utils/isObject"),s=t("../utils/isArray"),l=t("../utils/formatObjKey");function n(e){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return a&&r.isObject(e)&&(e=[e]),s.isArray(e)?e=e.map(c):e=c(e),e}h.formatInventoryConfig=n;function c(e){return o.dataFix(e,{bool:["IsEnabled"]},function(a){var i,u;a.prefix=a.Filter.Prefix,delete a.Filter,a.OSSBucketDestination=a.Destination.OSSBucketDestination,a.OSSBucketDestination.rolename=a.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete a.OSSBucketDestination.RoleArn,a.OSSBucketDestination.bucket=a.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete a.OSSBucketDestination.Bucket,delete a.Destination,a.frequency=a.Schedule.Frequency,delete a.Schedule.Frequency,((i=a==null?void 0:a.OptionalFields)===null||i===void 0?void 0:i.Field)&&!s.isArray((u=a.OptionalFields)===null||u===void 0?void 0:u.Field)&&(a.OptionalFields.Field=[a.OptionalFields.Field])}),e=l.formatObjKey(e,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),e}},{"../utils/dataFix":55,"../utils/formatObjKey":59,"../utils/isArray":61,"../utils/isObject":67,"core-js/modules/es.array.map.js":249,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.replace.js":266}],59:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault");t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.includes.js"),t("core-js/modules/es.string.includes.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js");var r=o(t("@babel/runtime/helpers/typeof"));Object.defineProperty(h,"__esModule",{value:!0}),h.formatObjKey=void 0;function s(n,c,e){if(n===null||(0,r.default)(n)!=="object")return n;var a;if(Array.isArray(n)){a=[];for(var i=0;i<n.length;i++)a.push(s(n[i],c,e))}else a={},Object.keys(n).forEach(function(u){a[l(u,c,e)]=s(n[u],c,e)});return a}h.formatObjKey=s;function l(n,c,e){var a;return e&&((a=e.exclude)===null||a===void 0?void 0:a.includes(n))||(c==="firstUpperCase"?n=n.replace(/^./,function(i){return i.toUpperCase()}):c==="firstLowerCase"&&(n=n.replace(/^./,function(i){return i.toLowerCase()}))),n}},{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.includes.js":246,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.includes.js":263,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],60:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.getStrBytesCount=void 0;function o(r){for(var s=0,l=0;l<r.length;l++){var n=r.charAt(l);/^[\u00-\uff]$/.test(n)?s+=1:s+=2}return s}h.getStrBytesCount=o},{}],61:[function(t,p,h){"use strict";t("core-js/modules/es.object.to-string.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.isArray=void 0,h.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":258}],62:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isBlob=void 0;function o(r){return typeof Blob!="undefined"&&r instanceof Blob}h.isBlob=o},{}],63:[function(t,p,h){(function(o){(function(){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isBuffer=void 0;function r(s){return o.isBuffer(s)}h.isBuffer=r}).call(this)}).call(this,{isBuffer:t("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":312}],64:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFile=void 0,h.isFile=function(o){return typeof File!="undefined"&&o instanceof File}},{}],65:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFunction=void 0,h.isFunction=function(o){return typeof o=="function"}},{}],66:[function(t,p,h){"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isIP=void 0,h.isIP=function(o){var r=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|[0-1]?\d?\d)){3}$/,s=/^\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 r.test(o)||s.test(o)}},{}],67:[function(t,p,h){"use strict";t("core-js/modules/es.object.to-string.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.isObject=void 0,h.isObject=function(o){return Object.prototype.toString.call(o)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":258}],68:[function(t,p,h){"use strict";t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.lowercaseKeyHeader=void 0;var o=t("./isObject");function r(s){var l={};return o.isObject(s)&&Object.keys(s).forEach(function(n){l[n.toLowerCase()]=s[n]}),l}h.lowercaseKeyHeader=r},{"./isObject":67,"core-js/modules/es.object.keys.js":257,"core-js/modules/web.dom-collections.for-each.js":296}],69:[function(t,p,h){"use strict";t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.array.join.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.obj2xml=void 0;var o=t("./formatObjKey");function r(l){return Object.prototype.toString.call(l).replace(/(.*? |])/g,"").toLowerCase()}function s(l,n){var c="";return n&&n.headers&&(c=`<?xml version="1.0" encoding="UTF-8"?>
`),n&&n.firstUpperCase&&(l=o.formatObjKey(l,"firstUpperCase")),r(l)==="object"?Object.keys(l).forEach(function(e){r(l[e])!=="undefined"&&r(l[e])!=="null"&&(r(l[e])==="string"||r(l[e])==="number"?c+="<".concat(e,">").concat(l[e],"</").concat(e,">"):r(l[e])==="object"?c+="<".concat(e,">").concat(s(l[e]),"</").concat(e,">"):r(l[e])==="array"?c+=l[e].map(function(a){return"<".concat(e,">").concat(s(a),"</").concat(e,">")}).join(""):c+="<".concat(e,">").concat(l[e].toString(),"</").concat(e,">"))}):c+=l.toString(),c}h.obj2xml=s},{"./formatObjKey":59,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.map.js":249,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266,"core-js/modules/web.dom-collections.for-each.js":296}],70:[function(t,p,h){"use strict";t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),Object.defineProperty(h,"__esModule",{value:!0}),h.retry=void 0;function o(r,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=0,c=l.retryDelay,e=c===void 0?500:c,a=l.errorHandler,i=a===void 0?function(){return!0}:a,u=function f(){for(var m=arguments.length,A=new Array(m),g=0;g<m;g++)A[g]=arguments[g];return new Promise(function(v,b){r.apply(void 0,A).then(function(S){n=0,v(S)}).catch(function(S){n<s&&i(S)?(n++,setTimeout(function(){v(f.apply(void 0,A))},e)):(n=0,b(S))})})};return u}h.retry=o},{"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259}],71:[function(t,p,h){"use strict";var o=function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(h,"__esModule",{value:!0}),h.setRegion=void 0;var r=o(t("url")),s=t("./checkConfigValid");function l(n){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;s.checkConfigValid(n,"region");var a=e?"https://":"http://",i=c?"-internal.aliyuncs.com":".aliyuncs.com",u="vpc100-oss-cn-";return n.substr(0,u.length)===u&&(i=".aliyuncs.com"),r.default.parse(a+n+i)}h.setRegion=l},{"./checkConfigValid":51,url:404}],72:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/regenerator"));t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.find.js"),t("core-js/modules/es.object.assign.js");var s=o(t("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(h,"__esModule",{value:!0}),h.checkCredentials=h.setSTSToken=void 0;var l=t("./formatObjKey");function n(){return c.apply(this,arguments)}function c(){return c=(0,s.default)(r.default.mark(function a(){var i,u;return r.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(this.options||(this.options={}),i=new Date,!this.stsTokenFreshTime){m.next=14;break}if(!(+i-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){m.next=12;break}return this.stsTokenFreshTime=i,m.next=7,this.options.refreshSTSToken();case 7:u=m.sent,u=l.formatObjKey(u,"firstLowerCase"),u.securityToken&&(u.stsToken=u.securityToken),e(u),Object.assign(this.options,u);case 12:m.next=15;break;case 14:this.stsTokenFreshTime=i;case 15:return m.abrupt("return",null);case 16:case"end":return m.stop()}},a,this)})),c.apply(this,arguments)}h.setSTSToken=n;function e(a){var i=["accessKeySecret","accessKeyId","stsToken"],u=Object.keys(a);i.forEach(function(f){if(!u.find(function(m){return m===f}))throw Error("refreshSTSToken must return contains ".concat(f))})}h.checkCredentials=e},{"./formatObjKey":59,"@babel/runtime/helpers/asyncToGenerator":73,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/regenerator":76,"core-js/modules/es.array.find.js":244,"core-js/modules/es.object.assign.js":255,"core-js/modules/es.object.keys.js":257}],73:[function(t,p,h){function o(s,l,n,c,e,a,i){try{var u=s[a](i),f=u.value}catch(m){n(m);return}u.done?l(f):Promise.resolve(f).then(c,e)}function r(s){return function(){var l=this,n=arguments;return new Promise(function(c,e){var a=s.apply(l,n);function i(f){o(a,c,e,i,u,"next",f)}function u(f){o(a,c,e,i,u,"throw",f)}i(void 0)})}}p.exports=r,p.exports.default=p.exports,p.exports.__esModule=!0},{}],74:[function(t,p,h){function o(r){return r&&r.__esModule?r:{default:r}}p.exports=o,p.exports.default=p.exports,p.exports.__esModule=!0},{}],75:[function(t,p,h){function o(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?(p.exports=o=function(l){return typeof l},p.exports.default=p.exports,p.exports.__esModule=!0):(p.exports=o=function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},p.exports.default=p.exports,p.exports.__esModule=!0),o(r)}p.exports=o,p.exports.default=p.exports,p.exports.__esModule=!0},{}],76:[function(t,p,h){p.exports=t("regenerator-runtime")},{"regenerator-runtime":342}],77:[function(t,p,h){p.exports=o,p.exports.HttpsAgent=o;function o(){}},{}],78:[function(t,p,h){(function(o){(function(){"use strict";var r=t("object-assign");/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/function s(M,B){if(M===B)return 0;for(var j=M.length,H=B.length,K=0,W=Math.min(j,H);K<W;++K)if(M[K]!==B[K]){j=M[K],H=B[K];break}return j<H?-1:H<j?1:0}function l(M){return o.Buffer&&typeof o.Buffer.isBuffer=="function"?o.Buffer.isBuffer(M):!!(M!=null&&M._isBuffer)}var n=t("util/"),c=Object.prototype.hasOwnProperty,e=Array.prototype.slice,a=function(){return function(){}.name==="foo"}();function i(M){return Object.prototype.toString.call(M)}function u(M){return l(M)||typeof o.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(M):M?M instanceof DataView?!0:!!(M.buffer&&M.buffer instanceof ArrayBuffer):!1}var f=p.exports=y,m=/\s*function\s+([^\(\s]*)\s*/;function A(M){if(!n.isFunction(M))return;if(a)return M.name;var B=M.toString(),j=B.match(m);return j&&j[1]}f.AssertionError=function(B){this.name="AssertionError",this.actual=B.actual,this.expected=B.expected,this.operator=B.operator,B.message?(this.message=B.message,this.generatedMessage=!1):(this.message=b(this),this.generatedMessage=!0);var j=B.stackStartFunction||S;if(Error.captureStackTrace)Error.captureStackTrace(this,j);else{var H=new Error;if(H.stack){var K=H.stack,W=A(j),X=K.indexOf(`
`+W);if(X>=0){var V=K.indexOf(`
`,X+1);K=K.substring(V+1)}this.stack=K}}},n.inherits(f.AssertionError,Error);function g(M,B){return typeof M=="string"?M.length<B?M:M.slice(0,B):M}function v(M){if(a||!n.isFunction(M))return n.inspect(M);var B=A(M),j=B?": "+B:"";return"[Function"+j+"]"}function b(M){return g(v(M.actual),128)+" "+M.operator+" "+g(v(M.expected),128)}function S(M,B,j,H,K){throw new f.AssertionError({message:j,actual:M,expected:B,operator:H,stackStartFunction:K})}f.fail=S;function y(M,B){M||S(M,!0,B,"==",f.ok)}f.ok=y,f.equal=function(B,j,H){B!=j&&S(B,j,H,"==",f.equal)},f.notEqual=function(B,j,H){B==j&&S(B,j,H,"!=",f.notEqual)},f.deepEqual=function(B,j,H){w(B,j,!1)||S(B,j,H,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(B,j,H){w(B,j,!0)||S(B,j,H,"deepStrictEqual",f.deepStrictEqual)};function w(M,B,j,H){if(M===B)return!0;if(l(M)&&l(B))return s(M,B)===0;if(n.isDate(M)&&n.isDate(B))return M.getTime()===B.getTime();if(n.isRegExp(M)&&n.isRegExp(B))return M.source===B.source&&M.global===B.global&&M.multiline===B.multiline&&M.lastIndex===B.lastIndex&&M.ignoreCase===B.ignoreCase;if((M===null||typeof M!="object")&&(B===null||typeof B!="object"))return j?M===B:M==B;if(u(M)&&u(B)&&i(M)===i(B)&&!(M instanceof Float32Array||M instanceof Float64Array))return s(new Uint8Array(M.buffer),new Uint8Array(B.buffer))===0;if(l(M)!==l(B))return!1;H=H||{actual:[],expected:[]};var K=H.actual.indexOf(M);return K!==-1&&K===H.expected.indexOf(B)?!0:(H.actual.push(M),H.expected.push(B),T(M,B,j,H))}function x(M){return Object.prototype.toString.call(M)=="[object Arguments]"}function T(M,B,j,H){if(M==null||B===null||B===void 0)return!1;if(n.isPrimitive(M)||n.isPrimitive(B))return M===B;if(j&&Object.getPrototypeOf(M)!==Object.getPrototypeOf(B))return!1;var K=x(M),W=x(B);if(K&&!W||!K&&W)return!1;if(K)return M=e.call(M),B=e.call(B),w(M,B,j);var X=D(M),V=D(B),Z,G;if(X.length!==V.length)return!1;for(X.sort(),V.sort(),G=X.length-1;G>=0;G--)if(X[G]!==V[G])return!1;for(G=X.length-1;G>=0;G--)if(Z=X[G],!w(M[Z],B[Z],j,H))return!1;return!0}f.notDeepEqual=function(B,j,H){w(B,j,!1)&&S(B,j,H,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=L;function L(M,B,j){w(M,B,!0)&&S(M,B,j,"notDeepStrictEqual",L)}f.strictEqual=function(B,j,H){B!==j&&S(B,j,H,"===",f.strictEqual)},f.notStrictEqual=function(B,j,H){B===j&&S(B,j,H,"!==",f.notStrictEqual)};function R(M,B){if(!M||!B)return!1;if(Object.prototype.toString.call(B)=="[object RegExp]")return B.test(M);try{if(M instanceof B)return!0}catch(j){}return Error.isPrototypeOf(B)?!1:B.call({},M)===!0}function P(M){var B;try{M()}catch(j){B=j}return B}function k(M,B,j,H){var K;if(typeof B!="function")throw new TypeError('"block" argument must be a function');typeof j=="string"&&(H=j,j=null),K=P(B),H=(j&&j.name?" ("+j.name+").":".")+(H?" "+H:"."),M&&!K&&S(K,j,"Missing expected exception"+H);var W=typeof H=="string",X=!M&&n.isError(K),V=!M&&K&&!j;if((X&&W&&R(K,j)||V)&&S(K,j,"Got unwanted exception"+H),M&&K&&j&&!R(K,j)||!M&&K)throw K}f.throws=function(M,B,j){k(!0,M,B,j)},f.doesNotThrow=function(M,B,j){k(!1,M,B,j)},f.ifError=function(M){if(M)throw M};function U(M,B){M||S(M,!0,B,"==",U)}f.strict=r(U,f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var D=Object.keys||function(M){var B=[];for(var j in M)c.call(M,j)&&B.push(j);return B}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":320,"util/":81}],79:[function(t,p,h){typeof Object.create=="function"?p.exports=function(r,s){r.super_=s,r.prototype=Object.create(s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:p.exports=function(r,s){r.super_=s;var l=function(){};l.prototype=s.prototype,r.prototype=new l,r.prototype.constructor=r}},{}],80:[function(t,p,h){p.exports=function(r){return r&&typeof r=="object"&&typeof r.copy=="function"&&typeof r.fill=="function"&&typeof r.readUInt8=="function"}},{}],81:[function(t,p,h){(function(o,r){(function(){var s=/%[sdj%]/g;h.format=function(V){if(!T(V)){for(var Z=[],G=0;G<arguments.length;G++)Z.push(c(arguments[G]));return Z.join(" ")}for(var G=1,Y=arguments,te=Y.length,se=String(V).replace(s,function(he){if(he==="%%")return"%";if(G>=te)return he;switch(he){case"%s":return String(Y[G++]);case"%d":return Number(Y[G++]);case"%j":try{return JSON.stringify(Y[G++])}catch(xe){return"[Circular]"}default:return he}}),Ce=Y[G];G<te;Ce=Y[++G])y(Ce)||!k(Ce)?se+=" "+Ce:se+=" "+c(Ce);return se},h.deprecate=function(V,Z){if(R(r.process))return function(){return h.deprecate(V,Z).apply(this,arguments)};if(o.noDeprecation===!0)return V;var G=!1;function Y(){if(!G){if(o.throwDeprecation)throw new Error(Z);o.traceDeprecation?console.trace(Z):console.error(Z),G=!0}return V.apply(this,arguments)}return Y};var l={},n;h.debuglog=function(V){if(R(n)&&(n=o.env.NODE_DEBUG||""),V=V.toUpperCase(),!l[V])if(new RegExp("\\b"+V+"\\b","i").test(n)){var Z=o.pid;l[V]=function(){var G=h.format.apply(h,arguments);console.error("%s %d: %s",V,Z,G)}}else l[V]=function(){};return l[V]};function c(V,Z){var G={seen:[],stylize:a};return arguments.length>=3&&(G.depth=arguments[2]),arguments.length>=4&&(G.colors=arguments[3]),S(Z)?G.showHidden=Z:Z&&h._extend(G,Z),R(G.showHidden)&&(G.showHidden=!1),R(G.depth)&&(G.depth=2),R(G.colors)&&(G.colors=!1),R(G.customInspect)&&(G.customInspect=!0),G.colors&&(G.stylize=e),u(G,V,G.depth)}h.inspect=c,c.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]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function e(V,Z){var G=c.styles[Z];return G?"["+c.colors[G][0]+"m"+V+"["+c.colors[G][1]+"m":V}function a(V,Z){return V}function i(V){var Z={};return V.forEach(function(G,Y){Z[G]=!0}),Z}function u(V,Z,G){if(V.customInspect&&Z&&M(Z.inspect)&&Z.inspect!==h.inspect&&!(Z.constructor&&Z.constructor.prototype===Z)){var Y=Z.inspect(G,V);return T(Y)||(Y=u(V,Y,G)),Y}var te=f(V,Z);if(te)return te;var se=Object.keys(Z),Ce=i(se);if(V.showHidden&&(se=Object.getOwnPropertyNames(Z)),D(Z)&&(se.indexOf("message")>=0||se.indexOf("description")>=0))return m(Z);if(se.length===0){if(M(Z)){var he=Z.name?": "+Z.name:"";return V.stylize("[Function"+he+"]","special")}if(P(Z))return V.stylize(RegExp.prototype.toString.call(Z),"regexp");if(U(Z))return V.stylize(Date.prototype.toString.call(Z),"date");if(D(Z))return m(Z)}var xe="",ie=!1,ee=["{","}"];if(b(Z)&&(ie=!0,ee=["[","]"]),M(Z)){var Ze=Z.name?": "+Z.name:"";xe=" [Function"+Ze+"]"}if(P(Z)&&(xe=" "+RegExp.prototype.toString.call(Z)),U(Z)&&(xe=" "+Date.prototype.toUTCString.call(Z)),D(Z)&&(xe=" "+m(Z)),se.length===0&&(!ie||Z.length==0))return ee[0]+xe+ee[1];if(G<0)return P(Z)?V.stylize(RegExp.prototype.toString.call(Z),"regexp"):V.stylize("[Object]","special");V.seen.push(Z);var Se;return ie?Se=A(V,Z,G,Ce,se):Se=se.map(function(Ne){return g(V,Z,G,Ce,Ne,ie)}),V.seen.pop(),v(Se,xe,ee)}function f(V,Z){if(R(Z))return V.stylize("undefined","undefined");if(T(Z)){var G="'"+JSON.stringify(Z).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return V.stylize(G,"string")}if(x(Z))return V.stylize(""+Z,"number");if(S(Z))return V.stylize(""+Z,"boolean");if(y(Z))return V.stylize("null","null")}function m(V){return"["+Error.prototype.toString.call(V)+"]"}function A(V,Z,G,Y,te){for(var se=[],Ce=0,he=Z.length;Ce<he;++Ce)X(Z,String(Ce))?se.push(g(V,Z,G,Y,String(Ce),!0)):se.push("");return te.forEach(function(xe){xe.match(/^\d+$/)||se.push(g(V,Z,G,Y,xe,!0))}),se}function g(V,Z,G,Y,te,se){var Ce,he,xe;if(xe=Object.getOwnPropertyDescriptor(Z,te)||{value:Z[te]},xe.get?xe.set?he=V.stylize("[Getter/Setter]","special"):he=V.stylize("[Getter]","special"):xe.set&&(he=V.stylize("[Setter]","special")),X(Y,te)||(Ce="["+te+"]"),he||(V.seen.indexOf(xe.value)<0?(y(G)?he=u(V,xe.value,null):he=u(V,xe.value,G-1),he.indexOf(`
`)>-1&&(se?he=he.split(`
`).map(function(ie){return" "+ie}).join(`
`).substr(2):he=`
`+he.split(`
`).map(function(ie){return" "+ie}).join(`
`))):he=V.stylize("[Circular]","special")),R(Ce)){if(se&&te.match(/^\d+$/))return he;Ce=JSON.stringify(""+te),Ce.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Ce=Ce.substr(1,Ce.length-2),Ce=V.stylize(Ce,"name")):(Ce=Ce.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Ce=V.stylize(Ce,"string"))}return Ce+": "+he}function v(V,Z,G){var Y=0,te=V.reduce(function(se,Ce){return Y++,Ce.indexOf(`
`)>=0&&Y++,se+Ce.replace(/\u001b\[\d\d?m/g,"").length+1},0);return te>60?G[0]+(Z===""?"":Z+`
`)+" "+V.join(`,
`)+" "+G[1]:G[0]+Z+" "+V.join(", ")+" "+G[1]}function b(V){return Array.isArray(V)}h.isArray=b;function S(V){return typeof V=="boolean"}h.isBoolean=S;function y(V){return V===null}h.isNull=y;function w(V){return V==null}h.isNullOrUndefined=w;function x(V){return typeof V=="number"}h.isNumber=x;function T(V){return typeof V=="string"}h.isString=T;function L(V){return typeof V=="symbol"}h.isSymbol=L;function R(V){return V===void 0}h.isUndefined=R;function P(V){return k(V)&&j(V)==="[object RegExp]"}h.isRegExp=P;function k(V){return typeof V=="object"&&V!==null}h.isObject=k;function U(V){return k(V)&&j(V)==="[object Date]"}h.isDate=U;function D(V){return k(V)&&(j(V)==="[object Error]"||V instanceof Error)}h.isError=D;function M(V){return typeof V=="function"}h.isFunction=M;function B(V){return V===null||typeof V=="boolean"||typeof V=="number"||typeof V=="string"||typeof V=="symbol"||typeof V=="undefined"}h.isPrimitive=B,h.isBuffer=t("./support/isBuffer");function j(V){return Object.prototype.toString.call(V)}function H(V){return V<10?"0"+V.toString(10):V.toString(10)}var K=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function W(){var V=new Date,Z=[H(V.getHours()),H(V.getMinutes()),H(V.getSeconds())].join(":");return[V.getDate(),K[V.getMonth()],Z].join(" ")}h.log=function(){console.log("%s - %s",W(),h.format.apply(h,arguments))},h.inherits=t("inherits"),h._extend=function(V,Z){if(!Z||!k(Z))return V;for(var G=Object.keys(Z),Y=G.length;Y--;)V[G[Y]]=Z[G[Y]];return V};function X(V,Z){return Object.prototype.hasOwnProperty.call(V,Z)}}).call(this)}).call(this,t("_process"),typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":80,_process:399,inherits:79}],82:[function(t,p,h){"use strict";h.byteLength=a,h.toByteArray=u,h.fromByteArray=A;for(var o=[],r=[],s=typeof Uint8Array!="undefined"?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,c=l.length;n<c;++n)o[n]=l[n],r[l.charCodeAt(n)]=n;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63;function e(g){var v=g.length;if(v%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=g.indexOf("=");b===-1&&(b=v);var S=b===v?0:4-b%4;return[b,S]}function a(g){var v=e(g),b=v[0],S=v[1];return(b+S)*3/4-S}function i(g,v,b){return(v+b)*3/4-b}function u(g){var v,b=e(g),S=b[0],y=b[1],w=new s(i(g,S,y)),x=0,T=y>0?S-4:S,L;for(L=0;L<T;L+=4)v=r[g.charCodeAt(L)]<<18|r[g.charCodeAt(L+1)]<<12|r[g.charCodeAt(L+2)]<<6|r[g.charCodeAt(L+3)],w[x++]=v>>16&255,w[x++]=v>>8&255,w[x++]=v&255;return y===2&&(v=r[g.charCodeAt(L)]<<2|r[g.charCodeAt(L+1)]>>4,w[x++]=v&255),y===1&&(v=r[g.charCodeAt(L)]<<10|r[g.charCodeAt(L+1)]<<4|r[g.charCodeAt(L+2)]>>2,w[x++]=v>>8&255,w[x++]=v&255),w}function f(g){return o[g>>18&63]+o[g>>12&63]+o[g>>6&63]+o[g&63]}function m(g,v,b){for(var S,y=[],w=v;w<b;w+=3)S=(g[w]<<16&16711680)+(g[w+1]<<8&65280)+(g[w+2]&255),y.push(f(S));return y.join("")}function A(g){for(var v,b=g.length,S=b%3,y=[],w=16383,x=0,T=b-S;x<T;x+=w)y.push(m(g,x,x+w>T?T:x+w));return S===1?(v=g[b-1],y.push(o[v>>2]+o[v<<4&63]+"==")):S===2&&(v=(g[b-2]<<8)+g[b-1],y.push(o[v>>10]+o[v>>4&63]+o[v<<2&63]+"=")),y.join("")}},{}],83:[function(t,p,h){/*!
* Bowser - a browser detector
* https://github.com/ded/bowser
* MIT License | (c) Dustin Diaz 2015
*/!function(o,r,s){typeof p!="undefined"&&p.exports?p.exports=s():typeof I=="function"&&I.amd?I(r,s):o[r]=s()}(this,"bowser",function(){var o=!0;function r(i){function u(Z){var G=i.match(Z);return G&&G.length>1&&G[1]||""}function f(Z){var G=i.match(Z);return G&&G.length>1&&G[2]||""}var m=u(/(ipod|iphone|ipad)/i).toLowerCase(),A=/like android/i.test(i),g=!A&&/android/i.test(i),v=/nexus\s*[0-6]\s*/i.test(i),b=!v&&/nexus\s*[0-9]+/i.test(i),S=/CrOS/.test(i),y=/silk/i.test(i),w=/sailfish/i.test(i),x=/tizen/i.test(i),T=/(web|hpw)(o|0)s/i.test(i),L=/windows phone/i.test(i),R=/SamsungBrowser/i.test(i),P=!L&&/windows/i.test(i),k=!m&&!y&&/macintosh/i.test(i),U=!g&&!w&&!x&&!T&&/linux/i.test(i),D=f(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),M=u(/version\/(\d+(\.\d+)?)/i),B=/tablet/i.test(i)&&!/tablet pc/i.test(i),j=!B&&/[^-]mobi/i.test(i),H=/xbox/i.test(i),K;/opera/i.test(i)?K={name:"Opera",opera:o,version:M||u(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(i)?K={name:"Opera",opera:o,version:u(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||M}:/SamsungBrowser/i.test(i)?K={name:"Samsung Internet for Android",samsungBrowser:o,version:M||u(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(i)?K={name:"NAVER Whale browser",whale:o,version:u(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(i)?K={name:"MZ Browser",mzbrowser:o,version:u(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(i)?K={name:"Opera Coast",coast:o,version:M||u(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(i)?K={name:"Focus",focus:o,version:u(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(i)?K={name:"Yandex Browser",yandexbrowser:o,version:M||u(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(i)?K={name:"UC Browser",ucbrowser:o,version:u(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(i)?K={name:"Maxthon",maxthon:o,version:u(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(i)?K={name:"Epiphany",epiphany:o,version:u(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(i)?K={name:"Puffin",puffin:o,version:u(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(i)?K={name:"Sleipnir",sleipnir:o,version:u(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(i)?K={name:"K-Meleon",kMeleon:o,version:u(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:L?(K={name:"Windows Phone",osname:"Windows Phone",windowsphone:o},D?(K.msedge=o,K.version=D):(K.msie=o,K.version=u(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(i)?K={name:"Internet Explorer",msie:o,version:u(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:S?K={name:"Chrome",osname:"Chrome OS",chromeos:o,chromeBook:o,chrome:o,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(i)?K={name:"Microsoft Edge",msedge:o,version:D}:/vivaldi/i.test(i)?K={name:"Vivaldi",vivaldi:o,version:u(/vivaldi\/(\d+(\.\d+)?)/i)||M}:w?K={name:"Sailfish",osname:"Sailfish OS",sailfish:o,version:u(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(i)?K={name:"SeaMonkey",seamonkey:o,version:u(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(i)?(K={name:"Firefox",firefox:o,version:u(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(i)&&(K.firefoxos=o,K.osname="Firefox OS")):y?K={name:"Amazon Silk",silk:o,version:u(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(i)?K={name:"PhantomJS",phantom:o,version:u(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(i)?K={name:"SlimerJS",slimer:o,version:u(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(i)||/rim\stablet/i.test(i)?K={name:"BlackBerry",osname:"BlackBerry OS",blackberry:o,version:M||u(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:T?(K={name:"WebOS",osname:"WebOS",webos:o,version:M||u(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(i)&&(K.touchpad=o)):/bada/i.test(i)?K={name:"Bada",osname:"Bada",bada:o,version:u(/dolfin\/(\d+(\.\d+)?)/i)}:x?K={name:"Tizen",osname:"Tizen",tizen:o,version:u(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||M}:/qupzilla/i.test(i)?K={name:"QupZilla",qupzilla:o,version:u(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||M}:/chromium/i.test(i)?K={name:"Chromium",chromium:o,version:u(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||M}:/chrome|crios|crmo/i.test(i)?K={name:"Chrome",chrome:o,version:u(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:g?K={name:"Android",version:M}:/safari|applewebkit/i.test(i)?(K={name:"Safari",safari:o},M&&(K.version=M)):m?(K={name:m=="iphone"?"iPhone":m=="ipad"?"iPad":"iPod"},M&&(K.version=M)):/googlebot/i.test(i)?K={name:"Googlebot",googlebot:o,version:u(/googlebot\/(\d+(\.\d+))/i)||M}:K={name:u(/^(.*)\/(.*) /),version:f(/^(.*)\/(.*) /)},!K.msedge&&/(apple)?webkit/i.test(i)?(/(apple)?webkit\/537\.36/i.test(i)?(K.name=K.name||"Blink",K.blink=o):(K.name=K.name||"Webkit",K.webkit=o),!K.version&&M&&(K.version=M)):!K.opera&&/gecko\//i.test(i)&&(K.name=K.name||"Gecko",K.gecko=o,K.version=K.version||u(/gecko\/(\d+(\.\d+)?)/i)),!K.windowsphone&&(g||K.silk)?(K.android=o,K.osname="Android"):!K.windowsphone&&m?(K[m]=o,K.ios=o,K.osname="iOS"):k?(K.mac=o,K.osname="macOS"):H?(K.xbox=o,K.osname="Xbox"):P?(K.windows=o,K.osname="Windows"):U&&(K.linux=o,K.osname="Linux");function W(Z){switch(Z){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 X="";K.windows?X=W(u(/Windows ((NT|XP)( \d\d?.\d)?)/i)):K.windowsphone?X=u(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):K.mac?(X=u(/Mac OS X (\d+([_\.\s]\d+)*)/i),X=X.replace(/[_\s]/g,".")):m?(X=u(/os (\d+([_\s]\d+)*) like mac os x/i),X=X.replace(/[_\s]/g,".")):g?X=u(/android[ \/-](\d+(\.\d+)*)/i):K.webos?X=u(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):K.blackberry?X=u(/rim\stablet\sos\s(\d+(\.\d+)*)/i):K.bada?X=u(/bada\/(\d+(\.\d+)*)/i):K.tizen&&(X=u(/tizen[\/\s](\d+(\.\d+)*)/i)),X&&(K.osversion=X);var V=!K.windows&&X.split(".")[0];return B||b||m=="ipad"||g&&(V==3||V>=4&&!j)||K.silk?K.tablet=o:(j||m=="iphone"||m=="ipod"||g||v||K.blackberry||K.webos||K.bada)&&(K.mobile=o),K.msedge||K.msie&&K.version>=10||K.yandexbrowser&&K.version>=15||K.vivaldi&&K.version>=1||K.chrome&&K.version>=20||K.samsungBrowser&&K.version>=4||K.whale&&c([K.version,"1.0"])===1||K.mzbrowser&&c([K.version,"6.0"])===1||K.focus&&c([K.version,"1.0"])===1||K.firefox&&K.version>=20||K.safari&&K.version>=6||K.opera&&K.version>=10||K.ios&&K.osversion&&K.osversion.split(".")[0]>=6||K.blackberry&&K.version>=10.1||K.chromium&&K.version>=20?K.a=o:K.msie&&K.version<10||K.chrome&&K.version<20||K.firefox&&K.version<20||K.safari&&K.version<6||K.opera&&K.version<10||K.ios&&K.osversion&&K.osversion.split(".")[0]<6||K.chromium&&K.version<20?K.c=o:K.x=o,K}var s=r(typeof navigator!="undefined"&&navigator.userAgent||"");s.test=function(i){for(var u=0;u<i.length;++u){var f=i[u];if(typeof f=="string"&&f in s)return!0}return!1};function l(i){return i.split(".").length}function n(i,u){var f=[],m;if(Array.prototype.map)return Array.prototype.map.call(i,u);for(m=0;m<i.length;m++)f.push(u(i[m]));return f}function c(i){for(var u=Math.max(l(i[0]),l(i[1])),f=n(i,function(m){var A=u-l(m);return m=m+new Array(A+1).join(".0"),n(m.split("."),function(g){return new Array(20-g.length).join("0")+g}).reverse()});--u>=0;){if(f[0][u]>f[1][u])return 1;if(f[0][u]===f[1][u]){if(u===0)return 0}else return-1}}function e(i,u,f){var m=s;typeof u=="string"&&(f=u,u=void 0),u===void 0&&(u=!1),f&&(m=r(f));var A=""+m.version;for(var g in i)if(i.hasOwnProperty(g)&&m[g]){if(typeof i[g]!="string")throw new Error("Browser version in the minVersion map should be a string: "+g+": "+String(i));return c([A,i[g]])<0}return u}function a(i,u,f){return!e(i,u,f)}return s.isUnsupportedBrowser=e,s.compareVersions=c,s.check=a,s._detect=r,s.detect=r,s})},{}],84:[function(t,p,h){},{}],85:[function(t,p,h){(function(o,r){(function(){/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/"use strict";var s=t("base64-js"),l=t("ieee754"),n=t("isarray");h.Buffer=i,h.SlowBuffer=w,h.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=o.TYPED_ARRAY_SUPPORT!==void 0?o.TYPED_ARRAY_SUPPORT:c(),h.kMaxLength=e();function c(){try{var ae=new Uint8Array(1);return ae.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},ae.foo()===42&&typeof ae.subarray=="function"&&ae.subarray(1,1).byteLength===0}catch(re){return!1}}function e(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(ae,re){if(e()<re)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(ae=new Uint8Array(re),ae.__proto__=i.prototype):(ae===null&&(ae=new i(re)),ae.length=re),ae}function i(ae,re,be){if(!i.TYPED_ARRAY_SUPPORT&&!(this instanceof i))return new i(ae,re,be);if(typeof ae=="number"){if(typeof re=="string")throw new Error("If encoding is specified then the first argument must be a string");return A(this,ae)}return u(this,ae,re,be)}i.poolSize=8192,i._augment=function(ae){return ae.__proto__=i.prototype,ae};function u(ae,re,be,ze){if(typeof re=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&re instanceof ArrayBuffer?b(ae,re,be,ze):typeof re=="string"?g(ae,re,be):S(ae,re)}i.from=function(ae,re,be){return u(null,ae,re,be)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0}));function f(ae){if(typeof ae!="number")throw new TypeError('"size" argument must be a number');if(ae<0)throw new RangeError('"size" argument must not be negative')}function m(ae,re,be,ze){return f(re),re<=0?a(ae,re):be!==void 0?typeof ze=="string"?a(ae,re).fill(be,ze):a(ae,re).fill(be):a(ae,re)}i.alloc=function(ae,re,be){return m(null,ae,re,be)};function A(ae,re){if(f(re),ae=a(ae,re<0?0:y(re)|0),!i.TYPED_ARRAY_SUPPORT)for(var be=0;be<re;++be)ae[be]=0;return ae}i.allocUnsafe=function(ae){return A(null,ae)},i.allocUnsafeSlow=function(ae){return A(null,ae)};function g(ae,re,be){if((typeof be!="string"||be==="")&&(be="utf8"),!i.isEncoding(be))throw new TypeError('"encoding" must be a valid string encoding');var ze=x(re,be)|0;ae=a(ae,ze);var Ke=ae.write(re,be);return Ke!==ze&&(ae=ae.slice(0,Ke)),ae}function v(ae,re){var be=re.length<0?0:y(re.length)|0;ae=a(ae,be);for(var ze=0;ze<be;ze+=1)ae[ze]=re[ze]&255;return ae}function b(ae,re,be,ze){if(re.byteLength,be<0||re.byteLength<be)throw new RangeError("'offset' is out of bounds");if(re.byteLength<be+(ze||0))throw new RangeError("'length' is out of bounds");return be===void 0&&ze===void 0?re=new Uint8Array(re):ze===void 0?re=new Uint8Array(re,be):re=new Uint8Array(re,be,ze),i.TYPED_ARRAY_SUPPORT?(ae=re,ae.__proto__=i.prototype):ae=v(ae,re),ae}function S(ae,re){if(i.isBuffer(re)){var be=y(re.length)|0;return ae=a(ae,be),ae.length===0||re.copy(ae,0,0,be),ae}if(re){if(typeof ArrayBuffer!="undefined"&&re.buffer instanceof ArrayBuffer||"length"in re)return typeof re.length!="number"||pe(re.length)?a(ae,0):v(ae,re);if(re.type==="Buffer"&&n(re.data))return v(ae,re.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(ae){if(ae>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return ae|0}function w(ae){return+ae!=ae&&(ae=0),i.alloc(+ae)}i.isBuffer=function(re){return!!(re!=null&&re._isBuffer)},i.compare=function(re,be){if(!i.isBuffer(re)||!i.isBuffer(be))throw new TypeError("Arguments must be Buffers");if(re===be)return 0;for(var ze=re.length,Ke=be.length,Te=0,gt=Math.min(ze,Ke);Te<gt;++Te)if(re[Te]!==be[Te]){ze=re[Te],Ke=be[Te];break}return ze<Ke?-1:Ke<ze?1:0},i.isEncoding=function(re){switch(String(re).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(re,be){if(!n(re))throw new TypeError('"list" argument must be an Array of Buffers');if(re.length===0)return i.alloc(0);var ze;if(be===void 0)for(be=0,ze=0;ze<re.length;++ze)be+=re[ze].length;var Ke=i.allocUnsafe(be),Te=0;for(ze=0;ze<re.length;++ze){var gt=re[ze];if(!i.isBuffer(gt))throw new TypeError('"list" argument must be an Array of Buffers');gt.copy(Ke,Te),Te+=gt.length}return Ke};function x(ae,re){if(i.isBuffer(ae))return ae.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(ae)||ae instanceof ArrayBuffer))return ae.byteLength;typeof ae!="string"&&(ae=""+ae);var be=ae.length;if(be===0)return 0;for(var ze=!1;;)switch(re){case"ascii":case"latin1":case"binary":return be;case"utf8":case"utf-8":case void 0:return Ye(ae).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return be*2;case"hex":return be>>>1;case"base64":return et(ae).length;default:if(ze)return Ye(ae).length;re=(""+re).toLowerCase(),ze=!0}}i.byteLength=x;function T(ae,re,be){var ze=!1;if((re===void 0||re<0)&&(re=0),re>this.length)return"";if((be===void 0||be>this.length)&&(be=this.length),be<=0)return"";if(be>>>=0,re>>>=0,be<=re)return"";for(ae||(ae="utf8");;)switch(ae){case"hex":return G(this,re,be);case"utf8":case"utf-8":return K(this,re,be);case"ascii":return V(this,re,be);case"latin1":case"binary":return Z(this,re,be);case"base64":return H(this,re,be);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,re,be);default:if(ze)throw new TypeError("Unknown encoding: "+ae);ae=(ae+"").toLowerCase(),ze=!0}}i.prototype._isBuffer=!0;function L(ae,re,be){var ze=ae[re];ae[re]=ae[be],ae[be]=ze}i.prototype.swap16=function(){var re=this.length;if(re%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var be=0;be<re;be+=2)L(this,be,be+1);return this},i.prototype.swap32=function(){var re=this.length;if(re%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var be=0;be<re;be+=4)L(this,be,be+3),L(this,be+1,be+2);return this},i.prototype.swap64=function(){var re=this.length;if(re%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var be=0;be<re;be+=8)L(this,be,be+7),L(this,be+1,be+6),L(this,be+2,be+5),L(this,be+3,be+4);return this},i.prototype.toString=function(){var re=this.length|0;return re===0?"":arguments.length===0?K(this,0,re):T.apply(this,arguments)},i.prototype.equals=function(re){if(!i.isBuffer(re))throw new TypeError("Argument must be a Buffer");return this===re?!0:i.compare(this,re)===0},i.prototype.inspect=function(){var re="",be=h.INSPECT_MAX_BYTES;return this.length>0&&(re=this.toString("hex",0,be).match(/.{2}/g).join(" "),this.length>be&&(re+=" ... ")),"<Buffer "+re+">"},i.prototype.compare=function(re,be,ze,Ke,Te){if(!i.isBuffer(re))throw new TypeError("Argument must be a Buffer");if(be===void 0&&(be=0),ze===void 0&&(ze=re?re.length:0),Ke===void 0&&(Ke=0),Te===void 0&&(Te=this.length),be<0||ze>re.length||Ke<0||Te>this.length)throw new RangeError("out of range index");if(Ke>=Te&&be>=ze)return 0;if(Ke>=Te)return-1;if(be>=ze)return 1;if(be>>>=0,ze>>>=0,Ke>>>=0,Te>>>=0,this===re)return 0;for(var gt=Te-Ke,Ue=ze-be,bt=Math.min(gt,Ue),wt=this.slice(Ke,Te),Et=re.slice(be,ze),xt=0;xt<bt;++xt)if(wt[xt]!==Et[xt]){gt=wt[xt],Ue=Et[xt];break}return gt<Ue?-1:Ue<gt?1:0};function R(ae,re,be,ze,Ke){if(ae.length===0)return-1;if(typeof be=="string"?(ze=be,be=0):be>2147483647?be=2147483647:be<-2147483648&&(be=-2147483648),be=+be,isNaN(be)&&(be=Ke?0:ae.length-1),be<0&&(be=ae.length+be),be>=ae.length){if(Ke)return-1;be=ae.length-1}else if(be<0)if(Ke)be=0;else return-1;if(typeof re=="string"&&(re=i.from(re,ze)),i.isBuffer(re))return re.length===0?-1:P(ae,re,be,ze,Ke);if(typeof re=="number")return re=re&255,i.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?Ke?Uint8Array.prototype.indexOf.call(ae,re,be):Uint8Array.prototype.lastIndexOf.call(ae,re,be):P(ae,[re],be,ze,Ke);throw new TypeError("val must be string, number or Buffer")}function P(ae,re,be,ze,Ke){var Te=1,gt=ae.length,Ue=re.length;if(ze!==void 0&&(ze=String(ze).toLowerCase(),ze==="ucs2"||ze==="ucs-2"||ze==="utf16le"||ze==="utf-16le")){if(ae.length<2||re.length<2)return-1;Te=2,gt/=2,Ue/=2,be/=2}function bt(Be,ce){return Te===1?Be[ce]:Be.readUInt16BE(ce*Te)}var wt;if(Ke){var Et=-1;for(wt=be;wt<gt;wt++)if(bt(ae,wt)===bt(re,Et===-1?0:wt-Et)){if(Et===-1&&(Et=wt),wt-Et+1===Ue)return Et*Te}else Et!==-1&&(wt-=wt-Et),Et=-1}else for(be+Ue>gt&&(be=gt-Ue),wt=be;wt>=0;wt--){for(var xt=!0,Tt=0;Tt<Ue;Tt++)if(bt(ae,wt+Tt)!==bt(re,Tt)){xt=!1;break}if(xt)return wt}return-1}i.prototype.includes=function(re,be,ze){return this.indexOf(re,be,ze)!==-1},i.prototype.indexOf=function(re,be,ze){return R(this,re,be,ze,!0)},i.prototype.lastIndexOf=function(re,be,ze){return R(this,re,be,ze,!1)};function k(ae,re,be,ze){be=Number(be)||0;var Ke=ae.length-be;ze?(ze=Number(ze),ze>Ke&&(ze=Ke)):ze=Ke;var Te=re.length;if(Te%2!==0)throw new TypeError("Invalid hex string");ze>Te/2&&(ze=Te/2);for(var gt=0;gt<ze;++gt){var Ue=parseInt(re.substr(gt*2,2),16);if(isNaN(Ue))return gt;ae[be+gt]=Ue}return gt}function U(ae,re,be,ze){return He(Ye(re,ae.length-be),ae,be,ze)}function D(ae,re,be,ze){return He(nt(re),ae,be,ze)}function M(ae,re,be,ze){return D(ae,re,be,ze)}function B(ae,re,be,ze){return He(et(re),ae,be,ze)}function j(ae,re,be,ze){return He(je(re,ae.length-be),ae,be,ze)}i.prototype.write=function(re,be,ze,Ke){if(be===void 0)Ke="utf8",ze=this.length,be=0;else if(ze===void 0&&typeof be=="string")Ke=be,ze=this.length,be=0;else if(isFinite(be))be=be|0,isFinite(ze)?(ze=ze|0,Ke===void 0&&(Ke="utf8")):(Ke=ze,ze=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Te=this.length-be;if((ze===void 0||ze>Te)&&(ze=Te),re.length>0&&(ze<0||be<0)||be>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ke||(Ke="utf8");for(var gt=!1;;)switch(Ke){case"hex":return k(this,re,be,ze);case"utf8":case"utf-8":return U(this,re,be,ze);case"ascii":return D(this,re,be,ze);case"latin1":case"binary":return M(this,re,be,ze);case"base64":return B(this,re,be,ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,re,be,ze);default:if(gt)throw new TypeError("Unknown encoding: "+Ke);Ke=(""+Ke).toLowerCase(),gt=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function H(ae,re,be){return re===0&&be===ae.length?s.fromByteArray(ae):s.fromByteArray(ae.slice(re,be))}function K(ae,re,be){be=Math.min(ae.length,be);for(var ze=[],Ke=re;Ke<be;){var Te=ae[Ke],gt=null,Ue=Te>239?4:Te>223?3:Te>191?2:1;if(Ke+Ue<=be){var bt,wt,Et,xt;switch(Ue){case 1:Te<128&&(gt=Te);break;case 2:bt=ae[Ke+1],(bt&192)===128&&(xt=(Te&31)<<6|bt&63,xt>127&&(gt=xt));break;case 3:bt=ae[Ke+1],wt=ae[Ke+2],(bt&192)===128&&(wt&192)===128&&(xt=(Te&15)<<12|(bt&63)<<6|wt&63,xt>2047&&(xt<55296||xt>57343)&&(gt=xt));break;case 4:bt=ae[Ke+1],wt=ae[Ke+2],Et=ae[Ke+3],(bt&192)===128&&(wt&192)===128&&(Et&192)===128&&(xt=(Te&15)<<18|(bt&63)<<12|(wt&63)<<6|Et&63,xt>65535&&xt<1114112&&(gt=xt))}}gt===null?(gt=65533,Ue=1):gt>65535&&(gt-=65536,ze.push(gt>>>10&1023|55296),gt=56320|gt&1023),ze.push(gt),Ke+=Ue}return X(ze)}var W=4096;function X(ae){var re=ae.length;if(re<=W)return String.fromCharCode.apply(String,ae);for(var be="",ze=0;ze<re;)be+=String.fromCharCode.apply(String,ae.slice(ze,ze+=W));return be}function V(ae,re,be){var ze="";be=Math.min(ae.length,be);for(var Ke=re;Ke<be;++Ke)ze+=String.fromCharCode(ae[Ke]&127);return ze}function Z(ae,re,be){var ze="";be=Math.min(ae.length,be);for(var Ke=re;Ke<be;++Ke)ze+=String.fromCharCode(ae[Ke]);return ze}function G(ae,re,be){var ze=ae.length;(!re||re<0)&&(re=0),(!be||be<0||be>ze)&&(be=ze);for(var Ke="",Te=re;Te<be;++Te)Ke+=it(ae[Te]);return Ke}function Y(ae,re,be){for(var ze=ae.slice(re,be),Ke="",Te=0;Te<ze.length;Te+=2)Ke+=String.fromCharCode(ze[Te]+ze[Te+1]*256);return Ke}i.prototype.slice=function(re,be){var ze=this.length;re=~~re,be=be===void 0?ze:~~be,re<0?(re+=ze,re<0&&(re=0)):re>ze&&(re=ze),be<0?(be+=ze,be<0&&(be=0)):be>ze&&(be=ze),be<re&&(be=re);var Ke;if(i.TYPED_ARRAY_SUPPORT)Ke=this.subarray(re,be),Ke.__proto__=i.prototype;else{var Te=be-re;Ke=new i(Te,void 0);for(var gt=0;gt<Te;++gt)Ke[gt]=this[gt+re]}return Ke};function te(ae,re,be){if(ae%1!==0||ae<0)throw new RangeError("offset is not uint");if(ae+re>be)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUIntLE=function(re,be,ze){re=re|0,be=be|0,ze||te(re,be,this.length);for(var Ke=this[re],Te=1,gt=0;++gt<be&&(Te*=256);)Ke+=this[re+gt]*Te;return Ke},i.prototype.readUIntBE=function(re,be,ze){re=re|0,be=be|0,ze||te(re,be,this.length);for(var Ke=this[re+--be],Te=1;be>0&&(Te*=256);)Ke+=this[re+--be]*Te;return Ke},i.prototype.readUInt8=function(re,be){return be||te(re,1,this.length),this[re]},i.prototype.readUInt16LE=function(re,be){return be||te(re,2,this.length),this[re]|this[re+1]<<8},i.prototype.readUInt16BE=function(re,be){return be||te(re,2,this.length),this[re]<<8|this[re+1]},i.prototype.readUInt32LE=function(re,be){return be||te(re,4,this.length),(this[re]|this[re+1]<<8|this[re+2]<<16)+this[re+3]*16777216},i.prototype.readUInt32BE=function(re,be){return be||te(re,4,this.length),this[re]*16777216+(this[re+1]<<16|this[re+2]<<8|this[re+3])},i.prototype.readIntLE=function(re,be,ze){re=re|0,be=be|0,ze||te(re,be,this.length);for(var Ke=this[re],Te=1,gt=0;++gt<be&&(Te*=256);)Ke+=this[re+gt]*Te;return Te*=128,Ke>=Te&&(Ke-=Math.pow(2,8*be)),Ke},i.prototype.readIntBE=function(re,be,ze){re=re|0,be=be|0,ze||te(re,be,this.length);for(var Ke=be,Te=1,gt=this[re+--Ke];Ke>0&&(Te*=256);)gt+=this[re+--Ke]*Te;return Te*=128,gt>=Te&&(gt-=Math.pow(2,8*be)),gt},i.prototype.readInt8=function(re,be){return be||te(re,1,this.length),this[re]&128?(255-this[re]+1)*-1:this[re]},i.prototype.readInt16LE=function(re,be){be||te(re,2,this.length);var ze=this[re]|this[re+1]<<8;return ze&32768?ze|4294901760:ze},i.prototype.readInt16BE=function(re,be){be||te(re,2,this.length);var ze=this[re+1]|this[re]<<8;return ze&32768?ze|4294901760:ze},i.prototype.readInt32LE=function(re,be){return be||te(re,4,this.length),this[re]|this[re+1]<<8|this[re+2]<<16|this[re+3]<<24},i.prototype.readInt32BE=function(re,be){return be||te(re,4,this.length),this[re]<<24|this[re+1]<<16|this[re+2]<<8|this[re+3]},i.prototype.readFloatLE=function(re,be){return be||te(re,4,this.length),l.read(this,re,!0,23,4)},i.prototype.readFloatBE=function(re,be){return be||te(re,4,this.length),l.read(this,re,!1,23,4)},i.prototype.readDoubleLE=function(re,be){return be||te(re,8,this.length),l.read(this,re,!0,52,8)},i.prototype.readDoubleBE=function(re,be){return be||te(re,8,this.length),l.read(this,re,!1,52,8)};function se(ae,re,be,ze,Ke,Te){if(!i.isBuffer(ae))throw new TypeError('"buffer" argument must be a Buffer instance');if(re>Ke||re<Te)throw new RangeError('"value" argument is out of bounds');if(be+ze>ae.length)throw new RangeError("Index out of range")}i.prototype.writeUIntLE=function(re,be,ze,Ke){if(re=+re,be=be|0,ze=ze|0,!Ke){var Te=Math.pow(2,8*ze)-1;se(this,re,be,ze,Te,0)}var gt=1,Ue=0;for(this[be]=re&255;++Ue<ze&&(gt*=256);)this[be+Ue]=re/gt&255;return be+ze},i.prototype.writeUIntBE=function(re,be,ze,Ke){if(re=+re,be=be|0,ze=ze|0,!Ke){var Te=Math.pow(2,8*ze)-1;se(this,re,be,ze,Te,0)}var gt=ze-1,Ue=1;for(this[be+gt]=re&255;--gt>=0&&(Ue*=256);)this[be+gt]=re/Ue&255;return be+ze},i.prototype.writeUInt8=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,1,255,0),i.TYPED_ARRAY_SUPPORT||(re=Math.floor(re)),this[be]=re&255,be+1};function Ce(ae,re,be,ze){re<0&&(re=65535+re+1);for(var Ke=0,Te=Math.min(ae.length-be,2);Ke<Te;++Ke)ae[be+Ke]=(re&255<<8*(ze?Ke:1-Ke))>>>(ze?Ke:1-Ke)*8}i.prototype.writeUInt16LE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[be]=re&255,this[be+1]=re>>>8):Ce(this,re,be,!0),be+2},i.prototype.writeUInt16BE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[be]=re>>>8,this[be+1]=re&255):Ce(this,re,be,!1),be+2};function he(ae,re,be,ze){re<0&&(re=4294967295+re+1);for(var Ke=0,Te=Math.min(ae.length-be,4);Ke<Te;++Ke)ae[be+Ke]=re>>>(ze?Ke:3-Ke)*8&255}i.prototype.writeUInt32LE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[be+3]=re>>>24,this[be+2]=re>>>16,this[be+1]=re>>>8,this[be]=re&255):he(this,re,be,!0),be+4},i.prototype.writeUInt32BE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[be]=re>>>24,this[be+1]=re>>>16,this[be+2]=re>>>8,this[be+3]=re&255):he(this,re,be,!1),be+4},i.prototype.writeIntLE=function(re,be,ze,Ke){if(re=+re,be=be|0,!Ke){var Te=Math.pow(2,8*ze-1);se(this,re,be,ze,Te-1,-Te)}var gt=0,Ue=1,bt=0;for(this[be]=re&255;++gt<ze&&(Ue*=256);)re<0&&bt===0&&this[be+gt-1]!==0&&(bt=1),this[be+gt]=(re/Ue>>0)-bt&255;return be+ze},i.prototype.writeIntBE=function(re,be,ze,Ke){if(re=+re,be=be|0,!Ke){var Te=Math.pow(2,8*ze-1);se(this,re,be,ze,Te-1,-Te)}var gt=ze-1,Ue=1,bt=0;for(this[be+gt]=re&255;--gt>=0&&(Ue*=256);)re<0&&bt===0&&this[be+gt+1]!==0&&(bt=1),this[be+gt]=(re/Ue>>0)-bt&255;return be+ze},i.prototype.writeInt8=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,1,127,-128),i.TYPED_ARRAY_SUPPORT||(re=Math.floor(re)),re<0&&(re=255+re+1),this[be]=re&255,be+1},i.prototype.writeInt16LE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[be]=re&255,this[be+1]=re>>>8):Ce(this,re,be,!0),be+2},i.prototype.writeInt16BE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[be]=re>>>8,this[be+1]=re&255):Ce(this,re,be,!1),be+2},i.prototype.writeInt32LE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[be]=re&255,this[be+1]=re>>>8,this[be+2]=re>>>16,this[be+3]=re>>>24):he(this,re,be,!0),be+4},i.prototype.writeInt32BE=function(re,be,ze){return re=+re,be=be|0,ze||se(this,re,be,4,2147483647,-2147483648),re<0&&(re=4294967295+re+1),i.TYPED_ARRAY_SUPPORT?(this[be]=re>>>24,this[be+1]=re>>>16,this[be+2]=re>>>8,this[be+3]=re&255):he(this,re,be,!1),be+4};function xe(ae,re,be,ze,Ke,Te){if(be+ze>ae.length)throw new RangeError("Index out of range");if(be<0)throw new RangeError("Index out of range")}function ie(ae,re,be,ze,Ke){return Ke||xe(ae,re,be,4,34028234663852886e22,-34028234663852886e22),l.write(ae,re,be,ze,23,4),be+4}i.prototype.writeFloatLE=function(re,be,ze){return ie(this,re,be,!0,ze)},i.prototype.writeFloatBE=function(re,be,ze){return ie(this,re,be,!1,ze)};function ee(ae,re,be,ze,Ke){return Ke||xe(ae,re,be,8,17976931348623157e292,-17976931348623157e292),l.write(ae,re,be,ze,52,8),be+8}i.prototype.writeDoubleLE=function(re,be,ze){return ee(this,re,be,!0,ze)},i.prototype.writeDoubleBE=function(re,be,ze){return ee(this,re,be,!1,ze)},i.prototype.copy=function(re,be,ze,Ke){if(ze||(ze=0),!Ke&&Ke!==0&&(Ke=this.length),be>=re.length&&(be=re.length),be||(be=0),Ke>0&&Ke<ze&&(Ke=ze),Ke===ze)return 0;if(re.length===0||this.length===0)return 0;if(be<0)throw new RangeError("targetStart out of bounds");if(ze<0||ze>=this.length)throw new RangeError("sourceStart out of bounds");if(Ke<0)throw new RangeError("sourceEnd out of bounds");Ke>this.length&&(Ke=this.length),re.length-be<Ke-ze&&(Ke=re.length-be+ze);var Te=Ke-ze,gt;if(this===re&&ze<be&&be<Ke)for(gt=Te-1;gt>=0;--gt)re[gt+be]=this[gt+ze];else if(Te<1e3||!i.TYPED_ARRAY_SUPPORT)for(gt=0;gt<Te;++gt)re[gt+be]=this[gt+ze];else Uint8Array.prototype.set.call(re,this.subarray(ze,ze+Te),be);return Te},i.prototype.fill=function(re,be,ze,Ke){if(typeof re=="string"){if(typeof be=="string"?(Ke=be,be=0,ze=this.length):typeof ze=="string"&&(Ke=ze,ze=this.length),re.length===1){var Te=re.charCodeAt(0);Te<256&&(re=Te)}if(Ke!==void 0&&typeof Ke!="string")throw new TypeError("encoding must be a string");if(typeof Ke=="string"&&!i.isEncoding(Ke))throw new TypeError("Unknown encoding: "+Ke)}else typeof re=="number"&&(re=re&255);if(be<0||this.length<be||this.length<ze)throw new RangeError("Out of range index");if(ze<=be)return this;be=be>>>0,ze=ze===void 0?this.length:ze>>>0,re||(re=0);var gt;if(typeof re=="number")for(gt=be;gt<ze;++gt)this[gt]=re;else{var Ue=i.isBuffer(re)?re:Ye(new i(re,Ke).toString()),bt=Ue.length;for(gt=0;gt<ze-be;++gt)this[gt+be]=Ue[gt%bt]}return this};var Ze=/[^+\/0-9A-Za-z-_]/g;function Se(ae){if(ae=Ne(ae).replace(Ze,""),ae.length<2)return"";for(;ae.length%4!==0;)ae=ae+"=";return ae}function Ne(ae){return ae.trim?ae.trim():ae.replace(/^\s+|\s+$/g,"")}function it(ae){return ae<16?"0"+ae.toString(16):ae.toString(16)}function Ye(ae,re){re=re||Infinity;for(var be,ze=ae.length,Ke=null,Te=[],gt=0;gt<ze;++gt){if(be=ae.charCodeAt(gt),be>55295&&be<57344){if(!Ke){if(be>56319){(re-=3)>-1&&Te.push(239,191,189);continue}else if(gt+1===ze){(re-=3)>-1&&Te.push(239,191,189);continue}Ke=be;continue}if(be<56320){(re-=3)>-1&&Te.push(239,191,189),Ke=be;continue}be=(Ke-55296<<10|be-56320)+65536}else Ke&&((re-=3)>-1&&Te.push(239,191,189));if(Ke=null,be<128){if((re-=1)<0)break;Te.push(be)}else if(be<2048){if((re-=2)<0)break;Te.push(be>>6|192,be&63|128)}else if(be<65536){if((re-=3)<0)break;Te.push(be>>12|224,be>>6&63|128,be&63|128)}else if(be<1114112){if((re-=4)<0)break;Te.push(be>>18|240,be>>12&63|128,be>>6&63|128,be&63|128)}else throw new Error("Invalid code point")}return Te}function nt(ae){for(var re=[],be=0;be<ae.length;++be)re.push(ae.charCodeAt(be)&255);return re}function je(ae,re){for(var be,ze,Ke,Te=[],gt=0;gt<ae.length&&!((re-=2)<0);++gt)be=ae.charCodeAt(gt),ze=be>>8,Ke=be%256,Te.push(Ke),Te.push(ze);return Te}function et(ae){return s.toByteArray(Se(ae))}function He(ae,re,be,ze){for(var Ke=0;Ke<ze&&!(Ke+be>=re.length||Ke>=ae.length);++Ke)re[Ke+be]=ae[Ke];return Ke}function pe(ae){return ae!==ae}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{},t("buffer").Buffer)},{"base64-js":82,buffer:85,ieee754:304,isarray:313}],86:[function(t,p,h){var o=t("buffer").Buffer,r=o.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 s(a){if(a&&!r(a))throw new Error("Unknown encoding: "+a)}var l=h.StringDecoder=function(a){this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),s(a);switch(this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=c;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=e;break;default:this.write=n;return}this.charBuffer=new o(6),this.charReceived=0,this.charLength=0};l.prototype.write=function(a){for(var i="";this.charLength;){var u=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,u),this.charReceived+=u,this.charReceived<this.charLength)return"";a=a.slice(u,a.length),i=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var m=i.charCodeAt(i.length-1);if(m>=55296&&m<=56319){this.charLength+=this.surrogateSize,i="";continue}if(this.charReceived=this.charLength=0,a.length===0)return i;break}this.detectIncompleteChar(a);var f=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,f),f-=this.charReceived),i+=a.toString(this.encoding,0,f);var f=i.length-1,m=i.charCodeAt(f);if(m>=55296&&m<=56319){var A=this.surrogateSize;return this.charLength+=A,this.charReceived+=A,this.charBuffer.copy(this.charBuffer,A,0,A),a.copy(this.charBuffer,0,0,A),i.substring(0,f)}return i},l.prototype.detectIncompleteChar=function(a){for(var i=a.length>=3?3:a.length;i>0;i--){var u=a[a.length-i];if(i==1&&u>>5==6){this.charLength=2;break}if(i<=2&&u>>4==14){this.charLength=3;break}if(i<=3&&u>>3==30){this.charLength=4;break}}this.charReceived=i},l.prototype.end=function(a){var i="";if(a&&a.length&&(i=this.write(a)),this.charReceived){var u=this.charReceived,f=this.charBuffer,m=this.encoding;i+=f.slice(0,u).toString(m)}return i};function n(a){return a.toString(this.encoding)}function c(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function e(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}},{buffer:85}],87:[function(t,p,h){p.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"}},{}],88:[function(t,p,h){/*!
* copy-to - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var o=Array.prototype.slice;p.exports=r;function r(l,n){if(!(this instanceof r))return new r(l,n);this.src=l,this._withAccess=n}r.prototype.withAccess=function(l){return this._withAccess=l!==!1,this},r.prototype.pick=function(l){return Array.isArray(l)||(l=o.call(arguments)),l.length&&(this.keys=l),this},r.prototype.to=function(l){if(l=l||{},!this.src)return l;var n=this.keys||Object.keys(this.src);if(!this._withAccess){for(var c=0;c<n.length;c++){if(e=n[c],l[e]!==void 0)continue;l[e]=this.src[e]}return l}for(var c=0;c<n.length;c++){var e=n[c];if(!s(l,e))continue;var a=this.src.__lookupGetter__(e),i=this.src.__lookupSetter__(e);a&&l.__defineGetter__(e,a),i&&l.__defineSetter__(e,i),!a&&!i&&(l[e]=this.src[e])}return l},r.prototype.toCover=function(l){for(var n=this.keys||Object.keys(this.src),c=0;c<n.length;c++){var e=n[c];delete l[e];var a=this.src.__lookupGetter__(e),i=this.src.__lookupSetter__(e);a&&l.__defineGetter__(e,a),i&&l.__defineSetter__(e,i),!a&&!i&&(l[e]=this.src[e])}},r.prototype.override=r.prototype.toCover,r.prototype.and=function(l){var n={};return this.to(n),this.src=l,this.to(n),this.src=n,this};function s(l,n){return l[n]===void 0&&l.__lookupGetter__(n)===void 0&&l.__lookupSetter__(n)===void 0}},{}],89:[function(t,p,h){p.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},{}],90:[function(t,p,h){var o=t("../internals/is-object");p.exports=function(r){if(!o(r)&&r!==null)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},{"../internals/is-object":162}],91:[function(t,p,h){var o=t("../internals/well-known-symbol"),r=t("../internals/object-create"),s=t("../internals/object-define-property"),l=o("unscopables"),n=Array.prototype;n[l]==null&&s.f(n,l,{configurable:!0,value:r(null)}),p.exports=function(c){n[l][c]=!0}},{"../internals/object-create":177,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],92:[function(t,p,h){"use strict";var o=t("../internals/string-multibyte").charAt;p.exports=function(r,s,l){return s+(l?o(r,s).length:1)}},{"../internals/string-multibyte":213}],93:[function(t,p,h){p.exports=function(o,r,s){if(!(o instanceof r))throw TypeError("Incorrect "+(s?s+" ":"")+"invocation");return o}},{}],94:[function(t,p,h){var o=t("../internals/is-object");p.exports=function(r){if(!o(r))throw TypeError(String(r)+" is not an object");return r}},{"../internals/is-object":162}],95:[function(t,p,h){p.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],96:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-native"),r=t("../internals/descriptors"),s=t("../internals/global"),l=t("../internals/is-object"),n=t("../internals/has"),c=t("../internals/classof"),e=t("../internals/create-non-enumerable-property"),a=t("../internals/redefine"),i=t("../internals/object-define-property").f,u=t("../internals/object-get-prototype-of"),f=t("../internals/object-set-prototype-of"),m=t("../internals/well-known-symbol"),A=t("../internals/uid"),g=s.Int8Array,v=g&&g.prototype,b=s.Uint8ClampedArray,S=b&&b.prototype,y=g&&u(g),w=v&&u(v),x=Object.prototype,T=x.isPrototypeOf,L=m("toStringTag"),R=A("TYPED_ARRAY_TAG"),P=A("TYPED_ARRAY_CONSTRUCTOR"),k=o&&!!f&&c(s.opera)!=="Opera",U=!1,D,M,B,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},K=function(te){if(!l(te))return!1;var se=c(te);return se==="DataView"||n(j,se)||n(H,se)},W=function(te){if(!l(te))return!1;var se=c(te);return n(j,se)||n(H,se)},X=function(te){if(W(te))return te;throw TypeError("Target is not a typed array")},V=function(te){if(f&&!T.call(y,te))throw TypeError("Target is not a typed array constructor");return te},Z=function(te,se,Ce){if(!r)return;if(Ce)for(var he in j){var xe=s[he];if(xe&&n(xe.prototype,te))try{delete xe.prototype[te]}catch(ie){}}(!w[te]||Ce)&&a(w,te,Ce?se:k&&v[te]||se)},G=function(te,se,Ce){var he,xe;if(!r)return;if(f){if(Ce){for(he in j)if(xe=s[he],xe&&n(xe,te))try{delete xe[te]}catch(ie){}}if(!y[te]||Ce)try{return a(y,te,Ce?se:k&&y[te]||se)}catch(ie){}else return}for(he in j)xe=s[he],xe&&(!xe[te]||Ce)&&a(xe,te,se)};for(D in j)M=s[D],B=M&&M.prototype,B?e(B,P,M):k=!1;for(D in H)M=s[D],B=M&&M.prototype,B&&e(B,P,M);if((!k||typeof y!="function"||y===Function.prototype)&&(y=function(){throw TypeError("Incorrect invocation")},k))for(D in j)s[D]&&f(s[D],y);if((!k||!w||w===x)&&(w=y.prototype,k))for(D in j)s[D]&&f(s[D].prototype,w);if(k&&u(S)!==w&&f(S,w),r&&!n(w,L)){U=!0,i(w,L,{get:function(){return l(this)?this[R]:void 0}});for(D in j)s[D]&&e(s[D],R,D)}p.exports={NATIVE_ARRAY_BUFFER_VIEWS:k,TYPED_ARRAY_CONSTRUCTOR:P,TYPED_ARRAY_TAG:U&&R,aTypedArray:X,aTypedArrayConstructor:V,exportTypedArrayMethod:Z,exportTypedArrayStaticMethod:G,isView:K,isTypedArray:W,TypedArray:y,TypedArrayPrototype:w}},{"../internals/array-buffer-native":95,"../internals/classof":115,"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/global":147,"../internals/has":148,"../internals/is-object":162,"../internals/object-define-property":179,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine":197,"../internals/uid":234,"../internals/well-known-symbol":237}],97:[function(t,p,h){"use strict";var o=t("../internals/global"),r=t("../internals/descriptors"),s=t("../internals/array-buffer-native"),l=t("../internals/create-non-enumerable-property"),n=t("../internals/redefine-all"),c=t("../internals/fails"),e=t("../internals/an-instance"),a=t("../internals/to-integer"),i=t("../internals/to-length"),u=t("../internals/to-index"),f=t("../internals/ieee754"),m=t("../internals/object-get-prototype-of"),A=t("../internals/object-set-prototype-of"),g=t("../internals/object-get-own-property-names").f,v=t("../internals/object-define-property").f,b=t("../internals/array-fill"),S=t("../internals/set-to-string-tag"),y=t("../internals/internal-state"),w=y.get,x=y.set,T="ArrayBuffer",L="DataView",R="prototype",P="Wrong length",k="Wrong index",U=o[T],D=U,M=o[L],B=M&&M[R],j=Object.prototype,H=o.RangeError,K=f.pack,W=f.unpack,X=function(Ye){return[Ye&255]},V=function(Ye){return[Ye&255,Ye>>8&255]},Z=function(Ye){return[Ye&255,Ye>>8&255,Ye>>16&255,Ye>>24&255]},G=function(Ye){return Ye[3]<<24|Ye[2]<<16|Ye[1]<<8|Ye[0]},Y=function(Ye){return K(Ye,23,4)},te=function(Ye){return K(Ye,52,8)},se=function(Ye,nt){v(Ye[R],nt,{get:function(){return w(this)[nt]}})},Ce=function(Ye,nt,je,et){var He=u(je),pe=w(Ye);if(He+nt>pe.byteLength)throw H(k);var ae=w(pe.buffer).bytes,re=He+pe.byteOffset,be=ae.slice(re,re+nt);return et?be:be.reverse()},he=function(Ye,nt,je,et,He,pe){var ae=u(je),re=w(Ye);if(ae+nt>re.byteLength)throw H(k);for(var be=w(re.buffer).bytes,ze=ae+re.byteOffset,Ke=et(+He),Te=0;Te<nt;Te++)be[ze+Te]=Ke[pe?Te:nt-Te-1]};if(!s)D=function(Ye){e(this,D,T);var nt=u(Ye);x(this,{bytes:b.call(new Array(nt),0),byteLength:nt}),r||(this.byteLength=nt)},M=function(Ye,nt,je){e(this,M,L),e(Ye,D,L);var et=w(Ye).byteLength,He=a(nt);if(He<0||He>et)throw H("Wrong offset");if(je=je===void 0?et-He:i(je),He+je>et)throw H(P);x(this,{buffer:Ye,byteLength:je,byteOffset:He}),r||(this.buffer=Ye,this.byteLength=je,this.byteOffset=He)},r&&(se(D,"byteLength"),se(M,"buffer"),se(M,"byteLength"),se(M,"byteOffset")),n(M[R],{getInt8:function(Ye){return Ce(this,1,Ye)[0]<<24>>24},getUint8:function(Ye){return Ce(this,1,Ye)[0]},getInt16:function(Ye){var nt=Ce(this,2,Ye,arguments.length>1?arguments[1]:void 0);return(nt[1]<<8|nt[0])<<16>>16},getUint16:function(Ye){var nt=Ce(this,2,Ye,arguments.length>1?arguments[1]:void 0);return nt[1]<<8|nt[0]},getInt32:function(Ye){return G(Ce(this,4,Ye,arguments.length>1?arguments[1]:void 0))},getUint32:function(Ye){return G(Ce(this,4,Ye,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(Ye){return W(Ce(this,4,Ye,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(Ye){return W(Ce(this,8,Ye,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(Ye,nt){he(this,1,Ye,X,nt)},setUint8:function(Ye,nt){he(this,1,Ye,X,nt)},setInt16:function(Ye,nt){he(this,2,Ye,V,nt,arguments.length>2?arguments[2]:void 0)},setUint16:function(Ye,nt){he(this,2,Ye,V,nt,arguments.length>2?arguments[2]:void 0)},setInt32:function(Ye,nt){he(this,4,Ye,Z,nt,arguments.length>2?arguments[2]:void 0)},setUint32:function(Ye,nt){he(this,4,Ye,Z,nt,arguments.length>2?arguments[2]:void 0)},setFloat32:function(Ye,nt){he(this,4,Ye,Y,nt,arguments.length>2?arguments[2]:void 0)},setFloat64:function(Ye,nt){he(this,8,Ye,te,nt,arguments.length>2?arguments[2]:void 0)}});else{if(!c(function(){U(1)})||!c(function(){new U(-1)})||c(function(){return new U,new U(1.5),new U(NaN),U.name!=T})){D=function(Ye){return e(this,D),new U(u(Ye))};for(var xe=D[R]=U[R],ie=g(U),ee=0,Ze;ie.length>ee;)(Ze=ie[ee++])in D||l(D,Ze,U[Ze]);xe.constructor=D}A&&m(B)!==j&&A(B,j);var Se=new M(new D(2)),Ne=B.setInt8;Se.setInt8(0,2147483648),Se.setInt8(1,2147483649),(Se.getInt8(0)||!Se.getInt8(1))&&n(B,{setInt8:function(Ye,nt){Ne.call(this,Ye,nt<<24>>24)},setUint8:function(Ye,nt){Ne.call(this,Ye,nt<<24>>24)}},{unsafe:!0})}S(D,T),S(M,L),p.exports={ArrayBuffer:D,DataView:M}},{"../internals/an-instance":93,"../internals/array-buffer-native":95,"../internals/array-fill":99,"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/ieee754":153,"../internals/internal-state":157,"../internals/object-define-property":179,"../internals/object-get-own-property-names":182,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine-all":196,"../internals/set-to-string-tag":208,"../internals/to-index":218,"../internals/to-integer":220,"../internals/to-length":221}],98:[function(t,p,h){"use strict";var o=t("../internals/to-object"),r=t("../internals/to-absolute-index"),s=t("../internals/to-length"),l=Math.min;p.exports=[].copyWithin||function(c,e){var a=o(this),i=s(a.length),u=r(c,i),f=r(e,i),m=arguments.length>2?arguments[2]:void 0,A=l((m===void 0?i:r(m,i))-f,i-u),g=1;for(f<u&&u<f+A&&(g=-1,f+=A-1,u+=A-1);A-- >0;)f in a?a[u]=a[f]:delete a[u],u+=g,f+=g;return a}},{"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/to-object":222}],99:[function(t,p,h){"use strict";var o=t("../internals/to-object"),r=t("../internals/to-absolute-index"),s=t("../internals/to-length");p.exports=function(n){for(var c=o(this),e=s(c.length),a=arguments.length,i=r(a>1?arguments[1]:void 0,e),u=a>2?arguments[2]:void 0,f=u===void 0?e:r(u,e);f>i;)c[i++]=n;return c}},{"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/to-object":222}],100:[function(t,p,h){"use strict";var o=t("../internals/array-iteration").forEach,r=t("../internals/array-method-is-strict"),s=r("forEach");p.exports=s?[].forEach:function(n){return o(this,n,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":104,"../internals/array-method-is-strict":107}],101:[function(t,p,h){p.exports=function(o,r){for(var s=0,l=r.length,n=new o(l);l>s;)n[s]=r[s++];return n}},{}],102:[function(t,p,h){"use strict";var o=t("../internals/function-bind-context"),r=t("../internals/to-object"),s=t("../internals/call-with-safe-iteration-closing"),l=t("../internals/is-array-iterator-method"),n=t("../internals/to-length"),c=t("../internals/create-property"),e=t("../internals/get-iterator"),a=t("../internals/get-iterator-method");p.exports=function(u){var f=r(u),m=typeof this=="function"?this:Array,A=arguments.length,g=A>1?arguments[1]:void 0,v=g!==void 0,b=a(f),S=0,y,w,x,T,L,R;if(v&&(g=o(g,A>2?arguments[2]:void 0,2)),b!=null&&!(m==Array&&l(b)))for(T=e(f,b),L=T.next,w=new m;!(x=L.call(T)).done;S++)R=v?s(T,g,[x.value,S],!0):x.value,c(w,S,R);else for(y=n(f.length),w=new m(y);y>S;S++)R=v?g(f[S],S):f[S],c(w,S,R);return w.length=S,w}},{"../internals/call-with-safe-iteration-closing":112,"../internals/create-property":122,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/to-length":221,"../internals/to-object":222}],103:[function(t,p,h){var o=t("../internals/to-indexed-object"),r=t("../internals/to-length"),s=t("../internals/to-absolute-index"),l=function(c){return function(e,a,i){var u=o(e),f=r(u.length),m=s(i,f),A;if(c&&a!=a){for(;f>m;)if(A=u[m++],A!=A)return!0}else for(;f>m;m++)if((c||m in u)&&u[m]===a)return c||m||0;return!c&&-1}};p.exports={includes:l(!0),indexOf:l(!1)}},{"../internals/to-absolute-index":217,"../internals/to-indexed-object":219,"../internals/to-length":221}],104:[function(t,p,h){var o=t("../internals/function-bind-context"),r=t("../internals/indexed-object"),s=t("../internals/to-object"),l=t("../internals/to-length"),n=t("../internals/array-species-create"),c=[].push,e=function(i){var u=i==1,f=i==2,m=i==3,A=i==4,g=i==6,v=i==7,b=i==5||g;return function(S,y,w,x){for(var T=s(S),L=r(T),R=o(y,w,3),P=l(L.length),k=0,U=x||n,D=u?U(S,P):f||v?U(S,0):void 0,M,B;P>k;k++)if((b||k in L)&&(M=L[k],B=R(M,k,T),i))if(u)D[k]=B;else if(B)switch(i){case 3:return!0;case 5:return M;case 6:return k;case 2:c.call(D,M)}else switch(i){case 4:return!1;case 7:c.call(D,M)}return g?-1:m||A?A:D}};p.exports={forEach:e(0),map:e(1),filter:e(2),some:e(3),every:e(4),find:e(5),findIndex:e(6),filterReject:e(7)}},{"../internals/array-species-create":111,"../internals/function-bind-context":142,"../internals/indexed-object":154,"../internals/to-length":221,"../internals/to-object":222}],105:[function(t,p,h){"use strict";var o=t("../internals/to-indexed-object"),r=t("../internals/to-integer"),s=t("../internals/to-length"),l=t("../internals/array-method-is-strict"),n=Math.min,c=[].lastIndexOf,e=!!c&&1/[1].lastIndexOf(1,-0)<0,a=l("lastIndexOf"),i=e||!a;p.exports=i?function(f){if(e)return c.apply(this,arguments)||0;var m=o(this),A=s(m.length),g=A-1;for(arguments.length>1&&(g=n(g,r(arguments[1]))),g<0&&(g=A+g);g>=0;g--)if(g in m&&m[g]===f)return g||0;return-1}:c},{"../internals/array-method-is-strict":107,"../internals/to-indexed-object":219,"../internals/to-integer":220,"../internals/to-length":221}],106:[function(t,p,h){var o=t("../internals/fails"),r=t("../internals/well-known-symbol"),s=t("../internals/engine-v8-version"),l=r("species");p.exports=function(n){return s>=51||!o(function(){var c=[],e=c.constructor={};return e[l]=function(){return{foo:1}},c[n](Boolean).foo!==1})}},{"../internals/engine-v8-version":136,"../internals/fails":140,"../internals/well-known-symbol":237}],107:[function(t,p,h){"use strict";var o=t("../internals/fails");p.exports=function(r,s){var l=[][r];return!!l&&o(function(){l.call(null,s||function(){throw 1},1)})}},{"../internals/fails":140}],108:[function(t,p,h){var o=t("../internals/a-function"),r=t("../internals/to-object"),s=t("../internals/indexed-object"),l=t("../internals/to-length"),n=function(e){return function(a,i,u,f){o(i);var m=r(a),A=s(m),g=l(m.length),v=e?g-1:0,b=e?-1:1;if(u<2)for(;;){if(v in A){f=A[v],v+=b;break}if(v+=b,e?v<0:g<=v)throw TypeError("Reduce of empty array with no initial value")}for(;e?v>=0:g>v;v+=b)v in A&&(f=i(f,A[v],v,m));return f}};p.exports={left:n(!1),right:n(!0)}},{"../internals/a-function":89,"../internals/indexed-object":154,"../internals/to-length":221,"../internals/to-object":222}],109:[function(t,p,h){var o=Math.floor,r=function n(c,e){var a=c.length,i=o(a/2);return a<8?s(c,e):l(n(c.slice(0,i),e),n(c.slice(i),e),e)},s=function(c,e){for(var a=c.length,i=1,u,f;i<a;){for(f=i,u=c[i];f&&e(c[f-1],u)>0;)c[f]=c[--f];f!==i++&&(c[f]=u)}return c},l=function(c,e,a){for(var i=c.length,u=e.length,f=0,m=0,A=[];f<i||m<u;)f<i&&m<u?A.push(a(c[f],e[m])<=0?c[f++]:e[m++]):A.push(f<i?c[f++]:e[m++]);return A};p.exports=r},{}],110:[function(t,p,h){var o=t("../internals/is-object"),r=t("../internals/is-array"),s=t("../internals/well-known-symbol"),l=s("species");p.exports=function(n){var c;return r(n)&&(c=n.constructor,typeof c=="function"&&(c===Array||r(c.prototype))?c=void 0:o(c)&&(c=c[l],c===null&&(c=void 0))),c===void 0?Array:c}},{"../internals/is-array":159,"../internals/is-object":162,"../internals/well-known-symbol":237}],111:[function(t,p,h){var o=t("../internals/array-species-constructor");p.exports=function(r,s){return new(o(r))(s===0?0:s)}},{"../internals/array-species-constructor":110}],112:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/iterator-close");p.exports=function(s,l,n,c){try{return c?l(o(n)[0],n[1]):l(n)}catch(e){r(s,"throw",e)}}},{"../internals/an-object":94,"../internals/iterator-close":167}],113:[function(t,p,h){var o=t("../internals/well-known-symbol"),r=o("iterator"),s=!1;try{var l=0,n={next:function(){return{done:!!l++}},return:function(){s=!0}};n[r]=function(){return this},Array.from(n,function(){throw 2})}catch(c){}p.exports=function(c,e){if(!e&&!s)return!1;var a=!1;try{var i={};i[r]=function(){return{next:function(){return{done:a=!0}}}},c(i)}catch(u){}return a}},{"../internals/well-known-symbol":237}],114:[function(t,p,h){var o={}.toString;p.exports=function(r){return o.call(r).slice(8,-1)}},{}],115:[function(t,p,h){var o=t("../internals/to-string-tag-support"),r=t("../internals/classof-raw"),s=t("../internals/well-known-symbol"),l=s("toStringTag"),n=r(function(){return arguments}())=="Arguments",c=function(a,i){try{return a[i]}catch(u){}};p.exports=o?r:function(e){var a,i,u;return e===void 0?"Undefined":e===null?"Null":typeof(i=c(a=Object(e),l))=="string"?i:n?r(a):(u=r(a))=="Object"&&typeof a.callee=="function"?"Arguments":u}},{"../internals/classof-raw":114,"../internals/to-string-tag-support":227,"../internals/well-known-symbol":237}],116:[function(t,p,h){var o=t("../internals/has"),r=t("../internals/own-keys"),s=t("../internals/object-get-own-property-descriptor"),l=t("../internals/object-define-property");p.exports=function(n,c){for(var e=r(c),a=l.f,i=s.f,u=0;u<e.length;u++){var f=e[u];o(n,f)||a(n,f,i(c,f))}}},{"../internals/has":148,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/own-keys":192}],117:[function(t,p,h){var o=t("../internals/well-known-symbol"),r=o("match");p.exports=function(s){var l=/./;try{"/./"[s](l)}catch(n){try{return l[r]=!1,"/./"[s](l)}catch(c){}}return!1}},{"../internals/well-known-symbol":237}],118:[function(t,p,h){var o=t("../internals/fails");p.exports=!o(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},{"../internals/fails":140}],119:[function(t,p,h){"use strict";var o=t("../internals/iterators-core").IteratorPrototype,r=t("../internals/object-create"),s=t("../internals/create-property-descriptor"),l=t("../internals/set-to-string-tag"),n=t("../internals/iterators"),c=function(){return this};p.exports=function(e,a,i){var u=a+" Iterator";return e.prototype=r(o,{next:s(1,i)}),l(e,u,!1,!0),n[u]=c,e}},{"../internals/create-property-descriptor":121,"../internals/iterators":169,"../internals/iterators-core":168,"../internals/object-create":177,"../internals/set-to-string-tag":208}],120:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/object-define-property"),s=t("../internals/create-property-descriptor");p.exports=o?function(l,n,c){return r.f(l,n,s(1,c))}:function(l,n,c){return l[n]=c,l}},{"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/object-define-property":179}],121:[function(t,p,h){p.exports=function(o,r){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:r}}},{}],122:[function(t,p,h){"use strict";var o=t("../internals/to-property-key"),r=t("../internals/object-define-property"),s=t("../internals/create-property-descriptor");p.exports=function(l,n,c){var e=o(n);e in l?r.f(l,e,s(0,c)):l[e]=c}},{"../internals/create-property-descriptor":121,"../internals/object-define-property":179,"../internals/to-property-key":226}],123:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/create-iterator-constructor"),s=t("../internals/object-get-prototype-of"),l=t("../internals/object-set-prototype-of"),n=t("../internals/set-to-string-tag"),c=t("../internals/create-non-enumerable-property"),e=t("../internals/redefine"),a=t("../internals/well-known-symbol"),i=t("../internals/is-pure"),u=t("../internals/iterators"),f=t("../internals/iterators-core"),m=f.IteratorPrototype,A=f.BUGGY_SAFARI_ITERATORS,g=a("iterator"),v="keys",b="values",S="entries",y=function(){return this};p.exports=function(w,x,T,L,R,P,k){r(T,x,L);var U=function(G){if(G===R&&H)return H;if(!A&&G in B)return B[G];switch(G){case v:return function(){return new T(this,G)};case b:return function(){return new T(this,G)};case S:return function(){return new T(this,G)}}return function(){return new T(this)}},D=x+" Iterator",M=!1,B=w.prototype,j=B[g]||B["@@iterator"]||R&&B[R],H=!A&&j||U(R),K=x=="Array"&&B.entries||j,W,X,V;if(K&&(W=s(K.call(new w)),m!==Object.prototype&&W.next&&(!i&&s(W)!==m&&(l?l(W,m):typeof W[g]!="function"&&c(W,g,y)),n(W,D,!0,!0),i&&(u[D]=y))),R==b&&j&&j.name!==b&&(M=!0,H=function(){return j.call(this)}),(!i||k)&&B[g]!==H&&c(B,g,H),u[x]=H,R)if(X={values:U(b),keys:P?H:U(v),entries:U(S)},k)for(V in X)(A||M||!(V in B))&&e(B,V,X[V]);else o({target:x,proto:!0,forced:A||M},X);return X}},{"../internals/create-iterator-constructor":119,"../internals/create-non-enumerable-property":120,"../internals/export":139,"../internals/is-pure":163,"../internals/iterators":169,"../internals/iterators-core":168,"../internals/object-get-prototype-of":184,"../internals/object-set-prototype-of":188,"../internals/redefine":197,"../internals/set-to-string-tag":208,"../internals/well-known-symbol":237}],124:[function(t,p,h){var o=t("../internals/path"),r=t("../internals/has"),s=t("../internals/well-known-symbol-wrapped"),l=t("../internals/object-define-property").f;p.exports=function(n){var c=o.Symbol||(o.Symbol={});r(c,n)||l(c,n,{value:s.f(n)})}},{"../internals/has":148,"../internals/object-define-property":179,"../internals/path":193,"../internals/well-known-symbol-wrapped":236}],125:[function(t,p,h){var o=t("../internals/fails");p.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":140}],126:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/is-object"),s=o.document,l=r(s)&&r(s.createElement);p.exports=function(n){return l?s.createElement(n):{}}},{"../internals/global":147,"../internals/is-object":162}],127:[function(t,p,h){p.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],128:[function(t,p,h){var o=t("../internals/engine-user-agent"),r=o.match(/firefox\/(\d+)/i);p.exports=!!r&&+r[1]},{"../internals/engine-user-agent":135}],129:[function(t,p,h){p.exports=typeof window=="object"},{}],130:[function(t,p,h){var o=t("../internals/engine-user-agent");p.exports=/MSIE|Trident/.test(o)},{"../internals/engine-user-agent":135}],131:[function(t,p,h){var o=t("../internals/engine-user-agent"),r=t("../internals/global");p.exports=/ipad|iphone|ipod/i.test(o)&&r.Pebble!==void 0},{"../internals/engine-user-agent":135,"../internals/global":147}],132:[function(t,p,h){var o=t("../internals/engine-user-agent");p.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},{"../internals/engine-user-agent":135}],133:[function(t,p,h){var o=t("../internals/classof-raw"),r=t("../internals/global");p.exports=o(r.process)=="process"},{"../internals/classof-raw":114,"../internals/global":147}],134:[function(t,p,h){var o=t("../internals/engine-user-agent");p.exports=/web0s(?!.*chrome)/i.test(o)},{"../internals/engine-user-agent":135}],135:[function(t,p,h){var o=t("../internals/get-built-in");p.exports=o("navigator","userAgent")||""},{"../internals/get-built-in":143}],136:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/engine-user-agent"),s=o.process,l=o.Deno,n=s&&s.versions||l&&l.version,c=n&&n.v8,e,a;c?(e=c.split("."),a=e[0]<4?1:e[0]+e[1]):r&&(e=r.match(/Edge\/(\d+)/),(!e||e[1]>=74)&&(e=r.match(/Chrome\/(\d+)/),e&&(a=e[1]))),p.exports=a&&+a},{"../internals/engine-user-agent":135,"../internals/global":147}],137:[function(t,p,h){var o=t("../internals/engine-user-agent"),r=o.match(/AppleWebKit\/(\d+)\./);p.exports=!!r&&+r[1]},{"../internals/engine-user-agent":135}],138:[function(t,p,h){p.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],139:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/object-get-own-property-descriptor").f,s=t("../internals/create-non-enumerable-property"),l=t("../internals/redefine"),n=t("../internals/set-global"),c=t("../internals/copy-constructor-properties"),e=t("../internals/is-forced");p.exports=function(a,i){var u=a.target,f=a.global,m=a.stat,A,g,v,b,S,y;if(f?g=o:m?g=o[u]||n(u,{}):g=(o[u]||{}).prototype,g)for(v in i){if(S=i[v],a.noTargetGet?(y=r(g,v),b=y&&y.value):b=g[v],A=e(f?v:u+(m?".":"#")+v,a.forced),!A&&b!==void 0){if(typeof S===typeof b)continue;c(S,b)}(a.sham||b&&b.sham)&&s(S,"sham",!0),l(g,v,S,a)}}},{"../internals/copy-constructor-properties":116,"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/is-forced":160,"../internals/object-get-own-property-descriptor":180,"../internals/redefine":197,"../internals/set-global":206}],140:[function(t,p,h){p.exports=function(o){try{return!!o()}catch(r){return!0}}},{}],141:[function(t,p,h){"use strict";t("../modules/es.regexp.exec");var o=t("../internals/redefine"),r=t("../internals/regexp-exec"),s=t("../internals/fails"),l=t("../internals/well-known-symbol"),n=t("../internals/create-non-enumerable-property"),c=l("species"),e=RegExp.prototype;p.exports=function(a,i,u,f){var m=l(a),A=!s(function(){var S={};return S[m]=function(){return 7},""[a](S)!=7}),g=A&&!s(function(){var S=!1,y=/a/;return a==="split"&&(y={},y.constructor={},y.constructor[c]=function(){return y},y.flags="",y[m]=/./[m]),y.exec=function(){return S=!0,null},y[m](""),!S});if(!A||!g||u){var v=/./[m],b=i(m,""[a],function(S,y,w,x,T){var L=y.exec;return L===r||L===e.exec?A&&!T?{done:!0,value:v.call(y,w,x)}:{done:!0,value:S.call(w,y,x)}:{done:!1}});o(String.prototype,a,b[0]),o(e,m,b[1])}f&&n(e[m],"sham",!0)}},{"../internals/create-non-enumerable-property":120,"../internals/fails":140,"../internals/redefine":197,"../internals/regexp-exec":199,"../internals/well-known-symbol":237,"../modules/es.regexp.exec":261}],142:[function(t,p,h){var o=t("../internals/a-function");p.exports=function(r,s,l){if(o(r),s===void 0)return r;switch(l){case 0:return function(){return r.call(s)};case 1:return function(n){return r.call(s,n)};case 2:return function(n,c){return r.call(s,n,c)};case 3:return function(n,c,e){return r.call(s,n,c,e)}}return function(){return r.apply(s,arguments)}}},{"../internals/a-function":89}],143:[function(t,p,h){var o=t("../internals/global"),r=function(l){return typeof l=="function"?l:void 0};p.exports=function(s,l){return arguments.length<2?r(o[s]):o[s]&&o[s][l]}},{"../internals/global":147}],144:[function(t,p,h){var o=t("../internals/classof"),r=t("../internals/iterators"),s=t("../internals/well-known-symbol"),l=s("iterator");p.exports=function(n){if(n!=null)return n[l]||n["@@iterator"]||r[o(n)]}},{"../internals/classof":115,"../internals/iterators":169,"../internals/well-known-symbol":237}],145:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/get-iterator-method");p.exports=function(s,l){var n=arguments.length<2?r(s):l;if(typeof n!="function")throw TypeError(String(s)+" is not iterable");return o(n.call(s))}},{"../internals/an-object":94,"../internals/get-iterator-method":144}],146:[function(t,p,h){var o=t("../internals/to-object"),r=Math.floor,s="".replace,l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,n=/\$([$&'`]|\d{1,2})/g;p.exports=function(c,e,a,i,u,f){var m=a+c.length,A=i.length,g=n;return u!==void 0&&(u=o(u),g=l),s.call(f,g,function(v,b){var S;switch(b.charAt(0)){case"$":return"$";case"&":return c;case"`":return e.slice(0,a);case"'":return e.slice(m);case"<":S=u[b.slice(1,-1)];break;default:var y=+b;if(y===0)return v;if(y>A){var w=r(y/10);return w===0?v:w<=A?i[w-1]===void 0?b.charAt(1):i[w-1]+b.charAt(1):v}S=i[y-1]}return S===void 0?"":S})}},{"../internals/to-object":222}],147:[function(t,p,h){(function(o){(function(){var r=function(l){return l&&l.Math==Math&&l};p.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof o=="object"&&o)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],148:[function(t,p,h){var o=t("../internals/to-object"),r={}.hasOwnProperty;p.exports=Object.hasOwn||function(l,n){return r.call(o(l),n)}},{"../internals/to-object":222}],149:[function(t,p,h){p.exports={}},{}],150:[function(t,p,h){var o=t("../internals/global");p.exports=function(r,s){var l=o.console;l&&l.error&&(arguments.length===1?l.error(r):l.error(r,s))}},{"../internals/global":147}],151:[function(t,p,h){var o=t("../internals/get-built-in");p.exports=o("document","documentElement")},{"../internals/get-built-in":143}],152:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/fails"),s=t("../internals/document-create-element");p.exports=!o&&!r(function(){return Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":125,"../internals/document-create-element":126,"../internals/fails":140}],153:[function(t,p,h){var o=Math.abs,r=Math.pow,s=Math.floor,l=Math.log,n=Math.LN2,c=function(i,u,f){var m=new Array(f),A=f*8-u-1,g=(1<<A)-1,v=g>>1,b=u===23?r(2,-24)-r(2,-77):0,S=i<0||i===0&&1/i<0?1:0,y=0,w,x,T;for(i=o(i),i!=i||i===Infinity?(x=i!=i?1:0,w=g):(w=s(l(i)/n),i*(T=r(2,-w))<1&&(w--,T*=2),w+v>=1?i+=b/T:i+=b*r(2,1-v),i*T>=2&&(w++,T/=2),w+v>=g?(x=0,w=g):w+v>=1?(x=(i*T-1)*r(2,u),w=w+v):(x=i*r(2,v-1)*r(2,u),w=0));u>=8;m[y++]=x&255,x/=256,u-=8);for(w=w<<u|x,A+=u;A>0;m[y++]=w&255,w/=256,A-=8);return m[--y]|=S*128,m},e=function(i,u){var f=i.length,m=f*8-u-1,A=(1<<m)-1,g=A>>1,v=m-7,b=f-1,S=i[b--],y=S&127,w;for(S>>=7;v>0;y=y*256+i[b],b--,v-=8);for(w=y&(1<<-v)-1,y>>=-v,v+=u;v>0;w=w*256+i[b],b--,v-=8);if(y===0)y=1-g;else{if(y===A)return w?NaN:S?-Infinity:Infinity;w=w+r(2,u),y=y-g}return(S?-1:1)*w*r(2,y-u)};p.exports={pack:c,unpack:e}},{}],154:[function(t,p,h){var o=t("../internals/fails"),r=t("../internals/classof-raw"),s="".split;p.exports=o(function(){return!Object("z").propertyIsEnumerable(0)})?function(l){return r(l)=="String"?s.call(l,""):Object(l)}:Object},{"../internals/classof-raw":114,"../internals/fails":140}],155:[function(t,p,h){var o=t("../internals/is-object"),r=t("../internals/object-set-prototype-of");p.exports=function(s,l,n){var c,e;return r&&typeof(c=l.constructor)=="function"&&c!==n&&o(e=c.prototype)&&e!==n.prototype&&r(s,e),s}},{"../internals/is-object":162,"../internals/object-set-prototype-of":188}],156:[function(t,p,h){var o=t("../internals/shared-store"),r=Function.toString;typeof o.inspectSource!="function"&&(o.inspectSource=function(s){return r.call(s)}),p.exports=o.inspectSource},{"../internals/shared-store":210}],157:[function(t,p,h){var o=t("../internals/native-weak-map"),r=t("../internals/global"),s=t("../internals/is-object"),l=t("../internals/create-non-enumerable-property"),n=t("../internals/has"),c=t("../internals/shared-store"),e=t("../internals/shared-key"),a=t("../internals/hidden-keys"),i="Object already initialized",u=r.WeakMap,f,m,A,g=function(L){return A(L)?m(L):f(L,{})},v=function(L){return function(R){var P;if(!s(R)||(P=m(R)).type!==L)throw TypeError("Incompatible receiver, "+L+" required");return P}};if(o||c.state){var b=c.state||(c.state=new u),S=b.get,y=b.has,w=b.set;f=function(L,R){if(y.call(b,L))throw new TypeError(i);return R.facade=L,w.call(b,L,R),R},m=function(L){return S.call(b,L)||{}},A=function(L){return y.call(b,L)}}else{var x=e("state");a[x]=!0,f=function(L,R){if(n(L,x))throw new TypeError(i);return R.facade=L,l(L,x,R),R},m=function(L){return n(L,x)?L[x]:{}},A=function(L){return n(L,x)}}p.exports={set:f,get:m,has:A,enforce:g,getterFor:v}},{"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/has":148,"../internals/hidden-keys":149,"../internals/is-object":162,"../internals/native-weak-map":173,"../internals/shared-key":209,"../internals/shared-store":210}],158:[function(t,p,h){var o=t("../internals/well-known-symbol"),r=t("../internals/iterators"),s=o("iterator"),l=Array.prototype;p.exports=function(n){return n!==void 0&&(r.Array===n||l[s]===n)}},{"../internals/iterators":169,"../internals/well-known-symbol":237}],159:[function(t,p,h){var o=t("../internals/classof-raw");p.exports=Array.isArray||function(s){return o(s)=="Array"}},{"../internals/classof-raw":114}],160:[function(t,p,h){var o=t("../internals/fails"),r=/#|\.prototype\./,s=function(i,u){var f=n[l(i)];return f==e?!0:f==c?!1:typeof u=="function"?o(u):!!u},l=s.normalize=function(a){return String(a).replace(r,".").toLowerCase()},n=s.data={},c=s.NATIVE="N",e=s.POLYFILL="P";p.exports=s},{"../internals/fails":140}],161:[function(t,p,h){var o=t("../internals/is-object"),r=Math.floor;p.exports=function(l){return!o(l)&&isFinite(l)&&r(l)===l}},{"../internals/is-object":162}],162:[function(t,p,h){p.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},{}],163:[function(t,p,h){p.exports=!1},{}],164:[function(t,p,h){var o=t("../internals/is-object"),r=t("../internals/classof-raw"),s=t("../internals/well-known-symbol"),l=s("match");p.exports=function(n){var c;return o(n)&&((c=n[l])!==void 0?!!c:r(n)=="RegExp")}},{"../internals/classof-raw":114,"../internals/is-object":162,"../internals/well-known-symbol":237}],165:[function(t,p,h){var o=t("../internals/get-built-in"),r=t("../internals/use-symbol-as-uid");p.exports=r?function(s){return typeof s=="symbol"}:function(s){var l=o("Symbol");return typeof l=="function"&&Object(s)instanceof l}},{"../internals/get-built-in":143,"../internals/use-symbol-as-uid":235}],166:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/is-array-iterator-method"),s=t("../internals/to-length"),l=t("../internals/function-bind-context"),n=t("../internals/get-iterator"),c=t("../internals/get-iterator-method"),e=t("../internals/iterator-close"),a=function(u,f){this.stopped=u,this.result=f};p.exports=function(i,u,f){var m=f&&f.that,A=!!(f&&f.AS_ENTRIES),g=!!(f&&f.IS_ITERATOR),v=!!(f&&f.INTERRUPTED),b=l(u,m,1+A+v),S,y,w,x,T,L,R,P=function(D){return S&&e(S,"normal",D),new a(!0,D)},k=function(D){return A?(o(D),v?b(D[0],D[1],P):b(D[0],D[1])):v?b(D,P):b(D)};if(g)S=i;else{if(y=c(i),typeof y!="function")throw TypeError("Target is not iterable");if(r(y)){for(w=0,x=s(i.length);x>w;w++)if(T=k(i[w]),T&&T instanceof a)return T;return new a(!1)}S=n(i,y)}for(L=S.next;!(R=L.call(S)).done;){try{T=k(R.value)}catch(U){e(S,"throw",U)}if(typeof T=="object"&&T&&T instanceof a)return T}return new a(!1)}},{"../internals/an-object":94,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/iterator-close":167,"../internals/to-length":221}],167:[function(t,p,h){var o=t("../internals/an-object");p.exports=function(r,s,l){var n,c;o(r);try{if(n=r.return,n===void 0){if(s==="throw")throw l;return l}n=n.call(r)}catch(e){c=!0,n=e}if(s==="throw")throw l;if(c)throw n;return o(n),l}},{"../internals/an-object":94}],168:[function(t,p,h){"use strict";var o=t("../internals/fails"),r=t("../internals/object-get-prototype-of"),s=t("../internals/create-non-enumerable-property"),l=t("../internals/has"),n=t("../internals/well-known-symbol"),c=t("../internals/is-pure"),e=n("iterator"),a=!1,i=function(){return this},u,f,m;[].keys&&(m=[].keys(),"next"in m?(f=r(r(m)),f!==Object.prototype&&(u=f)):a=!0);var A=u==null||o(function(){var g={};return u[e].call(g)!==g});A&&(u={}),(!c||A)&&!l(u,e)&&s(u,e,i),p.exports={IteratorPrototype:u,BUGGY_SAFARI_ITERATORS:a}},{"../internals/create-non-enumerable-property":120,"../internals/fails":140,"../internals/has":148,"../internals/is-pure":163,"../internals/object-get-prototype-of":184,"../internals/well-known-symbol":237}],169:[function(t,p,h){arguments[4][149][0].apply(h,arguments)},{dup:149}],170:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/object-get-own-property-descriptor").f,s=t("../internals/task").set,l=t("../internals/engine-is-ios"),n=t("../internals/engine-is-ios-pebble"),c=t("../internals/engine-is-webos-webkit"),e=t("../internals/engine-is-node"),a=o.MutationObserver||o.WebKitMutationObserver,i=o.document,u=o.process,f=o.Promise,m=r(o,"queueMicrotask"),A=m&&m.value,g,v,b,S,y,w,x,T;A||(g=function(){var R,P;for(e&&(R=u.domain)&&R.exit();v;){P=v.fn,v=v.next;try{P()}catch(k){throw v?S():b=void 0,k}}b=void 0,R&&R.enter()},!l&&!e&&!c&&a&&i?(y=!0,w=i.createTextNode(""),new a(g).observe(w,{characterData:!0}),S=function(){w.data=y=!y}):!n&&f&&f.resolve?(x=f.resolve(void 0),x.constructor=f,T=x.then,S=function(){T.call(x,g)}):e?S=function(){u.nextTick(g)}:S=function(){s.call(o,g)}),p.exports=A||function(L){var R={fn:L,next:void 0};b&&(b.next=R),v||(v=R,S()),b=R}},{"../internals/engine-is-ios":132,"../internals/engine-is-ios-pebble":131,"../internals/engine-is-node":133,"../internals/engine-is-webos-webkit":134,"../internals/global":147,"../internals/object-get-own-property-descriptor":180,"../internals/task":216}],171:[function(t,p,h){var o=t("../internals/global");p.exports=o.Promise},{"../internals/global":147}],172:[function(t,p,h){var o=t("../internals/engine-v8-version"),r=t("../internals/fails");p.exports=!!Object.getOwnPropertySymbols&&!r(function(){var s=Symbol();return!String(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&o&&o<41})},{"../internals/engine-v8-version":136,"../internals/fails":140}],173:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/inspect-source"),s=o.WeakMap;p.exports=typeof s=="function"&&/native code/.test(r(s))},{"../internals/global":147,"../internals/inspect-source":156}],174:[function(t,p,h){"use strict";var o=t("../internals/a-function"),r=function(l){var n,c;this.promise=new l(function(e,a){if(n!==void 0||c!==void 0)throw TypeError("Bad Promise constructor");n=e,c=a}),this.resolve=o(n),this.reject=o(c)};p.exports.f=function(s){return new r(s)}},{"../internals/a-function":89}],175:[function(t,p,h){var o=t("../internals/is-regexp");p.exports=function(r){if(o(r))throw TypeError("The method doesn't accept regular expressions");return r}},{"../internals/is-regexp":164}],176:[function(t,p,h){"use strict";var o=t("../internals/descriptors"),r=t("../internals/fails"),s=t("../internals/object-keys"),l=t("../internals/object-get-own-property-symbols"),n=t("../internals/object-property-is-enumerable"),c=t("../internals/to-object"),e=t("../internals/indexed-object"),a=Object.assign,i=Object.defineProperty;p.exports=!a||r(function(){if(o&&a({b:1},a(i({},"a",{enumerable:!0,get:function(){i(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var u={},f={},m=Symbol(),A="abcdefghijklmnopqrst";return u[m]=7,A.split("").forEach(function(g){f[g]=g}),a({},u)[m]!=7||s(a({},f)).join("")!=A})?function(f,m){for(var A=c(f),g=arguments.length,v=1,b=l.f,S=n.f;g>v;)for(var y=e(arguments[v++]),w=b?s(y).concat(b(y)):s(y),x=w.length,T=0,L;x>T;)L=w[T++],(!o||S.call(y,L))&&(A[L]=y[L]);return A}:a},{"../internals/descriptors":125,"../internals/fails":140,"../internals/indexed-object":154,"../internals/object-get-own-property-symbols":183,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/to-object":222}],177:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/object-define-properties"),s=t("../internals/enum-bug-keys"),l=t("../internals/hidden-keys"),n=t("../internals/html"),c=t("../internals/document-create-element"),e=t("../internals/shared-key"),a=">",i="<",u="prototype",f="script",m=e("IE_PROTO"),A=function(){},g=function(x){return i+f+a+x+i+"/"+f+a},v=function(x){x.write(g("")),x.close();var T=x.parentWindow.Object;return x=null,T},b=function(){var x=c("iframe"),T="java"+f+":",L;return x.style.display="none",n.appendChild(x),x.src=String(T),L=x.contentWindow.document,L.open(),L.write(g("document.F=Object")),L.close(),L.F},S,y=function(){try{S=new ActiveXObject("htmlfile")}catch(T){}y=typeof document!="undefined"?document.domain&&S?v(S):b():v(S);for(var x=s.length;x--;)delete y[u][s[x]];return y()};l[m]=!0,p.exports=Object.create||function(x,T){var L;return x!==null?(A[u]=o(x),L=new A,A[u]=null,L[m]=x):L=y(),T===void 0?L:r(L,T)}},{"../internals/an-object":94,"../internals/document-create-element":126,"../internals/enum-bug-keys":138,"../internals/hidden-keys":149,"../internals/html":151,"../internals/object-define-properties":178,"../internals/shared-key":209}],178:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/object-define-property"),s=t("../internals/an-object"),l=t("../internals/object-keys");p.exports=o?Object.defineProperties:function(c,e){s(c);for(var a=l(e),i=a.length,u=0,f;i>u;)r.f(c,f=a[u++],e[f]);return c}},{"../internals/an-object":94,"../internals/descriptors":125,"../internals/object-define-property":179,"../internals/object-keys":186}],179:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/ie8-dom-define"),s=t("../internals/an-object"),l=t("../internals/to-property-key"),n=Object.defineProperty;h.f=o?n:function(e,a,i){if(s(e),a=l(a),s(i),r)try{return n(e,a,i)}catch(u){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[a]=i.value),e}},{"../internals/an-object":94,"../internals/descriptors":125,"../internals/ie8-dom-define":152,"../internals/to-property-key":226}],180:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/object-property-is-enumerable"),s=t("../internals/create-property-descriptor"),l=t("../internals/to-indexed-object"),n=t("../internals/to-property-key"),c=t("../internals/has"),e=t("../internals/ie8-dom-define"),a=Object.getOwnPropertyDescriptor;h.f=o?a:function(u,f){if(u=l(u),f=n(f),e)try{return a(u,f)}catch(m){}if(c(u,f))return s(!r.f.call(u,f),u[f])}},{"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/has":148,"../internals/ie8-dom-define":152,"../internals/object-property-is-enumerable":187,"../internals/to-indexed-object":219,"../internals/to-property-key":226}],181:[function(t,p,h){var o=t("../internals/to-indexed-object"),r=t("../internals/object-get-own-property-names").f,s={}.toString,l=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],n=function(e){try{return r(e)}catch(a){return l.slice()}};p.exports.f=function(e){return l&&s.call(e)=="[object Window]"?n(e):r(o(e))}},{"../internals/object-get-own-property-names":182,"../internals/to-indexed-object":219}],182:[function(t,p,h){var o=t("../internals/object-keys-internal"),r=t("../internals/enum-bug-keys"),s=r.concat("length","prototype");h.f=Object.getOwnPropertyNames||function(n){return o(n,s)}},{"../internals/enum-bug-keys":138,"../internals/object-keys-internal":185}],183:[function(t,p,h){h.f=Object.getOwnPropertySymbols},{}],184:[function(t,p,h){var o=t("../internals/has"),r=t("../internals/to-object"),s=t("../internals/shared-key"),l=t("../internals/correct-prototype-getter"),n=s("IE_PROTO"),c=Object.prototype;p.exports=l?Object.getPrototypeOf:function(e){return e=r(e),o(e,n)?e[n]:typeof e.constructor=="function"&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},{"../internals/correct-prototype-getter":118,"../internals/has":148,"../internals/shared-key":209,"../internals/to-object":222}],185:[function(t,p,h){var o=t("../internals/has"),r=t("../internals/to-indexed-object"),s=t("../internals/array-includes").indexOf,l=t("../internals/hidden-keys");p.exports=function(n,c){var e=r(n),a=0,i=[],u;for(u in e)!o(l,u)&&o(e,u)&&i.push(u);for(;c.length>a;)o(e,u=c[a++])&&(~s(i,u)||i.push(u));return i}},{"../internals/array-includes":103,"../internals/has":148,"../internals/hidden-keys":149,"../internals/to-indexed-object":219}],186:[function(t,p,h){var o=t("../internals/object-keys-internal"),r=t("../internals/enum-bug-keys");p.exports=Object.keys||function(l){return o(l,r)}},{"../internals/enum-bug-keys":138,"../internals/object-keys-internal":185}],187:[function(t,p,h){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,s=r&&!o.call({1:2},1);h.f=s?function(n){var c=r(this,n);return!!c&&c.enumerable}:o},{}],188:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/a-possible-prototype");p.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,l={},n;try{n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,n.call(l,[]),s=l instanceof Array}catch(c){}return function(e,a){return o(e),r(a),s?n.call(e,a):e.__proto__=a,e}}():void 0)},{"../internals/a-possible-prototype":90,"../internals/an-object":94}],189:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/object-keys"),s=t("../internals/to-indexed-object"),l=t("../internals/object-property-is-enumerable").f,n=function(e){return function(a){for(var i=s(a),u=r(i),f=u.length,m=0,A=[],g;f>m;)g=u[m++],(!o||l.call(i,g))&&A.push(e?[g,i[g]]:i[g]);return A}};p.exports={entries:n(!0),values:n(!1)}},{"../internals/descriptors":125,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/to-indexed-object":219}],190:[function(t,p,h){"use strict";var o=t("../internals/to-string-tag-support"),r=t("../internals/classof");p.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},{"../internals/classof":115,"../internals/to-string-tag-support":227}],191:[function(t,p,h){var o=t("../internals/is-object");p.exports=function(r,s){var l,n;if(s==="string"&&typeof(l=r.toString)=="function"&&!o(n=l.call(r)))return n;if(typeof(l=r.valueOf)=="function"&&!o(n=l.call(r)))return n;if(s!=="string"&&typeof(l=r.toString)=="function"&&!o(n=l.call(r)))return n;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":162}],192:[function(t,p,h){var o=t("../internals/get-built-in"),r=t("../internals/object-get-own-property-names"),s=t("../internals/object-get-own-property-symbols"),l=t("../internals/an-object");p.exports=o("Reflect","ownKeys")||function(c){var e=r.f(l(c)),a=s.f;return a?e.concat(a(c)):e}},{"../internals/an-object":94,"../internals/get-built-in":143,"../internals/object-get-own-property-names":182,"../internals/object-get-own-property-symbols":183}],193:[function(t,p,h){var o=t("../internals/global");p.exports=o},{"../internals/global":147}],194:[function(t,p,h){p.exports=function(o){try{return{error:!1,value:o()}}catch(r){return{error:!0,value:r}}}},{}],195:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/is-object"),s=t("../internals/new-promise-capability");p.exports=function(l,n){if(o(l),r(n)&&n.constructor===l)return n;var c=s.f(l),e=c.resolve;return e(n),c.promise}},{"../internals/an-object":94,"../internals/is-object":162,"../internals/new-promise-capability":174}],196:[function(t,p,h){var o=t("../internals/redefine");p.exports=function(r,s,l){for(var n in s)o(r,n,s[n],l);return r}},{"../internals/redefine":197}],197:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/create-non-enumerable-property"),s=t("../internals/has"),l=t("../internals/set-global"),n=t("../internals/inspect-source"),c=t("../internals/internal-state"),e=c.get,a=c.enforce,i=String(String).split("String");(p.exports=function(u,f,m,A){var g=A?!!A.unsafe:!1,v=A?!!A.enumerable:!1,b=A?!!A.noTargetGet:!1,S;if(typeof m=="function"&&(typeof f=="string"&&!s(m,"name")&&r(m,"name",f),S=a(m),S.source||(S.source=i.join(typeof f=="string"?f:""))),u===o){v?u[f]=m:l(f,m);return}else g?!b&&u[f]&&(v=!0):delete u[f];v?u[f]=m:r(u,f,m)})(Function.prototype,"toString",function(){return typeof this=="function"&&e(this).source||n(this)})},{"../internals/create-non-enumerable-property":120,"../internals/global":147,"../internals/has":148,"../internals/inspect-source":156,"../internals/internal-state":157,"../internals/set-global":206}],198:[function(t,p,h){var o=t("./classof-raw"),r=t("./regexp-exec");p.exports=function(s,l){var n=s.exec;if(typeof n=="function"){var c=n.call(s,l);if(typeof c!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return c}if(o(s)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return r.call(s,l)}},{"./classof-raw":114,"./regexp-exec":199}],199:[function(t,p,h){"use strict";var o=t("../internals/to-string"),r=t("../internals/regexp-flags"),s=t("../internals/regexp-sticky-helpers"),l=t("../internals/shared"),n=t("../internals/object-create"),c=t("../internals/internal-state").get,e=t("../internals/regexp-unsupported-dot-all"),a=t("../internals/regexp-unsupported-ncg"),i=RegExp.prototype.exec,u=l("native-string-replace",String.prototype.replace),f=i,m=function(){var b=/a/,S=/b*/g;return i.call(b,"a"),i.call(S,"a"),b.lastIndex!==0||S.lastIndex!==0}(),A=s.UNSUPPORTED_Y||s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,v=m||g||A||e||a;v&&(f=function(S){var y=this,w=c(y),x=o(S),T=w.raw,L,R,P,k,U,D,M;if(T)return T.lastIndex=y.lastIndex,L=f.call(T,x),y.lastIndex=T.lastIndex,L;var B=w.groups,j=A&&y.sticky,H=r.call(y),K=y.source,W=0,X=x;if(j&&(H=H.replace("y",""),H.indexOf("g")===-1&&(H+="g"),X=x.slice(y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&x.charAt(y.lastIndex-1)!==`
`)&&(K="(?: "+K+")",X=" "+X,W++),R=new RegExp("^(?:"+K+")",H)),g&&(R=new RegExp("^"+K+"$(?!\\s)",H)),m&&(P=y.lastIndex),k=i.call(j?R:y,X),j?k?(k.input=k.input.slice(W),k[0]=k[0].slice(W),k.index=y.lastIndex,y.lastIndex+=k[0].length):y.lastIndex=0:m&&k&&(y.lastIndex=y.global?k.index+k[0].length:P),g&&k&&k.length>1&&u.call(k[0],R,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(k[U]=void 0)}),k&&B)for(k.groups=D=n(null),U=0;U<B.length;U++)M=B[U],D[M[0]]=k[M[1]];return k}),p.exports=f},{"../internals/internal-state":157,"../internals/object-create":177,"../internals/regexp-flags":200,"../internals/regexp-sticky-helpers":201,"../internals/regexp-unsupported-dot-all":202,"../internals/regexp-unsupported-ncg":203,"../internals/shared":211,"../internals/to-string":228}],200:[function(t,p,h){"use strict";var o=t("../internals/an-object");p.exports=function(){var r=o(this),s="";return r.global&&(s+="g"),r.ignoreCase&&(s+="i"),r.multiline&&(s+="m"),r.dotAll&&(s+="s"),r.unicode&&(s+="u"),r.sticky&&(s+="y"),s}},{"../internals/an-object":94}],201:[function(t,p,h){var o=t("../internals/fails"),r=t("../internals/global"),s=r.RegExp;h.UNSUPPORTED_Y=o(function(){var l=s("a","y");return l.lastIndex=2,l.exec("abcd")!=null}),h.BROKEN_CARET=o(function(){var l=s("^r","gy");return l.lastIndex=2,l.exec("str")!=null})},{"../internals/fails":140,"../internals/global":147}],202:[function(t,p,h){var o=t("./fails"),r=t("../internals/global"),s=r.RegExp;p.exports=o(function(){var l=s(".","s");return!(l.dotAll&&l.exec(`
`)&&l.flags==="s")})},{"../internals/global":147,"./fails":140}],203:[function(t,p,h){var o=t("./fails"),r=t("../internals/global"),s=r.RegExp;p.exports=o(function(){var l=s("(?<a>b)","g");return l.exec("b").groups.a!=="b"||"b".replace(l,"$<a>c")!=="bc"})},{"../internals/global":147,"./fails":140}],204:[function(t,p,h){p.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},{}],205:[function(t,p,h){p.exports=Object.is||function(r,s){return r===s?r!==0||1/r===1/s:r!=r&&s!=s}},{}],206:[function(t,p,h){var o=t("../internals/global");p.exports=function(r,s){try{Object.defineProperty(o,r,{value:s,configurable:!0,writable:!0})}catch(l){o[r]=s}return s}},{"../internals/global":147}],207:[function(t,p,h){"use strict";var o=t("../internals/get-built-in"),r=t("../internals/object-define-property"),s=t("../internals/well-known-symbol"),l=t("../internals/descriptors"),n=s("species");p.exports=function(c){var e=o(c),a=r.f;l&&e&&!e[n]&&a(e,n,{configurable:!0,get:function(){return this}})}},{"../internals/descriptors":125,"../internals/get-built-in":143,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],208:[function(t,p,h){var o=t("../internals/object-define-property").f,r=t("../internals/has"),s=t("../internals/well-known-symbol"),l=s("toStringTag");p.exports=function(n,c,e){n&&!r(n=e?n:n.prototype,l)&&o(n,l,{configurable:!0,value:c})}},{"../internals/has":148,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],209:[function(t,p,h){var o=t("../internals/shared"),r=t("../internals/uid"),s=o("keys");p.exports=function(l){return s[l]||(s[l]=r(l))}},{"../internals/shared":211,"../internals/uid":234}],210:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/set-global"),s="__core-js_shared__",l=o[s]||r(s,{});p.exports=l},{"../internals/global":147,"../internals/set-global":206}],211:[function(t,p,h){var o=t("../internals/is-pure"),r=t("../internals/shared-store");(p.exports=function(s,l){return r[s]||(r[s]=l!==void 0?l:{})})("versions",[]).push({version:"3.17.2",mode:o?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":163,"../internals/shared-store":210}],212:[function(t,p,h){var o=t("../internals/an-object"),r=t("../internals/a-function"),s=t("../internals/well-known-symbol"),l=s("species");p.exports=function(n,c){var e=o(n).constructor,a;return e===void 0||(a=o(e)[l])==null?c:r(a)}},{"../internals/a-function":89,"../internals/an-object":94,"../internals/well-known-symbol":237}],213:[function(t,p,h){var o=t("../internals/to-integer"),r=t("../internals/to-string"),s=t("../internals/require-object-coercible"),l=function(c){return function(e,a){var i=r(s(e)),u=o(a),f=i.length,m,A;return u<0||u>=f?c?"":void 0:(m=i.charCodeAt(u),m<55296||m>56319||u+1===f||(A=i.charCodeAt(u+1))<56320||A>57343?c?i.charAt(u):m:c?i.slice(u,u+2):(m-55296<<10)+(A-56320)+65536)}};p.exports={codeAt:l(!1),charAt:l(!0)}},{"../internals/require-object-coercible":204,"../internals/to-integer":220,"../internals/to-string":228}],214:[function(t,p,h){var o=t("../internals/fails"),r=t("../internals/whitespaces"),s="\u200B\x85\u180E";p.exports=function(l){return o(function(){return!!r[l]()||s[l]()!=s||r[l].name!==l})}},{"../internals/fails":140,"../internals/whitespaces":238}],215:[function(t,p,h){var o=t("../internals/require-object-coercible"),r=t("../internals/to-string"),s=t("../internals/whitespaces"),l="["+s+"]",n=RegExp("^"+l+l+"*"),c=RegExp(l+l+"*$"),e=function(i){return function(u){var f=r(o(u));return i&1&&(f=f.replace(n,"")),i&2&&(f=f.replace(c,"")),f}};p.exports={start:e(1),end:e(2),trim:e(3)}},{"../internals/require-object-coercible":204,"../internals/to-string":228,"../internals/whitespaces":238}],216:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/fails"),s=t("../internals/function-bind-context"),l=t("../internals/html"),n=t("../internals/document-create-element"),c=t("../internals/engine-is-ios"),e=t("../internals/engine-is-node"),a=o.setImmediate,i=o.clearImmediate,u=o.process,f=o.MessageChannel,m=o.Dispatch,A=0,g={},v="onreadystatechange",b,S,y,w;try{b=o.location}catch(P){}var x=function(k){if(g.hasOwnProperty(k)){var U=g[k];delete g[k],U()}},T=function(k){return function(){x(k)}},L=function(k){x(k.data)},R=function(k){o.postMessage(String(k),b.protocol+"//"+b.host)};(!a||!i)&&(a=function(k){for(var U=[],D=arguments.length,M=1;D>M;)U.push(arguments[M++]);return g[++A]=function(){(typeof k=="function"?k:Function(k)).apply(void 0,U)},S(A),A},i=function(k){delete g[k]},e?S=function(k){u.nextTick(T(k))}:m&&m.now?S=function(k){m.now(T(k))}:f&&!c?(y=new f,w=y.port2,y.port1.onmessage=L,S=s(w.postMessage,w,1)):o.addEventListener&&typeof postMessage=="function"&&!o.importScripts&&b&&b.protocol!=="file:"&&!r(R)?(S=R,o.addEventListener("message",L,!1)):v in n("script")?S=function(k){l.appendChild(n("script"))[v]=function(){l.removeChild(this),x(k)}}:S=function(k){setTimeout(T(k),0)}),p.exports={set:a,clear:i}},{"../internals/document-create-element":126,"../internals/engine-is-ios":132,"../internals/engine-is-node":133,"../internals/fails":140,"../internals/function-bind-context":142,"../internals/global":147,"../internals/html":151}],217:[function(t,p,h){var o=t("../internals/to-integer"),r=Math.max,s=Math.min;p.exports=function(l,n){var c=o(l);return c<0?r(c+n,0):s(c,n)}},{"../internals/to-integer":220}],218:[function(t,p,h){var o=t("../internals/to-integer"),r=t("../internals/to-length");p.exports=function(s){if(s===void 0)return 0;var l=o(s),n=r(l);if(l!==n)throw RangeError("Wrong length or index");return n}},{"../internals/to-integer":220,"../internals/to-length":221}],219:[function(t,p,h){var o=t("../internals/indexed-object"),r=t("../internals/require-object-coercible");p.exports=function(s){return o(r(s))}},{"../internals/indexed-object":154,"../internals/require-object-coercible":204}],220:[function(t,p,h){var o=Math.ceil,r=Math.floor;p.exports=function(s){return isNaN(s=+s)?0:(s>0?r:o)(s)}},{}],221:[function(t,p,h){var o=t("../internals/to-integer"),r=Math.min;p.exports=function(s){return s>0?r(o(s),9007199254740991):0}},{"../internals/to-integer":220}],222:[function(t,p,h){var o=t("../internals/require-object-coercible");p.exports=function(r){return Object(o(r))}},{"../internals/require-object-coercible":204}],223:[function(t,p,h){var o=t("../internals/to-positive-integer");p.exports=function(r,s){var l=o(r);if(l%s)throw RangeError("Wrong offset");return l}},{"../internals/to-positive-integer":224}],224:[function(t,p,h){var o=t("../internals/to-integer");p.exports=function(r){var s=o(r);if(s<0)throw RangeError("The argument can't be less than 0");return s}},{"../internals/to-integer":220}],225:[function(t,p,h){var o=t("../internals/is-object"),r=t("../internals/is-symbol"),s=t("../internals/ordinary-to-primitive"),l=t("../internals/well-known-symbol"),n=l("toPrimitive");p.exports=function(c,e){if(!o(c)||r(c))return c;var a=c[n],i;if(a!==void 0){if(e===void 0&&(e="default"),i=a.call(c,e),!o(i)||r(i))return i;throw TypeError("Can't convert object to primitive value")}return e===void 0&&(e="number"),s(c,e)}},{"../internals/is-object":162,"../internals/is-symbol":165,"../internals/ordinary-to-primitive":191,"../internals/well-known-symbol":237}],226:[function(t,p,h){var o=t("../internals/to-primitive"),r=t("../internals/is-symbol");p.exports=function(s){var l=o(s,"string");return r(l)?l:String(l)}},{"../internals/is-symbol":165,"../internals/to-primitive":225}],227:[function(t,p,h){var o=t("../internals/well-known-symbol"),r=o("toStringTag"),s={};s[r]="z",p.exports=String(s)==="[object z]"},{"../internals/well-known-symbol":237}],228:[function(t,p,h){var o=t("../internals/is-symbol");p.exports=function(r){if(o(r))throw TypeError("Cannot convert a Symbol value to a string");return String(r)}},{"../internals/is-symbol":165}],229:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/global"),s=t("../internals/descriptors"),l=t("../internals/typed-array-constructors-require-wrappers"),n=t("../internals/array-buffer-view-core"),c=t("../internals/array-buffer"),e=t("../internals/an-instance"),a=t("../internals/create-property-descriptor"),i=t("../internals/create-non-enumerable-property"),u=t("../internals/is-integer"),f=t("../internals/to-length"),m=t("../internals/to-index"),A=t("../internals/to-offset"),g=t("../internals/to-property-key"),v=t("../internals/has"),b=t("../internals/classof"),S=t("../internals/is-object"),y=t("../internals/is-symbol"),w=t("../internals/object-create"),x=t("../internals/object-set-prototype-of"),T=t("../internals/object-get-own-property-names").f,L=t("../internals/typed-array-from"),R=t("../internals/array-iteration").forEach,P=t("../internals/set-species"),k=t("../internals/object-define-property"),U=t("../internals/object-get-own-property-descriptor"),D=t("../internals/internal-state"),M=t("../internals/inherit-if-required"),B=D.get,j=D.set,H=k.f,K=U.f,W=Math.round,X=r.RangeError,V=c.ArrayBuffer,Z=c.DataView,G=n.NATIVE_ARRAY_BUFFER_VIEWS,Y=n.TYPED_ARRAY_CONSTRUCTOR,te=n.TYPED_ARRAY_TAG,se=n.TypedArray,Ce=n.TypedArrayPrototype,he=n.aTypedArrayConstructor,xe=n.isTypedArray,ie="BYTES_PER_ELEMENT",ee="Wrong length",Ze=function(et,He){for(var pe=0,ae=He.length,re=new(he(et))(ae);ae>pe;)re[pe]=He[pe++];return re},Se=function(et,He){H(et,He,{get:function(){return B(this)[He]}})},Ne=function(et){var He;return et instanceof V||(He=b(et))=="ArrayBuffer"||He=="SharedArrayBuffer"},it=function(et,He){return xe(et)&&!y(He)&&He in et&&u(+He)&&He>=0},Ye=function(et,He){return He=g(He),it(et,He)?a(2,et[He]):K(et,He)},nt=function(et,He,pe){return He=g(He),it(et,He)&&S(pe)&&v(pe,"value")&&!v(pe,"get")&&!v(pe,"set")&&!pe.configurable&&(!v(pe,"writable")||pe.writable)&&(!v(pe,"enumerable")||pe.enumerable)?(et[He]=pe.value,et):H(et,He,pe)};s?(G||(U.f=Ye,k.f=nt,Se(Ce,"buffer"),Se(Ce,"byteOffset"),Se(Ce,"byteLength"),Se(Ce,"length")),o({target:"Object",stat:!0,forced:!G},{getOwnPropertyDescriptor:Ye,defineProperty:nt}),p.exports=function(je,et,He){var pe=je.match(/\d+$/)[0]/8,ae=je+(He?"Clamped":"")+"Array",re="get"+je,be="set"+je,ze=r[ae],Ke=ze,Te=Ke&&Ke.prototype,gt={},Ue=function(xt,Tt){var Be=B(xt);return Be.view[re](Tt*pe+Be.byteOffset,!0)},bt=function(xt,Tt,Be){var ce=B(xt);He&&(Be=(Be=W(Be))<0?0:Be>255?255:Be&255),ce.view[be](Tt*pe+ce.byteOffset,Be,!0)},wt=function(xt,Tt){H(xt,Tt,{get:function(){return Ue(this,Tt)},set:function(ce){return bt(this,Tt,ce)},enumerable:!0})};G?l&&(Ke=et(function(Et,xt,Tt,Be){return e(Et,Ke,ae),M(function(){return S(xt)?Ne(xt)?Be!==void 0?new ze(xt,A(Tt,pe),Be):Tt!==void 0?new ze(xt,A(Tt,pe)):new ze(xt):xe(xt)?Ze(Ke,xt):L.call(Ke,xt):new ze(m(xt))}(),Et,Ke)}),x&&x(Ke,se),R(T(ze),function(Et){Et in Ke||i(Ke,Et,ze[Et])}),Ke.prototype=Te):(Ke=et(function(Et,xt,Tt,Be){e(Et,Ke,ae);var ce=0,q=0,dt,Ve,de;if(!S(xt))de=m(xt),Ve=de*pe,dt=new V(Ve);else if(Ne(xt)){dt=xt,q=A(Tt,pe);var Ht=xt.byteLength;if(Be===void 0){if(Ht%pe)throw X(ee);if(Ve=Ht-q,Ve<0)throw X(ee)}else if(Ve=f(Be)*pe,Ve+q>Ht)throw X(ee);de=Ve/pe}else return xe(xt)?Ze(Ke,xt):L.call(Ke,xt);for(j(Et,{buffer:dt,byteOffset:q,byteLength:Ve,length:de,view:new Z(dt)});ce<de;)wt(Et,ce++)}),x&&x(Ke,se),Te=Ke.prototype=w(Ce)),Te.constructor!==Ke&&i(Te,"constructor",Ke),i(Te,Y,Ke),te&&i(Te,te,ae),gt[ae]=Ke,o({global:!0,forced:Ke!=ze,sham:!G},gt),ie in Ke||i(Ke,ie,pe),ie in Te||i(Te,ie,pe),P(ae)}):p.exports=function(){}},{"../internals/an-instance":93,"../internals/array-buffer":97,"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/classof":115,"../internals/create-non-enumerable-property":120,"../internals/create-property-descriptor":121,"../internals/descriptors":125,"../internals/export":139,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/internal-state":157,"../internals/is-integer":161,"../internals/is-object":162,"../internals/is-symbol":165,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/object-set-prototype-of":188,"../internals/set-species":207,"../internals/to-index":218,"../internals/to-length":221,"../internals/to-offset":223,"../internals/to-property-key":226,"../internals/typed-array-constructors-require-wrappers":230,"../internals/typed-array-from":232}],230:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/fails"),s=t("../internals/check-correctness-of-iteration"),l=t("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,n=o.ArrayBuffer,c=o.Int8Array;p.exports=!l||!r(function(){c(1)})||!r(function(){new c(-1)})||!s(function(e){new c,new c(null),new c(1.5),new c(e)},!0)||r(function(){return new c(new n(2),1,void 0).length!==1})},{"../internals/array-buffer-view-core":96,"../internals/check-correctness-of-iteration":113,"../internals/fails":140,"../internals/global":147}],231:[function(t,p,h){var o=t("../internals/array-from-constructor-and-list"),r=t("../internals/typed-array-species-constructor");p.exports=function(s,l){return o(r(s),l)}},{"../internals/array-from-constructor-and-list":101,"../internals/typed-array-species-constructor":233}],232:[function(t,p,h){var o=t("../internals/to-object"),r=t("../internals/to-length"),s=t("../internals/get-iterator"),l=t("../internals/get-iterator-method"),n=t("../internals/is-array-iterator-method"),c=t("../internals/function-bind-context"),e=t("../internals/array-buffer-view-core").aTypedArrayConstructor;p.exports=function(i){var u=o(i),f=arguments.length,m=f>1?arguments[1]:void 0,A=m!==void 0,g=l(u),v,b,S,y,w,x;if(g!=null&&!n(g))for(w=s(u,g),x=w.next,u=[];!(y=x.call(w)).done;)u.push(y.value);for(A&&f>2&&(m=c(m,arguments[2],2)),b=r(u.length),S=new(e(this))(b),v=0;b>v;v++)S[v]=A?m(u[v],v):u[v];return S}},{"../internals/array-buffer-view-core":96,"../internals/function-bind-context":142,"../internals/get-iterator":145,"../internals/get-iterator-method":144,"../internals/is-array-iterator-method":158,"../internals/to-length":221,"../internals/to-object":222}],233:[function(t,p,h){var o=t("../internals/array-buffer-view-core"),r=t("../internals/species-constructor"),s=o.TYPED_ARRAY_CONSTRUCTOR,l=o.aTypedArrayConstructor;p.exports=function(n){return l(r(n,n[s]))}},{"../internals/array-buffer-view-core":96,"../internals/species-constructor":212}],234:[function(t,p,h){var o=0,r=Math.random();p.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++o+r).toString(36)}},{}],235:[function(t,p,h){var o=t("../internals/native-symbol");p.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":172}],236:[function(t,p,h){var o=t("../internals/well-known-symbol");h.f=o},{"../internals/well-known-symbol":237}],237:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/shared"),s=t("../internals/has"),l=t("../internals/uid"),n=t("../internals/native-symbol"),c=t("../internals/use-symbol-as-uid"),e=r("wks"),a=o.Symbol,i=c?a:a&&a.withoutSetter||l;p.exports=function(u){return(!s(e,u)||!(n||typeof e[u]=="string"))&&(n&&s(a,u)?e[u]=a[u]:e[u]=i("Symbol."+u)),e[u]}},{"../internals/global":147,"../internals/has":148,"../internals/native-symbol":172,"../internals/shared":211,"../internals/uid":234,"../internals/use-symbol-as-uid":235}],238:[function(t,p,h){p.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},{}],239:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/global"),s=t("../internals/array-buffer"),l=t("../internals/set-species"),n="ArrayBuffer",c=s[n],e=r[n];o({global:!0,forced:e!==c},{ArrayBuffer:c}),l(n)},{"../internals/array-buffer":97,"../internals/export":139,"../internals/global":147,"../internals/set-species":207}],240:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/fails"),s=t("../internals/array-buffer"),l=t("../internals/an-object"),n=t("../internals/to-absolute-index"),c=t("../internals/to-length"),e=t("../internals/species-constructor"),a=s.ArrayBuffer,i=s.DataView,u=a.prototype.slice,f=r(function(){return!new a(2).slice(1,void 0).byteLength});o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:f},{slice:function(A,g){if(u!==void 0&&g===void 0)return u.call(l(this),A);for(var v=l(this).byteLength,b=n(A,v),S=n(g===void 0?v:g,v),y=new(e(this,a))(c(S-b)),w=new i(this),x=new i(y),T=0;b<S;)x.setUint8(T++,w.getUint8(b++));return y}})},{"../internals/an-object":94,"../internals/array-buffer":97,"../internals/export":139,"../internals/fails":140,"../internals/species-constructor":212,"../internals/to-absolute-index":217,"../internals/to-length":221}],241:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/fails"),s=t("../internals/is-array"),l=t("../internals/is-object"),n=t("../internals/to-object"),c=t("../internals/to-length"),e=t("../internals/create-property"),a=t("../internals/array-species-create"),i=t("../internals/array-method-has-species-support"),u=t("../internals/well-known-symbol"),f=t("../internals/engine-v8-version"),m=u("isConcatSpreadable"),A=9007199254740991,g="Maximum allowed index exceeded",v=f>=51||!r(function(){var w=[];return w[m]=!1,w.concat()[0]!==w}),b=i("concat"),S=function(x){if(!l(x))return!1;var T=x[m];return T!==void 0?!!T:s(x)},y=!v||!b;o({target:"Array",proto:!0,forced:y},{concat:function(x){var T=n(this),L=a(T,0),R=0,P,k,U,D,M;for(P=-1,U=arguments.length;P<U;P++)if(M=P===-1?T:arguments[P],S(M)){if(D=c(M.length),R+D>A)throw TypeError(g);for(k=0;k<D;k++,R++)k in M&&e(L,R,M[k])}else{if(R>=A)throw TypeError(g);e(L,R++,M)}return L.length=R,L}})},{"../internals/array-method-has-species-support":106,"../internals/array-species-create":111,"../internals/create-property":122,"../internals/engine-v8-version":136,"../internals/export":139,"../internals/fails":140,"../internals/is-array":159,"../internals/is-object":162,"../internals/to-length":221,"../internals/to-object":222,"../internals/well-known-symbol":237}],242:[function(t,p,h){var o=t("../internals/export"),r=t("../internals/array-fill"),s=t("../internals/add-to-unscopables");o({target:"Array",proto:!0},{fill:r}),s("fill")},{"../internals/add-to-unscopables":91,"../internals/array-fill":99,"../internals/export":139}],243:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/array-iteration").filter,s=t("../internals/array-method-has-species-support"),l=s("filter");o({target:"Array",proto:!0,forced:!l},{filter:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":104,"../internals/array-method-has-species-support":106,"../internals/export":139}],244:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/array-iteration").find,s=t("../internals/add-to-unscopables"),l="find",n=!0;l in[]&&Array(1)[l](function(){n=!1}),o({target:"Array",proto:!0,forced:n},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),s(l)},{"../internals/add-to-unscopables":91,"../internals/array-iteration":104,"../internals/export":139}],245:[function(t,p,h){var o=t("../internals/export"),r=t("../internals/array-from"),s=t("../internals/check-correctness-of-iteration"),l=!s(function(n){Array.from(n)});o({target:"Array",stat:!0,forced:l},{from:r})},{"../internals/array-from":102,"../internals/check-correctness-of-iteration":113,"../internals/export":139}],246:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/array-includes").includes,s=t("../internals/add-to-unscopables");o({target:"Array",proto:!0},{includes:function(n){return r(this,n,arguments.length>1?arguments[1]:void 0)}}),s("includes")},{"../internals/add-to-unscopables":91,"../internals/array-includes":103,"../internals/export":139}],247:[function(t,p,h){"use strict";var o=t("../internals/to-indexed-object"),r=t("../internals/add-to-unscopables"),s=t("../internals/iterators"),l=t("../internals/internal-state"),n=t("../internals/define-iterator"),c="Array Iterator",e=l.set,a=l.getterFor(c);p.exports=n(Array,"Array",function(i,u){e(this,{type:c,target:o(i),index:0,kind:u})},function(){var i=a(this),u=i.target,f=i.kind,m=i.index++;return!u||m>=u.length?(i.target=void 0,{value:void 0,done:!0}):f=="keys"?{value:m,done:!1}:f=="values"?{value:u[m],done:!1}:{value:[m,u[m]],done:!1}},"values"),s.Arguments=s.Array,r("keys"),r("values"),r("entries")},{"../internals/add-to-unscopables":91,"../internals/define-iterator":123,"../internals/internal-state":157,"../internals/iterators":169,"../internals/to-indexed-object":219}],248:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/indexed-object"),s=t("../internals/to-indexed-object"),l=t("../internals/array-method-is-strict"),n=[].join,c=r!=Object,e=l("join",",");o({target:"Array",proto:!0,forced:c||!e},{join:function(i){return n.call(s(this),i===void 0?",":i)}})},{"../internals/array-method-is-strict":107,"../internals/export":139,"../internals/indexed-object":154,"../internals/to-indexed-object":219}],249:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/array-iteration").map,s=t("../internals/array-method-has-species-support"),l=s("map");o({target:"Array",proto:!0,forced:!l},{map:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":104,"../internals/array-method-has-species-support":106,"../internals/export":139}],250:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/is-object"),s=t("../internals/is-array"),l=t("../internals/to-absolute-index"),n=t("../internals/to-length"),c=t("../internals/to-indexed-object"),e=t("../internals/create-property"),a=t("../internals/well-known-symbol"),i=t("../internals/array-method-has-species-support"),u=i("slice"),f=a("species"),m=[].slice,A=Math.max;o({target:"Array",proto:!0,forced:!u},{slice:function(v,b){var S=c(this),y=n(S.length),w=l(v,y),x=l(b===void 0?y:b,y),T,L,R;if(s(S)&&(T=S.constructor,typeof T=="function"&&(T===Array||s(T.prototype))?T=void 0:r(T)&&(T=T[f],T===null&&(T=void 0)),T===Array||T===void 0))return m.call(S,w,x);for(L=new(T===void 0?Array:T)(A(x-w,0)),R=0;w<x;w++,R++)w in S&&e(L,R,S[w]);return L.length=R,L}})},{"../internals/array-method-has-species-support":106,"../internals/create-property":122,"../internals/export":139,"../internals/is-array":159,"../internals/is-object":162,"../internals/to-absolute-index":217,"../internals/to-indexed-object":219,"../internals/to-length":221,"../internals/well-known-symbol":237}],251:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/a-function"),s=t("../internals/to-object"),l=t("../internals/to-length"),n=t("../internals/to-string"),c=t("../internals/fails"),e=t("../internals/array-sort"),a=t("../internals/array-method-is-strict"),i=t("../internals/engine-ff-version"),u=t("../internals/engine-is-ie-or-edge"),f=t("../internals/engine-v8-version"),m=t("../internals/engine-webkit-version"),A=[],g=A.sort,v=c(function(){A.sort(void 0)}),b=c(function(){A.sort(null)}),S=a("sort"),y=!c(function(){if(f)return f<70;if(i&&i>3)return;if(u)return!0;if(m)return m<603;var T="",L,R,P,k;for(L=65;L<76;L++){R=String.fromCharCode(L);switch(L){case 66:case 69:case 70:case 72:P=3;break;case 68:case 71:P=4;break;default:P=2}for(k=0;k<47;k++)A.push({k:R+k,v:P})}for(A.sort(function(U,D){return D.v-U.v}),k=0;k<A.length;k++)R=A[k].k.charAt(0),T.charAt(T.length-1)!==R&&(T+=R);return T!=="DGBEFHACIJK"}),w=v||!b||!S||!y,x=function(L){return function(R,P){return P===void 0?-1:R===void 0?1:L!==void 0?+L(R,P)||0:n(R)>n(P)?1:-1}};o({target:"Array",proto:!0,forced:w},{sort:function(L){L!==void 0&&r(L);var R=s(this);if(y)return L===void 0?g.call(R):g.call(R,L);var P=[],k=l(R.length),U,D;for(D=0;D<k;D++)D in R&&P.push(R[D]);for(P=e(P,x(L)),U=P.length,D=0;D<U;)R[D]=P[D++];for(;D<k;)delete R[D++];return R}})},{"../internals/a-function":89,"../internals/array-method-is-strict":107,"../internals/array-sort":109,"../internals/engine-ff-version":128,"../internals/engine-is-ie-or-edge":130,"../internals/engine-v8-version":136,"../internals/engine-webkit-version":137,"../internals/export":139,"../internals/fails":140,"../internals/to-length":221,"../internals/to-object":222,"../internals/to-string":228}],252:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/to-absolute-index"),s=t("../internals/to-integer"),l=t("../internals/to-length"),n=t("../internals/to-object"),c=t("../internals/array-species-create"),e=t("../internals/create-property"),a=t("../internals/array-method-has-species-support"),i=a("splice"),u=Math.max,f=Math.min,m=9007199254740991,A="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!i},{splice:function(v,b){var S=n(this),y=l(S.length),w=r(v,y),x=arguments.length,T,L,R,P,k,U;if(x===0?T=L=0:x===1?(T=0,L=y-w):(T=x-2,L=f(u(s(b),0),y-w)),y+T-L>m)throw TypeError(A);for(R=c(S,L),P=0;P<L;P++)k=w+P,k in S&&e(R,P,S[k]);if(R.length=L,T<L){for(P=w;P<y-L;P++)k=P+L,U=P+T,k in S?S[U]=S[k]:delete S[U];for(P=y;P>y-L+T;P--)delete S[P-1]}else if(T>L)for(P=y-L;P>w;P--)k=P+L-1,U=P+T-1,k in S?S[U]=S[k]:delete S[U];for(P=0;P<T;P++)S[P+w]=arguments[P+2];return S.length=y-L+T,R}})},{"../internals/array-method-has-species-support":106,"../internals/array-species-create":111,"../internals/create-property":122,"../internals/export":139,"../internals/to-absolute-index":217,"../internals/to-integer":220,"../internals/to-length":221,"../internals/to-object":222}],253:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/object-define-property").f,s=Function.prototype,l=s.toString,n=/^\s*function ([^ (]*)/,c="name";o&&!(c in s)&&r(s,c,{configurable:!0,get:function(){try{return l.call(this).match(n)[1]}catch(a){return""}}})},{"../internals/descriptors":125,"../internals/object-define-property":179}],254:[function(t,p,h){"use strict";var o=t("../internals/descriptors"),r=t("../internals/global"),s=t("../internals/is-forced"),l=t("../internals/redefine"),n=t("../internals/has"),c=t("../internals/classof-raw"),e=t("../internals/inherit-if-required"),a=t("../internals/is-symbol"),i=t("../internals/to-primitive"),u=t("../internals/fails"),f=t("../internals/object-create"),m=t("../internals/object-get-own-property-names").f,A=t("../internals/object-get-own-property-descriptor").f,g=t("../internals/object-define-property").f,v=t("../internals/string-trim").trim,b="Number",S=r[b],y=S.prototype,w=c(f(y))==b,x=function(U){if(a(U))throw TypeError("Cannot convert a Symbol value to a number");var D=i(U,"number"),M,B,j,H,K,W,X,V;if(typeof D=="string"&&D.length>2){if(D=v(D),M=D.charCodeAt(0),M===43||M===45){if(B=D.charCodeAt(2),B===88||B===120)return NaN}else if(M===48){switch(D.charCodeAt(1)){case 66:case 98:j=2,H=49;break;case 79:case 111:j=8,H=55;break;default:return+D}for(K=D.slice(2),W=K.length,X=0;X<W;X++)if(V=K.charCodeAt(X),V<48||V>H)return NaN;return parseInt(K,j)}}return+D};if(s(b,!S(" 0o1")||!S("0b1")||S("+0x1"))){for(var T=function(U){var D=arguments.length<1?0:U,M=this;return M instanceof T&&(w?u(function(){y.valueOf.call(M)}):c(M)!=b)?e(new S(x(D)),M,T):x(D)},L=o?m(S):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),R=0,P;L.length>R;R++)n(S,P=L[R])&&!n(T,P)&&g(T,P,A(S,P));T.prototype=y,y.constructor=T,l(r,b,T)}},{"../internals/classof-raw":114,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/is-forced":160,"../internals/is-symbol":165,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/redefine":197,"../internals/string-trim":215,"../internals/to-primitive":225}],255:[function(t,p,h){var o=t("../internals/export"),r=t("../internals/object-assign");o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},{"../internals/export":139,"../internals/object-assign":176}],256:[function(t,p,h){var o=t("../internals/export"),r=t("../internals/object-to-array").entries;o({target:"Object",stat:!0},{entries:function(l){return r(l)}})},{"../internals/export":139,"../internals/object-to-array":189}],257:[function(t,p,h){var o=t("../internals/export"),r=t("../internals/to-object"),s=t("../internals/object-keys"),l=t("../internals/fails"),n=l(function(){s(1)});o({target:"Object",stat:!0,forced:n},{keys:function(e){return s(r(e))}})},{"../internals/export":139,"../internals/fails":140,"../internals/object-keys":186,"../internals/to-object":222}],258:[function(t,p,h){var o=t("../internals/to-string-tag-support"),r=t("../internals/redefine"),s=t("../internals/object-to-string");o||r(Object.prototype,"toString",s,{unsafe:!0})},{"../internals/object-to-string":190,"../internals/redefine":197,"../internals/to-string-tag-support":227}],259:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/is-pure"),s=t("../internals/global"),l=t("../internals/get-built-in"),n=t("../internals/native-promise-constructor"),c=t("../internals/redefine"),e=t("../internals/redefine-all"),a=t("../internals/object-set-prototype-of"),i=t("../internals/set-to-string-tag"),u=t("../internals/set-species"),f=t("../internals/is-object"),m=t("../internals/a-function"),A=t("../internals/an-instance"),g=t("../internals/inspect-source"),v=t("../internals/iterate"),b=t("../internals/check-correctness-of-iteration"),S=t("../internals/species-constructor"),y=t("../internals/task").set,w=t("../internals/microtask"),x=t("../internals/promise-resolve"),T=t("../internals/host-report-errors"),L=t("../internals/new-promise-capability"),R=t("../internals/perform"),P=t("../internals/internal-state"),k=t("../internals/is-forced"),U=t("../internals/well-known-symbol"),D=t("../internals/engine-is-browser"),M=t("../internals/engine-is-node"),B=t("../internals/engine-v8-version"),j=U("species"),H="Promise",K=P.get,W=P.set,X=P.getterFor(H),V=n&&n.prototype,Z=n,G=V,Y=s.TypeError,te=s.document,se=s.process,Ce=L.f,he=Ce,xe=!!(te&&te.createEvent&&s.dispatchEvent),ie=typeof PromiseRejectionEvent=="function",ee="unhandledrejection",Ze="rejectionhandled",Se=0,Ne=1,it=2,Ye=1,nt=2,je=!1,et,He,pe,ae,re=k(H,function(){var Tt=g(Z),Be=Tt!==String(Z);if(!Be&&B===66)return!0;if(r&&!G.finally)return!0;if(B>=51&&/native code/.test(Tt))return!1;var ce=new Z(function(Ve){Ve(1)}),q=function(de){de(function(){},function(){})},dt=ce.constructor={};return dt[j]=q,je=ce.then(function(){})instanceof q,je?!Be&&D&&!ie:!0}),be=re||!b(function(Tt){Z.all(Tt).catch(function(){})}),ze=function(Be){var ce;return f(Be)&&typeof(ce=Be.then)=="function"?ce:!1},Ke=function(Be,ce){if(Be.notified)return;Be.notified=!0;var q=Be.reactions;w(function(){for(var dt=Be.value,Ve=Be.state==Ne,de=0;q.length>de;){var Ht=q[de++],tr=Ve?Ht.ok:Ht.fail,lt=Ht.resolve,Xt=Ht.reject,sr=Ht.domain,Kr,rr,nr;try{tr?(Ve||(Be.rejection===nt&&bt(Be),Be.rejection=Ye),tr===!0?Kr=dt:(sr&&sr.enter(),Kr=tr(dt),sr&&(sr.exit(),nr=!0)),Kr===Ht.promise?Xt(Y("Promise-chain cycle")):(rr=ze(Kr))?rr.call(Kr,lt,Xt):lt(Kr)):Xt(dt)}catch(Nt){sr&&!nr&&sr.exit(),Xt(Nt)}}Be.reactions=[],Be.notified=!1,ce&&!Be.rejection&&gt(Be)})},Te=function(Be,ce,q){var dt,Ve;xe?(dt=te.createEvent("Event"),dt.promise=ce,dt.reason=q,dt.initEvent(Be,!1,!0),s.dispatchEvent(dt)):dt={promise:ce,reason:q},!ie&&(Ve=s["on"+Be])?Ve(dt):Be===ee&&T("Unhandled promise rejection",q)},gt=function(Be){y.call(s,function(){var ce=Be.facade,q=Be.value,dt=Ue(Be),Ve;if(dt&&(Ve=R(function(){M?se.emit("unhandledRejection",q,ce):Te(ee,ce,q)}),Be.rejection=M||Ue(Be)?nt:Ye,Ve.error))throw Ve.value})},Ue=function(Be){return Be.rejection!==Ye&&!Be.parent},bt=function(Be){y.call(s,function(){var ce=Be.facade;M?se.emit("rejectionHandled",ce):Te(Ze,ce,Be.value)})},wt=function(Be,ce,q){return function(dt){Be(ce,dt,q)}},Et=function(Be,ce,q){if(Be.done)return;Be.done=!0,q&&(Be=q),Be.value=ce,Be.state=it,Ke(Be,!0)},xt=function Tt(Be,ce,q){if(Be.done)return;Be.done=!0,q&&(Be=q);try{if(Be.facade===ce)throw Y("Promise can't be resolved itself");var dt=ze(ce);dt?w(function(){var Ve={done:!1};try{dt.call(ce,wt(Tt,Ve,Be),wt(Et,Ve,Be))}catch(de){Et(Ve,de,Be)}}):(Be.value=ce,Be.state=Ne,Ke(Be,!1))}catch(Ve){Et({done:!1},Ve,Be)}};if(re&&(Z=function(Be){A(this,Z,H),m(Be),et.call(this);var ce=K(this);try{Be(wt(xt,ce),wt(Et,ce))}catch(q){Et(ce,q)}},G=Z.prototype,et=function(Be){W(this,{type:H,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Se,value:void 0})},et.prototype=e(G,{then:function(Be,ce){var q=X(this),dt=Ce(S(this,Z));return dt.ok=typeof Be=="function"?Be:!0,dt.fail=typeof ce=="function"&&ce,dt.domain=M?se.domain:void 0,q.parent=!0,q.reactions.push(dt),q.state!=Se&&Ke(q,!1),dt.promise},catch:function(Be){return this.then(void 0,Be)}}),He=function(){var Be=new et,ce=K(Be);this.promise=Be,this.resolve=wt(xt,ce),this.reject=wt(Et,ce)},L.f=Ce=function(Be){return Be===Z||Be===pe?new He(Be):he(Be)},!r&&typeof n=="function"&&V!==Object.prototype)){ae=V.then,je||(c(V,"then",function(Be,ce){var q=this;return new Z(function(dt,Ve){ae.call(q,dt,Ve)}).then(Be,ce)},{unsafe:!0}),c(V,"catch",G.catch,{unsafe:!0}));try{delete V.constructor}catch(Tt){}a&&a(V,G)}o({global:!0,wrap:!0,forced:re},{Promise:Z}),i(Z,H,!1,!0),u(H),pe=l(H),o({target:H,stat:!0,forced:re},{reject:function(Be){var ce=Ce(this);return ce.reject.call(void 0,Be),ce.promise}}),o({target:H,stat:!0,forced:r||re},{resolve:function(Be){return x(r&&this===pe?Z:this,Be)}}),o({target:H,stat:!0,forced:be},{all:function(Be){var ce=this,q=Ce(ce),dt=q.resolve,Ve=q.reject,de=R(function(){var Ht=m(ce.resolve),tr=[],lt=0,Xt=1;v(Be,function(sr){var Kr=lt++,rr=!1;tr.push(void 0),Xt++,Ht.call(ce,sr).then(function(nr){if(rr)return;rr=!0,tr[Kr]=nr,--Xt||dt(tr)},Ve)}),--Xt||dt(tr)});return de.error&&Ve(de.value),q.promise},race:function(Be){var ce=this,q=Ce(ce),dt=q.reject,Ve=R(function(){var de=m(ce.resolve);v(Be,function(Ht){de.call(ce,Ht).then(q.resolve,dt)})});return Ve.error&&dt(Ve.value),q.promise}})},{"../internals/a-function":89,"../internals/an-instance":93,"../internals/check-correctness-of-iteration":113,"../internals/engine-is-browser":129,"../internals/engine-is-node":133,"../internals/engine-v8-version":136,"../internals/export":139,"../internals/get-built-in":143,"../internals/global":147,"../internals/host-report-errors":150,"../internals/inspect-source":156,"../internals/internal-state":157,"../internals/is-forced":160,"../internals/is-object":162,"../internals/is-pure":163,"../internals/iterate":166,"../internals/microtask":170,"../internals/native-promise-constructor":171,"../internals/new-promise-capability":174,"../internals/object-set-prototype-of":188,"../internals/perform":194,"../internals/promise-resolve":195,"../internals/redefine":197,"../internals/redefine-all":196,"../internals/set-species":207,"../internals/set-to-string-tag":208,"../internals/species-constructor":212,"../internals/task":216,"../internals/well-known-symbol":237}],260:[function(t,p,h){var o=t("../internals/descriptors"),r=t("../internals/global"),s=t("../internals/is-forced"),l=t("../internals/inherit-if-required"),n=t("../internals/create-non-enumerable-property"),c=t("../internals/object-define-property").f,e=t("../internals/object-get-own-property-names").f,a=t("../internals/is-regexp"),i=t("../internals/to-string"),u=t("../internals/regexp-flags"),f=t("../internals/regexp-sticky-helpers"),m=t("../internals/redefine"),A=t("../internals/fails"),g=t("../internals/has"),v=t("../internals/internal-state").enforce,b=t("../internals/set-species"),S=t("../internals/well-known-symbol"),y=t("../internals/regexp-unsupported-dot-all"),w=t("../internals/regexp-unsupported-ncg"),x=S("match"),T=r.RegExp,L=T.prototype,R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,k=/a/g,U=new T(P)!==P,D=f.UNSUPPORTED_Y,M=o&&(!U||D||y||w||A(function(){return k[x]=!1,T(P)!=P||T(k)==k||T(P,"i")!="/a/i"})),B=function(Z){for(var G=Z.length,Y=0,te="",se=!1,Ce;Y<=G;Y++){if(Ce=Z.charAt(Y),Ce==="\\"){te+=Ce+Z.charAt(++Y);continue}!se&&Ce==="."?te+="[\\s\\S]":(Ce==="["?se=!0:Ce==="]"&&(se=!1),te+=Ce)}return te},j=function(Z){for(var G=Z.length,Y=0,te="",se=[],Ce={},he=!1,xe=!1,ie=0,ee="",Ze;Y<=G;Y++){if(Ze=Z.charAt(Y),Ze==="\\")Ze=Ze+Z.charAt(++Y);else if(Ze==="]")he=!1;else if(!he)switch(!0){case Ze==="[":he=!0;break;case Ze==="(":R.test(Z.slice(Y+1))&&(Y+=2,xe=!0),te+=Ze,ie++;continue;case(Ze===">"&&xe):if(ee===""||g(Ce,ee))throw new SyntaxError("Invalid capture group name");Ce[ee]=!0,se.push([ee,ie]),xe=!1,ee="";continue}xe?ee+=Ze:te+=Ze}return[te,se]};if(s("RegExp",M)){for(var H=function(Z,G){var Y=this instanceof H,te=a(Z),se=G===void 0,Ce=[],he=Z,xe,ie,ee,Ze,Se,Ne;if(!Y&&te&&se&&Z.constructor===H)return Z;if((te||Z instanceof H)&&(Z=Z.source,se&&(G="flags"in he?he.flags:u.call(he))),Z=Z===void 0?"":i(Z),G=G===void 0?"":i(G),he=Z,y&&"dotAll"in P&&(ie=!!G&&G.indexOf("s")>-1,ie&&(G=G.replace(/s/g,""))),xe=G,D&&"sticky"in P&&(ee=!!G&&G.indexOf("y")>-1,ee&&(G=G.replace(/y/g,""))),w&&(Ze=j(Z),Z=Ze[0],Ce=Ze[1]),Se=l(T(Z,G),Y?this:L,H),(ie||ee||Ce.length)&&(Ne=v(Se),ie&&(Ne.dotAll=!0,Ne.raw=H(B(Z),xe)),ee&&(Ne.sticky=!0),Ce.length&&(Ne.groups=Ce)),Z!==he)try{n(Se,"source",he===""?"(?:)":he)}catch(it){}return Se},K=function(Z){Z in H||c(H,Z,{configurable:!0,get:function(){return T[Z]},set:function(Y){T[Z]=Y}})},W=e(T),X=0;W.length>X;)K(W[X++]);L.constructor=H,H.prototype=L,m(r,"RegExp",H)}b("RegExp")},{"../internals/create-non-enumerable-property":120,"../internals/descriptors":125,"../internals/fails":140,"../internals/global":147,"../internals/has":148,"../internals/inherit-if-required":155,"../internals/internal-state":157,"../internals/is-forced":160,"../internals/is-regexp":164,"../internals/object-define-property":179,"../internals/object-get-own-property-names":182,"../internals/redefine":197,"../internals/regexp-flags":200,"../internals/regexp-sticky-helpers":201,"../internals/regexp-unsupported-dot-all":202,"../internals/regexp-unsupported-ncg":203,"../internals/set-species":207,"../internals/to-string":228,"../internals/well-known-symbol":237}],261:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/regexp-exec");o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},{"../internals/export":139,"../internals/regexp-exec":199}],262:[function(t,p,h){"use strict";var o=t("../internals/redefine"),r=t("../internals/an-object"),s=t("../internals/to-string"),l=t("../internals/fails"),n=t("../internals/regexp-flags"),c="toString",e=RegExp.prototype,a=e[c],i=l(function(){return a.call({source:"a",flags:"b"})!="/a/b"}),u=a.name!=c;(i||u)&&o(RegExp.prototype,c,function(){var m=r(this),A=s(m.source),g=m.flags,v=s(g===void 0&&m instanceof RegExp&&!("flags"in e)?n.call(m):g);return"/"+A+"/"+v},{unsafe:!0})},{"../internals/an-object":94,"../internals/fails":140,"../internals/redefine":197,"../internals/regexp-flags":200,"../internals/to-string":228}],263:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/not-a-regexp"),s=t("../internals/require-object-coercible"),l=t("../internals/to-string"),n=t("../internals/correct-is-regexp-logic");o({target:"String",proto:!0,forced:!n("includes")},{includes:function(e){return!!~l(s(this)).indexOf(l(r(e)),arguments.length>1?arguments[1]:void 0)}})},{"../internals/correct-is-regexp-logic":117,"../internals/export":139,"../internals/not-a-regexp":175,"../internals/require-object-coercible":204,"../internals/to-string":228}],264:[function(t,p,h){"use strict";var o=t("../internals/string-multibyte").charAt,r=t("../internals/to-string"),s=t("../internals/internal-state"),l=t("../internals/define-iterator"),n="String Iterator",c=s.set,e=s.getterFor(n);l(String,"String",function(a){c(this,{type:n,string:r(a),index:0})},function(){var i=e(this),u=i.string,f=i.index,m;return f>=u.length?{value:void 0,done:!0}:(m=o(u,f),i.index+=m.length,{value:m,done:!1})})},{"../internals/define-iterator":123,"../internals/internal-state":157,"../internals/string-multibyte":213,"../internals/to-string":228}],265:[function(t,p,h){"use strict";var o=t("../internals/fix-regexp-well-known-symbol-logic"),r=t("../internals/an-object"),s=t("../internals/to-length"),l=t("../internals/to-string"),n=t("../internals/require-object-coercible"),c=t("../internals/advance-string-index"),e=t("../internals/regexp-exec-abstract");o("match",function(a,i,u){return[function(m){var A=n(this),g=m==null?void 0:m[a];return g!==void 0?g.call(m,A):new RegExp(m)[a](l(A))},function(f){var m=r(this),A=l(f),g=u(i,m,A);if(g.done)return g.value;if(!m.global)return e(m,A);var v=m.unicode;m.lastIndex=0;for(var b=[],S=0,y;(y=e(m,A))!==null;){var w=l(y[0]);b[S]=w,w===""&&(m.lastIndex=c(A,s(m.lastIndex),v)),S++}return S===0?null:b}]})},{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/to-length":221,"../internals/to-string":228}],266:[function(t,p,h){"use strict";var o=t("../internals/fix-regexp-well-known-symbol-logic"),r=t("../internals/fails"),s=t("../internals/an-object"),l=t("../internals/to-integer"),n=t("../internals/to-length"),c=t("../internals/to-string"),e=t("../internals/require-object-coercible"),a=t("../internals/advance-string-index"),i=t("../internals/get-substitution"),u=t("../internals/regexp-exec-abstract"),f=t("../internals/well-known-symbol"),m=f("replace"),A=Math.max,g=Math.min,v=function(x){return x===void 0?x:String(x)},b=function(){return"a".replace(/./,"$0")==="$0"}(),S=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),y=!r(function(){var w=/./;return w.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(w,"$<a>")!=="7"});o("replace",function(w,x,T){var L=S?"$":"$0";return[function(P,k){var U=e(this),D=P==null?void 0:P[m];return D!==void 0?D.call(P,U,k):x.call(c(U),P,k)},function(R,P){var k=s(this),U=c(R);if(typeof P=="string"&&P.indexOf(L)===-1&&P.indexOf("$<")===-1){var D=T(x,k,U,P);if(D.done)return D.value}var M=typeof P=="function";M||(P=c(P));var B=k.global;if(B){var j=k.unicode;k.lastIndex=0}for(var H=[];;){var K=u(k,U);if(K===null)break;if(H.push(K),!B)break;var W=c(K[0]);W===""&&(k.lastIndex=a(U,n(k.lastIndex),j))}for(var X="",V=0,Z=0;Z<H.length;Z++){K=H[Z];for(var G=c(K[0]),Y=A(g(l(K.index),U.length),0),te=[],se=1;se<K.length;se++)te.push(v(K[se]));var Ce=K.groups;if(M){var he=[G].concat(te,Y,U);Ce!==void 0&&he.push(Ce);var xe=c(P.apply(void 0,he))}else xe=i(G,U,Y,te,Ce,P);Y>=V&&(X+=U.slice(V,Y)+xe,V=Y+G.length)}return X+U.slice(V)}]},!y||!b||S)},{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fails":140,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/get-substitution":146,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/to-integer":220,"../internals/to-length":221,"../internals/to-string":228,"../internals/well-known-symbol":237}],267:[function(t,p,h){"use strict";var o=t("../internals/fix-regexp-well-known-symbol-logic"),r=t("../internals/an-object"),s=t("../internals/require-object-coercible"),l=t("../internals/same-value"),n=t("../internals/to-string"),c=t("../internals/regexp-exec-abstract");o("search",function(e,a,i){return[function(f){var m=s(this),A=f==null?void 0:f[e];return A!==void 0?A.call(f,m):new RegExp(f)[e](n(m))},function(u){var f=r(this),m=n(u),A=i(a,f,m);if(A.done)return A.value;var g=f.lastIndex;l(g,0)||(f.lastIndex=0);var v=c(f,m);return l(f.lastIndex,g)||(f.lastIndex=g),v===null?-1:v.index}]})},{"../internals/an-object":94,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/regexp-exec-abstract":198,"../internals/require-object-coercible":204,"../internals/same-value":205,"../internals/to-string":228}],268:[function(t,p,h){"use strict";var o=t("../internals/fix-regexp-well-known-symbol-logic"),r=t("../internals/is-regexp"),s=t("../internals/an-object"),l=t("../internals/require-object-coercible"),n=t("../internals/species-constructor"),c=t("../internals/advance-string-index"),e=t("../internals/to-length"),a=t("../internals/to-string"),i=t("../internals/regexp-exec-abstract"),u=t("../internals/regexp-exec"),f=t("../internals/regexp-sticky-helpers"),m=t("../internals/fails"),A=f.UNSUPPORTED_Y,g=[].push,v=Math.min,b=4294967295,S=!m(function(){var y=/(?:)/,w=y.exec;y.exec=function(){return w.apply(this,arguments)};var x="ab".split(y);return x.length!==2||x[0]!=="a"||x[1]!=="b"});o("split",function(y,w,x){var T;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?T=function(R,P){var k=a(l(this)),U=P===void 0?b:P>>>0;if(U===0)return[];if(R===void 0)return[k];if(!r(R))return w.call(k,R,U);for(var D=[],M=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(R.sticky?"y":""),B=0,j=new RegExp(R.source,M+"g"),H,K,W;(H=u.call(j,k))&&!(K=j.lastIndex,K>B&&(D.push(k.slice(B,H.index)),H.length>1&&H.index<k.length&&g.apply(D,H.slice(1)),W=H[0].length,B=K,D.length>=U));)j.lastIndex===H.index&&j.lastIndex++;return B===k.length?(W||!j.test(""))&&D.push(""):D.push(k.slice(B)),D.length>U?D.slice(0,U):D}:"0".split(void 0,0).length?T=function(R,P){return R===void 0&&P===0?[]:w.call(this,R,P)}:T=w,[function(R,P){var k=l(this),U=R==null?void 0:R[y];return U!==void 0?U.call(R,k,P):T.call(a(k),R,P)},function(L,R){var P=s(this),k=a(L),U=x(T,P,k,R,T!==w);if(U.done)return U.value;var D=n(P,RegExp),M=P.unicode,B=(P.ignoreCase?"i":"")+(P.multiline?"m":"")+(P.unicode?"u":"")+(A?"g":"y"),j=new D(A?"^(?:"+P.source+")":P,B),H=R===void 0?b:R>>>0;if(H===0)return[];if(k.length===0)return i(j,k)===null?[k]:[];for(var K=0,W=0,X=[];W<k.length;){j.lastIndex=A?0:W;var V=i(j,A?k.slice(W):k),Z;if(V===null||(Z=v(e(j.lastIndex+(A?W:0)),k.length))===K)W=c(k,W,M);else{if(X.push(k.slice(K,W)),X.length===H)return X;for(var G=1;G<=V.length-1;G++)if(X.push(V[G]),X.length===H)return X;W=K=Z}}return X.push(k.slice(K)),X}]},!S,A)},{"../internals/advance-string-index":92,"../internals/an-object":94,"../internals/fails":140,"../internals/fix-regexp-well-known-symbol-logic":141,"../internals/is-regexp":164,"../internals/regexp-exec":199,"../internals/regexp-exec-abstract":198,"../internals/regexp-sticky-helpers":201,"../internals/require-object-coercible":204,"../internals/species-constructor":212,"../internals/to-length":221,"../internals/to-string":228}],269:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/string-trim").trim,s=t("../internals/string-trim-forced");o({target:"String",proto:!0,forced:s("trim")},{trim:function(){return r(this)}})},{"../internals/export":139,"../internals/string-trim":215,"../internals/string-trim-forced":214}],270:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/descriptors"),s=t("../internals/global"),l=t("../internals/has"),n=t("../internals/is-object"),c=t("../internals/object-define-property").f,e=t("../internals/copy-constructor-properties"),a=s.Symbol;if(r&&typeof a=="function"&&(!("description"in a.prototype)||a().description!==void 0)){var i={},u=function(){var b=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),S=this instanceof u?new a(b):b===void 0?a():a(b);return b===""&&(i[S]=!0),S};e(u,a);var f=u.prototype=a.prototype;f.constructor=u;var m=f.toString,A=String(a("test"))=="Symbol(test)",g=/^Symbol\((.*)\)[^)]+$/;c(f,"description",{configurable:!0,get:function(){var b=n(this)?this.valueOf():this,S=m.call(b);if(l(i,b))return"";var y=A?S.slice(7,-1):S.replace(g,"$1");return y===""?void 0:y}}),o({global:!0,forced:!0},{Symbol:u})}},{"../internals/copy-constructor-properties":116,"../internals/descriptors":125,"../internals/export":139,"../internals/global":147,"../internals/has":148,"../internals/is-object":162,"../internals/object-define-property":179}],271:[function(t,p,h){"use strict";var o=t("../internals/export"),r=t("../internals/global"),s=t("../internals/get-built-in"),l=t("../internals/is-pure"),n=t("../internals/descriptors"),c=t("../internals/native-symbol"),e=t("../internals/fails"),a=t("../internals/has"),i=t("../internals/is-array"),u=t("../internals/is-object"),f=t("../internals/is-symbol"),m=t("../internals/an-object"),A=t("../internals/to-object"),g=t("../internals/to-indexed-object"),v=t("../internals/to-property-key"),b=t("../internals/to-string"),S=t("../internals/create-property-descriptor"),y=t("../internals/object-create"),w=t("../internals/object-keys"),x=t("../internals/object-get-own-property-names"),T=t("../internals/object-get-own-property-names-external"),L=t("../internals/object-get-own-property-symbols"),R=t("../internals/object-get-own-property-descriptor"),P=t("../internals/object-define-property"),k=t("../internals/object-property-is-enumerable"),U=t("../internals/create-non-enumerable-property"),D=t("../internals/redefine"),M=t("../internals/shared"),B=t("../internals/shared-key"),j=t("../internals/hidden-keys"),H=t("../internals/uid"),K=t("../internals/well-known-symbol"),W=t("../internals/well-known-symbol-wrapped"),X=t("../internals/define-well-known-symbol"),V=t("../internals/set-to-string-tag"),Z=t("../internals/internal-state"),G=t("../internals/array-iteration").forEach,Y=B("hidden"),te="Symbol",se="prototype",Ce=K("toPrimitive"),he=Z.set,xe=Z.getterFor(te),ie=Object[se],ee=r.Symbol,Ze=s("JSON","stringify"),Se=R.f,Ne=P.f,it=T.f,Ye=k.f,nt=M("symbols"),je=M("op-symbols"),et=M("string-to-symbol-registry"),He=M("symbol-to-string-registry"),pe=M("wks"),ae=r.QObject,re=!ae||!ae[se]||!ae[se].findChild,be=n&&e(function(){return y(Ne({},"a",{get:function(){return Ne(this,"a",{value:7}).a}})).a!=7})?function(Tt,Be,ce){var q=Se(ie,Be);q&&delete ie[Be],Ne(Tt,Be,ce),q&&Tt!==ie&&Ne(ie,Be,q)}:Ne,ze=function(Be,ce){var q=nt[Be]=y(ee[se]);return he(q,{type:te,tag:Be,description:ce}),n||(q.description=ce),q},Ke=function(Be,ce,q){Be===ie&&Ke(je,ce,q),m(Be);var dt=v(ce);return m(q),a(nt,dt)?(q.enumerable?(a(Be,Y)&&Be[Y][dt]&&(Be[Y][dt]=!1),q=y(q,{enumerable:S(0,!1)})):(a(Be,Y)||Ne(Be,Y,S(1,{})),Be[Y][dt]=!0),be(Be,dt,q)):Ne(Be,dt,q)},Te=function(Be,ce){m(Be);var q=g(ce),dt=w(q).concat(Et(q));return G(dt,function(Ve){(!n||Ue.call(q,Ve))&&Ke(Be,Ve,q[Ve])}),Be},gt=function(Be,ce){return ce===void 0?y(Be):Te(y(Be),ce)},Ue=function(Be){var ce=v(Be),q=Ye.call(this,ce);return this===ie&&a(nt,ce)&&!a(je,ce)?!1:q||!a(this,ce)||!a(nt,ce)||a(this,Y)&&this[Y][ce]?q:!0},bt=function(Be,ce){var q=g(Be),dt=v(ce);if(q===ie&&a(nt,dt)&&!a(je,dt))return;var Ve=Se(q,dt);return Ve&&a(nt,dt)&&!(a(q,Y)&&q[Y][dt])&&(Ve.enumerable=!0),Ve},wt=function(Be){var ce=it(g(Be)),q=[];return G(ce,function(dt){!a(nt,dt)&&!a(j,dt)&&q.push(dt)}),q},Et=function(Be){var ce=Be===ie,q=it(ce?je:g(Be)),dt=[];return G(q,function(Ve){a(nt,Ve)&&(!ce||a(ie,Ve))&&dt.push(nt[Ve])}),dt};if(c||(ee=function(){if(this instanceof ee)throw TypeError("Symbol is not a constructor");var Be=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),ce=H(Be),q=function dt(Ve){this===ie&&dt.call(je,Ve),a(this,Y)&&a(this[Y],ce)&&(this[Y][ce]=!1),be(this,ce,S(1,Ve))};return n&&re&&be(ie,ce,{configurable:!0,set:q}),ze(ce,Be)},D(ee[se],"toString",function(){return xe(this).tag}),D(ee,"withoutSetter",function(Tt){return ze(H(Tt),Tt)}),k.f=Ue,P.f=Ke,R.f=bt,x.f=T.f=wt,L.f=Et,W.f=function(Tt){return ze(K(Tt),Tt)},n&&(Ne(ee[se],"description",{configurable:!0,get:function(){return xe(this).description}}),l||D(ie,"propertyIsEnumerable",Ue,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:ee}),G(w(pe),function(Tt){X(Tt)}),o({target:te,stat:!0,forced:!c},{for:function(Be){var ce=b(Be);if(a(et,ce))return et[ce];var q=ee(ce);return et[ce]=q,He[q]=ce,q},keyFor:function(Be){if(!f(Be))throw TypeError(Be+" is not a symbol");if(a(He,Be))return He[Be]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),o({target:"Object",stat:!0,forced:!c,sham:!n},{create:gt,defineProperty:Ke,defineProperties:Te,getOwnPropertyDescriptor:bt}),o({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:wt,getOwnPropertySymbols:Et}),o({target:"Object",stat:!0,forced:e(function(){L.f(1)})},{getOwnPropertySymbols:function(Be){return L.f(A(Be))}}),Ze){var xt=!c||e(function(){var Tt=ee();return Ze([Tt])!="[null]"||Ze({a:Tt})!="{}"||Ze(Object(Tt))!="{}"});o({target:"JSON",stat:!0,forced:xt},{stringify:function(Be,ce,q){for(var dt=[Be],Ve=1,de;arguments.length>Ve;)dt.push(arguments[Ve++]);return de=ce,!u(ce)&&Be===void 0||f(Be)?void 0:(i(ce)||(ce=function(tr,lt){if(typeof de=="function"&&(lt=de.call(this,tr,lt)),!f(lt))return lt}),dt[1]=ce,Ze.apply(null,dt))}})}ee[se][Ce]||U(ee[se],Ce,ee[se].valueOf),V(ee,te),j[Y]=!0},{"../internals/an-object":94,"../internals/array-iteration":104,"../internals/create-non-enumerable-property":120,"../internals/create-property-descriptor":121,"../internals/define-well-known-symbol":124,"../internals/descriptors":125,"../internals/export":139,"../internals/fails":140,"../internals/get-built-in":143,"../internals/global":147,"../internals/has":148,"../internals/hidden-keys":149,"../internals/internal-state":157,"../internals/is-array":159,"../internals/is-object":162,"../internals/is-pure":163,"../internals/is-symbol":165,"../internals/native-symbol":172,"../internals/object-create":177,"../internals/object-define-property":179,"../internals/object-get-own-property-descriptor":180,"../internals/object-get-own-property-names":182,"../internals/object-get-own-property-names-external":181,"../internals/object-get-own-property-symbols":183,"../internals/object-keys":186,"../internals/object-property-is-enumerable":187,"../internals/redefine":197,"../internals/set-to-string-tag":208,"../internals/shared":211,"../internals/shared-key":209,"../internals/to-indexed-object":219,"../internals/to-object":222,"../internals/to-property-key":226,"../internals/to-string":228,"../internals/uid":234,"../internals/well-known-symbol":237,"../internals/well-known-symbol-wrapped":236}],272:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-copy-within"),s=o.aTypedArray,l=o.exportTypedArrayMethod;l("copyWithin",function(c,e){return r.call(s(this),c,e,arguments.length>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-copy-within":98}],273:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").every,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("every",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],274:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-fill"),s=o.aTypedArray,l=o.exportTypedArrayMethod;l("fill",function(c){return r.apply(s(this),arguments)})},{"../internals/array-buffer-view-core":96,"../internals/array-fill":99}],275:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").filter,s=t("../internals/typed-array-from-species-and-list"),l=o.aTypedArray,n=o.exportTypedArrayMethod;n("filter",function(e){var a=r(l(this),e,arguments.length>1?arguments[1]:void 0);return s(this,a)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/typed-array-from-species-and-list":231}],276:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").findIndex,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("findIndex",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],277:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").find,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("find",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],278:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").forEach,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("forEach",function(c){r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],279:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-includes").includes,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("includes",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-includes":103}],280:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-includes").indexOf,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("indexOf",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-includes":103}],281:[function(t,p,h){"use strict";var o=t("../internals/global"),r=t("../internals/array-buffer-view-core"),s=t("../modules/es.array.iterator"),l=t("../internals/well-known-symbol"),n=l("iterator"),c=o.Uint8Array,e=s.values,a=s.keys,i=s.entries,u=r.aTypedArray,f=r.exportTypedArrayMethod,m=c&&c.prototype[n],A=!!m&&(m.name=="values"||m.name==null),g=function(){return e.call(u(this))};f("entries",function(){return i.call(u(this))}),f("keys",function(){return a.call(u(this))}),f("values",g,!A),f(n,g,!A)},{"../internals/array-buffer-view-core":96,"../internals/global":147,"../internals/well-known-symbol":237,"../modules/es.array.iterator":247}],282:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=o.aTypedArray,s=o.exportTypedArrayMethod,l=[].join;s("join",function(c){return l.apply(r(this),arguments)})},{"../internals/array-buffer-view-core":96}],283:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-last-index-of"),s=o.aTypedArray,l=o.exportTypedArrayMethod;l("lastIndexOf",function(c){return r.apply(s(this),arguments)})},{"../internals/array-buffer-view-core":96,"../internals/array-last-index-of":105}],284:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").map,s=t("../internals/typed-array-species-constructor"),l=o.aTypedArray,n=o.exportTypedArrayMethod;n("map",function(e){return r(l(this),e,arguments.length>1?arguments[1]:void 0,function(a,i){return new(s(a))(i)})})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104,"../internals/typed-array-species-constructor":233}],285:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-reduce").right,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("reduceRight",function(c){return r(s(this),c,arguments.length,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-reduce":108}],286:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-reduce").left,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("reduce",function(c){return r(s(this),c,arguments.length,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-reduce":108}],287:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=o.aTypedArray,s=o.exportTypedArrayMethod,l=Math.floor;s("reverse",function(){for(var c=this,e=r(c).length,a=l(e/2),i=0,u;i<a;)u=c[i],c[i++]=c[--e],c[e]=u;return c})},{"../internals/array-buffer-view-core":96}],288:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/to-length"),s=t("../internals/to-offset"),l=t("../internals/to-object"),n=t("../internals/fails"),c=o.aTypedArray,e=o.exportTypedArrayMethod,a=n(function(){new Int8Array(1).set({})});e("set",function(u){c(this);var f=s(arguments.length>1?arguments[1]:void 0,1),m=this.length,A=l(u),g=r(A.length),v=0;if(g+f>m)throw RangeError("Wrong length");for(;v<g;)this[f+v]=A[v++]},a)},{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/to-length":221,"../internals/to-object":222,"../internals/to-offset":223}],289:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/typed-array-species-constructor"),s=t("../internals/fails"),l=o.aTypedArray,n=o.exportTypedArrayMethod,c=[].slice,e=s(function(){new Int8Array(1).slice()});n("slice",function(i,u){for(var f=c.call(l(this),i,u),m=r(this),A=0,g=f.length,v=new m(g);g>A;)v[A]=f[A++];return v},e)},{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/typed-array-species-constructor":233}],290:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/array-iteration").some,s=o.aTypedArray,l=o.exportTypedArrayMethod;l("some",function(c){return r(s(this),c,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":96,"../internals/array-iteration":104}],291:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/global"),s=t("../internals/fails"),l=t("../internals/a-function"),n=t("../internals/to-length"),c=t("../internals/array-sort"),e=t("../internals/engine-ff-version"),a=t("../internals/engine-is-ie-or-edge"),i=t("../internals/engine-v8-version"),u=t("../internals/engine-webkit-version"),f=o.aTypedArray,m=o.exportTypedArrayMethod,A=r.Uint16Array,g=A&&A.prototype.sort,v=!!g&&!s(function(){var y=new A(2);y.sort(null),y.sort({})}),b=!!g&&!s(function(){if(i)return i<74;if(e)return e<67;if(a)return!0;if(u)return u<602;var y=new A(516),w=Array(516),x,T;for(x=0;x<516;x++)T=x%4,y[x]=515-x,w[x]=x-2*T+3;for(y.sort(function(L,R){return(L/4|0)-(R/4|0)}),x=0;x<516;x++)if(y[x]!==w[x])return!0}),S=function(w){return function(x,T){return w!==void 0?+w(x,T)||0:T!==T?-1:x!==x?1:x===0&&T===0?1/x>0&&1/T<0?1:-1:x>T}};m("sort",function(w){var x=this;if(w!==void 0&&l(w),b)return g.call(x,w);f(x);var T=n(x.length),L=Array(T),R;for(R=0;R<T;R++)L[R]=x[R];for(L=c(x,S(w)),R=0;R<T;R++)x[R]=L[R];return x},!b||v)},{"../internals/a-function":89,"../internals/array-buffer-view-core":96,"../internals/array-sort":109,"../internals/engine-ff-version":128,"../internals/engine-is-ie-or-edge":130,"../internals/engine-v8-version":136,"../internals/engine-webkit-version":137,"../internals/fails":140,"../internals/global":147,"../internals/to-length":221}],292:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core"),r=t("../internals/to-length"),s=t("../internals/to-absolute-index"),l=t("../internals/typed-array-species-constructor"),n=o.aTypedArray,c=o.exportTypedArrayMethod;c("subarray",function(a,i){var u=n(this),f=u.length,m=s(a,f),A=l(u);return new A(u.buffer,u.byteOffset+m*u.BYTES_PER_ELEMENT,r((i===void 0?f:s(i,f))-m))})},{"../internals/array-buffer-view-core":96,"../internals/to-absolute-index":217,"../internals/to-length":221,"../internals/typed-array-species-constructor":233}],293:[function(t,p,h){"use strict";var o=t("../internals/global"),r=t("../internals/array-buffer-view-core"),s=t("../internals/fails"),l=o.Int8Array,n=r.aTypedArray,c=r.exportTypedArrayMethod,e=[].toLocaleString,a=[].slice,i=!!l&&s(function(){e.call(new l(1))}),u=s(function(){return[1,2].toLocaleString()!=new l([1,2]).toLocaleString()})||!s(function(){l.prototype.toLocaleString.call([1,2])});c("toLocaleString",function(){return e.apply(i?a.call(n(this)):n(this),arguments)},u)},{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/global":147}],294:[function(t,p,h){"use strict";var o=t("../internals/array-buffer-view-core").exportTypedArrayMethod,r=t("../internals/fails"),s=t("../internals/global"),l=s.Uint8Array,n=l&&l.prototype||{},c=[].toString,e=[].join;r(function(){c.call({})})&&(c=function(){return e.call(this)});var a=n.toString!=c;o("toString",c,a)},{"../internals/array-buffer-view-core":96,"../internals/fails":140,"../internals/global":147}],295:[function(t,p,h){var o=t("../internals/typed-array-constructor");o("Uint8",function(r){return function(l,n,c){return r(this,l,n,c)}})},{"../internals/typed-array-constructor":229}],296:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/dom-iterables"),s=t("../internals/array-for-each"),l=t("../internals/create-non-enumerable-property");for(var n in r){var c=o[n],e=c&&c.prototype;if(e&&e.forEach!==s)try{l(e,"forEach",s)}catch(a){e.forEach=s}}},{"../internals/array-for-each":100,"../internals/create-non-enumerable-property":120,"../internals/dom-iterables":127,"../internals/global":147}],297:[function(t,p,h){var o=t("../internals/global"),r=t("../internals/dom-iterables"),s=t("../modules/es.array.iterator"),l=t("../internals/create-non-enumerable-property"),n=t("../internals/well-known-symbol"),c=n("iterator"),e=n("toStringTag"),a=s.values;for(var i in r){var u=o[i],f=u&&u.prototype;if(f){if(f[c]!==a)try{l(f,c,a)}catch(A){f[c]=a}if(f[e]||l(f,e,i),r[i]){for(var m in s)if(f[m]!==s[m])try{l(f,m,s[m])}catch(A){f[m]=s[m]}}}}},{"../internals/create-non-enumerable-property":120,"../internals/dom-iterables":127,"../internals/global":147,"../internals/well-known-symbol":237,"../modules/es.array.iterator":247}],298:[function(t,p,h){function o(b){return Array.isArray?Array.isArray(b):v(b)==="[object Array]"}h.isArray=o;function r(b){return typeof b=="boolean"}h.isBoolean=r;function s(b){return b===null}h.isNull=s;function l(b){return b==null}h.isNullOrUndefined=l;function n(b){return typeof b=="number"}h.isNumber=n;function c(b){return typeof b=="string"}h.isString=c;function e(b){return typeof b=="symbol"}h.isSymbol=e;function a(b){return b===void 0}h.isUndefined=a;function i(b){return v(b)==="[object RegExp]"}h.isRegExp=i;function u(b){return typeof b=="object"&&b!==null}h.isObject=u;function f(b){return v(b)==="[object Date]"}h.isDate=f;function m(b){return v(b)==="[object Error]"||b instanceof Error}h.isError=m;function A(b){return typeof b=="function"}h.isFunction=A;function g(b){return b===null||typeof b=="boolean"||typeof b=="number"||typeof b=="string"||typeof b=="symbol"||typeof b=="undefined"}h.isPrimitive=g,h.isBuffer=t("buffer").Buffer.isBuffer;function v(b){return Object.prototype.toString.call(b)}},{buffer:85}],299:[function(t,p,h){(function(o){"use strict";var r=function(){var e=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,a=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,i=/[^-+\dA-Z]/g;return function(u,f,m,A){if(arguments.length===1&&c(u)==="string"&&!/\d/.test(u)&&(f=u,u=void 0),u=u||new Date,u instanceof Date||(u=new Date(u)),isNaN(u))throw TypeError("Invalid date");f=String(r.masks[f]||f||r.masks.default);var g=f.slice(0,4);(g==="UTC:"||g==="GMT:")&&(f=f.slice(4),m=!0,g==="GMT:"&&(A=!0));var v=m?"getUTC":"get",b=u[v+"Date"](),S=u[v+"Day"](),y=u[v+"Month"](),w=u[v+"FullYear"](),x=u[v+"Hours"](),T=u[v+"Minutes"](),L=u[v+"Seconds"](),R=u[v+"Milliseconds"](),P=m?0:u.getTimezoneOffset(),k=l(u),U=n(u),D={d:b,dd:s(b),ddd:r.i18n.dayNames[S],dddd:r.i18n.dayNames[S+7],m:y+1,mm:s(y+1),mmm:r.i18n.monthNames[y],mmmm:r.i18n.monthNames[y+12],yy:String(w).slice(2),yyyy:w,h:x%12||12,hh:s(x%12||12),H:x,HH:s(x),M:T,MM:s(T),s:L,ss:s(L),l:s(R,3),L:s(Math.round(R/10)),t:x<12?"a":"p",tt:x<12?"am":"pm",T:x<12?"A":"P",TT:x<12?"AM":"PM",Z:A?"GMT":m?"UTC":(String(u).match(a)||[""]).pop().replace(i,""),o:(P>0?"-":"+")+s(Math.floor(Math.abs(P)/60)*100+Math.abs(P)%60,4),S:["th","st","nd","rd"][b%10>3?0:(b%100-b%10!=10)*b%10],W:k,N:U};return f.replace(e,function(M){return M in D?D[M]:M.slice(1,M.length-1)})}}();r.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"},r.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 s(e,a){for(e=String(e),a=a||2;e.length<a;)e="0"+e;return e}function l(e){var a=new Date(e.getFullYear(),e.getMonth(),e.getDate());a.setDate(a.getDate()-(a.getDay()+6)%7+3);var i=new Date(a.getFullYear(),0,4);i.setDate(i.getDate()-(i.getDay()+6)%7+3);var u=a.getTimezoneOffset()-i.getTimezoneOffset();a.setHours(a.getHours()-u);var f=(a-i)/(864e5*7);return 1+Math.floor(f)}function n(e){var a=e.getDay();return a===0&&(a=7),a}function c(e){return e===null?"null":e===void 0?"undefined":typeof e!="object"?typeof e:Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}typeof I=="function"&&I.amd?I(function(){return r}):typeof h=="object"?p.exports=r:o.dateFormat=r})(this)},{}],300:[function(t,p,h){/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/"use strict";var o=/["'&<>]/;p.exports=r;function r(s){var l=""+s,n=o.exec(l);if(!n)return l;var c,e="",a=0,i=0;for(a=n.index;a<l.length;a++){switch(l.charCodeAt(a)){case 34:c="&quot;";break;case 38:c="&amp;";break;case 39:c="&#39;";break;case 60:c="&lt;";break;case 62:c="&gt;";break;default:continue}i!==a&&(e+=l.substring(i,a)),i=a+1,e+=c}return i!==a?e+l.substring(i,a):e}},{}],301:[function(t,p,h){function o(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}p.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._maxListeners=void 0,o.defaultMaxListeners=10,o.prototype.setMaxListeners=function(c){if(!s(c)||c<0||isNaN(c))throw TypeError("n must be a positive number");return this._maxListeners=c,this},o.prototype.emit=function(c){var e,a,i,u,f,m;if(this._events||(this._events={}),c==="error"&&(!this._events.error||l(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var A=new Error('Uncaught, unspecified "error" event. ('+e+")");throw A.context=e,A}if(a=this._events[c],n(a))return!1;if(r(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:u=Array.prototype.slice.call(arguments,1),a.apply(this,u)}else if(l(a))for(u=Array.prototype.slice.call(arguments,1),m=a.slice(),i=m.length,f=0;f<i;f++)m[f].apply(this,u);return!0},o.prototype.addListener=function(c,e){var a;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",c,r(e.listener)?e.listener:e),this._events[c]?l(this._events[c])?this._events[c].push(e):this._events[c]=[this._events[c],e]:this._events[c]=e,l(this._events[c])&&!this._events[c].warned&&(n(this._maxListeners)?a=o.defaultMaxListeners:a=this._maxListeners,a&&a>0&&this._events[c].length>a&&(this._events[c].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[c].length),typeof console.trace=="function"&&console.trace())),this},o.prototype.on=o.prototype.addListener,o.prototype.once=function(c,e){if(!r(e))throw TypeError("listener must be a function");var a=!1;function i(){this.removeListener(c,i),a||(a=!0,e.apply(this,arguments))}return i.listener=e,this.on(c,i),this},o.prototype.removeListener=function(c,e){var a,i,u,f;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[c])return this;if(a=this._events[c],u=a.length,i=-1,a===e||r(a.listener)&&a.listener===e)delete this._events[c],this._events.removeListener&&this.emit("removeListener",c,e);else if(l(a)){for(f=u;f-- >0;)if(a[f]===e||a[f].listener&&a[f].listener===e){i=f;break}if(i<0)return this;a.length===1?(a.length=0,delete this._events[c]):a.splice(i,1),this._events.removeListener&&this.emit("removeListener",c,e)}return this},o.prototype.removeAllListeners=function(c){var e,a;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[c]&&delete this._events[c],this;if(arguments.length===0){for(e in this._events){if(e==="removeListener")continue;this.removeAllListeners(e)}return this.removeAllListeners("removeListener"),this._events={},this}if(a=this._events[c],r(a))this.removeListener(c,a);else if(a)for(;a.length;)this.removeListener(c,a[a.length-1]);return delete this._events[c],this},o.prototype.listeners=function(c){var e;return!this._events||!this._events[c]?e=[]:r(this._events[c])?e=[this._events[c]]:e=this._events[c].slice(),e},o.prototype.listenerCount=function(c){if(this._events){var e=this._events[c];if(r(e))return 1;if(e)return e.length}return 0},o.listenerCount=function(c,e){return c.listenerCount(e)};function r(c){return typeof c=="function"}function s(c){return typeof c=="number"}function l(c){return typeof c=="object"&&c!==null}function n(c){return c===void 0}},{}],302:[function(t,p,h){var o=t("http"),r=p.exports;for(var s in o)o.hasOwnProperty(s)&&(r[s]=o[s]);r.request=function(l,n){return l||(l={}),l.scheme="https",l.protocol="https:",o.request.call(this,l,n)}},{http:400}],303:[function(t,p,h){/*!
* humanize-ms - index.js
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
* MIT Licensed
*/"use strict";var o=t("util"),r=t("ms");p.exports=function(s){if(typeof s=="number")return s;var l=r(s);if(l===void 0){var n=new Error(o.format("humanize-ms(%j) result undefined",s));console.warn(n.stack)}return l}},{ms:319,util:352}],304:[function(t,p,h){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */h.read=function(o,r,s,l,n){var c,e,a=n*8-l-1,i=(1<<a)-1,u=i>>1,f=-7,m=s?n-1:0,A=s?-1:1,g=o[r+m];for(m+=A,c=g&(1<<-f)-1,g>>=-f,f+=a;f>0;c=c*256+o[r+m],m+=A,f-=8);for(e=c&(1<<-f)-1,c>>=-f,f+=l;f>0;e=e*256+o[r+m],m+=A,f-=8);if(c===0)c=1-u;else{if(c===i)return e?NaN:(g?-1:1)*Infinity;e=e+Math.pow(2,l),c=c-u}return(g?-1:1)*e*Math.pow(2,c-l)},h.write=function(o,r,s,l,n,c){var e,a,i,u=c*8-n-1,f=(1<<u)-1,m=f>>1,A=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=l?0:c-1,v=l?1:-1,b=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===Infinity?(a=isNaN(r)?1:0,e=f):(e=Math.floor(Math.log(r)/Math.LN2),r*(i=Math.pow(2,-e))<1&&(e--,i*=2),e+m>=1?r+=A/i:r+=A*Math.pow(2,1-m),r*i>=2&&(e++,i/=2),e+m>=f?(a=0,e=f):e+m>=1?(a=(r*i-1)*Math.pow(2,n),e=e+m):(a=r*Math.pow(2,m-1)*Math.pow(2,n),e=0));n>=8;o[s+g]=a&255,g+=v,a/=256,n-=8);for(e=e<<n|a,u+=n;u>0;o[s+g]=e&255,g+=v,e/=256,u-=8);o[s+g-v]|=b*128}},{}],305:[function(t,p,h){"use strict";var o=[t("./nextTick"),t("./queueMicrotask"),t("./mutation.js"),t("./messageChannel"),t("./stateChange"),t("./timeout")],r,s,l=-1,n=[],c=!1;function e(){if(!r||!s)return;r=!1,s.length?n=s.concat(n):l=-1,n.length&&a()}function a(){if(r)return;c=!1,r=!0;for(var g=n.length,v=setTimeout(e);g;){for(s=n,n=[];s&&++l<g;)s[l].run();l=-1,g=n.length}s=null,l=-1,r=!1,clearTimeout(v)}for(var i,u=-1,f=o.length;++u<f;)if(o[u]&&o[u].test&&o[u].test()){i=o[u].install(a);break}function m(g,v){this.fun=g,this.array=v}m.prototype.run=function(){var g=this.fun,v=this.array;switch(v.length){case 0:return g();case 1:return g(v[0]);case 2:return g(v[0],v[1]);case 3:return g(v[0],v[1],v[2]);default:return g.apply(null,v)}},p.exports=A;function A(g){var v=new Array(arguments.length-1);if(arguments.length>1)for(var b=1;b<arguments.length;b++)v[b-1]=arguments[b];n.push(new m(g,v)),!c&&!r&&(c=!0,i())}},{"./messageChannel":306,"./mutation.js":307,"./nextTick":84,"./queueMicrotask":308,"./stateChange":309,"./timeout":310}],306:[function(t,p,h){(function(o){(function(){"use strict";h.test=function(){return o.setImmediate?!1:typeof o.MessageChannel!="undefined"},h.install=function(r){var s=new o.MessageChannel;return s.port1.onmessage=r,function(){s.port2.postMessage(0)}}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],307:[function(t,p,h){(function(o){(function(){"use strict";var r=o.MutationObserver||o.WebKitMutationObserver;h.test=function(){return r},h.install=function(s){var l=0,n=new r(s),c=o.document.createTextNode("");return n.observe(c,{characterData:!0}),function(){c.data=l=++l%2}}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],308:[function(t,p,h){(function(o){(function(){"use strict";h.test=function(){return typeof o.queueMicrotask=="function"},h.install=function(r){return function(){o.queueMicrotask(r)}}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],309:[function(t,p,h){(function(o){(function(){"use strict";h.test=function(){return"document"in o&&"onreadystatechange"in o.document.createElement("script")},h.install=function(r){return function(){var s=o.document.createElement("script");return s.onreadystatechange=function(){r(),s.onreadystatechange=null,s.parentNode.removeChild(s),s=null},o.document.documentElement.appendChild(s),r}}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],310:[function(t,p,h){"use strict";h.test=function(){return!0},h.install=function(o){return function(){setTimeout(o,0)}}},{}],311:[function(t,p,h){typeof Object.create=="function"?p.exports=function(r,s){s&&(r.super_=s,r.prototype=Object.create(s.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:p.exports=function(r,s){if(s){r.super_=s;var l=function(){};l.prototype=s.prototype,r.prototype=new l,r.prototype.constructor=r}}},{}],312:[function(t,p,h){/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/p.exports=function(s){return s!=null&&(o(s)||r(s)||!!s._isBuffer)};function o(s){return!!s.constructor&&typeof s.constructor.isBuffer=="function"&&s.constructor.isBuffer(s)}function r(s){return typeof s.readFloatLE=="function"&&typeof s.slice=="function"&&o(s.slice(0,0))}},{}],313:[function(t,p,h){var o={}.toString;p.exports=Array.isArray||function(r){return o.call(r)=="[object Array]"}},{}],314:[function(t,p,h){(function(o){(function(){(function(r,s){typeof h=="object"&&typeof p!="undefined"?p.exports=s(r):typeof I=="function"&&I.amd?I(s):s(r)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof o!="undefined"?o:this,function(r){"use strict";r=r||{};var s=r.Base64,l="2.6.4",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=function(j){for(var H={},K=0,W=j.length;K<W;K++)H[j.charAt(K)]=K;return H}(n),e=String.fromCharCode,a=function(H){if(H.length<2){var K=H.charCodeAt(0);return K<128?H:K<2048?e(192|K>>>6)+e(128|K&63):e(224|K>>>12&15)+e(128|K>>>6&63)+e(128|K&63)}else{var K=65536+(H.charCodeAt(0)-55296)*1024+(H.charCodeAt(1)-56320);return e(240|K>>>18&7)+e(128|K>>>12&63)+e(128|K>>>6&63)+e(128|K&63)}},i=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,u=function(H){return H.replace(i,a)},f=function(H){var K=[0,2,1][H.length%3],W=H.charCodeAt(0)<<16|(H.length>1?H.charCodeAt(1):0)<<8|(H.length>2?H.charCodeAt(2):0),X=[n.charAt(W>>>18),n.charAt(W>>>12&63),K>=2?"=":n.charAt(W>>>6&63),K>=1?"=":n.charAt(W&63)];return X.join("")},m=r.btoa&&typeof r.btoa=="function"?function(j){return r.btoa(j)}:function(j){if(j.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return j.replace(/[\s\S]{1,3}/g,f)},A=function(H){return m(u(String(H)))},g=function(H){return H.replace(/[+\/]/g,function(K){return K=="+"?"-":"_"}).replace(/=/g,"")},v=function(H,K){return K?g(A(H)):A(H)},b=function(H){return v(H,!0)},S;r.Uint8Array&&(S=function(H,K){for(var W="",X=0,V=H.length;X<V;X+=3){var Z=H[X],G=H[X+1],Y=H[X+2],te=Z<<16|G<<8|Y;W+=n.charAt(te>>>18)+n.charAt(te>>>12&63)+(typeof G!="undefined"?n.charAt(te>>>6&63):"=")+(typeof Y!="undefined"?n.charAt(te&63):"=")}return K?g(W):W});var y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,w=function(H){switch(H.length){case 4:var K=(7&H.charCodeAt(0))<<18|(63&H.charCodeAt(1))<<12|(63&H.charCodeAt(2))<<6|63&H.charCodeAt(3),W=K-65536;return e((W>>>10)+55296)+e((W&1023)+56320);case 3:return e((15&H.charCodeAt(0))<<12|(63&H.charCodeAt(1))<<6|63&H.charCodeAt(2));default:return e((31&H.charCodeAt(0))<<6|63&H.charCodeAt(1))}},x=function(H){return H.replace(y,w)},T=function(H){var K=H.length,W=K%4,X=(K>0?c[H.charAt(0)]<<18:0)|(K>1?c[H.charAt(1)]<<12:0)|(K>2?c[H.charAt(2)]<<6:0)|(K>3?c[H.charAt(3)]:0),V=[e(X>>>16),e(X>>>8&255),e(X&255)];return V.length-=[0,0,2,1][W],V.join("")},L=r.atob&&typeof r.atob=="function"?function(j){return r.atob(j)}:function(j){return j.replace(/\S{1,4}/g,T)},R=function(H){return L(String(H).replace(/[^A-Za-z0-9\+\/]/g,""))},P=function(H){return x(L(H))},k=function(H){return String(H).replace(/[-_]/g,function(K){return K=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},U=function(H){return P(k(H))},D;r.Uint8Array&&(D=function(H){return Uint8Array.from(R(k(H)),function(K){return K.charCodeAt(0)})});var M=function(){var H=r.Base64;return r.Base64=s,H};if(r.Base64={VERSION:l,atob:R,btoa:m,fromBase64:U,toBase64:v,utob:u,encode:v,encodeURI:b,btou:x,decode:U,noConflict:M,fromUint8Array:S,toUint8Array:D},typeof Object.defineProperty=="function"){var B=function(H){return{value:H,enumerable:!1,writable:!0,configurable:!0}};r.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",B(function(){return U(this)})),Object.defineProperty(String.prototype,"toBase64",B(function(j){return v(this,j)})),Object.defineProperty(String.prototype,"toBase64URI",B(function(){return v(this,!0)}))}}return r.Meteor&&(Base64=r.Base64),typeof p!="undefined"&&p.exports?p.exports.Base64=r.Base64:typeof I=="function"&&I.amd&&I([],function(){return r.Base64}),{Base64:r.Base64}})}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],315:[function(t,p,h){/*!
* merge-descriptors
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/"use strict";p.exports=r;var o=Object.prototype.hasOwnProperty;function r(s,l,n){if(!s)throw new TypeError("argument dest is required");if(!l)throw new TypeError("argument src is required");return n===void 0&&(n=!0),Object.getOwnPropertyNames(l).forEach(function(e){if(!n&&o.call(s,e))return;var a=Object.getOwnPropertyDescriptor(l,e);Object.defineProperty(s,e,a)}),s}},{}],316:[function(t,p,h){"use strict";t("core-js/modules/es.array.map.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/es.regexp.constructor.js"),t("core-js/modules/es.regexp.to-string.js");function o(){this._types=Object.create(null),this._extensions=Object.create(null);for(var r=0;r<arguments.length;r++)this.define(arguments[r]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}o.prototype.define=function(r,s){for(var l in r){var n=r[l].map(function(i){return i.toLowerCase()});l=l.toLowerCase();for(var c=0;c<n.length;c++){var e=n[c];if(e[0]==="*")continue;if(!s&&e in this._types)throw new Error('Attempt to change mapping for "'+e+'" extension from "'+this._types[e]+'" to "'+l+'". Pass `force=true` to allow this, otherwise remove "'+e+'" from the list of extensions for "'+l+'".');this._types[e]=l}if(s||!this._extensions[l]){var a=n[0];this._extensions[l]=a[0]!=="*"?a:a.substr(1)}}},o.prototype.getType=function(r){r=String(r);var s=r.replace(/^.*[/\\]/,"").toLowerCase(),l=s.replace(/^.*\./,"").toLowerCase(),n=s.length<r.length,c=l.length<s.length-1;return(c||!n)&&this._types[l]||null},o.prototype.getExtension=function(r){return r=/^\s*([^;\s]*)/.test(r)&&RegExp.$1,r&&this._extensions[r.toLowerCase()]||null},p.exports=o},{"core-js/modules/es.array.map.js":249,"core-js/modules/es.regexp.constructor.js":260,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266}],317:[function(t,p,h){"use strict";var o=t("./Mime");p.exports=new o(t("./types/standard"))},{"./Mime":316,"./types/standard":318}],318:[function(t,p,h){"use strict";p.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/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"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":["*xsl","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/amr":["amr"],"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","opus"],"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/avif":["avif"],"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/ktx2":["ktx2"],"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/spdx":["spdx"],"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/iso.segment":["m4s"],"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"]}},{}],319:[function(t,p,h){var o=1e3,r=o*60,s=r*60,l=s*24,n=l*7,c=l*365.25;p.exports=function(f,m){m=m||{};var A=typeof f;if(A==="string"&&f.length>0)return e(f);if(A==="number"&&isFinite(f))return m.long?i(f):a(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function e(f){if(f=String(f),f.length>100)return;var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(!m)return;var A=parseFloat(m[1]),g=(m[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return A*c;case"weeks":case"week":case"w":return A*n;case"days":case"day":case"d":return A*l;case"hours":case"hour":case"hrs":case"hr":case"h":return A*s;case"minutes":case"minute":case"mins":case"min":case"m":return A*r;case"seconds":case"second":case"secs":case"sec":case"s":return A*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return A;default:return}}function a(f){var m=Math.abs(f);return m>=l?Math.round(f/l)+"d":m>=s?Math.round(f/s)+"h":m>=r?Math.round(f/r)+"m":m>=o?Math.round(f/o)+"s":f+"ms"}function i(f){var m=Math.abs(f);return m>=l?u(f,m,l,"day"):m>=s?u(f,m,s,"hour"):m>=r?u(f,m,r,"minute"):m>=o?u(f,m,o,"second"):f+" ms"}function u(f,m,A,g){var v=m>=A*1.5;return Math.round(f/A)+" "+g+(v?"s":"")}},{}],320:[function(t,p,h){/*
object-assign
(c) Sindre Sorhus
@license MIT
*/"use strict";var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function l(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function n(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var e={},a=0;a<10;a++)e["_"+String.fromCharCode(a)]=a;var i=Object.getOwnPropertyNames(e).map(function(f){return e[f]});if(i.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),!(Object.keys(Object.assign({},u)).join("")!=="abcdefghijklmnopqrst")}catch(f){return!1}}p.exports=n()?Object.assign:function(c,e){for(var a,i=l(c),u,f=1;f<arguments.length;f++){a=Object(arguments[f]);for(var m in a)r.call(a,m)&&(i[m]=a[m]);if(o){u=o(a);for(var A=0;A<u.length;A++)s.call(a,u[A])&&(i[u[A]]=a[u[A]])}}return i}},{}],321:[function(t,p,h){(function(o){(function(){function r(c,e){for(var a=0,i=c.length-1;i>=0;i--){var u=c[i];u==="."?c.splice(i,1):u===".."?(c.splice(i,1),a++):a&&(c.splice(i,1),a--)}if(e)for(;a--;a)c.unshift("..");return c}h.resolve=function(){for(var c="",e=!1,a=arguments.length-1;a>=-1&&!e;a--){var i=a>=0?arguments[a]:o.cwd();if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;c=i+"/"+c,e=i.charAt(0)==="/"}return c=r(l(c.split("/"),function(u){return!!u}),!e).join("/"),(e?"/":"")+c||"."},h.normalize=function(c){var e=h.isAbsolute(c),a=n(c,-1)==="/";return c=r(l(c.split("/"),function(i){return!!i}),!e).join("/"),!c&&!e&&(c="."),c&&a&&(c+="/"),(e?"/":"")+c},h.isAbsolute=function(c){return c.charAt(0)==="/"},h.join=function(){var c=Array.prototype.slice.call(arguments,0);return h.normalize(l(c,function(e,a){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},h.relative=function(c,e){c=h.resolve(c).substr(1),e=h.resolve(e).substr(1);function a(v){for(var b=0;b<v.length&&!(v[b]!=="");b++);for(var S=v.length-1;S>=0&&!(v[S]!=="");S--);return b>S?[]:v.slice(b,S-b+1)}for(var i=a(c.split("/")),u=a(e.split("/")),f=Math.min(i.length,u.length),m=f,A=0;A<f;A++)if(i[A]!==u[A]){m=A;break}for(var g=[],A=m;A<i.length;A++)g.push("..");return g=g.concat(u.slice(m)),g.join("/")},h.sep="/",h.delimiter=":",h.dirname=function(c){if(typeof c!="string"&&(c=c+""),c.length===0)return".";for(var e=c.charCodeAt(0),a=e===47,i=-1,u=!0,f=c.length-1;f>=1;--f)if(e=c.charCodeAt(f),e===47){if(!u){i=f;break}}else u=!1;return i===-1?a?"/":".":a&&i===1?"/":c.slice(0,i)};function s(c){typeof c!="string"&&(c=c+"");var e=0,a=-1,i=!0,u;for(u=c.length-1;u>=0;--u)if(c.charCodeAt(u)===47){if(!i){e=u+1;break}}else a===-1&&(i=!1,a=u+1);return a===-1?"":c.slice(e,a)}h.basename=function(c,e){var a=s(c);return e&&a.substr(-1*e.length)===e&&(a=a.substr(0,a.length-e.length)),a},h.extname=function(c){typeof c!="string"&&(c=c+"");for(var e=-1,a=0,i=-1,u=!0,f=0,m=c.length-1;m>=0;--m){var A=c.charCodeAt(m);if(A===47){if(!u){a=m+1;break}continue}i===-1&&(u=!1,i=m+1),A===46?e===-1?e=m:f!==1&&(f=1):e!==-1&&(f=-1)}return e===-1||i===-1||f===0||f===1&&e===i-1&&e===a+1?"":c.slice(e,i)};function l(c,e){if(c.filter)return c.filter(e);for(var a=[],i=0;i<c.length;i++)e(c[i],i,c)&&a.push(c[i]);return a}var n="ab".substr(-1)==="b"?function(c,e,a){return c.substr(e,a)}:function(c,e,a){return e<0&&(e=c.length+e),c.substr(e,a)}}).call(this)}).call(this,t("_process"))},{_process:399}],322:[function(t,p,h){(function(o){(function(){/*!
* Platform.js v1.3.6
* Copyright 2014-2020 Benjamin Tan
* Copyright 2011-2013 John-David Dalton
* Available under MIT license
*/(function(){"use strict";var r={function:!0,object:!0},s=r[typeof window]&&window||this,l=s,n=r[typeof h]&&h,c=r[typeof p]&&p&&!p.nodeType&&p,e=n&&c&&typeof o=="object"&&o;e&&(e.global===e||e.window===e||e.self===e)&&(s=e);var a=Math.pow(2,53)-1,i=/\bOpera/,u=this,f=Object.prototype,m=f.hasOwnProperty,A=f.toString;function g(U){return U=String(U),U.charAt(0).toUpperCase()+U.slice(1)}function v(U,D,M){var B={"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 D&&M&&/^Win/i.test(U)&&!/^Windows Phone /i.test(U)&&(B=B[/[\d.]+$/.exec(U)])&&(U="Windows "+B),U=String(U),D&&M&&(U=U.replace(RegExp(D,"i"),M)),U=S(U.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]),U}function b(U,D){var M=-1,B=U?U.length:0;if(typeof B=="number"&&B>-1&&B<=a)for(;++M<B;)D(U[M],M,U);else y(U,D)}function S(U){return U=R(U),/^(?:webOS|i(?:OS|P))/.test(U)?U:g(U)}function y(U,D){for(var M in U)m.call(U,M)&&D(U[M],M,U)}function w(U){return U==null?g(U):A.call(U).slice(8,-1)}function x(U,D){var M=U!=null?typeof U[D]:"number";return!/^(?:boolean|number|string|undefined)$/.test(M)&&(M=="object"?!!U[D]:!0)}function T(U){return String(U).replace(/([ -])(?!$)/g,"$1?")}function L(U,D){var M=null;return b(U,function(B,j){M=D(M,B,j,U)}),M}function R(U){return String(U).replace(/^ +| +$/g,"")}function P(U){var D=s,M=U&&typeof U=="object"&&w(U)!="String";M&&(D=U,U=null);var B=D.navigator||{},j=B.userAgent||"";U||(U=j);var H=M||u==l,K=M?!!B.likeChrome:/\bChrome\b/.test(U)&&!/internal|\n/i.test(A.toString()),W="Object",X=M?W:"ScriptBridgingProxyObject",V=M?W:"Environment",Z=M&&D.java?"JavaPackage":w(D.java),G=M?W:"RuntimeObject",Y=/\bJava/.test(Z)&&D.java,te=Y&&w(D.environment)==V,se=Y?"a":"\u03B1",Ce=Y?"b":"\u03B2",he=D.document||{},xe=D.operamini||D.opera,ie=i.test(ie=M&&xe?xe["[[Class]]"]:w(xe))?ie:xe=null,ee,Ze=U,Se=[],Ne=null,it=U==j,Ye=it&&xe&&typeof xe.version=="function"&&xe.version(),nt,je=re([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),et=ze(["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|Edg|EdgA|EdgiOS)"},"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","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{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"]),He=Te([{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"]),pe=be({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},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:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),ae=Ke(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"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 re(wt){return L(wt,function(Et,xt){return Et||RegExp("\\b"+(xt.pattern||T(xt))+"\\b","i").exec(U)&&(xt.label||xt)})}function be(wt){return L(wt,function(Et,xt,Tt){return Et||(xt[He]||xt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(He)]||RegExp("\\b"+T(Tt)+"(?:\\b|\\w*\\d)","i").exec(U))&&Tt})}function ze(wt){return L(wt,function(Et,xt){return Et||RegExp("\\b"+(xt.pattern||T(xt))+"\\b","i").exec(U)&&(xt.label||xt)})}function Ke(wt){return L(wt,function(Et,xt){var Tt=xt.pattern||T(xt);return!Et&&(Et=RegExp("\\b"+Tt+"(?:/[\\d.]+|[ \\w.]*)","i").exec(U))&&(Et=v(Et,Tt,xt.label||xt)),Et})}function Te(wt){return L(wt,function(Et,xt){var Tt=xt.pattern||T(xt);return!Et&&(Et=RegExp("\\b"+Tt+" *\\d+[.\\w_]*","i").exec(U)||RegExp("\\b"+Tt+" *\\w+-[\\w]*","i").exec(U)||RegExp("\\b"+Tt+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(U))&&((Et=String(xt.label&&!RegExp(Tt,"i").test(xt.label)?xt.label:Et).split("/"))[1]&&!/[\d.]+/.test(Et[0])&&(Et[0]+=" "+Et[1]),xt=xt.label||xt,Et=S(Et[0].replace(RegExp(Tt,"i"),xt).replace(RegExp("; *(?:"+xt+"[_-])?","i")," ").replace(RegExp("("+xt+")[-_.]?(\\w)","i"),"$1 $2"))),Et})}function gt(wt){return L(wt,function(Et,xt){return Et||(RegExp(xt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(U)||0)[1]||null})}function Ue(){return this.description||""}if(je&&(je=[je]),/\bAndroid\b/.test(ae)&&!He&&(ee=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(U))&&(He=R(ee[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),pe&&!He?He=Te([pe]):pe&&He&&(He=He.replace(RegExp("^("+T(pe)+")[-_.\\s]","i"),pe+" ").replace(RegExp("^("+T(pe)+")[-_.]?(\\w)","i"),pe+" $2")),(ee=/\bGoogle TV\b/.exec(He))&&(He=ee[0]),/\bSimulator\b/i.test(U)&&(He=(He?He+" ":"")+"Simulator"),et=="Opera Mini"&&/\bOPiOS\b/.test(U)&&Se.push("running in Turbo/Uncompressed mode"),et=="IE"&&/\blike iPhone OS\b/.test(U)?(ee=P(U.replace(/like iPhone OS/,"")),pe=ee.manufacturer,He=ee.product):/^iP/.test(He)?(et||(et="Safari"),ae="iOS"+((ee=/ OS ([\d_]+)/i.exec(U))?" "+ee[1].replace(/_/g,"."):"")):et=="Konqueror"&&/^Linux\b/i.test(ae)?ae="Kubuntu":pe&&pe!="Google"&&(/Chrome/.test(et)&&!/\bMobile Safari\b/i.test(U)||/\bVita\b/.test(He))||/\bAndroid\b/.test(ae)&&/^Chrome/.test(et)&&/\bVersion\//i.test(U)?(et="Android Browser",ae=/\bAndroid\b/.test(ae)?ae:"Android"):et=="Silk"?(/\bMobi/i.test(U)||(ae="Android",Se.unshift("desktop mode")),/Accelerated *= *true/i.test(U)&&Se.unshift("accelerated")):et=="UC Browser"&&/\bUCWEB\b/.test(U)?Se.push("speed mode"):et=="PaleMoon"&&(ee=/\bFirefox\/([\d.]+)\b/.exec(U))?Se.push("identifying as Firefox "+ee[1]):et=="Firefox"&&(ee=/\b(Mobile|Tablet|TV)\b/i.exec(U))?(ae||(ae="Firefox OS"),He||(He=ee[1])):!et||(ee=!/\bMinefield\b/i.test(U)&&/\b(?:Firefox|Safari)\b/.exec(et))?(et&&!He&&/[\/,]|^[^(]+?\)/.test(U.slice(U.indexOf(ee+"/")+8))&&(et=null),(ee=He||pe||ae)&&(He||pe||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(ae))&&(et=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(ae)?ae:ee)+" Browser")):et=="Electron"&&(ee=(/\bChrome\/([\d.]+)\b/.exec(U)||0)[1])&&Se.push("Chromium "+ee),Ye||(Ye=gt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",T(et),"(?:Firefox|Minefield|NetFront)"])),(ee=je=="iCab"&&parseFloat(Ye)>3&&"WebKit"||/\bOpera\b/.test(et)&&(/\bOPR\b/.test(U)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(U)&&!/^(?:Trident|EdgeHTML)$/.test(je)&&"WebKit"||!je&&/\bMSIE\b/i.test(U)&&(ae=="Mac OS"?"Tasman":"Trident")||je=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(et)&&"NetFront")&&(je=[ee]),et=="IE"&&(ee=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(U)||0)[1])?(et+=" Mobile",ae="Windows Phone "+(/\+$/.test(ee)?ee:ee+".x"),Se.unshift("desktop mode")):/\bWPDesktop\b/i.test(U)?(et="IE Mobile",ae="Windows Phone 8.x",Se.unshift("desktop mode"),Ye||(Ye=(/\brv:([\d.]+)/.exec(U)||0)[1])):et!="IE"&&je=="Trident"&&(ee=/\brv:([\d.]+)/.exec(U))&&(et&&Se.push("identifying as "+et+(Ye?" "+Ye:"")),et="IE",Ye=ee[1]),it){if(x(D,"global"))if(Y&&(ee=Y.lang.System,Ze=ee.getProperty("os.arch"),ae=ae||ee.getProperty("os.name")+" "+ee.getProperty("os.version")),te){try{Ye=D.require("ringo/engine").version.join("."),et="RingoJS"}catch(wt){(ee=D.system)&&ee.global.system==D.system&&(et="Narwhal",ae||(ae=ee[0].os||null))}et||(et="Rhino")}else typeof D.process=="object"&&!D.process.browser&&(ee=D.process)&&(typeof ee.versions=="object"&&(typeof ee.versions.electron=="string"?(Se.push("Node "+ee.versions.node),et="Electron",Ye=ee.versions.electron):typeof ee.versions.nw=="string"&&(Se.push("Chromium "+Ye,"Node "+ee.versions.node),et="NW.js",Ye=ee.versions.nw)),et||(et="Node.js",Ze=ee.arch,ae=ee.platform,Ye=/[\d.]+/.exec(ee.version),Ye=Ye?Ye[0]:null));else w(ee=D.runtime)==X?(et="Adobe AIR",ae=ee.flash.system.Capabilities.os):w(ee=D.phantom)==G?(et="PhantomJS",Ye=(ee=ee.version||null)&&ee.major+"."+ee.minor+"."+ee.patch):typeof he.documentMode=="number"&&(ee=/\bTrident\/(\d+)/i.exec(U))?(Ye=[Ye,he.documentMode],(ee=+ee[1]+4)!=Ye[1]&&(Se.push("IE "+Ye[1]+" mode"),je&&(je[1]=""),Ye[1]=ee),Ye=et=="IE"?String(Ye[1].toFixed(1)):Ye[0]):typeof he.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(et)&&(Se.push("masking as "+et+" "+Ye),et="IE",Ye="11.0",je=["Trident"],ae="Windows");ae=ae&&S(ae)}if(Ye&&(ee=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Ye)||/(?:alpha|beta)(?: ?\d)?/i.exec(U+";"+(it&&B.appMinorVersion))||/\bMinefield\b/i.test(U)&&"a")&&(Ne=/b/i.test(ee)?"beta":"alpha",Ye=Ye.replace(RegExp(ee+"\\+?$"),"")+(Ne=="beta"?Ce:se)+(/\d+\+?/.exec(ee)||"")),et=="Fennec"||et=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(ae))et="Firefox Mobile";else if(et=="Maxthon"&&Ye)Ye=Ye.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(He))He=="Xbox 360"&&(ae=null),He=="Xbox 360"&&/\bIEMobile\b/.test(U)&&Se.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(et)||et&&!He&&!/Browser|Mobi/.test(et))&&(ae=="Windows CE"||/Mobi/i.test(U)))et+=" Mobile";else if(et=="IE"&&it)try{D.external===null&&Se.unshift("platform preview")}catch(wt){Se.unshift("embedded")}else(/\bBlackBerry\b/.test(He)||/\bBB10\b/.test(U))&&(ee=(RegExp(He.replace(/ +/g," *")+"/([.\\d]+)","i").exec(U)||0)[1]||Ye)?(ee=[ee,/BB10/.test(U)],ae=(ee[1]?(He=null,pe="BlackBerry"):"Device Software")+" "+ee[0],Ye=null):this!=y&&He!="Wii"&&(it&&xe||/Opera/.test(et)&&/\b(?:MSIE|Firefox)\b/i.test(U)||et=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(ae)||et=="IE"&&(ae&&!/^Win/.test(ae)&&Ye>5.5||/\bWindows XP\b/.test(ae)&&Ye>8||Ye==8&&!/\bTrident\b/.test(U)))&&!i.test(ee=P.call(y,U.replace(i,"")+";"))&&ee.name&&(ee="ing as "+ee.name+((ee=ee.version)?" "+ee:""),i.test(et)?(/\bIE\b/.test(ee)&&ae=="Mac OS"&&(ae=null),ee="identify"+ee):(ee="mask"+ee,ie?et=S(ie.replace(/([a-z])([A-Z])/g,"$1 $2")):et="Opera",/\bIE\b/.test(ee)&&(ae=null),it||(Ye=null)),je=["Presto"],Se.push(ee));(ee=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(U)||0)[1])&&(ee=[parseFloat(ee.replace(/\.(\d)$/,".0$1")),ee],et=="Safari"&&ee[1].slice(-1)=="+"?(et="WebKit Nightly",Ne="alpha",Ye=ee[1].slice(0,-1)):(Ye==ee[1]||Ye==(ee[2]=(/\bSafari\/([\d.]+\+?)/i.exec(U)||0)[1]))&&(Ye=null),ee[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(U)||0)[1],ee[0]==537.36&&ee[2]==537.36&&parseFloat(ee[1])>=28&&je=="WebKit"&&(je=["Blink"]),!it||!K&&!ee[1]?(je&&(je[1]="like Safari"),ee=(ee=ee[0],ee<400?1:ee<500?2:ee<526?3:ee<533?4:ee<534?"4+":ee<535?5:ee<537?6:ee<538?7:ee<601?8:ee<602?9:ee<604?10:ee<606?11:ee<608?12:"12")):(je&&(je[1]="like Chrome"),ee=ee[1]||(ee=ee[0],ee<530?1:ee<532?2:ee<532.05?3:ee<533?4:ee<534.03?5:ee<534.07?6:ee<534.1?7:ee<534.13?8:ee<534.16?9:ee<534.24?10:ee<534.3?11:ee<535.01?12:ee<535.02?"13+":ee<535.07?15:ee<535.11?16:ee<535.19?17:ee<536.05?18:ee<536.1?19:ee<537.01?20:ee<537.11?"21+":ee<537.13?23:ee<537.18?24:ee<537.24?25:ee<537.36?26:je!="Blink"?"27":"28")),je&&(je[1]+=" "+(ee+=typeof ee=="number"?".x":/[.+]/.test(ee)?"":"+")),et=="Safari"&&(!Ye||parseInt(Ye)>45)?Ye=ee:et=="Chrome"&&/\bHeadlessChrome/i.test(U)&&Se.unshift("headless")),et=="Opera"&&(ee=/\bzbov|zvav$/.exec(ae))?(et+=" ",Se.unshift("desktop mode"),ee=="zvav"?(et+="Mini",Ye=null):et+="Mobile",ae=ae.replace(RegExp(" *"+ee+"$"),"")):et=="Safari"&&/\bChrome\b/.exec(je&&je[1])?(Se.unshift("desktop mode"),et="Chrome Mobile",Ye=null,/\bOS X\b/.test(ae)?(pe="Apple",ae="iOS 4.3+"):ae=null):/\bSRWare Iron\b/.test(et)&&!Ye&&(Ye=gt("Chrome")),Ye&&Ye.indexOf(ee=/[\d.]+$/.exec(ae))==0&&U.indexOf("/"+ee+"-")>-1&&(ae=R(ae.replace(ee,""))),ae&&ae.indexOf(et)!=-1&&!RegExp(et+" OS").test(ae)&&(ae=ae.replace(RegExp(" *"+T(et)+" *"),"")),je&&!/\b(?:Avant|Nook)\b/.test(et)&&(/Browser|Lunascape|Maxthon/.test(et)||et!="Safari"&&/^iOS/.test(ae)&&/\bSafari\b/.test(je[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(et)&&je[1])&&((ee=je[je.length-1])&&Se.push(ee)),Se.length&&(Se=["("+Se.join("; ")+")"]),pe&&He&&He.indexOf(pe)<0&&Se.push("on "+pe),He&&Se.push((/^on /.test(Se[Se.length-1])?"":"on ")+He),ae&&(ee=/ ([\d.+]+)$/.exec(ae),nt=ee&&ae.charAt(ae.length-ee[0].length-1)=="/",ae={architecture:32,family:ee&&!nt?ae.replace(ee[0],""):ae,version:ee?ee[1]:null,toString:function(){var Et=this.version;return this.family+(Et&&!nt?" "+Et:"")+(this.architecture==64?" 64-bit":"")}}),(ee=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ze))&&!/\bi686\b/i.test(Ze)?(ae&&(ae.architecture=64,ae.family=ae.family.replace(RegExp(" *"+ee),"")),et&&(/\bWOW64\b/i.test(U)||it&&/\w(?:86|32)$/.test(B.cpuClass||B.platform)&&!/\bWin64; x64\b/i.test(U))&&Se.unshift("32-bit")):ae&&/^OS X/.test(ae.family)&&et=="Chrome"&&parseFloat(Ye)>=39&&(ae.architecture=64),U||(U=null);var bt={};return bt.description=U,bt.layout=je&&je[0],bt.manufacturer=pe,bt.name=et,bt.prerelease=Ne,bt.product=He,bt.ua=U,bt.version=et&&Ye,bt.os=ae||{architecture:null,family:null,version:null,toString:function(){return"null"}},bt.parse=P,bt.toString=Ue,bt.version&&Se.unshift(Ye),bt.name&&Se.unshift(et),ae&&et&&!(ae==String(ae).split(" ")[0]&&(ae==et.split(" ")[0]||He))&&Se.push(He?"("+ae+")":"on "+ae),Se.length&&(bt.description=Se.join(" ")),bt}var k=P();typeof I=="function"&&typeof I.amd=="object"&&I.amd?(s.platform=k,I(function(){return k})):n&&c?y(k,function(U,D){n[D]=U}):s.platform=k}).call(this)}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],323:[function(t,p,h){(function(o){(function(){"use strict";typeof o=="undefined"||!o.version||o.version.indexOf("v0.")===0||o.version.indexOf("v1.")===0&&o.version.indexOf("v1.8.")!==0?p.exports={nextTick:r}:p.exports=o;function r(s,l,n,c){if(typeof s!="function")throw new TypeError('"callback" argument must be a function');var e=arguments.length,a,i;switch(e){case 0:case 1:return o.nextTick(s);case 2:return o.nextTick(function(){s.call(null,l)});case 3:return o.nextTick(function(){s.call(null,l,n)});case 4:return o.nextTick(function(){s.call(null,l,n,c)});default:for(a=new Array(e-1),i=0;i<a.length;)a[i++]=arguments[i];return o.nextTick(function(){s.apply(null,a)})}}}).call(this)}).call(this,t("_process"))},{_process:399}],324:[function(t,p,h){var o=p.exports={},r,s;function l(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?r=setTimeout:r=l}catch(b){r=l}try{typeof clearTimeout=="function"?s=clearTimeout:s=n}catch(b){s=n}})();function c(b){if(r===setTimeout)return setTimeout(b,0);if((r===l||!r)&&setTimeout)return r=setTimeout,setTimeout(b,0);try{return r(b,0)}catch(S){try{return r.call(null,b,0)}catch(y){return r.call(this,b,0)}}}function e(b){if(s===clearTimeout)return clearTimeout(b);if((s===n||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(b);try{return s(b)}catch(S){try{return s.call(null,b)}catch(y){return s.call(this,b)}}}var a=[],i=!1,u,f=-1;function m(){if(!i||!u)return;i=!1,u.length?a=u.concat(a):f=-1,a.length&&A()}function A(){if(i)return;var b=c(m);i=!0;for(var S=a.length;S;){for(u=a,a=[];++f<S;)u&&u[f].run();f=-1,S=a.length}u=null,i=!1,e(b)}o.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var y=1;y<arguments.length;y++)S[y-1]=arguments[y];a.push(new g(b,S)),a.length===1&&!i&&c(A)};function g(b,S){this.fun=b,this.array=S}g.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={};function v(){}o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(b){return[]},o.binding=function(b){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(b){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},{}],325:[function(t,p,h){(function(o){(function(){/*! https://mths.be/punycode v1.4.1 by @mathias */(function(r){var s=typeof h=="object"&&h&&!h.nodeType&&h,l=typeof p=="object"&&p&&!p.nodeType&&p,n=typeof o=="object"&&o;(n.global===n||n.window===n||n.self===n)&&(r=n);var c,e=2147483647,a=36,i=1,u=26,f=38,m=700,A=72,g=128,v="-",b=/^xn--/,S=/[^\x20-\x7E]/,y=/[\x2E\u3002\uFF0E\uFF61]/g,w={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},x=a-i,T=Math.floor,L=String.fromCharCode,R;function P(Z){throw new RangeError(w[Z])}function k(Z,G){for(var Y=Z.length,te=[];Y--;)te[Y]=G(Z[Y]);return te}function U(Z,G){var Y=Z.split("@"),te="";Y.length>1&&(te=Y[0]+"@",Z=Y[1]),Z=Z.replace(y,".");var se=Z.split("."),Ce=k(se,G).join(".");return te+Ce}function D(Z){for(var G=[],Y=0,te=Z.length,se,Ce;Y<te;)se=Z.charCodeAt(Y++),se>=55296&&se<=56319&&Y<te?(Ce=Z.charCodeAt(Y++),(Ce&64512)==56320?G.push(((se&1023)<<10)+(Ce&1023)+65536):(G.push(se),Y--)):G.push(se);return G}function M(Z){return k(Z,function(G){var Y="";return G>65535&&(G-=65536,Y+=L(G>>>10&1023|55296),G=56320|G&1023),Y+=L(G),Y}).join("")}function B(Z){return Z-48<10?Z-22:Z-65<26?Z-65:Z-97<26?Z-97:a}function j(Z,G){return Z+22+75*(Z<26)-((G!=0)<<5)}function H(Z,G,Y){var te=0;for(Z=Y?T(Z/m):Z>>1,Z+=T(Z/G);Z>x*u>>1;te+=a)Z=T(Z/x);return T(te+(x+1)*Z/(Z+f))}function K(Z){var G=[],Y=Z.length,te,se=0,Ce=g,he=A,xe,ie,ee,Ze,Se,Ne,it,Ye,nt;for(xe=Z.lastIndexOf(v),xe<0&&(xe=0),ie=0;ie<xe;++ie)Z.charCodeAt(ie)>=128&&P("not-basic"),G.push(Z.charCodeAt(ie));for(ee=xe>0?xe+1:0;ee<Y;){for(Ze=se,Se=1,Ne=a;!(ee>=Y&&P("invalid-input"),it=B(Z.charCodeAt(ee++)),(it>=a||it>T((e-se)/Se))&&P("overflow"),se+=it*Se,Ye=Ne<=he?i:Ne>=he+u?u:Ne-he,it<Ye);Ne+=a)nt=a-Ye,Se>T(e/nt)&&P("overflow"),Se*=nt;te=G.length+1,he=H(se-Ze,te,Ze==0),T(se/te)>e-Ce&&P("overflow"),Ce+=T(se/te),se%=te,G.splice(se++,0,Ce)}return M(G)}function W(Z){var G,Y,te,se,Ce,he,xe,ie,ee,Ze,Se,Ne=[],it,Ye,nt,je;for(Z=D(Z),it=Z.length,G=g,Y=0,Ce=A,he=0;he<it;++he)Se=Z[he],Se<128&&Ne.push(L(Se));for(te=se=Ne.length,se&&Ne.push(v);te<it;){for(xe=e,he=0;he<it;++he)Se=Z[he],Se>=G&&Se<xe&&(xe=Se);for(Ye=te+1,xe-G>T((e-Y)/Ye)&&P("overflow"),Y+=(xe-G)*Ye,G=xe,he=0;he<it;++he)if(Se=Z[he],Se<G&&++Y>e&&P("overflow"),Se==G){for(ie=Y,ee=a;!(Ze=ee<=Ce?i:ee>=Ce+u?u:ee-Ce,ie<Ze);ee+=a)je=ie-Ze,nt=a-Ze,Ne.push(L(j(Ze+je%nt,0))),ie=T(je/nt);Ne.push(L(j(ie,0))),Ce=H(Y,Ye,te==se),Y=0,++te}++Y,++G}return Ne.join("")}function X(Z){return U(Z,function(G){return b.test(G)?K(G.slice(4).toLowerCase()):G})}function V(Z){return U(Z,function(G){return S.test(G)?"xn--"+W(G):G})}if(c={version:"1.4.1",ucs2:{decode:D,encode:M},decode:K,encode:W,toASCII:V,toUnicode:X},typeof I=="function"&&typeof I.amd=="object"&&I.amd)I("punycode",function(){return c});else if(s&&l)if(p.exports==s)l.exports=c;else for(R in c)c.hasOwnProperty(R)&&(s[R]=c[R]);else r.punycode=c})(this)}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],326:[function(t,p,h){"use strict";function o(s,l){return Object.prototype.hasOwnProperty.call(s,l)}p.exports=function(s,l,n,c){l=l||"&",n=n||"=";var e={};if(typeof s!="string"||s.length===0)return e;var a=/\+/g;s=s.split(l);var i=1e3;c&&typeof c.maxKeys=="number"&&(i=c.maxKeys);var u=s.length;i>0&&u>i&&(u=i);for(var f=0;f<u;++f){var m=s[f].replace(a,"%20"),A=m.indexOf(n),g,v,b,S;A>=0?(g=m.substr(0,A),v=m.substr(A+1)):(g=m,v=""),b=decodeURIComponent(g),S=decodeURIComponent(v),o(e,b)?r(e[b])?e[b].push(S):e[b]=[e[b],S]:e[b]=S}return e};var r=Array.isArray||function(s){return Object.prototype.toString.call(s)==="[object Array]"}},{}],327:[function(t,p,h){"use strict";var o=function(c){switch(typeof c){case"string":return c;case"boolean":return c?"true":"false";case"number":return isFinite(c)?c:"";default:return""}};p.exports=function(n,c,e,a){return c=c||"&",e=e||"=",n===null&&(n=void 0),typeof n=="object"?s(l(n),function(i){var u=encodeURIComponent(o(i))+e;return r(n[i])?s(n[i],function(f){return u+encodeURIComponent(o(f))}).join(c):u+encodeURIComponent(o(n[i]))}).join(c):a?encodeURIComponent(o(a))+e+encodeURIComponent(o(n)):""};var r=Array.isArray||function(n){return Object.prototype.toString.call(n)==="[object Array]"};function s(n,c){if(n.map)return n.map(c);for(var e=[],a=0;a<n.length;a++)e.push(c(n[a],a));return e}var l=Object.keys||function(n){var c=[];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&c.push(e);return c}},{}],328:[function(t,p,h){"use strict";h.decode=h.parse=t("./decode"),h.encode=h.stringify=t("./encode")},{"./decode":326,"./encode":327}],329:[function(t,p,h){p.exports=t("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":330}],330:[function(t,p,h){"use strict";var o=t("process-nextick-args"),r=Object.keys||function(m){var A=[];for(var g in m)A.push(g);return A};p.exports=i;var s=Object.create(t("core-util-is"));s.inherits=t("inherits");var l=t("./_stream_readable"),n=t("./_stream_writable");s.inherits(i,l);for(var c=r(n.prototype),e=0;e<c.length;e++){var a=c[e];i.prototype[a]||(i.prototype[a]=n.prototype[a])}function i(m){if(!(this instanceof i))return new i(m);l.call(this,m),n.call(this,m),m&&m.readable===!1&&(this.readable=!1),m&&m.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,m&&m.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",u)}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function u(){if(this.allowHalfOpen||this._writableState.ended)return;o.nextTick(f,this)}function f(m){m.end()}Object.defineProperty(i.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(A){if(this._readableState===void 0||this._writableState===void 0)return;this._readableState.destroyed=A,this._writableState.destroyed=A}}),i.prototype._destroy=function(m,A){this.push(null),this.end(),o.nextTick(A,m)}},{"./_stream_readable":332,"./_stream_writable":334,"core-util-is":298,inherits:311,"process-nextick-args":323}],331:[function(t,p,h){"use strict";p.exports=s;var o=t("./_stream_transform"),r=Object.create(t("core-util-is"));r.inherits=t("inherits"),r.inherits(s,o);function s(l){if(!(this instanceof s))return new s(l);o.call(this,l)}s.prototype._transform=function(l,n,c){c(null,l)}},{"./_stream_transform":333,"core-util-is":298,inherits:311}],332:[function(t,p,h){(function(o,r){(function(){"use strict";var s=t("process-nextick-args");p.exports=L;var l=t("isarray"),n;L.ReadableState=T;var c=t("events").EventEmitter,e=function(Ne,it){return Ne.listeners(it).length},a=t("./internal/streams/stream"),i=t("safe-buffer").Buffer,u=r.Uint8Array||function(){};function f(Se){return i.from(Se)}function m(Se){return i.isBuffer(Se)||Se instanceof u}var A=Object.create(t("core-util-is"));A.inherits=t("inherits");var g=t("util"),v=void 0;g&&g.debuglog?v=g.debuglog("stream"):v=function(){};var b=t("./internal/streams/BufferList"),S=t("./internal/streams/destroy"),y;A.inherits(L,a);var w=["error","close","destroy","pause","resume"];function x(Se,Ne,it){if(typeof Se.prependListener=="function")return Se.prependListener(Ne,it);!Se._events||!Se._events[Ne]?Se.on(Ne,it):l(Se._events[Ne])?Se._events[Ne].unshift(it):Se._events[Ne]=[it,Se._events[Ne]]}function T(Se,Ne){n=n||t("./_stream_duplex"),Se=Se||{};var it=Ne instanceof n;this.objectMode=!!Se.objectMode,it&&(this.objectMode=this.objectMode||!!Se.readableObjectMode);var Ye=Se.highWaterMark,nt=Se.readableHighWaterMark,je=this.objectMode?16:16*1024;Ye||Ye===0?this.highWaterMark=Ye:it&&(nt||nt===0)?this.highWaterMark=nt:this.highWaterMark=je,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,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=Se.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Se.encoding&&(y||(y=t("string_decoder/").StringDecoder),this.decoder=new y(Se.encoding),this.encoding=Se.encoding)}function L(Se){if(n=n||t("./_stream_duplex"),!(this instanceof L))return new L(Se);this._readableState=new T(Se,this),this.readable=!0,Se&&(typeof Se.read=="function"&&(this._read=Se.read),typeof Se.destroy=="function"&&(this._destroy=Se.destroy)),a.call(this)}Object.defineProperty(L.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ne){if(!this._readableState)return;this._readableState.destroyed=Ne}}),L.prototype.destroy=S.destroy,L.prototype._undestroy=S.undestroy,L.prototype._destroy=function(Se,Ne){this.push(null),Ne(Se)},L.prototype.push=function(Se,Ne){var it=this._readableState,Ye;return it.objectMode?Ye=!0:typeof Se=="string"&&(Ne=Ne||it.defaultEncoding,Ne!==it.encoding&&(Se=i.from(Se,Ne),Ne=""),Ye=!0),R(this,Se,Ne,!1,Ye)},L.prototype.unshift=function(Se){return R(this,Se,null,!0,!1)};function R(Se,Ne,it,Ye,nt){var je=Se._readableState;if(Ne===null)je.reading=!1,j(Se,je);else{var et;nt||(et=k(je,Ne)),et?Se.emit("error",et):je.objectMode||Ne&&Ne.length>0?(typeof Ne!="string"&&!je.objectMode&&Object.getPrototypeOf(Ne)!==i.prototype&&(Ne=f(Ne)),Ye?je.endEmitted?Se.emit("error",new Error("stream.unshift() after end event")):P(Se,je,Ne,!0):je.ended?Se.emit("error",new Error("stream.push() after EOF")):(je.reading=!1,je.decoder&&!it?(Ne=je.decoder.write(Ne),je.objectMode||Ne.length!==0?P(Se,je,Ne,!1):W(Se,je)):P(Se,je,Ne,!1))):Ye||(je.reading=!1)}return U(je)}function P(Se,Ne,it,Ye){Ne.flowing&&Ne.length===0&&!Ne.sync?(Se.emit("data",it),Se.read(0)):(Ne.length+=Ne.objectMode?1:it.length,Ye?Ne.buffer.unshift(it):Ne.buffer.push(it),Ne.needReadable&&H(Se)),W(Se,Ne)}function k(Se,Ne){var it;return!m(Ne)&&typeof Ne!="string"&&Ne!==void 0&&!Se.objectMode&&(it=new TypeError("Invalid non-string/buffer chunk")),it}function U(Se){return!Se.ended&&(Se.needReadable||Se.length<Se.highWaterMark||Se.length===0)}L.prototype.isPaused=function(){return this._readableState.flowing===!1},L.prototype.setEncoding=function(Se){return y||(y=t("string_decoder/").StringDecoder),this._readableState.decoder=new y(Se),this._readableState.encoding=Se,this};var D=8388608;function M(Se){return Se>=D?Se=D:(Se--,Se|=Se>>>1,Se|=Se>>>2,Se|=Se>>>4,Se|=Se>>>8,Se|=Se>>>16,Se++),Se}function B(Se,Ne){return Se<=0||Ne.length===0&&Ne.ended?0:Ne.objectMode?1:Se!==Se?Ne.flowing&&Ne.length?Ne.buffer.head.data.length:Ne.length:(Se>Ne.highWaterMark&&(Ne.highWaterMark=M(Se)),Se<=Ne.length?Se:Ne.ended?Ne.length:(Ne.needReadable=!0,0))}L.prototype.read=function(Se){v("read",Se),Se=parseInt(Se,10);var Ne=this._readableState,it=Se;if(Se!==0&&(Ne.emittedReadable=!1),Se===0&&Ne.needReadable&&(Ne.length>=Ne.highWaterMark||Ne.ended))return v("read: emitReadable",Ne.length,Ne.ended),Ne.length===0&&Ne.ended?ie(this):H(this),null;if(Se=B(Se,Ne),Se===0&&Ne.ended)return Ne.length===0&&ie(this),null;var Ye=Ne.needReadable;v("need readable",Ye),(Ne.length===0||Ne.length-Se<Ne.highWaterMark)&&(Ye=!0,v("length less than watermark",Ye)),Ne.ended||Ne.reading?(Ye=!1,v("reading or ended",Ye)):Ye&&(v("do read"),Ne.reading=!0,Ne.sync=!0,Ne.length===0&&(Ne.needReadable=!0),this._read(Ne.highWaterMark),Ne.sync=!1,Ne.reading||(Se=B(it,Ne)));var nt;return Se>0?nt=se(Se,Ne):nt=null,nt===null?(Ne.needReadable=!0,Se=0):Ne.length-=Se,Ne.length===0&&(Ne.ended||(Ne.needReadable=!0),it!==Se&&Ne.ended&&ie(this)),nt!==null&&this.emit("data",nt),nt};function j(Se,Ne){if(Ne.ended)return;if(Ne.decoder){var it=Ne.decoder.end();it&&it.length&&(Ne.buffer.push(it),Ne.length+=Ne.objectMode?1:it.length)}Ne.ended=!0,H(Se)}function H(Se){var Ne=Se._readableState;Ne.needReadable=!1,Ne.emittedReadable||(v("emitReadable",Ne.flowing),Ne.emittedReadable=!0,Ne.sync?s.nextTick(K,Se):K(Se))}function K(Se){v("emit readable"),Se.emit("readable"),te(Se)}function W(Se,Ne){Ne.readingMore||(Ne.readingMore=!0,s.nextTick(X,Se,Ne))}function X(Se,Ne){for(var it=Ne.length;!Ne.reading&&!Ne.flowing&&!Ne.ended&&Ne.length<Ne.highWaterMark&&!(v("maybeReadMore read 0"),Se.read(0),it===Ne.length);)it=Ne.length;Ne.readingMore=!1}L.prototype._read=function(Se){this.emit("error",new Error("_read() is not implemented"))},L.prototype.pipe=function(Se,Ne){var it=this,Ye=this._readableState;switch(Ye.pipesCount){case 0:Ye.pipes=Se;break;case 1:Ye.pipes=[Ye.pipes,Se];break;default:Ye.pipes.push(Se);break}Ye.pipesCount+=1,v("pipe count=%d opts=%j",Ye.pipesCount,Ne);var nt=(!Ne||Ne.end!==!1)&&Se!==o.stdout&&Se!==o.stderr,je=nt?He:Ue;Ye.endEmitted?s.nextTick(je):it.once("end",je),Se.on("unpipe",et);function et(bt,wt){v("onunpipe"),bt===it&&(wt&&wt.hasUnpiped===!1&&(wt.hasUnpiped=!0,re()))}function He(){v("onend"),Se.end()}var pe=V(it);Se.on("drain",pe);var ae=!1;function re(){v("cleanup"),Se.removeListener("close",Te),Se.removeListener("finish",gt),Se.removeListener("drain",pe),Se.removeListener("error",Ke),Se.removeListener("unpipe",et),it.removeListener("end",He),it.removeListener("end",Ue),it.removeListener("data",ze),ae=!0,Ye.awaitDrain&&(!Se._writableState||Se._writableState.needDrain)&&pe()}var be=!1;it.on("data",ze);function ze(bt){v("ondata"),be=!1;var wt=Se.write(bt);wt===!1&&!be&&((Ye.pipesCount===1&&Ye.pipes===Se||Ye.pipesCount>1&&Ze(Ye.pipes,Se)!==-1)&&!ae&&(v("false write response, pause",it._readableState.awaitDrain),it._readableState.awaitDrain++,be=!0),it.pause())}function Ke(bt){v("onerror",bt),Ue(),Se.removeListener("error",Ke),e(Se,"error")===0&&Se.emit("error",bt)}x(Se,"error",Ke);function Te(){Se.removeListener("finish",gt),Ue()}Se.once("close",Te);function gt(){v("onfinish"),Se.removeListener("close",Te),Ue()}Se.once("finish",gt);function Ue(){v("unpipe"),it.unpipe(Se)}return Se.emit("pipe",it),Ye.flowing||(v("pipe resume"),it.resume()),Se};function V(Se){return function(){var Ne=Se._readableState;v("pipeOnDrain",Ne.awaitDrain),Ne.awaitDrain&&Ne.awaitDrain--,Ne.awaitDrain===0&&e(Se,"data")&&(Ne.flowing=!0,te(Se))}}L.prototype.unpipe=function(Se){var Ne=this._readableState,it={hasUnpiped:!1};if(Ne.pipesCount===0)return this;if(Ne.pipesCount===1)return Se&&Se!==Ne.pipes?this:(Se||(Se=Ne.pipes),Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1,Se&&Se.emit("unpipe",this,it),this);if(!Se){var Ye=Ne.pipes,nt=Ne.pipesCount;Ne.pipes=null,Ne.pipesCount=0,Ne.flowing=!1;for(var je=0;je<nt;je++)Ye[je].emit("unpipe",this,it);return this}var et=Ze(Ne.pipes,Se);return et===-1?this:(Ne.pipes.splice(et,1),Ne.pipesCount-=1,Ne.pipesCount===1&&(Ne.pipes=Ne.pipes[0]),Se.emit("unpipe",this,it),this)},L.prototype.on=function(Se,Ne){var it=a.prototype.on.call(this,Se,Ne);if(Se==="data")this._readableState.flowing!==!1&&this.resume();else if(Se==="readable"){var Ye=this._readableState;!Ye.endEmitted&&!Ye.readableListening&&(Ye.readableListening=Ye.needReadable=!0,Ye.emittedReadable=!1,Ye.reading?Ye.length&&H(this):s.nextTick(Z,this))}return it},L.prototype.addListener=L.prototype.on;function Z(Se){v("readable nexttick read 0"),Se.read(0)}L.prototype.resume=function(){var Se=this._readableState;return Se.flowing||(v("resume"),Se.flowing=!0,G(this,Se)),this};function G(Se,Ne){Ne.resumeScheduled||(Ne.resumeScheduled=!0,s.nextTick(Y,Se,Ne))}function Y(Se,Ne){Ne.reading||(v("resume read 0"),Se.read(0)),Ne.resumeScheduled=!1,Ne.awaitDrain=0,Se.emit("resume"),te(Se),Ne.flowing&&!Ne.reading&&Se.read(0)}L.prototype.pause=function(){return v("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(v("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function te(Se){var Ne=Se._readableState;for(v("flow",Ne.flowing);Ne.flowing&&Se.read()!==null;);}L.prototype.wrap=function(Se){var Ne=this,it=this._readableState,Ye=!1;Se.on("end",function(){if(v("wrapped end"),it.decoder&&!it.ended){var et=it.decoder.end();et&&et.length&&Ne.push(et)}Ne.push(null)}),Se.on("data",function(et){if(v("wrapped data"),it.decoder&&(et=it.decoder.write(et)),it.objectMode&&et==null)return;if(!it.objectMode&&(!et||!et.length))return;var He=Ne.push(et);He||(Ye=!0,Se.pause())});for(var nt in Se)this[nt]===void 0&&typeof Se[nt]=="function"&&(this[nt]=function(et){return function(){return Se[et].apply(Se,arguments)}}(nt));for(var je=0;je<w.length;je++)Se.on(w[je],this.emit.bind(this,w[je]));return this._read=function(et){v("wrapped _read",et),Ye&&(Ye=!1,Se.resume())},this},Object.defineProperty(L.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),L._fromList=se;function se(Se,Ne){if(Ne.length===0)return null;var it;return Ne.objectMode?it=Ne.buffer.shift():!Se||Se>=Ne.length?(Ne.decoder?it=Ne.buffer.join(""):Ne.buffer.length===1?it=Ne.buffer.head.data:it=Ne.buffer.concat(Ne.length),Ne.buffer.clear()):it=Ce(Se,Ne.buffer,Ne.decoder),it}function Ce(Se,Ne,it){var Ye;return Se<Ne.head.data.length?(Ye=Ne.head.data.slice(0,Se),Ne.head.data=Ne.head.data.slice(Se)):Se===Ne.head.data.length?Ye=Ne.shift():Ye=it?he(Se,Ne):xe(Se,Ne),Ye}function he(Se,Ne){var it=Ne.head,Ye=1,nt=it.data;for(Se-=nt.length;it=it.next;){var je=it.data,et=Se>je.length?je.length:Se;if(et===je.length?nt+=je:nt+=je.slice(0,Se),Se-=et,Se===0){et===je.length?(++Ye,it.next?Ne.head=it.next:Ne.head=Ne.tail=null):(Ne.head=it,it.data=je.slice(et));break}++Ye}return Ne.length-=Ye,nt}function xe(Se,Ne){var it=i.allocUnsafe(Se),Ye=Ne.head,nt=1;for(Ye.data.copy(it),Se-=Ye.data.length;Ye=Ye.next;){var je=Ye.data,et=Se>je.length?je.length:Se;if(je.copy(it,it.length-Se,0,et),Se-=et,Se===0){et===je.length?(++nt,Ye.next?Ne.head=Ye.next:Ne.head=Ne.tail=null):(Ne.head=Ye,Ye.data=je.slice(et));break}++nt}return Ne.length-=nt,it}function ie(Se){var Ne=Se._readableState;if(Ne.length>0)throw new Error('"endReadable()" called on non-empty stream');Ne.endEmitted||(Ne.ended=!0,s.nextTick(ee,Ne,Se))}function ee(Se,Ne){!Se.endEmitted&&Se.length===0&&(Se.endEmitted=!0,Ne.readable=!1,Ne.emit("end"))}function Ze(Se,Ne){for(var it=0,Ye=Se.length;it<Ye;it++)if(Se[it]===Ne)return it;return-1}}).call(this)}).call(this,t("_process"),typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./_stream_duplex":330,"./internal/streams/BufferList":335,"./internal/streams/destroy":336,"./internal/streams/stream":337,_process:399,"core-util-is":298,events:301,inherits:311,isarray:313,"process-nextick-args":323,"safe-buffer":343,"string_decoder/":346,util:84}],333:[function(t,p,h){"use strict";p.exports=l;var o=t("./_stream_duplex"),r=Object.create(t("core-util-is"));r.inherits=t("inherits"),r.inherits(l,o);function s(e,a){var i=this._transformState;i.transforming=!1;var u=i.writecb;if(!u)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,a!=null&&this.push(a),u(e);var f=this._readableState;f.reading=!1,(f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);o.call(this,e),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform=="function"&&(this._transform=e.transform),typeof e.flush=="function"&&(this._flush=e.flush)),this.on("prefinish",n)}function n(){var e=this;typeof this._flush=="function"?this._flush(function(a,i){c(e,a,i)}):c(this,null,null)}l.prototype.push=function(e,a){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,a)},l.prototype._transform=function(e,a,i){throw new Error("_transform() is not implemented")},l.prototype._write=function(e,a,i){var u=this._transformState;if(u.writecb=i,u.writechunk=e,u.writeencoding=a,!u.transforming){var f=this._readableState;(u.needTransform||f.needReadable||f.length<f.highWaterMark)&&this._read(f.highWaterMark)}},l.prototype._read=function(e){var a=this._transformState;a.writechunk!==null&&a.writecb&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},l.prototype._destroy=function(e,a){var i=this;o.prototype._destroy.call(this,e,function(u){a(u),i.emit("close")})};function c(e,a,i){if(a)return e.emit("error",a);if(i!=null&&e.push(i),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}},{"./_stream_duplex":330,"core-util-is":298,inherits:311}],334:[function(t,p,h){(function(o,r,s){(function(){"use strict";var l=t("process-nextick-args");p.exports=x;function n(Y,te,se){this.chunk=Y,this.encoding=te,this.callback=se,this.next=null}function c(Y){var te=this;this.next=null,this.entry=null,this.finish=function(){G(te,Y)}}var e=!o.browser&&["v0.10","v0.9."].indexOf(o.version.slice(0,5))>-1?s:l.nextTick,a;x.WritableState=y;var i=Object.create(t("core-util-is"));i.inherits=t("inherits");var u={deprecate:t("util-deprecate")},f=t("./internal/streams/stream"),m=t("safe-buffer").Buffer,A=r.Uint8Array||function(){};function g(Y){return m.from(Y)}function v(Y){return m.isBuffer(Y)||Y instanceof A}var b=t("./internal/streams/destroy");i.inherits(x,f);function S(){}function y(Y,te){a=a||t("./_stream_duplex"),Y=Y||{};var se=te instanceof a;this.objectMode=!!Y.objectMode,se&&(this.objectMode=this.objectMode||!!Y.writableObjectMode);var Ce=Y.highWaterMark,he=Y.writableHighWaterMark,xe=this.objectMode?16:16*1024;Ce||Ce===0?this.highWaterMark=Ce:se&&(he||he===0)?this.highWaterMark=he:this.highWaterMark=xe,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 ie=Y.decodeStrings===!1;this.decodeStrings=!ie,this.defaultEncoding=Y.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ee){M(te,ee)},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 c(this)}y.prototype.getBuffer=function(){for(var te=this.bufferedRequest,se=[];te;)se.push(te),te=te.next;return se},function(){try{Object.defineProperty(y.prototype,"buffer",{get:u.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Y){}}();var w;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(w=Function.prototype[Symbol.hasInstance],Object.defineProperty(x,Symbol.hasInstance,{value:function(te){return w.call(this,te)?!0:this!==x?!1:te&&te._writableState instanceof y}})):w=function(te){return te instanceof this};function x(Y){if(a=a||t("./_stream_duplex"),!w.call(x,this)&&!(this instanceof a))return new x(Y);this._writableState=new y(Y,this),this.writable=!0,Y&&(typeof Y.write=="function"&&(this._write=Y.write),typeof Y.writev=="function"&&(this._writev=Y.writev),typeof Y.destroy=="function"&&(this._destroy=Y.destroy),typeof Y.final=="function"&&(this._final=Y.final)),f.call(this)}x.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function T(Y,te){var se=new Error("write after end");Y.emit("error",se),l.nextTick(te,se)}function L(Y,te,se,Ce){var he=!0,xe=!1;return se===null?xe=new TypeError("May not write null values to stream"):typeof se!="string"&&se!==void 0&&!te.objectMode&&(xe=new TypeError("Invalid non-string/buffer chunk")),xe&&(Y.emit("error",xe),l.nextTick(Ce,xe),he=!1),he}x.prototype.write=function(Y,te,se){var Ce=this._writableState,he=!1,xe=!Ce.objectMode&&v(Y);return xe&&!m.isBuffer(Y)&&(Y=g(Y)),typeof te=="function"&&(se=te,te=null),xe?te="buffer":te||(te=Ce.defaultEncoding),typeof se!="function"&&(se=S),Ce.ended?T(this,se):(xe||L(this,Ce,Y,se))&&(Ce.pendingcb++,he=P(this,Ce,xe,Y,te,se)),he},x.prototype.cork=function(){var Y=this._writableState;Y.corked++},x.prototype.uncork=function(){var Y=this._writableState;Y.corked&&(Y.corked--,!Y.writing&&!Y.corked&&!Y.finished&&!Y.bufferProcessing&&Y.bufferedRequest&&H(this,Y))},x.prototype.setDefaultEncoding=function(te){if(typeof te=="string"&&(te=te.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((te+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+te);return this._writableState.defaultEncoding=te,this};function R(Y,te,se){return!Y.objectMode&&Y.decodeStrings!==!1&&typeof te=="string"&&(te=m.from(te,se)),te}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function P(Y,te,se,Ce,he,xe){if(!se){var ie=R(te,Ce,he);Ce!==ie&&(se=!0,he="buffer",Ce=ie)}var ee=te.objectMode?1:Ce.length;te.length+=ee;var Ze=te.length<te.highWaterMark;if(Ze||(te.needDrain=!0),te.writing||te.corked){var Se=te.lastBufferedRequest;te.lastBufferedRequest={chunk:Ce,encoding:he,isBuf:se,callback:xe,next:null},Se?Se.next=te.lastBufferedRequest:te.bufferedRequest=te.lastBufferedRequest,te.bufferedRequestCount+=1}else k(Y,te,!1,ee,Ce,he,xe);return Ze}function k(Y,te,se,Ce,he,xe,ie){te.writelen=Ce,te.writecb=ie,te.writing=!0,te.sync=!0,se?Y._writev(he,te.onwrite):Y._write(he,xe,te.onwrite),te.sync=!1}function U(Y,te,se,Ce,he){--te.pendingcb,se?(l.nextTick(he,Ce),l.nextTick(V,Y,te),Y._writableState.errorEmitted=!0,Y.emit("error",Ce)):(he(Ce),Y._writableState.errorEmitted=!0,Y.emit("error",Ce),V(Y,te))}function D(Y){Y.writing=!1,Y.writecb=null,Y.length-=Y.writelen,Y.writelen=0}function M(Y,te){var se=Y._writableState,Ce=se.sync,he=se.writecb;if(D(se),te)U(Y,se,Ce,te,he);else{var xe=K(se);!xe&&!se.corked&&!se.bufferProcessing&&se.bufferedRequest&&H(Y,se),Ce?e(B,Y,se,xe,he):B(Y,se,xe,he)}}function B(Y,te,se,Ce){se||j(Y,te),te.pendingcb--,Ce(),V(Y,te)}function j(Y,te){te.length===0&&te.needDrain&&(te.needDrain=!1,Y.emit("drain"))}function H(Y,te){te.bufferProcessing=!0;var se=te.bufferedRequest;if(Y._writev&&se&&se.next){var Ce=te.bufferedRequestCount,he=new Array(Ce),xe=te.corkedRequestsFree;xe.entry=se;for(var ie=0,ee=!0;se;)he[ie]=se,se.isBuf||(ee=!1),se=se.next,ie+=1;he.allBuffers=ee,k(Y,te,!0,te.length,he,"",xe.finish),te.pendingcb++,te.lastBufferedRequest=null,xe.next?(te.corkedRequestsFree=xe.next,xe.next=null):te.corkedRequestsFree=new c(te),te.bufferedRequestCount=0}else{for(;se;){var Ze=se.chunk,Se=se.encoding,Ne=se.callback,it=te.objectMode?1:Ze.length;if(k(Y,te,!1,it,Ze,Se,Ne),se=se.next,te.bufferedRequestCount--,te.writing)break}se===null&&(te.lastBufferedRequest=null)}te.bufferedRequest=se,te.bufferProcessing=!1}x.prototype._write=function(Y,te,se){se(new Error("_write() is not implemented"))},x.prototype._writev=null,x.prototype.end=function(Y,te,se){var Ce=this._writableState;typeof Y=="function"?(se=Y,Y=null,te=null):typeof te=="function"&&(se=te,te=null),Y!=null&&this.write(Y,te),Ce.corked&&(Ce.corked=1,this.uncork()),!Ce.ending&&!Ce.finished&&Z(this,Ce,se)};function K(Y){return Y.ending&&Y.length===0&&Y.bufferedRequest===null&&!Y.finished&&!Y.writing}function W(Y,te){Y._final(function(se){te.pendingcb--,se&&Y.emit("error",se),te.prefinished=!0,Y.emit("prefinish"),V(Y,te)})}function X(Y,te){!te.prefinished&&!te.finalCalled&&(typeof Y._final=="function"?(te.pendingcb++,te.finalCalled=!0,l.nextTick(W,Y,te)):(te.prefinished=!0,Y.emit("prefinish")))}function V(Y,te){var se=K(te);return se&&(X(Y,te),te.pendingcb===0&&(te.finished=!0,Y.emit("finish"))),se}function Z(Y,te,se){te.ending=!0,V(Y,te),se&&(te.finished?l.nextTick(se):Y.once("finish",se)),te.ended=!0,Y.writable=!1}function G(Y,te,se){var Ce=Y.entry;for(Y.entry=null;Ce;){var he=Ce.callback;te.pendingcb--,he(se),Ce=Ce.next}te.corkedRequestsFree?te.corkedRequestsFree.next=Y:te.corkedRequestsFree=Y}Object.defineProperty(x.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(te){if(!this._writableState)return;this._writableState.destroyed=te}}),x.prototype.destroy=b.destroy,x.prototype._undestroy=b.undestroy,x.prototype._destroy=function(Y,te){this.end(),te(Y)}}).call(this)}).call(this,t("_process"),typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{},t("timers").setImmediate)},{"./_stream_duplex":330,"./internal/streams/destroy":336,"./internal/streams/stream":337,_process:399,"core-util-is":298,inherits:311,"process-nextick-args":323,"safe-buffer":343,timers:347,"util-deprecate":349}],335:[function(t,p,h){"use strict";function o(n,c){if(!(n instanceof c))throw new TypeError("Cannot call a class as a function")}var r=t("safe-buffer").Buffer,s=t("util");function l(n,c,e){n.copy(c,e)}p.exports=function(){function n(){o(this,n),this.head=null,this.tail=null,this.length=0}return n.prototype.push=function(e){var a={data:e,next:null};this.length>0?this.tail.next=a:this.head=a,this.tail=a,++this.length},n.prototype.unshift=function(e){var a={data:e,next:this.head};this.length===0&&(this.tail=a),this.head=a,++this.length},n.prototype.shift=function(){if(this.length===0)return;var e=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,e},n.prototype.clear=function(){this.head=this.tail=null,this.length=0},n.prototype.join=function(e){if(this.length===0)return"";for(var a=this.head,i=""+a.data;a=a.next;)i+=e+a.data;return i},n.prototype.concat=function(e){if(this.length===0)return r.alloc(0);if(this.length===1)return this.head.data;for(var a=r.allocUnsafe(e>>>0),i=this.head,u=0;i;)l(i.data,a,u),u+=i.data.length,i=i.next;return a},n}(),s&&s.inspect&&s.inspect.custom&&(p.exports.prototype[s.inspect.custom]=function(){var n=s.inspect({length:this.length});return this.constructor.name+" "+n})},{"safe-buffer":343,util:84}],336:[function(t,p,h){"use strict";var o=t("process-nextick-args");function r(n,c){var e=this,a=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return a||i?(c?c(n):n&&(!this._writableState||!this._writableState.errorEmitted)&&o.nextTick(l,this,n),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(n||null,function(u){!c&&u?(o.nextTick(l,e,u),e._writableState&&(e._writableState.errorEmitted=!0)):c&&c(u)}),this)}function s(){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 l(n,c){n.emit("error",c)}p.exports={destroy:r,undestroy:s}},{"process-nextick-args":323}],337:[function(t,p,h){p.exports=t("events").EventEmitter},{events:301}],338:[function(t,p,h){p.exports=t("./readable").PassThrough},{"./readable":339}],339:[function(t,p,h){h=p.exports=t("./lib/_stream_readable.js"),h.Stream=h,h.Readable=h,h.Writable=t("./lib/_stream_writable.js"),h.Duplex=t("./lib/_stream_duplex.js"),h.Transform=t("./lib/_stream_transform.js"),h.PassThrough=t("./lib/_stream_passthrough.js")},{"./lib/_stream_duplex.js":330,"./lib/_stream_passthrough.js":331,"./lib/_stream_readable.js":332,"./lib/_stream_transform.js":333,"./lib/_stream_writable.js":334}],340:[function(t,p,h){p.exports=t("./readable").Transform},{"./readable":339}],341:[function(t,p,h){p.exports=t("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":334}],342:[function(t,p,h){var o=function(r){"use strict";var s=Object.prototype,l=s.hasOwnProperty,n,c=typeof Symbol=="function"?Symbol:{},e=c.iterator||"@@iterator",a=c.asyncIterator||"@@asyncIterator",i=c.toStringTag||"@@toStringTag";function u(X,V,Z){return Object.defineProperty(X,V,{value:Z,enumerable:!0,configurable:!0,writable:!0}),X[V]}try{u({},"")}catch(X){u=function(Z,G,Y){return Z[G]=Y}}function f(X,V,Z,G){var Y=V&&V.prototype instanceof y?V:y,te=Object.create(Y.prototype),se=new H(G||[]);return te._invoke=D(X,Z,se),te}r.wrap=f;function m(X,V,Z){try{return{type:"normal",arg:X.call(V,Z)}}catch(G){return{type:"throw",arg:G}}}var A="suspendedStart",g="suspendedYield",v="executing",b="completed",S={};function y(){}function w(){}function x(){}var T={};u(T,e,function(){return this});var L=Object.getPrototypeOf,R=L&&L(L(K([])));R&&R!==s&&l.call(R,e)&&(T=R);var P=x.prototype=y.prototype=Object.create(T);w.prototype=x,u(P,"constructor",x),u(x,"constructor",w),w.displayName=u(x,i,"GeneratorFunction");function k(X){["next","throw","return"].forEach(function(V){u(X,V,function(Z){return this._invoke(V,Z)})})}r.isGeneratorFunction=function(X){var V=typeof X=="function"&&X.constructor;return V?V===w||(V.displayName||V.name)==="GeneratorFunction":!1},r.mark=function(X){return Object.setPrototypeOf?Object.setPrototypeOf(X,x):(X.__proto__=x,u(X,i,"GeneratorFunction")),X.prototype=Object.create(P),X},r.awrap=function(X){return{__await:X}};function U(X,V){function Z(te,se,Ce,he){var xe=m(X[te],X,se);if(xe.type==="throw")he(xe.arg);else{var ie=xe.arg,ee=ie.value;return ee&&typeof ee=="object"&&l.call(ee,"__await")?V.resolve(ee.__await).then(function(Ze){Z("next",Ze,Ce,he)},function(Ze){Z("throw",Ze,Ce,he)}):V.resolve(ee).then(function(Ze){ie.value=Ze,Ce(ie)},function(Ze){return Z("throw",Ze,Ce,he)})}}var G;function Y(te,se){function Ce(){return new V(function(he,xe){Z(te,se,he,xe)})}return G=G?G.then(Ce,Ce):Ce()}this._invoke=Y}k(U.prototype),u(U.prototype,a,function(){return this}),r.AsyncIterator=U,r.async=function(X,V,Z,G,Y){Y===void 0&&(Y=Promise);var te=new U(f(X,V,Z,G),Y);return r.isGeneratorFunction(V)?te:te.next().then(function(se){return se.done?se.value:te.next()})};function D(X,V,Z){var G=A;return function(te,se){if(G===v)throw new Error("Generator is already running");if(G===b){if(te==="throw")throw se;return W()}for(Z.method=te,Z.arg=se;;){var Ce=Z.delegate;if(Ce){var he=M(Ce,Z);if(he){if(he===S)continue;return he}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(G===A)throw G=b,Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);G=v;var xe=m(X,V,Z);if(xe.type==="normal"){if(G=Z.done?b:g,xe.arg===S)continue;return{value:xe.arg,done:Z.done}}else xe.type==="throw"&&(G=b,Z.method="throw",Z.arg=xe.arg)}}}function M(X,V){var Z=X.iterator[V.method];if(Z===n){if(V.delegate=null,V.method==="throw"){if(X.iterator.return&&(V.method="return",V.arg=n,M(X,V),V.method==="throw"))return S;V.method="throw",V.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var G=m(Z,X.iterator,V.arg);if(G.type==="throw")return V.method="throw",V.arg=G.arg,V.delegate=null,S;var Y=G.arg;if(!Y)return V.method="throw",V.arg=new TypeError("iterator result is not an object"),V.delegate=null,S;if(Y.done)V[X.resultName]=Y.value,V.next=X.nextLoc,V.method!=="return"&&(V.method="next",V.arg=n);else return Y;return V.delegate=null,S}k(P),u(P,i,"Generator"),u(P,e,function(){return this}),u(P,"toString",function(){return"[object Generator]"});function B(X){var V={tryLoc:X[0]};1 in X&&(V.catchLoc=X[1]),2 in X&&(V.finallyLoc=X[2],V.afterLoc=X[3]),this.tryEntries.push(V)}function j(X){var V=X.completion||{};V.type="normal",delete V.arg,X.completion=V}function H(X){this.tryEntries=[{tryLoc:"root"}],X.forEach(B,this),this.reset(!0)}r.keys=function(X){var V=[];for(var Z in X)V.push(Z);return V.reverse(),function G(){for(;V.length;){var Y=V.pop();if(Y in X)return G.value=Y,G.done=!1,G}return G.done=!0,G}};function K(X){if(X){var V=X[e];if(V)return V.call(X);if(typeof X.next=="function")return X;if(!isNaN(X.length)){var Z=-1,G=function Y(){for(;++Z<X.length;)if(l.call(X,Z))return Y.value=X[Z],Y.done=!1,Y;return Y.value=n,Y.done=!0,Y};return G.next=G}}return{next:W}}r.values=K;function W(){return{value:n,done:!0}}return H.prototype={constructor:H,reset:function(V){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(j),!V)for(var Z in this)Z.charAt(0)==="t"&&l.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=n)},stop:function(){this.done=!0;var V=this.tryEntries[0],Z=V.completion;if(Z.type==="throw")throw Z.arg;return this.rval},dispatchException:function(V){if(this.done)throw V;var Z=this;function G(xe,ie){return se.type="throw",se.arg=V,Z.next=xe,ie&&(Z.method="next",Z.arg=n),!!ie}for(var Y=this.tryEntries.length-1;Y>=0;--Y){var te=this.tryEntries[Y],se=te.completion;if(te.tryLoc==="root")return G("end");if(te.tryLoc<=this.prev){var Ce=l.call(te,"catchLoc"),he=l.call(te,"finallyLoc");if(Ce&&he){if(this.prev<te.catchLoc)return G(te.catchLoc,!0);if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else if(Ce){if(this.prev<te.catchLoc)return G(te.catchLoc,!0)}else if(he){if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(V,Z){for(var G=this.tryEntries.length-1;G>=0;--G){var Y=this.tryEntries[G];if(Y.tryLoc<=this.prev&&l.call(Y,"finallyLoc")&&this.prev<Y.finallyLoc){var te=Y;break}}te&&(V==="break"||V==="continue")&&te.tryLoc<=Z&&Z<=te.finallyLoc&&(te=null);var se=te?te.completion:{};return se.type=V,se.arg=Z,te?(this.method="next",this.next=te.finallyLoc,S):this.complete(se)},complete:function(V,Z){if(V.type==="throw")throw V.arg;return V.type==="break"||V.type==="continue"?this.next=V.arg:V.type==="return"?(this.rval=this.arg=V.arg,this.method="return",this.next="end"):V.type==="normal"&&Z&&(this.next=Z),S},finish:function(V){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var G=this.tryEntries[Z];if(G.finallyLoc===V)return this.complete(G.completion,G.afterLoc),j(G),S}},catch:function(V){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var G=this.tryEntries[Z];if(G.tryLoc===V){var Y=G.completion;if(Y.type==="throw"){var te=Y.arg;j(G)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(V,Z,G){return this.delegate={iterator:K(V),resultName:Z,nextLoc:G},this.method==="next"&&(this.arg=n),S}},r}(typeof p=="object"?p.exports:{});try{regeneratorRuntime=o}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},{}],343:[function(t,p,h){var o=t("buffer"),r=o.Buffer;function s(n,c){for(var e in n)c[e]=n[e]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?p.exports=o:(s(o,h),h.Buffer=l);function l(n,c,e){return r(n,c,e)}s(r,l),l.from=function(n,c,e){if(typeof n=="number")throw new TypeError("Argument must not be a number");return r(n,c,e)},l.alloc=function(n,c,e){if(typeof n!="number")throw new TypeError("Argument must be a number");var a=r(n);return c!==void 0?typeof e=="string"?a.fill(c,e):a.fill(c):a.fill(0),a},l.allocUnsafe=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return r(n)},l.allocUnsafeSlow=function(n){if(typeof n!="number")throw new TypeError("Argument must be a number");return o.SlowBuffer(n)}},{buffer:85}],344:[function(t,p,h){(function(o){(function(){(function(r){r.parser=function(ie,ee){return new l(ie,ee)},r.SAXParser=l,r.SAXStream=f,r.createStream=u,r.MAX_BUFFER_LENGTH=64*1024;var s=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];r.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function l(ie,ee){if(!(this instanceof l))return new l(ie,ee);var Ze=this;c(Ze),Ze.q=Ze.c="",Ze.bufferCheckPosition=r.MAX_BUFFER_LENGTH,Ze.opt=ee||{},Ze.opt.lowercase=Ze.opt.lowercase||Ze.opt.lowercasetags,Ze.looseCase=Ze.opt.lowercase?"toLowerCase":"toUpperCase",Ze.tags=[],Ze.closed=Ze.closedRoot=Ze.sawRoot=!1,Ze.tag=Ze.error=null,Ze.strict=!!ie,Ze.noscript=!!(ie||Ze.opt.noscript),Ze.state=U.BEGIN,Ze.strictEntities=Ze.opt.strictEntities,Ze.ENTITIES=Ze.strictEntities?Object.create(r.XML_ENTITIES):Object.create(r.ENTITIES),Ze.attribList=[],Ze.opt.xmlns&&(Ze.ns=Object.create(b)),Ze.trackPosition=Ze.opt.position!==!1,Ze.trackPosition&&(Ze.position=Ze.line=Ze.column=0),M(Ze,"onready")}Object.create||(Object.create=function(ie){function ee(){}ee.prototype=ie;var Ze=new ee;return Ze}),Object.keys||(Object.keys=function(ie){var ee=[];for(var Ze in ie)ie.hasOwnProperty(Ze)&&ee.push(Ze);return ee});function n(ie){for(var ee=Math.max(r.MAX_BUFFER_LENGTH,10),Ze=0,Se=0,Ne=s.length;Se<Ne;Se++){var it=ie[s[Se]].length;if(it>ee)switch(s[Se]){case"textNode":j(ie);break;case"cdata":B(ie,"oncdata",ie.cdata),ie.cdata="";break;case"script":B(ie,"onscript",ie.script),ie.script="";break;default:K(ie,"Max buffer length exceeded: "+s[Se])}Ze=Math.max(Ze,it)}var Ye=r.MAX_BUFFER_LENGTH-Ze;ie.bufferCheckPosition=Ye+ie.position}function c(ie){for(var ee=0,Ze=s.length;ee<Ze;ee++)ie[s[ee]]=""}function e(ie){j(ie),ie.cdata!==""&&(B(ie,"oncdata",ie.cdata),ie.cdata=""),ie.script!==""&&(B(ie,"onscript",ie.script),ie.script="")}l.prototype={end:function(){W(this)},write:xe,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){e(this)}};var a;try{a=t("stream").Stream}catch(ie){a=function(){}}var i=r.EVENTS.filter(function(ie){return ie!=="error"&&ie!=="end"});function u(ie,ee){return new f(ie,ee)}function f(ie,ee){if(!(this instanceof f))return new f(ie,ee);a.apply(this),this._parser=new l(ie,ee),this.writable=!0,this.readable=!0;var Ze=this;this._parser.onend=function(){Ze.emit("end")},this._parser.onerror=function(Se){Ze.emit("error",Se),Ze._parser.error=null},this._decoder=null,i.forEach(function(Se){Object.defineProperty(Ze,"on"+Se,{get:function(){return Ze._parser["on"+Se]},set:function(it){if(!it)return Ze.removeAllListeners(Se),Ze._parser["on"+Se]=it,it;Ze.on(Se,it)},enumerable:!0,configurable:!1})})}f.prototype=Object.create(a.prototype,{constructor:{value:f}}),f.prototype.write=function(ie){if(typeof o=="function"&&typeof o.isBuffer=="function"&&o.isBuffer(ie)){if(!this._decoder){var ee=t("string_decoder").StringDecoder;this._decoder=new ee("utf8")}ie=this._decoder.write(ie)}return this._parser.write(ie.toString()),this.emit("data",ie),!0},f.prototype.end=function(ie){return ie&&ie.length&&this.write(ie),this._parser.end(),!0},f.prototype.on=function(ie,ee){var Ze=this;return!Ze._parser["on"+ie]&&i.indexOf(ie)!==-1&&(Ze._parser["on"+ie]=function(){var Se=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Se.splice(0,0,ie),Ze.emit.apply(Ze,Se)}),a.prototype.on.call(Ze,ie,ee)};var m="[CDATA[",A="DOCTYPE",g="http://www.w3.org/XML/1998/namespace",v="http://www.w3.org/2000/xmlns/",b={xml:g,xmlns:v},S=/[:_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]/,y=/[:_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-]/,w=/[#:_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]/,x=/[#:_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 T(ie){return ie===" "||ie===`
`||ie==="\r"||ie===" "}function L(ie){return ie==='"'||ie==="'"}function R(ie){return ie===">"||T(ie)}function P(ie,ee){return ie.test(ee)}function k(ie,ee){return!P(ie,ee)}var U=0;r.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},r.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},r.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},Object.keys(r.ENTITIES).forEach(function(ie){var ee=r.ENTITIES[ie],Ze=typeof ee=="number"?String.fromCharCode(ee):ee;r.ENTITIES[ie]=Ze});for(var D in r.STATE)r.STATE[r.STATE[D]]=D;U=r.STATE;function M(ie,ee,Ze){ie[ee]&&ie[ee](Ze)}function B(ie,ee,Ze){ie.textNode&&j(ie),M(ie,ee,Ze)}function j(ie){ie.textNode=H(ie.opt,ie.textNode),ie.textNode&&M(ie,"ontext",ie.textNode),ie.textNode=""}function H(ie,ee){return ie.trim&&(ee=ee.trim()),ie.normalize&&(ee=ee.replace(/\s+/g," ")),ee}function K(ie,ee){return j(ie),ie.trackPosition&&(ee+=`
Line: `+ie.line+`
Column: `+ie.column+`
Char: `+ie.c),ee=new Error(ee),ie.error=ee,M(ie,"onerror",ee),ie}function W(ie){return ie.sawRoot&&!ie.closedRoot&&X(ie,"Unclosed root tag"),ie.state!==U.BEGIN&&ie.state!==U.BEGIN_WHITESPACE&&ie.state!==U.TEXT&&K(ie,"Unexpected end"),j(ie),ie.c="",ie.closed=!0,M(ie,"onend"),l.call(ie,ie.strict,ie.opt),ie}function X(ie,ee){if(typeof ie!="object"||!(ie instanceof l))throw new Error("bad call to strictFail");ie.strict&&K(ie,ee)}function V(ie){ie.strict||(ie.tagName=ie.tagName[ie.looseCase]());var ee=ie.tags[ie.tags.length-1]||ie,Ze=ie.tag={name:ie.tagName,attributes:{}};ie.opt.xmlns&&(Ze.ns=ee.ns),ie.attribList.length=0,B(ie,"onopentagstart",Ze)}function Z(ie,ee){var Ze=ie.indexOf(":"),Se=Ze<0?["",ie]:ie.split(":"),Ne=Se[0],it=Se[1];return ee&&ie==="xmlns"&&(Ne="xmlns",it=""),{prefix:Ne,local:it}}function G(ie){if(ie.strict||(ie.attribName=ie.attribName[ie.looseCase]()),ie.attribList.indexOf(ie.attribName)!==-1||ie.tag.attributes.hasOwnProperty(ie.attribName)){ie.attribName=ie.attribValue="";return}if(ie.opt.xmlns){var ee=Z(ie.attribName,!0),Ze=ee.prefix,Se=ee.local;if(Ze==="xmlns")if(Se==="xml"&&ie.attribValue!==g)X(ie,"xml: prefix must be bound to "+g+`
Actual: `+ie.attribValue);else if(Se==="xmlns"&&ie.attribValue!==v)X(ie,"xmlns: prefix must be bound to "+v+`
Actual: `+ie.attribValue);else{var Ne=ie.tag,it=ie.tags[ie.tags.length-1]||ie;Ne.ns===it.ns&&(Ne.ns=Object.create(it.ns)),Ne.ns[Se]=ie.attribValue}ie.attribList.push([ie.attribName,ie.attribValue])}else ie.tag.attributes[ie.attribName]=ie.attribValue,B(ie,"onattribute",{name:ie.attribName,value:ie.attribValue});ie.attribName=ie.attribValue=""}function Y(ie,ee){if(ie.opt.xmlns){var Ze=ie.tag,Se=Z(ie.tagName);Ze.prefix=Se.prefix,Ze.local=Se.local,Ze.uri=Ze.ns[Se.prefix]||"",Ze.prefix&&!Ze.uri&&(X(ie,"Unbound namespace prefix: "+JSON.stringify(ie.tagName)),Ze.uri=Se.prefix);var Ne=ie.tags[ie.tags.length-1]||ie;Ze.ns&&Ne.ns!==Ze.ns&&Object.keys(Ze.ns).forEach(function(ze){B(ie,"onopennamespace",{prefix:ze,uri:Ze.ns[ze]})});for(var it=0,Ye=ie.attribList.length;it<Ye;it++){var nt=ie.attribList[it],je=nt[0],et=nt[1],He=Z(je,!0),pe=He.prefix,ae=He.local,re=pe===""?"":Ze.ns[pe]||"",be={name:je,value:et,prefix:pe,local:ae,uri:re};pe&&pe!=="xmlns"&&!re&&(X(ie,"Unbound namespace prefix: "+JSON.stringify(pe)),be.uri=pe),ie.tag.attributes[je]=be,B(ie,"onattribute",be)}ie.attribList.length=0}ie.tag.isSelfClosing=!!ee,ie.sawRoot=!0,ie.tags.push(ie.tag),B(ie,"onopentag",ie.tag),ee||(!ie.noscript&&ie.tagName.toLowerCase()==="script"?ie.state=U.SCRIPT:ie.state=U.TEXT,ie.tag=null,ie.tagName=""),ie.attribName=ie.attribValue="",ie.attribList.length=0}function te(ie){if(!ie.tagName){X(ie,"Weird empty close tag."),ie.textNode+="</>",ie.state=U.TEXT;return}if(ie.script){if(ie.tagName!=="script"){ie.script+="</"+ie.tagName+">",ie.tagName="",ie.state=U.SCRIPT;return}B(ie,"onscript",ie.script),ie.script=""}var ee=ie.tags.length,Ze=ie.tagName;ie.strict||(Ze=Ze[ie.looseCase]());for(var Se=Ze;ee--;){var Ne=ie.tags[ee];if(Ne.name!==Se)X(ie,"Unexpected close tag");else break}if(ee<0){X(ie,"Unmatched closing tag: "+ie.tagName),ie.textNode+="</"+ie.tagName+">",ie.state=U.TEXT;return}ie.tagName=Ze;for(var it=ie.tags.length;it-- >ee;){var Ye=ie.tag=ie.tags.pop();ie.tagName=ie.tag.name,B(ie,"onclosetag",ie.tagName);var nt={};for(var je in Ye.ns)nt[je]=Ye.ns[je];var et=ie.tags[ie.tags.length-1]||ie;ie.opt.xmlns&&Ye.ns!==et.ns&&Object.keys(Ye.ns).forEach(function(He){var pe=Ye.ns[He];B(ie,"onclosenamespace",{prefix:He,uri:pe})})}ee===0&&(ie.closedRoot=!0),ie.tagName=ie.attribValue=ie.attribName="",ie.attribList.length=0,ie.state=U.TEXT}function se(ie){var ee=ie.entity,Ze=ee.toLowerCase(),Se,Ne="";return ie.ENTITIES[ee]?ie.ENTITIES[ee]:ie.ENTITIES[Ze]?ie.ENTITIES[Ze]:(ee=Ze,ee.charAt(0)==="#"&&(ee.charAt(1)==="x"?(ee=ee.slice(2),Se=parseInt(ee,16),Ne=Se.toString(16)):(ee=ee.slice(1),Se=parseInt(ee,10),Ne=Se.toString(10))),ee=ee.replace(/^0+/,""),isNaN(Se)||Ne.toLowerCase()!==ee?(X(ie,"Invalid character entity"),"&"+ie.entity+";"):String.fromCodePoint(Se))}function Ce(ie,ee){ee==="<"?(ie.state=U.OPEN_WAKA,ie.startTagPosition=ie.position):T(ee)||(X(ie,"Non-whitespace before first tag."),ie.textNode=ee,ie.state=U.TEXT)}function he(ie,ee){var Ze="";return ee<ie.length&&(Ze=ie.charAt(ee)),Ze}function xe(ie){var ee=this;if(this.error)throw this.error;if(ee.closed)return K(ee,"Cannot write after close. Assign an onready handler.");if(ie===null)return W(ee);typeof ie=="object"&&(ie=ie.toString());for(var Ze=0,Se="";!(Se=he(ie,Ze++),ee.c=Se,!Se);){ee.trackPosition&&(ee.position++,Se===`
`?(ee.line++,ee.column=0):ee.column++);switch(ee.state){case U.BEGIN:if(ee.state=U.BEGIN_WHITESPACE,Se==="\uFEFF")continue;Ce(ee,Se);continue;case U.BEGIN_WHITESPACE:Ce(ee,Se);continue;case U.TEXT:if(ee.sawRoot&&!ee.closedRoot){for(var Ne=Ze-1;Se&&Se!=="<"&&Se!=="&";)Se=he(ie,Ze++),Se&&ee.trackPosition&&(ee.position++,Se===`
`?(ee.line++,ee.column=0):ee.column++);ee.textNode+=ie.substring(Ne,Ze-1)}Se==="<"&&!(ee.sawRoot&&ee.closedRoot&&!ee.strict)?(ee.state=U.OPEN_WAKA,ee.startTagPosition=ee.position):(!T(Se)&&(!ee.sawRoot||ee.closedRoot)&&X(ee,"Text data outside of root node."),Se==="&"?ee.state=U.TEXT_ENTITY:ee.textNode+=Se);continue;case U.SCRIPT:Se==="<"?ee.state=U.SCRIPT_ENDING:ee.script+=Se;continue;case U.SCRIPT_ENDING:Se==="/"?ee.state=U.CLOSE_TAG:(ee.script+="<"+Se,ee.state=U.SCRIPT);continue;case U.OPEN_WAKA:if(Se==="!")ee.state=U.SGML_DECL,ee.sgmlDecl="";else if(!T(Se))if(P(S,Se))ee.state=U.OPEN_TAG,ee.tagName=Se;else if(Se==="/")ee.state=U.CLOSE_TAG,ee.tagName="";else if(Se==="?")ee.state=U.PROC_INST,ee.procInstName=ee.procInstBody="";else{if(X(ee,"Unencoded <"),ee.startTagPosition+1<ee.position){var it=ee.position-ee.startTagPosition;Se=new Array(it).join(" ")+Se}ee.textNode+="<"+Se,ee.state=U.TEXT}continue;case U.SGML_DECL:(ee.sgmlDecl+Se).toUpperCase()===m?(B(ee,"onopencdata"),ee.state=U.CDATA,ee.sgmlDecl="",ee.cdata=""):ee.sgmlDecl+Se==="--"?(ee.state=U.COMMENT,ee.comment="",ee.sgmlDecl=""):(ee.sgmlDecl+Se).toUpperCase()===A?(ee.state=U.DOCTYPE,(ee.doctype||ee.sawRoot)&&X(ee,"Inappropriately located doctype declaration"),ee.doctype="",ee.sgmlDecl=""):Se===">"?(B(ee,"onsgmldeclaration",ee.sgmlDecl),ee.sgmlDecl="",ee.state=U.TEXT):(L(Se)&&(ee.state=U.SGML_DECL_QUOTED),ee.sgmlDecl+=Se);continue;case U.SGML_DECL_QUOTED:Se===ee.q&&(ee.state=U.SGML_DECL,ee.q=""),ee.sgmlDecl+=Se;continue;case U.DOCTYPE:Se===">"?(ee.state=U.TEXT,B(ee,"ondoctype",ee.doctype),ee.doctype=!0):(ee.doctype+=Se,Se==="["?ee.state=U.DOCTYPE_DTD:L(Se)&&(ee.state=U.DOCTYPE_QUOTED,ee.q=Se));continue;case U.DOCTYPE_QUOTED:ee.doctype+=Se,Se===ee.q&&(ee.q="",ee.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:ee.doctype+=Se,Se==="]"?ee.state=U.DOCTYPE:L(Se)&&(ee.state=U.DOCTYPE_DTD_QUOTED,ee.q=Se);continue;case U.DOCTYPE_DTD_QUOTED:ee.doctype+=Se,Se===ee.q&&(ee.state=U.DOCTYPE_DTD,ee.q="");continue;case U.COMMENT:Se==="-"?ee.state=U.COMMENT_ENDING:ee.comment+=Se;continue;case U.COMMENT_ENDING:Se==="-"?(ee.state=U.COMMENT_ENDED,ee.comment=H(ee.opt,ee.comment),ee.comment&&B(ee,"oncomment",ee.comment),ee.comment=""):(ee.comment+="-"+Se,ee.state=U.COMMENT);continue;case U.COMMENT_ENDED:Se!==">"?(X(ee,"Malformed comment"),ee.comment+="--"+Se,ee.state=U.COMMENT):ee.state=U.TEXT;continue;case U.CDATA:Se==="]"?ee.state=U.CDATA_ENDING:ee.cdata+=Se;continue;case U.CDATA_ENDING:Se==="]"?ee.state=U.CDATA_ENDING_2:(ee.cdata+="]"+Se,ee.state=U.CDATA);continue;case U.CDATA_ENDING_2:Se===">"?(ee.cdata&&B(ee,"oncdata",ee.cdata),B(ee,"onclosecdata"),ee.cdata="",ee.state=U.TEXT):Se==="]"?ee.cdata+="]":(ee.cdata+="]]"+Se,ee.state=U.CDATA);continue;case U.PROC_INST:Se==="?"?ee.state=U.PROC_INST_ENDING:T(Se)?ee.state=U.PROC_INST_BODY:ee.procInstName+=Se;continue;case U.PROC_INST_BODY:if(!ee.procInstBody&&T(Se))continue;Se==="?"?ee.state=U.PROC_INST_ENDING:ee.procInstBody+=Se;continue;case U.PROC_INST_ENDING:Se===">"?(B(ee,"onprocessinginstruction",{name:ee.procInstName,body:ee.procInstBody}),ee.procInstName=ee.procInstBody="",ee.state=U.TEXT):(ee.procInstBody+="?"+Se,ee.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:P(y,Se)?ee.tagName+=Se:(V(ee),Se===">"?Y(ee):Se==="/"?ee.state=U.OPEN_TAG_SLASH:(T(Se)||X(ee,"Invalid character in tag name"),ee.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:Se===">"?(Y(ee,!0),te(ee)):(X(ee,"Forward-slash in opening tag not followed by >"),ee.state=U.ATTRIB);continue;case U.ATTRIB:if(T(Se))continue;Se===">"?Y(ee):Se==="/"?ee.state=U.OPEN_TAG_SLASH:P(S,Se)?(ee.attribName=Se,ee.attribValue="",ee.state=U.ATTRIB_NAME):X(ee,"Invalid attribute name");continue;case U.ATTRIB_NAME:Se==="="?ee.state=U.ATTRIB_VALUE:Se===">"?(X(ee,"Attribute without value"),ee.attribValue=ee.attribName,G(ee),Y(ee)):T(Se)?ee.state=U.ATTRIB_NAME_SAW_WHITE:P(y,Se)?ee.attribName+=Se:X(ee,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if(Se==="=")ee.state=U.ATTRIB_VALUE;else{if(T(Se))continue;X(ee,"Attribute without value"),ee.tag.attributes[ee.attribName]="",ee.attribValue="",B(ee,"onattribute",{name:ee.attribName,value:""}),ee.attribName="",Se===">"?Y(ee):P(S,Se)?(ee.attribName=Se,ee.state=U.ATTRIB_NAME):(X(ee,"Invalid attribute name"),ee.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(T(Se))continue;L(Se)?(ee.q=Se,ee.state=U.ATTRIB_VALUE_QUOTED):(X(ee,"Unquoted attribute value"),ee.state=U.ATTRIB_VALUE_UNQUOTED,ee.attribValue=Se);continue;case U.ATTRIB_VALUE_QUOTED:if(Se!==ee.q){Se==="&"?ee.state=U.ATTRIB_VALUE_ENTITY_Q:ee.attribValue+=Se;continue}G(ee),ee.q="",ee.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:T(Se)?ee.state=U.ATTRIB:Se===">"?Y(ee):Se==="/"?ee.state=U.OPEN_TAG_SLASH:P(S,Se)?(X(ee,"No whitespace between attributes"),ee.attribName=Se,ee.attribValue="",ee.state=U.ATTRIB_NAME):X(ee,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(!R(Se)){Se==="&"?ee.state=U.ATTRIB_VALUE_ENTITY_U:ee.attribValue+=Se;continue}G(ee),Se===">"?Y(ee):ee.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(ee.tagName)Se===">"?te(ee):P(y,Se)?ee.tagName+=Se:ee.script?(ee.script+="</"+ee.tagName,ee.tagName="",ee.state=U.SCRIPT):(T(Se)||X(ee,"Invalid tagname in closing tag"),ee.state=U.CLOSE_TAG_SAW_WHITE);else{if(T(Se))continue;k(S,Se)?ee.script?(ee.script+="</"+Se,ee.state=U.SCRIPT):X(ee,"Invalid tagname in closing tag."):ee.tagName=Se}continue;case U.CLOSE_TAG_SAW_WHITE:if(T(Se))continue;Se===">"?te(ee):X(ee,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var Ye,nt;switch(ee.state){case U.TEXT_ENTITY:Ye=U.TEXT,nt="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:Ye=U.ATTRIB_VALUE_QUOTED,nt="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:Ye=U.ATTRIB_VALUE_UNQUOTED,nt="attribValue";break}Se===";"?(ee[nt]+=se(ee),ee.entity="",ee.state=Ye):P(ee.entity.length?x:w,Se)?ee.entity+=Se:(X(ee,"Invalid character in entity name"),ee[nt]+="&"+ee.entity+Se,ee.entity="",ee.state=Ye);continue;default:throw new Error(ee,"Unknown state: "+ee.state)}}return ee.position>=ee.bufferCheckPosition&&n(ee),ee}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var ie=String.fromCharCode,ee=Math.floor,Ze=function(){var Ne=16384,it=[],Ye,nt,je=-1,et=arguments.length;if(!et)return"";for(var He="";++je<et;){var pe=Number(arguments[je]);if(!isFinite(pe)||pe<0||pe>1114111||ee(pe)!==pe)throw RangeError("Invalid code point: "+pe);pe<=65535?it.push(pe):(pe-=65536,Ye=(pe>>10)+55296,nt=pe%1024+56320,it.push(Ye,nt)),(je+1===et||it.length>Ne)&&(He+=ie.apply(null,it),it.length=0)}return He};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ze,configurable:!0,writable:!0}):String.fromCodePoint=Ze}()})(typeof h=="undefined"?this.sax={}:h)}).call(this)}).call(this,t("buffer").Buffer)},{buffer:85,stream:345,string_decoder:86}],345:[function(t,p,h){p.exports=s;var o=t("events").EventEmitter,r=t("inherits");r(s,o),s.Readable=t("readable-stream/readable.js"),s.Writable=t("readable-stream/writable.js"),s.Duplex=t("readable-stream/duplex.js"),s.Transform=t("readable-stream/transform.js"),s.PassThrough=t("readable-stream/passthrough.js"),s.Stream=s;function s(){o.call(this)}s.prototype.pipe=function(l,n){var c=this;function e(g){l.writable&&(l.write(g)===!1&&c.pause&&c.pause())}c.on("data",e);function a(){c.readable&&c.resume&&c.resume()}l.on("drain",a),!l._isStdio&&(!n||n.end!==!1)&&(c.on("end",u),c.on("close",f));var i=!1;function u(){if(i)return;i=!0,l.end()}function f(){if(i)return;i=!0,typeof l.destroy=="function"&&l.destroy()}function m(g){if(A(),o.listenerCount(this,"error")===0)throw g}c.on("error",m),l.on("error",m);function A(){c.removeListener("data",e),l.removeListener("drain",a),c.removeListener("end",u),c.removeListener("close",f),c.removeListener("error",m),l.removeListener("error",m),c.removeListener("end",A),c.removeListener("close",A),l.removeListener("close",A)}return c.on("end",A),c.on("close",A),l.on("close",A),l.emit("pipe",c),l}},{events:301,inherits:311,"readable-stream/duplex.js":329,"readable-stream/passthrough.js":338,"readable-stream/readable.js":339,"readable-stream/transform.js":340,"readable-stream/writable.js":341}],346:[function(t,p,h){"use strict";var o=t("safe-buffer").Buffer,r=o.isEncoding||function(y){y=""+y;switch(y&&y.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 s(y){if(!y)return"utf8";for(var w;;)switch(y){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 y;default:if(w)return;y=(""+y).toLowerCase(),w=!0}}function l(y){var w=s(y);if(typeof w!="string"&&(o.isEncoding===r||!r(y)))throw new Error("Unknown encoding: "+y);return w||y}h.StringDecoder=n;function n(y){this.encoding=l(y);var w;switch(this.encoding){case"utf16le":this.text=m,this.end=A,w=4;break;case"utf8":this.fillLast=i,w=4;break;case"base64":this.text=g,this.end=v,w=3;break;default:this.write=b,this.end=S;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=o.allocUnsafe(w)}n.prototype.write=function(y){if(y.length===0)return"";var w,x;if(this.lastNeed){if(w=this.fillLast(y),w===void 0)return"";x=this.lastNeed,this.lastNeed=0}else x=0;return x<y.length?w?w+this.text(y,x):this.text(y,x):w||""},n.prototype.end=f,n.prototype.text=u,n.prototype.fillLast=function(y){if(this.lastNeed<=y.length)return y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);y.copy(this.lastChar,this.lastTotal-this.lastNeed,0,y.length),this.lastNeed-=y.length};function c(y){return y<=127?0:y>>5===6?2:y>>4===14?3:y>>3===30?4:y>>6===2?-1:-2}function e(y,w,x){var T=w.length-1;if(T<x)return 0;var L=c(w[T]);return L>=0?(L>0&&(y.lastNeed=L-1),L):--T<x||L===-2?0:(L=c(w[T]),L>=0?(L>0&&(y.lastNeed=L-2),L):--T<x||L===-2?0:(L=c(w[T]),L>=0?(L>0&&(L===2?L=0:y.lastNeed=L-3),L):0))}function a(y,w,x){if((w[0]&192)!==128)return y.lastNeed=0,"\uFFFD";if(y.lastNeed>1&&w.length>1){if((w[1]&192)!==128)return y.lastNeed=1,"\uFFFD";if(y.lastNeed>2&&w.length>2&&(w[2]&192)!==128)return y.lastNeed=2,"\uFFFD"}}function i(y){var w=this.lastTotal-this.lastNeed,x=a(this,y,w);if(x!==void 0)return x;if(this.lastNeed<=y.length)return y.copy(this.lastChar,w,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);y.copy(this.lastChar,w,0,y.length),this.lastNeed-=y.length}function u(y,w){var x=e(this,y,w);if(!this.lastNeed)return y.toString("utf8",w);this.lastTotal=x;var T=y.length-(x-this.lastNeed);return y.copy(this.lastChar,0,T),y.toString("utf8",w,T)}function f(y){var w=y&&y.length?this.write(y):"";return this.lastNeed?w+"\uFFFD":w}function m(y,w){if((y.length-w)%2===0){var x=y.toString("utf16le",w);if(x){var T=x.charCodeAt(x.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=y[y.length-2],this.lastChar[1]=y[y.length-1],x.slice(0,-1)}return x}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=y[y.length-1],y.toString("utf16le",w,y.length-1)}function A(y){var w=y&&y.length?this.write(y):"";if(this.lastNeed){var x=this.lastTotal-this.lastNeed;return w+this.lastChar.toString("utf16le",0,x)}return w}function g(y,w){var x=(y.length-w)%3;return x===0?y.toString("base64",w):(this.lastNeed=3-x,this.lastTotal=3,x===1?this.lastChar[0]=y[y.length-1]:(this.lastChar[0]=y[y.length-2],this.lastChar[1]=y[y.length-1]),y.toString("base64",w,y.length-x))}function v(y){var w=y&&y.length?this.write(y):"";return this.lastNeed?w+this.lastChar.toString("base64",0,3-this.lastNeed):w}function b(y){return y.toString(this.encoding)}function S(y){return y&&y.length?this.write(y):""}},{"safe-buffer":343}],347:[function(t,p,h){(function(o,r){(function(){var s=t("process/browser.js").nextTick,l=Function.prototype.apply,n=Array.prototype.slice,c={},e=0;h.setTimeout=function(){return new a(l.call(setTimeout,window,arguments),clearTimeout)},h.setInterval=function(){return new a(l.call(setInterval,window,arguments),clearInterval)},h.clearTimeout=h.clearInterval=function(i){i.close()};function a(i,u){this._id=i,this._clearFn=u}a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},h.enroll=function(i,u){clearTimeout(i._idleTimeoutId),i._idleTimeout=u},h.unenroll=function(i){clearTimeout(i._idleTimeoutId),i._idleTimeout=-1},h._unrefActive=h.active=function(i){clearTimeout(i._idleTimeoutId);var u=i._idleTimeout;u>=0&&(i._idleTimeoutId=setTimeout(function(){i._onTimeout&&i._onTimeout()},u))},h.setImmediate=typeof o=="function"?o:function(i){var u=e++,f=arguments.length<2?!1:n.call(arguments,1);return c[u]=!0,s(function(){c[u]&&(f?i.apply(null,f):i.call(null),h.clearImmediate(u))}),u},h.clearImmediate=typeof r=="function"?r:function(i){delete c[i]}}).call(this)}).call(this,t("timers").setImmediate,t("timers").clearImmediate)},{"process/browser.js":324,timers:347}],348:[function(t,p,h){var o=t("buffer").Buffer;p.exports=function(r){if(r instanceof Uint8Array){if(r.byteOffset===0&&r.byteLength===r.buffer.byteLength)return r.buffer;if(typeof r.buffer.slice=="function")return r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}if(o.isBuffer(r)){for(var s=new Uint8Array(r.length),l=r.length,n=0;n<l;n++)s[n]=r[n];return s.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:85}],349:[function(t,p,h){(function(o){(function(){p.exports=r;function r(l,n){if(s("noDeprecation"))return l;var c=!1;function e(){if(!c){if(s("throwDeprecation"))throw new Error(n);s("traceDeprecation")?console.trace(n):console.warn(n),c=!0}return l.apply(this,arguments)}return e}function s(l){try{if(!o.localStorage)return!1}catch(c){return!1}var n=o.localStorage[l];return n==null?!1:String(n).toLowerCase()==="true"}}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],350:[function(t,p,h){arguments[4][79][0].apply(h,arguments)},{dup:79}],351:[function(t,p,h){arguments[4][80][0].apply(h,arguments)},{dup:80}],352:[function(t,p,h){arguments[4][81][0].apply(h,arguments)},{"./support/isBuffer":351,_process:399,dup:81,inherits:350}],353:[function(t,p,h){(function(){"use strict";h.stripBOM=function(o){return o[0]==="\uFEFF"?o.substring(1):o}}).call(this)},{}],354:[function(t,p,h){(function(){"use strict";var o,r,s,l,n,c={}.hasOwnProperty;o=t("xmlbuilder"),r=t("./defaults").defaults,l=function(a){return typeof a=="string"&&(a.indexOf("&")>=0||a.indexOf(">")>=0||a.indexOf("<")>=0)},n=function(a){return"<![CDATA["+s(a)+"]]>"},s=function(a){return a.replace("]]>","]]]]><![CDATA[>")},h.Builder=function(){function e(a){var i,u,f;this.options={},u=r["0.2"];for(i in u){if(!c.call(u,i))continue;f=u[i],this.options[i]=f}for(i in a){if(!c.call(a,i))continue;f=a[i],this.options[i]=f}}return e.prototype.buildObject=function(a){var i,u,f,m,A;return i=this.options.attrkey,u=this.options.charkey,Object.keys(a).length===1&&this.options.rootName===r["0.2"].rootName?(A=Object.keys(a)[0],a=a[A]):A=this.options.rootName,f=function(g){return function(v,b){var S,y,w,x,T,L;if(typeof b!="object")g.options.cdata&&l(b)?v.raw(n(b)):v.txt(b);else if(Array.isArray(b))for(x in b){if(!c.call(b,x))continue;y=b[x];for(T in y)w=y[T],v=f(v.ele(T),w).up()}else for(T in b){if(!c.call(b,T))continue;if(y=b[T],T===i){if(typeof y=="object")for(S in y)L=y[S],v=v.att(S,L)}else if(T===u)g.options.cdata&&l(y)?v=v.raw(n(y)):v=v.txt(y);else if(Array.isArray(y))for(x in y){if(!c.call(y,x))continue;w=y[x],typeof w=="string"?g.options.cdata&&l(w)?v=v.ele(T).raw(n(w)).up():v=v.ele(T,w).up():v=f(v.ele(T),w).up()}else typeof y=="object"?v=f(v.ele(T),y).up():typeof y=="string"&&g.options.cdata&&l(y)?v=v.ele(T).raw(n(y)).up():(y==null&&(y=""),v=v.ele(T,y.toString()).up())}return v}}(this),m=o.create(A,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),f(m,a).end(this.options.renderOpts)},e}()}).call(this)},{"./defaults":355,xmlbuilder:391}],355:[function(t,p,h){(function(){h.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(this)},{}],356:[function(t,p,h){(function(){"use strict";var o,r,s,l,n,c,e,a,i=function(A,g){return function(){return A.apply(g,arguments)}},u=function(A,g){for(var v in g)f.call(g,v)&&(A[v]=g[v]);function b(){this.constructor=A}return b.prototype=g.prototype,A.prototype=new b,A.__super__=g.prototype,A},f={}.hasOwnProperty;e=t("sax"),s=t("events"),o=t("./bom"),c=t("./processors"),a=t("timers").setImmediate,r=t("./defaults").defaults,l=function(A){return typeof A=="object"&&A!=null&&Object.keys(A).length===0},n=function(A,g,v){var b,S,y;for(b=0,S=A.length;b<S;b++)y=A[b],g=y(g,v);return g},h.Parser=function(m){u(A,m);function A(g){this.parseStringPromise=i(this.parseStringPromise,this),this.parseString=i(this.parseString,this),this.reset=i(this.reset,this),this.assignOrPush=i(this.assignOrPush,this),this.processAsync=i(this.processAsync,this);var v,b,S;if(!(this instanceof h.Parser))return new h.Parser(g);this.options={},b=r["0.2"];for(v in b){if(!f.call(b,v))continue;S=b[v],this.options[v]=S}for(v in g){if(!f.call(g,v))continue;S=g[v],this.options[v]=S}this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(c.normalize)),this.reset()}return A.prototype.processAsync=function(){var g,v;try{return this.remaining.length<=this.options.chunkSize?(g=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(g),this.saxParser.close()):(g=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(g),a(this.processAsync))}catch(b){if(v=b,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(v)}},A.prototype.assignOrPush=function(g,v,b){return v in g?(g[v]instanceof Array||(g[v]=[g[v]]),g[v].push(b)):this.options.explicitArray?g[v]=[b]:g[v]=b},A.prototype.reset=function(){var g,v,b,S;return this.removeAllListeners(),this.saxParser=e.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(y){return function(w){if(y.saxParser.resume(),!y.saxParser.errThrown)return y.saxParser.errThrown=!0,y.emit("error",w)}}(this),this.saxParser.onend=function(y){return function(){if(!y.saxParser.ended)return y.saxParser.ended=!0,y.emit("end",y.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,S=[],g=this.options.attrkey,v=this.options.charkey,this.saxParser.onopentag=function(y){return function(w){var x,T,L,R,P;if(L={},L[v]="",!y.options.ignoreAttrs){P=w.attributes;for(x in P){if(!f.call(P,x))continue;!(g in L)&&!y.options.mergeAttrs&&(L[g]={}),T=y.options.attrValueProcessors?n(y.options.attrValueProcessors,w.attributes[x],x):w.attributes[x],R=y.options.attrNameProcessors?n(y.options.attrNameProcessors,x):x,y.options.mergeAttrs?y.assignOrPush(L,R,T):L[g][R]=T}}return L["#name"]=y.options.tagNameProcessors?n(y.options.tagNameProcessors,w.name):w.name,y.options.xmlns&&(L[y.options.xmlnskey]={uri:w.uri,local:w.local}),S.push(L)}}(this),this.saxParser.onclosetag=function(y){return function(){var w,x,T,L,R,P,k,U,D,M;if(P=S.pop(),R=P["#name"],(!y.options.explicitChildren||!y.options.preserveChildrenOrder)&&delete P["#name"],P.cdata===!0&&(w=P.cdata,delete P.cdata),D=S[S.length-1],P[v].match(/^\s*$/)&&!w?(x=P[v],delete P[v]):(y.options.trim&&(P[v]=P[v].trim()),y.options.normalize&&(P[v]=P[v].replace(/\s{2,}/g," ").trim()),P[v]=y.options.valueProcessors?n(y.options.valueProcessors,P[v],R):P[v],Object.keys(P).length===1&&v in P&&!y.EXPLICIT_CHARKEY&&(P=P[v])),l(P)&&(P=y.options.emptyTag!==""?y.options.emptyTag:x),y.options.validator!=null&&(M="/"+function(){var B,j,H;for(H=[],B=0,j=S.length;B<j;B++)L=S[B],H.push(L["#name"]);return H}().concat(R).join("/"),function(){var B;try{return P=y.options.validator(M,D&&D[R],P)}catch(j){return B=j,y.emit("error",B)}}()),y.options.explicitChildren&&!y.options.mergeAttrs&&typeof P=="object"){if(!y.options.preserveChildrenOrder)L={},y.options.attrkey in P&&(L[y.options.attrkey]=P[y.options.attrkey],delete P[y.options.attrkey]),!y.options.charsAsChildren&&y.options.charkey in P&&(L[y.options.charkey]=P[y.options.charkey],delete P[y.options.charkey]),Object.getOwnPropertyNames(P).length>0&&(L[y.options.childkey]=P),P=L;else if(D){D[y.options.childkey]=D[y.options.childkey]||[],k={};for(T in P){if(!f.call(P,T))continue;k[T]=P[T]}D[y.options.childkey].push(k),delete P["#name"],Object.keys(P).length===1&&v in P&&!y.EXPLICIT_CHARKEY&&(P=P[v])}}return S.length>0?y.assignOrPush(D,R,P):(y.options.explicitRoot&&(U=P,P={},P[R]=U),y.resultObject=P,y.saxParser.ended=!0,y.emit("end",y.resultObject))}}(this),b=function(y){return function(w){var x,T;if(T=S[S.length-1],T)return T[v]+=w,y.options.explicitChildren&&y.options.preserveChildrenOrder&&y.options.charsAsChildren&&(y.options.includeWhiteChars||w.replace(/\\n/g,"").trim()!=="")&&(T[y.options.childkey]=T[y.options.childkey]||[],x={"#name":"__text__"},x[v]=w,y.options.normalize&&(x[v]=x[v].replace(/\s{2,}/g," ").trim()),T[y.options.childkey].push(x)),T}}(this),this.saxParser.ontext=b,this.saxParser.oncdata=function(y){return function(w){var x;if(x=b(w),x)return x.cdata=!0}}(this)},A.prototype.parseString=function(g,v){var b;v!=null&&typeof v=="function"&&(this.on("end",function(S){return this.reset(),v(null,S)}),this.on("error",function(S){return this.reset(),v(S)}));try{return g=g.toString(),g.trim()===""?(this.emit("end",null),!0):(g=o.stripBOM(g),this.options.async?(this.remaining=g,a(this.processAsync),this.saxParser):this.saxParser.write(g).close())}catch(S){if(b=S,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw b}else return this.emit("error",b),this.saxParser.errThrown=!0}},A.prototype.parseStringPromise=function(g){return new Promise(function(v){return function(b,S){return v.parseString(g,function(y,w){return y?S(y):b(w)})}}(this))},A}(s),h.parseString=function(m,A,g){var v,b,S;return g!=null?(typeof g=="function"&&(v=g),typeof A=="object"&&(b=A)):(typeof A=="function"&&(v=A),b={}),S=new h.Parser(b),S.parseString(m,v)},h.parseStringPromise=function(m,A){var g,v;return typeof A=="object"&&(g=A),v=new h.Parser(g),v.parseStringPromise(m)}}).call(this)},{"./bom":353,"./defaults":355,"./processors":357,events:301,sax:344,timers:347}],357:[function(t,p,h){(function(){"use strict";var o;o=new RegExp(/(?!xmlns)^.*:/),h.normalize=function(r){return r.toLowerCase()},h.firstCharLowerCase=function(r){return r.charAt(0).toLowerCase()+r.slice(1)},h.stripPrefix=function(r){return r.replace(o,"")},h.parseNumbers=function(r){return isNaN(r)||(r=r%1===0?parseInt(r,10):parseFloat(r)),r},h.parseBooleans=function(r){return/^(?:true|false)$/i.test(r)&&(r=r.toLowerCase()==="true"),r}}).call(this)},{}],358:[function(t,p,h){(function(){"use strict";var o,r,s,l,n=function(a,i){for(var u in i)c.call(i,u)&&(a[u]=i[u]);function f(){this.constructor=a}return f.prototype=i.prototype,a.prototype=new f,a.__super__=i.prototype,a},c={}.hasOwnProperty;r=t("./defaults"),o=t("./builder"),s=t("./parser"),l=t("./processors"),h.defaults=r.defaults,h.processors=l,h.ValidationError=function(e){n(a,e);function a(i){this.message=i}return a}(Error),h.Builder=o.Builder,h.Parser=s.Parser,h.parseString=s.parseString,h.parseStringPromise=s.parseStringPromise}).call(this)},{"./builder":354,"./defaults":355,"./parser":356,"./processors":357}],359:[function(t,p,h){(function(){p.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],360:[function(t,p,h){(function(){p.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(this)},{}],361:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a=[].slice,i={}.hasOwnProperty;o=function(){var f,m,A,g,v,b;if(b=arguments[0],v=2<=arguments.length?a.call(arguments,1):[],n(Object.assign))Object.assign.apply(null,arguments);else for(f=0,A=v.length;f<A;f++)if(g=v[f],g!=null)for(m in g){if(!i.call(g,m))continue;b[m]=g[m]}return b},n=function(f){return!!f&&Object.prototype.toString.call(f)==="[object Function]"},c=function(f){var m;return!!f&&((m=typeof f)==="function"||m==="object")},s=function(f){return n(Array.isArray)?Array.isArray(f):Object.prototype.toString.call(f)==="[object Array]"},l=function(f){var m;if(s(f))return!f.length;for(m in f){if(!i.call(f,m))continue;return!1}return!0},e=function(f){var m,A;return c(f)&&(A=Object.getPrototypeOf(f))&&(m=A.constructor)&&typeof m=="function"&&m instanceof m&&Function.prototype.toString.call(m)===Function.prototype.toString.call(Object)},r=function(f){return n(f.valueOf)?f.valueOf():f},p.exports.assign=o,p.exports.isFunction=n,p.exports.isObject=c,p.exports.isArray=s,p.exports.isEmpty=l,p.exports.isPlainObject=e,p.exports.getValue=r}).call(this)},{}],362:[function(t,p,h){(function(){p.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],363:[function(t,p,h){(function(){var o,r,s;o=t("./NodeType"),s=t("./XMLNode"),p.exports=r=function(){function l(n,c,e){if(this.parent=n,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),c==null)throw new Error("Missing attribute name. "+this.debugInfo(c));this.name=this.stringify.name(c),this.value=this.stringify.attValue(e),this.type=o.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(l.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(l.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(l.prototype,"textContent",{get:function(){return this.value},set:function(c){return this.value=c||""}}),Object.defineProperty(l.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(l.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(l.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(l.prototype,"specified",{get:function(){return!0}}),l.prototype.clone=function(){return Object.create(this)},l.prototype.toString=function(n){return this.options.writer.attribute(this,this.options.writer.filterOptions(n))},l.prototype.debugInfo=function(n){return n=n||this.name,n==null?"parent: <"+this.parent.name+">":"attribute: {"+n+"}, parent: <"+this.parent.name+">"},l.prototype.isEqualNode=function(n){return n.namespaceURI!==this.namespaceURI||(n.prefix!==this.prefix||n.localName!==this.localName)?!1:!(n.value!==this.value)},l}()}).call(this)},{"./NodeType":360,"./XMLNode":382}],364:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;o=t("./NodeType"),s=t("./XMLCharacterData"),p.exports=r=function(c){l(e,c);function e(a,i){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=o.CData,this.value=this.stringify.cdata(i)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return this.options.writer.cdata(this,this.options.writer.filterOptions(a))},e}(s)}).call(this)},{"./NodeType":360,"./XMLCharacterData":365}],365:[function(t,p,h){(function(){var o,r,s=function(c,e){for(var a in e)l.call(e,a)&&(c[a]=e[a]);function i(){this.constructor=c}return i.prototype=e.prototype,c.prototype=new i,c.__super__=e.prototype,c},l={}.hasOwnProperty;r=t("./XMLNode"),p.exports=o=function(n){s(c,n);function c(e){c.__super__.constructor.call(this,e),this.value=""}return Object.defineProperty(c.prototype,"data",{get:function(){return this.value},set:function(a){return this.value=a||""}}),Object.defineProperty(c.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(c.prototype,"textContent",{get:function(){return this.value},set:function(a){return this.value=a||""}}),c.prototype.clone=function(){return Object.create(this)},c.prototype.substringData=function(e,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.insertData=function(e,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.deleteData=function(e,a){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.replaceData=function(e,a,i){throw new Error("This DOM method is not implemented."+this.debugInfo())},c.prototype.isEqualNode=function(e){return c.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)?!(e.data!==this.data):!1},c}(r)}).call(this)},{"./XMLNode":382}],366:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;o=t("./NodeType"),r=t("./XMLCharacterData"),p.exports=s=function(c){l(e,c);function e(a,i){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=o.Comment,this.value=this.stringify.comment(i)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return this.options.writer.comment(this,this.options.writer.filterOptions(a))},e}(r)}).call(this)},{"./NodeType":360,"./XMLCharacterData":365}],367:[function(t,p,h){(function(){var o,r,s;r=t("./XMLDOMErrorHandler"),s=t("./XMLDOMStringList"),p.exports=o=function(){function l(){var n;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new r,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=n=Object.create(this.defaultParams)}return Object.defineProperty(l.prototype,"parameterNames",{get:function(){return new s(Object.keys(this.defaultParams))}}),l.prototype.getParameter=function(n){return this.params.hasOwnProperty(n)?this.params[n]:null},l.prototype.canSetParameter=function(n,c){return!0},l.prototype.setParameter=function(n,c){return c!=null?this.params[n]=c:delete this.params[n]},l}()}).call(this)},{"./XMLDOMErrorHandler":368,"./XMLDOMStringList":370}],368:[function(t,p,h){(function(){var o;p.exports=o=function(){function r(){}return r.prototype.handleError=function(s){throw new Error(s)},r}()}).call(this)},{}],369:[function(t,p,h){(function(){var o;p.exports=o=function(){function r(){}return r.prototype.hasFeature=function(s,l){return!0},r.prototype.createDocumentType=function(s,l,n){throw new Error("This DOM method is not implemented.")},r.prototype.createDocument=function(s,l,n){throw new Error("This DOM method is not implemented.")},r.prototype.createHTMLDocument=function(s){throw new Error("This DOM method is not implemented.")},r.prototype.getFeature=function(s,l){throw new Error("This DOM method is not implemented.")},r}()}).call(this)},{}],370:[function(t,p,h){(function(){var o;p.exports=o=function(){function r(s){this.arr=s||[]}return Object.defineProperty(r.prototype,"length",{get:function(){return this.arr.length}}),r.prototype.item=function(s){return this.arr[s]||null},r.prototype.contains=function(s){return this.arr.indexOf(s)!==-1},r}()}).call(this)},{}],371:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(c){l(e,c);function e(a,i,u,f,m,A){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(u==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(i));if(!f)throw new Error("Missing DTD attribute type. "+this.debugInfo(i));if(!m)throw new Error("Missing DTD attribute default. "+this.debugInfo(i));if(m.indexOf("#")!==0&&(m="#"+m),!m.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(i));if(A&&!m.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=o.AttributeDeclaration,this.attributeName=this.stringify.name(u),this.attributeType=this.stringify.dtdAttType(f),A&&(this.defaultValue=this.stringify.dtdAttDefault(A)),this.defaultValueType=m}return e.prototype.toString=function(a){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(a))},e}(s)}).call(this)},{"./NodeType":360,"./XMLNode":382}],372:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(c){l(e,c);function e(a,i,u){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD element name. "+this.debugInfo());u||(u="(#PCDATA)"),Array.isArray(u)&&(u="("+u.join(",")+")"),this.name=this.stringify.name(i),this.type=o.ElementDeclaration,this.value=this.stringify.dtdElementValue(u)}return e.prototype.toString=function(a){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(a))},e}(s)}).call(this)},{"./NodeType":360,"./XMLNode":382}],373:[function(t,p,h){(function(){var o,r,s,l,n=function(a,i){for(var u in i)c.call(i,u)&&(a[u]=i[u]);function f(){this.constructor=a}return f.prototype=i.prototype,a.prototype=new f,a.__super__=i.prototype,a},c={}.hasOwnProperty;l=t("./Utility").isObject,s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(e){n(a,e);function a(i,u,f,m){if(a.__super__.constructor.call(this,i),f==null)throw new Error("Missing DTD entity name. "+this.debugInfo(f));if(m==null)throw new Error("Missing DTD entity value. "+this.debugInfo(f));if(this.pe=!!u,this.name=this.stringify.name(f),this.type=o.EntityDeclaration,!l(m))this.value=this.stringify.dtdEntityValue(m),this.internal=!0;else{if(!m.pubID&&!m.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(f));if(m.pubID&&!m.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(f));if(this.internal=!1,m.pubID!=null&&(this.pubID=this.stringify.dtdPubID(m.pubID)),m.sysID!=null&&(this.sysID=this.stringify.dtdSysID(m.sysID)),m.nData!=null&&(this.nData=this.stringify.dtdNData(m.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(f))}}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}(s)}).call(this)},{"./NodeType":360,"./Utility":361,"./XMLNode":382}],374:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(c){l(e,c);function e(a,i,u){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing DTD notation name. "+this.debugInfo(i));if(!u.pubID&&!u.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=o.NotationDeclaration,u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID))}return Object.defineProperty(e.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(e.prototype,"systemId",{get:function(){return this.sysID}}),e.prototype.toString=function(a){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(a))},e}(s)}).call(this)},{"./NodeType":360,"./XMLNode":382}],375:[function(t,p,h){(function(){var o,r,s,l,n=function(a,i){for(var u in i)c.call(i,u)&&(a[u]=i[u]);function f(){this.constructor=a}return f.prototype=i.prototype,a.prototype=new f,a.__super__=i.prototype,a},c={}.hasOwnProperty;l=t("./Utility").isObject,s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(e){n(a,e);function a(i,u,f,m){var A;a.__super__.constructor.call(this,i),l(u)&&(A=u,u=A.version,f=A.encoding,m=A.standalone),u||(u="1.0"),this.type=o.Declaration,this.version=this.stringify.xmlVersion(u),f!=null&&(this.encoding=this.stringify.xmlEncoding(f)),m!=null&&(this.standalone=this.stringify.xmlStandalone(m))}return a.prototype.toString=function(i){return this.options.writer.declaration(this,this.options.writer.filterOptions(i))},a}(s)}).call(this)},{"./NodeType":360,"./Utility":361,"./XMLNode":382}],376:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u=function(A,g){for(var v in g)f.call(g,v)&&(A[v]=g[v]);function b(){this.constructor=A}return b.prototype=g.prototype,A.prototype=new b,A.__super__=g.prototype,A},f={}.hasOwnProperty;i=t("./Utility").isObject,a=t("./XMLNode"),o=t("./NodeType"),r=t("./XMLDTDAttList"),l=t("./XMLDTDEntity"),s=t("./XMLDTDElement"),n=t("./XMLDTDNotation"),e=t("./XMLNamedNodeMap"),p.exports=c=function(m){u(A,m);function A(g,v,b){var S,y,w,x,T,L;if(A.__super__.constructor.call(this,g),this.type=o.DocType,g.children){for(x=g.children,y=0,w=x.length;y<w;y++)if(S=x[y],S.type===o.Element){this.name=S.name;break}}this.documentObject=g,i(v)&&(T=v,v=T.pubID,b=T.sysID),b==null&&(L=[v,b],b=L[0],v=L[1]),v!=null&&(this.pubID=this.stringify.dtdPubID(v)),b!=null&&(this.sysID=this.stringify.dtdSysID(b))}return Object.defineProperty(A.prototype,"entities",{get:function(){var v,b,S,y,w;for(y={},w=this.children,b=0,S=w.length;b<S;b++)v=w[b],v.type===o.EntityDeclaration&&!v.pe&&(y[v.name]=v);return new e(y)}}),Object.defineProperty(A.prototype,"notations",{get:function(){var v,b,S,y,w;for(y={},w=this.children,b=0,S=w.length;b<S;b++)v=w[b],v.type===o.NotationDeclaration&&(y[v.name]=v);return new e(y)}}),Object.defineProperty(A.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(A.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(A.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),A.prototype.element=function(g,v){var b;return b=new s(this,g,v),this.children.push(b),this},A.prototype.attList=function(g,v,b,S,y){var w;return w=new r(this,g,v,b,S,y),this.children.push(w),this},A.prototype.entity=function(g,v){var b;return b=new l(this,!1,g,v),this.children.push(b),this},A.prototype.pEntity=function(g,v){var b;return b=new l(this,!0,g,v),this.children.push(b),this},A.prototype.notation=function(g,v){var b;return b=new n(this,g,v),this.children.push(b),this},A.prototype.toString=function(g){return this.options.writer.docType(this,this.options.writer.filterOptions(g))},A.prototype.ele=function(g,v){return this.element(g,v)},A.prototype.att=function(g,v,b,S,y){return this.attList(g,v,b,S,y)},A.prototype.ent=function(g,v){return this.entity(g,v)},A.prototype.pent=function(g,v){return this.pEntity(g,v)},A.prototype.not=function(g,v){return this.notation(g,v)},A.prototype.up=function(){return this.root()||this.documentObject},A.prototype.isEqualNode=function(g){return A.__super__.isEqualNode.apply(this,arguments).isEqualNode(g)?g.name!==this.name||g.publicId!==this.publicId?!1:!(g.systemId!==this.systemId):!1},A}(a)}).call(this)},{"./NodeType":360,"./Utility":361,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLNamedNodeMap":381,"./XMLNode":382}],377:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i=function(m,A){for(var g in A)u.call(A,g)&&(m[g]=A[g]);function v(){this.constructor=m}return v.prototype=A.prototype,m.prototype=new v,m.__super__=A.prototype,m},u={}.hasOwnProperty;a=t("./Utility").isPlainObject,s=t("./XMLDOMImplementation"),r=t("./XMLDOMConfiguration"),n=t("./XMLNode"),o=t("./NodeType"),e=t("./XMLStringifier"),c=t("./XMLStringWriter"),p.exports=l=function(f){i(m,f);function m(A){m.__super__.constructor.call(this,null),this.name="#document",this.type=o.Document,this.documentURI=null,this.domConfig=new r,A||(A={}),A.writer||(A.writer=new c),this.options=A,this.stringify=new e(A)}return Object.defineProperty(m.prototype,"implementation",{value:new s}),Object.defineProperty(m.prototype,"doctype",{get:function(){var g,v,b,S;for(S=this.children,v=0,b=S.length;v<b;v++)if(g=S[v],g.type===o.DocType)return g;return null}}),Object.defineProperty(m.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(m.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(m.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(m.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===o.Declaration?this.children[0].encoding:null}}),Object.defineProperty(m.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===o.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(m.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===o.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(m.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(m.prototype,"origin",{get:function(){return null}}),Object.defineProperty(m.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(m.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(m.prototype,"contentType",{get:function(){return null}}),m.prototype.end=function(A){var g;return g={},A?a(A)&&(g=A,A=this.options.writer):A=this.options.writer,A.document(this,A.filterOptions(g))},m.prototype.toString=function(A){return this.options.writer.document(this,this.options.writer.filterOptions(A))},m.prototype.createElement=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createTextNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createComment=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createCDATASection=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createProcessingInstruction=function(A,g){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createAttribute=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createEntityReference=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByTagName=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.importNode=function(A,g){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createElementNS=function(A,g){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createAttributeNS=function(A,g){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByTagNameNS=function(A,g){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementById=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.adoptNode=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.renameNode=function(A,g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.getElementsByClassName=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createEvent=function(A){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createNodeIterator=function(A,g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},m.prototype.createTreeWalker=function(A,g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},m}(n)}).call(this)},{"./NodeType":360,"./Utility":361,"./XMLDOMConfiguration":367,"./XMLDOMImplementation":369,"./XMLNode":382,"./XMLStringWriter":387,"./XMLStringifier":388}],378:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u,f,m,A,g,v,b,S,y,w,x,T,L,R,P,k={}.hasOwnProperty;P=t("./Utility"),L=P.isObject,T=P.isFunction,R=P.isPlainObject,x=P.getValue,o=t("./NodeType"),m=t("./XMLDocument"),g=t("./XMLElement"),l=t("./XMLCData"),n=t("./XMLComment"),b=t("./XMLRaw"),w=t("./XMLText"),v=t("./XMLProcessingInstruction"),u=t("./XMLDeclaration"),f=t("./XMLDocType"),c=t("./XMLDTDAttList"),a=t("./XMLDTDEntity"),e=t("./XMLDTDElement"),i=t("./XMLDTDNotation"),s=t("./XMLAttribute"),y=t("./XMLStringifier"),S=t("./XMLStringWriter"),r=t("./WriterState"),p.exports=A=function(){function U(D,M,B){var j;this.name="?xml",this.type=o.Document,D||(D={}),j={},D.writer?R(D.writer)&&(j=D.writer,D.writer=new S):D.writer=new S,this.options=D,this.writer=D.writer,this.writerOptions=this.writer.filterOptions(j),this.stringify=new y(D),this.onDataCallback=M||function(){},this.onEndCallback=B||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return U.prototype.createChildNode=function(D){var M,B,j,H,K,W,X,V;switch(D.type){case o.CData:this.cdata(D.value);break;case o.Comment:this.comment(D.value);break;case o.Element:j={},X=D.attribs;for(B in X){if(!k.call(X,B))continue;M=X[B],j[B]=M.value}this.node(D.name,j);break;case o.Dummy:this.dummy();break;case o.Raw:this.raw(D.value);break;case o.Text:this.text(D.value);break;case o.ProcessingInstruction:this.instruction(D.target,D.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+D.constructor.name)}for(V=D.children,K=0,W=V.length;K<W;K++)H=V[K],this.createChildNode(H),H.type===o.Element&&this.up();return this},U.prototype.dummy=function(){return this},U.prototype.node=function(D,M,B){var j;if(D==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(D));return this.openCurrent(),D=x(D),M==null&&(M={}),M=x(M),L(M)||(j=[M,B],B=j[0],M=j[1]),this.currentNode=new g(this,D,M),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,B!=null&&this.text(B),this},U.prototype.element=function(D,M,B){var j,H,K,W,X,V;if(this.currentNode&&this.currentNode.type===o.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(D)||L(D)||T(D))for(W=this.options.noValidation,this.options.noValidation=!0,V=new m(this.options).element("TEMP_ROOT"),V.element(D),this.options.noValidation=W,X=V.children,H=0,K=X.length;H<K;H++)j=X[H],this.createChildNode(j),j.type===o.Element&&this.up();else this.node(D,M,B);return this},U.prototype.attribute=function(D,M){var B,j;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(D));if(D!=null&&(D=x(D)),L(D))for(B in D){if(!k.call(D,B))continue;j=D[B],this.attribute(B,j)}else T(M)&&(M=M.apply()),this.options.keepNullAttributes&&M==null?this.currentNode.attribs[D]=new s(this,D,""):M!=null&&(this.currentNode.attribs[D]=new s(this,D,M));return this},U.prototype.text=function(D){var M;return this.openCurrent(),M=new w(this,D),this.onData(this.writer.text(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.cdata=function(D){var M;return this.openCurrent(),M=new l(this,D),this.onData(this.writer.cdata(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.comment=function(D){var M;return this.openCurrent(),M=new n(this,D),this.onData(this.writer.comment(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.raw=function(D){var M;return this.openCurrent(),M=new b(this,D),this.onData(this.writer.raw(M,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.instruction=function(D,M){var B,j,H,K,W;if(this.openCurrent(),D!=null&&(D=x(D)),M!=null&&(M=x(M)),Array.isArray(D))for(B=0,K=D.length;B<K;B++)j=D[B],this.instruction(j);else if(L(D))for(j in D){if(!k.call(D,j))continue;H=D[j],this.instruction(j,H)}else T(M)&&(M=M.apply()),W=new v(this,D,M),this.onData(this.writer.processingInstruction(W,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},U.prototype.declaration=function(D,M,B){var j;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return j=new u(this,D,M,B),this.onData(this.writer.declaration(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.doctype=function(D,M,B){if(this.openCurrent(),D==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 f(this,M,B),this.currentNode.rootNodeName=D,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},U.prototype.dtdElement=function(D,M){var B;return this.openCurrent(),B=new e(this,D,M),this.onData(this.writer.dtdElement(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.attList=function(D,M,B,j,H){var K;return this.openCurrent(),K=new c(this,D,M,B,j,H),this.onData(this.writer.dtdAttList(K,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.entity=function(D,M){var B;return this.openCurrent(),B=new a(this,!1,D,M),this.onData(this.writer.dtdEntity(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.pEntity=function(D,M){var B;return this.openCurrent(),B=new a(this,!0,D,M),this.onData(this.writer.dtdEntity(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.prototype.notation=function(D,M){var B;return this.openCurrent(),B=new i(this,D,M),this.onData(this.writer.dtdNotation(B,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},U.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},U.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},U.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},U.prototype.openNode=function(D){var M,B,j,H;if(!D.isOpen){if(!this.root&&this.currentLevel===0&&D.type===o.Element&&(this.root=D),B="",D.type===o.Element){this.writerOptions.state=r.OpenTag,B=this.writer.indent(D,this.writerOptions,this.currentLevel)+"<"+D.name,H=D.attribs;for(j in H){if(!k.call(H,j))continue;M=H[j],B+=this.writer.attribute(M,this.writerOptions,this.currentLevel)}B+=(D.children?">":"/>")+this.writer.endline(D,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,B=this.writer.indent(D,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+D.rootNodeName,D.pubID&&D.sysID?B+=' PUBLIC "'+D.pubID+'" "'+D.sysID+'"':D.sysID&&(B+=' SYSTEM "'+D.sysID+'"'),D.children?(B+=" [",this.writerOptions.state=r.InsideTag):(this.writerOptions.state=r.CloseTag,B+=">"),B+=this.writer.endline(D,this.writerOptions,this.currentLevel);return this.onData(B,this.currentLevel),D.isOpen=!0}},U.prototype.closeNode=function(D){var M;if(!D.isClosed)return M="",this.writerOptions.state=r.CloseTag,D.type===o.Element?M=this.writer.indent(D,this.writerOptions,this.currentLevel)+"</"+D.name+">"+this.writer.endline(D,this.writerOptions,this.currentLevel):M=this.writer.indent(D,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(D,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(M,this.currentLevel),D.isClosed=!0},U.prototype.onData=function(D,M){return this.documentStarted=!0,this.onDataCallback(D,M+1)},U.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},U.prototype.debugInfo=function(D){return D==null?"":"node: <"+D+">"},U.prototype.ele=function(){return this.element.apply(this,arguments)},U.prototype.nod=function(D,M,B){return this.node(D,M,B)},U.prototype.txt=function(D){return this.text(D)},U.prototype.dat=function(D){return this.cdata(D)},U.prototype.com=function(D){return this.comment(D)},U.prototype.ins=function(D,M){return this.instruction(D,M)},U.prototype.dec=function(D,M,B){return this.declaration(D,M,B)},U.prototype.dtd=function(D,M,B){return this.doctype(D,M,B)},U.prototype.e=function(D,M,B){return this.element(D,M,B)},U.prototype.n=function(D,M,B){return this.node(D,M,B)},U.prototype.t=function(D){return this.text(D)},U.prototype.d=function(D){return this.cdata(D)},U.prototype.c=function(D){return this.comment(D)},U.prototype.r=function(D){return this.raw(D)},U.prototype.i=function(D,M){return this.instruction(D,M)},U.prototype.att=function(){return this.currentNode&&this.currentNode.type===o.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},U.prototype.a=function(){return this.currentNode&&this.currentNode.type===o.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},U.prototype.ent=function(D,M){return this.entity(D,M)},U.prototype.pent=function(D,M){return this.pEntity(D,M)},U.prototype.not=function(D,M){return this.notation(D,M)},U}()}).call(this)},{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLAttribute":363,"./XMLCData":364,"./XMLComment":366,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDocument":377,"./XMLElement":380,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLStringWriter":387,"./XMLStringifier":388,"./XMLText":389}],379:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;s=t("./XMLNode"),o=t("./NodeType"),p.exports=r=function(c){l(e,c);function e(a){e.__super__.constructor.call(this,a),this.type=o.Dummy}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return""},e}(s)}).call(this)},{"./NodeType":360,"./XMLNode":382}],380:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u=function(A,g){for(var v in g)f.call(g,v)&&(A[v]=g[v]);function b(){this.constructor=A}return b.prototype=g.prototype,A.prototype=new b,A.__super__=g.prototype,A},f={}.hasOwnProperty;i=t("./Utility"),a=i.isObject,e=i.isFunction,c=i.getValue,n=t("./XMLNode"),o=t("./NodeType"),r=t("./XMLAttribute"),l=t("./XMLNamedNodeMap"),p.exports=s=function(m){u(A,m);function A(g,v,b){var S,y,w,x;if(A.__super__.constructor.call(this,g),v==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(v),this.type=o.Element,this.attribs={},this.schemaTypeInfo=null,b!=null&&this.attribute(b),g.type===o.Document&&(this.isRoot=!0,this.documentObject=g,g.rootObject=this,g.children)){for(x=g.children,y=0,w=x.length;y<w;y++)if(S=x[y],S.type===o.DocType){S.name=this.name;break}}}return Object.defineProperty(A.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(A.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(A.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(A.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(A.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(A.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(A.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(A.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new l(this.attribs)),this.attributeMap}}),A.prototype.clone=function(){var g,v,b,S;b=Object.create(this),b.isRoot&&(b.documentObject=null),b.attribs={},S=this.attribs;for(v in S){if(!f.call(S,v))continue;g=S[v],b.attribs[v]=g.clone()}return b.children=[],this.children.forEach(function(y){var w;return w=y.clone(),w.parent=b,b.children.push(w)}),b},A.prototype.attribute=function(g,v){var b,S;if(g!=null&&(g=c(g)),a(g))for(b in g){if(!f.call(g,b))continue;S=g[b],this.attribute(b,S)}else e(v)&&(v=v.apply()),this.options.keepNullAttributes&&v==null?this.attribs[g]=new r(this,g,""):v!=null&&(this.attribs[g]=new r(this,g,v));return this},A.prototype.removeAttribute=function(g){var v,b,S;if(g==null)throw new Error("Missing attribute name. "+this.debugInfo());if(g=c(g),Array.isArray(g))for(b=0,S=g.length;b<S;b++)v=g[b],delete this.attribs[v];else delete this.attribs[g];return this},A.prototype.toString=function(g){return this.options.writer.element(this,this.options.writer.filterOptions(g))},A.prototype.att=function(g,v){return this.attribute(g,v)},A.prototype.a=function(g,v){return this.attribute(g,v)},A.prototype.getAttribute=function(g){return this.attribs.hasOwnProperty(g)?this.attribs[g].value:null},A.prototype.setAttribute=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getAttributeNode=function(g){return this.attribs.hasOwnProperty(g)?this.attribs[g]:null},A.prototype.setAttributeNode=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.removeAttributeNode=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getElementsByTagName=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getAttributeNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.setAttributeNS=function(g,v,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.removeAttributeNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getAttributeNodeNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.setAttributeNodeNS=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getElementsByTagNameNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.hasAttribute=function(g){return this.attribs.hasOwnProperty(g)},A.prototype.hasAttributeNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.setIdAttribute=function(g,v){return this.attribs.hasOwnProperty(g)?this.attribs[g].isId:v},A.prototype.setIdAttributeNS=function(g,v,b){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.setIdAttributeNode=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getElementsByTagName=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getElementsByTagNameNS=function(g,v){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.getElementsByClassName=function(g){throw new Error("This DOM method is not implemented."+this.debugInfo())},A.prototype.isEqualNode=function(g){var v,b,S;if(!A.__super__.isEqualNode.apply(this,arguments).isEqualNode(g))return!1;if(g.namespaceURI!==this.namespaceURI)return!1;if(g.prefix!==this.prefix)return!1;if(g.localName!==this.localName)return!1;if(g.attribs.length!==this.attribs.length)return!1;for(v=b=0,S=this.attribs.length-1;0<=S?b<=S:b>=S;v=0<=S?++b:--b)if(!this.attribs[v].isEqualNode(g.attribs[v]))return!1;return!0},A}(n)}).call(this)},{"./NodeType":360,"./Utility":361,"./XMLAttribute":363,"./XMLNamedNodeMap":381,"./XMLNode":382}],381:[function(t,p,h){(function(){var o;p.exports=o=function(){function r(s){this.nodes=s}return Object.defineProperty(r.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),r.prototype.clone=function(){return this.nodes=null},r.prototype.getNamedItem=function(s){return this.nodes[s]},r.prototype.setNamedItem=function(s){var l;return l=this.nodes[s.nodeName],this.nodes[s.nodeName]=s,l||null},r.prototype.removeNamedItem=function(s){var l;return l=this.nodes[s],delete this.nodes[s],l||null},r.prototype.item=function(s){return this.nodes[Object.keys(this.nodes)[s]]||null},r.prototype.getNamedItemNS=function(s,l){throw new Error("This DOM method is not implemented.")},r.prototype.setNamedItemNS=function(s){throw new Error("This DOM method is not implemented.")},r.prototype.removeNamedItemNS=function(s,l){throw new Error("This DOM method is not implemented.")},r}()}).call(this)},{}],382:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u,f,m,A,g,v,b,S,y,w,x={}.hasOwnProperty;w=t("./Utility"),y=w.isObject,S=w.isFunction,b=w.isEmpty,v=w.getValue,a=null,s=null,l=null,n=null,c=null,A=null,g=null,m=null,e=null,r=null,f=null,i=null,o=null,p.exports=u=function(){function T(L){this.parent=L,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,a||(a=t("./XMLElement"),s=t("./XMLCData"),l=t("./XMLComment"),n=t("./XMLDeclaration"),c=t("./XMLDocType"),A=t("./XMLRaw"),g=t("./XMLText"),m=t("./XMLProcessingInstruction"),e=t("./XMLDummy"),r=t("./NodeType"),f=t("./XMLNodeList"),i=t("./XMLNamedNodeMap"),o=t("./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 f(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 R;return R=this.parent.children.indexOf(this),this.parent.children[R-1]||null}}),Object.defineProperty(T.prototype,"nextSibling",{get:function(){var R;return R=this.parent.children.indexOf(this),this.parent.children[R+1]||null}}),Object.defineProperty(T.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(T.prototype,"textContent",{get:function(){var R,P,k,U,D;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for(D="",U=this.children,P=0,k=U.length;P<k;P++)R=U[P],R.textContent&&(D+=R.textContent);return D}else return null},set:function(R){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),T.prototype.setParent=function(L){var R,P,k,U,D;for(this.parent=L,L&&(this.options=L.options,this.stringify=L.stringify),U=this.children,D=[],P=0,k=U.length;P<k;P++)R=U[P],D.push(R.setParent(this));return D},T.prototype.element=function(L,R,P){var k,U,D,M,B,j,H,K,W,X,V;if(j=null,R===null&&P==null&&(W=[{},null],R=W[0],P=W[1]),R==null&&(R={}),R=v(R),y(R)||(X=[R,P],P=X[0],R=X[1]),L!=null&&(L=v(L)),Array.isArray(L))for(D=0,H=L.length;D<H;D++)U=L[D],j=this.element(U);else if(S(L))j=this.element(L.apply());else if(y(L))for(B in L){if(!x.call(L,B))continue;if(V=L[B],S(V)&&(V=V.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&B.indexOf(this.stringify.convertAttKey)===0)j=this.attribute(B.substr(this.stringify.convertAttKey.length),V);else if(!this.options.separateArrayItems&&Array.isArray(V)&&b(V))j=this.dummy();else if(y(V)&&b(V))j=this.element(B);else if(!this.options.keepNullNodes&&V==null)j=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(V))for(M=0,K=V.length;M<K;M++)U=V[M],k={},k[B]=U,j=this.element(k);else y(V)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&B.indexOf(this.stringify.convertTextKey)===0?j=this.element(V):(j=this.element(B),j.element(V)):j=this.element(B,V)}else!this.options.keepNullNodes&&P===null?j=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&L.indexOf(this.stringify.convertTextKey)===0?j=this.text(P):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&L.indexOf(this.stringify.convertCDataKey)===0?j=this.cdata(P):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&L.indexOf(this.stringify.convertCommentKey)===0?j=this.comment(P):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&L.indexOf(this.stringify.convertRawKey)===0?j=this.raw(P):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&L.indexOf(this.stringify.convertPIKey)===0?j=this.instruction(L.substr(this.stringify.convertPIKey.length),P):j=this.node(L,R,P);if(j==null)throw new Error("Could not create any elements with: "+L+". "+this.debugInfo());return j},T.prototype.insertBefore=function(L,R,P){var k,U,D,M,B;if(L!=null?L.type:void 0)return D=L,M=R,D.setParent(this),M?(U=children.indexOf(M),B=children.splice(U),children.push(D),Array.prototype.push.apply(children,B)):children.push(D),D;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(L));return U=this.parent.children.indexOf(this),B=this.parent.children.splice(U),k=this.parent.element(L,R,P),Array.prototype.push.apply(this.parent.children,B),k},T.prototype.insertAfter=function(L,R,P){var k,U,D;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(L));return U=this.parent.children.indexOf(this),D=this.parent.children.splice(U+1),k=this.parent.element(L,R,P),Array.prototype.push.apply(this.parent.children,D),k},T.prototype.remove=function(){var L,R;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return L=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[L,L-L+1].concat(R=[])),this.parent},T.prototype.node=function(L,R,P){var k,U;return L!=null&&(L=v(L)),R||(R={}),R=v(R),y(R)||(U=[R,P],P=U[0],R=U[1]),k=new a(this,L,R),P!=null&&k.text(P),this.children.push(k),k},T.prototype.text=function(L){var R;return y(L)&&this.element(L),R=new g(this,L),this.children.push(R),this},T.prototype.cdata=function(L){var R;return R=new s(this,L),this.children.push(R),this},T.prototype.comment=function(L){var R;return R=new l(this,L),this.children.push(R),this},T.prototype.commentBefore=function(L){var R,P,k;return P=this.parent.children.indexOf(this),k=this.parent.children.splice(P),R=this.parent.comment(L),Array.prototype.push.apply(this.parent.children,k),this},T.prototype.commentAfter=function(L){var R,P,k;return P=this.parent.children.indexOf(this),k=this.parent.children.splice(P+1),R=this.parent.comment(L),Array.prototype.push.apply(this.parent.children,k),this},T.prototype.raw=function(L){var R;return R=new A(this,L),this.children.push(R),this},T.prototype.dummy=function(){var L;return L=new e(this),L},T.prototype.instruction=function(L,R){var P,k,U,D,M;if(L!=null&&(L=v(L)),R!=null&&(R=v(R)),Array.isArray(L))for(D=0,M=L.length;D<M;D++)P=L[D],this.instruction(P);else if(y(L))for(P in L){if(!x.call(L,P))continue;k=L[P],this.instruction(P,k)}else S(R)&&(R=R.apply()),U=new m(this,L,R),this.children.push(U);return this},T.prototype.instructionBefore=function(L,R){var P,k,U;return k=this.parent.children.indexOf(this),U=this.parent.children.splice(k),P=this.parent.instruction(L,R),Array.prototype.push.apply(this.parent.children,U),this},T.prototype.instructionAfter=function(L,R){var P,k,U;return k=this.parent.children.indexOf(this),U=this.parent.children.splice(k+1),P=this.parent.instruction(L,R),Array.prototype.push.apply(this.parent.children,U),this},T.prototype.declaration=function(L,R,P){var k,U;return k=this.document(),U=new n(k,L,R,P),k.children.length===0?k.children.unshift(U):k.children[0].type===r.Declaration?k.children[0]=U:k.children.unshift(U),k.root()||k},T.prototype.dtd=function(L,R){var P,k,U,D,M,B,j,H,K,W;for(k=this.document(),U=new c(k,L,R),K=k.children,D=M=0,j=K.length;M<j;D=++M)if(P=K[D],P.type===r.DocType)return k.children[D]=U,U;for(W=k.children,D=B=0,H=W.length;B<H;D=++B)if(P=W[D],P.isRoot)return k.children.splice(D,0,U),U;return k.children.push(U),U},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 L;for(L=this;L;){if(L.type===r.Document)return L.rootObject;if(L.isRoot)return L;L=L.parent}},T.prototype.document=function(){var L;for(L=this;L;){if(L.type===r.Document)return L;L=L.parent}},T.prototype.end=function(L){return this.document().end(L)},T.prototype.prev=function(){var L;if(L=this.parent.children.indexOf(this),L<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[L-1]},T.prototype.next=function(){var L;if(L=this.parent.children.indexOf(this),L===-1||L===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[L+1]},T.prototype.importDocument=function(L){var R;return R=L.root().clone(),R.parent=this,R.isRoot=!1,this.children.push(R),this},T.prototype.debugInfo=function(L){var R,P;return L=L||this.name,L==null&&!((R=this.parent)!=null?R.name:void 0)?"":L==null?"parent: <"+this.parent.name+">":((P=this.parent)!=null?P.name:void 0)?"node: <"+L+">, parent: <"+this.parent.name+">":"node: <"+L+">"},T.prototype.ele=function(L,R,P){return this.element(L,R,P)},T.prototype.nod=function(L,R,P){return this.node(L,R,P)},T.prototype.txt=function(L){return this.text(L)},T.prototype.dat=function(L){return this.cdata(L)},T.prototype.com=function(L){return this.comment(L)},T.prototype.ins=function(L,R){return this.instruction(L,R)},T.prototype.doc=function(){return this.document()},T.prototype.dec=function(L,R,P){return this.declaration(L,R,P)},T.prototype.e=function(L,R,P){return this.element(L,R,P)},T.prototype.n=function(L,R,P){return this.node(L,R,P)},T.prototype.t=function(L){return this.text(L)},T.prototype.d=function(L){return this.cdata(L)},T.prototype.c=function(L){return this.comment(L)},T.prototype.r=function(L){return this.raw(L)},T.prototype.i=function(L,R){return this.instruction(L,R)},T.prototype.u=function(){return this.up()},T.prototype.importXMLBuilder=function(L){return this.importDocument(L)},T.prototype.replaceChild=function(L,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.removeChild=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.appendChild=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.hasChildNodes=function(){return this.children.length!==0},T.prototype.cloneNode=function(L){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(L,R){return!0},T.prototype.hasAttributes=function(){return this.attribs.length!==0},T.prototype.compareDocumentPosition=function(L){var R,P;return R=this,R===L?0:this.document()!==L.document()?(P=o.Disconnected|o.ImplementationSpecific,Math.random()<.5?P|=o.Preceding:P|=o.Following,P):R.isAncestor(L)?o.Contains|o.Preceding:R.isDescendant(L)?o.Contains|o.Following:R.isPreceding(L)?o.Preceding:o.Following},T.prototype.isSameNode=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupPrefix=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isDefaultNamespace=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.lookupNamespaceURI=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.isEqualNode=function(L){var R,P,k;if(L.nodeType!==this.nodeType)return!1;if(L.children.length!==this.children.length)return!1;for(R=P=0,k=this.children.length-1;0<=k?P<=k:P>=k;R=0<=k?++P:--P)if(!this.children[R].isEqualNode(L.children[R]))return!1;return!0},T.prototype.getFeature=function(L,R){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.setUserData=function(L,R,P){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.getUserData=function(L){throw new Error("This DOM method is not implemented."+this.debugInfo())},T.prototype.contains=function(L){return L?L===this||this.isDescendant(L):!1},T.prototype.isDescendant=function(L){var R,P,k,U,D;for(D=this.children,k=0,U=D.length;k<U;k++){if(R=D[k],L===R)return!0;if(P=R.isDescendant(L),P)return!0}return!1},T.prototype.isAncestor=function(L){return L.isDescendant(this)},T.prototype.isPreceding=function(L){var R,P;return R=this.treePosition(L),P=this.treePosition(this),R===-1||P===-1?!1:R<P},T.prototype.isFollowing=function(L){var R,P;return R=this.treePosition(L),P=this.treePosition(this),R===-1||P===-1?!1:R>P},T.prototype.treePosition=function(L){var R,P;return P=0,R=!1,this.foreachTreeNode(this.document(),function(k){if(P++,!R&&k===L)return R=!0}),R?P:-1},T.prototype.foreachTreeNode=function(L,R){var P,k,U,D,M;for(L||(L=this.document()),D=L.children,k=0,U=D.length;k<U;k++){if(P=D[k],M=R(P))return M;if(M=this.foreachTreeNode(P,R),M)return M}},T}()}).call(this)},{"./DocumentPosition":359,"./NodeType":360,"./Utility":361,"./XMLCData":364,"./XMLComment":366,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDummy":379,"./XMLElement":380,"./XMLNamedNodeMap":381,"./XMLNodeList":383,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLText":389}],383:[function(t,p,h){(function(){var o;p.exports=o=function(){function r(s){this.nodes=s}return Object.defineProperty(r.prototype,"length",{get:function(){return this.nodes.length||0}}),r.prototype.clone=function(){return this.nodes=null},r.prototype.item=function(s){return this.nodes[s]||null},r}()}).call(this)},{}],384:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;o=t("./NodeType"),r=t("./XMLCharacterData"),p.exports=s=function(c){l(e,c);function e(a,i,u){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=o.ProcessingInstruction,this.target=this.stringify.insTarget(i),this.name=this.target,u&&(this.value=this.stringify.insValue(u))}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(a))},e.prototype.isEqualNode=function(a){return e.__super__.isEqualNode.apply(this,arguments).isEqualNode(a)?!(a.target!==this.target):!1},e}(r)}).call(this)},{"./NodeType":360,"./XMLCharacterData":365}],385:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;o=t("./NodeType"),r=t("./XMLNode"),p.exports=s=function(c){l(e,c);function e(a,i){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=o.Raw,this.value=this.stringify.raw(i)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return this.options.writer.raw(this,this.options.writer.filterOptions(a))},e}(r)}).call(this)},{"./NodeType":360,"./XMLNode":382}],386:[function(t,p,h){(function(){var o,r,s,l,n=function(a,i){for(var u in i)c.call(i,u)&&(a[u]=i[u]);function f(){this.constructor=a}return f.prototype=i.prototype,a.prototype=new f,a.__super__=i.prototype,a},c={}.hasOwnProperty;o=t("./NodeType"),l=t("./XMLWriterBase"),r=t("./WriterState"),p.exports=s=function(e){n(a,e);function a(i,u){this.stream=i,a.__super__.constructor.call(this,u)}return a.prototype.endline=function(i,u,f){return i.isLastRootNode&&u.state===r.CloseTag?"":a.__super__.endline.call(this,i,u,f)},a.prototype.document=function(i,u){var f,m,A,g,v,b,S,y,w;for(S=i.children,m=A=0,v=S.length;A<v;m=++A)f=S[m],f.isLastRootNode=m===i.children.length-1;for(u=this.filterOptions(u),y=i.children,w=[],g=0,b=y.length;g<b;g++)f=y[g],w.push(this.writeChildNode(f,u,0));return w},a.prototype.attribute=function(i,u,f){return this.stream.write(a.__super__.attribute.call(this,i,u,f))},a.prototype.cdata=function(i,u,f){return this.stream.write(a.__super__.cdata.call(this,i,u,f))},a.prototype.comment=function(i,u,f){return this.stream.write(a.__super__.comment.call(this,i,u,f))},a.prototype.declaration=function(i,u,f){return this.stream.write(a.__super__.declaration.call(this,i,u,f))},a.prototype.docType=function(i,u,f){var m,A,g,v;if(f||(f=0),this.openNode(i,u,f),u.state=r.OpenTag,this.stream.write(this.indent(i,u,f)),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,u,f)),u.state=r.InsideTag,v=i.children,A=0,g=v.length;A<g;A++)m=v[A],this.writeChildNode(m,u,f+1);u.state=r.CloseTag,this.stream.write("]")}return u.state=r.CloseTag,this.stream.write(u.spaceBeforeSlash+">"),this.stream.write(this.endline(i,u,f)),u.state=r.None,this.closeNode(i,u,f)},a.prototype.element=function(i,u,f){var m,A,g,v,b,S,y,w,x,T;f||(f=0),this.openNode(i,u,f),u.state=r.OpenTag,this.stream.write(this.indent(i,u,f)+"<"+i.name),x=i.attribs;for(y in x){if(!c.call(x,y))continue;m=x[y],this.attribute(m,u,f)}if(g=i.children.length,v=g===0?null:i.children[0],g===0||i.children.every(function(L){return(L.type===o.Text||L.type===o.Raw)&&L.value===""}))u.allowEmpty?(this.stream.write(">"),u.state=r.CloseTag,this.stream.write("</"+i.name+">")):(u.state=r.CloseTag,this.stream.write(u.spaceBeforeSlash+"/>"));else if(u.pretty&&g===1&&(v.type===o.Text||v.type===o.Raw)&&v.value!=null)this.stream.write(">"),u.state=r.InsideTag,u.suppressPrettyCount++,w=!0,this.writeChildNode(v,u,f+1),u.suppressPrettyCount--,w=!1,u.state=r.CloseTag,this.stream.write("</"+i.name+">");else{for(this.stream.write(">"+this.endline(i,u,f)),u.state=r.InsideTag,T=i.children,b=0,S=T.length;b<S;b++)A=T[b],this.writeChildNode(A,u,f+1);u.state=r.CloseTag,this.stream.write(this.indent(i,u,f)+"</"+i.name+">")}return this.stream.write(this.endline(i,u,f)),u.state=r.None,this.closeNode(i,u,f)},a.prototype.processingInstruction=function(i,u,f){return this.stream.write(a.__super__.processingInstruction.call(this,i,u,f))},a.prototype.raw=function(i,u,f){return this.stream.write(a.__super__.raw.call(this,i,u,f))},a.prototype.text=function(i,u,f){return this.stream.write(a.__super__.text.call(this,i,u,f))},a.prototype.dtdAttList=function(i,u,f){return this.stream.write(a.__super__.dtdAttList.call(this,i,u,f))},a.prototype.dtdElement=function(i,u,f){return this.stream.write(a.__super__.dtdElement.call(this,i,u,f))},a.prototype.dtdEntity=function(i,u,f){return this.stream.write(a.__super__.dtdEntity.call(this,i,u,f))},a.prototype.dtdNotation=function(i,u,f){return this.stream.write(a.__super__.dtdNotation.call(this,i,u,f))},a}(l)}).call(this)},{"./NodeType":360,"./WriterState":362,"./XMLWriterBase":390}],387:[function(t,p,h){(function(){var o,r,s=function(c,e){for(var a in e)l.call(e,a)&&(c[a]=e[a]);function i(){this.constructor=c}return i.prototype=e.prototype,c.prototype=new i,c.__super__=e.prototype,c},l={}.hasOwnProperty;r=t("./XMLWriterBase"),p.exports=o=function(n){s(c,n);function c(e){c.__super__.constructor.call(this,e)}return c.prototype.document=function(e,a){var i,u,f,m,A;for(a=this.filterOptions(a),m="",A=e.children,u=0,f=A.length;u<f;u++)i=A[u],m+=this.writeChildNode(i,a,0);return a.pretty&&m.slice(-a.newline.length)===a.newline&&(m=m.slice(0,-a.newline.length)),m},c}(r)}).call(this)},{"./XMLWriterBase":390}],388:[function(t,p,h){(function(){var o,r=function(n,c){return function(){return n.apply(c,arguments)}},s={}.hasOwnProperty;p.exports=o=function(){function l(n){this.assertLegalName=r(this.assertLegalName,this),this.assertLegalChar=r(this.assertLegalChar,this);var c,e,a;n||(n={}),this.options=n,this.options.version||(this.options.version="1.0"),e=n.stringify||{};for(c in e){if(!s.call(e,c))continue;a=e[c],this[c]=a}}return l.prototype.name=function(n){return this.options.noValidation?n:this.assertLegalName(""+n||"")},l.prototype.text=function(n){return this.options.noValidation?n:this.assertLegalChar(this.textEscape(""+n||""))},l.prototype.cdata=function(n){return this.options.noValidation?n:(n=""+n||"",n=n.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(n))},l.prototype.comment=function(n){if(this.options.noValidation)return n;if(n=""+n||"",n.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+n);return this.assertLegalChar(n)},l.prototype.raw=function(n){return this.options.noValidation?n:""+n||""},l.prototype.attValue=function(n){return this.options.noValidation?n:this.assertLegalChar(this.attEscape(n=""+n||""))},l.prototype.insTarget=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.insValue=function(n){if(this.options.noValidation)return n;if(n=""+n||"",n.match(/\?>/))throw new Error("Invalid processing instruction value: "+n);return this.assertLegalChar(n)},l.prototype.xmlVersion=function(n){if(this.options.noValidation)return n;if(n=""+n||"",!n.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+n);return n},l.prototype.xmlEncoding=function(n){if(this.options.noValidation)return n;if(n=""+n||"",!n.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+n);return this.assertLegalChar(n)},l.prototype.xmlStandalone=function(n){return this.options.noValidation?n:n?"yes":"no"},l.prototype.dtdPubID=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdSysID=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdElementValue=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdAttType=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdAttDefault=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdEntityValue=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.dtdNData=function(n){return this.options.noValidation?n:this.assertLegalChar(""+n||"")},l.prototype.convertAttKey="@",l.prototype.convertPIKey="?",l.prototype.convertTextKey="#text",l.prototype.convertCDataKey="#cdata",l.prototype.convertCommentKey="#comment",l.prototype.convertRawKey="#raw",l.prototype.assertLegalChar=function(n){var c,e;if(this.options.noValidation)return n;if(c="",this.options.version==="1.0"){if(c=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,e=n.match(c))throw new Error("Invalid character in string: "+n+" at index "+e.index)}else if(this.options.version==="1.1"&&(c=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,e=n.match(c)))throw new Error("Invalid character in string: "+n+" at index "+e.index);return n},l.prototype.assertLegalName=function(n){var c;if(this.options.noValidation)return n;if(this.assertLegalChar(n),c=/^([: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])*$/,!n.match(c))throw new Error("Invalid character in name");return n},l.prototype.textEscape=function(n){var c;return this.options.noValidation?n:(c=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,n.replace(c,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},l.prototype.attEscape=function(n){var c;return this.options.noValidation?n:(c=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,n.replace(c,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},l}()}).call(this)},{}],389:[function(t,p,h){(function(){var o,r,s,l=function(e,a){for(var i in a)n.call(a,i)&&(e[i]=a[i]);function u(){this.constructor=e}return u.prototype=a.prototype,e.prototype=new u,e.__super__=a.prototype,e},n={}.hasOwnProperty;o=t("./NodeType"),r=t("./XMLCharacterData"),p.exports=s=function(c){l(e,c);function e(a,i){if(e.__super__.constructor.call(this,a),i==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=o.Text,this.value=this.stringify.text(i)}return Object.defineProperty(e.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(e.prototype,"wholeText",{get:function(){var i,u,f;for(f="",u=this.previousSibling;u;)f=u.data+f,u=u.previousSibling;for(f+=this.data,i=this.nextSibling;i;)f=f+i.data,i=i.nextSibling;return f}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(a){return this.options.writer.text(this,this.options.writer.filterOptions(a))},e.prototype.splitText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceWholeText=function(a){throw new Error("This DOM method is not implemented."+this.debugInfo())},e}(r)}).call(this)},{"./NodeType":360,"./XMLCharacterData":365}],390:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u,f,m,A,g,v,b,S,y={}.hasOwnProperty;S=t("./Utility").assign,o=t("./NodeType"),i=t("./XMLDeclaration"),u=t("./XMLDocType"),s=t("./XMLCData"),l=t("./XMLComment"),m=t("./XMLElement"),g=t("./XMLRaw"),v=t("./XMLText"),A=t("./XMLProcessingInstruction"),f=t("./XMLDummy"),n=t("./XMLDTDAttList"),c=t("./XMLDTDElement"),e=t("./XMLDTDEntity"),a=t("./XMLDTDNotation"),r=t("./WriterState"),p.exports=b=function(){function w(x){var T,L,R;x||(x={}),this.options=x,L=x.writer||{};for(T in L){if(!y.call(L,T))continue;R=L[T],this["_"+T]=this[T],this[T]=R}}return w.prototype.filterOptions=function(x){var T,L,R,P,k,U,D,M;return x||(x={}),x=S({},this.options,x),T={writer:this},T.pretty=x.pretty||!1,T.allowEmpty=x.allowEmpty||!1,T.indent=(L=x.indent)!=null?L:" ",T.newline=(R=x.newline)!=null?R:`
`,T.offset=(P=x.offset)!=null?P:0,T.dontPrettyTextNodes=(k=(U=x.dontPrettyTextNodes)!=null?U:x.dontprettytextnodes)!=null?k:0,T.spaceBeforeSlash=(D=(M=x.spaceBeforeSlash)!=null?M:x.spacebeforeslash)!=null?D:"",T.spaceBeforeSlash===!0&&(T.spaceBeforeSlash=" "),T.suppressPrettyCount=0,T.user={},T.state=r.None,T},w.prototype.indent=function(x,T,L){var R;return!T.pretty||T.suppressPrettyCount?"":T.pretty&&(R=(L||0)+T.offset+1,R>0)?new Array(R).join(T.indent):""},w.prototype.endline=function(x,T,L){return!T.pretty||T.suppressPrettyCount?"":T.newline},w.prototype.attribute=function(x,T,L){var R;return this.openAttribute(x,T,L),R=" "+x.name+'="'+x.value+'"',this.closeAttribute(x,T,L),R},w.prototype.cdata=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<![CDATA[",T.state=r.InsideTag,R+=x.value,T.state=r.CloseTag,R+="]]>"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.comment=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<!-- ",T.state=r.InsideTag,R+=x.value,T.state=r.CloseTag,R+=" -->"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.declaration=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<?xml",T.state=r.InsideTag,R+=' version="'+x.version+'"',x.encoding!=null&&(R+=' encoding="'+x.encoding+'"'),x.standalone!=null&&(R+=' standalone="'+x.standalone+'"'),T.state=r.CloseTag,R+=T.spaceBeforeSlash+"?>",R+=this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.docType=function(x,T,L){var R,P,k,U,D;if(L||(L=0),this.openNode(x,T,L),T.state=r.OpenTag,U=this.indent(x,T,L),U+="<!DOCTYPE "+x.root().name,x.pubID&&x.sysID?U+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.sysID&&(U+=' SYSTEM "'+x.sysID+'"'),x.children.length>0){for(U+=" [",U+=this.endline(x,T,L),T.state=r.InsideTag,D=x.children,P=0,k=D.length;P<k;P++)R=D[P],U+=this.writeChildNode(R,T,L+1);T.state=r.CloseTag,U+="]"}return T.state=r.CloseTag,U+=T.spaceBeforeSlash+">",U+=this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),U},w.prototype.element=function(x,T,L){var R,P,k,U,D,M,B,j,H,K,W,X,V,Z;L||(L=0),K=!1,W="",this.openNode(x,T,L),T.state=r.OpenTag,W+=this.indent(x,T,L)+"<"+x.name,X=x.attribs;for(H in X){if(!y.call(X,H))continue;R=X[H],W+=this.attribute(R,T,L)}if(k=x.children.length,U=k===0?null:x.children[0],k===0||x.children.every(function(G){return(G.type===o.Text||G.type===o.Raw)&&G.value===""}))T.allowEmpty?(W+=">",T.state=r.CloseTag,W+="</"+x.name+">"+this.endline(x,T,L)):(T.state=r.CloseTag,W+=T.spaceBeforeSlash+"/>"+this.endline(x,T,L));else if(T.pretty&&k===1&&(U.type===o.Text||U.type===o.Raw)&&U.value!=null)W+=">",T.state=r.InsideTag,T.suppressPrettyCount++,K=!0,W+=this.writeChildNode(U,T,L+1),T.suppressPrettyCount--,K=!1,T.state=r.CloseTag,W+="</"+x.name+">"+this.endline(x,T,L);else{if(T.dontPrettyTextNodes){for(V=x.children,D=0,B=V.length;D<B;D++)if(P=V[D],(P.type===o.Text||P.type===o.Raw)&&P.value!=null){T.suppressPrettyCount++,K=!0;break}}for(W+=">"+this.endline(x,T,L),T.state=r.InsideTag,Z=x.children,M=0,j=Z.length;M<j;M++)P=Z[M],W+=this.writeChildNode(P,T,L+1);T.state=r.CloseTag,W+=this.indent(x,T,L)+"</"+x.name+">",K&&T.suppressPrettyCount--,W+=this.endline(x,T,L),T.state=r.None}return this.closeNode(x,T,L),W},w.prototype.writeChildNode=function(x,T,L){switch(x.type){case o.CData:return this.cdata(x,T,L);case o.Comment:return this.comment(x,T,L);case o.Element:return this.element(x,T,L);case o.Raw:return this.raw(x,T,L);case o.Text:return this.text(x,T,L);case o.ProcessingInstruction:return this.processingInstruction(x,T,L);case o.Dummy:return"";case o.Declaration:return this.declaration(x,T,L);case o.DocType:return this.docType(x,T,L);case o.AttributeDeclaration:return this.dtdAttList(x,T,L);case o.ElementDeclaration:return this.dtdElement(x,T,L);case o.EntityDeclaration:return this.dtdEntity(x,T,L);case o.NotationDeclaration:return this.dtdNotation(x,T,L);default:throw new Error("Unknown XML node type: "+x.constructor.name)}},w.prototype.processingInstruction=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<?",T.state=r.InsideTag,R+=x.target,x.value&&(R+=" "+x.value),T.state=r.CloseTag,R+=T.spaceBeforeSlash+"?>",R+=this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.raw=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L),T.state=r.InsideTag,R+=x.value,T.state=r.CloseTag,R+=this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.text=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L),T.state=r.InsideTag,R+=x.value,T.state=r.CloseTag,R+=this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.dtdAttList=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<!ATTLIST",T.state=r.InsideTag,R+=" "+x.elementName+" "+x.attributeName+" "+x.attributeType,x.defaultValueType!=="#DEFAULT"&&(R+=" "+x.defaultValueType),x.defaultValue&&(R+=' "'+x.defaultValue+'"'),T.state=r.CloseTag,R+=T.spaceBeforeSlash+">"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.dtdElement=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<!ELEMENT",T.state=r.InsideTag,R+=" "+x.name+" "+x.value,T.state=r.CloseTag,R+=T.spaceBeforeSlash+">"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.dtdEntity=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<!ENTITY",T.state=r.InsideTag,x.pe&&(R+=" %"),R+=" "+x.name,x.value?R+=' "'+x.value+'"':(x.pubID&&x.sysID?R+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.sysID&&(R+=' SYSTEM "'+x.sysID+'"'),x.nData&&(R+=" NDATA "+x.nData)),T.state=r.CloseTag,R+=T.spaceBeforeSlash+">"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.dtdNotation=function(x,T,L){var R;return this.openNode(x,T,L),T.state=r.OpenTag,R=this.indent(x,T,L)+"<!NOTATION",T.state=r.InsideTag,R+=" "+x.name,x.pubID&&x.sysID?R+=' PUBLIC "'+x.pubID+'" "'+x.sysID+'"':x.pubID?R+=' PUBLIC "'+x.pubID+'"':x.sysID&&(R+=' SYSTEM "'+x.sysID+'"'),T.state=r.CloseTag,R+=T.spaceBeforeSlash+">"+this.endline(x,T,L),T.state=r.None,this.closeNode(x,T,L),R},w.prototype.openNode=function(x,T,L){},w.prototype.closeNode=function(x,T,L){},w.prototype.openAttribute=function(x,T,L){},w.prototype.closeAttribute=function(x,T,L){},w}()}).call(this)},{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLCData":364,"./XMLComment":366,"./XMLDTDAttList":371,"./XMLDTDElement":372,"./XMLDTDEntity":373,"./XMLDTDNotation":374,"./XMLDeclaration":375,"./XMLDocType":376,"./XMLDummy":379,"./XMLElement":380,"./XMLProcessingInstruction":384,"./XMLRaw":385,"./XMLText":389}],391:[function(t,p,h){(function(){var o,r,s,l,n,c,e,a,i,u;u=t("./Utility"),a=u.assign,i=u.isFunction,s=t("./XMLDOMImplementation"),l=t("./XMLDocument"),n=t("./XMLDocumentCB"),e=t("./XMLStringWriter"),c=t("./XMLStreamWriter"),o=t("./NodeType"),r=t("./WriterState"),p.exports.create=function(f,m,A,g){var v,b;if(f==null)throw new Error("Root element needs a name.");return g=a({},m,A,g),v=new l(g),b=v.element(f),g.headless||(v.declaration(g),(g.pubID!=null||g.sysID!=null)&&v.dtd(g)),b},p.exports.begin=function(f,m,A){var g;return i(f)&&(g=[f,m],m=g[0],A=g[1],f={}),m?new n(f,m,A):new l(f)},p.exports.stringWriter=function(f){return new e(f)},p.exports.streamWriter=function(f,m){return new c(f,m)},p.exports.implementation=new s,p.exports.nodeType=o,p.exports.writerState=r}).call(this)},{"./NodeType":360,"./Utility":361,"./WriterState":362,"./XMLDOMImplementation":369,"./XMLDocument":377,"./XMLDocumentCB":378,"./XMLStreamWriter":386,"./XMLStringWriter":387}],392:[function(t,p,h){p.exports=r;var o=Object.prototype.hasOwnProperty;function r(){for(var s={},l=0;l<arguments.length;l++){var n=arguments[l];for(var c in n)o.call(n,c)&&(s[c]=n[c])}return s}},{}],393:[function(t,p,h){"use strict";t("core-js/modules/es.array.fill.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js"),t("core-js/modules/es.array.join.js"),t("core-js/modules/es.array.slice.js");var o=t("buffer").Buffer,r=t("./sha"),s=t("./md5"),l={sha1:r,md5:s},n=64,c=o.alloc(n);c.fill(0);function e(u,f,m){o.isBuffer(f)||(f=o.from(f)),o.isBuffer(m)||(m=o.from(m)),f.length>n?f=u(f):f.length<n&&(f=o.concat([f,c],n));for(var A=o.alloc(n),g=o.alloc(n),v=0;v<n;v++)A[v]=f[v]^54,g[v]=f[v]^92;var b=u(o.concat([A,m]));return u(o.concat([g,b]))}function a(u,f){u=u||"sha1";var m=l[u],A=[],g=0;return m||i("algorithm:",u,"is not yet supported"),{update:function(b){return o.isBuffer(b)||(b=o.from(b)),A.push(b),g+=b.length,this},digest:function(b){var S=o.concat(A),y=f?e(m,f,S):m(S);return A=null,b?y.toString(b):y}}}function i(){var u=[].slice.call(arguments).join(" ");throw new Error([u,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
`))}h.createHash=function(u){return a(u)},h.createHmac=function(u,f){return a(u,f)},h.createCredentials=function(){i("sorry,createCredentials is not implemented yet")},h.createCipher=function(){i("sorry,createCipher is not implemented yet")},h.createCipheriv=function(){i("sorry,createCipheriv is not implemented yet")},h.createDecipher=function(){i("sorry,createDecipher is not implemented yet")},h.createDecipheriv=function(){i("sorry,createDecipheriv is not implemented yet")},h.createSign=function(){i("sorry,createSign is not implemented yet")},h.createVerify=function(){i("sorry,createVerify is not implemented yet")},h.createDiffieHellman=function(){i("sorry,createDiffieHellman is not implemented yet")},h.pbkdf2=function(){i("sorry,pbkdf2 is not implemented yet")}},{"./md5":395,"./sha":396,buffer:85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.fill.js":242,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.regexp.to-string.js":262}],394:[function(t,p,h){"use strict";t("core-js/modules/es.array.fill.js"),t("core-js/modules/es.array.concat.js");var o=t("buffer").Buffer,r=4,s=o.alloc(r);s.fill(0);var l=8;function n(a,i){if(a.length%r!==0){var u=a.length+(r-a.length%r);a=o.concat([a,s],u)}for(var f=[],m=i?a.readInt32BE:a.readInt32LE,A=0;A<a.length;A+=r)f.push(m.call(a,A));return f}function c(a,i,u){for(var f=o.alloc(i),m=u?f.writeInt32BE:f.writeInt32LE,A=0;A<a.length;A++)m.call(f,a[A],A*4,!0);return f}function e(a,i,u,f){o.isBuffer(a)||(a=o.from(a));var m=i(n(a,f),a.length*l);return c(m,u,f)}p.exports={hash:e}},{buffer:85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.fill.js":242}],395:[function(t,p,h){"use strict";var o=t("./helpers");function r(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function s(f,m){f[m>>5]|=128<<m%32,f[(m+64>>>9<<4)+14]=m;for(var A=1732584193,g=-271733879,v=-1732584194,b=271733878,S=0;S<f.length;S+=16){var y=A,w=g,x=v,T=b;A=n(A,g,v,b,f[S+0],7,-680876936),b=n(b,A,g,v,f[S+1],12,-389564586),v=n(v,b,A,g,f[S+2],17,606105819),g=n(g,v,b,A,f[S+3],22,-1044525330),A=n(A,g,v,b,f[S+4],7,-176418897),b=n(b,A,g,v,f[S+5],12,1200080426),v=n(v,b,A,g,f[S+6],17,-1473231341),g=n(g,v,b,A,f[S+7],22,-45705983),A=n(A,g,v,b,f[S+8],7,1770035416),b=n(b,A,g,v,f[S+9],12,-1958414417),v=n(v,b,A,g,f[S+10],17,-42063),g=n(g,v,b,A,f[S+11],22,-1990404162),A=n(A,g,v,b,f[S+12],7,1804603682),b=n(b,A,g,v,f[S+13],12,-40341101),v=n(v,b,A,g,f[S+14],17,-1502002290),g=n(g,v,b,A,f[S+15],22,1236535329),A=c(A,g,v,b,f[S+1],5,-165796510),b=c(b,A,g,v,f[S+6],9,-1069501632),v=c(v,b,A,g,f[S+11],14,643717713),g=c(g,v,b,A,f[S+0],20,-373897302),A=c(A,g,v,b,f[S+5],5,-701558691),b=c(b,A,g,v,f[S+10],9,38016083),v=c(v,b,A,g,f[S+15],14,-660478335),g=c(g,v,b,A,f[S+4],20,-405537848),A=c(A,g,v,b,f[S+9],5,568446438),b=c(b,A,g,v,f[S+14],9,-1019803690),v=c(v,b,A,g,f[S+3],14,-187363961),g=c(g,v,b,A,f[S+8],20,1163531501),A=c(A,g,v,b,f[S+13],5,-1444681467),b=c(b,A,g,v,f[S+2],9,-51403784),v=c(v,b,A,g,f[S+7],14,1735328473),g=c(g,v,b,A,f[S+12],20,-1926607734),A=e(A,g,v,b,f[S+5],4,-378558),b=e(b,A,g,v,f[S+8],11,-2022574463),v=e(v,b,A,g,f[S+11],16,1839030562),g=e(g,v,b,A,f[S+14],23,-35309556),A=e(A,g,v,b,f[S+1],4,-1530992060),b=e(b,A,g,v,f[S+4],11,1272893353),v=e(v,b,A,g,f[S+7],16,-155497632),g=e(g,v,b,A,f[S+10],23,-1094730640),A=e(A,g,v,b,f[S+13],4,681279174),b=e(b,A,g,v,f[S+0],11,-358537222),v=e(v,b,A,g,f[S+3],16,-722521979),g=e(g,v,b,A,f[S+6],23,76029189),A=e(A,g,v,b,f[S+9],4,-640364487),b=e(b,A,g,v,f[S+12],11,-421815835),v=e(v,b,A,g,f[S+15],16,530742520),g=e(g,v,b,A,f[S+2],23,-995338651),A=a(A,g,v,b,f[S+0],6,-198630844),b=a(b,A,g,v,f[S+7],10,1126891415),v=a(v,b,A,g,f[S+14],15,-1416354905),g=a(g,v,b,A,f[S+5],21,-57434055),A=a(A,g,v,b,f[S+12],6,1700485571),b=a(b,A,g,v,f[S+3],10,-1894986606),v=a(v,b,A,g,f[S+10],15,-1051523),g=a(g,v,b,A,f[S+1],21,-2054922799),A=a(A,g,v,b,f[S+8],6,1873313359),b=a(b,A,g,v,f[S+15],10,-30611744),v=a(v,b,A,g,f[S+6],15,-1560198380),g=a(g,v,b,A,f[S+13],21,1309151649),A=a(A,g,v,b,f[S+4],6,-145523070),b=a(b,A,g,v,f[S+11],10,-1120210379),v=a(v,b,A,g,f[S+2],15,718787259),g=a(g,v,b,A,f[S+9],21,-343485551),A=i(A,y),g=i(g,w),v=i(v,x),b=i(b,T)}return Array(A,g,v,b)}function l(f,m,A,g,v,b){return i(u(i(i(m,f),i(g,b)),v),A)}function n(f,m,A,g,v,b,S){return l(m&A|~m&g,f,m,v,b,S)}function c(f,m,A,g,v,b,S){return l(m&g|A&~g,f,m,v,b,S)}function e(f,m,A,g,v,b,S){return l(m^A^g,f,m,v,b,S)}function a(f,m,A,g,v,b,S){return l(A^(m|~g),f,m,v,b,S)}function i(f,m){var A=(f&65535)+(m&65535),g=(f>>16)+(m>>16)+(A>>16);return g<<16|A&65535}function u(f,m){return f<<m|f>>>32-m}p.exports=function(m){return o.hash(m,s,16)}},{"./helpers":394}],396:[function(t,p,h){"use strict";var o=t("./helpers");function r(e,a){e[a>>5]|=128<<24-a%32,e[(a+64>>9<<4)+15]=a;for(var i=Array(80),u=1732584193,f=-271733879,m=-1732584194,A=271733878,g=-1009589776,v=0;v<e.length;v+=16){for(var b=u,S=f,y=m,w=A,x=g,T=0;T<80;T++){T<16?i[T]=e[v+T]:i[T]=c(i[T-3]^i[T-8]^i[T-14]^i[T-16],1);var L=n(n(c(u,5),s(T,f,m,A)),n(n(g,i[T]),l(T)));g=A,A=m,m=c(f,30),f=u,u=L}u=n(u,b),f=n(f,S),m=n(m,y),A=n(A,w),g=n(g,x)}return Array(u,f,m,A,g)}function s(e,a,i,u){return e<20?a&i|~a&u:e<40?a^i^u:e<60?a&i|a&u|i&u:a^i^u}function l(e){return e<20?1518500249:e<40?1859775393:e<60?-1894007588:-899497514}function n(e,a){var i=(e&65535)+(a&65535),u=(e>>16)+(a>>16)+(i>>16);return u<<16|i&65535}function c(e,a){return e<<a|e>>>32-a}p.exports=function(a){return o.hash(a,r,20,!0)}},{"./helpers":394}],397:[function(t,p,h){"use strict";p.exports=function(){return function(){}}},{}],398:[function(t,p,h){(function(o){(function(){"use strict";var r=t("@babel/runtime/helpers/interopRequireDefault"),s=r(t("@babel/runtime/helpers/typeof")),l=t("stream"),n=l.Stream,c=t("../lib/common/utils/isArray"),e=c.isArray;p.exports.string=function(u){return typeof u=="string"},p.exports.array=e,p.exports.buffer=o.isBuffer;function a(i){return i instanceof n}p.exports.writableStream=function(u){return a(u)&&typeof u._write=="function"&&(0,s.default)(u._writableState)==="object"}}).call(this)}).call(this,{isBuffer:t("../node_modules/is-buffer/index.js")})},{"../lib/common/utils/isArray":61,"../node_modules/is-buffer/index.js":312,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,stream:345}],399:[function(t,p,h){"use strict";var o=t("immediate"),r=p.exports={};r.nextTick=o,r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={};function s(){}r.on=s,r.addListener=s,r.once=s,r.off=s,r.removeListener=s,r.removeAllListeners=s,r.emit=s,r.prependListener=s,r.prependOnceListener=s,r.listeners=function(l){return[]},r.binding=function(l){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(l){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},{immediate:305}],400:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.search.js");var r=t("./lib/request"),s=t("./lib/response"),l=t("xtend"),n=t("builtin-status-codes"),c=t("url"),e=h;e.request=function(a,i){typeof a=="string"?a=c.parse(a):a=l(a);var u=o.location.protocol.search(/^https?:$/)===-1?"http:":"",f=a.protocol||u,m=a.hostname||a.host,A=a.port,g=a.path||"/";m&&m.indexOf(":")!==-1&&(m="["+m+"]"),a.url=(m?f+"//"+m:"")+(A?":"+A:"")+g,a.method=(a.method||"GET").toUpperCase(),a.headers=a.headers||{};var v=new r(a);return i&&v.on("response",i),v},e.get=function(i,u){var f=e.request(i,u);return f.end(),f},e.ClientRequest=r,e.IncomingMessage=s.IncomingMessage,e.Agent=function(){},e.Agent.defaultMaxSockets=4,e.globalAgent=new e.Agent,e.STATUS_CODES=n,e.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)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./lib/request":402,"./lib/response":403,"builtin-status-codes":87,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.search.js":267,url:404,xtend:392}],401:[function(t,p,h){(function(o){(function(){"use strict";t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.array-buffer.constructor.js"),t("core-js/modules/es.array-buffer.slice.js"),t("core-js/modules/es.array.slice.js"),h.fetch=e(o.fetch)&&e(o.ReadableStream),h.writableStream=e(o.WritableStream),h.abortController=e(o.AbortController),h.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),h.blobConstructor=!0}catch(a){}var r;function s(){if(r!==void 0)return r;if(o.XMLHttpRequest){r=new o.XMLHttpRequest;try{r.open("GET",o.XDomainRequest?"/":"https://example.com")}catch(a){r=null}}else r=null;return r}function l(a){var i=s();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch(u){}return!1}var n=typeof o.ArrayBuffer!="undefined",c=n&&e(o.ArrayBuffer.prototype.slice);h.arraybuffer=h.fetch||n&&l("arraybuffer"),h.msstream=!h.fetch&&c&&l("ms-stream"),h.mozchunkedarraybuffer=!h.fetch&&n&&l("moz-chunked-arraybuffer"),h.overrideMimeType=h.fetch||(s()?e(s().overrideMimeType):!1),h.vbArray=e(o.VBArray);function e(a){return typeof a=="function"}r=null}).call(this)}).call(this,typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"core-js/modules/es.array-buffer.constructor.js":239,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259}],402:[function(t,p,h){(function(o,r,s){(function(){"use strict";t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.regexp.to-string.js"),t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.array.map.js"),t("core-js/modules/es.function.name.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.split.js");var l=t("./capability"),n=t("inherits"),c=t("./response"),e=t("readable-stream"),a=t("to-arraybuffer"),i=c.IncomingMessage,u=c.readyStates;function f(v,b){return l.fetch&&b?"fetch":l.mozchunkedarraybuffer?"moz-chunked-arraybuffer":l.msstream?"ms-stream":l.arraybuffer&&v?"arraybuffer":l.vbArray&&v?"text:vbarray":"text"}var m=p.exports=function(v){var b=this;e.Writable.call(b),b._opts=v,b._body=[],b._headers={},v.auth&&b.setHeader("Authorization","Basic "+new s(v.auth).toString("base64")),Object.keys(v.headers).forEach(function(w){b.setHeader(w,v.headers[w])});var S,y=!0;if(v.mode==="disable-fetch"||"requestTimeout"in v&&!l.abortController)y=!1,S=!0;else if(v.mode==="prefer-streaming")S=!1;else if(v.mode==="allow-wrong-content-type")S=!l.overrideMimeType;else if(!v.mode||v.mode==="default"||v.mode==="prefer-fast")S=!0;else throw new Error("Invalid value for opts.mode");b._mode=f(S,y),b._fetchTimer=null,b.on("finish",function(){b._onFinish()})};n(m,e.Writable),m.prototype.setHeader=function(v,b){var S=this,y=v.toLowerCase();if(g.indexOf(y)!==-1)return;S._headers[y]={name:v,value:b}},m.prototype.getHeader=function(v){var b=this._headers[v.toLowerCase()];return b?b.value:null},m.prototype.removeHeader=function(v){var b=this;delete b._headers[v.toLowerCase()]},m.prototype._onFinish=function(){var v=this;if(v._destroyed)return;var b=v._opts,S=v._headers,y=null;b.method!=="GET"&&b.method!=="HEAD"&&(l.arraybuffer?y=a(s.concat(v._body)):l.blobConstructor?y=new r.Blob(v._body.map(function(P){return a(P)}),{type:(S["content-type"]||{}).value||""}):y=s.concat(v._body).toString());var w=[];if(Object.keys(S).forEach(function(P){var k=S[P].name,U=S[P].value;Array.isArray(U)?U.forEach(function(D){w.push([k,D])}):w.push([k,U])}),v._mode==="fetch"){var x=null,T=null;if(l.abortController){var L=new AbortController;x=L.signal,v._fetchAbortController=L,"requestTimeout"in b&&b.requestTimeout!==0&&(v._fetchTimer=r.setTimeout(function(){v.emit("requestTimeout"),v._fetchAbortController&&v._fetchAbortController.abort()},b.requestTimeout))}r.fetch(v._opts.url,{method:v._opts.method,headers:w,body:y||void 0,mode:"cors",credentials:b.withCredentials?"include":"same-origin",signal:x}).then(function(P){v._fetchResponse=P,v._connect()},function(P){r.clearTimeout(v._fetchTimer),v._destroyed||v.emit("error",P)})}else{var R=v._xhr=new r.XMLHttpRequest;try{R.open(v._opts.method,v._opts.url,!0)}catch(P){o.nextTick(function(){v.emit("error",P)});return}"responseType"in R&&(R.responseType=v._mode.split(":")[0]),"withCredentials"in R&&(R.withCredentials=!!b.withCredentials),v._mode==="text"&&"overrideMimeType"in R&&R.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in b&&(R.timeout=b.requestTimeout,R.ontimeout=function(){v.emit("requestTimeout")}),w.forEach(function(P){R.setRequestHeader(P[0],P[1])}),v._response=null,R.onreadystatechange=function(){switch(R.readyState){case u.LOADING:case u.DONE:v._onXHRProgress();break}},v._mode==="moz-chunked-arraybuffer"&&(R.onprogress=function(){v._onXHRProgress()}),R.onerror=function(){if(v._destroyed)return;v.emit("error",new Error("XHR error"))};try{R.send(y)}catch(P){o.nextTick(function(){v.emit("error",P)});return}}};function A(v){try{var b=v.status;return b!==null&&b!==0}catch(S){return!1}}m.prototype._onXHRProgress=function(){var v=this;if(!A(v._xhr)||v._destroyed)return;v._response||v._connect(),v._response._onXHRProgress()},m.prototype._connect=function(){var v=this;if(v._destroyed)return;v._response=new i(v._xhr,v._fetchResponse,v._mode,v._fetchTimer),v._response.on("error",function(b){v.emit("error",b)}),v.emit("response",v._response)},m.prototype._write=function(v,b,S){var y=this;y._body.push(v),S()},m.prototype.abort=m.prototype.destroy=function(){var v=this;v._destroyed=!0,r.clearTimeout(v._fetchTimer),v._response&&(v._response._destroyed=!0),v._xhr?v._xhr.abort():v._fetchAbortController&&v._fetchAbortController.abort()},m.prototype.end=function(v,b,S){var y=this;typeof v=="function"&&(S=v,v=void 0),e.Writable.prototype.end.call(y,v,b,S)},m.prototype.flushHeaders=function(){},m.prototype.setTimeout=function(){},m.prototype.setNoDelay=function(){},m.prototype.setSocketKeepAlive=function(){};var g=["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)}).call(this,t("_process"),typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{},t("buffer").Buffer)},{"./capability":401,"./response":403,_process:399,buffer:85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.map.js":249,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.split.js":268,"core-js/modules/web.dom-collections.for-each.js":296,inherits:311,"readable-stream":339,"to-arraybuffer":348}],403:[function(t,p,h){(function(o,r,s){(function(){"use strict";t("core-js/modules/web.dom-collections.for-each.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.split.js"),t("core-js/modules/es.string.match.js"),t("core-js/modules/es.array.iterator.js"),t("core-js/modules/es.array-buffer.slice.js"),t("core-js/modules/es.typed-array.uint8-array.js"),t("core-js/modules/es.typed-array.copy-within.js"),t("core-js/modules/es.typed-array.every.js"),t("core-js/modules/es.typed-array.fill.js"),t("core-js/modules/es.typed-array.filter.js"),t("core-js/modules/es.typed-array.find.js"),t("core-js/modules/es.typed-array.find-index.js"),t("core-js/modules/es.typed-array.for-each.js"),t("core-js/modules/es.typed-array.includes.js"),t("core-js/modules/es.typed-array.index-of.js"),t("core-js/modules/es.typed-array.iterator.js"),t("core-js/modules/es.typed-array.join.js"),t("core-js/modules/es.typed-array.last-index-of.js"),t("core-js/modules/es.typed-array.map.js"),t("core-js/modules/es.typed-array.reduce.js"),t("core-js/modules/es.typed-array.reduce-right.js"),t("core-js/modules/es.typed-array.reverse.js"),t("core-js/modules/es.typed-array.set.js"),t("core-js/modules/es.typed-array.slice.js"),t("core-js/modules/es.typed-array.some.js"),t("core-js/modules/es.typed-array.sort.js"),t("core-js/modules/es.typed-array.subarray.js"),t("core-js/modules/es.typed-array.to-locale-string.js"),t("core-js/modules/es.typed-array.to-string.js"),t("core-js/modules/es.array.slice.js");var l=t("./capability"),n=t("inherits"),c=t("readable-stream"),e=h.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},a=h.IncomingMessage=function(i,u,f,m){var A=this;if(c.Readable.call(A),A._mode=f,A.headers={},A.rawHeaders=[],A.trailers={},A.rawTrailers=[],A.on("end",function(){o.nextTick(function(){A.emit("close")})}),f==="fetch"){var g=function x(){b.read().then(function(T){if(A._destroyed)return;if(T.done){r.clearTimeout(m),A.push(null);return}A.push(new s(T.value)),x()}).catch(function(T){r.clearTimeout(m),A._destroyed||A.emit("error",T)})};if(A._fetchResponse=u,A.url=u.url,A.statusCode=u.status,A.statusMessage=u.statusText,u.headers.forEach(function(x,T){A.headers[T.toLowerCase()]=x,A.rawHeaders.push(T,x)}),l.writableStream){var v=new WritableStream({write:function(T){return new Promise(function(L,R){A._destroyed?R():A.push(new s(T))?L():A._resumeFetch=L})},close:function(){r.clearTimeout(m),A._destroyed||A.push(null)},abort:function(T){A._destroyed||A.emit("error",T)}});try{u.body.pipeTo(v).catch(function(x){r.clearTimeout(m),A._destroyed||A.emit("error",x)});return}catch(x){}}var b=u.body.getReader();g()}else{A._xhr=i,A._pos=0,A.url=i.responseURL,A.statusCode=i.status,A.statusMessage=i.statusText;var S=i.getAllResponseHeaders().split(/\r?\n/);if(S.forEach(function(x){var T=x.match(/^([^:]+):\s*(.*)/);if(T){var L=T[1].toLowerCase();L==="set-cookie"?(A.headers[L]===void 0&&(A.headers[L]=[]),A.headers[L].push(T[2])):A.headers[L]!==void 0?A.headers[L]+=", "+T[2]:A.headers[L]=T[2],A.rawHeaders.push(T[1],T[2])}}),A._charset="x-user-defined",!l.overrideMimeType){var y=A.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);w&&(A._charset=w[1].toLowerCase())}A._charset||(A._charset="utf-8")}}};n(a,c.Readable),a.prototype._read=function(){var i=this,u=i._resumeFetch;u&&(i._resumeFetch=null,u())},a.prototype._onXHRProgress=function(){var i=this,u=i._xhr,f=null;switch(i._mode){case"text:vbarray":if(u.readyState!==e.DONE)break;try{f=new r.VBArray(u.responseBody).toArray()}catch(b){}if(f!==null){i.push(new s(f));break}case"text":try{f=u.responseText}catch(b){i._mode="text:vbarray";break}if(f.length>i._pos){var m=f.substr(i._pos);if(i._charset==="x-user-defined"){for(var A=new s(m.length),g=0;g<m.length;g++)A[g]=m.charCodeAt(g)&255;i.push(A)}else i.push(m,i._charset);i._pos=f.length}break;case"arraybuffer":if(u.readyState!==e.DONE||!u.response)break;f=u.response,i.push(new s(new Uint8Array(f)));break;case"moz-chunked-arraybuffer":if(f=u.response,u.readyState!==e.LOADING||!f)break;i.push(new s(new Uint8Array(f)));break;case"ms-stream":if(f=u.response,u.readyState!==e.LOADING)break;var v=new r.MSStreamReader;v.onprogress=function(){v.result.byteLength>i._pos&&(i.push(new s(new Uint8Array(v.result.slice(i._pos)))),i._pos=v.result.byteLength)},v.onload=function(){i.push(null)},v.readAsArrayBuffer(f);break}i._xhr.readyState===e.DONE&&i._mode!=="ms-stream"&&i.push(null)}}).call(this)}).call(this,t("_process"),typeof O!="undefined"?O:typeof self!="undefined"?self:typeof window!="undefined"?window:{},t("buffer").Buffer)},{"./capability":401,_process:399,buffer:85,"core-js/modules/es.array-buffer.slice.js":240,"core-js/modules/es.array.iterator.js":247,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.match.js":265,"core-js/modules/es.string.split.js":268,"core-js/modules/es.typed-array.copy-within.js":272,"core-js/modules/es.typed-array.every.js":273,"core-js/modules/es.typed-array.fill.js":274,"core-js/modules/es.typed-array.filter.js":275,"core-js/modules/es.typed-array.find-index.js":276,"core-js/modules/es.typed-array.find.js":277,"core-js/modules/es.typed-array.for-each.js":278,"core-js/modules/es.typed-array.includes.js":279,"core-js/modules/es.typed-array.index-of.js":280,"core-js/modules/es.typed-array.iterator.js":281,"core-js/modules/es.typed-array.join.js":282,"core-js/modules/es.typed-array.last-index-of.js":283,"core-js/modules/es.typed-array.map.js":284,"core-js/modules/es.typed-array.reduce-right.js":285,"core-js/modules/es.typed-array.reduce.js":286,"core-js/modules/es.typed-array.reverse.js":287,"core-js/modules/es.typed-array.set.js":288,"core-js/modules/es.typed-array.slice.js":289,"core-js/modules/es.typed-array.some.js":290,"core-js/modules/es.typed-array.sort.js":291,"core-js/modules/es.typed-array.subarray.js":292,"core-js/modules/es.typed-array.to-locale-string.js":293,"core-js/modules/es.typed-array.to-string.js":294,"core-js/modules/es.typed-array.uint8-array.js":295,"core-js/modules/web.dom-collections.for-each.js":296,inherits:311,"readable-stream":339}],404:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/helpers/typeof"));t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.search.js"),t("core-js/modules/es.array.concat.js"),t("core-js/modules/es.string.split.js"),t("core-js/modules/es.string.replace.js"),t("core-js/modules/es.array.join.js"),t("core-js/modules/es.string.trim.js"),t("core-js/modules/es.string.match.js"),t("core-js/modules/es.array.slice.js"),t("core-js/modules/es.object.keys.js"),t("core-js/modules/es.array.splice.js");var s=t("punycode"),l=t("./util");h.parse=T,h.resolve=R,h.resolveObject=P,h.format=L,h.Url=n;function n(){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 c=/^([a-z0-9.+-]+:)/i,e=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["<",">",'"',"`"," ","\r",`
`," "],u=["{","}","|","\\","^","`"].concat(i),f=["'"].concat(u),m=["%","/","?",";","#"].concat(f),A=["/","?","#"],g=255,v=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,S={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},x=t("querystring");function T(k,U,D){if(k&&l.isObject(k)&&k instanceof n)return k;var M=new n;return M.parse(k,U,D),M}n.prototype.parse=function(k,U,D){if(!l.isString(k))throw new TypeError("Parameter 'url' must be a string, not "+(0,r.default)(k));var M=k.indexOf("?"),B=M!==-1&&M<k.indexOf("#")?"?":"#",j=k.split(B),H=/\\/g;j[0]=j[0].replace(H,"/"),k=j.join(B);var K=k;if(K=K.trim(),!D&&k.split("#").length===1){var W=a.exec(K);if(W)return this.path=K,this.href=K,this.pathname=W[1],W[2]?(this.search=W[2],U?this.query=x.parse(this.search.substr(1)):this.query=this.search.substr(1)):U&&(this.search="",this.query={}),this}var X=c.exec(K);if(X){X=X[0];var V=X.toLowerCase();this.protocol=V,K=K.substr(X.length)}if(D||X||K.match(/^\/\/[^@\/]+@[^@\/]+/)){var Z=K.substr(0,2)==="//";Z&&!(X&&y[X])&&(K=K.substr(2),this.slashes=!0)}if(!y[X]&&(Z||X&&!w[X])){for(var G=-1,Y=0;Y<A.length;Y++){var te=K.indexOf(A[Y]);te!==-1&&(G===-1||te<G)&&(G=te)}var se,Ce;G===-1?Ce=K.lastIndexOf("@"):Ce=K.lastIndexOf("@",G),Ce!==-1&&(se=K.slice(0,Ce),K=K.slice(Ce+1),this.auth=decodeURIComponent(se)),G=-1;for(var Y=0;Y<m.length;Y++){var te=K.indexOf(m[Y]);te!==-1&&(G===-1||te<G)&&(G=te)}G===-1&&(G=K.length),this.host=K.slice(0,G),K=K.slice(G),this.parseHost(),this.hostname=this.hostname||"";var he=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!he)for(var xe=this.hostname.split("."),Y=0,ie=xe.length;Y<ie;Y++){var ee=xe[Y];if(!ee)continue;if(!ee.match(v)){for(var Ze="",Se=0,Ne=ee.length;Se<Ne;Se++)ee.charCodeAt(Se)>127?Ze+="x":Ze+=ee[Se];if(!Ze.match(v)){var it=xe.slice(0,Y),Ye=xe.slice(Y+1),nt=ee.match(b);nt&&(it.push(nt[1]),Ye.unshift(nt[2])),Ye.length&&(K="/"+Ye.join(".")+K),this.hostname=it.join(".");break}}}this.hostname.length>g?this.hostname="":this.hostname=this.hostname.toLowerCase(),he||(this.hostname=s.toASCII(this.hostname));var je=this.port?":"+this.port:"",et=this.hostname||"";this.host=et+je,this.href+=this.host,he&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),K[0]!=="/"&&(K="/"+K))}if(!S[V])for(var Y=0,ie=f.length;Y<ie;Y++){var He=f[Y];if(K.indexOf(He)===-1)continue;var pe=encodeURIComponent(He);pe===He&&(pe=escape(He)),K=K.split(He).join(pe)}var ae=K.indexOf("#");ae!==-1&&(this.hash=K.substr(ae),K=K.slice(0,ae));var re=K.indexOf("?");if(re!==-1?(this.search=K.substr(re),this.query=K.substr(re+1),U&&(this.query=x.parse(this.query)),K=K.slice(0,re)):U&&(this.search="",this.query={}),K&&(this.pathname=K),w[V]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var je=this.pathname||"",be=this.search||"";this.path=je+be}return this.href=this.format(),this};function L(k){return l.isString(k)&&(k=T(k)),k instanceof n?k.format():n.prototype.format.call(k)}n.prototype.format=function(){var k=this.auth||"";k&&(k=encodeURIComponent(k),k=k.replace(/%3A/i,":"),k+="@");var U=this.protocol||"",D=this.pathname||"",M=this.hash||"",B=!1,j="";this.host?B=k+this.host:this.hostname&&(B=k+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(B+=":"+this.port)),this.query&&l.isObject(this.query)&&Object.keys(this.query).length&&(j=x.stringify(this.query));var H=this.search||j&&"?"+j||"";return U&&U.substr(-1)!==":"&&(U+=":"),this.slashes||(!U||w[U])&&B!==!1?(B="//"+(B||""),D&&D.charAt(0)!=="/"&&(D="/"+D)):B||(B=""),M&&M.charAt(0)!=="#"&&(M="#"+M),H&&H.charAt(0)!=="?"&&(H="?"+H),D=D.replace(/[?#]/g,function(K){return encodeURIComponent(K)}),H=H.replace("#","%23"),U+B+D+H+M};function R(k,U){return T(k,!1,!0).resolve(U)}n.prototype.resolve=function(k){return this.resolveObject(T(k,!1,!0)).format()};function P(k,U){return k?T(k,!1,!0).resolveObject(U):U}n.prototype.resolveObject=function(k){if(l.isString(k)){var U=new n;U.parse(k,!1,!0),k=U}for(var D=new n,M=Object.keys(this),B=0;B<M.length;B++){var j=M[B];D[j]=this[j]}if(D.hash=k.hash,k.href==="")return D.href=D.format(),D;if(k.slashes&&!k.protocol){for(var H=Object.keys(k),K=0;K<H.length;K++){var W=H[K];W!=="protocol"&&(D[W]=k[W])}return w[D.protocol]&&D.hostname&&!D.pathname&&(D.path=D.pathname="/"),D.href=D.format(),D}if(k.protocol&&k.protocol!==D.protocol){if(!w[k.protocol]){for(var X=Object.keys(k),V=0;V<X.length;V++){var Z=X[V];D[Z]=k[Z]}return D.href=D.format(),D}if(D.protocol=k.protocol,!k.host&&!y[k.protocol]){for(var ie=(k.pathname||"").split("/");ie.length&&!(k.host=ie.shift()););k.host||(k.host=""),k.hostname||(k.hostname=""),ie[0]!==""&&ie.unshift(""),ie.length<2&&ie.unshift(""),D.pathname=ie.join("/")}else D.pathname=k.pathname;if(D.search=k.search,D.query=k.query,D.host=k.host||"",D.auth=k.auth,D.hostname=k.hostname||k.host,D.port=k.port,D.pathname||D.search){var G=D.pathname||"",Y=D.search||"";D.path=G+Y}return D.slashes=D.slashes||k.slashes,D.href=D.format(),D}var te=D.pathname&&D.pathname.charAt(0)==="/",se=k.host||k.pathname&&k.pathname.charAt(0)==="/",Ce=se||te||D.host&&k.pathname,he=Ce,xe=D.pathname&&D.pathname.split("/")||[],ie=k.pathname&&k.pathname.split("/")||[],ee=D.protocol&&!w[D.protocol];if(ee&&(D.hostname="",D.port=null,D.host&&(xe[0]===""?xe[0]=D.host:xe.unshift(D.host)),D.host="",k.protocol&&(k.hostname=null,k.port=null,k.host&&(ie[0]===""?ie[0]=k.host:ie.unshift(k.host)),k.host=null),Ce=Ce&&(ie[0]===""||xe[0]==="")),se)D.host=k.host||k.host===""?k.host:D.host,D.hostname=k.hostname||k.hostname===""?k.hostname:D.hostname,D.search=k.search,D.query=k.query,xe=ie;else if(ie.length)xe||(xe=[]),xe.pop(),xe=xe.concat(ie),D.search=k.search,D.query=k.query;else if(!l.isNullOrUndefined(k.search)){if(ee){D.hostname=D.host=xe.shift();var Ze=D.host&&D.host.indexOf("@")>0?D.host.split("@"):!1;Ze&&(D.auth=Ze.shift(),D.host=D.hostname=Ze.shift())}return D.search=k.search,D.query=k.query,(!l.isNull(D.pathname)||!l.isNull(D.search))&&(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.href=D.format(),D}if(!xe.length)return D.pathname=null,D.search?D.path="/"+D.search:D.path=null,D.href=D.format(),D;for(var Se=xe.slice(-1)[0],Ne=(D.host||k.host||xe.length>1)&&(Se==="."||Se==="..")||Se==="",it=0,Ye=xe.length;Ye>=0;Ye--)Se=xe[Ye],Se==="."?xe.splice(Ye,1):Se===".."?(xe.splice(Ye,1),it++):it&&(xe.splice(Ye,1),it--);if(!Ce&&!he)for(;it--;it)xe.unshift("..");Ce&&xe[0]!==""&&(!xe[0]||xe[0].charAt(0)!=="/")&&xe.unshift(""),Ne&&xe.join("/").substr(-1)!=="/"&&xe.push("");var nt=xe[0]===""||xe[0]&&xe[0].charAt(0)==="/";if(ee){D.hostname=D.host=nt?"":xe.length?xe.shift():"";var Ze=D.host&&D.host.indexOf("@")>0?D.host.split("@"):!1;Ze&&(D.auth=Ze.shift(),D.host=D.hostname=Ze.shift())}return Ce=Ce||D.host&&xe.length,Ce&&!nt&&xe.unshift(""),xe.length?D.pathname=xe.join("/"):(D.pathname=null,D.path=null),(!l.isNull(D.pathname)||!l.isNull(D.search))&&(D.path=(D.pathname?D.pathname:"")+(D.search?D.search:"")),D.auth=k.auth||D.auth,D.slashes=D.slashes||k.slashes,D.href=D.format(),D},n.prototype.parseHost=function(){var k=this.host,U=e.exec(k);U&&(U=U[0],U!==":"&&(this.port=U.substr(1)),k=k.substr(0,k.length-U.length)),k&&(this.hostname=k)}},{"./util":405,"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.array.join.js":248,"core-js/modules/es.array.slice.js":250,"core-js/modules/es.array.splice.js":252,"core-js/modules/es.object.keys.js":257,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.match.js":265,"core-js/modules/es.string.replace.js":266,"core-js/modules/es.string.search.js":267,"core-js/modules/es.string.split.js":268,"core-js/modules/es.string.trim.js":269,punycode:325,querystring:328}],405:[function(t,p,h){"use strict";var o=t("@babel/runtime/helpers/interopRequireDefault"),r=o(t("@babel/runtime/helpers/typeof"));p.exports={isString:function(l){return typeof l=="string"},isObject:function(l){return(0,r.default)(l)==="object"&&l!==null},isNull:function(l){return l===null},isNullOrUndefined:function(l){return l==null}}},{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75}],406:[function(t,p,h){"use strict";t("core-js/modules/es.number.constructor.js"),h.encodeURIComponent=function(o){try{return encodeURIComponent(o)}catch(r){return o}},h.escape=t("escape-html"),h.timestamp=function(r){if(r){var s=r;return typeof s=="string"&&(s=Number(s)),String(r).length===10&&(s*=1e3),new Date(s)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":254,"escape-html":300}],407:[function(t,p,h){(function(o,r){(function(){"use strict";var s=t("@babel/runtime/helpers/interopRequireDefault"),l=s(t("@babel/runtime/helpers/typeof"));t("core-js/modules/es.string.trim.js"),t("core-js/modules/es.regexp.exec.js"),t("core-js/modules/es.string.split.js"),t("core-js/modules/es.object.to-string.js"),t("core-js/modules/es.promise.js"),t("core-js/modules/es.function.name.js"),t("core-js/modules/es.array.concat.js");var n=t("util"),c=t("url"),e=t("http"),a=t("https"),i=t("debug")("urllib"),u=t("humanize-ms"),f=0,m=Math.pow(2,31)-10,A=/^https?:\/\//i;function g(y,w){return y===void 0?w:y}function v(y){return y?y.split(";")[0].trim().toLowerCase():""}function b(y,w){return function(x,T,L){if(x)return w(x);y({data:T,status:L.statusCode,headers:L.headers,res:L})}}h.TIMEOUTS=[u("300s"),u("300s")];var S=["json","text"];h.request=function(w,x,T){return arguments.length===2&&typeof x=="function"&&(T=x,x=null),typeof T=="function"?h.requestWithCallback(w,x,T):new Promise(function(L,R){h.requestWithCallback(w,x,b(L,R))})},h.requestWithCallback=function(w,x,T){if(!w||typeof w!="string"&&(0,l.default)(w)!=="object"){var L=n.format("expect request url to be a string or a http request options, but got %j",w);throw new Error(L)}arguments.length===2&&typeof x=="function"&&(T=x,x=null),x=x||{},f>=m&&(f=0);var R=++f;x.requestUrls=x.requestUrls||[];var P={requestId:R,url:w,args:x,ctx:x.ctx};x.emitter&&x.emitter.emit("request",P),x.timeout=x.timeout||h.TIMEOUTS,x.maxRedirects=x.maxRedirects||10,x.streaming=x.streaming||x.customResponse;var k=Date.now(),U;typeof w=="string"?(A.test(w)||(w="https://"+w),U=c.parse(w)):U=w;var D=(x.type||x.method||U.method||"GET").toUpperCase(),M=U.port||80,B=e,j=g(x.agent,h.agent),H=x.fixJSONCtlChars;U.protocol==="https:"&&(B=a,j=g(x.httpsAgent,h.httpsAgent),U.port||(M=443));var K={host:U.hostname||U.host||"localhost",path:U.path||"/",method:D,port:M,agent:j,headers:x.headers||{},lookup:x.lookup};Array.isArray(x.timeout)?K.requestTimeout=x.timeout[x.timeout.length-1]:typeof x.timeout!="undefined"&&(K.requestTimeout=x.timeout);var W=x.auth||U.auth;W&&(K.auth=W);var X=x.content||x.data,V=D==="GET"||D==="HEAD"||x.dataAsQueryString;if(!x.content&&(X&&!(typeof X=="string"||r.isBuffer(X))))if(V)X=x.nestedQuerystring?qs.stringify(X):querystring.stringify(X);else{var Z=K.headers["Content-Type"]||K.headers["content-type"];Z||(x.contentType==="json"?Z="application/json":Z="application/x-www-form-urlencoded",K.headers["Content-Type"]=Z),v(Z)==="application/json"?X=JSON.stringify(X):X=x.nestedQuerystring?qs.stringify(X):querystring.stringify(X)}V&&X&&(K.path+=(U.query?"&":"?")+X,X=null);var G=0;if(X){var Y=X.length;r.isBuffer(X)||(Y=r.byteLength(X)),G=K.headers["Content-Length"]=Y}x.dataType==="json"&&(K.headers.Accept="application/json"),typeof x.beforeRequest=="function"&&x.beforeRequest(K);var te=null,se=null,Ce=null,he=!1,xe=!1,ie=0,ee=-1,Ze=!1,Se="",Ne="",it=null;x.timing&&(it={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function Ye(){te&&(clearTimeout(te),te=null)}function nt(){se&&(clearTimeout(se),se=null)}function je(Ue,bt,wt){if(nt(),!T){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),R,o.pid,K.method,w),Ue&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
stack: %s`,Date(),R,o.pid,Ue.name,Ue.message,Ue.stack);return}var Et=T;T=null;var xt={};wt&&(ee=wt.statusCode,xt=wt.headers);var Tt=Date.now()-k;it&&(it.contentDownload=Tt),i("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",Tt,ie,ee,K.method,K.host,K.path,xe,it);var Be={status:ee,statusCode:ee,headers:xt,size:ie,aborted:Ze,rt:Tt,keepAliveSocket:xe,data:bt,requestUrls:x.requestUrls,timing:it,remoteAddress:Se,remotePort:Ne};if(Ue){var ce="";j&&typeof j.getCurrentStatus=="function"&&(ce=", agent status: "+JSON.stringify(j.getCurrentStatus())),Ue.message+=", "+K.method+" "+w+" "+ee+" (connected: "+he+", keepalive socket: "+xe+ce+`)
headers: `+JSON.stringify(xt),Ue.data=bt,Ue.path=K.path,Ue.status=ee,Ue.headers=xt,Ue.res=Be}Et(Ue,bt,x.streaming?wt:Be),x.emitter&&(P.url=w,P.socket=Te&&Te.connection,P.options=K,P.size=G,x.emitter.emit("response",{requestId:R,error:Ue,ctx:x.ctx,req:P,res:Be}))}function et(Ue){var bt=null;if(x.followRedirect&&statuses.redirect[Ue.statusCode]){x._followRedirectCount=(x._followRedirectCount||0)+1;var wt=Ue.headers.location;if(!wt)bt=new Error("Got statusCode "+Ue.statusCode+" but cannot resolve next location from headers"),bt.name="FollowRedirectError";else if(x._followRedirectCount>x.maxRedirects)bt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+w),bt.name="MaxRedirectError";else{var Et=x.formatRedirectUrl?x.formatRedirectUrl(w,wt):c.resolve(w,wt);i("Request#%d %s: `redirected` from %s to %s",R,K.path,w,Et),nt(),x.headers&&x.headers.Host&&A.test(wt)&&(x.headers.Host=null);var xt=T;return T=null,h.requestWithCallback(Et,x,xt),{redirect:!0,error:null}}}return{redirect:!1,error:bt}}x.gzip&&(!K.headers["Accept-Encoding"]&&!K.headers["accept-encoding"]&&(K.headers["Accept-Encoding"]="gzip"));function He(Ue,bt,wt){var Et=Ue.headers["content-encoding"];return wt(null,bt,Et)}var pe=x.writeStream;i("Request#%d %s %s with headers %j, options.path: %s",R,D,w,K.headers,K.path),x.requestUrls.push(w);function ae(Ue){if(it&&(it.waiting=Date.now()-k),i("Request#%d %s `req response` event emit: status %d, headers: %j",R,w,Ue.statusCode,Ue.headers),x.streaming){var bt=et(Ue);if(bt.redirect){Ue.resume();return}return bt.error?(Ue.resume(),je(bt.error,null,Ue)):je(null,null,Ue)}if(Ue.on("close",function(){i("Request#%d %s: `res close` event emit, total size %d",R,w,ie)}),Ue.on("error",function(){i("Request#%d %s: `res error` event emit, total size %d",R,w,ie)}),Ue.on("aborted",function(){Ze=!0,i("Request#%d %s: `res aborted` event emit, total size %d",R,w,ie)}),pe){var wt=et(Ue);if(wt.redirect){Ue.resume();return}return wt.error?(Ue.resume(),pe.end(),je(wt.error,null,Ue)):(x.consumeWriteStream===!1?Ue.on("end",je.bind(null,null,null,Ue)):pe.on("close",function(){i("Request#%d %s: writeStream close event emitted",R,w),je(Ce||null,null,Ue)}),Ue.pipe(pe))}var Et=[];Ue.on("data",function(xt){i("Request#%d %s: `res data` event emit, size %d",R,w,xt.length),ie+=xt.length,Et.push(xt)}),Ue.on("end",function(){var xt=r.concat(Et,ie);if(i("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",R,w,ie,Ue._dumped),Ce)return je(Ce,xt,Ue);var Tt=et(Ue);if(Tt.error)return je(Tt.error,xt,Ue);if(Tt.redirect)return;He(Ue,xt,function(Be,ce,q){if(Be)return je(Be,xt,Ue);if(!q&&S.indexOf(x.dataType)>=0){try{ce=decodeBodyByCharset(ce,Ue)}catch(Ve){return i("decodeBodyByCharset error: %s",Ve),je(null,ce,Ue)}if(x.dataType==="json")if(ie===0)ce=null;else{var dt=parseJSON(ce,H);dt.error?Be=dt.error:ce=dt.data}}Ze&&i("Request#%d %s: Remote socket was terminated before `response.end()` was called",R,w),je(Be,ce,Ue)})})}var re,be;Array.isArray(x.timeout)?(re=u(x.timeout[0]),be=u(x.timeout[1])):re=be=u(x.timeout),i("ConnectTimeout: %d, ResponseTimeout: %d",re,be);function ze(){i("Connect timer ticking, timeout: %d",re),te=setTimeout(function(){te=null,ee===-1&&(ee=-2);var Ue="Connect timeout for "+re+"ms",bt="ConnectionTimeoutError";Te.socket||(bt="SocketAssignTimeoutError",Ue+=", working sockets is full"),Ce=new Error(Ue),Ce.name=bt,Ce.requestId=R,i("ConnectTimeout: Request#%d %s %s: %s, connected: %s",R,w,Ce.name,Ue,he),gt()},re)}function Ke(){i("Response timer ticking, timeout: %d",be),se=setTimeout(function(){se=null;var Ue="Response timeout for "+be+"ms",bt="ResponseTimeoutError";Ce=new Error(Ue),Ce.name=bt,Ce.requestId=R,i("ResponseTimeout: Request#%d %s %s: %s, connected: %s",R,w,Ce.name,Ue,he),gt()},be)}var Te;K.mode=x.mode?x.mode:"";try{Te=B.request(K,ae)}catch(Ue){return je(Ue)}typeof window=="undefined"?ze():Te.on("requestTimeout",function(){ee===-1&&(ee=-2);var Ue="Connect timeout for "+re+"ms",bt="ConnectionTimeoutError";Ce=new Error(Ue),Ce.name=bt,Ce.requestId=R,gt()});function gt(){i("Request#%d %s abort, connected: %s",R,w,he),Te.socket||(Ce.noSocket=!0,je(Ce)),Te.abort()}return it&&Te.on("finish",function(){it.requestSent=Date.now()-k}),Te.once("socket",function(Ue){it&&(it.queuing=Date.now()-k);var bt=Ue.readyState;if(bt==="opening"){Ue.once("lookup",function(wt,Et,xt){i("Request#%d %s lookup: %s, %s, %s",R,w,wt,Et,xt),it&&(it.dnslookup=Date.now()-k),Et&&(Se=Et)}),Ue.once("connect",function(){it&&(it.connected=Date.now()-k),Ye(),Ke(),i("Request#%d %s new socket connected",R,w),he=!0,Se||(Se=Ue.remoteAddress),Ne=Ue.remotePort});return}i("Request#%d %s reuse socket connected, readyState: %s",R,w,bt),he=!0,xe=!0,Se||(Se=Ue.remoteAddress),Ne=Ue.remotePort,Ye(),Ke()}),Te.on("error",function(Ue){(Ue.name==="Error"||Ue.name==="TypeError")&&(Ue.name=he?"ResponseError":"RequestError"),Ue.message+=' (req "error")',i("Request#%d %s `req error` event emit, %s: %s",R,w,Ue.name,Ue.message),je(Ce||Ue)}),pe&&pe.once("error",function(Ue){Ue.message+=' (writeStream "error")',Ce=Ue,i("Request#%d %s `writeStream error` event emit, %s: %s",R,w,Ue.name,Ue.message),gt()}),x.stream?(x.stream.pipe(Te),x.stream.once("error",function(Ue){Ue.message+=' (stream "error")',Ce=Ue,i("Request#%d %s `readStream error` event emit, %s: %s",R,w,Ue.name,Ue.message),gt()})):Te.end(X),Te.requestId=R,Te}}).call(this)}).call(this,t("_process"),t("buffer").Buffer)},{"@babel/runtime/helpers/interopRequireDefault":74,"@babel/runtime/helpers/typeof":75,_process:399,buffer:85,"core-js/modules/es.array.concat.js":241,"core-js/modules/es.function.name.js":253,"core-js/modules/es.object.to-string.js":258,"core-js/modules/es.promise.js":259,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.string.split.js":268,"core-js/modules/es.string.trim.js":269,debug:397,http:400,https:302,"humanize-ms":303,url:404,util:352}]},{},[1])(1)})}).call(this,d("yLpj"))},n1HI:function(ue,z,d){var O=d("hX1E"),_=O.normalizeRadian,I=Math.PI*2;function E(C,t,p,h,o,r,s,l,n){if(s===0)return!1;var c=s;l-=C,n-=t;var e=Math.sqrt(l*l+n*n);if(e-c>p||e+c<p)return!1;if(Math.abs(h-o)%I<1e-4)return!0;if(r){var a=h;h=_(o),o=_(a)}else h=_(h),o=_(o);h>o&&(o+=I);var i=Math.atan2(n,l);return i<0&&(i+=I),i>=h&&i<=o||i+I>=h&&i+I<=o}z.containStroke=E},n4Lv:function(ue,z,d){var O=d("7hqr"),_=O.isDimensionStacked,I=d("bYtY"),E=I.map;function C(h,o,r){var s=h.getBaseAxis(),l=h.getOtherAxis(s),n=t(l,r),c=s.dim,e=l.dim,a=o.mapDimension(e),i=o.mapDimension(c),u=e==="x"||e==="radius"?1:0,f=E(h.dimensions,function(g){return o.mapDimension(g)}),m,A=o.getCalculationInfo("stackResultDimension");return(m|=_(o,f[0]))&&(f[0]=A),(m|=_(o,f[1]))&&(f[1]=A),{dataDimsForPoint:f,valueStart:n,valueAxisDim:e,baseAxisDim:c,stacked:!!m,valueDim:a,baseDim:i,baseDataOffset:u,stackedOverDimension:o.getCalculationInfo("stackedOverDimension")}}function t(h,o){var r=0,s=h.scale.getExtent();return o==="start"?r=s[0]:o==="end"?r=s[1]:s[0]>0?r=s[0]:s[1]<0&&(r=s[1]),r}function p(h,o,r,s){var l=NaN;h.stacked&&(l=r.get(r.getCalculationInfo("stackedOverDimension"),s)),isNaN(l)&&(l=h.valueStart);var n=h.baseDataOffset,c=[];return c[n]=r.get(h.baseDim,s),c[1-n]=l,o.dataToPoint(c)}z.prepareDataCoordInfo=C,z.getStackedOnPoint=p},n6Mw:function(ue,z,d){var O=d("SrGk"),_=d("bYtY"),I=d("Fofx");function E(t,p){O.call(this,t,p,"clipPath","__clippath_in_use__")}_.inherits(E,O),E.prototype.update=function(t){var p=this.getSvgElement(t);p&&this.updateDom(p,t.__clipPaths,!1);var h=this.getTextSvgElement(t);h&&this.updateDom(h,t.__clipPaths,!0),this.markUsed(t)},E.prototype.updateDom=function(t,p,h){if(p&&p.length>0){var o=this.getDefs(!0),r=p[0],s,l,n=h?"_textDom":"_dom";r[n]?(l=r[n].getAttribute("id"),s=r[n],o.contains(s)||o.appendChild(s)):(l="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,s=this.createElement("clipPath"),s.setAttribute("id",l),o.appendChild(s),r[n]=s);var c=this.getSvgProxy(r);if(r.transform&&r.parent.invTransform&&!h){var e=Array.prototype.slice.call(r.transform);I.mul(r.transform,r.parent.invTransform,r.transform),c.brush(r),r.transform=e}else c.brush(r);var a=this.getSvgElement(r);s.innerHTML="",s.appendChild(a.cloneNode()),t.setAttribute("clip-path","url(#"+l+")"),p.length>1&&this.updateDom(s,p.slice(1),h)}else t&&t.setAttribute("clip-path","none")},E.prototype.markUsed=function(t){var p=this;t.__clipPaths&&_.each(t.__clipPaths,function(h){h._dom&&O.prototype.markUsed.call(p,h._dom),h._textDom&&O.prototype.markUsed.call(p,h._textDom)})};var C=E;ue.exports=C},nCxF:function(ue,z,d){var O=d("QBsz"),_=O.min,I=O.max,E=O.scale,C=O.distance,t=O.add,p=O.clone,h=O.sub;function o(r,s,l,n){var c=[],e=[],a=[],i=[],u,f,m,A;if(n){m=[Infinity,Infinity],A=[-Infinity,-Infinity];for(var g=0,v=r.length;g<v;g++)_(m,m,r[g]),I(A,A,r[g]);_(m,m,n[0]),I(A,A,n[1])}for(var g=0,v=r.length;g<v;g++){var b=r[g];if(l)u=r[g?g-1:v-1],f=r[(g+1)%v];else if(g===0||g===v-1){c.push(p(r[g]));continue}else u=r[g-1],f=r[g+1];h(e,f,u),E(e,e,s);var S=C(b,u),y=C(b,f),w=S+y;w!==0&&(S/=w,y/=w),E(a,e,-S),E(i,e,y);var x=t([],b,a),T=t([],b,i);n&&(I(x,x,m),_(x,x,A),I(T,T,m),_(T,T,A)),c.push(x),c.push(T)}return l&&c.push(c.shift()),c}ue.exports=o},nKiI:function(ue,z,d){var O=d("bYtY"),_=d("mFDi"),I=d("OELB"),E=I.parsePercent,C=I.MAX_SAFE_INTEGER,t=d("+TT/"),p=d("VaxA"),h=Math.max,o=Math.min,r=O.retrieve,s=O.each,l=["itemStyle","borderWidth"],n=["itemStyle","gapWidth"],c=["upperLabel","show"],e=["upperLabel","height"],a={seriesType:"treemap",reset:function(x,T,L,R){var P=L.getWidth(),k=L.getHeight(),U=x.option,D=t.getLayoutRect(x.getBoxLayoutParams(),{width:L.getWidth(),height:L.getHeight()}),M=U.size||[],B=E(r(D.width,M[0]),P),j=E(r(D.height,M[1]),k),H=R&&R.type,K=["treemapZoomToNode","treemapRootToNode"],W=p.retrieveTargetInfo(R,K,x),X=H==="treemapRender"||H==="treemapMove"?R.rootRect:null,V=x.getViewRoot(),Z=p.getPathToRoot(V);if(H!=="treemapMove"){var G=H==="treemapZoomToNode"?b(x,W,V,B,j):X?[X.width,X.height]:[B,j],Y=U.sort;Y&&Y!=="asc"&&Y!=="desc"&&(Y="desc");var te={squareRatio:U.squareRatio,sort:Y,leafDepth:U.leafDepth};V.hostTree.clearLayouts();var se={x:0,y:0,width:G[0],height:G[1],area:G[0]*G[1]};V.setLayout(se),i(V,te,!1,0);var se=V.getLayout();s(Z,function(he,xe){var ie=(Z[xe+1]||V).getValue();he.setLayout(O.extend({dataExtent:[ie,ie],borderWidth:0,upperHeight:0},se))})}var Ce=x.getData().tree.root;Ce.setLayout(S(D,X,W),!0),x.setLayoutInfo(D),y(Ce,new _(-D.x,-D.y,P,k),Z,V,0)}};function i(x,T,L,R){var P,k;if(x.isRemoved())return;var U=x.getLayout();P=U.width,k=U.height;var D=x.getModel(),M=D.get(l),B=D.get(n)/2,j=w(D),H=Math.max(M,j),K=M-B,W=H-B,D=x.getModel();x.setLayout({borderWidth:M,upperHeight:H,upperLabelHeight:j},!0),P=h(P-2*K,0),k=h(k-K-W,0);var X=P*k,V=u(x,D,X,T,L,R);if(!V.length)return;var Z={x:K,y:W,width:P,height:k},G=o(P,k),Y=Infinity,te=[];te.area=0;for(var se=0,Ce=V.length;se<Ce;){var he=V[se];te.push(he),te.area+=he.getLayout().area;var xe=g(te,G,T.squareRatio);xe<=Y?(se++,Y=xe):(te.area-=te.pop().getLayout().area,v(te,G,Z,B,!1),G=o(Z.width,Z.height),te.length=te.area=0,Y=Infinity)}if(te.length&&v(te,G,Z,B,!0),!L){var ie=D.get("childrenVisibleMin");ie!=null&&X<ie&&(L=!0)}for(var se=0,Ce=V.length;se<Ce;se++)i(V[se],T,L,R+1)}function u(x,T,L,R,P,k){var U=x.children||[],D=R.sort;D!=="asc"&&D!=="desc"&&(D=null);var M=R.leafDepth!=null&&R.leafDepth<=k;if(P&&!M)return x.viewChildren=[];U=O.filter(U,function(W){return!W.isRemoved()}),m(U,D);var B=A(T,U,D);if(B.sum===0)return x.viewChildren=[];if(B.sum=f(T,L,B.sum,D,U),B.sum===0)return x.viewChildren=[];for(var j=0,H=U.length;j<H;j++){var K=U[j].getValue()/B.sum*L;U[j].setLayout({area:K})}return M&&(U.length&&x.setLayout({isLeafRoot:!0},!0),U.length=0),x.viewChildren=U,x.setLayout({dataExtent:B.dataExtent},!0),U}function f(x,T,L,R,P){if(!R)return L;for(var k=x.get("visibleMin"),U=P.length,D=U,M=U-1;M>=0;M--){var B=P[R==="asc"?U-M-1:M].getValue();B/L*T<k&&(D=M,L-=B)}return R==="asc"?P.splice(0,U-D):P.splice(D,U-D),L}function m(x,T){return T&&x.sort(function(L,R){var P=T==="asc"?L.getValue()-R.getValue():R.getValue()-L.getValue();return P===0?T==="asc"?L.dataIndex-R.dataIndex:R.dataIndex-L.dataIndex:P}),x}function A(x,T,L){for(var R=0,P=0,k=T.length;P<k;P++)R+=T[P].getValue();var U=x.get("visualDimension"),D;if(!T||!T.length)D=[NaN,NaN];else if(U==="value"&&L)D=[T[T.length-1].getValue(),T[0].getValue()],L==="asc"&&D.reverse();else{var D=[Infinity,-Infinity];s(T,function(B){var j=B.getValue(U);j<D[0]&&(D[0]=j),j>D[1]&&(D[1]=j)})}return{sum:R,dataExtent:D}}function g(x,T,L){for(var R=0,P=Infinity,k=0,U,D=x.length;k<D;k++)U=x[k].getLayout().area,U&&(U<P&&(P=U),U>R&&(R=U));var M=x.area*x.area,B=T*T*L;return M?h(B*R/M,M/(B*P)):Infinity}function v(x,T,L,R,P){var k=T===L.width?0:1,U=1-k,D=["x","y"],M=["width","height"],B=L[D[k]],j=T?x.area/T:0;(P||j>L[M[U]])&&(j=L[M[U]]);for(var H=0,K=x.length;H<K;H++){var W=x[H],X={},V=j?W.getLayout().area/j:0,Z=X[M[U]]=h(j-2*R,0),G=L[D[k]]+L[M[k]]-B,Y=H===K-1||G<V?G:V,te=X[M[k]]=h(Y-2*R,0);X[D[U]]=L[D[U]]+o(R,Z/2),X[D[k]]=B+o(R,te/2),B+=Y,W.setLayout(X,!0)}L[D[U]]+=j,L[M[U]]-=j}function b(x,T,L,R,P){var k=(T||{}).node,U=[R,P];if(!k||k===L)return U;for(var D,M=R*P,B=M*x.option.zoomToNodeRatio;D=k.parentNode;){for(var j=0,H=D.children,K=0,W=H.length;K<W;K++)j+=H[K].getValue();var X=k.getValue();if(X===0)return U;B*=j/X;var V=D.getModel(),Z=V.get(l),G=Math.max(Z,w(V,Z));B+=4*Z*Z+(3*Z+G)*Math.pow(B,.5),B>C&&(B=C),k=D}B<M&&(B=M);var Y=Math.pow(B/M,.5);return[R*Y,P*Y]}function S(x,T,L){if(T)return{x:T.x,y:T.y};var R={x:0,y:0};if(!L)return R;var P=L.node,k=P.getLayout();if(!k)return R;for(var U=[k.width/2,k.height/2],D=P;D;){var M=D.getLayout();U[0]+=M.x,U[1]+=M.y,D=D.parentNode}return{x:x.width/2-U[0],y:x.height/2-U[1]}}function y(x,T,L,R,P){var k=x.getLayout(),U=L[P],D=U&&U===x;if(U&&!D||P===L.length&&x!==R)return;x.setLayout({isInView:!0,invisible:!D&&!T.intersect(k),isAboveViewRoot:D},!0);var M=new _(T.x-k.x,T.y-k.y,T.width,T.height);s(x.viewChildren||[],function(B){y(B,M,L,R,P+1)})}function w(x){return x.get(c)?x.get(e):0}ue.exports=a},nPnh:function(ue,z){var d=Math.round;function O(E,C,t){if(!C)return;var p=C.x1,h=C.x2,o=C.y1,r=C.y2;E.x1=p,E.x2=h,E.y1=o,E.y2=r;var s=t&&t.lineWidth;if(!s)return;d(p*2)===d(h*2)&&(E.x1=E.x2=I(p,s,!0)),d(o*2)===d(r*2)&&(E.y1=E.y2=I(o,s,!0))}function _(E,C,t){if(!C)return;var p=C.x,h=C.y,o=C.width,r=C.height;E.x=p,E.y=h,E.width=o,E.height=r;var s=t&&t.lineWidth;if(!s)return;E.x=I(p,s,!0),E.y=I(h,s,!0),E.width=Math.max(I(p+o,s,!1)-E.x,o===0?0:1),E.height=Math.max(I(h+r,s,!1)-E.y,r===0?0:1)}function I(E,C,t){if(!C)return E;var p=d(E*2);return(p+d(C))%2===0?p/2:(p+(t?1:-1))/2}z.subPixelOptimizeLine=O,z.subPixelOptimizeRect=_,z.subPixelOptimize=I},nRaC:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("0fbx"),E=d.n(I),C=d("OaEy"),t=d("R9oj")},nVfU:function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=_.parsePercent,E=d("7hqr"),C=E.isDimensionStacked,t=d("zM3Q"),p="__ec_stack_",h=.5,o=typeof Float32Array!="undefined"?Float32Array:Array;function r(v){return v.get("stack")||p+v.seriesIndex}function s(v){return v.dim+v.index}function l(v){var b=[],S=v.axis,y="axis0";if(S.type!=="category")return;for(var w=S.getBandWidth(),x=0;x<v.count||0;x++)b.push(O.defaults({bandWidth:w,axisKey:y,stackId:p+x},v));for(var T=a(b),L=[],x=0;x<v.count;x++){var R=T[y][p+x];R.offsetCenter=R.offset+R.width/2,L.push(R)}return L}function n(v,b){var S=[];return b.eachSeriesByType(v,function(y){m(y)&&!A(y)&&S.push(y)}),S}function c(v){var b={};O.each(v,function(R){var P=R.coordinateSystem,k=P.getBaseAxis();if(k.type!=="time"&&k.type!=="value")return;for(var U=R.getData(),D=k.dim+"_"+k.index,M=U.mapDimension(k.dim),B=0,j=U.count();B<j;++B){var H=U.get(M,B);b[D]?b[D].push(H):b[D]=[H]}});var S=[];for(var y in b)if(b.hasOwnProperty(y)){var w=b[y];if(w){w.sort(function(R,P){return R-P});for(var x=null,T=1;T<w.length;++T){var L=w[T]-w[T-1];L>0&&(x=x===null?L:Math.min(x,L))}S[y]=x}}return S}function e(v){var b=c(v),S=[];return O.each(v,function(y){var w=y.coordinateSystem,x=w.getBaseAxis(),T=x.getExtent(),L;if(x.type==="category")L=x.getBandWidth();else if(x.type==="value"||x.type==="time"){var R=x.dim+"_"+x.index,P=b[R],k=Math.abs(T[1]-T[0]),U=x.scale.getExtent(),D=Math.abs(U[1]-U[0]);L=P?k/D*P:k}else{var M=y.getData();L=Math.abs(T[1]-T[0])/M.count()}var B=I(y.get("barWidth"),L),j=I(y.get("barMaxWidth"),L),H=I(y.get("barMinWidth")||1,L),K=y.get("barGap"),W=y.get("barCategoryGap");S.push({bandWidth:L,barWidth:B,barMaxWidth:j,barMinWidth:H,barGap:K,barCategoryGap:W,axisKey:s(x),stackId:r(y)})}),a(S)}function a(v){var b={};O.each(v,function(y,w){var x=y.axisKey,T=y.bandWidth,L=b[x]||{bandWidth:T,remainedWidth:T,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},R=L.stacks;b[x]=L;var P=y.stackId;R[P]||L.autoWidthCount++,R[P]=R[P]||{width:0,maxWidth:0};var k=y.barWidth;k&&!R[P].width&&(R[P].width=k,k=Math.min(L.remainedWidth,k),L.remainedWidth-=k);var U=y.barMaxWidth;U&&(R[P].maxWidth=U);var D=y.barMinWidth;D&&(R[P].minWidth=D);var M=y.barGap;M!=null&&(L.gap=M);var B=y.barCategoryGap;B!=null&&(L.categoryGap=B)});var S={};return O.each(b,function(y,w){S[w]={};var x=y.stacks,T=y.bandWidth,L=I(y.categoryGap,T),R=I(y.gap,1),P=y.remainedWidth,k=y.autoWidthCount,U=(P-L)/(k+(k-1)*R);U=Math.max(U,0),O.each(x,function(j){var H=j.maxWidth,K=j.minWidth;if(j.width){var W=j.width;H&&(W=Math.min(W,H)),K&&(W=Math.max(W,K)),j.width=W,P-=W+R*W,k--}else{var W=U;H&&H<W&&(W=Math.min(H,P)),K&&K>W&&(W=K),W!==U&&(j.width=W,P-=W+R*W,k--)}}),U=(P-L)/(k+(k-1)*R),U=Math.max(U,0);var D=0,M;O.each(x,function(j,H){j.width||(j.width=U),M=j,D+=j.width*(1+R)}),M&&(D-=M.width*R);var B=-D/2;O.each(x,function(j,H){S[w][H]=S[w][H]||{bandWidth:T,offset:B,width:j.width},B+=j.width*(1+R)})}),S}function i(v,b,S){if(v&&b){var y=v[s(b)];return y!=null&&S!=null&&(y=y[r(S)]),y}}function u(v,b){var S=n(v,b),y=e(S),w={},x={};O.each(S,function(T){var L=T.getData(),R=T.coordinateSystem,P=R.getBaseAxis(),k=r(T),U=y[s(P)][k],D=U.offset,M=U.width,B=R.getOtherAxis(P),j=T.get("barMinHeight")||0;w[k]=w[k]||[],x[k]=x[k]||[],L.setLayout({bandWidth:U.bandWidth,offset:D,size:M});for(var H=L.mapDimension(B.dim),K=L.mapDimension(P.dim),W=C(L,H),X=B.isHorizontal(),V=g(P,B,W),Z=0,G=L.count();Z<G;Z++){var Y=L.get(H,Z),te=L.get(K,Z),se=Y>=0?"p":"n",Ce=V;W&&(w[k][te]||(w[k][te]={p:V,n:V}),Ce=w[k][te][se]);var he,xe,ie,ee;if(X){var Ze=R.dataToPoint([Y,te]);he=Ce,xe=Ze[1]+D,ie=Ze[0]-V,ee=M,Math.abs(ie)<j&&(ie=(ie<0?-1:1)*j),isNaN(ie)||W&&(w[k][te][se]+=ie)}else{var Ze=R.dataToPoint([te,Y]);he=Ze[0]+D,xe=Ce,ie=M,ee=Ze[1]-V,Math.abs(ee)<j&&(ee=(ee<=0?-1:1)*j),isNaN(ee)||W&&(w[k][te][se]+=ee)}L.setItemLayout(Z,{x:he,y:xe,width:ie,height:ee})}},this)}var f={seriesType:"bar",plan:t(),reset:function(v){if(!m(v)||!A(v))return;var b=v.getData(),S=v.coordinateSystem,y=S.grid.getRect(),w=S.getBaseAxis(),x=S.getOtherAxis(w),T=b.mapDimension(x.dim),L=b.mapDimension(w.dim),R=x.isHorizontal(),P=R?0:1,k=i(e([v]),w,v).width;return k>h||(k=h),{progress:U};function U(D,M){for(var B=D.count,j=new o(B*2),H=new o(B*2),K=new o(B),W,X=[],V=[],Z=0,G=0;(W=D.next())!=null;)V[P]=M.get(T,W),V[1-P]=M.get(L,W),X=S.dataToPoint(V,null,X),H[Z]=R?y.x+y.width:X[0],j[Z++]=X[0],H[Z]=R?X[1]:y.y+y.height,j[Z++]=X[1],K[G++]=W;M.setLayout({largePoints:j,largeDataIndices:K,largeBackgroundPoints:H,barWidth:k,valueAxisStart:g(w,x,!1),backgroundStart:R?y.x:y.y,valueAxisHorizontal:R})}}};function m(v){return v.coordinateSystem&&v.coordinateSystem.type==="cartesian2d"}function A(v){return v.pipelineContext&&v.pipelineContext.large}function g(v,b,S){return b.toGlobalCoord(b.dataToCoord(b.type==="log"?1:0))}z.getLayoutOnAxis=l,z.prepareLayoutBarSeries=n,z.makeColumnLayout=e,z.retrieveColumnLayout=i,z.layout=u,z.largeLayout=f},ngQI:function(ue,z,d){"use strict";d.d(z,"a",function(){return ac}),d.d(z,"b",function(){return Ac}),d.d(z,"c",function(){return Tr});var O=d("q1tI"),_=d.n(O),I=d("dI71"),E=d("wx14"),C=d("ANjH"),t=d("/MKj");function p(Ee,J){if(Ee.length!==J.length)return!1;for(var Ae=0;Ae<Ee.length;Ae++)if(Ee[Ae]!==J[Ae])return!1;return!0}function h(Ee,J){var Ae=Object(O.useState)(function(){return{inputs:J,result:Ee()}})[0],Pe=Object(O.useRef)(!0),at=Object(O.useRef)(Ae),Ct=Pe.current||Boolean(J&&at.current.inputs&&p(J,at.current.inputs)),It=Ct?at.current:{inputs:J,result:Ee()};return Object(O.useEffect)(function(){Pe.current=!1,at.current=It},[It]),It.result}function o(Ee,J){return h(function(){return Ee},J)}var r=h,s=o,l=d("9R94"),n=function(J){var Ae=J.top,Pe=J.right,at=J.bottom,Ct=J.left,It=Pe-Ct,Rt=at-Ae,Ar={top:Ae,right:Pe,bottom:at,left:Ct,width:It,height:Rt,x:Ct,y:Ae,center:{x:(Pe+Ct)/2,y:(at+Ae)/2}};return Ar},c=function(J,Ae){return{top:J.top-Ae.top,left:J.left-Ae.left,bottom:J.bottom+Ae.bottom,right:J.right+Ae.right}},e=function(J,Ae){return{top:J.top+Ae.top,left:J.left+Ae.left,bottom:J.bottom-Ae.bottom,right:J.right-Ae.right}},a=function(J,Ae){return{top:J.top+Ae.y,left:J.left+Ae.x,bottom:J.bottom+Ae.y,right:J.right+Ae.x}},i={top:0,right:0,bottom:0,left:0},u=function(J){var Ae=J.borderBox,Pe=J.margin,at=Pe===void 0?i:Pe,Ct=J.border,It=Ct===void 0?i:Ct,Rt=J.padding,Ar=Rt===void 0?i:Rt,Lr=n(c(Ae,at)),mr=n(e(Ae,It)),ur=n(e(mr,Ar));return{marginBox:Lr,borderBox:n(Ae),paddingBox:mr,contentBox:ur,margin:at,border:It,padding:Ar}},f=function(J){var Ae=J.slice(0,-2),Pe=J.slice(-2);if(Pe!=="px")return 0;var at=Number(Ae);return isNaN(at)&&Object(l.a)(!1),at},m=function(){return{x:window.pageXOffset,y:window.pageYOffset}},A=function(J,Ae){var Pe=J.borderBox,at=J.border,Ct=J.margin,It=J.padding,Rt=a(Pe,Ae);return u({borderBox:Rt,border:at,margin:Ct,padding:It})},g=function(J,Ae){return Ae===void 0&&(Ae=m()),A(J,Ae)},v=function(J,Ae){var Pe={top:f(Ae.marginTop),right:f(Ae.marginRight),bottom:f(Ae.marginBottom),left:f(Ae.marginLeft)},at={top:f(Ae.paddingTop),right:f(Ae.paddingRight),bottom:f(Ae.paddingBottom),left:f(Ae.paddingLeft)},Ct={top:f(Ae.borderTopWidth),right:f(Ae.borderRightWidth),bottom:f(Ae.borderBottomWidth),left:f(Ae.borderLeftWidth)};return u({borderBox:J,margin:Pe,padding:at,border:Ct})},b=function(J){var Ae=J.getBoundingClientRect(),Pe=window.getComputedStyle(J);return v(Ae,Pe)},S=Number.isNaN||function(J){return typeof J=="number"&&J!==J};function y(Ee,J){return Ee===J?!0:!!(S(Ee)&&S(J))}function w(Ee,J){if(Ee.length!==J.length)return!1;for(var Ae=0;Ae<Ee.length;Ae++)if(!y(Ee[Ae],J[Ae]))return!1;return!0}function x(Ee,J){J===void 0&&(J=w);var Ae,Pe=[],at,Ct=!1;function It(){for(var Rt=[],Ar=0;Ar<arguments.length;Ar++)Rt[Ar]=arguments[Ar];return Ct&&Ae===this&&J(Rt,Pe)||(at=Ee.apply(this,Rt),Ct=!0,Ae=this,Pe=Rt),at}return It}var T=x,L=function(J){var Ae=[],Pe=null,at=function(){for(var It=arguments.length,Rt=new Array(It),Ar=0;Ar<It;Ar++)Rt[Ar]=arguments[Ar];if(Ae=Rt,Pe)return;Pe=requestAnimationFrame(function(){Pe=null,J.apply(void 0,Ae)})};return at.cancel=function(){if(!Pe)return;cancelAnimationFrame(Pe),Pe=null},at},R=L,P=d("i8i4"),k=d.n(P),U=!0,D=/[ \t]{2,}/g,M=/^[ \t]*/gm,B=function(J){return J.replace(D," ").replace(M,"").trim()},j=function(J){return B(`
%creact-beautiful-dnd
%c`+B(J)+`
%c\u{1F477}\u200D This is a development only message. It will be removed in production builds.
`)},H=function(J){return[j(J),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},K="__react-beautiful-dnd-disable-dev-warnings";function W(Ee,J){var Ae;if(U)return;if(typeof window!="undefined"&&window[K])return;(Ae=console)[Ee].apply(Ae,H(J))}var X=W.bind(null,"warn"),V=W.bind(null,"error");function Z(){}function G(Ee,J){return Object(E.a)({},Ee,{},J)}function Y(Ee,J,Ae){var Pe=J.map(function(at){var Ct=G(Ae,at.options);return Ee.addEventListener(at.eventName,at.fn,Ct),function(){Ee.removeEventListener(at.eventName,at.fn,Ct)}});return function(){Pe.forEach(function(Ct){Ct()})}}var te=!0,se="Invariant failed";function Ce(Ee){this.message=Ee}Ce.prototype.toString=function(){return this.message};function he(Ee,J){if(Ee)return;throw te?new Ce(se):new Ce(se+": "+(J||""))}var xe=function(Ee){Object(I.a)(J,Ee);function J(){for(var Pe,at=arguments.length,Ct=new Array(at),It=0;It<at;It++)Ct[It]=arguments[It];return Pe=Ee.call.apply(Ee,[this].concat(Ct))||this,Pe.callbacks=null,Pe.unbind=Z,Pe.onWindowError=function(Rt){var Ar=Pe.getCallbacks();Ar.isDragging()&&Ar.tryAbort();var Lr=Rt.error;Lr instanceof Ce&&Rt.preventDefault()},Pe.getCallbacks=function(){if(!Pe.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return Pe.callbacks},Pe.setCallbacks=function(Rt){Pe.callbacks=Rt},Pe}var Ae=J.prototype;return Ae.componentDidMount=function(){this.unbind=Y(window,[{eventName:"error",fn:this.onWindowError}])},Ae.componentWillUnmount=function(){this.unbind()},Ae.componentDidCatch=function(at){if(at instanceof Ce){this.setState({});return}throw at},Ae.render=function(){return this.props.children(this.setCallbacks)},J}(_.a.Component),ie=`
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
`,ee=function(J){return J+1},Ze=function(J){return`
You have lifted an item in position `+ee(J.source.index)+`
`},Se=function(J,Ae){var Pe=J.droppableId===Ae.droppableId,at=ee(J.index),Ct=ee(Ae.index);return Pe?`
You have moved the item from position `+at+`
to position `+Ct+`
`:`
You have moved the item from position `+at+`
in list `+J.droppableId+`
to list `+Ae.droppableId+`
in position `+Ct+`
`},Ne=function(J,Ae,Pe){var at=Ae.droppableId===Pe.droppableId;return at?`
The item `+J+`
has been combined with `+Pe.draggableId:`
The item `+J+`
in list `+Ae.droppableId+`
has been combined with `+Pe.draggableId+`
in list `+Pe.droppableId+`
`},it=function(J){var Ae=J.destination;if(Ae)return Se(J.source,Ae);var Pe=J.combine;return Pe?Ne(J.draggableId,J.source,Pe):"You are over an area that cannot be dropped on"},Ye=function(J){return`
The item has returned to its starting position
of `+ee(J.index)+`
`},nt=function(J){if(J.reason==="CANCEL")return`
Movement cancelled.
`+Ye(J.source)+`
`;var Ae=J.destination,Pe=J.combine;return Ae?`
You have dropped the item.
`+Se(J.source,Ae)+`
`:Pe?`
You have dropped the item.
`+Ne(J.draggableId,J.source,Pe)+`
`:`
The item has been dropped while not over a drop area.
`+Ye(J.source)+`
`},je={dragHandleUsageInstructions:ie,onDragStart:Ze,onDragUpdate:it,onDragEnd:nt},et={x:0,y:0},He=function(J,Ae){return{x:J.x+Ae.x,y:J.y+Ae.y}},pe=function(J,Ae){return{x:J.x-Ae.x,y:J.y-Ae.y}},ae=function(J,Ae){return J.x===Ae.x&&J.y===Ae.y},re=function(J){return{x:J.x!==0?-J.x:0,y:J.y!==0?-J.y:0}},be=function(J,Ae,Pe){var at;return Pe===void 0&&(Pe=0),at={},at[J]=Ae,at[J==="x"?"y":"x"]=Pe,at},ze=function(J,Ae){return Math.sqrt(Math.pow(Ae.x-J.x,2)+Math.pow(Ae.y-J.y,2))},Ke=function(J,Ae){return Math.min.apply(Math,Ae.map(function(Pe){return ze(J,Pe)}))},Te=function(J){return function(Ae){return{x:J(Ae.x),y:J(Ae.y)}}},gt=function(J,Ae){var Pe=n({top:Math.max(Ae.top,J.top),right:Math.min(Ae.right,J.right),bottom:Math.min(Ae.bottom,J.bottom),left:Math.max(Ae.left,J.left)});return Pe.width<=0||Pe.height<=0?null:Pe},Ue=function(J,Ae){return{top:J.top+Ae.y,left:J.left+Ae.x,bottom:J.bottom+Ae.y,right:J.right+Ae.x}},bt=function(J){return[{x:J.left,y:J.top},{x:J.right,y:J.top},{x:J.left,y:J.bottom},{x:J.right,y:J.bottom}]},wt={top:0,right:0,bottom:0,left:0},Et=function(J,Ae){return Ae?Ue(J,Ae.scroll.diff.displacement):J},xt=function(J,Ae,Pe){if(Pe&&Pe.increasedBy){var at;return Object(E.a)({},J,(at={},at[Ae.end]=J[Ae.end]+Pe.increasedBy[Ae.line],at))}return J},Tt=function(J,Ae){return Ae&&Ae.shouldClipSubject?gt(Ae.pageMarginBox,J):n(J)},Be=function(J){var Ae=J.page,Pe=J.withPlaceholder,at=J.axis,Ct=J.frame,It=Et(Ae.marginBox,Ct),Rt=xt(It,at,Pe),Ar=Tt(Rt,Ct);return{page:Ae,withPlaceholder:Pe,active:Ar}},ce=function(J,Ae){J.frame||he(!1);var Pe=J.frame,at=pe(Ae,Pe.scroll.initial),Ct=re(at),It=Object(E.a)({},Pe,{scroll:{initial:Pe.scroll.initial,current:Ae,diff:{value:at,displacement:Ct},max:Pe.scroll.max}}),Rt=Be({page:J.subject.page,withPlaceholder:J.subject.withPlaceholder,axis:J.axis,frame:It}),Ar=Object(E.a)({},J,{frame:It,subject:Rt});return Ar};function q(Ee){return Number.isInteger?Number.isInteger(Ee):typeof Ee=="number"&&isFinite(Ee)&&Math.floor(Ee)===Ee}function dt(Ee){return Object.values?Object.values(Ee):Object.keys(Ee).map(function(J){return Ee[J]})}function Ve(Ee,J){if(Ee.findIndex)return Ee.findIndex(J);for(var Ae=0;Ae<Ee.length;Ae++)if(J(Ee[Ae]))return Ae;return-1}function de(Ee,J){if(Ee.find)return Ee.find(J);var Ae=Ve(Ee,J);return Ae!==-1?Ee[Ae]:void 0}function Ht(Ee){return Array.prototype.slice.call(Ee)}var tr=T(function(Ee){return Ee.reduce(function(J,Ae){return J[Ae.descriptor.id]=Ae,J},{})}),lt=T(function(Ee){return Ee.reduce(function(J,Ae){return J[Ae.descriptor.id]=Ae,J},{})}),Xt=T(function(Ee){return dt(Ee)}),sr=T(function(Ee){return dt(Ee)}),Kr=T(function(Ee,J){var Ae=sr(J).filter(function(Pe){return Ee===Pe.descriptor.droppableId}).sort(function(Pe,at){return Pe.descriptor.index-at.descriptor.index});return Ae});function rr(Ee){return Ee.at&&Ee.at.type==="REORDER"?Ee.at.destination:null}function nr(Ee){return Ee.at&&Ee.at.type==="COMBINE"?Ee.at.combine:null}var Nt=T(function(Ee,J){return J.filter(function(Ae){return Ae.descriptor.id!==Ee.descriptor.id})}),ot=function(J){var Ae=J.isMovingForward,Pe=J.draggable,at=J.destination,Ct=J.insideDestination,It=J.previousImpact;if(!at.isCombineEnabled)return null;var Rt=rr(It);if(!Rt)return null;function Ar(Vn){var Ei={type:"COMBINE",combine:{draggableId:Vn,droppableId:at.descriptor.id}};return Object(E.a)({},It,{at:Ei})}var Lr=It.displaced.all,mr=Lr.length?Lr[0]:null;if(Ae)return mr?Ar(mr):null;var ur=Nt(Pe,Ct);if(!mr){if(!ur.length)return null;var Cr=ur[ur.length-1];return Ar(Cr.descriptor.id)}var Br=Ve(ur,function(Vn){return Vn.descriptor.id===mr});Br!==-1||he(!1);var an=Br-1;if(an<0)return null;var jn=ur[an];return Ar(jn.descriptor.id)},Qe=function(J,Ae){return J.descriptor.droppableId===Ae.descriptor.id},qt={point:et,value:0},xr={invisible:{},visible:{},all:[]},vr={displaced:xr,displacedBy:qt,at:null},fr=function(J,Ae){return function(Pe){return J<=Pe&&Pe<=Ae}},An=function(J){var Ae=fr(J.top,J.bottom),Pe=fr(J.left,J.right);return function(at){var Ct=Ae(at.top)&&Ae(at.bottom)&&Pe(at.left)&&Pe(at.right);if(Ct)return!0;var It=Ae(at.top)||Ae(at.bottom),Rt=Pe(at.left)||Pe(at.right),Ar=It&&Rt;if(Ar)return!0;var Lr=at.top<J.top&&at.bottom>J.bottom,mr=at.left<J.left&&at.right>J.right,ur=Lr&&mr;if(ur)return!0;var Cr=Lr&&Rt||mr&&It;return Cr}},$r=function(J){var Ae=fr(J.top,J.bottom),Pe=fr(J.left,J.right);return function(at){var Ct=Ae(at.top)&&Ae(at.bottom)&&Pe(at.left)&&Pe(at.right);return Ct}},Ln={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},$e={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},tt=function(J){return function(Ae){var Pe=fr(Ae.top,Ae.bottom),at=fr(Ae.left,Ae.right);return function(Ct){return J===Ln?Pe(Ct.top)&&Pe(Ct.bottom):at(Ct.left)&&at(Ct.right)}}},ve=function(J,Ae){var Pe=Ae.frame?Ae.frame.scroll.diff.displacement:et;return Ue(J,Pe)},_e=function(J,Ae,Pe){return Ae.subject.active?Pe(Ae.subject.active)(J):!1},ke=function(J,Ae,Pe){return Pe(Ae)(J)},rt=function(J){var Ae=J.target,Pe=J.destination,at=J.viewport,Ct=J.withDroppableDisplacement,It=J.isVisibleThroughFrameFn,Rt=Ct?ve(Ae,Pe):Ae;return _e(Rt,Pe,It)&&ke(Rt,at,It)},Wt=function(J){return rt(Object(E.a)({},J,{isVisibleThroughFrameFn:An}))},Bt=function(J){return rt(Object(E.a)({},J,{isVisibleThroughFrameFn:$r}))},Gt=function(J){return rt(Object(E.a)({},J,{isVisibleThroughFrameFn:tt(J.destination.axis)}))},Rr=function(J,Ae,Pe){if(typeof Pe=="boolean")return Pe;if(!Ae)return!0;var at=Ae.invisible,Ct=Ae.visible;if(at[J])return!1;var It=Ct[J];return It?It.shouldAnimate:!0};function Pr(Ee,J){var Ae=Ee.page.marginBox,Pe={top:J.point.y,right:0,bottom:0,left:J.point.x};return n(c(Ae,Pe))}function cn(Ee){var J=Ee.afterDragging,Ae=Ee.destination,Pe=Ee.displacedBy,at=Ee.viewport,Ct=Ee.forceShouldAnimate,It=Ee.last;return J.reduce(function(Ar,Lr){var mr=Pr(Lr,Pe),ur=Lr.descriptor.id;Ar.all.push(ur);var Cr=Wt({target:mr,destination:Ae,viewport:at,withDroppableDisplacement:!0});if(!Cr)return Ar.invisible[Lr.descriptor.id]=!0,Ar;var Br=Rr(ur,It,Ct),an={draggableId:ur,shouldAnimate:Br};return Ar.visible[ur]=an,Ar},{all:[],visible:{},invisible:{}})}function Ut(Ee,J){if(!Ee.length)return 0;var Ae=Ee[Ee.length-1].descriptor.index;return J.inHomeList?Ae:Ae+1}function pt(Ee){var J=Ee.insideDestination,Ae=Ee.inHomeList,Pe=Ee.displacedBy,at=Ee.destination,Ct=Ut(J,{inHomeList:Ae});return{displaced:xr,displacedBy:Pe,at:{type:"REORDER",destination:{droppableId:at.descriptor.id,index:Ct}}}}function ct(Ee){var J=Ee.draggable,Ae=Ee.insideDestination,Pe=Ee.destination,at=Ee.viewport,Ct=Ee.displacedBy,It=Ee.last,Rt=Ee.index,Ar=Ee.forceShouldAnimate,Lr=Qe(J,Pe);if(Rt==null)return pt({insideDestination:Ae,inHomeList:Lr,displacedBy:Ct,destination:Pe});var mr=de(Ae,function(jn){return jn.descriptor.index===Rt});if(!mr)return pt({insideDestination:Ae,inHomeList:Lr,displacedBy:Ct,destination:Pe});var ur=Nt(J,Ae),Cr=Ae.indexOf(mr),Br=ur.slice(Cr),an=cn({afterDragging:Br,destination:Pe,displacedBy:Ct,last:It,viewport:at.frame,forceShouldAnimate:Ar});return{displaced:an,displacedBy:Ct,at:{type:"REORDER",destination:{droppableId:Pe.descriptor.id,index:Rt}}}}function Qt(Ee,J){return Boolean(J.effected[Ee])}var Jt=function(J){var Ae=J.isMovingForward,Pe=J.destination,at=J.draggables,Ct=J.combine,It=J.afterCritical;if(!Pe.isCombineEnabled)return null;var Rt=Ct.draggableId,Ar=at[Rt],Lr=Ar.descriptor.index,mr=Qt(Rt,It);return mr?Ae?Lr:Lr-1:Ae?Lr+1:Lr},yt=function(J){var Ae=J.isMovingForward,Pe=J.isInHomeList,at=J.insideDestination,Ct=J.location;if(!at.length)return null;var It=Ct.index,Rt=Ae?It+1:It-1,Ar=at[0].descriptor.index,Lr=at[at.length-1].descriptor.index,mr=Pe?Lr:Lr+1;return Rt<Ar||Rt>mr?null:Rt},Pt=function(J){var Ae=J.isMovingForward,Pe=J.isInHomeList,at=J.draggable,Ct=J.draggables,It=J.destination,Rt=J.insideDestination,Ar=J.previousImpact,Lr=J.viewport,mr=J.afterCritical,ur=Ar.at;if(ur||he(!1),ur.type==="REORDER"){var Cr=yt({isMovingForward:Ae,isInHomeList:Pe,location:ur.destination,insideDestination:Rt});return Cr==null?null:ct({draggable:at,insideDestination:Rt,destination:It,viewport:Lr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Cr})}var Br=Jt({isMovingForward:Ae,destination:It,displaced:Ar.displaced,draggables:Ct,combine:ur.combine,afterCritical:mr});return Br==null?null:ct({draggable:at,insideDestination:Rt,destination:It,viewport:Lr,last:Ar.displaced,displacedBy:Ar.displacedBy,index:Br})},At=function(J){var Ae=J.displaced,Pe=J.afterCritical,at=J.combineWith,Ct=J.displacedBy,It=Boolean(Ae.visible[at]||Ae.invisible[at]);return Qt(at,Pe)?It?et:re(Ct.point):It?Ct.point:et},Ft=function(J){var Ae=J.afterCritical,Pe=J.impact,at=J.draggables,Ct=nr(Pe);Ct||he(!1);var It=Ct.draggableId,Rt=at[It].page.borderBox.center,Ar=At({displaced:Pe.displaced,afterCritical:Ae,combineWith:It,displacedBy:Pe.displacedBy});return He(Rt,Ar)},pr=function(J,Ae){return Ae.margin[J.start]+Ae.borderBox[J.size]/2},or=function(J,Ae){return Ae.margin[J.end]+Ae.borderBox[J.size]/2},ir=function(J,Ae,Pe){return Ae[J.crossAxisStart]+Pe.margin[J.crossAxisStart]+Pe.borderBox[J.crossAxisSize]/2},Yr=function(J){var Ae=J.axis,Pe=J.moveRelativeTo,at=J.isMoving;return be(Ae.line,Pe.marginBox[Ae.end]+pr(Ae,at),ir(Ae,Pe.marginBox,at))},Jr=function(J){var Ae=J.axis,Pe=J.moveRelativeTo,at=J.isMoving;return be(Ae.line,Pe.marginBox[Ae.start]-or(Ae,at),ir(Ae,Pe.marginBox,at))},_n=function(J){var Ae=J.axis,Pe=J.moveInto,at=J.isMoving;return be(Ae.line,Pe.contentBox[Ae.start]+pr(Ae,at),ir(Ae,Pe.contentBox,at))},Nn=function(J){var Ae=J.impact,Pe=J.draggable,at=J.draggables,Ct=J.droppable,It=J.afterCritical,Rt=Kr(Ct.descriptor.id,at),Ar=Pe.page,Lr=Ct.axis;if(!Rt.length)return _n({axis:Lr,moveInto:Ct.page,isMoving:Ar});var mr=Ae.displaced,ur=Ae.displacedBy,Cr=mr.all[0];if(Cr){var Br=at[Cr];if(Qt(Cr,It))return Jr({axis:Lr,moveRelativeTo:Br.page,isMoving:Ar});var an=A(Br.page,ur.point);return Jr({axis:Lr,moveRelativeTo:an,isMoving:Ar})}var jn=Rt[Rt.length-1];if(jn.descriptor.id===Pe.descriptor.id)return Ar.borderBox.center;if(Qt(jn.descriptor.id,It)){var Vn=A(jn.page,re(It.displacedBy.point));return Yr({axis:Lr,moveRelativeTo:Vn,isMoving:Ar})}return Yr({axis:Lr,moveRelativeTo:jn.page,isMoving:Ar})},zn=function(J,Ae){var Pe=J.frame;return Pe?He(Ae,Pe.scroll.diff.displacement):Ae},ei=function(J){var Ae=J.impact,Pe=J.draggable,at=J.droppable,Ct=J.draggables,It=J.afterCritical,Rt=Pe.page.borderBox.center,Ar=Ae.at;return at&&Ar?Ar.type==="REORDER"?Nn({impact:Ae,draggable:Pe,draggables:Ct,droppable:at,afterCritical:It}):Ft({impact:Ae,draggables:Ct,afterCritical:It}):Rt},vi=function(J){var Ae=ei(J),Pe=J.droppable,at=Pe?zn(Pe,Ae):Ae;return at},Pi=function(J,Ae){var Pe=pe(Ae,J.scroll.initial),at=re(Pe),Ct=n({top:Ae.y,bottom:Ae.y+J.frame.height,left:Ae.x,right:Ae.x+J.frame.width}),It={frame:Ct,scroll:{initial:J.scroll.initial,max:J.scroll.max,current:Ae,diff:{value:Pe,displacement:at}}};return It};function Ge(Ee,J){return Ee.map(function(Ae){return J[Ae]})}function we(Ee,J){for(var Ae=0;Ae<J.length;Ae++){var Pe=J[Ae].visible[Ee];if(Pe)return Pe}return null}var Le=function(J){var Ae=J.impact,Pe=J.viewport,at=J.destination,Ct=J.draggables,It=J.maxScrollChange,Rt=Pi(Pe,He(Pe.scroll.current,It)),Ar=at.frame?ce(at,He(at.frame.scroll.current,It)):at,Lr=Ae.displaced,mr=cn({afterDragging:Ge(Lr.all,Ct),destination:at,displacedBy:Ae.displacedBy,viewport:Rt.frame,last:Lr,forceShouldAnimate:!1}),ur=cn({afterDragging:Ge(Lr.all,Ct),destination:Ar,displacedBy:Ae.displacedBy,viewport:Pe.frame,last:Lr,forceShouldAnimate:!1}),Cr={},Br={},an=[Lr,mr,ur];Lr.all.forEach(function(Vn){var Ei=we(Vn,an);if(Ei){Br[Vn]=Ei;return}Cr[Vn]=!0});var jn=Object(E.a)({},Ae,{displaced:{all:Lr.all,invisible:Cr,visible:Br}});return jn},De=function(J,Ae){return He(J.scroll.diff.displacement,Ae)},We=function(J){var Ae=J.pageBorderBoxCenter,Pe=J.draggable,at=J.viewport,Ct=De(at,Ae),It=pe(Ct,Pe.page.borderBox.center);return He(Pe.client.borderBox.center,It)},Fe=function(J){var Ae=J.draggable,Pe=J.destination,at=J.newPageBorderBoxCenter,Ct=J.viewport,It=J.withDroppableDisplacement,Rt=J.onlyOnMainAxis,Ar=Rt===void 0?!1:Rt,Lr=pe(at,Ae.page.borderBox.center),mr=Ue(Ae.page.borderBox,Lr),ur={target:mr,destination:Pe,withDroppableDisplacement:It,viewport:Ct};return Ar?Gt(ur):Bt(ur)},Je=function(J){var Ae=J.isMovingForward,Pe=J.draggable,at=J.destination,Ct=J.draggables,It=J.previousImpact,Rt=J.viewport,Ar=J.previousPageBorderBoxCenter,Lr=J.previousClientSelection,mr=J.afterCritical;if(!at.isEnabled)return null;var ur=Kr(at.descriptor.id,Ct),Cr=Qe(Pe,at),Br=ot({isMovingForward:Ae,draggable:Pe,destination:at,insideDestination:ur,previousImpact:It})||Pt({isMovingForward:Ae,isInHomeList:Cr,draggable:Pe,draggables:Ct,destination:at,insideDestination:ur,previousImpact:It,viewport:Rt,afterCritical:mr});if(!Br)return null;var an=vi({impact:Br,draggable:Pe,droppable:at,draggables:Ct,afterCritical:mr}),jn=Fe({draggable:Pe,destination:at,newPageBorderBoxCenter:an,viewport:Rt.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});if(jn){var Vn=We({pageBorderBoxCenter:an,draggable:Pe,viewport:Rt});return{clientSelection:Vn,impact:Br,scrollJumpRequest:null}}var Ei=pe(an,Ar),di=Le({impact:Br,viewport:Rt,destination:at,draggables:Ct,maxScrollChange:Ei});return{clientSelection:Lr,impact:di,scrollJumpRequest:Ei}},vt=function(J){var Ae=J.subject.active;return Ae||he(!1),Ae},st=function(J){var Ae=J.isMovingForward,Pe=J.pageBorderBoxCenter,at=J.source,Ct=J.droppables,It=J.viewport,Rt=at.subject.active;if(!Rt)return null;var Ar=at.axis,Lr=fr(Rt[Ar.start],Rt[Ar.end]),mr=Xt(Ct).filter(function(Cr){return Cr!==at}).filter(function(Cr){return Cr.isEnabled}).filter(function(Cr){return Boolean(Cr.subject.active)}).filter(function(Cr){return An(It.frame)(vt(Cr))}).filter(function(Cr){var Br=vt(Cr);return Ae?Rt[Ar.crossAxisEnd]<Br[Ar.crossAxisEnd]:Br[Ar.crossAxisStart]<Rt[Ar.crossAxisStart]}).filter(function(Cr){var Br=vt(Cr),an=fr(Br[Ar.start],Br[Ar.end]);return Lr(Br[Ar.start])||Lr(Br[Ar.end])||an(Rt[Ar.start])||an(Rt[Ar.end])}).sort(function(Cr,Br){var an=vt(Cr)[Ar.crossAxisStart],jn=vt(Br)[Ar.crossAxisStart];return Ae?an-jn:jn-an}).filter(function(Cr,Br,an){return vt(Cr)[Ar.crossAxisStart]===vt(an[0])[Ar.crossAxisStart]});if(!mr.length)return null;if(mr.length===1)return mr[0];var ur=mr.filter(function(Cr){var Br=fr(vt(Cr)[Ar.start],vt(Cr)[Ar.end]);return Br(Pe[Ar.line])});return ur.length===1?ur[0]:ur.length>1?ur.sort(function(Cr,Br){return vt(Cr)[Ar.start]-vt(Br)[Ar.start]})[0]:mr.sort(function(Cr,Br){var an=Ke(Pe,bt(vt(Cr))),jn=Ke(Pe,bt(vt(Br)));return an!==jn?an-jn:vt(Cr)[Ar.start]-vt(Br)[Ar.start]})[0]},kt=function(J,Ae){var Pe=J.page.borderBox.center;return Qt(J.descriptor.id,Ae)?pe(Pe,Ae.displacedBy.point):Pe},wr=function(J,Ae){var Pe=J.page.borderBox;return Qt(J.descriptor.id,Ae)?Ue(Pe,re(Ae.displacedBy.point)):Pe},hr=function(J){var Ae=J.pageBorderBoxCenter,Pe=J.viewport,at=J.destination,Ct=J.insideDestination,It=J.afterCritical,Rt=Ct.filter(function(Ar){return Bt({target:wr(Ar,It),destination:at,viewport:Pe.frame,withDroppableDisplacement:!0})}).sort(function(Ar,Lr){var mr=ze(Ae,zn(at,kt(Ar,It))),ur=ze(Ae,zn(at,kt(Lr,It)));return mr<ur?-1:ur<mr?1:Ar.descriptor.index-Lr.descriptor.index});return Rt[0]||null},Nr=T(function(J,Ae){var Pe=Ae[J.line];return{value:Pe,point:be(J.line,Pe)}}),Kt=function(J,Ae,Pe){var at=J.axis;if(J.descriptor.mode==="virtual")return be(at.line,Ae[at.line]);var Ct=J.subject.page.contentBox[at.size],It=Kr(J.descriptor.id,Pe),Rt=It.reduce(function(mr,ur){return mr+ur.client.marginBox[at.size]},0),Ar=Rt+Ae[at.line],Lr=Ar-Ct;return Lr<=0?null:be(at.line,Lr)},un=function(J,Ae){return Object(E.a)({},J,{scroll:Object(E.a)({},J.scroll,{max:Ae})})},ar=function(J,Ae,Pe){var at=J.frame;Qe(Ae,J)&&he(!1),J.subject.withPlaceholder&&he(!1);var Ct=Nr(J.axis,Ae.displaceBy).point,It=Kt(J,Ct,Pe),Rt={placeholderSize:Ct,increasedBy:It,oldFrameMaxScroll:J.frame?J.frame.scroll.max:null};if(!at){var Ar=Be({page:J.subject.page,withPlaceholder:Rt,axis:J.axis,frame:J.frame});return Object(E.a)({},J,{subject:Ar})}var Lr=It?He(at.scroll.max,It):at.scroll.max,mr=un(at,Lr),ur=Be({page:J.subject.page,withPlaceholder:Rt,axis:J.axis,frame:mr});return Object(E.a)({},J,{subject:ur,frame:mr})},Xr=function(J){var Ae=J.subject.withPlaceholder;Ae||he(!1);var Pe=J.frame;if(!Pe){var at=Be({page:J.subject.page,axis:J.axis,frame:null,withPlaceholder:null});return Object(E.a)({},J,{subject:at})}var Ct=Ae.oldFrameMaxScroll;Ct||he(!1);var It=un(Pe,Ct),Rt=Be({page:J.subject.page,axis:J.axis,frame:It,withPlaceholder:null});return Object(E.a)({},J,{subject:Rt,frame:It})},kr=function(J){var Ae=J.previousPageBorderBoxCenter,Pe=J.moveRelativeTo,at=J.insideDestination,Ct=J.draggable,It=J.draggables,Rt=J.destination,Ar=J.viewport,Lr=J.afterCritical;if(!Pe){if(at.length)return null;var mr={displaced:xr,displacedBy:qt,at:{type:"REORDER",destination:{droppableId:Rt.descriptor.id,index:0}}},ur=vi({impact:mr,draggable:Ct,droppable:Rt,draggables:It,afterCritical:Lr}),Cr=Qe(Ct,Rt)?Rt:ar(Rt,Ct,It),Br=Fe({draggable:Ct,destination:Cr,newPageBorderBoxCenter:ur,viewport:Ar.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0});return Br?mr:null}var an=Boolean(Ae[Rt.axis.line]<=Pe.page.borderBox.center[Rt.axis.line]),jn=function(){var Ei=Pe.descriptor.index;return Pe.descriptor.id===Ct.descriptor.id||an?Ei:Ei+1}(),Vn=Nr(Rt.axis,Ct.displaceBy);return ct({draggable:Ct,insideDestination:at,destination:Rt,viewport:Ar,displacedBy:Vn,last:xr,index:jn})},gr=function(J){var Ae=J.isMovingForward,Pe=J.previousPageBorderBoxCenter,at=J.draggable,Ct=J.isOver,It=J.draggables,Rt=J.droppables,Ar=J.viewport,Lr=J.afterCritical,mr=st({isMovingForward:Ae,pageBorderBoxCenter:Pe,source:Ct,droppables:Rt,viewport:Ar});if(!mr)return null;var ur=Kr(mr.descriptor.id,It),Cr=hr({pageBorderBoxCenter:Pe,viewport:Ar,destination:mr,insideDestination:ur,afterCritical:Lr}),Br=kr({previousPageBorderBoxCenter:Pe,destination:mr,draggable:at,draggables:It,moveRelativeTo:Cr,insideDestination:ur,viewport:Ar,afterCritical:Lr});if(!Br)return null;var an=vi({impact:Br,draggable:at,droppable:mr,draggables:It,afterCritical:Lr}),jn=We({pageBorderBoxCenter:an,draggable:at,viewport:Ar});return{clientSelection:jn,impact:Br,scrollJumpRequest:null}},Sn=function(J){var Ae=J.at;return Ae?Ae.type==="REORDER"?Ae.destination.droppableId:Ae.combine.droppableId:null},Pn=function(J,Ae){var Pe=Sn(J);return Pe?Ae[Pe]:null},ii=function(J){var Ae=J.state,Pe=J.type,at=Pn(Ae.impact,Ae.dimensions.droppables),Ct=Boolean(at),It=Ae.dimensions.droppables[Ae.critical.droppable.id],Rt=at||It,Ar=Rt.axis.direction,Lr=Ar==="vertical"&&(Pe==="MOVE_UP"||Pe==="MOVE_DOWN")||Ar==="horizontal"&&(Pe==="MOVE_LEFT"||Pe==="MOVE_RIGHT");if(Lr&&!Ct)return null;var mr=Pe==="MOVE_DOWN"||Pe==="MOVE_RIGHT",ur=Ae.dimensions.draggables[Ae.critical.draggable.id],Cr=Ae.current.page.borderBoxCenter,Br=Ae.dimensions,an=Br.draggables,jn=Br.droppables;return Lr?Je({isMovingForward:mr,previousPageBorderBoxCenter:Cr,draggable:ur,destination:Rt,draggables:an,viewport:Ae.viewport,previousClientSelection:Ae.current.client.selection,previousImpact:Ae.impact,afterCritical:Ae.afterCritical}):gr({isMovingForward:mr,previousPageBorderBoxCenter:Cr,draggable:ur,isOver:Rt,draggables:an,droppables:jn,viewport:Ae.viewport,afterCritical:Ae.afterCritical})};function oi(Ee){return Ee.phase==="DRAGGING"||Ee.phase==="COLLECTING"}function ti(Ee){var J=fr(Ee.top,Ee.bottom),Ae=fr(Ee.left,Ee.right);return function(at){return J(at.y)&&Ae(at.x)}}function bi(Ee,J){return Ee.left<J.right&&Ee.right>J.left&&Ee.top<J.bottom&&Ee.bottom>J.top}function Bn(Ee){var J=Ee.pageBorderBox,Ae=Ee.draggable,Pe=Ee.candidates,at=Ae.page.borderBox.center,Ct=Pe.map(function(It){var Rt=It.axis,Ar=be(It.axis.line,J.center[Rt.line],It.page.borderBox.center[Rt.crossAxisLine]);return{id:It.descriptor.id,distance:ze(at,Ar)}}).sort(function(It,Rt){return Rt.distance-It.distance});return Ct[0]?Ct[0].id:null}function _i(Ee){var J=Ee.pageBorderBox,Ae=Ee.draggable,Pe=Ee.droppables,at=Xt(Pe).filter(function(Ct){if(!Ct.isEnabled)return!1;var It=Ct.subject.active;if(!It)return!1;if(!bi(J,It))return!1;if(ti(It)(J.center))return!0;var Rt=Ct.axis,Ar=It.center[Rt.crossAxisLine],Lr=J[Rt.crossAxisStart],mr=J[Rt.crossAxisEnd],ur=fr(It[Rt.crossAxisStart],It[Rt.crossAxisEnd]),Cr=ur(Lr),Br=ur(mr);return!Cr&&!Br?!0:Cr?Lr<Ar:mr>Ar});return at.length?at.length===1?at[0].descriptor.id:Bn({pageBorderBox:J,draggable:Ae,candidates:at}):null}var gn=function(J,Ae){return n(Ue(J,Ae))},Vr=function(J,Ae){var Pe=J.frame;return Pe?gn(Ae,Pe.scroll.diff.value):Ae};function xn(Ee){var J=Ee.displaced,Ae=Ee.id;return Boolean(J.visible[Ae]||J.invisible[Ae])}function tn(Ee){var J=Ee.draggable,Ae=Ee.closest,Pe=Ee.inHomeList;return Ae?Pe&&Ae.descriptor.index>J.descriptor.index?Ae.descriptor.index-1:Ae.descriptor.index:null}var ui=function(J){var Ae=J.pageBorderBoxWithDroppableScroll,Pe=J.draggable,at=J.destination,Ct=J.insideDestination,It=J.last,Rt=J.viewport,Ar=J.afterCritical,Lr=at.axis,mr=Nr(at.axis,Pe.displaceBy),ur=mr.value,Cr=Ae[Lr.start],Br=Ae[Lr.end],an=Nt(Pe,Ct),jn=de(an,function(Ei){var di=Ei.descriptor.id,ua=Ei.page.borderBox.center[Lr.line],ji=Qt(di,Ar),Ta=xn({displaced:It,id:di});return ji?Ta?Br<=ua:Cr<ua-ur:Ta?Br<=ua+ur:Cr<ua}),Vn=tn({draggable:Pe,closest:jn,inHomeList:Qe(Pe,at)});return ct({draggable:Pe,insideDestination:Ct,destination:at,viewport:Rt,last:It,displacedBy:mr,index:Vn})},qn=4,wi=function(J){var Ae=J.draggable,Pe=J.pageBorderBoxWithDroppableScroll,at=J.previousImpact,Ct=J.destination,It=J.insideDestination,Rt=J.afterCritical;if(!Ct.isCombineEnabled)return null;var Ar=Ct.axis,Lr=Nr(Ct.axis,Ae.displaceBy),mr=Lr.value,ur=Pe[Ar.start],Cr=Pe[Ar.end],Br=Nt(Ae,It),an=de(Br,function(Vn){var Ei=Vn.descriptor.id,di=Vn.page.borderBox,ua=di[Ar.size],ji=ua/qn,Ta=Qt(Ei,Rt),ha=xn({displaced:at.displaced,id:Ei});return Ta?ha?Cr>di[Ar.start]+ji&&Cr<di[Ar.end]-ji:ur>di[Ar.start]-mr+ji&&ur<di[Ar.end]-mr-ji:ha?Cr>di[Ar.start]+mr+ji&&Cr<di[Ar.end]+mr-ji:ur>di[Ar.start]+ji&&ur<di[Ar.end]-ji});if(!an)return null;var jn={displacedBy:Lr,displaced:at.displaced,at:{type:"COMBINE",combine:{draggableId:an.descriptor.id,droppableId:Ct.descriptor.id}}};return jn},Qn=function(J){var Ae=J.pageOffset,Pe=J.draggable,at=J.draggables,Ct=J.droppables,It=J.previousImpact,Rt=J.viewport,Ar=J.afterCritical,Lr=gn(Pe.page.borderBox,Ae),mr=_i({pageBorderBox:Lr,draggable:Pe,droppables:Ct});if(!mr)return vr;var ur=Ct[mr],Cr=Kr(ur.descriptor.id,at),Br=Vr(ur,Lr);return wi({pageBorderBoxWithDroppableScroll:Br,draggable:Pe,previousImpact:It,destination:ur,insideDestination:Cr,afterCritical:Ar})||ui({pageBorderBoxWithDroppableScroll:Br,draggable:Pe,destination:ur,insideDestination:Cr,last:It.displaced,viewport:Rt,afterCritical:Ar})},Hi=function(J,Ae){var Pe;return Object(E.a)({},J,(Pe={},Pe[Ae.descriptor.id]=Ae,Pe))},ri=function(J){var Ae=J.previousImpact,Pe=J.impact,at=J.droppables,Ct=Sn(Ae),It=Sn(Pe);if(!Ct)return at;if(Ct===It)return at;var Rt=at[Ct];if(!Rt.subject.withPlaceholder)return at;var Ar=Xr(Rt);return Hi(at,Ar)},Mi=function(J){var Ae=J.draggable,Pe=J.draggables,at=J.droppables,Ct=J.previousImpact,It=J.impact,Rt=ri({previousImpact:Ct,impact:It,droppables:at}),Ar=Sn(It);if(!Ar)return Rt;var Lr=at[Ar];if(Qe(Ae,Lr))return Rt;if(Lr.subject.withPlaceholder)return Rt;var mr=ar(Lr,Ae,Pe);return Hi(Rt,mr)},dn=function(J){var Ae=J.state,Pe=J.clientSelection,at=J.dimensions,Ct=J.viewport,It=J.impact,Rt=J.scrollJumpRequest,Ar=Ct||Ae.viewport,Lr=at||Ae.dimensions,mr=Pe||Ae.current.client.selection,ur=pe(mr,Ae.initial.client.selection),Cr={offset:ur,selection:mr,borderBoxCenter:He(Ae.initial.client.borderBoxCenter,ur)},Br={selection:He(Cr.selection,Ar.scroll.current),borderBoxCenter:He(Cr.borderBoxCenter,Ar.scroll.current),offset:He(Cr.offset,Ar.scroll.diff.value)},an={client:Cr,page:Br};if(Ae.phase==="COLLECTING")return Object(E.a)({phase:"COLLECTING"},Ae,{dimensions:Lr,viewport:Ar,current:an});var jn=Lr.draggables[Ae.critical.draggable.id],Vn=It||Qn({pageOffset:Br.offset,draggable:jn,draggables:Lr.draggables,droppables:Lr.droppables,previousImpact:Ae.impact,viewport:Ar,afterCritical:Ae.afterCritical}),Ei=Mi({draggable:jn,impact:Vn,previousImpact:Ae.impact,draggables:Lr.draggables,droppables:Lr.droppables}),di=Object(E.a)({},Ae,{current:an,dimensions:{draggables:Lr.draggables,droppables:Ei},impact:Vn,viewport:Ar,scrollJumpRequest:Rt||null,forceShouldAnimate:Rt?!1:null});return di};function Fr(Ee,J){return Ee.map(function(Ae){return J[Ae]})}var bn=function(J){var Ae=J.impact,Pe=J.viewport,at=J.draggables,Ct=J.destination,It=J.forceShouldAnimate,Rt=Ae.displaced,Ar=Fr(Rt.all,at),Lr=cn({afterDragging:Ar,destination:Ct,displacedBy:Ae.displacedBy,viewport:Pe.frame,forceShouldAnimate:It,last:Rt});return Object(E.a)({},Ae,{displaced:Lr})},Mn=function(J){var Ae=J.impact,Pe=J.draggable,at=J.droppable,Ct=J.draggables,It=J.viewport,Rt=J.afterCritical,Ar=vi({impact:Ae,draggable:Pe,draggables:Ct,droppable:at,afterCritical:Rt});return We({pageBorderBoxCenter:Ar,draggable:Pe,viewport:It})},Xn=function(J){var Ae=J.state,Pe=J.dimensions,at=J.viewport;Ae.movementMode==="SNAP"||he(!1);var Ct=Ae.impact,It=at||Ae.viewport,Rt=Pe||Ae.dimensions,Ar=Rt.draggables,Lr=Rt.droppables,mr=Ar[Ae.critical.draggable.id],ur=Sn(Ct);ur||he(!1);var Cr=Lr[ur],Br=bn({impact:Ct,viewport:It,destination:Cr,draggables:Ar}),an=Mn({impact:Br,draggable:mr,droppable:Cr,draggables:Ar,viewport:It,afterCritical:Ae.afterCritical});return dn({impact:Br,clientSelection:an,state:Ae,dimensions:Rt,viewport:It})},$n=function(J){return{index:J.index,droppableId:J.droppableId}},hi=function(J){var Ae=J.draggable,Pe=J.home,at=J.draggables,Ct=J.viewport,It=Nr(Pe.axis,Ae.displaceBy),Rt=Kr(Pe.descriptor.id,at),Ar=Rt.indexOf(Ae);Ar!==-1||he(!1);var Lr=Rt.slice(Ar+1),mr=Lr.reduce(function(an,jn){return an[jn.descriptor.id]=!0,an},{}),ur={inVirtualList:Pe.descriptor.mode==="virtual",displacedBy:It,effected:mr},Cr=cn({afterDragging:Lr,destination:Pe,displacedBy:It,last:null,viewport:Ct.frame,forceShouldAnimate:!1}),Br={displaced:Cr,displacedBy:It,at:{type:"REORDER",destination:$n(Ae.descriptor)}};return{impact:Br,afterCritical:ur}},fi=function(J,Ae){return{draggables:J.draggables,droppables:Hi(J.droppables,Ae)}},gi=function(J){},Wi=function(J){},na=function(J){var Ae=J.draggable,Pe=J.offset,at=J.initialWindowScroll,Ct=A(Ae.client,Pe),It=g(Ct,at),Rt=Object(E.a)({},Ae,{placeholder:Object(E.a)({},Ae.placeholder,{client:Ct}),client:Ct,page:It});return Rt},$i=function(J){var Ae=J.frame;return Ae||he(!1),Ae},Ha=function(J){var Ae=J.additions,Pe=J.updatedDroppables,at=J.viewport,Ct=at.scroll.diff.value;return Ae.map(function(It){var Rt=It.descriptor.droppableId,Ar=Pe[Rt],Lr=$i(Ar),mr=Lr.scroll.diff.value,ur=He(Ct,mr),Cr=na({draggable:It,offset:ur,initialWindowScroll:at.scroll.initial});return Cr})},pi=function(J){var Ae=J.state,Pe=J.published;gi();var at=Pe.modified.map(function(ji){var Ta=Ae.dimensions.droppables[ji.droppableId],ha=ce(Ta,ji.scroll);return ha}),Ct=Object(E.a)({},Ae.dimensions.droppables,{},tr(at)),It=lt(Ha({additions:Pe.additions,updatedDroppables:Ct,viewport:Ae.viewport})),Rt=Object(E.a)({},Ae.dimensions.draggables,{},It);Pe.removals.forEach(function(ji){delete Rt[ji]});var Ar={droppables:Ct,draggables:Rt},Lr=Sn(Ae.impact),mr=Lr?Ar.droppables[Lr]:null,ur=Ar.draggables[Ae.critical.draggable.id],Cr=Ar.droppables[Ae.critical.droppable.id],Br=hi({draggable:ur,home:Cr,draggables:Rt,viewport:Ae.viewport}),an=Br.impact,jn=Br.afterCritical,Vn=mr&&mr.isCombineEnabled?Ae.impact:an,Ei=Qn({pageOffset:Ae.current.page.offset,draggable:Ar.draggables[Ae.critical.draggable.id],draggables:Ar.draggables,droppables:Ar.droppables,previousImpact:Vn,viewport:Ae.viewport,afterCritical:jn});Wi();var di=Object(E.a)({phase:"DRAGGING"},Ae,{phase:"DRAGGING",impact:Ei,onLiftImpact:an,dimensions:Ar,afterCritical:jn,forceShouldAnimate:!1});if(Ae.phase==="COLLECTING")return di;var ua=Object(E.a)({phase:"DROP_PENDING"},di,{phase:"DROP_PENDING",reason:Ae.reason,isWaiting:!1});return ua},ln=function(J){return J.movementMode==="SNAP"},Ii=function(J,Ae,Pe){var at=fi(J.dimensions,Ae);return!ln(J)||Pe?dn({state:J,dimensions:at}):Xn({state:J,dimensions:at})};function Ji(Ee){return Ee.isDragging&&Ee.movementMode==="SNAP"?Object(E.a)({phase:"DRAGGING"},Ee,{scrollJumpRequest:null}):Ee}var Fi={phase:"IDLE",completed:null,shouldFlush:!1},ea=function(J,Ae){if(J===void 0&&(J=Fi),Ae.type==="FLUSH")return Object(E.a)({},Fi,{shouldFlush:!0});if(Ae.type==="INITIAL_PUBLISH"){J.phase==="IDLE"||he(!1);var Pe=Ae.payload,at=Pe.critical,Ct=Pe.clientSelection,It=Pe.viewport,Rt=Pe.dimensions,Ar=Pe.movementMode,Lr=Rt.draggables[at.draggable.id],mr=Rt.droppables[at.droppable.id],ur={selection:Ct,borderBoxCenter:Lr.client.borderBox.center,offset:et},Cr={client:ur,page:{selection:He(ur.selection,It.scroll.initial),borderBoxCenter:He(ur.selection,It.scroll.initial),offset:He(ur.selection,It.scroll.diff.value)}},Br=Xt(Rt.droppables).every(function(Eo){return!Eo.isFixedOnPage}),an=hi({draggable:Lr,home:mr,draggables:Rt.draggables,viewport:It}),jn=an.impact,Vn=an.afterCritical,Ei={phase:"DRAGGING",isDragging:!0,critical:at,movementMode:Ar,dimensions:Rt,initial:Cr,current:Cr,isWindowScrollAllowed:Br,impact:jn,afterCritical:Vn,onLiftImpact:jn,viewport:It,scrollJumpRequest:null,forceShouldAnimate:null};return Ei}if(Ae.type==="COLLECTION_STARTING"){if(J.phase==="COLLECTING"||J.phase==="DROP_PENDING")return J;J.phase==="DRAGGING"||he(!1);var di=Object(E.a)({phase:"COLLECTING"},J,{phase:"COLLECTING"});return di}if(Ae.type==="PUBLISH_WHILE_DRAGGING")return J.phase==="COLLECTING"||J.phase==="DROP_PENDING"||he(!1),pi({state:J,published:Ae.payload});if(Ae.type==="MOVE"){if(J.phase==="DROP_PENDING")return J;oi(J)||he(!1);var ua=Ae.payload.client;return ae(ua,J.current.client.selection)?J:dn({state:J,clientSelection:ua,impact:ln(J)?J.impact:null})}if(Ae.type==="UPDATE_DROPPABLE_SCROLL"){if(J.phase==="DROP_PENDING")return Ji(J);if(J.phase==="COLLECTING")return Ji(J);oi(J)||he(!1);var ji=Ae.payload,Ta=ji.id,ha=ji.newScroll,Za=J.dimensions.droppables[Ta];if(!Za)return J;var po=ce(Za,ha);return Ii(J,po,!1)}if(Ae.type==="UPDATE_DROPPABLE_IS_ENABLED"){if(J.phase==="DROP_PENDING")return J;oi(J)||he(!1);var N=Ae.payload,F=N.id,Q=N.isEnabled,$=J.dimensions.droppables[F];$||he(!1),$.isEnabled!==Q||he(!1);var oe=Object(E.a)({},$,{isEnabled:Q});return Ii(J,oe,!0)}if(Ae.type==="UPDATE_DROPPABLE_IS_COMBINE_ENABLED"){if(J.phase==="DROP_PENDING")return J;oi(J)||he(!1);var Oe=Ae.payload,ft=Oe.id,_t=Oe.isCombineEnabled,Yt=J.dimensions.droppables[ft];Yt||he(!1),Yt.isCombineEnabled!==_t||he(!1);var er=Object(E.a)({},Yt,{isCombineEnabled:_t});return Ii(J,er,!0)}if(Ae.type==="MOVE_BY_WINDOW_SCROLL"){if(J.phase==="DROP_PENDING"||J.phase==="DROP_ANIMATING")return J;oi(J)||he(!1),J.isWindowScrollAllowed||he(!1);var en=Ae.payload.newScroll;if(ae(J.viewport.scroll.current,en))return Ji(J);var hn=Pi(J.viewport,en);return ln(J)?Xn({state:J,viewport:hn}):dn({state:J,viewport:hn})}if(Ae.type==="UPDATE_VIEWPORT_MAX_SCROLL"){if(!oi(J))return J;var Rn=Ae.payload.maxScroll;if(ae(Rn,J.viewport.scroll.max))return J;var kn=Object(E.a)({},J.viewport,{scroll:Object(E.a)({},J.viewport.scroll,{max:Rn})});return Object(E.a)({phase:"DRAGGING"},J,{viewport:kn})}if(Ae.type==="MOVE_UP"||Ae.type==="MOVE_DOWN"||Ae.type==="MOVE_LEFT"||Ae.type==="MOVE_RIGHT"){if(J.phase==="COLLECTING"||J.phase==="DROP_PENDING")return J;J.phase==="DRAGGING"||he(!1);var Ai=ii({state:J,type:Ae.type});return Ai?dn({state:J,impact:Ai.impact,clientSelection:Ai.clientSelection,scrollJumpRequest:Ai.scrollJumpRequest}):J}if(Ae.type==="DROP_PENDING"){var Ki=Ae.payload.reason;J.phase==="COLLECTING"||he(!1);var Qi=Object(E.a)({phase:"DROP_PENDING"},J,{phase:"DROP_PENDING",isWaiting:!0,reason:Ki});return Qi}if(Ae.type==="DROP_ANIMATE"){var Gi=Ae.payload,Vi=Gi.completed,fa=Gi.dropDuration,ba=Gi.newHomeClientOffset;J.phase==="DRAGGING"||J.phase==="DROP_PENDING"||he(!1);var qa={phase:"DROP_ANIMATING",completed:Vi,dropDuration:fa,newHomeClientOffset:ba,dimensions:J.dimensions};return qa}if(Ae.type==="DROP_COMPLETE"){var ka=Ae.payload.completed;return{phase:"IDLE",completed:ka,shouldFlush:!1}}return J},zt=function(J){return{type:"BEFORE_INITIAL_CAPTURE",payload:J}},Gr=function(J){return{type:"LIFT",payload:J}},nn=function(J){return{type:"INITIAL_PUBLISH",payload:J}},fn=function(J){return{type:"PUBLISH_WHILE_DRAGGING",payload:J}},Xe=function(){return{type:"COLLECTION_STARTING",payload:null}},Ot=function(J){return{type:"UPDATE_DROPPABLE_SCROLL",payload:J}},cr=function(J){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:J}},lr=function(J){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:J}},Ir=function(J){return{type:"MOVE",payload:J}},Dr=function(J){return{type:"MOVE_BY_WINDOW_SCROLL",payload:J}},Wr=function(J){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:J}},on=function(){return{type:"MOVE_UP",payload:null}},En=function(){return{type:"MOVE_DOWN",payload:null}},vn=function(){return{type:"MOVE_RIGHT",payload:null}},Dn=function(){return{type:"MOVE_LEFT",payload:null}},Un=function(){return{type:"FLUSH",payload:null}},wn=function(J){return{type:"DROP_ANIMATE",payload:J}},In=function(J){return{type:"DROP_COMPLETE",payload:J}},Tn=function(J){return{type:"DROP",payload:J}},Kn=function(J){return{type:"DROP_PENDING",payload:J}},Yn=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};function ni(Ee){if(Ee.length<=1)return;for(var J=Ee.map(function(Rt){return Rt.descriptor.index}),Ae={},Pe=1;Pe<J.length;Pe++){var at=J[Pe],Ct=J[Pe-1];at!==Ct+1&&(Ae[at]=!0)}if(!Object.keys(Ae).length)return;var It=J.map(function(Rt){var Ar=Boolean(Ae[Rt]);return Ar?"[\u{1F525}"+Rt+"]":""+Rt}).join(", ")}function yi(Ee,J){if(!1)var Ae}var li=function(J){return function(Ae){var Pe=Ae.getState,at=Ae.dispatch;return function(Ct){return function(It){if(It.type!=="LIFT"){Ct(It);return}var Rt=It.payload,Ar=Rt.id,Lr=Rt.clientSelection,mr=Rt.movementMode,ur=Pe();ur.phase==="DROP_ANIMATING"&&at(In({completed:ur.completed})),Pe().phase==="IDLE"||he(!1),at(Un()),at(zt({draggableId:Ar,movementMode:mr}));var Cr={shouldPublishImmediately:mr==="SNAP"},Br={draggableId:Ar,scrollOptions:Cr},an=J.startPublishing(Br),jn=an.critical,Vn=an.dimensions,Ei=an.viewport;yi(jn,Vn),at(nn({critical:jn,dimensions:Vn,clientSelection:Lr,movementMode:mr,viewport:Ei}))}}}},Oi=function(J){return function(){return function(Ae){return function(Pe){Pe.type==="INITIAL_PUBLISH"&&J.dragging(),Pe.type==="DROP_ANIMATE"&&J.dropping(Pe.payload.completed.result.reason),(Pe.type==="FLUSH"||Pe.type==="DROP_COMPLETE")&&J.resting(),Ae(Pe)}}}},Bi={outOfTheWay:"cubic-bezier(0.2, 0, 0, 1)",drop:"cubic-bezier(.2,1,.1,1)"},Si={opacity:{drop:0,combining:.7},scale:{drop:.75}},mi={outOfTheWay:.2,minDropTime:.33,maxDropTime:.55},Li=mi.outOfTheWay+"s "+Bi.outOfTheWay,Wn={fluid:"opacity "+Li,snap:"transform "+Li+", opacity "+Li,drop:function(J){var Ae=J+"s "+Bi.drop;return"transform "+Ae+", opacity "+Ae},outOfTheWay:"transform "+Li,placeholder:"height "+Li+", width "+Li+", margin "+Li},Ri=function(J){return ae(J,et)?null:"translate("+J.x+"px, "+J.y+"px)"},zi={moveTo:Ri,drop:function(J,Ae){var Pe=Ri(J);return Pe?Ae?Pe+" scale("+Si.scale.drop+")":Pe:null}},yr=mi.minDropTime,Mr=mi.maxDropTime,Qr=Mr-yr,_r=1500,Vt=.6,Sr=function(J){var Ae=J.current,Pe=J.destination,at=J.reason,Ct=ze(Ae,Pe);if(Ct<=0)return yr;if(Ct>=_r)return Mr;var It=Ct/_r,Rt=yr+Qr*It,Ar=at==="CANCEL"?Rt*Vt:Rt;return Number(Ar.toFixed(2))},Zt=function(J){var Ae=J.impact,Pe=J.draggable,at=J.dimensions,Ct=J.viewport,It=J.afterCritical,Rt=at.draggables,Ar=at.droppables,Lr=Sn(Ae),mr=Lr?Ar[Lr]:null,ur=Ar[Pe.descriptor.droppableId],Cr=Mn({impact:Ae,draggable:Pe,draggables:Rt,afterCritical:It,droppable:mr||ur,viewport:Ct}),Br=pe(Cr,Pe.client.borderBox.center);return Br},Ur=function(J){var Ae=J.draggables,Pe=J.reason,at=J.lastImpact,Ct=J.home,It=J.viewport,Rt=J.onLiftImpact;if(!at.at||Pe!=="DROP"){var Ar=bn({draggables:Ae,impact:Rt,destination:Ct,viewport:It,forceShouldAnimate:!0});return{impact:Ar,didDropInsideDroppable:!1}}if(at.at.type==="REORDER")return{impact:at,didDropInsideDroppable:!0};var Lr=Object(E.a)({},at,{displaced:xr});return{impact:Lr,didDropInsideDroppable:!0}},Hr=function(J){var Ae=J.getState,Pe=J.dispatch;return function(at){return function(Ct){if(Ct.type!=="DROP"){at(Ct);return}var It=Ae(),Rt=Ct.payload.reason;if(It.phase==="COLLECTING"){Pe(Kn({reason:Rt}));return}if(It.phase==="IDLE")return;var Ar=It.phase==="DROP_PENDING"&&It.isWaiting;Ar&&he(!1),It.phase==="DRAGGING"||It.phase==="DROP_PENDING"||he(!1);var Lr=It.critical,mr=It.dimensions,ur=mr.draggables[It.critical.draggable.id],Cr=Ur({reason:Rt,lastImpact:It.impact,afterCritical:It.afterCritical,onLiftImpact:It.onLiftImpact,home:It.dimensions.droppables[It.critical.droppable.id],viewport:It.viewport,draggables:It.dimensions.draggables}),Br=Cr.impact,an=Cr.didDropInsideDroppable,jn=an?rr(Br):null,Vn=an?nr(Br):null,Ei={index:Lr.draggable.index,droppableId:Lr.droppable.id},di={draggableId:ur.descriptor.id,type:ur.descriptor.type,source:Ei,reason:Rt,mode:It.movementMode,destination:jn,combine:Vn},ua=Zt({impact:Br,draggable:ur,dimensions:mr,viewport:It.viewport,afterCritical:It.afterCritical}),ji={critical:It.critical,afterCritical:It.afterCritical,result:di,impact:Br},Ta=!ae(It.current.client.offset,ua)||Boolean(di.combine);if(!Ta){Pe(In({completed:ji}));return}var ha=Sr({current:It.current.client.offset,destination:ua,reason:Rt}),Za={newHomeClientOffset:ua,dropDuration:ha,completed:ji};Pe(wn(Za))}}},pn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function sn(Ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(Ae){if(Ae.target!==window&&Ae.target!==window.document)return;Ee()}}}function yn(Ee){var J=Ee.onWindowScroll;function Ae(){J(pn())}var Pe=R(Ae),at=sn(Pe),Ct=Z;function It(){return Ct!==Z}function Rt(){It()&&he(!1),Ct=Y(window,[at])}function Ar(){It()||he(!1),Pe.cancel(),Ct(),Ct=Z}return{start:Rt,stop:Ar,isActive:It}}var Fn=function(J){return J.type==="DROP_COMPLETE"||J.type==="DROP_ANIMATE"||J.type==="FLUSH"},Gn=function(J){var Ae=yn({onWindowScroll:function(at){J.dispatch(Dr({newScroll:at}))}});return function(Pe){return function(at){!Ae.isActive()&&at.type==="INITIAL_PUBLISH"&&Ae.start(),Ae.isActive()&&Fn(at)&&Ae.stop(),Pe(at)}}},Jn=function(J){var Ae=!1,Pe=!1,at=setTimeout(function(){Pe=!0}),Ct=function(Rt){if(Ae)return;if(Pe)return;Ae=!0,J(Rt),clearTimeout(at)};return Ct.wasCalled=function(){return Ae},Ct},Ci=function(){var J=[],Ae=function(It){var Rt=Ve(J,function(mr){return mr.timerId===It});Rt!==-1||he(!1);var Ar=J.splice(Rt,1),Lr=Ar[0];Lr.callback()},Pe=function(It){var Rt=setTimeout(function(){return Ae(Rt)}),Ar={timerId:Rt,callback:It};J.push(Ar)},at=function(){if(!J.length)return;var It=[].concat(J);J.length=0,It.forEach(function(Rt){clearTimeout(Rt.timerId),Rt.callback()})};return{add:Pe,flush:at}},ta=function(J,Ae){return J==null&&Ae==null?!0:J==null||Ae==null?!1:J.droppableId===Ae.droppableId&&J.index===Ae.index},oa=function(J,Ae){return J==null&&Ae==null?!0:J==null||Ae==null?!1:J.draggableId===Ae.draggableId&&J.droppableId===Ae.droppableId},da=function(J,Ae){if(J===Ae)return!0;var Pe=J.draggable.id===Ae.draggable.id&&J.draggable.droppableId===Ae.draggable.droppableId&&J.draggable.type===Ae.draggable.type&&J.draggable.index===Ae.draggable.index,at=J.droppable.id===Ae.droppable.id&&J.droppable.type===Ae.droppable.type;return Pe&&at},ca=function(J,Ae){gi(),Ae(),Wi()},ma=function(J,Ae){return{draggableId:J.draggable.id,type:J.droppable.type,source:{droppableId:J.droppable.id,index:J.draggable.index},mode:Ae}},Ui=function(J,Ae,Pe,at){if(!J){Pe(at(Ae));return}var Ct=Jn(Pe),It={announce:Ct};J(Ae,It),Ct.wasCalled()||Pe(at(Ae))},Ni=function(J,Ae){var Pe=Ci(),at=null,Ct=function(Br,an){at&&he(!1),ca("onBeforeCapture",function(){var jn=J().onBeforeCapture;if(jn){var Vn={draggableId:Br,mode:an};jn(Vn)}})},It=function(Br,an){at&&he(!1),ca("onBeforeDragStart",function(){var jn=J().onBeforeDragStart;jn&&jn(ma(Br,an))})},Rt=function(Br,an){at&&he(!1);var jn=ma(Br,an);at={mode:an,lastCritical:Br,lastLocation:jn.source,lastCombine:null},Pe.add(function(){ca("onDragStart",function(){return Ui(J().onDragStart,jn,Ae,je.onDragStart)})})},Ar=function(Br,an){var jn=rr(an),Vn=nr(an);at||he(!1);var Ei=!da(Br,at.lastCritical);Ei&&(at.lastCritical=Br);var di=!ta(at.lastLocation,jn);di&&(at.lastLocation=jn);var ua=!oa(at.lastCombine,Vn);if(ua&&(at.lastCombine=Vn),!Ei&&!di&&!ua)return;var ji=Object(E.a)({},ma(Br,at.mode),{combine:Vn,destination:jn});Pe.add(function(){ca("onDragUpdate",function(){return Ui(J().onDragUpdate,ji,Ae,je.onDragUpdate)})})},Lr=function(){at||he(!1),Pe.flush()},mr=function(Br){at||he(!1),at=null,ca("onDragEnd",function(){return Ui(J().onDragEnd,Br,Ae,je.onDragEnd)})},ur=function(){if(!at)return;var Br=Object(E.a)({},ma(at.lastCritical,at.mode),{combine:null,destination:null,reason:"CANCEL"});mr(Br)};return{beforeCapture:Ct,beforeStart:It,start:Rt,update:Ar,flush:Lr,drop:mr,abort:ur}},ra=function(J,Ae){var Pe=Ni(J,Ae);return function(at){return function(Ct){return function(It){if(It.type==="BEFORE_INITIAL_CAPTURE"){Pe.beforeCapture(It.payload.draggableId,It.payload.movementMode);return}if(It.type==="INITIAL_PUBLISH"){var Rt=It.payload.critical;Pe.beforeStart(Rt,It.payload.movementMode),Ct(It),Pe.start(Rt,It.payload.movementMode);return}if(It.type==="DROP_COMPLETE"){var Ar=It.payload.completed.result;Pe.flush(),Ct(It),Pe.drop(Ar);return}if(Ct(It),It.type==="FLUSH"){Pe.abort();return}var Lr=at.getState();Lr.phase==="DRAGGING"&&Pe.update(Lr.critical,Lr.impact)}}}},qi=function(J){return function(Ae){return function(Pe){if(Pe.type!=="DROP_ANIMATION_FINISHED"){Ae(Pe);return}var at=J.getState();at.phase==="DROP_ANIMATING"||he(!1),J.dispatch(In({completed:at.completed}))}}},va=function(J){var Ae=null,Pe=null;function at(){Pe&&(cancelAnimationFrame(Pe),Pe=null),Ae&&(Ae(),Ae=null)}return function(Ct){return function(It){if((It.type==="FLUSH"||It.type==="DROP_COMPLETE"||It.type==="DROP_ANIMATION_FINISHED")&&at(),Ct(It),It.type!=="DROP_ANIMATE")return;var Rt={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var Lr=J.getState();Lr.phase==="DROP_ANIMATING"&&J.dispatch(Yn())}};Pe=requestAnimationFrame(function(){Pe=null,Ae=Y(window,[Rt])})}}},Oa=function(J){return function(){return function(Ae){return function(Pe){(Pe.type==="DROP_COMPLETE"||Pe.type==="FLUSH"||Pe.type==="DROP_ANIMATE")&&J.stopPublishing(),Ae(Pe)}}}},Zi=function(J){var Ae=!1;return function(){return function(Pe){return function(at){if(at.type==="INITIAL_PUBLISH"){Ae=!0,J.tryRecordFocus(at.payload.critical.draggable.id),Pe(at),J.tryRestoreFocusRecorded();return}if(Pe(at),!Ae)return;if(at.type==="FLUSH"){Ae=!1,J.tryRestoreFocusRecorded();return}if(at.type==="DROP_COMPLETE"){Ae=!1;var Ct=at.payload.completed.result;Ct.combine&&J.tryShiftRecord(Ct.draggableId,Ct.combine.draggableId),J.tryRestoreFocusRecorded()}}}}},Xi=function(J){return J.type==="DROP_COMPLETE"||J.type==="DROP_ANIMATE"||J.type==="FLUSH"},La=function(J){return function(Ae){return function(Pe){return function(at){if(Xi(at)){J.stop(),Pe(at);return}if(at.type==="INITIAL_PUBLISH"){Pe(at);var Ct=Ae.getState();Ct.phase==="DRAGGING"||he(!1),J.start(Ct);return}Pe(at),J.scroll(Ae.getState())}}}},Aa=function(J){return function(Ae){return function(Pe){if(Ae(Pe),Pe.type!=="PUBLISH_WHILE_DRAGGING")return;var at=J.getState();if(at.phase!=="DROP_PENDING")return;if(at.isWaiting)return;J.dispatch(Tn({reason:at.reason}))}}},Ti=C.d,Sa=function(J){var Ae=J.dimensionMarshal,Pe=J.focusMarshal,at=J.styleMarshal,Ct=J.getResponders,It=J.announce,Rt=J.autoScroller;return Object(C.e)(ea,Ti(Object(C.a)(Oi(at),Oa(Ae),li(Ae),Hr,qi,va,Aa,La(Rt),Gn,Zi(Pe),ra(Ct,It))))},Ra=function(){return{additions:{},removals:{},modified:{}}};function Na(Ee){var J=Ee.registry,Ae=Ee.callbacks,Pe=Ra(),at=null,Ct=function(){if(at)return;Ae.collectionStarting(),at=requestAnimationFrame(function(){at=null,gi();var mr=Pe,ur=mr.additions,Cr=mr.removals,Br=mr.modified,an=Object.keys(ur).map(function(Ei){return J.draggable.getById(Ei).getDimension(et)}).sort(function(Ei,di){return Ei.descriptor.index-di.descriptor.index}),jn=Object.keys(Br).map(function(Ei){var di=J.droppable.getById(Ei),ua=di.callbacks.getScrollWhileDragging();return{droppableId:Ei,scroll:ua}}),Vn={additions:an,removals:Object.keys(Cr),modified:jn};Pe=Ra(),Wi(),Ae.publish(Vn)})},It=function(mr){var ur=mr.descriptor.id;Pe.additions[ur]=mr,Pe.modified[mr.descriptor.droppableId]=!0,Pe.removals[ur]&&delete Pe.removals[ur],Ct()},Rt=function(mr){var ur=mr.descriptor;Pe.removals[ur.id]=!0,Pe.modified[ur.droppableId]=!0,Pe.additions[ur.id]&&delete Pe.additions[ur.id],Ct()},Ar=function(){if(!at)return;cancelAnimationFrame(at),at=null,Pe=Ra()};return{add:It,remove:Rt,stop:Ar}}var Ua=function(J){var Ae=J.scrollHeight,Pe=J.scrollWidth,at=J.height,Ct=J.width,It=pe({x:Pe,y:Ae},{x:Ct,y:at}),Rt={x:Math.max(0,It.x),y:Math.max(0,It.y)};return Rt},Pa=function(){var J=document.documentElement;return J||he(!1),J},za=function(){var J=Pa(),Ae=Ua({scrollHeight:J.scrollHeight,scrollWidth:J.scrollWidth,width:J.clientWidth,height:J.clientHeight});return Ae},xa=function(){var J=pn(),Ae=za(),Pe=J.y,at=J.x,Ct=Pa(),It=Ct.clientWidth,Rt=Ct.clientHeight,Ar=at+It,Lr=Pe+Rt,mr=n({top:Pe,left:at,right:Ar,bottom:Lr}),ur={frame:mr,scroll:{initial:J,current:J,max:Ae,diff:{value:et,displacement:et}}};return ur},ja=function(J){var Ae=J.critical,Pe=J.scrollOptions,at=J.registry;gi();var Ct=xa(),It=Ct.scroll.current,Rt=Ae.droppable,Ar=at.droppable.getAllByType(Rt.type).map(function(Cr){return Cr.callbacks.getDimensionAndWatchScroll(It,Pe)}),Lr=at.draggable.getAllByType(Ae.draggable.type).map(function(Cr){return Cr.getDimension(It)}),mr={draggables:lt(Lr),droppables:tr(Ar)};Wi();var ur={dimensions:mr,critical:Ae,viewport:Ct};return ur};function io(Ee,J,Ae){if(Ae.descriptor.id===J.id)return!1;if(Ae.descriptor.type!==J.type)return!1;var Pe=Ee.droppable.getById(Ae.descriptor.droppableId);return!(Pe.descriptor.mode!=="virtual")}var ia=function(J,Ae){var Pe=null,at=Na({callbacks:{publish:Ae.publishWhileDragging,collectionStarting:Ae.collectionStarting},registry:J}),Ct=function(an,jn){if(J.droppable.exists(an)||he(!1),!Pe)return;Ae.updateDroppableIsEnabled({id:an,isEnabled:jn})},It=function(an,jn){if(!Pe)return;J.droppable.exists(an)||he(!1),Ae.updateDroppableIsCombineEnabled({id:an,isCombineEnabled:jn})},Rt=function(an,jn){if(!Pe)return;J.droppable.exists(an)||he(!1),Ae.updateDroppableScroll({id:an,newScroll:jn})},Ar=function(an,jn){if(!Pe)return;J.droppable.getById(an).callbacks.scroll(jn)},Lr=function(){if(!Pe)return;at.stop();var an=Pe.critical.droppable;J.droppable.getAllByType(an.type).forEach(function(jn){return jn.callbacks.dragStopped()}),Pe.unsubscribe(),Pe=null},mr=function(an){Pe||he(!1);var jn=Pe.critical.draggable;an.type==="ADDITION"&&(io(J,jn,an.value)&&at.add(an.value)),an.type==="REMOVAL"&&(io(J,jn,an.value)&&at.remove(an.value))},ur=function(an){Pe&&he(!1);var jn=J.draggable.getById(an.draggableId),Vn=J.droppable.getById(jn.descriptor.droppableId),Ei={draggable:jn.descriptor,droppable:Vn.descriptor},di=J.subscribe(mr);return Pe={critical:Ei,unsubscribe:di},ja({critical:Ei,registry:J,scrollOptions:an.scrollOptions})},Cr={updateDroppableIsEnabled:Ct,updateDroppableIsCombineEnabled:It,scrollDroppable:Ar,updateDroppableScroll:Rt,startPublishing:ur,stopPublishing:Lr};return Cr},lo=function(J,Ae){return J.phase==="IDLE"?!0:J.phase!=="DROP_ANIMATING"||J.completed.result.draggableId===Ae?!1:J.completed.result.reason==="DROP"},Ga=function(J){window.scrollBy(J.x,J.y)},Ca=T(function(Ee){return Xt(Ee).filter(function(J){return J.isEnabled?!!J.frame:!1})}),Qa=function(J,Ae){var Pe=de(Ca(Ae),function(at){return at.frame||he(!1),ti(at.frame.pageMarginBox)(J)});return Pe},Da=function(J){var Ae=J.center,Pe=J.destination,at=J.droppables;if(Pe){var Ct=at[Pe];return Ct.frame?Ct:null}var It=Qa(Ae,at);return It},Ia={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(J){return Math.pow(J,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},yo=function(J,Ae){var Pe=J[Ae.size]*Ia.startFromPercentage,at=J[Ae.size]*Ia.maxScrollAtPercentage,Ct={startScrollingFrom:Pe,maxScrollValueAt:at};return Ct},ao=function(J){var Ae=J.startOfRange,Pe=J.endOfRange,at=J.current,Ct=Pe-Ae;if(Ct===0)return 0;var It=at-Ae,Rt=It/Ct;return Rt},bo=1,co=function(J,Ae){if(J>Ae.startScrollingFrom)return 0;if(J<=Ae.maxScrollValueAt)return Ia.maxPixelScroll;if(J===Ae.startScrollingFrom)return bo;var Pe=ao({startOfRange:Ae.maxScrollValueAt,endOfRange:Ae.startScrollingFrom,current:J}),at=1-Pe,Ct=Ia.maxPixelScroll*Ia.ease(at);return Math.ceil(Ct)},uo=Ia.durationDampening.accelerateAt,Ya=Ia.durationDampening.stopDampeningAt,eo=function(J,Ae){var Pe=Ae,at=Ya,Ct=Date.now(),It=Ct-Pe;if(It>=Ya)return J;if(It<uo)return bo;var Rt=ao({startOfRange:uo,endOfRange:at,current:It}),Ar=J*Ia.ease(Rt);return Math.ceil(Ar)},wa=function(J){var Ae=J.distanceToEdge,Pe=J.thresholds,at=J.dragStartTime,Ct=J.shouldUseTimeDampening,It=co(Ae,Pe);return It===0?0:Ct?Math.max(eo(It,at),bo):It},ro=function(J){var Ae=J.container,Pe=J.distanceToEdges,at=J.dragStartTime,Ct=J.axis,It=J.shouldUseTimeDampening,Rt=yo(Ae,Ct),Ar=Pe[Ct.end]<Pe[Ct.start];return Ar?wa({distanceToEdge:Pe[Ct.end],thresholds:Rt,dragStartTime:at,shouldUseTimeDampening:It}):-1*wa({distanceToEdge:Pe[Ct.start],thresholds:Rt,dragStartTime:at,shouldUseTimeDampening:It})},fo=function(J){var Ae=J.container,Pe=J.subject,at=J.proposedScroll,Ct=Pe.height>Ae.height,It=Pe.width>Ae.width;return!It&&!Ct?at:It&&Ct?null:{x:It?0:at.x,y:Ct?0:at.y}},ki=Te(function(Ee){return Ee===0?0:Ee}),Ma=function(J){var Ae=J.dragStartTime,Pe=J.container,at=J.subject,Ct=J.center,It=J.shouldUseTimeDampening,Rt={top:Ct.y-Pe.top,right:Pe.right-Ct.x,bottom:Pe.bottom-Ct.y,left:Ct.x-Pe.left},Ar=ro({container:Pe,distanceToEdges:Rt,dragStartTime:Ae,axis:Ln,shouldUseTimeDampening:It}),Lr=ro({container:Pe,distanceToEdges:Rt,dragStartTime:Ae,axis:$e,shouldUseTimeDampening:It}),mr=ki({x:Lr,y:Ar});if(ae(mr,et))return null;var ur=fo({container:Pe,subject:at,proposedScroll:mr});return ur?ae(ur,et)?null:ur:null},Ro=Te(function(Ee){return Ee===0?0:Ee>0?1:-1}),jo=function(){var Ee=function(Ae,Pe){return Ae<0?Ae:Ae>Pe?Ae-Pe:0};return function(J){var Ae=J.current,Pe=J.max,at=J.change,Ct=He(Ae,at),It={x:Ee(Ct.x,Pe.x),y:Ee(Ct.y,Pe.y)};return ae(It,et)?null:It}}(),Vo=function(J){var Ae=J.max,Pe=J.current,at=J.change,Ct={x:Math.max(Pe.x,Ae.x),y:Math.max(Pe.y,Ae.y)},It=Ro(at),Rt=jo({max:Ct,current:Pe,change:It});return Rt?It.x!==0&&Rt.x===0?!0:It.y!==0&&Rt.y===0:!0},Xo=function(J,Ae){return Vo({current:J.scroll.current,max:J.scroll.max,change:Ae})},wo=function(J,Ae){if(!Xo(J,Ae))return null;var Pe=J.scroll.max,at=J.scroll.current;return jo({current:at,max:Pe,change:Ae})},_a=function(J,Ae){var Pe=J.frame;return Pe?Vo({current:Pe.scroll.current,max:Pe.scroll.max,change:Ae}):!1},Po=function(J,Ae){var Pe=J.frame;return Pe&&_a(J,Ae)?jo({current:Pe.scroll.current,max:Pe.scroll.max,change:Ae}):null},ds=function(J){var Ae=J.viewport,Pe=J.subject,at=J.center,Ct=J.dragStartTime,It=J.shouldUseTimeDampening,Rt=Ma({dragStartTime:Ct,container:Ae.frame,subject:Pe,center:at,shouldUseTimeDampening:It});return Rt&&Xo(Ae,Rt)?Rt:null},ho=function(J){var Ae=J.droppable,Pe=J.subject,at=J.center,Ct=J.dragStartTime,It=J.shouldUseTimeDampening,Rt=Ae.frame;if(!Rt)return null;var Ar=Ma({dragStartTime:Ct,container:Rt.pageMarginBox,subject:Pe,center:at,shouldUseTimeDampening:It});return Ar&&_a(Ae,Ar)?Ar:null},Oo=function(J){var Ae=J.state,Pe=J.dragStartTime,at=J.shouldUseTimeDampening,Ct=J.scrollWindow,It=J.scrollDroppable,Rt=Ae.current.page.borderBoxCenter,Ar=Ae.dimensions.draggables[Ae.critical.draggable.id],Lr=Ar.page.marginBox;if(Ae.isWindowScrollAllowed){var mr=Ae.viewport,ur=ds({dragStartTime:Pe,viewport:mr,subject:Lr,center:Rt,shouldUseTimeDampening:at});if(ur){Ct(ur);return}}var Cr=Da({center:Rt,destination:Sn(Ae.impact),droppables:Ae.dimensions.droppables});if(!Cr)return;var Br=ho({dragStartTime:Pe,droppable:Cr,subject:Lr,center:Rt,shouldUseTimeDampening:at});Br&&It(Cr.descriptor.id,Br)},Ka=function(J){var Ae=J.scrollWindow,Pe=J.scrollDroppable,at=R(Ae),Ct=R(Pe),It=null,Rt=function(ur){It||he(!1);var Cr=It,Br=Cr.shouldUseTimeDampening,an=Cr.dragStartTime;Oo({state:ur,scrollWindow:at,scrollDroppable:Ct,dragStartTime:an,shouldUseTimeDampening:Br})},Ar=function(ur){gi(),It&&he(!1);var Cr=Date.now(),Br=!1,an=function(){Br=!0};Oo({state:ur,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:an,scrollDroppable:an}),It={dragStartTime:Cr,shouldUseTimeDampening:Br},Wi(),Br&&Rt(ur)},Lr=function(){if(!It)return;at.cancel(),Ct.cancel(),It=null};return{start:Ar,stop:Lr,scroll:Rt}},Go=function(J){var Ae=J.move,Pe=J.scrollDroppable,at=J.scrollWindow,Ct=function(mr,ur){var Cr=He(mr.current.client.selection,ur);Ae({client:Cr})},It=function(mr,ur){if(!_a(mr,ur))return ur;var Cr=Po(mr,ur);if(!Cr)return Pe(mr.descriptor.id,ur),null;var Br=pe(ur,Cr);Pe(mr.descriptor.id,Br);var an=pe(ur,Br);return an},Rt=function(mr,ur,Cr){if(!mr)return Cr;if(!Xo(ur,Cr))return Cr;var Br=wo(ur,Cr);if(!Br)return at(Cr),null;var an=pe(Cr,Br);at(an);var jn=pe(Cr,an);return jn},Ar=function(mr){var ur=mr.scrollJumpRequest;if(!ur)return;var Cr=Sn(mr.impact);Cr||he(!1);var Br=It(mr.dimensions.droppables[Cr],ur);if(!Br)return;var an=mr.viewport,jn=Rt(mr.isWindowScrollAllowed,an,Br);if(!jn)return;Ct(mr,jn)};return Ar},nl=function(J){var Ae=J.scrollDroppable,Pe=J.scrollWindow,at=J.move,Ct=Ka({scrollWindow:Pe,scrollDroppable:Ae}),It=Go({move:at,scrollWindow:Pe,scrollDroppable:Ae}),Rt=function(mr){if(mr.phase!=="DRAGGING")return;if(mr.movementMode==="FLUID"){Ct.scroll(mr);return}if(!mr.scrollJumpRequest)return;It(mr)},Ar={scroll:Rt,start:Ct.start,stop:Ct.stop};return Ar},Ts="data-rbd",Is=function(){var Ee=Ts+"-drag-handle";return{base:Ee,draggableId:Ee+"-draggable-id",contextId:Ee+"-context-id"}}(),xs=function(){var Ee=Ts+"-draggable";return{base:Ee,contextId:Ee+"-context-id",id:Ee+"-id"}}(),ps=function(){var Ee=Ts+"-droppable";return{base:Ee,contextId:Ee+"-context-id",id:Ee+"-id"}}(),Os={contextId:Ts+"-scroll-container-context-id"},Ho=function(J){return function(Ae){return"["+Ae+'="'+J+'"]'}},mo=function(J,Ae){return J.map(function(Pe){var at=Pe.styles[Ae];return at?Pe.selector+" { "+at+" }":""}).join(" ")},es="pointer-events: none;",Ko=function(J){var Ae=Ho(J),Pe=function(){var Ar=`
cursor: -webkit-grab;
cursor: grab;
`;return{selector:Ae(Is.contextId),styles:{always:`
-webkit-touch-callout: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
touch-action: manipulation;
`,resting:Ar,dragging:es,dropAnimating:Ar}}}(),at=function(){var Ar=`
transition: `+Wn.outOfTheWay+`;
`;return{selector:Ae(xs.contextId),styles:{dragging:Ar,dropAnimating:Ar,userCancel:Ar}}}(),Ct={selector:Ae(ps.contextId),styles:{always:"overflow-anchor: none;"}},It={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;
`}},Rt=[at,Pe,Ct,It];return{always:mo(Rt,"always"),resting:mo(Rt,"resting"),dragging:mo(Rt,"dragging"),dropAnimating:mo(Rt,"dropAnimating"),userCancel:mo(Rt,"userCancel")}},ko=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?O.useLayoutEffect:O.useEffect,zr=function(){var J=document.querySelector("head");return J||he(!1),J},Yo=function(J){var Ae=document.createElement("style");return J&&Ae.setAttribute("nonce",J),Ae.type="text/css",Ae};function il(Ee,J){var Ae=r(function(){return Ko(Ee)},[Ee]),Pe=Object(O.useRef)(null),at=Object(O.useRef)(null),Ct=s(T(function(ur){var Cr=at.current;Cr||he(!1),Cr.textContent=ur}),[]),It=s(function(ur){var Cr=Pe.current;Cr||he(!1),Cr.textContent=ur},[]);ko(function(){!Pe.current&&!at.current||he(!1);var ur=Yo(J),Cr=Yo(J);return Pe.current=ur,at.current=Cr,ur.setAttribute(Ts+"-always",Ee),Cr.setAttribute(Ts+"-dynamic",Ee),zr().appendChild(ur),zr().appendChild(Cr),It(Ae.always),Ct(Ae.resting),function(){var Br=function(jn){var Vn=jn.current;Vn||he(!1),zr().removeChild(Vn),jn.current=null};Br(Pe),Br(at)}},[J,It,Ct,Ae.always,Ae.resting,Ee]);var Rt=s(function(){return Ct(Ae.dragging)},[Ct,Ae.dragging]),Ar=s(function(ur){if(ur==="DROP"){Ct(Ae.dropAnimating);return}Ct(Ae.userCancel)},[Ct,Ae.dropAnimating,Ae.userCancel]),Lr=s(function(){if(!at.current)return;Ct(Ae.resting)},[Ct,Ae.resting]),mr=r(function(){return{dragging:Rt,dropping:Ar,resting:Lr}},[Rt,Ar,Lr]);return mr}var Ks=function(J){return J&&J.ownerDocument?J.ownerDocument.defaultView:window};function Ps(Ee){return Ee instanceof Ks(Ee).HTMLElement}function no(Ee,J){var Ae="["+Is.contextId+'="'+Ee+'"]',Pe=Ht(document.querySelectorAll(Ae));if(!Pe.length)return null;var at=de(Pe,function(Ct){return Ct.getAttribute(Is.draggableId)===J});return at&&Ps(at)?at:null}function Ao(Ee){var J=Object(O.useRef)({}),Ae=Object(O.useRef)(null),Pe=Object(O.useRef)(null),at=Object(O.useRef)(!1),Ct=s(function(Cr,Br){var an={id:Cr,focus:Br};return J.current[Cr]=an,function(){var Vn=J.current,Ei=Vn[Cr];Ei!==an&&delete Vn[Cr]}},[]),It=s(function(Cr){var Br=no(Ee,Cr);Br&&Br!==document.activeElement&&Br.focus()},[Ee]),Rt=s(function(Cr,Br){Ae.current===Cr&&(Ae.current=Br)},[]),Ar=s(function(){if(Pe.current)return;if(!at.current)return;Pe.current=requestAnimationFrame(function(){Pe.current=null;var Cr=Ae.current;Cr&&It(Cr)})},[It]),Lr=s(function(Cr){Ae.current=null;var Br=document.activeElement;if(!Br)return;if(Br.getAttribute(Is.draggableId)!==Cr)return;Ae.current=Cr},[]);ko(function(){return at.current=!0,function(){at.current=!1;var Cr=Pe.current;Cr&&cancelAnimationFrame(Cr)}},[]);var mr=r(function(){return{register:Ct,tryRecordFocus:Lr,tryRestoreFocusRecorded:Ar,tryShiftRecord:Rt}},[Ct,Lr,Ar,Rt]);return mr}function Fo(){var Ee={draggables:{},droppables:{}},J=[];function Ae(ur){return J.push(ur),function(){var Br=J.indexOf(ur);if(Br===-1)return;J.splice(Br,1)}}function Pe(ur){J.length&&J.forEach(function(Cr){return Cr(ur)})}function at(ur){return Ee.draggables[ur]||null}function Ct(ur){var Cr=at(ur);return Cr||he(!1),Cr}var It={register:function(Cr){Ee.draggables[Cr.descriptor.id]=Cr,Pe({type:"ADDITION",value:Cr})},update:function(Cr,Br){var an=Ee.draggables[Br.descriptor.id];if(!an)return;if(an.uniqueId!==Cr.uniqueId)return;delete Ee.draggables[Br.descriptor.id],Ee.draggables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Br=Cr.descriptor.id,an=at(Br);if(!an)return;if(Cr.uniqueId!==an.uniqueId)return;delete Ee.draggables[Br],Pe({type:"REMOVAL",value:Cr})},getById:Ct,findById:at,exists:function(Cr){return Boolean(at(Cr))},getAllByType:function(Cr){return dt(Ee.draggables).filter(function(Br){return Br.descriptor.type===Cr})}};function Rt(ur){return Ee.droppables[ur]||null}function Ar(ur){var Cr=Rt(ur);return Cr||he(!1),Cr}var Lr={register:function(Cr){Ee.droppables[Cr.descriptor.id]=Cr},unregister:function(Cr){var Br=Rt(Cr.descriptor.id);if(!Br)return;if(Cr.uniqueId!==Br.uniqueId)return;delete Ee.droppables[Cr.descriptor.id]},getById:Ar,findById:Rt,exists:function(Cr){return Boolean(Rt(Cr))},getAllByType:function(Cr){return dt(Ee.droppables).filter(function(Br){return Br.descriptor.type===Cr})}};function mr(){Ee.draggables={},Ee.droppables={},J.length=0}return{draggable:It,droppable:Lr,subscribe:Ae,clean:mr}}function ns(){var Ee=r(Fo,[]);return Object(O.useEffect)(function(){return function(){requestAnimationFrame(Ee.clean)}},[Ee]),Ee}var ys=_.a.createContext(null),ms=function(){var J=document.body;return J||he(!1),J},_s={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},ol=function(J){return"rbd-announcement-"+J};function Ls(Ee){var J=r(function(){return ol(Ee)},[Ee]),Ae=Object(O.useRef)(null);Object(O.useEffect)(function(){var Ct=document.createElement("div");return Ae.current=Ct,Ct.id=J,Ct.setAttribute("aria-live","assertive"),Ct.setAttribute("aria-atomic","true"),Object(E.a)(Ct.style,_s),ms().appendChild(Ct),function(){setTimeout(function(){var Ar=ms();Ar.contains(Ct)&&Ar.removeChild(Ct),Ct===Ae.current&&(Ae.current=null)})}},[J]);var Pe=s(function(at){var Ct=Ae.current;if(Ct){Ct.textContent=at;return}},[]);return Pe}var Gs=0,ks={separator:"::"};function gs(){Gs=0}function Ns(Ee,J){return J===void 0&&(J=ks),r(function(){return""+Ee+J.separator+Gs++},[J.separator,Ee])}function St(Ee){var J=Ee.contextId,Ae=Ee.uniqueId;return"rbd-hidden-text-"+J+"-"+Ae}function Dt(Ee){var J=Ee.contextId,Ae=Ee.text,Pe=Ns("hidden-text",{separator:"-"}),at=r(function(){return St({contextId:J,uniqueId:Pe})},[Pe,J]);return Object(O.useEffect)(function(){var It=document.createElement("div");return It.id=at,It.textContent=Ae,It.style.display="none",ms().appendChild(It),function(){var Ar=ms();Ar.contains(It)&&Ar.removeChild(It)}},[at,Ae]),at}var rn=_.a.createContext(null),On={react:"^16.8.5","react-dom":"^16.8.5"},mt=/(\d+)\.(\d+)\.(\d+)/,ne=function(J){var Ae=mt.exec(J);Ae!=null||he(!1);var Pe=Number(Ae[1]),at=Number(Ae[2]),Ct=Number(Ae[3]);return{major:Pe,minor:at,patch:Ct,raw:J}},fe=function(J,Ae){return Ae.major>J.major?!0:Ae.major<J.major?!1:Ae.minor>J.minor?!0:Ae.minor<J.minor?!1:Ae.patch>=J.patch},ge=function(J,Ae){var Pe=ne(J),at=ne(Ae);if(fe(Pe,at))return},Re=`
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
`,ut=function(J){var Ae=J.doctype;if(!Ae)return;Ae.name.toLowerCase()!=="html",Ae.publicId!==""};function Lt(Ee){}function br(Ee,J){Lt(function(){Object(O.useEffect)(function(){try{Ee()}catch(Ae){V(`
A setup problem was encountered.
> `+Ae.message+`
`)}},J)})}function Or(){br(function(){ge(On.react,_.a.version),ut(document)},[])}function Zr(Ee){var J=Object(O.useRef)(Ee);return Object(O.useEffect)(function(){J.current=Ee}),J}function Cn(){var Ee=null;function J(){return Boolean(Ee)}function Ae(It){return It===Ee}function Pe(It){Ee&&he(!1);var Rt={abandon:It};return Ee=Rt,Rt}function at(){Ee||he(!1),Ee=null}function Ct(){Ee&&(Ee.abandon(),at())}return{isClaimed:J,isActive:Ae,claim:Pe,release:at,tryAbandon:Ct}}var Hn=9,si=13,xi=27,Di=32,sa=33,ya=34,Ja=35,$a=36,to=37,Io=38,Co=39,Do=40,go,So=(go={},go[si]=!0,go[Hn]=!0,go),is=function(J){So[J.keyCode]&&J.preventDefault()},ts=function(){var Ee="visibilitychange";if(typeof document=="undefined")return Ee;var J=[Ee,"ms"+Ee,"webkit"+Ee,"moz"+Ee,"o"+Ee],Ae=de(J,function(Pe){return"on"+Pe in document});return Ae||Ee}(),To=0,Yi=5;function Rs(Ee,J){return Math.abs(J.x-Ee.x)>=Yi||Math.abs(J.y-Ee.y)>=Yi}var Es={type:"IDLE"};function as(Ee){var J=Ee.cancel,Ae=Ee.completed,Pe=Ee.getPhase,at=Ee.setPhase;return[{eventName:"mousemove",fn:function(It){var Rt=It.button,Ar=It.clientX,Lr=It.clientY;if(Rt!==To)return;var mr={x:Ar,y:Lr},ur=Pe();if(ur.type==="DRAGGING"){It.preventDefault(),ur.actions.move(mr);return}ur.type==="PENDING"||he(!1);var Cr=ur.point;if(!Rs(Cr,mr))return;It.preventDefault();var Br=ur.actions.fluidLift(mr);at({type:"DRAGGING",actions:Br})}},{eventName:"mouseup",fn:function(It){var Rt=Pe();if(Rt.type!=="DRAGGING"){J();return}It.preventDefault(),Rt.actions.drop({shouldBlockNextClick:!0}),Ae()}},{eventName:"mousedown",fn:function(It){Pe().type==="DRAGGING"&&It.preventDefault(),J()}},{eventName:"keydown",fn:function(It){var Rt=Pe();if(Rt.type==="PENDING"){J();return}if(It.keyCode===xi){It.preventDefault(),J();return}is(It)}},{eventName:"resize",fn:J},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){Pe().type==="PENDING"&&J()}},{eventName:"webkitmouseforcedown",fn:function(It){var Rt=Pe();if(Rt.type!=="IDLE"||he(!1),Rt.actions.shouldRespectForcePress()){J();return}It.preventDefault()}},{eventName:ts,fn:J}]}function Qo(Ee){var J=Object(O.useRef)(Es),Ae=Object(O.useRef)(Z),Pe=r(function(){return{eventName:"mousedown",fn:function(ur){if(ur.defaultPrevented)return;if(ur.button!==To)return;if(ur.ctrlKey||ur.metaKey||ur.shiftKey||ur.altKey)return;var Cr=Ee.findClosestDraggableId(ur);if(!Cr)return;var Br=Ee.tryGetLock(Cr,It,{sourceEvent:ur});if(!Br)return;ur.preventDefault();var an={x:ur.clientX,y:ur.clientY};Ae.current(),Lr(Br,an)}}},[Ee]),at=r(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(ur){if(ur.defaultPrevented)return;var Cr=Ee.findClosestDraggableId(ur);if(!Cr)return;var Br=Ee.findOptionsForDraggable(Cr);if(!Br)return;if(Br.shouldRespectForcePress)return;if(!Ee.canGetLock(Cr))return;ur.preventDefault()}}},[Ee]),Ct=s(function(){var ur={passive:!1,capture:!0};Ae.current=Y(window,[at,Pe],ur)},[at,Pe]),It=s(function(){var mr=J.current;if(mr.type==="IDLE")return;J.current=Es,Ae.current(),Ct()},[Ct]),Rt=s(function(){var mr=J.current;It(),mr.type==="DRAGGING"&&mr.actions.cancel({shouldBlockNextClick:!0}),mr.type==="PENDING"&&mr.actions.abort()},[It]),Ar=s(function(){var ur={capture:!0,passive:!1},Cr=as({cancel:Rt,completed:It,getPhase:function(){return J.current},setPhase:function(an){J.current=an}});Ae.current=Y(window,Cr,ur)},[Rt,It]),Lr=s(function(ur,Cr){J.current.type==="IDLE"||he(!1),J.current={type:"PENDING",point:Cr,actions:ur},Ar()},[Ar]);ko(function(){return Ct(),function(){Ae.current()}},[Ct])}var hs;function Al(){}var sl=(hs={},hs[ya]=!0,hs[sa]=!0,hs[$a]=!0,hs[Ja]=!0,hs);function fs(Ee,J){function Ae(){J(),Ee.cancel()}function Pe(){J(),Ee.drop()}return[{eventName:"keydown",fn:function(Ct){if(Ct.keyCode===xi){Ct.preventDefault(),Ae();return}if(Ct.keyCode===Di){Ct.preventDefault(),Pe();return}if(Ct.keyCode===Do){Ct.preventDefault(),Ee.moveDown();return}if(Ct.keyCode===Io){Ct.preventDefault(),Ee.moveUp();return}if(Ct.keyCode===Co){Ct.preventDefault(),Ee.moveRight();return}if(Ct.keyCode===to){Ct.preventDefault(),Ee.moveLeft();return}if(sl[Ct.keyCode]){Ct.preventDefault();return}is(Ct)}},{eventName:"mousedown",fn:Ae},{eventName:"mouseup",fn:Ae},{eventName:"click",fn:Ae},{eventName:"touchstart",fn:Ae},{eventName:"resize",fn:Ae},{eventName:"wheel",fn:Ae,options:{passive:!0}},{eventName:ts,fn:Ae}]}function Lo(Ee){var J=Object(O.useRef)(Al),Ae=r(function(){return{eventName:"keydown",fn:function(Ct){if(Ct.defaultPrevented)return;if(Ct.keyCode!==Di)return;var It=Ee.findClosestDraggableId(Ct);if(!It)return;var Rt=Ee.tryGetLock(It,mr,{sourceEvent:Ct});if(!Rt)return;Ct.preventDefault();var Ar=!0,Lr=Rt.snapLift();J.current();function mr(){Ar||he(!1),Ar=!1,J.current(),Pe()}J.current=Y(window,fs(Lr,mr),{capture:!0,passive:!1})}}},[Ee]),Pe=s(function(){var Ct={passive:!1,capture:!0};J.current=Y(window,[Ae],Ct)},[Ae]);ko(function(){return Pe(),function(){J.current()}},[Pe])}var ls={type:"IDLE"},Zs=120,As=.15;function Fs(Ee){var J=Ee.cancel,Ae=Ee.getPhase;return[{eventName:"orientationchange",fn:J},{eventName:"resize",fn:J},{eventName:"contextmenu",fn:function(at){at.preventDefault()}},{eventName:"keydown",fn:function(at){if(Ae().type!=="DRAGGING"){J();return}at.keyCode===xi&&at.preventDefault(),J()}},{eventName:ts,fn:J}]}function Us(Ee){var J=Ee.cancel,Ae=Ee.completed,Pe=Ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ct){var It=Pe();if(It.type!=="DRAGGING"){J();return}It.hasMoved=!0;var Rt=Ct.touches[0],Ar=Rt.clientX,Lr=Rt.clientY,mr={x:Ar,y:Lr};Ct.preventDefault(),It.actions.move(mr)}},{eventName:"touchend",fn:function(Ct){var It=Pe();if(It.type!=="DRAGGING"){J();return}Ct.preventDefault(),It.actions.drop({shouldBlockNextClick:!0}),Ae()}},{eventName:"touchcancel",fn:function(Ct){if(Pe().type!=="DRAGGING"){J();return}Ct.preventDefault(),J()}},{eventName:"touchforcechange",fn:function(Ct){var It=Pe();It.type!=="IDLE"||he(!1);var Rt=Ct.touches[0];if(!Rt)return;var Ar=Rt.force>=As;if(!Ar)return;var Lr=It.actions.shouldRespectForcePress();if(It.type==="PENDING"){Lr&&J();return}if(Lr){if(It.hasMoved){Ct.preventDefault();return}J();return}Ct.preventDefault()}},{eventName:ts,fn:J}]}function Ds(Ee){var J=Object(O.useRef)(ls),Ae=Object(O.useRef)(Z),Pe=s(function(){return J.current},[]),at=s(function(Br){J.current=Br},[]),Ct=r(function(){return{eventName:"touchstart",fn:function(Br){if(Br.defaultPrevented)return;var an=Ee.findClosestDraggableId(Br);if(!an)return;var jn=Ee.tryGetLock(an,Rt,{sourceEvent:Br});if(!jn)return;var Vn=Br.touches[0],Ei=Vn.clientX,di=Vn.clientY,ua={x:Ei,y:di};Ae.current(),ur(jn,ua)}}},[Ee]),It=s(function(){var Br={capture:!0,passive:!1};Ae.current=Y(window,[Ct],Br)},[Ct]),Rt=s(function(){var Cr=J.current;if(Cr.type==="IDLE")return;Cr.type==="PENDING"&&clearTimeout(Cr.longPressTimerId),at(ls),Ae.current(),It()},[It,at]),Ar=s(function(){var Cr=J.current;Rt(),Cr.type==="DRAGGING"&&Cr.actions.cancel({shouldBlockNextClick:!0}),Cr.type==="PENDING"&&Cr.actions.abort()},[Rt]),Lr=s(function(){var Br={capture:!0,passive:!1},an={cancel:Ar,completed:Rt,getPhase:Pe},jn=Y(window,Us(an),Br),Vn=Y(window,Fs(an),Br);Ae.current=function(){jn(),Vn()}},[Ar,Pe,Rt]),mr=s(function(){var Br=Pe();Br.type==="PENDING"||he(!1);var an=Br.actions.fluidLift(Br.point);at({type:"DRAGGING",actions:an,hasMoved:!1})},[Pe,at]),ur=s(function(Br,an){Pe().type==="IDLE"||he(!1);var jn=setTimeout(mr,Zs);at({type:"PENDING",point:an,actions:Br,longPressTimerId:jn}),Lr()},[Lr,Pe,at,mr]);ko(function(){return It(),function(){Ae.current();var an=Pe();an.type==="PENDING"&&(clearTimeout(an.longPressTimerId),at(ls))}},[Pe,It,at]),ko(function(){var Br=Y(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return Br},[])}function al(Ee){Lt(function(){var J=Zr(Ee);br(function(){J.current.length===Ee.length||he(!1)})})}var $s={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Ys(Ee,J){if(J==null)return!1;var Ae=Boolean($s[J.tagName.toLowerCase()]);if(Ae)return!0;var Pe=J.getAttribute("contenteditable");return Pe==="true"||Pe===""?!0:J===Ee?!1:Ys(Ee,J.parentElement)}function js(Ee,J){var Ae=J.target;return Ps(Ae)?Ys(Ee,Ae):!1}var Xa=function(J){return n(J.getBoundingClientRect()).center};function ga(Ee){return Ee instanceof Ks(Ee).Element}var Wa=function(){var Ee="matches";if(typeof document=="undefined")return Ee;var J=[Ee,"msMatchesSelector","webkitMatchesSelector"],Ae=de(J,function(Pe){return Pe in Element.prototype});return Ae||Ee}();function oo(Ee,J){return Ee==null?null:Ee[Wa](J)?Ee:oo(Ee.parentElement,J)}function Jo(Ee,J){return Ee.closest?Ee.closest(J):oo(Ee,J)}function Hs(Ee){return"["+Is.contextId+'="'+Ee+'"]'}function bs(Ee,J){var Ae=J.target;if(!ga(Ae))return null;var Pe=Hs(Ee),at=Jo(Ae,Pe);return at&&Ps(at)?at:null}function ws(Ee,J){var Ae=bs(Ee,J);return Ae?Ae.getAttribute(Is.draggableId):null}function Uo(Ee,J){var Ae="["+xs.contextId+'="'+Ee+'"]',Pe=Ht(document.querySelectorAll(Ae)),at=de(Pe,function(Ct){return Ct.getAttribute(xs.id)===J});return at&&Ps(at)?at:null}function _o(Ee){Ee.preventDefault()}function Zo(Ee){var J=Ee.expected,Ae=Ee.phase,Pe=Ee.isLockActive,at=Ee.shouldWarn;return Pe()?!(J!==Ae):!1}function xo(Ee){var J=Ee.lockAPI,Ae=Ee.store,Pe=Ee.registry,at=Ee.draggableId;if(J.isClaimed())return!1;var Ct=Pe.draggable.findById(at);return Ct&&Ct.options.isEnabled?!!lo(Ae.getState(),at):!1}function Ws(Ee){var J=Ee.lockAPI,Ae=Ee.contextId,Pe=Ee.store,at=Ee.registry,Ct=Ee.draggableId,It=Ee.forceSensorStop,Rt=Ee.sourceEvent,Ar=xo({lockAPI:J,store:Pe,registry:at,draggableId:Ct});if(!Ar)return null;var Lr=at.draggable.getById(Ct),mr=Uo(Ae,Lr.descriptor.id);if(!mr)return null;if(Rt&&!Lr.options.canDragInteractiveElements&&js(mr,Rt))return null;var ur=J.claim(It||Z),Cr="PRE_DRAG";function Br(){return Lr.options.shouldRespectForcePress}function an(){return J.isActive(ur)}function jn(ha,Za){Zo({expected:ha,phase:Cr,isLockActive:an,shouldWarn:!0})&&Pe.dispatch(Za())}var Vn=jn.bind(null,"DRAGGING");function Ei(ha){function Za(){J.release(),Cr="COMPLETED"}Cr!=="PRE_DRAG"&&(Za(),Cr==="PRE_DRAG"||he(!1)),Pe.dispatch(Gr(ha.liftActionArgs)),Cr="DRAGGING";function po(N,F){if(F===void 0&&(F={shouldBlockNextClick:!1}),ha.cleanup(),F.shouldBlockNextClick){var Q=Y(window,[{eventName:"click",fn:_o,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Q)}Za(),Pe.dispatch(Tn({reason:N}))}return Object(E.a)({isActive:function(){return Zo({expected:"DRAGGING",phase:Cr,isLockActive:an,shouldWarn:!1})},shouldRespectForcePress:Br,drop:function(F){return po("DROP",F)},cancel:function(F){return po("CANCEL",F)}},ha.actions)}function di(ha){var Za=R(function(N){Vn(function(){return Ir({client:N})})}),po=Ei({liftActionArgs:{id:Ct,clientSelection:ha,movementMode:"FLUID"},cleanup:function(){return Za.cancel()},actions:{move:Za}});return Object(E.a)({},po,{move:Za})}function ua(){var ha={moveUp:function(){return Vn(on)},moveRight:function(){return Vn(vn)},moveDown:function(){return Vn(En)},moveLeft:function(){return Vn(Dn)}};return Ei({liftActionArgs:{id:Ct,clientSelection:Xa(mr),movementMode:"SNAP"},cleanup:Z,actions:ha})}function ji(){var ha=Zo({expected:"PRE_DRAG",phase:Cr,isLockActive:an,shouldWarn:!0});ha&&J.release()}var Ta={isActive:function(){return Zo({expected:"PRE_DRAG",phase:Cr,isLockActive:an,shouldWarn:!1})},shouldRespectForcePress:Br,fluidLift:di,snapLift:ua,abort:ji};return Ta}var Sl=[Qo,Lo,Ds];function xl(Ee){var J=Ee.contextId,Ae=Ee.store,Pe=Ee.registry,at=Ee.customSensors,Ct=Ee.enableDefaultSensors,It=[].concat(Ct?Sl:[],at||[]),Rt=Object(O.useState)(function(){return Cn()})[0],Ar=s(function(di,ua){di.isDragging&&!ua.isDragging&&Rt.tryAbandon()},[Rt]);ko(function(){var di=Ae.getState(),ua=Ae.subscribe(function(){var ji=Ae.getState();Ar(di,ji),di=ji});return ua},[Rt,Ae,Ar]),ko(function(){return Rt.tryAbandon},[Rt.tryAbandon]);var Lr=s(function(Ei){return xo({lockAPI:Rt,registry:Pe,store:Ae,draggableId:Ei})},[Rt,Pe,Ae]),mr=s(function(Ei,di,ua){return Ws({lockAPI:Rt,registry:Pe,contextId:J,store:Ae,draggableId:Ei,forceSensorStop:di,sourceEvent:ua&&ua.sourceEvent?ua.sourceEvent:null})},[J,Rt,Pe,Ae]),ur=s(function(Ei){return ws(J,Ei)},[J]),Cr=s(function(Ei){var di=Pe.draggable.findById(Ei);return di?di.options:null},[Pe.draggable]),Br=s(function(){if(!Rt.isClaimed())return;Rt.tryAbandon(),Ae.getState().phase!=="IDLE"&&Ae.dispatch(Un())},[Rt,Ae]),an=s(Rt.isClaimed,[Rt]),jn=r(function(){return{canGetLock:Lr,tryGetLock:mr,findClosestDraggableId:ur,findOptionsForDraggable:Cr,tryReleaseLock:Br,isLockClaimed:an}},[Lr,mr,ur,Cr,Br,an]);al(It);for(var Vn=0;Vn<It.length;Vn++)It[Vn](jn)}var kl=function(J){return{onBeforeCapture:J.onBeforeCapture,onBeforeDragStart:J.onBeforeDragStart,onDragStart:J.onDragStart,onDragEnd:J.onDragEnd,onDragUpdate:J.onDragUpdate}};function el(Ee){return Ee.current||he(!1),Ee.current}function Il(Ee){var J=Ee.contextId,Ae=Ee.setCallbacks,Pe=Ee.sensors,at=Ee.nonce,Ct=Ee.dragHandleUsageInstructions,It=Object(O.useRef)(null);Or();var Rt=Zr(Ee),Ar=s(function(){return kl(Rt.current)},[Rt]),Lr=Ls(J),mr=Dt({contextId:J,text:Ct}),ur=il(J,at),Cr=s(function(N){el(It).dispatch(N)},[]),Br=r(function(){return Object(C.b)({publishWhileDragging:fn,updateDroppableScroll:Ot,updateDroppableIsEnabled:cr,updateDroppableIsCombineEnabled:lr,collectionStarting:Xe},Cr)},[Cr]),an=ns(),jn=r(function(){return ia(an,Br)},[an,Br]),Vn=r(function(){return nl(Object(E.a)({scrollWindow:Ga,scrollDroppable:jn.scrollDroppable},Object(C.b)({move:Ir},Cr)))},[jn.scrollDroppable,Cr]),Ei=Ao(J),di=r(function(){return Sa({announce:Lr,autoScroller:Vn,dimensionMarshal:jn,focusMarshal:Ei,getResponders:Ar,styleMarshal:ur})},[Lr,Vn,jn,Ei,Ar,ur]);It.current=di;var ua=s(function(){var N=el(It),F=N.getState();F.phase!=="IDLE"&&N.dispatch(Un())},[]),ji=s(function(){var N=el(It).getState();return N.isDragging||N.phase==="DROP_ANIMATING"},[]),Ta=r(function(){return{isDragging:ji,tryAbort:ua}},[ji,ua]);Ae(Ta);var ha=s(function(N){return lo(el(It).getState(),N)},[]),Za=s(function(){return oi(el(It).getState())},[]),po=r(function(){return{marshal:jn,focus:Ei,contextId:J,canLift:ha,isMovementAllowed:Za,dragHandleUsageInstructionsId:mr,registry:an}},[J,jn,mr,Ei,ha,Za,an]);return xl({contextId:J,store:di,registry:an,customSensors:Pe,enableDefaultSensors:Ee.enableDefaultSensors!==!1}),Object(O.useEffect)(function(){return ua},[ua]),_.a.createElement(rn.Provider,{value:po},_.a.createElement(t.a,{context:ys,store:di},Ee.children))}var Ol=0;function Uc(){Ol=0}function ic(){return r(function(){return""+Ol++},[])}function Cc(){Uc(),gs()}function ac(Ee){var J=ic(),Ae=Ee.dragHandleUsageInstructions||je.dragHandleUsageInstructions;return _.a.createElement(xe,null,function(Pe){return _.a.createElement(Il,{nonce:Ee.nonce,contextId:J,setCallbacks:Pe,dragHandleUsageInstructions:Ae,enableDefaultSensors:Ee.enableDefaultSensors,sensors:Ee.sensors,onBeforeCapture:Ee.onBeforeCapture,onBeforeDragStart:Ee.onBeforeDragStart,onDragStart:Ee.onDragStart,onDragUpdate:Ee.onDragUpdate,onDragEnd:Ee.onDragEnd},Ee.children)})}var Hl=function(J){return function(Ae){return J===Ae}},zs=Hl("scroll"),tl=Hl("auto"),ll=Hl("visible"),Fl=function(J,Ae){return Ae(J.overflowX)||Ae(J.overflowY)},oc=function(J,Ae){return Ae(J.overflowX)&&Ae(J.overflowY)},sc=function(J){var Ae=window.getComputedStyle(J),Pe={overflowX:Ae.overflowX,overflowY:Ae.overflowY};return Fl(Pe,zs)||Fl(Pe,tl)},Ql=function(){return!1;var J,Ae;if(!sc(J))return!1;var Pe,at;if(oc(at,ll))return!1},Vs=function Ee(J){return J==null?null:J===document.body?Ql()?J:null:J===document.documentElement?null:sc(J)?J:Ee(J.parentElement)},lc=function(J){if(!J)return;var Ae=Vs(J.parentElement);if(!Ae)return},cc=function(J){return{x:J.scrollLeft,y:J.scrollTop}},Tc=function Ee(J){if(!J)return!1;var Ae=window.getComputedStyle(J);return Ae.position==="fixed"?!0:Ee(J.parentElement)},vl=function(J){var Ae=Vs(J),Pe=Tc(J);return{closestScrollable:Ae,isFixedOnPage:Pe}},Ll=function(J){var Ae=J.descriptor,Pe=J.isEnabled,at=J.isCombineEnabled,Ct=J.isFixedOnPage,It=J.direction,Rt=J.client,Ar=J.page,Lr=J.closest,mr=function(){if(!Lr)return null;var an=Lr.scrollSize,jn=Lr.client,Vn=Ua({scrollHeight:an.scrollHeight,scrollWidth:an.scrollWidth,height:jn.paddingBox.height,width:jn.paddingBox.width});return{pageMarginBox:Lr.page.marginBox,frameClient:jn,scrollSize:an,shouldClipSubject:Lr.shouldClipSubject,scroll:{initial:Lr.scroll,current:Lr.scroll,max:Vn,diff:{value:et,displacement:et}}}}(),ur=It==="vertical"?Ln:$e,Cr=Be({page:Ar,withPlaceholder:null,axis:ur,frame:mr}),Br={descriptor:Ae,isCombineEnabled:at,isFixedOnPage:Ct,axis:ur,isEnabled:Pe,client:Rt,page:Ar,frame:mr,subject:Cr};return Br},Kl=function(J,Ae){var Pe=b(J);if(!Ae)return Pe;if(J!==Ae)return Pe;var at=Pe.paddingBox.top-Ae.scrollTop,Ct=Pe.paddingBox.left-Ae.scrollLeft,It=at+Ae.scrollHeight,Rt=Ct+Ae.scrollWidth,Ar={top:at,right:Rt,bottom:It,left:Ct},Lr=c(Ar,Pe.border),mr=u({borderBox:Lr,margin:Pe.margin,border:Pe.border,padding:Pe.padding});return mr},Jl=function(J){var Ae=J.ref,Pe=J.descriptor,at=J.env,Ct=J.windowScroll,It=J.direction,Rt=J.isDropDisabled,Ar=J.isCombineEnabled,Lr=J.shouldClipSubject,mr=at.closestScrollable,ur=Kl(Ae,mr),Cr=g(ur,Ct),Br=function(){if(!mr)return null;var jn=b(mr),Vn={scrollHeight:mr.scrollHeight,scrollWidth:mr.scrollWidth};return{client:jn,page:g(jn,Ct),scroll:cc(mr),scrollSize:Vn,shouldClipSubject:Lr}}(),an=Ll({descriptor:Pe,isEnabled:!Rt,isCombineEnabled:Ar,isFixedOnPage:at.isFixedOnPage,direction:It,client:ur,page:Cr,closest:Br});return an},El={passive:!1},jc={passive:!0},Hc=function(J){return J.shouldPublishImmediately?El:jc};function yl(Ee){var J=Object(O.useContext)(Ee);return J||he(!1),J}var Zl=function(J){return J&&J.env.closestScrollable||null};function uc(Ee){var J=Object(O.useRef)(null),Ae=yl(rn),Pe=Ns("droppable"),at=Ae.registry,Ct=Ae.marshal,It=Zr(Ee),Rt=r(function(){return{id:Ee.droppableId,type:Ee.type,mode:Ee.mode}},[Ee.droppableId,Ee.mode,Ee.type]),Ar=Object(O.useRef)(Rt),Lr=r(function(){return T(function(ji,Ta){J.current||he(!1);var ha={x:ji,y:Ta};Ct.updateDroppableScroll(Rt.id,ha)})},[Rt.id,Ct]),mr=s(function(){var ji=J.current;return!ji||!ji.env.closestScrollable?et:cc(ji.env.closestScrollable)},[]),ur=s(function(){var ji=mr();Lr(ji.x,ji.y)},[mr,Lr]),Cr=r(function(){return R(ur)},[ur]),Br=s(function(){var ji=J.current,Ta=Zl(ji);ji&&Ta||he(!1);var ha=ji.scrollOptions;if(ha.shouldPublishImmediately){ur();return}Cr()},[Cr,ur]),an=s(function(ji,Ta){J.current&&he(!1);var ha=It.current,Za=ha.getDroppableRef();Za||he(!1);var po=vl(Za),N={ref:Za,descriptor:Rt,env:po,scrollOptions:Ta};J.current=N;var F=Jl({ref:Za,descriptor:Rt,env:po,windowScroll:ji,direction:ha.direction,isDropDisabled:ha.isDropDisabled,isCombineEnabled:ha.isCombineEnabled,shouldClipSubject:!ha.ignoreContainerClipping}),Q=po.closestScrollable;return Q&&(Q.setAttribute(Os.contextId,Ae.contextId),Q.addEventListener("scroll",Br,Hc(N.scrollOptions))),F},[Ae.contextId,Rt,Br,It]),jn=s(function(){var ji=J.current,Ta=Zl(ji);return ji&&Ta||he(!1),cc(Ta)},[]),Vn=s(function(){var ji=J.current;ji||he(!1);var Ta=Zl(ji);if(J.current=null,!Ta)return;Cr.cancel(),Ta.removeAttribute(Os.contextId),Ta.removeEventListener("scroll",Br,Hc(ji.scrollOptions))},[Br,Cr]),Ei=s(function(ji){var Ta=J.current;Ta||he(!1);var ha=Zl(Ta);ha||he(!1),ha.scrollTop+=ji.y,ha.scrollLeft+=ji.x},[]),di=r(function(){return{getDimensionAndWatchScroll:an,getScrollWhileDragging:jn,dragStopped:Vn,scroll:Ei}},[Vn,an,jn,Ei]),ua=r(function(){return{uniqueId:Pe,descriptor:Rt,callbacks:di}},[di,Rt,Pe]);ko(function(){return Ar.current=ua.descriptor,at.droppable.register(ua),function(){J.current&&Vn(),at.droppable.unregister(ua)}},[di,Rt,Vn,ua,Ct,at.droppable]),ko(function(){if(!J.current)return;Ct.updateDroppableIsEnabled(Ar.current.id,!Ee.isDropDisabled)},[Ee.isDropDisabled,Ct]),ko(function(){if(!J.current)return;Ct.updateDroppableIsCombineEnabled(Ar.current.id,Ee.isCombineEnabled)},[Ee.isCombineEnabled,Ct])}function $l(){}var Ss={width:0,height:0,margin:wt},dl=function(J){var Ae=J.isAnimatingOpenOnMount,Pe=J.placeholder,at=J.animate;return Ae||at==="close"?Ss:{height:Pe.client.borderBox.height,width:Pe.client.borderBox.width,margin:Pe.client.margin}},Ul=function(J){var Ae=J.isAnimatingOpenOnMount,Pe=J.placeholder,at=J.animate,Ct=dl({isAnimatingOpenOnMount:Ae,placeholder:Pe,animate:at});return{display:Pe.display,boxSizing:"border-box",width:Ct.width,height:Ct.height,marginTop:Ct.margin.top,marginRight:Ct.margin.right,marginBottom:Ct.margin.bottom,marginLeft:Ct.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:at!=="none"?Wn.placeholder:null}};function _c(Ee){var J=Object(O.useRef)(null),Ae=s(function(){if(!J.current)return;clearTimeout(J.current),J.current=null},[]),Pe=Ee.animate,at=Ee.onTransitionEnd,Ct=Ee.onClose,It=Ee.contextId,Rt=Object(O.useState)(Ee.animate==="open"),Ar=Rt[0],Lr=Rt[1];Object(O.useEffect)(function(){return Ar?Pe!=="open"?(Ae(),Lr(!1),$l):J.current?$l:(J.current=setTimeout(function(){J.current=null,Lr(!1)}),Ae):$l},[Pe,Ar,Ae]);var mr=s(function(Cr){if(Cr.propertyName!=="height")return;at(),Pe==="close"&&Ct()},[Pe,Ct,at]),ur=Ul({isAnimatingOpenOnMount:Ar,animate:Ee.animate,placeholder:Ee.placeholder});return _.a.createElement(Ee.placeholder.tagName,{style:ur,"data-rbd-placeholder-context-id":It,onTransitionEnd:mr,ref:Ee.innerRef})}var dc=_.a.memo(_c),Wl=_.a.createContext(null);function zl(Ee){Ee&&Ps(Ee)||he(!1)}function hc(Ee){return typeof Ee=="boolean"}function Ic(Ee,J){J.forEach(function(Ae){return Ae(Ee)})}var Kc=[function(J){var Ae=J.props;Ae.droppableId||he(!1),typeof Ae.droppableId=="string"||he(!1)},function(J){var Ae=J.props;hc(Ae.isDropDisabled)||he(!1),hc(Ae.isCombineEnabled)||he(!1),hc(Ae.ignoreContainerClipping)||he(!1)},function(J){var Ae=J.getDroppableRef;zl(Ae())}],hl=[function(J){var Ae=J.props,Pe=J.getPlaceholderRef;if(!Ae.placeholder)return;var at=Pe();if(at)return}],fl=[function(J){var Ae=J.props;Ae.renderClone||he(!1)},function(J){var Ae=J.getPlaceholderRef;Ae()&&he(!1)}];function Cl(Ee){br(function(){Ic(Ee,Kc),Ee.props.mode==="standard"&&Ic(Ee,hl),Ee.props.mode==="virtual"&&Ic(Ee,fl)})}var ql=function(Ee){Object(I.a)(J,Ee);function J(){for(var Pe,at=arguments.length,Ct=new Array(at),It=0;It<at;It++)Ct[It]=arguments[It];return Pe=Ee.call.apply(Ee,[this].concat(Ct))||this,Pe.state={isVisible:Boolean(Pe.props.on),data:Pe.props.on,animate:Pe.props.shouldAnimate&&Pe.props.on?"open":"none"},Pe.onClose=function(){if(Pe.state.animate!=="close")return;Pe.setState({isVisible:!1})},Pe}J.getDerivedStateFromProps=function(at,Ct){return at.shouldAnimate?at.on?{isVisible:!0,data:at.on,animate:"open"}:Ct.isVisible?{isVisible:!0,data:Ct.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(at.on),data:at.on,animate:"none"}};var Ae=J.prototype;return Ae.render=function(){if(!this.state.isVisible)return null;var at={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(at)},J}(_.a.PureComponent),ec={dragging:5e3,dropAnimating:4500},bl=function(J,Ae){return Ae?Wn.drop(Ae.duration):J?Wn.snap:Wn.fluid},cl=function(J,Ae){return J?Ae?Si.opacity.drop:Si.opacity.combining:null},fc=function(J){return J.forceShouldAnimate!=null?J.forceShouldAnimate:J.mode==="SNAP"};function pc(Ee){var J=Ee.dimension,Ae=J.client,Pe=Ee.offset,at=Ee.combineWith,Ct=Ee.dropping,It=Boolean(at),Rt=fc(Ee),Ar=Boolean(Ct),Lr=Ar?zi.drop(Pe,It):zi.moveTo(Pe),mr={position:"fixed",top:Ae.marginBox.top,left:Ae.marginBox.left,boxSizing:"border-box",width:Ae.borderBox.width,height:Ae.borderBox.height,transition:bl(Rt,Ct),transform:Lr,opacity:cl(It,Ar),zIndex:Ar?ec.dropAnimating:ec.dragging,pointerEvents:"none"};return mr}function Wc(Ee){return{transform:zi.moveTo(Ee.offset),transition:Ee.shouldAnimateDisplacement?null:"none"}}function Oc(Ee){return Ee.type==="DRAGGING"?pc(Ee):Wc(Ee)}function Lc(Ee,J,Ae){Ae===void 0&&(Ae=et);var Pe=window.getComputedStyle(J),at=J.getBoundingClientRect(),Ct=v(at,Pe),It=g(Ct,Ae),Rt={client:Ct,tagName:J.tagName.toLowerCase(),display:Pe.display},Ar={x:Ct.marginBox.width,y:Ct.marginBox.height},Lr={descriptor:Ee,placeholder:Rt,displaceBy:Ar,client:Ct,page:It};return Lr}function zc(Ee){var J=Ns("draggable"),Ae=Ee.descriptor,Pe=Ee.registry,at=Ee.getDraggableRef,Ct=Ee.canDragInteractiveElements,It=Ee.shouldRespectForcePress,Rt=Ee.isEnabled,Ar=r(function(){return{canDragInteractiveElements:Ct,shouldRespectForcePress:It,isEnabled:Rt}},[Ct,Rt,It]),Lr=s(function(Br){var an=at();return an||he(!1),Lc(Ae,an,Br)},[Ae,at]),mr=r(function(){return{uniqueId:J,descriptor:Ae,options:Ar,getDimension:Lr}},[Ae,Lr,Ar,J]),ur=Object(O.useRef)(mr),Cr=Object(O.useRef)(!0);ko(function(){return Pe.draggable.register(ur.current),function(){return Pe.draggable.unregister(ur.current)}},[Pe.draggable]),ko(function(){if(Cr.current){Cr.current=!1;return}var Br=ur.current;ur.current=mr,Pe.draggable.update(mr,Br)},[mr,Pe.draggable])}function Vl(Ee,J,Ae){br(function(){function Pe(Ct){return"Draggable[id: "+Ct+"]: "}var at=Ee.draggableId;if(at||he(!1),typeof at=="string"||he(!1),q(Ee.index)||he(!1),Ee.mapped.type==="DRAGGING")return;zl(Ae()),Ee.isEnabled&&(no(J,at)||he(!1))})}function pl(Ee){Lt(function(){var J=Object(O.useRef)(Ee);br(function(){Ee===J.current||he(!1)},[Ee])})}function Nl(Ee){Ee.preventDefault()}function Xl(Ee){var J=Object(O.useRef)(null),Ae=s(function(N){J.current=N},[]),Pe=s(function(){return J.current},[]),at=yl(rn),Ct=at.contextId,It=at.dragHandleUsageInstructionsId,Rt=at.registry,Ar=yl(Wl),Lr=Ar.type,mr=Ar.droppableId,ur=r(function(){return{id:Ee.draggableId,index:Ee.index,type:Lr,droppableId:mr}},[Ee.draggableId,Ee.index,Lr,mr]),Cr=Ee.children,Br=Ee.draggableId,an=Ee.isEnabled,jn=Ee.shouldRespectForcePress,Vn=Ee.canDragInteractiveElements,Ei=Ee.isClone,di=Ee.mapped,ua=Ee.dropAnimationFinished;if(Vl(Ee,Ct,Pe),pl(Ei),!Ei){var ji=r(function(){return{descriptor:ur,registry:Rt,getDraggableRef:Pe,canDragInteractiveElements:Vn,shouldRespectForcePress:jn,isEnabled:an}},[ur,Rt,Pe,Vn,jn,an]);zc(ji)}var Ta=r(function(){return an?{tabIndex:0,role:"button","aria-describedby":It,"data-rbd-drag-handle-draggable-id":Br,"data-rbd-drag-handle-context-id":Ct,draggable:!1,onDragStart:Nl}:null},[Ct,It,Br,an]),ha=s(function(N){if(di.type!=="DRAGGING")return;if(!di.dropping)return;if(N.propertyName!=="transform")return;ua()},[ua,di]),Za=r(function(){var N=Oc(di),F=di.type==="DRAGGING"&&di.dropping?ha:null,Q={innerRef:Ae,draggableProps:{"data-rbd-draggable-context-id":Ct,"data-rbd-draggable-id":Br,style:N,onTransitionEnd:F},dragHandleProps:Ta};return Q},[Ct,Ta,Br,di,ha,Ae]),po=r(function(){return{draggableId:ur.id,type:ur.type,source:{index:ur.index,droppableId:ur.droppableId}}},[ur.droppableId,ur.id,ur.index,ur.type]);return Cr(Za,di.snapshot,po)}var jl=function(J,Ae){return J===Ae},mc=function(J){var Ae=J.combine,Pe=J.destination;return Pe?Pe.droppableId:Ae?Ae.droppableId:null},Vc=function(J){return J.combine?J.combine.draggableId:null},Nc=function(J){return J.at&&J.at.type==="COMBINE"?J.at.combine.draggableId:null};function eu(){var Ee=T(function(at,Ct){return{x:at,y:Ct}}),J=T(function(at,Ct,It,Rt,Ar){return{isDragging:!0,isClone:Ct,isDropAnimating:Boolean(Ar),dropAnimation:Ar,mode:at,draggingOver:It,combineWith:Rt,combineTargetFor:null}}),Ae=T(function(at,Ct,It,Rt,Ar,Lr,mr){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:Ar,combineWith:Lr,mode:Ct,offset:at,dimension:It,forceShouldAnimate:mr,snapshot:J(Ct,Rt,Ar,Lr,null)}}}),Pe=function(Ct,It){if(Ct.isDragging){if(Ct.critical.draggable.id!==It.draggableId)return null;var Rt=Ct.current.client.offset,Ar=Ct.dimensions.draggables[It.draggableId],Lr=Sn(Ct.impact),mr=Nc(Ct.impact),ur=Ct.forceShouldAnimate;return Ae(Ee(Rt.x,Rt.y),Ct.movementMode,Ar,It.isClone,Lr,mr,ur)}if(Ct.phase==="DROP_ANIMATING"){var Cr=Ct.completed;if(Cr.result.draggableId!==It.draggableId)return null;var Br=It.isClone,an=Ct.dimensions.draggables[It.draggableId],jn=Cr.result,Vn=jn.mode,Ei=mc(jn),di=Vc(jn),ua=Ct.dropDuration,ji={duration:ua,curve:Bi.drop,moveTo:Ct.newHomeClientOffset,opacity:di?Si.opacity.drop:null,scale:di?Si.scale.drop:null};return{mapped:{type:"DRAGGING",offset:Ct.newHomeClientOffset,dimension:an,dropping:ji,draggingOver:Ei,combineWith:di,mode:Vn,forceShouldAnimate:null,snapshot:J(Vn,Br,Ei,di,ji)}}}return null};return Pe}function Rc(Ee){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:Ee,combineWith:null}}var Xc={mapped:{type:"SECONDARY",offset:et,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Rc(null)}};function Gc(){var Ee=T(function(It,Rt){return{x:It,y:Rt}}),J=T(Rc),Ae=T(function(It,Rt,Ar){return Rt===void 0&&(Rt=null),{mapped:{type:"SECONDARY",offset:It,combineTargetFor:Rt,shouldAnimateDisplacement:Ar,snapshot:J(Rt)}}}),Pe=function(Rt){return Rt?Ae(et,Rt,!0):null},at=function(Rt,Ar,Lr,mr){var ur=Lr.displaced.visible[Rt],Cr=Boolean(mr.inVirtualList&&mr.effected[Rt]),Br=nr(Lr),an=Br&&Br.draggableId===Rt?Ar:null;if(!ur){if(!Cr)return Pe(an);if(Lr.displaced.invisible[Rt])return null;var jn=re(mr.displacedBy.point),Vn=Ee(jn.x,jn.y);return Ae(Vn,an,!0)}if(Cr)return Pe(an);var Ei=Lr.displacedBy.point,di=Ee(Ei.x,Ei.y);return Ae(di,an,ur.shouldAnimate)},Ct=function(Rt,Ar){if(Rt.isDragging)return Rt.critical.draggable.id===Ar.draggableId?null:at(Ar.draggableId,Rt.critical.draggable.id,Rt.impact,Rt.afterCritical);if(Rt.phase==="DROP_ANIMATING"){var Lr=Rt.completed;return Lr.result.draggableId===Ar.draggableId?null:at(Ar.draggableId,Lr.result.draggableId,Lr.impact,Lr.afterCritical)}return null};return Ct}var Yc=function(){var J=eu(),Ae=Gc(),Pe=function(Ct,It){return J(Ct,It)||Ae(Ct,It)||Xc};return Pe},Dc={dropAnimationFinished:Yn},gc=Object(t.c)(Yc,Dc,null,{context:ys,pure:!0,areStatePropsEqual:jl})(Xl);function wl(Ee){var J=yl(Wl),Ae=J.isUsingCloneFor;return Ae===Ee.draggableId&&!Ee.isClone?null:_.a.createElement(gc,Ee)}function Ac(Ee){var J=typeof Ee.isDragDisabled=="boolean"?!Ee.isDragDisabled:!0,Ae=Boolean(Ee.disableInteractiveElementBlocking),Pe=Boolean(Ee.shouldRespectForcePress);return _.a.createElement(wl,Object(E.a)({},Ee,{isClone:!1,isEnabled:J,canDragInteractiveElements:Ae,shouldRespectForcePress:Pe}))}function Tl(Ee){var J=Object(O.useContext)(rn);J||he(!1);var Ae=J.contextId,Pe=J.isMovementAllowed,at=Object(O.useRef)(null),Ct=Object(O.useRef)(null),It=Ee.children,Rt=Ee.droppableId,Ar=Ee.type,Lr=Ee.mode,mr=Ee.direction,ur=Ee.ignoreContainerClipping,Cr=Ee.isDropDisabled,Br=Ee.isCombineEnabled,an=Ee.snapshot,jn=Ee.useClone,Vn=Ee.updateViewportMaxScroll,Ei=Ee.getContainerForClone,di=s(function(){return at.current},[]),ua=s(function($){at.current=$},[]),ji=s(function(){return Ct.current},[]),Ta=s(function($){Ct.current=$},[]);Cl({props:Ee,getDroppableRef:di,getPlaceholderRef:ji});var ha=s(function(){Pe()&&Vn({maxScroll:za()})},[Pe,Vn]);uc({droppableId:Rt,type:Ar,mode:Lr,direction:mr,isDropDisabled:Cr,isCombineEnabled:Br,ignoreContainerClipping:ur,getDroppableRef:di});var Za=_.a.createElement(ql,{on:Ee.placeholder,shouldAnimate:Ee.shouldAnimatePlaceholder},function($){var oe=$.onClose,Oe=$.data,ft=$.animate;return _.a.createElement(dc,{placeholder:Oe,onClose:oe,innerRef:Ta,animate:ft,contextId:Ae,onTransitionEnd:ha})}),po=r(function(){return{innerRef:ua,placeholder:Za,droppableProps:{"data-rbd-droppable-id":Rt,"data-rbd-droppable-context-id":Ae}}},[Ae,Rt,Za,ua]),N=jn?jn.dragging.draggableId:null,F=r(function(){return{droppableId:Rt,type:Ar,isUsingCloneFor:N}},[Rt,N,Ar]);function Q(){if(!jn)return null;var $=jn.dragging,oe=jn.render,Oe=_.a.createElement(wl,{draggableId:$.draggableId,index:$.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(ft,_t){return oe(ft,_t,$)});return k.a.createPortal(Oe,Ei())}return _.a.createElement(Wl.Provider,{value:F},It(po,an),Q())}var tc=function(J,Ae){return J===Ae.droppable.type},me=function(J,Ae){return Ae.draggables[J.draggable.id]},Me=function(){var J={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},Ae=Object(E.a)({},J,{shouldAnimatePlaceholder:!1}),Pe=T(function(It){return{draggableId:It.id,type:It.type,source:{index:It.index,droppableId:It.droppableId}}}),at=T(function(It,Rt,Ar,Lr,mr,ur){var Cr=mr.descriptor.id,Br=mr.descriptor.droppableId===It;if(Br){var an=ur?{render:ur,dragging:Pe(mr.descriptor)}:null,jn={isDraggingOver:Ar,draggingOverWith:Ar?Cr:null,draggingFromThisWith:Cr,isUsingPlaceholder:!0};return{placeholder:mr.placeholder,shouldAnimatePlaceholder:!1,snapshot:jn,useClone:an}}if(!Rt)return Ae;if(!Lr)return J;var Vn={isDraggingOver:Ar,draggingOverWith:Cr,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:mr.placeholder,shouldAnimatePlaceholder:!0,snapshot:Vn,useClone:null}}),Ct=function(Rt,Ar){var Lr=Ar.droppableId,mr=Ar.type,ur=!Ar.isDropDisabled,Cr=Ar.renderClone;if(Rt.isDragging){var Br=Rt.critical;if(!tc(mr,Br))return Ae;var an=me(Br,Rt.dimensions),jn=Sn(Rt.impact)===Lr;return at(Lr,ur,jn,jn,an,Cr)}if(Rt.phase==="DROP_ANIMATING"){var Vn=Rt.completed;if(!tc(mr,Vn.critical))return Ae;var Ei=me(Vn.critical,Rt.dimensions);return at(Lr,ur,mc(Vn.result)===Lr,Sn(Vn.impact)===Lr,Ei,Cr)}if(Rt.phase==="IDLE"&&Rt.completed&&!Rt.shouldFlush){var di=Rt.completed;if(!tc(mr,di.critical))return Ae;var ua=Sn(di.impact)===Lr,ji=Boolean(di.impact.at&&di.impact.at.type==="COMBINE"),Ta=di.critical.droppable.id===Lr;return ua?ji?J:Ae:Ta?J:Ae}return Ae};return Ct},ht={updateViewportMaxScroll:Wr};function jt(){return document.body||he(!1),document.body}var dr={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:jt},Tr=Object(t.c)(Me,ht,null,{context:ys,pure:!0,areStatePropsEqual:jl})(Tl);Tr.defaultProps=dr},ni6a:function(ue,z,d){var O=d("pzxd"),_=d("mFDi"),I=d("gut8"),E=I.WILL_BE_RESTORED,C=new _,t=function(){};t.prototype={constructor:t,drawRectText:function(o,r){var s=this.style;r=s.textRect||r,this.__dirty&&O.normalizeTextStyle(s,!0);var l=s.text;if(l!=null&&(l+=""),!O.needDrawText(l,s))return;o.save();var n=this.transform;s.transformText?this.setTransform(o):n&&(C.copy(r),C.applyTransform(n),r=C),O.renderText(this,o,l,s,r,E),o.restore()}};var p=t;ue.exports=p},nkfE:function(ue,z,d){var O=d("bYtY"),_=d("ca2m"),I=d("bLfw"),E=d("+TT/"),C=E.getLayoutParams,t=E.mergeLayoutParam,p=d("jkPA"),h=["value","category","time","log"];function o(r,s,l,n){O.each(h,function(c){s.extend({type:r+"Axis."+c,mergeDefaultAndTheme:function(e,a){var i=this.layoutMode,u=i?C(e):{},f=a.getTheme();O.merge(e,f.get(c+"Axis")),O.merge(e,this.getDefaultOption()),e.type=l(r,e),i&&t(e,u,i)},optionUpdated:function(){var e=this.option;e.type==="category"&&(this.__ordinalMeta=p.createByAxisModel(this))},getCategories:function(e){var a=this.option;if(a.type==="category")return e?a.data:this.__ordinalMeta.categories},getOrdinalMeta:function(){return this.__ordinalMeta},defaultOption:O.mergeAll([{},_[c+"Axis"],n],!0)})}),I.registerSubTypeDefaulter(r+"Axis",O.curry(l,r))}ue.exports=o},noeP:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("UOVi");O.registerAction("dataZoom",function(E,C){var t=I.createLinkedNodesFinder(_.bind(C.eachComponent,C,"dataZoom"),I.eachAxisDim,function(h,o){return h.get(o.axisIndex)}),p=[];C.eachComponent({mainType:"dataZoom",query:E},function(h,o){p.push.apply(p,t(h).nodes)}),_.each(p,function(h,o){h.setRawRange({start:E.start,end:E.end,startValue:E.startValue,endValue:E.endValue})})})},"o/2+":function(ue,z,d){"use strict";var O=d("q1tI"),_=d.n(O),I=Object(O.createContext)({});z.a=I},o40c:function(ue,z,d){var O=d("IwbS"),_=d("OS9S"),I=d("loD1"),E=d("aKvl"),C=O.extendShape({shape:{polyline:!1,curveness:0,segs:[]},buildPath:function(o,r){var s=r.segs,l=r.curveness;if(r.polyline)for(var n=0;n<s.length;){var c=s[n++];if(c>0){o.moveTo(s[n++],s[n++]);for(var e=1;e<c;e++)o.lineTo(s[n++],s[n++])}}else for(var n=0;n<s.length;){var a=s[n++],i=s[n++],u=s[n++],f=s[n++];if(o.moveTo(a,i),l>0){var m=(a+u)/2-(i-f)*l,A=(i+f)/2-(u-a)*l;o.quadraticCurveTo(m,A,u,f)}else o.lineTo(u,f)}},findDataIndex:function(o,r){var s=this.shape,l=s.segs,n=s.curveness;if(s.polyline)for(var c=0,e=0;e<l.length;){var a=l[e++];if(a>0)for(var i=l[e++],u=l[e++],f=1;f<a;f++){var m=l[e++],A=l[e++];if(I.containStroke(i,u,m,A))return c}c++}else for(var c=0,e=0;e<l.length;){var i=l[e++],u=l[e++],m=l[e++],A=l[e++];if(n>0){var g=(i+m)/2-(u-A)*n,v=(u+A)/2-(m-i)*n;if(E.containStroke(i,u,g,v,m,A))return c}else if(I.containStroke(i,u,m,A))return c;c++}return-1}});function t(){this.group=new O.Group}var p=t.prototype;p.isPersistent=function(){return!this._incremental},p.updateData=function(o){this.group.removeAll();var r=new C({rectHover:!0,cursor:"default"});r.setShape({segs:o.getLayout("linesPoints")}),this._setCommon(r,o),this.group.add(r),this._incremental=null},p.incrementalPrepareUpdate=function(o){this.group.removeAll(),this._clearIncremental(),o.count()>5e5?(this._incremental||(this._incremental=new _({silent:!0})),this.group.add(this._incremental)):this._incremental=null},p.incrementalUpdate=function(o,r){var s=new C;s.setShape({segs:r.getLayout("linesPoints")}),this._setCommon(s,r,!!this._incremental),this._incremental?this._incremental.addDisplayable(s,!0):(s.rectHover=!0,s.cursor="default",s.__startIndex=o.start,this.group.add(s))},p.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},p._setCommon=function(o,r,s){var l=r.hostModel;o.setShape({polyline:l.get("polyline"),curveness:l.get("lineStyle.curveness")}),o.useStyle(l.getModel("lineStyle").getLineStyle()),o.style.strokeNoScale=!0;var n=r.getVisual("color");n&&o.setStyle("stroke",n),o.setStyle("fill"),s||(o.seriesIndex=l.seriesIndex,o.on("mousemove",function(c){o.dataIndex=null;var e=o.findDataIndex(c.offsetX,c.offsetY);e>0&&(o.dataIndex=e+o.__startIndex)}))},p._clearIncremental=function(){var o=this._incremental;o&&o.clearDisplaybles()};var h=t;ue.exports=h},oBaM:function(ue,z,d){var O=d("T4UG"),_=d("5GtS"),I=d("bYtY"),E=d("7aKB"),C=E.encodeHTML,t=d("xKMd"),p=O.extend({type:"series.radar",dependencies:["radar"],init:function(o){p.superApply(this,"init",arguments),this.legendVisualProvider=new t(I.bind(this.getData,this),I.bind(this.getRawData,this))},getInitialData:function(o,r){return _(this,{generateCoord:"indicator_",generateCoordCount:Infinity})},formatTooltip:function(o){var r=this.getData(),s=this.coordinateSystem,l=s.getIndicatorAxes(),n=this.getData().getName(o);return C(n===""?this.name:n)+"<br/>"+I.map(l,function(c,e){var a=r.get(r.mapDimension(c.dim),o);return C(c.name+" : "+a)}).join("<br />")},getTooltipPosition:function(o){if(o!=null){for(var r=this.getData(),s=this.coordinateSystem,l=r.getValues(I.map(s.dimensions,function(a){return r.mapDimension(a)}),o,!0),n=0,c=l.length;n<c;n++)if(!isNaN(l[n])){var e=s.getIndicatorAxes();return s.coordToPoint(e[n].dataToCoord(l[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}}),h=p;ue.exports=h},oE7X:function(ue,z,d){var O=d("bLfw");O.registerSubTypeDefaulter("timeline",function(){return"slider"})},oIFs:function(ue,z,d){},oVpE:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("mFDi"),E=d("6GrX"),C=E.calculateTextPosition,t=_.extendShape({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,i){var u=i.cx,f=i.cy,m=i.width/2,A=i.height/2;a.moveTo(u,f-A),a.lineTo(u+m,f+A),a.lineTo(u-m,f+A),a.closePath()}}),p=_.extendShape({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(a,i){var u=i.cx,f=i.cy,m=i.width/2,A=i.height/2;a.moveTo(u,f-A),a.lineTo(u+m,f),a.lineTo(u,f+A),a.lineTo(u-m,f),a.closePath()}}),h=_.extendShape({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,i){var u=i.x,f=i.y,m=i.width/5*3,A=Math.max(m,i.height),g=m/2,v=g*g/(A-g),b=f-A+g+v,S=Math.asin(v/g),y=Math.cos(S)*g,w=Math.sin(S),x=Math.cos(S),T=g*.6,L=g*.7;a.moveTo(u-y,b+v),a.arc(u,b,g,Math.PI-S,Math.PI*2+S),a.bezierCurveTo(u+y-w*T,b+v+x*T,u,f-L,u,f),a.bezierCurveTo(u,f-L,u-y+w*T,b+v+x*T,u-y,b+v),a.closePath()}}),o=_.extendShape({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(a,i){var u=i.height,f=i.width,m=i.x,A=i.y,g=f/3*2;a.moveTo(m,A),a.lineTo(m+g,A+u),a.lineTo(m,A+u/4*3),a.lineTo(m-g,A+u),a.lineTo(m,A),a.closePath()}}),r={line:_.Line,rect:_.Rect,roundRect:_.Rect,square:_.Rect,circle:_.Circle,diamond:p,pin:h,arrow:o,triangle:t},s={line:function(a,i,u,f,m){m.x1=a,m.y1=i+f/2,m.x2=a+u,m.y2=i+f/2},rect:function(a,i,u,f,m){m.x=a,m.y=i,m.width=u,m.height=f},roundRect:function(a,i,u,f,m){m.x=a,m.y=i,m.width=u,m.height=f,m.r=Math.min(u,f)/4},square:function(a,i,u,f,m){var A=Math.min(u,f);m.x=a,m.y=i,m.width=A,m.height=A},circle:function(a,i,u,f,m){m.cx=a+u/2,m.cy=i+f/2,m.r=Math.min(u,f)/2},diamond:function(a,i,u,f,m){m.cx=a+u/2,m.cy=i+f/2,m.width=u,m.height=f},pin:function(a,i,u,f,m){m.x=a+u/2,m.y=i+f/2,m.width=u,m.height=f},arrow:function(a,i,u,f,m){m.x=a+u/2,m.y=i+f/2,m.width=u,m.height=f},triangle:function(a,i,u,f,m){m.cx=a+u/2,m.cy=i+f/2,m.width=u,m.height=f}},l={};O.each(r,function(a,i){l[i]=new a});var n=_.extendShape({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(a,i,u){var f=C(a,i,u),m=this.shape;return m&&m.symbolType==="pin"&&i.textPosition==="inside"&&(f.y=u.y+u.height*.4),f},buildPath:function(a,i,u){var f=i.symbolType;if(f!=="none"){var m=l[f];m||(f="rect",m=l[f]),s[f](i.x,i.y,i.width,i.height,m.shape),m.buildPath(a,m.shape,u)}}});function c(a,i){if(this.type!=="image"){var u=this.style,f=this.shape;f&&f.symbolType==="line"?u.stroke=a:this.__isEmptyBrush?(u.stroke=a,u.fill=i||"#fff"):(u.fill&&(u.fill=a),u.stroke&&(u.stroke=a)),this.dirty(!1)}}function e(a,i,u,f,m,A,g){var v=a.indexOf("empty")===0;v&&(a=a.substr(5,1).toLowerCase()+a.substr(6));var b;return a.indexOf("image://")===0?b=_.makeImage(a.slice(8),new I(i,u,f,m),g?"center":"cover"):a.indexOf("path://")===0?b=_.makePath(a.slice(7),{},new I(i,u,f,m),g?"center":"cover"):b=new n({shape:{symbolType:a,x:i,y:u,width:f,height:m}}),b.__isEmptyBrush=v,b.setColor=c,b.setColor(A),b}z.createSymbol=e},oY9F:function(ue,z,d){var O=d("OlYY"),_=O.extend({type:"dataZoom.inside",defaultOption:{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}});ue.exports=_},osHv:function(ue,z,d){(function(O){O(d("VrN/"))})(function(O){"use strict";var _=O.Pos;function I(i,u){return i.line-u.line||i.ch-u.ch}var E="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",C=E+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",t=new RegExp("<(/?)(["+E+"]["+C+"]*)","g");function p(i,u,f,m){this.line=u,this.ch=f,this.cm=i,this.text=i.getLine(u),this.min=m?Math.max(m.from,i.firstLine()):i.firstLine(),this.max=m?Math.min(m.to-1,i.lastLine()):i.lastLine()}function h(i,u){var f=i.cm.getTokenTypeAt(_(i.line,u));return f&&/\btag\b/.test(f)}function o(i){return i.line>=i.max?void 0:(i.ch=0,i.text=i.cm.getLine(++i.line),!0)}function r(i){return i.line<=i.min?void 0:(i.text=i.cm.getLine(--i.line),i.ch=i.text.length,!0)}function s(i){for(;;){var u=i.text.indexOf(">",i.ch);if(u==-1){if(o(i))continue;return}if(!h(i,u+1)){i.ch=u+1;continue}var f=i.text.lastIndexOf("/",u),m=f>-1&&!/\S/.test(i.text.slice(f+1,u));return i.ch=u+1,m?"selfClose":"regular"}}function l(i){for(;;){var u=i.ch?i.text.lastIndexOf("<",i.ch-1):-1;if(u==-1){if(r(i))continue;return}if(!h(i,u+1)){i.ch=u;continue}t.lastIndex=u,i.ch=u;var f=t.exec(i.text);if(f&&f.index==u)return f}}function n(i){for(;;){t.lastIndex=i.ch;var u=t.exec(i.text);if(!u){if(o(i))continue;return}if(!h(i,u.index+1)){i.ch=u.index+1;continue}return i.ch=u.index+u[0].length,u}}function c(i){for(;;){var u=i.ch?i.text.lastIndexOf(">",i.ch-1):-1;if(u==-1){if(r(i))continue;return}if(!h(i,u+1)){i.ch=u;continue}var f=i.text.lastIndexOf("/",u),m=f>-1&&!/\S/.test(i.text.slice(f+1,u));return i.ch=u+1,m?"selfClose":"regular"}}function e(i,u){for(var f=[];;){var m=n(i),A,g=i.line,v=i.ch-(m?m[0].length:0);if(!m||!(A=s(i)))return;if(A=="selfClose")continue;if(m[1]){for(var b=f.length-1;b>=0;--b)if(f[b]==m[2]){f.length=b;break}if(b<0&&(!u||u==m[2]))return{tag:m[2],from:_(g,v),to:_(i.line,i.ch)}}else f.push(m[2])}}function a(i,u){for(var f=[];;){var m=c(i);if(!m)return;if(m=="selfClose"){l(i);continue}var A=i.line,g=i.ch,v=l(i);if(!v)return;if(v[1])f.push(v[2]);else{for(var b=f.length-1;b>=0;--b)if(f[b]==v[2]){f.length=b;break}if(b<0&&(!u||u==v[2]))return{tag:v[2],from:_(i.line,i.ch),to:_(A,g)}}}}O.registerHelper("fold","xml",function(i,u){for(var f=new p(i,u.line,0);;){var m=n(f);if(!m||f.line!=u.line)return;var A=s(f);if(!A)return;if(!m[1]&&A!="selfClose"){var g=_(f.line,f.ch),v=e(f,m[2]);return v&&I(v.from,g)>0?{from:g,to:v.from}:null}}}),O.findMatchingTag=function(i,u,f){var m=new p(i,u.line,u.ch,f);if(m.text.indexOf(">")==-1&&m.text.indexOf("<")==-1)return;var A=s(m),g=A&&_(m.line,m.ch),v=A&&l(m);if(!A||!v||I(m,u)>0)return;var b={from:_(m.line,m.ch),to:g,tag:v[2]};return A=="selfClose"?{open:b,close:null,at:"open"}:v[1]?{open:a(m,v[2]),close:b,at:"close"}:(m=new p(i,g.line,g.ch,f),{open:b,close:e(m,v[2]),at:"open"})},O.findEnclosingTag=function(i,u,f,m){for(var A=new p(i,u.line,u.ch,f);;){var g=a(A,m);if(!g)break;var v=new p(i,u.line,u.ch,f),b=e(v,g.tag);if(b)return{open:g,close:b}}},O.scanForClosingTag=function(i,u,f,m){var A=new p(i,u.line,u.ch,m?{from:0,to:m}:null);return e(A,f)}})},ozfa:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("KxFI"),E=d.n(I)},"p+If":function(ue,z,d){var O=d("ProS");d("cpOr"),d("rkZ5");var _=d("ZYIC"),I=d("7ph2");O.registerLayout(_),O.registerVisual(I)},"p/La":function(ue,z){var d=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function O(_,I){_==="china"&&I.name==="\u53F0\u6E7E"&&I.geometries.push({type:"polygon",exterior:d[0]})}ue.exports=O},p1MT:function(ue,z,d){var O=d("Hw7h"),_=d("IwbS"),I=d("6Ic6"),E=d("OELB"),C=E.parsePercent,t=E.round,p=E.linearMap;function h(n,c){var e=n.get("center"),a=c.getWidth(),i=c.getHeight(),u=Math.min(a,i),f=C(e[0],c.getWidth()),m=C(e[1],c.getHeight()),A=C(n.get("radius"),u/2);return{cx:f,cy:m,r:A}}function o(n,c){return c&&(typeof c=="string"?n=c.replace("{value}",n!=null?n:""):typeof c=="function"&&(n=c(n))),n}var r=Math.PI*2,s=I.extend({type:"gauge",render:function(n,c,e){this.group.removeAll();var a=n.get("axisLine.lineStyle.color"),i=h(n,e);this._renderMain(n,c,e,a,i)},dispose:function(){},_renderMain:function(n,c,e,a,i){for(var u=this.group,f=n.getModel("axisLine"),m=f.getModel("lineStyle"),A=n.get("clockwise"),g=-n.get("startAngle")/180*Math.PI,v=-n.get("endAngle")/180*Math.PI,b=(v-g)%r,S=g,y=m.get("width"),w=f.get("show"),x=0;w&&x<a.length;x++){var T=Math.min(Math.max(a[x][0],0),1),v=g+b*T,L=new _.Sector({shape:{startAngle:S,endAngle:v,cx:i.cx,cy:i.cy,clockwise:A,r0:i.r-y,r:i.r},silent:!0});L.setStyle({fill:a[x][1]}),L.setStyle(m.getLineStyle(["color","borderWidth","borderColor"])),u.add(L),S=v}var R=function(k){if(k<=0)return a[0][1];for(var U=0;U<a.length;U++)if(a[U][0]>=k&&(U===0?0:a[U-1][0])<k)return a[U][1];return a[U-1][1]};if(!A){var P=g;g=v,v=P}this._renderTicks(n,c,e,R,i,g,v,A),this._renderPointer(n,c,e,R,i,g,v,A),this._renderTitle(n,c,e,R,i),this._renderDetail(n,c,e,R,i)},_renderTicks:function(n,c,e,a,i,u,f,m){for(var A=this.group,g=i.cx,v=i.cy,b=i.r,S=+n.get("min"),y=+n.get("max"),w=n.getModel("splitLine"),x=n.getModel("axisTick"),T=n.getModel("axisLabel"),L=n.get("splitNumber"),R=x.get("splitNumber"),P=C(w.get("length"),b),k=C(x.get("length"),b),U=u,D=(f-u)/L,M=D/R,B=w.getModel("lineStyle").getLineStyle(),j=x.getModel("lineStyle").getLineStyle(),H=0;H<=L;H++){var K=Math.cos(U),W=Math.sin(U);if(w.get("show")){var X=new _.Line({shape:{x1:K*b+g,y1:W*b+v,x2:K*(b-P)+g,y2:W*(b-P)+v},style:B,silent:!0});B.stroke==="auto"&&X.setStyle({stroke:a(H/L)}),A.add(X)}if(T.get("show")){var V=o(t(H/L*(y-S)+S),T.get("formatter")),Z=T.get("distance"),G=a(H/L);A.add(new _.Text({style:_.setTextStyle({},T,{text:V,x:K*(b-P-Z)+g,y:W*(b-P-Z)+v,textVerticalAlign:W<-.4?"top":W>.4?"bottom":"middle",textAlign:K<-.4?"left":K>.4?"right":"center"},{autoColor:G}),silent:!0}))}if(x.get("show")&&H!==L){for(var Y=0;Y<=R;Y++){var K=Math.cos(U),W=Math.sin(U),te=new _.Line({shape:{x1:K*b+g,y1:W*b+v,x2:K*(b-k)+g,y2:W*(b-k)+v},silent:!0,style:j});j.stroke==="auto"&&te.setStyle({stroke:a((H+Y/R)/L)}),A.add(te),U+=M}U-=M}else U+=D}},_renderPointer:function(n,c,e,a,i,u,f,m){var A=this.group,g=this._data;if(!n.get("pointer.show")){g&&g.eachItemGraphicEl(function(w){A.remove(w)});return}var v=[+n.get("min"),+n.get("max")],b=[u,f],S=n.getData(),y=S.mapDimension("value");S.diff(g).add(function(w){var x=new O({shape:{angle:u}});_.initProps(x,{shape:{angle:p(S.get(y,w),v,b,!0)}},n),A.add(x),S.setItemGraphicEl(w,x)}).update(function(w,x){var T=g.getItemGraphicEl(x);_.updateProps(T,{shape:{angle:p(S.get(y,w),v,b,!0)}},n),A.add(T),S.setItemGraphicEl(w,T)}).remove(function(w){var x=g.getItemGraphicEl(w);A.remove(x)}).execute(),S.eachItemGraphicEl(function(w,x){var T=S.getItemModel(x),L=T.getModel("pointer");w.setShape({x:i.cx,y:i.cy,width:C(L.get("width"),i.r),r:C(L.get("length"),i.r)}),w.useStyle(T.getModel("itemStyle").getItemStyle()),w.style.fill==="auto"&&w.setStyle("fill",a(p(S.get(y,x),v,[0,1],!0))),_.setHoverStyle(w,T.getModel("emphasis.itemStyle").getItemStyle())}),this._data=S},_renderTitle:function(n,c,e,a,i){var u=n.getData(),f=u.mapDimension("value"),m=n.getModel("title");if(m.get("show")){var A=m.get("offsetCenter"),g=i.cx+C(A[0],i.r),v=i.cy+C(A[1],i.r),b=+n.get("min"),S=+n.get("max"),y=n.getData().get(f,0),w=a(p(y,[b,S],[0,1],!0));this.group.add(new _.Text({silent:!0,style:_.setTextStyle({},m,{x:g,y:v,text:u.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:w,forceRich:!0})}))}},_renderDetail:function(n,c,e,a,i){var u=n.getModel("detail"),f=+n.get("min"),m=+n.get("max");if(u.get("show")){var A=u.get("offsetCenter"),g=i.cx+C(A[0],i.r),v=i.cy+C(A[1],i.r),b=C(u.get("width"),i.r),S=C(u.get("height"),i.r),y=n.getData(),w=y.get(y.mapDimension("value"),0),x=a(p(w,[f,m],[0,1],!0));this.group.add(new _.Text({silent:!0,style:_.setTextStyle({},u,{x:g,y:v,text:o(w,u.get("formatter")),textWidth:isNaN(b)?null:b,textHeight:isNaN(S)?null:S,textAlign:"center",textVerticalAlign:"middle"},{autoColor:x,forceRich:!0})}))}}}),l=s;ue.exports=l},"p77/":function(ue,z,d){},pC0b:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("xzDV"),E=d.n(I),C=d("5Dmo")},"pED+":function(ue,z,d){},pG52:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("WXVj"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},pLH3:function(ue,z,d){var O=d("ProS");d("ALo7"),d("TWL2");var _=d("mOdp"),I=d("JLnu"),E=d("0/Rx");O.registerVisual(_("funnel")),O.registerLayout(I),O.registerProcessor(E("funnel"))},pP6R:function(ue,z,d){var O=d("ProS"),_="\0_ec_interaction_mutex";function I(p,h,o){var r=t(p);r[h]=o}function E(p,h,o){var r=t(p),s=r[h];s===o&&(r[h]=null)}function C(p,h){return!!t(p)[h]}function t(p){return p[_]||(p[_]={})}O.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},function(){}),z.take=I,z.release=E,z.isTaken=C},pmaE:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS"),E=d("DEFe"),C="__seriesMapHighDown",t="__seriesMapCallKey",p=O.extendChartView({type:"map",render:function(r,s,l,n){if(n&&n.type==="mapToggleSelect"&&n.from===this.uid)return;var c=this.group;if(c.removeAll(),r.getHostGeoModel())return;if(n&&n.type==="geoRoam"&&n.componentType==="series"&&n.seriesId===r.id){var e=this._mapDraw;e&&c.add(e.group)}else if(r.needsDrawMap){var e=this._mapDraw||new E(l,!0);c.add(e.group),e.draw(r,s,l,this,n),this._mapDraw=e}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&s.getComponent("legend")&&this._renderSymbols(r,s,l)},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,s,l){var n=r.originalData,c=this.group;n.each(n.mapDimension("value"),function(e,a){if(isNaN(e))return;var i=n.getItemLayout(a);if(!i||!i.point)return;var u=i.point,f=i.offset,m=new I.Circle({style:{fill:r.getData().getVisual("color")},shape:{cx:u[0]+f*9,cy:u[1],r:3},silent:!0,z2:8+(f?0:I.Z2_EMPHASIS_LIFT+1)});if(!f){var A=r.mainSeries.getData(),g=n.getName(a),v=A.indexOfName(g),b=n.getItemModel(a),S=b.getModel("label"),y=b.getModel("emphasis.label"),w=A.getItemGraphicEl(v),x=_.retrieve2(r.getFormattedLabel(v,"normal"),g),T=_.retrieve2(r.getFormattedLabel(v,"emphasis"),x),L=w[C],R=Math.random();if(!L){L=w[C]={};var P=_.curry(h,!0),k=_.curry(h,!1);w.on("mouseover",P).on("mouseout",k).on("emphasis",P).on("normal",k)}w[t]=R,_.extend(L,{recordVersion:R,circle:m,labelModel:S,hoverLabelModel:y,emphasisText:T,normalText:x}),o(L,!1)}c.add(m)})}});function h(r){var s=this[C];s&&s.recordVersion===this[t]&&o(s,r)}function o(r,s){var l=r.circle,n=r.labelModel,c=r.hoverLabelModel,e=r.emphasisText,a=r.normalText;s?(l.style.extendFrom(I.setTextStyle({},c,{text:c.get("show")?e:null},{isRectText:!0,useInsideStyle:!1},!0)),l.__mapOriginalZ2=l.z2,l.z2+=I.Z2_EMPHASIS_LIFT):(I.setTextStyle(l.style,n,{text:n.get("show")?a:null,textPosition:n.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),l.dirty(!1),l.__mapOriginalZ2!=null&&(l.z2=l.__mapOriginalZ2,l.__mapOriginalZ2=null))}ue.exports=p},pwpV:function(ue,z,d){},pzxd:function(ue,z,d){var O=d("bYtY"),_=O.retrieve2,I=O.retrieve3,E=O.each,C=O.normalizeCssArray,t=O.isString,p=O.isObject,h=d("6GrX"),o=d("VpOo"),r=d("Xnb7"),s=d("fW2E"),l=d("gut8"),n=l.ContextCachedBy,c=l.WILL_BE_RESTORED,e=h.DEFAULT_FONT,a={left:1,right:1,center:1},i={top:1,bottom:1,middle:1},u=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],f={},m={};function A(H){return g(H),E(H.rich,g),H}function g(H){if(H){H.font=h.makeFont(H);var K=H.textAlign;K==="middle"&&(K="center"),H.textAlign=K==null||a[K]?K:"left";var W=H.textVerticalAlign||H.textBaseline;W==="center"&&(W="middle"),H.textVerticalAlign=W==null||i[W]?W:"top";var X=H.textPadding;X&&(H.textPadding=C(H.textPadding))}}function v(H,K,W,X,V,Z){X.rich?S(H,K,W,X,V,Z):b(H,K,W,X,V,Z)}function b(H,K,W,X,V,Z){"use strict";var G=T(X),Y,te=!1,se=K.__attrCachedBy===n.PLAIN_TEXT;Z!==c?(Z&&(Y=Z.style,te=!G&&se&&Y),K.__attrCachedBy=G?n.NONE:n.PLAIN_TEXT):se&&(K.__attrCachedBy=n.NONE);var Ce=X.font||e;(!te||Ce!==(Y.font||e))&&(K.font=Ce);var he=H.__computedFont;H.__styleFont!==Ce&&(H.__styleFont=Ce,he=H.__computedFont=K.font);var xe=X.textPadding,ie=X.textLineHeight,ee=H.__textCotentBlock;(!ee||H.__dirtyText)&&(ee=H.__textCotentBlock=h.parsePlainText(W,he,xe,ie,X.truncate));var Ze=ee.outerHeight,Se=ee.lines,Ne=ee.lineHeight,it=P(m,H,X,V),Ye=it.baseX,nt=it.baseY,je=it.textAlign||"left",et=it.textVerticalAlign;w(K,X,V,Ye,nt);var He=h.adjustTextY(nt,Ze,et),pe=Ye,ae=He;if(G||xe){var re=h.getWidth(W,he),be=re;xe&&(be+=xe[1]+xe[3]);var ze=h.adjustTextX(Ye,be,je);G&&L(H,K,X,ze,He,be,Ze),xe&&(pe=B(Ye,je,xe),ae+=xe[0])}K.textAlign=je,K.textBaseline="middle",K.globalAlpha=X.opacity||1;for(var Ke=0;Ke<u.length;Ke++){var Te=u[Ke],gt=Te[0],Ue=Te[1],bt=X[gt];(!te||bt!==Y[gt])&&(K[Ue]=s(K,Ue,bt||Te[2]))}ae+=Ne/2;var wt=X.textStrokeWidth,Et=te?Y.textStrokeWidth:null,xt=!te||wt!==Et,Tt=!te||xt||X.textStroke!==Y.textStroke,Be=U(X.textStroke,wt),ce=D(X.textFill);if(Be&&(xt&&(K.lineWidth=wt),Tt&&(K.strokeStyle=Be)),ce&&((!te||X.textFill!==Y.textFill)&&(K.fillStyle=ce)),Se.length===1)Be&&K.strokeText(Se[0],pe,ae),ce&&K.fillText(Se[0],pe,ae);else for(var Ke=0;Ke<Se.length;Ke++)Be&&K.strokeText(Se[Ke],pe,ae),ce&&K.fillText(Se[Ke],pe,ae),ae+=Ne}function S(H,K,W,X,V,Z){Z!==c&&(K.__attrCachedBy=n.NONE);var G=H.__textCotentBlock;(!G||H.__dirtyText)&&(G=H.__textCotentBlock=h.parseRichText(W,X)),y(H,K,G,X,V)}function y(H,K,W,X,V){var Z=W.width,G=W.outerWidth,Y=W.outerHeight,te=X.textPadding,se=P(m,H,X,V),Ce=se.baseX,he=se.baseY,xe=se.textAlign,ie=se.textVerticalAlign;w(K,X,V,Ce,he);var ee=h.adjustTextX(Ce,G,xe),Ze=h.adjustTextY(he,Y,ie),Se=ee,Ne=Ze;te&&(Se+=te[3],Ne+=te[0]);var it=Se+Z;T(X)&&L(H,K,X,ee,Ze,G,Y);for(var Ye=0;Ye<W.lines.length;Ye++){for(var nt=W.lines[Ye],je=nt.tokens,et=je.length,He=nt.lineHeight,pe=nt.width,ae=0,re=Se,be=it,ze=et-1,Ke;ae<et&&(Ke=je[ae],!Ke.textAlign||Ke.textAlign==="left");)x(H,K,Ke,X,He,Ne,re,"left"),pe-=Ke.width,re+=Ke.width,ae++;for(;ze>=0&&(Ke=je[ze],Ke.textAlign==="right");)x(H,K,Ke,X,He,Ne,be,"right"),pe-=Ke.width,be-=Ke.width,ze--;for(re+=(Z-(re-Se)-(it-be)-pe)/2;ae<=ze;)Ke=je[ae],x(H,K,Ke,X,He,Ne,re+Ke.width/2,"center"),re+=Ke.width,ae++;Ne+=He}}function w(H,K,W,X,V){if(W&&K.textRotation){var Z=K.textOrigin;Z==="center"?(X=W.width/2+W.x,V=W.height/2+W.y):Z&&(X=Z[0]+W.x,V=Z[1]+W.y),H.translate(X,V),H.rotate(-K.textRotation),H.translate(-X,-V)}}function x(H,K,W,X,V,Z,G,Y){var te=X.rich[W.styleName]||{};te.text=W.text;var se=W.textVerticalAlign,Ce=Z+V/2;se==="top"?Ce=Z+W.height/2:se==="bottom"&&(Ce=Z+V-W.height/2),!W.isLineHolder&&T(te)&&L(H,K,te,Y==="right"?G-W.width:Y==="center"?G-W.width/2:G,Ce-W.height/2,W.width,W.height);var he=W.textPadding;he&&(G=B(G,Y,he),Ce-=W.height/2-he[2]-W.textHeight/2),k(K,"shadowBlur",I(te.textShadowBlur,X.textShadowBlur,0)),k(K,"shadowColor",te.textShadowColor||X.textShadowColor||"transparent"),k(K,"shadowOffsetX",I(te.textShadowOffsetX,X.textShadowOffsetX,0)),k(K,"shadowOffsetY",I(te.textShadowOffsetY,X.textShadowOffsetY,0)),k(K,"textAlign",Y),k(K,"textBaseline","middle"),k(K,"font",W.font||e);var xe=U(te.textStroke||X.textStroke,ee),ie=D(te.textFill||X.textFill),ee=_(te.textStrokeWidth,X.textStrokeWidth);xe&&(k(K,"lineWidth",ee),k(K,"strokeStyle",xe),K.strokeText(W.text,G,Ce)),ie&&(k(K,"fillStyle",ie),K.fillText(W.text,G,Ce))}function T(H){return!!(H.textBackgroundColor||H.textBorderWidth&&H.textBorderColor)}function L(H,K,W,X,V,Z,G){var Y=W.textBackgroundColor,te=W.textBorderWidth,se=W.textBorderColor,Ce=t(Y);if(k(K,"shadowBlur",W.textBoxShadowBlur||0),k(K,"shadowColor",W.textBoxShadowColor||"transparent"),k(K,"shadowOffsetX",W.textBoxShadowOffsetX||0),k(K,"shadowOffsetY",W.textBoxShadowOffsetY||0),Ce||te&&se){K.beginPath();var he=W.textBorderRadius;he?o.buildPath(K,{x:X,y:V,width:Z,height:G,r:he}):K.rect(X,V,Z,G),K.closePath()}if(Ce)if(k(K,"fillStyle",Y),W.fillOpacity!=null){var xe=K.globalAlpha;K.globalAlpha=W.fillOpacity*W.opacity,K.fill(),K.globalAlpha=xe}else K.fill();else if(p(Y)){var ie=Y.image;ie=r.createOrUpdateImage(ie,null,H,R,Y),ie&&r.isImageReady(ie)&&K.drawImage(ie,X,V,Z,G)}if(te&&se)if(k(K,"lineWidth",te),k(K,"strokeStyle",se),W.strokeOpacity!=null){var xe=K.globalAlpha;K.globalAlpha=W.strokeOpacity*W.opacity,K.stroke(),K.globalAlpha=xe}else K.stroke()}function R(H,K){K.image=H}function P(H,K,W,X){var V=W.x||0,Z=W.y||0,G=W.textAlign,Y=W.textVerticalAlign;if(X){var te=W.textPosition;if(te instanceof Array)V=X.x+M(te[0],X.width),Z=X.y+M(te[1],X.height);else{var se=K&&K.calculateTextPosition?K.calculateTextPosition(f,W,X):h.calculateTextPosition(f,W,X);V=se.x,Z=se.y,G=G||se.textAlign,Y=Y||se.textVerticalAlign}var Ce=W.textOffset;Ce&&(V+=Ce[0],Z+=Ce[1])}return H=H||{},H.baseX=V,H.baseY=Z,H.textAlign=G,H.textVerticalAlign=Y,H}function k(H,K,W){return H[K]=s(H,K,W),H[K]}function U(H,K){return H==null||K<=0||H==="transparent"||H==="none"?null:H.image||H.colorStops?"#000":H}function D(H){return H==null||H==="none"?null:H.image||H.colorStops?"#000":H}function M(H,K){return typeof H=="string"?H.lastIndexOf("%")>=0?parseFloat(H)/100*K:parseFloat(H):H}function B(H,K,W){return K==="right"?H-W[1]:K==="center"?H+W[3]/2-W[1]/2:H+W[3]}function j(H,K){return H!=null&&(H||K.textBackgroundColor||K.textBorderWidth&&K.textBorderColor||K.textPadding)}z.normalizeTextStyle=A,z.renderText=v,z.getBoxPosition=P,z.getStroke=U,z.getFill=D,z.parsePercent=M,z.needDrawText=j},"q/+u":function(ue,z,d){var O=d("ProS"),_=d("9wZj"),I=d("yWXo"),E=d("h8O9");O.extendChartView({type:"scatter",render:function(C,t,p){var h=C.getData(),o=this._updateSymbolDraw(h,C);o.updateData(h,{clipShape:this._getClipShape(C)}),this._finished=!0},incrementalPrepareRender:function(C,t,p){var h=C.getData(),o=this._updateSymbolDraw(h,C);o.incrementalPrepareUpdate(h),this._finished=!1},incrementalRender:function(C,t,p){this._symbolDraw.incrementalUpdate(C,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=C.end===t.getData().count()},updateTransform:function(C,t,p){var h=C.getData();if(this.group.dirty(),!this._finished||h.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var o=E().reset(C);o.progress&&o.progress({start:0,end:h.count()},h),this._symbolDraw.updateLayout(h)},_getClipShape:function(C){var t=C.coordinateSystem,p=t&&t.getArea&&t.getArea();return C.get("clip",!0)?p:null},_updateSymbolDraw:function(C,t){var p=this._symbolDraw,h=t.pipelineContext,o=h.large;return(!p||o!==this._isLargeDraw)&&(p&&p.remove(),p=this._symbolDraw=o?new I:new _,this._isLargeDraw=o,this.group.removeAll()),this.group.add(p.group),p},remove:function(C,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(ue,z){var d=["lineStyle","normal","opacity"],O={seriesType:"parallel",reset:function(_,I,E){var C=_.getModel("itemStyle"),t=_.getModel("lineStyle"),p=I.get("color"),h=t.get("color")||C.get("color")||p[_.seriesIndex%p.length],o=_.get("inactiveOpacity"),r=_.get("activeOpacity"),s=_.getModel("lineStyle").getLineStyle(),l=_.coordinateSystem,n=_.getData(),c={normal:s.opacity,active:r,inactive:o};n.setVisual("color",h);function e(a,i){l.eachActiveState(i,function(u,f){var m=c[u];if(u==="normal"&&i.hasItemOption){var A=i.getItemModel(f).get(d,!0);A!=null&&(m=A)}i.setItemVisual(f,"opacity",m)},a.start,a.end)}return{progress:e}}};ue.exports=O},q4HE:function(ue,z){var d="\\ud800-\\udfff",O="\\u0300-\\u036f",_="\\ufe20-\\ufe2f",I="\\u20d0-\\u20ff",E=O+_+I,C="\\ufe0e\\ufe0f",t="["+d+"]",p="["+E+"]",h="\\ud83c[\\udffb-\\udfff]",o="(?:"+p+"|"+h+")",r="[^"+d+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",l="[\\ud800-\\udbff][\\udc00-\\udfff]",n="\\u200d",c=o+"?",e="["+C+"]?",a="(?:"+n+"(?:"+[r,s,l].join("|")+")"+e+c+")*",i=e+c+a,u="(?:"+[r+p+"?",p,s,l,t].join("|")+")",f=RegExp(h+"(?="+h+")|"+u+i,"g");function m(A){for(var g=f.lastIndex=0;f.test(A);)++g;return g}ue.exports=m},q7KB:function(ue,z,d){},qH13:function(ue,z,d){var O=d("ItGF"),_=d("QBsz"),I=_.applyTransform,E=d("mFDi"),C=d("Qe9p"),t=d("6GrX"),p=d("pzxd"),h=d("ni6a"),o=d("Gev7"),r=d("Dagg"),s=d("dqUG"),l=d("y+Vt"),n=d("IMiH"),c=d("QuXc"),e=d("06Qe"),a=n.CMD,i=Math.round,u=Math.sqrt,f=Math.abs,m=Math.cos,A=Math.sin,g=Math.max;if(!O.canvasSupported){var v=",",b="progid:DXImageTransform.Microsoft",S=21600,y=S/2,w=1e5,x=1e3,T=function(nt){nt.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",nt.coordsize=S+","+S,nt.coordorigin="0,0"},L=function(nt){return String(nt).replace(/&/g,"&amp;").replace(/"/g,"&quot;")},R=function(nt,je,et){return"rgb("+[nt,je,et].join(",")+")"},P=function(nt,je){je&&nt&&je.parentNode!==nt&&nt.appendChild(je)},k=function(nt,je){je&&nt&&je.parentNode===nt&&nt.removeChild(je)},U=function(nt,je,et){return(parseFloat(nt)||0)*w+(parseFloat(je)||0)*x+et},D=p.parsePercent,M=function(nt,je,et){var He=C.parse(je);et=+et,isNaN(et)&&(et=1),He&&(nt.color=R(He[0],He[1],He[2]),nt.opacity=et*He[3])},B=function(nt){var je=C.parse(nt);return[R(je[0],je[1],je[2]),je[3]]},j=function(nt,je,et){var He=je.fill;if(He!=null)if(He instanceof c){var pe,ae=0,re=[0,0],be=0,ze=1,Ke=et.getBoundingRect(),Te=Ke.width,gt=Ke.height;if(He.type==="linear"){pe="gradient";var Ue=et.transform,bt=[He.x*Te,He.y*gt],wt=[He.x2*Te,He.y2*gt];Ue&&(I(bt,bt,Ue),I(wt,wt,Ue));var Et=wt[0]-bt[0],xt=wt[1]-bt[1];ae=Math.atan2(Et,xt)*180/Math.PI,ae<0&&(ae+=360),ae<1e-6&&(ae=0)}else{pe="gradientradial";var bt=[He.x*Te,He.y*gt],Ue=et.transform,Tt=et.scale,Be=Te,ce=gt;re=[(bt[0]-Ke.x)/Be,(bt[1]-Ke.y)/ce],Ue&&I(bt,bt,Ue),Be/=Tt[0]*S,ce/=Tt[1]*S;var q=g(Be,ce);be=2*0/q,ze=2*He.r/q-be}var dt=He.colorStops.slice();dt.sort(function(Nt,ot){return Nt.offset-ot.offset});for(var Ve=dt.length,de=[],Ht=[],tr=0;tr<Ve;tr++){var lt=dt[tr],Xt=B(lt.color);Ht.push(lt.offset*ze+be+" "+Xt[0]),(tr===0||tr===Ve-1)&&de.push(Xt)}if(Ve>=2){var sr=de[0][0],Kr=de[1][0],rr=de[0][1]*je.opacity,nr=de[1][1]*je.opacity;nt.type=pe,nt.method="none",nt.focus="100%",nt.angle=ae,nt.color=sr,nt.color2=Kr,nt.colors=Ht.join(","),nt.opacity=nr,nt.opacity2=rr}pe==="radial"&&(nt.focusposition=re.join(","))}else M(nt,He,je.opacity)},H=function(nt,je){je.lineDash&&(nt.dashstyle=je.lineDash.join(" ")),je.stroke!=null&&!(je.stroke instanceof c)&&M(nt,je.stroke,je.opacity)},K=function(nt,je,et,He){var pe=je==="fill",ae=nt.getElementsByTagName(je)[0];et[je]!=null&&et[je]!=="none"&&(pe||!pe&&et.lineWidth)?(nt[pe?"filled":"stroked"]="true",et[je]instanceof c&&k(nt,ae),ae||(ae=e.createNode(je)),pe?j(ae,et,He):H(ae,et),P(nt,ae)):(nt[pe?"filled":"stroked"]="false",k(nt,ae))},W=[[],[],[]],X=function(nt,je){var et=a.M,He=a.C,pe=a.L,ae=a.A,re=a.Q,be=[],ze,Ke,Te,gt,Ue,bt,wt=nt.data,Et=nt.len();for(gt=0;gt<Et;){Te=wt[gt++],Ke="",ze=0;switch(Te){case et:Ke=" m ",ze=1,Ue=wt[gt++],bt=wt[gt++],W[0][0]=Ue,W[0][1]=bt;break;case pe:Ke=" l ",ze=1,Ue=wt[gt++],bt=wt[gt++],W[0][0]=Ue,W[0][1]=bt;break;case re:case He:Ke=" c ",ze=3;var xt=wt[gt++],Tt=wt[gt++],Be=wt[gt++],ce=wt[gt++],q,dt;Te===re?(q=Be,dt=ce,Be=(Be+2*xt)/3,ce=(ce+2*Tt)/3,xt=(Ue+2*xt)/3,Tt=(bt+2*Tt)/3):(q=wt[gt++],dt=wt[gt++]),W[0][0]=xt,W[0][1]=Tt,W[1][0]=Be,W[1][1]=ce,W[2][0]=q,W[2][1]=dt,Ue=q,bt=dt;break;case ae:var Ve=0,de=0,Ht=1,tr=1,lt=0;je&&(Ve=je[4],de=je[5],Ht=u(je[0]*je[0]+je[1]*je[1]),tr=u(je[2]*je[2]+je[3]*je[3]),lt=Math.atan2(-je[1]/tr,je[0]/Ht));var Xt=wt[gt++],sr=wt[gt++],Kr=wt[gt++],rr=wt[gt++],nr=wt[gt++]+lt,Nt=wt[gt++]+nr+lt;gt++;var ot=wt[gt++],Qe=Xt+m(nr)*Kr,qt=sr+A(nr)*rr,xt=Xt+m(Nt)*Kr,Tt=sr+A(Nt)*rr,xr=ot?" wa ":" at ";Math.abs(Qe-xt)<1e-4&&(Math.abs(Nt-nr)>.01?ot&&(Qe+=270/S):Math.abs(qt-sr)<1e-4?ot&&Qe<Xt||!ot&&Qe>Xt?Tt-=270/S:Tt+=270/S:ot&&qt<sr||!ot&&qt>sr?xt+=270/S:xt-=270/S),be.push(xr,i(((Xt-Kr)*Ht+Ve)*S-y),v,i(((sr-rr)*tr+de)*S-y),v,i(((Xt+Kr)*Ht+Ve)*S-y),v,i(((sr+rr)*tr+de)*S-y),v,i((Qe*Ht+Ve)*S-y),v,i((qt*tr+de)*S-y),v,i((xt*Ht+Ve)*S-y),v,i((Tt*tr+de)*S-y)),Ue=xt,bt=Tt;break;case a.R:var vr=W[0],fr=W[1];vr[0]=wt[gt++],vr[1]=wt[gt++],fr[0]=vr[0]+wt[gt++],fr[1]=vr[1]+wt[gt++],je&&(I(vr,vr,je),I(fr,fr,je)),vr[0]=i(vr[0]*S-y),fr[0]=i(fr[0]*S-y),vr[1]=i(vr[1]*S-y),fr[1]=i(fr[1]*S-y),be.push(" m ",vr[0],v,vr[1]," l ",fr[0],v,vr[1]," l ",fr[0],v,fr[1]," l ",vr[0],v,fr[1]);break;case a.Z:be.push(" x ")}if(ze>0){be.push(Ke);for(var An=0;An<ze;An++){var $r=W[An];je&&I($r,$r,je),be.push(i($r[0]*S-y),v,i($r[1]*S-y),An<ze-1?v:"")}}}return be.join("")};l.prototype.brushVML=function(Ye){var nt=this.style,je=this._vmlEl;je||(je=e.createNode("shape"),T(je),this._vmlEl=je),K(je,"fill",nt,this),K(je,"stroke",nt,this);var et=this.transform,He=et!=null,pe=je.getElementsByTagName("stroke")[0];if(pe){var ae=nt.lineWidth;if(He&&!nt.strokeNoScale){var re=et[0]*et[3]-et[1]*et[2];ae*=u(f(re))}pe.weight=ae+"px"}var be=this.path||(this.path=new n);this.__dirtyPath&&(be.beginPath(),be.subPixelOptimize=!1,this.buildPath(be,this.shape),be.toStatic(),this.__dirtyPath=!1),je.path=X(be,this.transform),je.style.zIndex=U(this.zlevel,this.z,this.z2),P(Ye,je),nt.text!=null?this.drawRectText(Ye,this.getBoundingRect()):this.removeRectText(Ye)},l.prototype.onRemove=function(Ye){k(Ye,this._vmlEl),this.removeRectText(Ye)},l.prototype.onAdd=function(Ye){P(Ye,this._vmlEl),this.appendRectText(Ye)};var V=function(nt){return typeof nt=="object"&&nt.tagName&&nt.tagName.toUpperCase()==="IMG"};r.prototype.brushVML=function(Ye){var nt=this.style,je=nt.image,et,He;if(V(je)){var pe=je.src;if(pe===this._imageSrc)et=this._imageWidth,He=this._imageHeight;else{var ae=je.runtimeStyle,re=ae.width,be=ae.height;ae.width="auto",ae.height="auto",et=je.width,He=je.height,ae.width=re,ae.height=be,this._imageSrc=pe,this._imageWidth=et,this._imageHeight=He}je=pe}else je===this._imageSrc&&(et=this._imageWidth,He=this._imageHeight);if(!je)return;var ze=nt.x||0,Ke=nt.y||0,Te=nt.width,gt=nt.height,Ue=nt.sWidth,bt=nt.sHeight,wt=nt.sx||0,Et=nt.sy||0,xt=Ue&&bt,Tt=this._vmlEl;Tt||(Tt=e.doc.createElement("div"),T(Tt),this._vmlEl=Tt);var Be=Tt.style,ce=!1,q,dt=1,Ve=1;if(this.transform&&(q=this.transform,dt=u(q[0]*q[0]+q[1]*q[1]),Ve=u(q[2]*q[2]+q[3]*q[3]),ce=q[1]||q[2]),ce){var de=[ze,Ke],Ht=[ze+Te,Ke],tr=[ze,Ke+gt],lt=[ze+Te,Ke+gt];I(de,de,q),I(Ht,Ht,q),I(tr,tr,q),I(lt,lt,q);var Xt=g(de[0],Ht[0],tr[0],lt[0]),sr=g(de[1],Ht[1],tr[1],lt[1]),Kr=[];Kr.push("M11=",q[0]/dt,v,"M12=",q[2]/Ve,v,"M21=",q[1]/dt,v,"M22=",q[3]/Ve,v,"Dx=",i(ze*dt+q[4]),v,"Dy=",i(Ke*Ve+q[5])),Be.padding="0 "+i(Xt)+"px "+i(sr)+"px 0",Be.filter=b+".Matrix("+Kr.join("")+", SizingMethod=clip)"}else q&&(ze=ze*dt+q[4],Ke=Ke*Ve+q[5]),Be.filter="",Be.left=i(ze)+"px",Be.top=i(Ke)+"px";var rr=this._imageEl,nr=this._cropEl;rr||(rr=e.doc.createElement("div"),this._imageEl=rr);var Nt=rr.style;if(xt){if(et&&He)Nt.width=i(dt*et*Te/Ue)+"px",Nt.height=i(Ve*He*gt/bt)+"px";else{var ot=new Image,Qe=this;ot.onload=function(){ot.onload=null,et=ot.width,He=ot.height,Nt.width=i(dt*et*Te/Ue)+"px",Nt.height=i(Ve*He*gt/bt)+"px",Qe._imageWidth=et,Qe._imageHeight=He,Qe._imageSrc=je},ot.src=je}nr||(nr=e.doc.createElement("div"),nr.style.overflow="hidden",this._cropEl=nr);var qt=nr.style;qt.width=i((Te+wt*Te/Ue)*dt),qt.height=i((gt+Et*gt/bt)*Ve),qt.filter=b+".Matrix(Dx="+-wt*Te/Ue*dt+",Dy="+-Et*gt/bt*Ve+")",nr.parentNode||Tt.appendChild(nr),rr.parentNode!==nr&&nr.appendChild(rr)}else Nt.width=i(dt*Te)+"px",Nt.height=i(Ve*gt)+"px",Tt.appendChild(rr),nr&&nr.parentNode&&(Tt.removeChild(nr),this._cropEl=null);var xr="",vr=nt.opacity;vr<1&&(xr+=".Alpha(opacity="+i(vr*100)+") "),xr+=b+".AlphaImageLoader(src="+je+", SizingMethod=scale)",Nt.filter=xr,Tt.style.zIndex=U(this.zlevel,this.z,this.z2),P(Ye,Tt),nt.text!=null&&this.drawRectText(Ye,this.getBoundingRect())},r.prototype.onRemove=function(Ye){k(Ye,this._vmlEl),this._vmlEl=null,this._cropEl=null,this._imageEl=null,this.removeRectText(Ye)},r.prototype.onAdd=function(Ye){P(Ye,this._vmlEl),this.appendRectText(Ye)};var Z="normal",G={},Y=0,te=100,se=document.createElement("div"),Ce=function(nt){var je=G[nt];if(!je){Y>te&&(Y=0,G={});var et=se.style,He;try{et.font=nt,He=et.fontFamily.split(",")[0]}catch(pe){}je={style:et.fontStyle||Z,variant:et.fontVariant||Z,weight:et.fontWeight||Z,size:parseFloat(et.fontSize||12)|0,family:He||"Microsoft YaHei"},G[nt]=je,Y++}return je},he;t.$override("measureText",function(Ye,nt){var je=e.doc;he||(he=je.createElement("div"),he.style.cssText="position:absolute;top:-20000px;left:0;padding:0;margin:0;border:none;white-space:pre;",e.doc.body.appendChild(he));try{he.style.font=nt}catch(et){}return he.innerHTML="",he.appendChild(je.createTextNode(Ye)),{width:he.offsetWidth}});for(var xe=new E,ie=function(nt,je,et,He){var pe=this.style;this.__dirty&&p.normalizeTextStyle(pe,!0);var ae=pe.text;if(ae!=null&&(ae+=""),!ae)return;if(pe.rich){var re=t.parseRichText(ae,pe);ae=[];for(var be=0;be<re.lines.length;be++){for(var ze=re.lines[be].tokens,Ke=[],Te=0;Te<ze.length;Te++)Ke.push(ze[Te].text);ae.push(Ke.join(""))}ae=ae.join(`
`)}var gt,Ue,bt=pe.textAlign,wt=pe.textVerticalAlign,Et=Ce(pe.font),xt=Et.style+" "+Et.variant+" "+Et.weight+" "+Et.size+'px "'+Et.family+'"';et=et||t.getBoundingRect(ae,xt,bt,wt,pe.textPadding,pe.textLineHeight);var Tt=this.transform;if(Tt&&!He&&(xe.copy(je),xe.applyTransform(Tt),je=xe),He)gt=je.x,Ue=je.y;else{var Be=pe.textPosition;if(Be instanceof Array)gt=je.x+D(Be[0],je.width),Ue=je.y+D(Be[1],je.height),bt=bt||"left";else{var ce=this.calculateTextPosition?this.calculateTextPosition({},pe,je):t.calculateTextPosition({},pe,je);gt=ce.x,Ue=ce.y,bt=bt||ce.textAlign,wt=wt||ce.textVerticalAlign}}gt=t.adjustTextX(gt,et.width,bt),Ue=t.adjustTextY(Ue,et.height,wt),Ue+=et.height/2;var q=e.createNode,dt=this._textVmlEl,Ve,de,Ht;dt?(Ht=dt.firstChild,Ve=Ht.nextSibling,de=Ve.nextSibling):(dt=q("line"),Ve=q("path"),de=q("textpath"),Ht=q("skew"),de.style["v-text-align"]="left",T(dt),Ve.textpathok=!0,de.on=!0,dt.from="0 0",dt.to="1000 0.05",P(dt,Ht),P(dt,Ve),P(dt,de),this._textVmlEl=dt);var tr=[gt,Ue],lt=dt.style;Tt&&He?(I(tr,tr,Tt),Ht.on=!0,Ht.matrix=Tt[0].toFixed(3)+v+Tt[2].toFixed(3)+v+Tt[1].toFixed(3)+v+Tt[3].toFixed(3)+",0,0",Ht.offset=(i(tr[0])||0)+","+(i(tr[1])||0),Ht.origin="0 0",lt.left="0px",lt.top="0px"):(Ht.on=!1,lt.left=i(gt)+"px",lt.top=i(Ue)+"px"),de.string=L(ae);try{de.style.font=xt}catch(Xt){}K(dt,"fill",{fill:pe.textFill,opacity:pe.opacity},this),K(dt,"stroke",{stroke:pe.textStroke,opacity:pe.opacity,lineDash:pe.lineDash||null},this),dt.style.zIndex=U(this.zlevel,this.z,this.z2),P(nt,dt)},ee=function(nt){k(nt,this._textVmlEl),this._textVmlEl=null},Ze=function(nt){P(nt,this._textVmlEl)},Se=[h,o,r,l,s],Ne=0;Ne<Se.length;Ne++){var it=Se[Ne].prototype;it.drawRectText=ie,it.removeRectText=ee,it.appendRectText=Ze}s.prototype.brushVML=function(Ye){var nt=this.style;nt.text!=null?this.drawRectText(Ye,{x:nt.x||0,y:nt.y||0,width:0,height:0},this.getBoundingRect(),!0):this.removeRectText(Ye)},s.prototype.onRemove=function(Ye){this.removeRectText(Ye)},s.prototype.onAdd=function(Ye){this.appendRectText(Ye)}}},qJCg:function(ue,z,d){var O=d("BlVb"),_=d("mFDi"),I=d("IwbS"),E=I.linePolygonIntersect,C={lineX:t(0),lineY:t(1),rect:{point:function(o,r,s){return o&&s.boundingRect.contain(o[0],o[1])},rect:function(o,r,s){return o&&s.boundingRect.intersect(o)}},polygon:{point:function(o,r,s){return o&&s.boundingRect.contain(o[0],o[1])&&O.contain(s.range,o[0],o[1])},rect:function(o,r,s){var l=s.range;if(!o||l.length<=1)return!1;var n=o.x,c=o.y,e=o.width,a=o.height,i=l[0];if(O.contain(l,n,c)||O.contain(l,n+e,c)||O.contain(l,n,c+a)||O.contain(l,n+e,c+a)||_.create(o).contain(i[0],i[1])||E(n,c,n+e,c,l)||E(n,c,n,c+a,l)||E(n+e,c,n+e,c+a,l)||E(n,c+a,n+e,c+a,l))return!0}}};function t(o){var r=["x","y"],s=["width","height"];return{point:function(l,n,c){if(l){var e=c.range,a=l[o];return p(a,e)}},rect:function(l,n,c){if(l){var e=c.range,a=[l[r[o]],l[r[o]]+l[s[o]]];return a[1]<a[0]&&a.reverse(),p(a[0],e)||p(a[1],e)||p(e[0],a)||p(e[1],a)}}}}function p(o,r){return r[0]<=o&&o<=r[1]}var h=C;ue.exports=h},qMZE:function(ue,z,d){var O=d("JEkh"),_=O.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}}}});ue.exports=_},qNPg:function(ue,z,d){"use strict";d.d(z,"a",function(){return W});var O=d("rePB"),_=d("VTBJ"),I=d("KQm4"),E=d("ODXe"),C=d("Ff2n"),t=d("q1tI"),p=d("4IlW"),h=d("TSYQ"),o=d.n(h),r=d("6cGi"),s=d("bX4T"),l=d("8XRh"),n=d("8OUc"),c=d("c+Xe"),e=function(V,Z){var G=V.prefixCls,Y=V.id,te=V.inputElement,se=V.disabled,Ce=V.tabIndex,he=V.autoFocus,xe=V.autoComplete,ie=V.editable,ee=V.accessibilityIndex,Ze=V.value,Se=V.onKeyDown,Ne=V.onMouseDown,it=V.onChange,Ye=V.onPaste,nt=V.onCompositionStart,je=V.onCompositionEnd,et=V.open,He=V.attrs,pe=te||t.createElement("input",null),ae=pe,re=ae.ref,be=ae.props,ze=be.onKeyDown,Ke=be.onChange,Te=be.onMouseDown,gt=be.onCompositionStart,Ue=be.onCompositionEnd,bt=be.style;return pe=t.cloneElement(pe,Object(_.a)(Object(_.a)({id:Y,ref:Object(c.a)(Z,re),disabled:se,tabIndex:Ce,autoComplete:xe||"off",autoFocus:he,className:"".concat(G,"-selection-search-input"),style:Object(_.a)(Object(_.a)({},bt),{},{opacity:ie?null:0}),role:"combobox","aria-expanded":et,"aria-haspopup":"listbox","aria-owns":"".concat(Y,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Y,"_list"),"aria-activedescendant":"".concat(Y,"_list_").concat(ee)},He),{},{value:ie?Ze:"",readOnly:!ie,unselectable:ie?null:"on",onKeyDown:function(Et){Se(Et),ze&&ze(Et)},onMouseDown:function(Et){Ne(Et),Te&&Te(Et)},onChange:function(Et){it(Et),Ke&&Ke(Et)},onCompositionStart:function(Et){nt(Et),gt&&gt(Et)},onCompositionEnd:function(Et){je(Et),Ue&&Ue(Et)},onPaste:Ye})),pe},a=t.forwardRef(e);a.displayName="Input";var i=a,u=d("WKfj");function f(X,V){u.b?t.useLayoutEffect(X,V):t.useEffect(X,V)}var m="__RC_SELECT_MAX_REST_COUNT__",A=function(V){var Z=V.id,G=V.prefixCls,Y=V.values,te=V.open,se=V.searchValue,Ce=V.inputRef,he=V.placeholder,xe=V.disabled,ie=V.mode,ee=V.showSearch,Ze=V.autoFocus,Se=V.autoComplete,Ne=V.accessibilityIndex,it=V.tabIndex,Ye=V.removeIcon,nt=V.choiceTransitionName,je=V.maxTagCount,et=V.maxTagTextLength,He=V.maxTagPlaceholder,pe=He===void 0?function(Xt){return"+ ".concat(Xt.length," ...")}:He,ae=V.tagRender,re=V.onSelect,be=V.onInputChange,ze=V.onInputPaste,Ke=V.onInputKeyDown,Te=V.onInputMouseDown,gt=V.onInputCompositionStart,Ue=V.onInputCompositionEnd,bt=t.useState(!1),wt=Object(E.a)(bt,2),Et=wt[0],xt=wt[1],Tt=t.useRef(null),Be=t.useState(0),ce=Object(E.a)(Be,2),q=ce[0],dt=ce[1];t.useEffect(function(){xt(!0)},[]);var Ve=te||ie==="tags"?se:"",de=ie==="tags"||te&&ee;f(function(){dt(Tt.current.scrollWidth)},[Ve]);var Ht=Y,tr;typeof je=="number"&&(tr=Y.length-je,Ht=Y.slice(0,je)),typeof et=="number"&&(Ht=Ht.map(function(Xt){var sr=Xt.label,Kr=Object(C.a)(Xt,["label"]),rr=sr;if(typeof sr=="string"||typeof sr=="number"){var nr=String(rr);nr.length>et&&(rr="".concat(nr.slice(0,et),"..."))}return Object(_.a)(Object(_.a)({},Kr),{},{label:rr})})),tr>0&&Ht.push({key:m,label:typeof pe=="function"?pe(Y.slice(je)):pe});var lt=t.createElement(l.CSSMotionList,{component:!1,keys:Ht,motionName:nt,motionAppear:Et},function(Xt){var sr=Xt.key,Kr=Xt.label,rr=Xt.value,nr=Xt.disabled,Nt=Xt.className,ot=Xt.style,Qe=sr||rr,qt=sr!==m&&!nr,xr=function(An){An.preventDefault(),An.stopPropagation()},vr=function(An){An&&An.stopPropagation(),re(rr,{selected:!1})};return typeof ae=="function"?t.createElement("span",{key:Qe,onMouseDown:xr,className:Nt,style:ot},ae({label:Kr,value:rr,disabled:nr,closable:qt,onClose:vr})):t.createElement("span",{key:Qe,className:o()(Nt,"".concat(G,"-selection-item"),Object(O.a)({},"".concat(G,"-selection-item-disabled"),nr)),style:ot},t.createElement("span",{className:"".concat(G,"-selection-item-content")},Kr),qt&&t.createElement(n.a,{className:"".concat(G,"-selection-item-remove"),onMouseDown:xr,onClick:vr,customizeIcon:Ye},"\xD7"))});return t.createElement(t.Fragment,null,lt,t.createElement("span",{className:"".concat(G,"-selection-search"),style:{width:q}},t.createElement(i,{ref:Ce,open:te,prefixCls:G,id:Z,inputElement:null,disabled:xe,autoFocus:Ze,autoComplete:Se,editable:de,accessibilityIndex:Ne,value:Ve,onKeyDown:Ke,onMouseDown:Te,onChange:be,onPaste:ze,onCompositionStart:gt,onCompositionEnd:Ue,tabIndex:it,attrs:Object(s.a)(V,!0)}),t.createElement("span",{ref:Tt,className:"".concat(G,"-selection-search-mirror"),"aria-hidden":!0},Ve,"\xA0")),!Y.length&&!Ve&&t.createElement("span",{className:"".concat(G,"-selection-placeholder")},he))},g=A,v=function(V){var Z=V.inputElement,G=V.prefixCls,Y=V.id,te=V.inputRef,se=V.disabled,Ce=V.autoFocus,he=V.autoComplete,xe=V.accessibilityIndex,ie=V.mode,ee=V.open,Ze=V.values,Se=V.placeholder,Ne=V.tabIndex,it=V.showSearch,Ye=V.searchValue,nt=V.activeValue,je=V.onInputKeyDown,et=V.onInputMouseDown,He=V.onInputChange,pe=V.onInputPaste,ae=V.onInputCompositionStart,re=V.onInputCompositionEnd,be=t.useState(!1),ze=Object(E.a)(be,2),Ke=ze[0],Te=ze[1],gt=ie==="combobox",Ue=gt||it&&ee,bt=Ze[0],wt=Ye||"";gt&&nt&&!Ke&&(wt=nt),t.useEffect(function(){gt&&Te(!1)},[gt,nt]);var Et=ie!=="combobox"&&!ee?!1:!!wt,xt=bt&&(typeof bt.label=="string"||typeof bt.label=="number")?bt.label.toString():void 0;return t.createElement(t.Fragment,null,t.createElement("span",{className:"".concat(G,"-selection-search")},t.createElement(i,{ref:te,prefixCls:G,id:Y,open:ee,inputElement:Z,disabled:se,autoFocus:Ce,autoComplete:he,editable:Ue,accessibilityIndex:xe,value:wt,onKeyDown:je,onMouseDown:et,onChange:function(Be){Te(!0),He(Be)},onPaste:pe,onCompositionStart:ae,onCompositionEnd:re,tabIndex:Ne,attrs:Object(s.a)(V,!0)})),!gt&&bt&&!Et&&t.createElement("span",{className:"".concat(G,"-selection-item"),title:xt},bt.label),!bt&&!Et&&t.createElement("span",{className:"".concat(G,"-selection-placeholder")},Se))},b=v;function S(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,V=t.useRef(null),Z=t.useRef(null);t.useEffect(function(){return function(){window.clearTimeout(Z.current)}},[]);function G(Y){(Y||V.current===null)&&(V.current=Y),window.clearTimeout(Z.current),Z.current=window.setTimeout(function(){V.current=null},X)}return[function(){return V.current},G]}var y=function(V,Z){var G=Object(t.useRef)(null),Y=Object(t.useRef)(!1),te=V.prefixCls,se=V.multiple,Ce=V.open,he=V.mode,xe=V.showSearch,ie=V.tokenWithEnter,ee=V.onSearch,Ze=V.onSearchSubmit,Se=V.onToggleOpen,Ne=V.onInputKeyDown,it=V.domRef;t.useImperativeHandle(Z,function(){return{focus:function(){G.current.focus()},blur:function(){G.current.blur()}}});var Ye=S(0),nt=Object(E.a)(Ye,2),je=nt[0],et=nt[1],He=function(Et){var xt=Et.which;(xt===p.a.UP||xt===p.a.DOWN)&&Et.preventDefault(),Ne&&Ne(Et),xt===p.a.ENTER&&he==="tags"&&!Y.current&&!Ce&&Ze(Et.target.value),[p.a.SHIFT,p.a.TAB,p.a.BACKSPACE,p.a.ESC].includes(xt)||Se(!0)},pe=function(){et(!0)},ae=Object(t.useRef)(null),re=function(Et){ee(Et,!0,Y.current)!==!1&&Se(!0)},be=function(){Y.current=!0},ze=function(){Y.current=!1},Ke=function(Et){var xt=Et.target.value;if(ie&&ae.current&&/[\r\n]/.test(ae.current)){var Tt=ae.current.replace(/\r\n/g," ").replace(/[\r\n]/g," ");xt=xt.replace(Tt,ae.current)}ae.current=null,re(xt)},Te=function(Et){var xt=Et.clipboardData,Tt=xt.getData("text");ae.current=Tt},gt=function(Et){var xt=je();if(Et.target!==G.current){xt||Et.preventDefault();var Tt=document.body.style.msTouchAction!==void 0;Tt?setTimeout(function(){G.current.focus()}):G.current.focus()}(he!=="combobox"&&(!xe||!xt)||!Ce)&&(Ce&&ee("",!0,!1),Se())},Ue={inputRef:G,onInputKeyDown:He,onInputMouseDown:pe,onInputChange:Ke,onInputPaste:Te,onInputCompositionStart:be,onInputCompositionEnd:ze},bt=se?t.createElement(g,Object.assign({},V,Ue)):t.createElement(b,Object.assign({},V,Ue));return t.createElement("div",{ref:it,className:"".concat(te,"-selector"),onMouseDown:gt},bt)},w=t.forwardRef(y);w.displayName="Selector";var x=w,T=d("uciX"),L=function(V){var Z=typeof V!="number"?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Z,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Z,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Z,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Z,adjustY:1}}}},R=function(V,Z){var G=V.prefixCls,Y=V.disabled,te=V.visible,se=V.children,Ce=V.popupElement,he=V.containerWidth,xe=V.animation,ie=V.transitionName,ee=V.dropdownStyle,Ze=V.dropdownClassName,Se=V.direction,Ne=Se===void 0?"ltr":Se,it=V.dropdownMatchSelectWidth,Ye=it===void 0?!0:it,nt=V.dropdownRender,je=V.dropdownAlign,et=V.getPopupContainer,He=V.empty,pe=V.getTriggerDOMNode,ae=Object(C.a)(V,["prefixCls","disabled","visible","children","popupElement","containerWidth","animation","transitionName","dropdownStyle","dropdownClassName","direction","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode"]),re="".concat(G,"-dropdown"),be=Ce;nt&&(be=nt(Ce));var ze=t.useMemo(function(){return L(Ye)},[Ye]),Ke=xe?"".concat(re,"-").concat(xe):ie,Te=t.useRef(null);t.useImperativeHandle(Z,function(){return{getPopupElement:function(){return Te.current}}});var gt=Object(_.a)({minWidth:he},ee);return typeof Ye=="number"?gt.width=Ye:Ye&&(gt.width=he),t.createElement(T.a,Object.assign({},ae,{showAction:[],hideAction:[],popupPlacement:Ne==="rtl"?"bottomRight":"bottomLeft",builtinPlacements:ze,prefixCls:re,popupTransitionName:Ke,popup:t.createElement("div",{ref:Te},be),popupAlign:je,popupVisible:te,getPopupContainer:et,popupClassName:o()(Ze,Object(O.a)({},"".concat(re,"-empty"),He)),popupStyle:gt,getTriggerDOMNode:pe}),se)},P=t.forwardRef(R);P.displayName="SelectTrigger";var k=P,U=d("wPlo");function D(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,V=t.useState(!1),Z=Object(E.a)(V,2),G=Z[0],Y=Z[1],te=t.useRef(null),se=function(){window.clearTimeout(te.current)};t.useEffect(function(){return se},[]);var Ce=function(xe,ie){se(),te.current=window.setTimeout(function(){Y(xe),ie&&ie()},X)};return[G,Ce,se]}var M=d("2Qr1");function B(X,V,Z){var G=t.useRef(null);G.current={elements:X.filter(function(Y){return Y}),open:V,triggerOpen:Z},t.useEffect(function(){function Y(te){var se=te.target;G.current.open&&G.current.elements.every(function(Ce){return!Ce.contains(se)&&Ce!==se})&&G.current.triggerOpen(!1)}return window.addEventListener("mousedown",Y),function(){return window.removeEventListener("mousedown",Y)}},[])}function j(X){var V=t.useRef(X),Z=t.useMemo(function(){var G=new Map;V.current.forEach(function(te){var se=te.value,Ce=te.label;se!==Ce&&G.set(se,Ce)});var Y=X.map(function(te){var se=G.get(te.value);return te.value===te.label&&se?Object(_.a)(Object(_.a)({},te),{},{label:se}):te});return V.current=Y,Y},[X]);return Z}function H(X,V){var Z=t.useRef(null),G=t.useMemo(function(){var te=new Map;return V.forEach(function(se){var Ce=se.data.value;te.set(Ce,se)}),te},[X,V]);Z.current=G;var Y=function(se){return se.map(function(Ce){return Z.current.get(Ce)}).filter(Boolean)};return Y}var K=["removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown"];function W(X){var V=X.prefixCls,Z=X.components.optionList,G=X.convertChildrenToData,Y=X.flattenOptions,te=X.getLabeledValue,se=X.filterOptions,Ce=X.isValueDisabled,he=X.findValueOption,xe=X.warningProps,ie=X.fillOptionsWithMissingValue,ee=X.omitDOMProps;function Ze(Ne,it){var Ye,nt=Ne.prefixCls,je=nt===void 0?V:nt,et=Ne.className,He=Ne.id,pe=Ne.open,ae=Ne.defaultOpen,re=Ne.options,be=Ne.children,ze=Ne.mode,Ke=Ne.value,Te=Ne.defaultValue,gt=Ne.labelInValue,Ue=Ne.showSearch,bt=Ne.inputValue,wt=Ne.searchValue,Et=Ne.filterOption,xt=Ne.optionFilterProp,Tt=xt===void 0?"value":xt,Be=Ne.autoClearSearchValue,ce=Be===void 0?!0:Be,q=Ne.onSearch,dt=Ne.allowClear,Ve=Ne.clearIcon,de=Ne.showArrow,Ht=Ne.inputIcon,tr=Ne.menuItemSelectedIcon,lt=Ne.disabled,Xt=Ne.loading,sr=Ne.defaultActiveFirstOption,Kr=Ne.notFoundContent,rr=Kr===void 0?"Not Found":Kr,nr=Ne.optionLabelProp,Nt=Ne.backfill,ot=Ne.getInputElement,Qe=Ne.getPopupContainer,qt=Ne.listHeight,xr=qt===void 0?200:qt,vr=Ne.listItemHeight,fr=vr===void 0?20:vr,An=Ne.animation,$r=Ne.transitionName,Ln=Ne.virtual,$e=Ne.dropdownStyle,tt=Ne.dropdownClassName,ve=Ne.dropdownMatchSelectWidth,_e=Ne.dropdownRender,ke=Ne.dropdownAlign,rt=Ne.showAction,Wt=rt===void 0?[]:rt,Bt=Ne.direction,Gt=Ne.tokenSeparators,Rr=Ne.tagRender,Pr=Ne.onPopupScroll,cn=Ne.onDropdownVisibleChange,Ut=Ne.onFocus,pt=Ne.onBlur,ct=Ne.onKeyUp,Qt=Ne.onKeyDown,Jt=Ne.onMouseDown,yt=Ne.onChange,Pt=Ne.onSelect,At=Ne.onDeselect,Ft=Ne.onClear,pr=Ne.internalProps,or=pr===void 0?{}:pr,ir=Object(C.a)(Ne,["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"]),Yr=or.mark===U.a,Jr=ee?ee(ir):ir;K.forEach(function(Wn){delete Jr[Wn]});var _n=Object(t.useRef)(null),Nn=Object(t.useRef)(null),zn=Object(t.useRef)(null),ei=Object(t.useRef)(null),vi=Object(t.useMemo)(function(){return(Gt||[]).some(function(Wn){return[`
`,`\r
`].includes(Wn)})},[Gt]),Pi=D(),Ge=Object(E.a)(Pi,3),we=Ge[0],Le=Ge[1],De=Ge[2],We=Object(t.useState)(),Fe=Object(E.a)(We,2),Je=Fe[0],vt=Fe[1];Object(t.useEffect)(function(){vt("rc_select_".concat(Object(u.a)()))},[]);var st=He||Je,kt=nr;kt===void 0&&(kt=re?"label":"children");var wr=ze==="combobox"?!1:gt,hr=ze==="tags"||ze==="multiple",Nr=Ue!==void 0?Ue:hr||ze==="combobox",Kt=Object(t.useRef)(null);t.useImperativeHandle(it,function(){return{focus:zn.current.focus,blur:zn.current.blur}});var un=Object(r.a)(Te,{value:Ke}),ar=Object(E.a)(un,2),Xr=ar[0],kr=ar[1],gr=Object(t.useMemo)(function(){return Object(u.e)(Xr,{labelInValue:wr,combobox:ze==="combobox"})},[Xr,wr]),Sn=Object(t.useMemo)(function(){return new Set(gr)},[gr]),Pn=Object(t.useState)(null),ii=Object(E.a)(Pn,2),oi=ii[0],ti=ii[1],bi=Object(t.useState)(""),Bn=Object(E.a)(bi,2),_i=Bn[0],gn=Bn[1],Vr=_i;ze==="combobox"&&Xr!==void 0?Vr=Xr:wt!==void 0?Vr=wt:bt&&(Vr=bt);var xn=Object(t.useMemo)(function(){var Wn=re;return Wn===void 0&&(Wn=G(be)),ze==="tags"&&ie&&(Wn=ie(Wn,Xr,kt,gt)),Wn||[]},[re,be,ze,Xr]),tn=Object(t.useMemo)(function(){return Y(xn,Ne)},[xn]),ui=H(gr,tn),qn=Object(t.useMemo)(function(){if(!Vr||!Nr)return Object(I.a)(xn);var Wn=se(Vr,xn,{optionFilterProp:Tt,filterOption:ze==="combobox"&&Et===void 0?function(){return!0}:Et});return ze==="tags"&&Wn.every(function(Ri){return Ri[Tt]!==Vr})&&Wn.unshift({value:Vr,label:Vr,key:"__RC_SELECT_TAG_PLACEHOLDER__"}),Wn},[xn,Vr,ze,Nr]),wi=Object(t.useMemo)(function(){return Y(qn,Ne)},[qn]);Object(t.useEffect)(function(){ei.current&&ei.current.scrollTo&&ei.current.scrollTo(0)},[Vr]);var Qn=Object(t.useMemo)(function(){var Wn=gr.map(function(Ri){var zi=ui([Ri]),yr=te(Ri,{options:zi,prevValue:Xr,labelInValue:wr,optionLabelProp:kt});return Object(_.a)(Object(_.a)({},yr),{},{disabled:Ce(Ri,zi)})});return!ze&&Wn.length===1&&Wn[0].value===null&&Wn[0].label===null?[]:Wn},[Xr,xn,ze]);Qn=j(Qn);var Hi=function(Ri,zi,yr){var Mr=ui([Ri]),Qr=he([Ri],Mr)[0];if(!or.skipTriggerSelect){var _r=wr?te(Ri,{options:Mr,prevValue:Xr,labelInValue:wr,optionLabelProp:kt}):Ri;zi&&Pt?Pt(_r,Qr):!zi&&At&&At(_r,Qr)}Yr&&(zi&&or.onRawSelect?or.onRawSelect(Ri,Qr,yr):!zi&&or.onRawDeselect&&or.onRawDeselect(Ri,Qr,yr))},ri=Object(t.useState)([]),Mi=Object(E.a)(ri,2),dn=Mi[0],Fr=Mi[1],bn=function(Ri){if(Yr&&or.skipTriggerChange)return;var zi=ui(Ri),yr=Object(u.f)(Array.from(Ri),{labelInValue:wr,options:zi,getLabeledValue:te,prevValue:Xr,optionLabelProp:kt}),Mr=hr?yr:yr[0];if(yt&&(gr.length!==0||yr.length!==0)){var Qr=he(Ri,zi,{prevValueOptions:dn});Fr(Qr.map(function(_r,Vt){var Sr=Object(_.a)({},_r);return Object.defineProperty(Sr,"_INTERNAL_OPTION_VALUE_",{get:function(){return Ri[Vt]}}),Sr})),yt(Mr,hr?Qr:Qr[0])}kr(Mr)},Mn=function(Ri,zi){var yr=zi.selected,Mr=zi.source;if(lt)return;var Qr;hr?(Qr=new Set(gr),yr?Qr.add(Ri):Qr.delete(Ri)):(Qr=new Set,Qr.add(Ri)),(hr||!hr&&Array.from(gr)[0]!==Ri)&&bn(Array.from(Qr)),Hi(Ri,!hr||yr,Mr),ze==="combobox"?(gn(String(Ri)),ti("")):(!hr||ce)&&(gn(""),ti(""))},Xn=function(Ri,zi){Mn(Ri,Object(_.a)(Object(_.a)({},zi),{},{source:"option"}))},$n=function(Ri,zi){Mn(Ri,Object(_.a)(Object(_.a)({},zi),{},{source:"selection"}))},hi=ze==="combobox"&&ot&&ot()||null,fi=Object(r.a)(void 0,{defaultValue:ae,value:pe}),gi=Object(E.a)(fi,2),Wi=gi[0],na=gi[1],$i=Wi,Ha=!rr&&!qn.length;(lt||Ha&&$i&&ze==="combobox")&&($i=!1);var pi=Ha?!1:$i,ln=function(Ri){var zi=Ri!==void 0?Ri:!$i;Wi!==zi&&!lt&&(na(zi),cn&&cn(zi))};B([_n.current,Nn.current&&Nn.current.getPopupElement()],pi,ln);var Ii=function(Ri,zi,yr){var Mr=!0,Qr=Ri;ti(null);var _r=yr?null:Object(M.f)(Ri,Gt),Vt=_r;if(ze==="combobox")zi&&bn([Qr]);else if(_r){Qr="",ze!=="tags"&&(Vt=_r.map(function(Zt){var Ur=tn.find(function(Hr){var pn=Hr.data;return pn[kt]===Zt});return Ur?Ur.data.value:null}).filter(function(Zt){return Zt!==null}));var Sr=Array.from(new Set([].concat(Object(I.a)(gr),Object(I.a)(Vt))));bn(Sr),Sr.forEach(function(Zt){Hi(Zt,!0,"input")}),ln(!1),Mr=!1}return gn(Qr),q&&Vr!==Qr&&q(Qr),Mr},Ji=function(Ri){var zi=Array.from(new Set([].concat(Object(I.a)(gr),[Ri])));bn(zi),zi.forEach(function(yr){Hi(yr,!0,"input")}),gn("")};Object(t.useEffect)(function(){Wi&&!!lt&&na(!1)},[lt]),Object(t.useEffect)(function(){!$i&&!hr&&ze!=="combobox"&&Ii("",!1,!1)},[$i]);var Fi=S(),ea=Object(E.a)(Fi,2),zt=ea[0],Gr=ea[1],nn=function(Ri){var zi=zt(),yr=Ri.which;if(!$i&&yr===p.a.ENTER&&ln(!0),Gr(!!Vr),yr===p.a.BACKSPACE&&!zi&&hr&&!Vr&&gr.length){var Mr=Object(u.c)(Qn,gr);Mr.removedValue!==null&&(bn(Mr.values),Hi(Mr.removedValue,!1,"input"))}for(var Qr=arguments.length,_r=new Array(Qr>1?Qr-1:0),Vt=1;Vt<Qr;Vt++)_r[Vt-1]=arguments[Vt];if($i&&ei.current){var Sr;(Sr=ei.current).onKeyDown.apply(Sr,[Ri].concat(_r))}Qt&&Qt.apply(void 0,[Ri].concat(_r))},fn=function(Ri){for(var zi=arguments.length,yr=new Array(zi>1?zi-1:0),Mr=1;Mr<zi;Mr++)yr[Mr-1]=arguments[Mr];if($i&&ei.current){var Qr;(Qr=ei.current).onKeyUp.apply(Qr,[Ri].concat(yr))}ct&&ct.apply(void 0,[Ri].concat(yr))},Xe=Object(t.useRef)(!1),Ot=function(){Le(!0),lt||(Ut&&!Xe.current&&Ut.apply(void 0,arguments),Wt.includes("focus")&&ln(!0)),Xe.current=!0},cr=function(){if(Le(!1,function(){Xe.current=!1,ln(!1)}),lt)return;Vr&&(ze==="tags"?(Ii("",!1,!1),bn(Array.from(new Set([].concat(Object(I.a)(gr),[Vr]))))):ze==="multiple"&&gn("")),pt&&pt.apply(void 0,arguments)},lr=[];Object(t.useEffect)(function(){return function(){lr.forEach(function(Wn){return clearTimeout(Wn)}),lr.splice(0,lr.length)}},[]);var Ir=function(Ri){var zi=Ri.target,yr=Nn.current&&Nn.current.getPopupElement();if(yr&&yr.contains(zi)){var Mr=setTimeout(function(){var Sr=lr.indexOf(Mr);Sr!==-1&&lr.splice(Sr,1),De(),yr.contains(document.activeElement)||zn.current.focus()});lr.push(Mr)}if(Jt){for(var Qr=arguments.length,_r=new Array(Qr>1?Qr-1:0),Vt=1;Vt<Qr;Vt++)_r[Vt-1]=arguments[Vt];Jt.apply(void 0,[Ri].concat(_r))}},Dr=Object(t.useState)(0),Wr=Object(E.a)(Dr,2),on=Wr[0],En=Wr[1],vn=sr!==void 0?sr:ze!=="combobox",Dn=function(Ri,zi){En(zi),Nt&&ze==="combobox"&&Ri!==null&&ti(String(Ri))},Un=Object(t.useState)(null),wn=Object(E.a)(Un,2),In=wn[0],Tn=wn[1],Kn=Object(t.useState)({}),Yn=Object(E.a)(Kn,2),ni=Yn[1];function yi(){ni({})}f(function(){if(pi){var Wn=Math.ceil(_n.current.offsetWidth);In!==Wn&&Tn(Wn)}},[pi]);var li=t.createElement(Z,{ref:ei,prefixCls:je,id:st,open:$i,childrenAsData:!re,options:qn,flattenOptions:wi,multiple:hr,values:Sn,height:xr,itemHeight:fr,onSelect:Xn,onToggleOpen:ln,onActiveValue:Dn,defaultActiveFirstOption:vn,notFoundContent:rr,onScroll:Pr,searchValue:Vr,menuItemSelectedIcon:tr,virtual:Ln!==!1&&ve!==!1,onMouseEnter:yi}),Oi,Bi=function(){Yr&&or.onClear&&or.onClear(),Ft&&Ft(),bn([]),Ii("",!1,!1)};!lt&&dt&&(gr.length||Vr)&&(Oi=t.createElement(n.a,{className:"".concat(je,"-clear"),onMouseDown:Bi,customizeIcon:Ve},"\xD7"));var Si=de!==void 0?de:Xt||!hr&&ze!=="combobox",mi;Si&&(mi=t.createElement(n.a,{className:o()("".concat(je,"-arrow"),Object(O.a)({},"".concat(je,"-arrow-loading"),Xt)),customizeIcon:Ht,customizeIconProps:{loading:Xt,searchValue:Vr,open:$i,focused:we,showSearch:Nr}}));var Li=o()(je,et,(Ye={},Object(O.a)(Ye,"".concat(je,"-focused"),we),Object(O.a)(Ye,"".concat(je,"-multiple"),hr),Object(O.a)(Ye,"".concat(je,"-single"),!hr),Object(O.a)(Ye,"".concat(je,"-allow-clear"),dt),Object(O.a)(Ye,"".concat(je,"-show-arrow"),Si),Object(O.a)(Ye,"".concat(je,"-disabled"),lt),Object(O.a)(Ye,"".concat(je,"-loading"),Xt),Object(O.a)(Ye,"".concat(je,"-open"),$i),Object(O.a)(Ye,"".concat(je,"-customize-input"),hi),Object(O.a)(Ye,"".concat(je,"-show-search"),Nr),Ye));return t.createElement("div",Object.assign({className:Li},Jr,{ref:_n,onMouseDown:Ir,onKeyDown:nn,onKeyUp:fn,onFocus:Ot,onBlur:cr}),we&&!$i&&t.createElement("span",{style:{width:0,height:0,display:"flex",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(gr.join(", "))),t.createElement(k,{ref:Nn,disabled:lt,prefixCls:je,visible:pi,popupElement:li,containerWidth:In,animation:An,transitionName:$r,dropdownStyle:$e,dropdownClassName:tt,direction:Bt,dropdownMatchSelectWidth:ve,dropdownRender:_e,dropdownAlign:ke,getPopupContainer:Qe,empty:!xn.length,getTriggerDOMNode:function(){return Kt.current}},t.createElement(x,Object.assign({},Ne,{domRef:Kt,prefixCls:je,inputElement:hi,ref:zn,id:st,showSearch:Nr,mode:ze,accessibilityIndex:on,multiple:hr,tagRender:Rr,values:Qn,open:$i,onToggleOpen:ln,searchValue:Vr,activeValue:oi,onSearch:Ii,onSearchSubmit:Ji,onSelect:$n,tokenWithEnter:vi}))),mi,Oi)}var Se=t.forwardRef(Ze);return Se}},qPY4:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("u4NN"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},qWUW:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("DL4k")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="CaretDownOutlined";var h=E.forwardRef(p);z.default=h},qWt2:function(ue,z,d){var O=d("ProS"),_=O.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}}});ue.exports=_},qZFw:function(ue,z,d){var O=d("bYtY"),_=d("6GrX"),I=d("hM6l"),E=d("4NO4"),C=E.makeInner,t=C();function p(o,r){r=r||[0,360],I.call(this,"angle",o,r),this.type="category"}p.prototype={constructor:p,pointToData:function(o,r){return this.polar.pointToData(o,r)[this.dim==="radius"?0:1]},dataToAngle:I.prototype.dataToCoord,angleToData:I.prototype.coordToData,calculateCategoryInterval:function(){var o=this,r=o.getLabelModel(),s=o.scale,l=s.getExtent(),n=s.count();if(l[1]-l[0]<1)return 0;var c=l[0],e=o.dataToCoord(c+1)-o.dataToCoord(c),a=Math.abs(e),i=_.getBoundingRect(c,r.getFont(),"center","top"),u=Math.max(i.height,7),f=u/a;isNaN(f)&&(f=Infinity);var m=Math.max(0,Math.floor(f)),A=t(o.model),g=A.lastAutoInterval,v=A.lastTickCount;return g!=null&&v!=null&&Math.abs(g-m)<=1&&Math.abs(v-n)<=1&&g>m?m=g:(A.lastTickCount=n,A.lastAutoInterval=m),m}},O.inherits(p,I);var h=p;ue.exports=h},qgGe:function(ue,z,d){var O=d("bYtY"),_=d("T4UG"),I=d("Bsck"),E=d("VaxA"),C=E.wrapTreePathInfo,t=_.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(h,o){var r={name:h.name,children:h.data};p(r);var s=h.levels||[],l={};return l.levels=s,I.createTree(r,this,l).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(h){var o=_.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(h);return o.treePathInfo=C(r,this),o},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(h){h?this._viewRoot=h:h=this._viewRoot;var o=this.getRawData().tree.root;(!h||h!==o&&!o.contains(h))&&(this._viewRoot=o)}});function p(h){var o=0;O.each(h.children,function(s){p(s);var l=s.value;O.isArray(l)&&(l=l[0]),o+=l});var r=h.value;O.isArray(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=o),r<0&&(r=0),O.isArray(h.value)?h.value[0]=r:h.value=r}ue.exports=t},qj72:function(ue,z,d){var O=d("bYtY");function _(E,C){return C=C||[0,0],O.map(["x","y"],function(t,p){var h=this.getAxis(t),o=C[p],r=E[p]/2;return h.type==="category"?h.getBandWidth():Math.abs(h.dataToCoord(o-r)-h.dataToCoord(o+r))},this)}function I(E){var C=E.grid.getRect();return{coordSys:{type:"cartesian2d",x:C.x,y:C.y,width:C.width,height:C.height},api:{coord:function(t){return E.dataToPoint(t)},size:O.bind(_,E)}}}ue.exports=I},qrJ5:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("cDf5"),t=d.n(C),p=d("J4zp"),h=d.n(p),o=d("q1tI"),r=d.n(o),s=d("TSYQ"),l=d.n(s),n=d("H84U"),c=d("o/2+"),e=d("CWQg"),a=d("ACnJ"),i=function(A,g){var v={};for(var b in A)Object.prototype.hasOwnProperty.call(A,b)&&g.indexOf(b)<0&&(v[b]=A[b]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,b=Object.getOwnPropertySymbols(A);S<b.length;S++)g.indexOf(b[S])<0&&Object.prototype.propertyIsEnumerable.call(A,b[S])&&(v[b[S]]=A[b[S]]);return v},u=Object(e.a)("top","middle","bottom","stretch"),f=Object(e.a)("start","end","center","space-around","space-between"),m=o.forwardRef(function(A,g){var v=o.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),b=h()(v,2),S=b[0],y=b[1],w=o.useRef();w.current=A.gutter,o.useEffect(function(){var L=a.a.subscribe(function(R){var P=w.current||0;(!Array.isArray(P)&&t()(P)==="object"||Array.isArray(P)&&(t()(P[0])==="object"||t()(P[1])==="object"))&&y(R)});return function(){a.a.unsubscribe(L)}},[]);var x=function(){var R=[0,0],P=A.gutter,k=P===void 0?0:P,U=Array.isArray(k)?k:[k,0];return U.forEach(function(D,M){if(t()(D)==="object")for(var B=0;B<a.b.length;B++){var j=a.b[B];if(S[j]&&D[j]!==void 0){R[M]=D[j];break}}else R[M]=D||0}),R},T=function(R){var P,k=R.getPrefixCls,U=R.direction,D=A.prefixCls,M=A.justify,B=A.align,j=A.className,H=A.style,K=A.children,W=i(A,["prefixCls","justify","align","className","style","children"]),X=k("row",D),V=x(),Z=l()(X,(P={},E()(P,"".concat(X,"-").concat(M),M),E()(P,"".concat(X,"-").concat(B),B),E()(P,"".concat(X,"-rtl"),U==="rtl"),P),j),G=_()(_()(_()({},V[0]>0?{marginLeft:V[0]/-2,marginRight:V[0]/-2}:{}),V[1]>0?{marginTop:V[1]/-2,marginBottom:V[1]/2}:{}),H),Y=_()({},W);return delete Y.gutter,o.createElement(c.a.Provider,{value:{gutter:V}},o.createElement("div",_()({},Y,{className:Z,style:G,ref:g}),K))};return o.createElement(n.a,null,T)});m.displayName="Row",z.a=m},"qt/9":function(ue,z,d){var O=d("ProS"),_=d("bYtY");d("Wqna"),d("1tlw"),d("Mylv");var I=d("nVfU"),E=I.layout,C=d("f5Yq");d("Ae16"),O.registerLayout(_.curry(E,"pictorialBar")),O.registerVisual(C("pictorialBar","roundRect"))},quyA:function(ue,z){var d="\\ud800-\\udfff",O="\\u0300-\\u036f",_="\\ufe20-\\ufe2f",I="\\u20d0-\\u20ff",E=O+_+I,C="\\ufe0e\\ufe0f",t="\\u200d",p=RegExp("["+t+d+E+C+"]");function h(o){return p.test(o)}ue.exports=h},qwVE:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("K4ya"),E=d("XxSj"),C=O.PRIORITY.VISUAL.COMPONENT;O.registerVisual(C,{createOnAllSeries:!0,reset:function(p,h){var o=[];return h.eachComponent("visualMap",function(r){var s=p.pipelineContext;if(!r.isTargetSeries(p)||s&&s.large)return;o.push(I.incrementalApplyVisual(r.stateList,r.targetVisuals,_.bind(r.getValueState,r),r.getDataDimension(p.getData())))}),o}}),O.registerVisual(C,{createOnAllSeries:!0,reset:function(p,h){var o=p.getData(),r=[];h.eachComponent("visualMap",function(s){if(s.isTargetSeries(p)){var l=s.getVisualMeta(_.bind(t,null,p,s))||{stops:[],outerColors:[]},n=s.getDataDimension(o),c=o.getDimensionInfo(n);c!=null&&(l.dimension=c.index,r.push(l))}}),p.getData().setVisual("visualMeta",r)}});function t(p,h,o,r){for(var s=h.targetVisuals[r],l=E.prepareVisualTypes(s),n={color:p.getData().getVisual("color")},c=0,e=l.length;c<e;c++){var a=l[c],i=s[a==="opacity"?"__alphaForOpacity":a];i&&i.applyVisual(o,u,f)}return n.color;function u(m){return n[m]}function f(m,A){n[m]=A}}},"r+aA":function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("s2MQ")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="EyeInvisibleOutlined";var h=E.forwardRef(p);z.default=h},"r/2G":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("+Zaj"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},r6Bn:function(ue,z,d){var O=d("bYtY"),_=d("ItGF"),I=d("4fz+"),E=d("BPZU");function C(h,o){return h.zlevel===o.zlevel?h.z===o.z?h.z2-o.z2:h.z-o.z:h.zlevel-o.zlevel}var t=function(){this._roots=[],this._displayList=[],this._displayListLen=0};t.prototype={constructor:t,traverse:function(o,r){for(var s=0;s<this._roots.length;s++)this._roots[s].traverse(o,r)},getDisplayList:function(o,r){return r=r||!1,o&&this.updateDisplayList(r),this._displayList},updateDisplayList:function(o){this._displayListLen=0;for(var r=this._roots,s=this._displayList,l=0,n=r.length;l<n;l++)this._updateAndAddDisplayable(r[l],null,o);s.length=this._displayListLen,_.canvasSupported&&E(s,C)},_updateAndAddDisplayable:function(o,r,s){if(o.ignore&&!s)return;o.beforeUpdate(),o.__dirty&&o.update(),o.afterUpdate();var l=o.clipPath;if(l){r?r=r.slice():r=[];for(var n=l,c=o;n;)n.parent=c,n.updateTransform(),r.push(n),c=n,n=n.clipPath}if(o.isGroup){for(var e=o._children,a=0;a<e.length;a++){var i=e[a];o.__dirty&&(i.__dirty=!0),this._updateAndAddDisplayable(i,r,s)}o.__dirty=!1}else o.__clipPaths=r,this._displayList[this._displayListLen++]=o},addRoot:function(o){if(o.__storage===this)return;o instanceof I&&o.addChildrenToStorage(this),this.addToStorage(o),this._roots.push(o)},delRoot:function(o){if(o==null){for(var r=0;r<this._roots.length;r++){var s=this._roots[r];s instanceof I&&s.delChildrenFromStorage(this)}this._roots=[],this._displayList=[],this._displayListLen=0;return}if(o instanceof Array){for(var r=0,l=o.length;r<l;r++)this.delRoot(o[r]);return}var n=O.indexOf(this._roots,o);n>=0&&(this.delFromStorage(o),this._roots.splice(n,1),o instanceof I&&o.delChildrenFromStorage(this))},addToStorage:function(o){return o&&(o.__storage=this,o.dirty(!1)),this},delFromStorage:function(o){return o&&(o.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:C};var p=t;ue.exports=p},rA99:function(ue,z,d){var O=d("y+Vt"),_=d("QBsz"),I=d("Sj9i"),E=I.quadraticSubdivide,C=I.cubicSubdivide,t=I.quadraticAt,p=I.cubicAt,h=I.quadraticDerivativeAt,o=I.cubicDerivativeAt,r=[];function s(n,c,e){var a=n.cpx2,i=n.cpy2;return a===null||i===null?[(e?o:p)(n.x1,n.cpx1,n.cpx2,n.x2,c),(e?o:p)(n.y1,n.cpy1,n.cpy2,n.y2,c)]:[(e?h:t)(n.x1,n.cpx1,n.x2,c),(e?h:t)(n.y1,n.cpy1,n.y2,c)]}var l=O.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(c,e){var a=e.x1,i=e.y1,u=e.x2,f=e.y2,m=e.cpx1,A=e.cpy1,g=e.cpx2,v=e.cpy2,b=e.percent;if(b===0)return;c.moveTo(a,i),g==null||v==null?(b<1&&(E(a,m,u,b,r),m=r[1],u=r[2],E(i,A,f,b,r),A=r[1],f=r[2]),c.quadraticCurveTo(m,A,u,f)):(b<1&&(C(a,m,g,u,b,r),m=r[1],g=r[2],u=r[3],C(i,A,v,f,b,r),A=r[1],v=r[2],f=r[3]),c.bezierCurveTo(m,A,g,v,u,f))},pointAt:function(c){return s(this.shape,c,!1)},tangentAt:function(c){var e=s(this.shape,c,!0);return _.normalize(e,e)}});ue.exports=l},"rAM+":function(ue,z,d){"use strict";d.d(z,"a",function(){return _});var O=d("Qw5x");function _(I,E){var C;if(typeof Symbol=="undefined"||I[Symbol.iterator]==null){if(Array.isArray(I)||(C=Object(O.a)(I))||E&&I&&typeof I.length=="number"){C&&(I=C);var t=0,p=function(){};return{s:p,n:function(){return t>=I.length?{done:!0}:{done:!1,value:I[t++]}},e:function(l){throw l},f:p}}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 h=!0,o=!1,r;return{s:function(){C=I[Symbol.iterator]()},n:function(){var l=C.next();return h=l.done,l},e:function(l){o=!0,r=l},f:function(){try{!h&&C.return!=null&&C.return()}finally{if(o)throw r}}}}},rHrb:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.CopyToClipboard=void 0;var O=I(d("q1tI")),_=I(d("+QRC"));function I(f){return f&&f.__esModule?f:{default:f}}function E(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?E=function(A){return typeof A}:E=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},E(f)}function C(f,m){var A=Object.keys(f);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(f);m&&(g=g.filter(function(v){return Object.getOwnPropertyDescriptor(f,v).enumerable})),A.push.apply(A,g)}return A}function t(f){for(var m=1;m<arguments.length;m++){var A=arguments[m]!=null?arguments[m]:{};m%2?C(A,!0).forEach(function(g){i(f,g,A[g])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(A)):C(A).forEach(function(g){Object.defineProperty(f,g,Object.getOwnPropertyDescriptor(A,g))})}return f}function p(f,m){if(f==null)return{};var A=h(f,m),g,v;if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);for(v=0;v<b.length;v++){if(g=b[v],m.indexOf(g)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(f,g))continue;A[g]=f[g]}}return A}function h(f,m){if(f==null)return{};var A={},g=Object.keys(f),v,b;for(b=0;b<g.length;b++){if(v=g[b],m.indexOf(v)>=0)continue;A[v]=f[v]}return A}function o(f,m){if(!(f instanceof m))throw new TypeError("Cannot call a class as a function")}function r(f,m){for(var A=0;A<m.length;A++){var g=m[A];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}function s(f,m,A){return m&&r(f.prototype,m),A&&r(f,A),f}function l(f,m){return m&&(E(m)==="object"||typeof m=="function")?m:c(f)}function n(f){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},n(f)}function c(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function e(f,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(m&&m.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),m&&a(f,m)}function a(f,m){return a=Object.setPrototypeOf||function(g,v){return g.__proto__=v,g},a(f,m)}function i(f,m,A){return m in f?Object.defineProperty(f,m,{value:A,enumerable:!0,configurable:!0,writable:!0}):f[m]=A,f}var u=function(f){e(m,f);function m(){var A,g;o(this,m);for(var v=arguments.length,b=new Array(v),S=0;S<v;S++)b[S]=arguments[S];return g=l(this,(A=n(m)).call.apply(A,[this].concat(b))),i(c(g),"onClick",function(y){var w=g.props,x=w.text,T=w.onCopy,L=w.children,R=w.options,P=O.default.Children.only(L),k=(0,_.default)(x,R);T&&T(x,k),P&&P.props&&typeof P.props.onClick=="function"&&P.props.onClick(y)}),g}return s(m,[{key:"render",value:function(){var g=this.props,v=g.text,b=g.onCopy,S=g.options,y=g.children,w=p(g,["text","onCopy","options","children"]),x=O.default.Children.only(y);return O.default.cloneElement(x,t({},w,{onClick:this.onClick}))}}]),m}(O.default.PureComponent);z.CopyToClipboard=u,i(u,"defaultProps",{onCopy:void 0,options:void 0})},rLCj:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="ReloadOutlined";var p=z.a=_.forwardRef(t)},rUJ1:function(ue,z){var d=/[&<>"']/,O=/[&<>"']/g,_=/[<>"']|&(?!#?\w+;)/,I=/[<>"']|&(?!#?\w+;)/g,E={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},C=function(y){return E[y]};function t(S,y){if(y){if(d.test(S))return S.replace(O,C)}else if(_.test(S))return S.replace(I,C);return S}var p=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(S){return S.replace(p,function(y,w){return w=w.toLowerCase(),w==="colon"?":":w.charAt(0)==="#"?w.charAt(1)==="x"?String.fromCharCode(parseInt(w.substring(2),16)):String.fromCharCode(+w.substring(1)):""})}var o=/(^|[^\[])\^/g;function r(S,y){S=S.source||S,y=y||"";var w={replace:function(T,L){return L=L.source||L,L=L.replace(o,"$1"),S=S.replace(T,L),w},getRegex:function(){return new RegExp(S,y)}};return w}var s=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function n(S,y,w){if(S){var x;try{x=decodeURIComponent(h(w)).replace(s,"").toLowerCase()}catch(T){return null}if(x.indexOf("javascript:")===0||x.indexOf("vbscript:")===0||x.indexOf("data:")===0)return null}y&&!l.test(w)&&(w=u(y,w));try{w=encodeURI(w).replace(/%25/g,"%")}catch(T){return null}return w}var c={},e=/^[^:]+:\/*[^/]*$/,a=/^([^:]+:)[\s\S]*$/,i=/^([^:]+:\/*[^/]*)[\s\S]*$/;function u(S,y){c[" "+S]||(e.test(S)?c[" "+S]=S+"/":c[" "+S]=g(S,"/",!0)),S=c[" "+S];var w=S.indexOf(":")===-1;return y.substring(0,2)==="//"?w?y:S.replace(a,"$1")+y:y.charAt(0)==="/"?w?y:S.replace(i,"$1")+y:S+y}var f={exec:function(){}};function m(S){for(var y=1,w,x;y<arguments.length;y++){w=arguments[y];for(x in w)Object.prototype.hasOwnProperty.call(w,x)&&(S[x]=w[x])}return S}function A(S,y){var w=S.replace(/\|/g,function(L,R,P){for(var k=!1,U=R;--U>=0&&P[U]==="\\";)k=!k;return k?"|":" |"}),x=w.split(/ \|/),T=0;if(x.length>y)x.splice(y);else for(;x.length<y;)x.push("");for(;T<x.length;T++)x[T]=x[T].trim().replace(/\\\|/g,"|");return x}function g(S,y,w){var x=S.length;if(x===0)return"";for(var T=0;T<x;){var L=S.charAt(x-T-1);if(L===y&&!w)T++;else if(L!==y&&w)T++;else break}return S.substr(0,x-T)}function v(S,y){if(S.indexOf(y[1])===-1)return-1;for(var w=S.length,x=0,T=0;T<w;T++)if(S[T]==="\\")T++;else if(S[T]===y[0])x++;else if(S[T]===y[1]&&(x--,x<0))return T;return-1}function b(S){S&&S.sanitize&&!S.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")}ue.exports={escape:t,unescape:h,edit:r,cleanUrl:n,resolveUrl:u,noopTest:f,merge:m,splitCells:A,rtrim:g,findClosingBracket:v,checkSanitizeDeprecation:b}},rdUC:function(ue,z,d){var O=d("MFOe"),_=O.Global;ue.exports={name:"localStorage",read:E,write:C,each:t,remove:p,clearAll:h};function I(){return _.localStorage}function E(o){return I().getItem(o)}function C(o,r){return I().setItem(o,r)}function t(o){for(var r=I().length-1;r>=0;r--){var s=I().key(r);o(E(s),s)}}function p(o){return I().removeItem(o)}function h(){return I().clear()}},rdor:function(ue,z,d){var O=d("lOQZ"),_=O.circularLayout;function I(E){E.eachSeriesByType("graph",function(C){C.get("layout")==="circular"&&_(C,"symbolSize")})}ue.exports=I},rfSb:function(ue,z,d){var O=d("T4UG"),_=d("sdST"),I=d("L0Ub"),E=I.getDimensionTypeByAxis,C=d("YXkt"),t=d("bYtY"),p=d("4NO4"),h=p.groupData,o=d("7aKB"),r=o.encodeHTML,s=d("xKMd"),l=2,n=O.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(e){n.superApply(this,"init",arguments),this.legendVisualProvider=new s(t.bind(this.getData,this),t.bind(this.getRawData,this))},fixData:function(e){var a=e.length,i=h(e,function(P){return P[2]}),u=[];i.buckets.each(function(P,k){u.push({name:k,dataList:P})});for(var f=u.length,m=-1,A=-1,g=0;g<f;++g){var v=u[g].dataList.length;v>m&&(m=v,A=g)}for(var b=0;b<f;++b){if(b===A)continue;for(var S=u[b].name,y=0;y<m;++y){for(var w=u[A].dataList[y][0],x=u[b].dataList.length,T=-1,L=0;L<x;++L){var R=u[b].dataList[L][0];if(R===w){T=L;break}}T===-1&&(e[a]=[],e[a][0]=w,e[a][1]=0,e[a][2]=S,a++)}}return e},getInitialData:function(e,a){for(var i=a.queryComponents({mainType:"singleAxis",index:this.get("singleAxisIndex"),id:this.get("singleAxisId")})[0],u=i.get("type"),f=t.filter(e.data,function(w){return w[2]!==void 0}),m=this.fixData(f||[]),A=[],g=this.nameMap=t.createHashMap(),v=0,b=0;b<m.length;++b)A.push(m[b][l]),g.get(m[b][l])||(g.set(m[b][l],v),v++);var S=_(m,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:E(u)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}),y=new C(S,this);return y.initData(m),y},getLayerSeries:function(){for(var e=this.getData(),a=e.count(),i=[],u=0;u<a;++u)i[u]=u;var f=e.mapDimension("single"),m=h(i,function(g){return e.get("name",g)}),A=[];return m.buckets.each(function(g,v){g.sort(function(b,S){return e.get(f,b)-e.get(f,S)}),A.push({name:v,indices:g})}),A},getAxisTooltipData:function(e,a,i){t.isArray(e)||(e=e?[e]:[]);for(var u=this.getData(),f=this.getLayerSeries(),m=[],A=f.length,g,v=0;v<A;++v){for(var b=Number.MAX_VALUE,S=-1,y=f[v].indices.length,w=0;w<y;++w){var x=u.get(e[0],f[v].indices[w]),T=Math.abs(x-a);T<=b&&(g=x,b=T,S=f[v].indices[w])}m.push(S)}return{dataIndices:m,nestestValue:g}},formatTooltip:function(e){var a=this.getData(),i=a.getName(e),u=a.get(a.mapDimension("value"),e);return(isNaN(u)||u==null)&&(u="-"),r(i+" : "+u)},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}}}}),c=n;ue.exports=c},rkZ5:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("ProS"),E=d("c8qY"),C=d("D9ME"),t=d("fls0"),p=d("RSch"),h=d("akwb"),o=d("o40c"),r=d("ZYIC"),s=d("sK/D"),l=s.createClipPath,n=I.extendChartView({type:"lines",init:function(){},render:function(c,e,a){var i=c.getData(),u=this._updateLineDraw(i,c),f=c.get("zlevel"),m=c.get("effect.trailLength"),A=a.getZr(),g=A.painter.getType()==="svg";g||A.painter.getLayer(f).clear(!0),this._lastZlevel!=null&&!g&&A.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(c)&&m&&(g||A.configLayer(f,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(m/10+.9,1),0)})),u.updateData(i);var v=c.get("clip",!0)&&l(c.coordinateSystem,!1,c);v?this.group.setClipPath(v):this.group.removeClipPath(),this._lastZlevel=f,this._finished=!0},incrementalPrepareRender:function(c,e,a){var i=c.getData(),u=this._updateLineDraw(i,c);u.incrementalPrepareUpdate(i),this._clearLayer(a),this._finished=!1},incrementalRender:function(c,e,a){this._lineDraw.incrementalUpdate(c,e.getData()),this._finished=c.end===e.getData().count()},updateTransform:function(c,e,a){var i=c.getData(),u=c.pipelineContext;if(!this._finished||u.large||u.progressiveRender)return{update:!0};var f=r.reset(c);f.progress&&f.progress({start:0,end:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(a)},_updateLineDraw:function(c,e){var a=this._lineDraw,i=this._showEffect(e),u=!!e.get("polyline"),f=e.pipelineContext,m=f.large;return(!a||i!==this._hasEffet||u!==this._isPolyline||m!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=m?new o:new E(u?i?h:p:i?C:t),this._hasEffet=i,this._isPolyline=u,this._isLargeDraw=m,this.group.removeAll()),this.group.add(a.group),a},_showEffect:function(c){return!!c.get("effect.show")},_clearLayer:function(c){var e=c.getZr(),a=e.painter.getType()==="svg";!a&&this._lastZlevel!=null&&e.painter.getLayer(this._lastZlevel).clear(!0)},remove:function(c,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},dispose:function(){}});ue.exports=n},rmlV:function(ue,z,d){var O=d("y+Vt"),_=O.extend({type:"ellipse",shape:{cx:0,cy:0,rx:0,ry:0},buildPath:function(E,C){var t=.5522848,p=C.cx,h=C.cy,o=C.rx,r=C.ry,s=o*t,l=r*t;E.moveTo(p-o,h),E.bezierCurveTo(p-o,h-l,p-s,h-r,p,h-r),E.bezierCurveTo(p+s,h-r,p+o,h-l,p+o,h),E.bezierCurveTo(p+o,h+l,p+s,h+r,p,h+r),E.bezierCurveTo(p-s,h+r,p-o,h+l,p-o,h),E.closePath()}});ue.exports=_},rnVJ:function(ue,z,d){var O=d("bYtY"),_=["rect","polygon","keep","clear"];function I(C,t){var p=C&&C.brush;if(O.isArray(p)||(p=p?[p]:[]),!p.length)return;var h=[];O.each(p,function(n){var c=n.hasOwnProperty("toolbox")?n.toolbox:[];c instanceof Array&&(h=h.concat(c))});var o=C&&C.toolbox;O.isArray(o)&&(o=o[0]),o||(o={feature:{}},C.toolbox=[o]);var r=o.feature||(o.feature={}),s=r.brush||(r.brush={}),l=s.type||(s.type=[]);l.push.apply(l,h),E(l),t&&!l.length&&l.push.apply(l,_)}function E(C){var t={};O.each(C,function(p){t[p]=1}),C.length=0,O.each(t,function(p,h){C.push(h)})}ue.exports=I},rwxt:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=d("GdRQ");function _(p,h){if(!(p instanceof h))throw new TypeError("Cannot call a class as a function")}function I(p,h){for(var o=0;o<h.length;o++){var r=h[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(p,r.key,r)}}function E(p,h,o){return h&&I(p.prototype,h),o&&I(p,o),p}var C=!O.supportsCursorURIs||O.isTouchDevice,t=function(){function p(){_(this,p),this._target=null,this._canvas=document.createElement("canvas"),C&&(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 E(p,[{key:"attach",value:function(o){if(this._target&&this.detach(),this._target=o,C){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(C){var o={capture:!0,passive:!0};this._target.removeEventListener("mouseover",this._eventHandlers.mouseover,o),this._target.removeEventListener("mouseleave",this._eventHandlers.mouseleave,o),this._target.removeEventListener("mousemove",this._eventHandlers.mousemove,o),this._target.removeEventListener("mouseup",this._eventHandlers.mouseup,o),document.body.removeChild(this._canvas)}this._target=null}},{key:"change",value:function(o,r,s,l,n){if(l===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-s,this._hotSpot.x=r,this._hotSpot.y=s;var c=this._canvas.getContext("2d");this._canvas.width=l,this._canvas.height=n;var e;try{e=new ImageData(new Uint8ClampedArray(o),l,n)}catch(i){e=c.createImageData(l,n),e.data.set(new Uint8ClampedArray(o))}if(c.clearRect(0,0,l,n),c.putImageData(e,0,0),C)this._updatePosition();else{var a=this._canvas.toDataURL();this._target.style.cursor="url("+a+")"+r+" "+s+", 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(o,r){if(!C)return;window.visualViewport?(this._position.x=o+window.visualViewport.offsetLeft,this._position.y=r+window.visualViewport.offsetTop):(this._position.x=o,this._position.y=r),this._updatePosition();var s=document.elementFromPoint(o,r);this._updateVisibility(s)}},{key:"_handleMouseOver",value:function(o){this._handleMouseMove(o)}},{key:"_handleMouseLeave",value:function(o){this._updateVisibility(o.relatedTarget)}},{key:"_handleMouseMove",value:function(o){this._updateVisibility(o.target),this._position.x=o.clientX-this._hotSpot.x,this._position.y=o.clientY-this._hotSpot.y,this._updatePosition()}},{key:"_handleMouseUp",value:function(o){var r=this,s=document.elementFromPoint(o.clientX,o.clientY);this._updateVisibility(s),this._captureIsActive()&&window.setTimeout(function(){if(!r._target)return;s=document.elementFromPoint(o.clientX,o.clientY),r._updateVisibility(s)},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(o){return o?o===this._target?!0:this._target.contains(o)?!(window.getComputedStyle(o).cursor!=="none"):!1:!1}},{key:"_updateVisibility",value:function(o){this._captureIsActive()&&(o=document.captureElement),this._shouldShowCursor(o)?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)}}]),p}();z.default=t},rySg:function(ue,z,d){d("SMc4"),d("8nMs")},s2MQ:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},s2lz:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("IwbS"),E=d("gPAo"),C=d("VaxA"),t=d("9hCq"),p=d("SgGq"),h=d("mFDi"),o=d("Fofx"),r=d("5s0K"),s=d("KCsZ"),l=d("7aKB"),n=l.windowOpen,c=_.bind,e=I.Group,a=I.Rect,i=_.each,u=3,f=["label"],m=["emphasis","label"],A=["upperLabel"],g=["emphasis","upperLabel"],v=10,b=1,S=2,y=s([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),w=function(P){var k=y(P);return k.stroke=k.fill=k.lineWidth=null,k},x=O.extendChartView({type:"treemap",init:function(P,k){this._containerGroup,this._storage=T(),this._oldTree,this._breadcrumb,this._controller,this._state="ready"},render:function(P,k,U,D){var M=k.findComponents({mainType:"series",subType:"treemap",query:D});if(_.indexOf(M,P)<0)return;this.seriesModel=P,this.api=U,this.ecModel=k;var B=["treemapZoomToNode","treemapRootToNode"],j=C.retrieveTargetInfo(D,B,P),H=D&&D.type,K=P.layoutInfo,W=!this._oldTree,X=this._storage,V=H==="treemapRootToNode"&&j&&X?{rootNodeGroup:X.nodeGroup[j.node.getRawIndex()],direction:D.direction}:null,Z=this._giveContainerGroup(K),G=this._doRender(Z,P,V);!W&&(!H||H==="treemapZoomToNode"||H==="treemapRootToNode")?this._doAnimation(Z,G,P,V):G.renderFinally(),this._resetController(U),this._renderBreadcrumb(P,U,j)},_giveContainerGroup:function(P){var k=this._containerGroup;return k||(k=this._containerGroup=new e,this._initEvents(k),this.group.add(k)),k.attr("position",[P.x,P.y]),k},_doRender:function(P,k,U){var D=k.getData().tree,M=this._oldTree,B=T(),j=T(),H=this._storage,K=[],W=_.curry(L,k,j,H,U,B,K);V(D.root?[D.root]:[],M&&M.root?[M.root]:[],P,D===M||!M,0);var X=Z(H);return this._oldTree=D,this._storage=j,{lastsForAnimation:B,willDeleteEls:X,renderFinally:G};function V(Y,te,se,Ce,he){Ce?(te=Y,i(Y,function(ee,Ze){!ee.isRemoved()&&ie(Ze,Ze)})):new E(te,Y,xe,xe).add(ie).update(ie).remove(_.curry(ie,null)).execute();function xe(ee){return ee.getId()}function ie(ee,Ze){var Se=ee!=null?Y[ee]:null,Ne=Ze!=null?te[Ze]:null,it=W(Se,Ne,se,he);it&&V(Se&&Se.viewChildren||[],Ne&&Ne.viewChildren||[],it,Ce,he+1)}}function Z(Y){var te=T();return Y&&i(Y,function(se,Ce){var he=te[Ce];i(se,function(xe){xe&&(he.push(xe),xe.__tmWillDelete=1)})}),te}function G(){i(X,function(Y){i(Y,function(te){te.parent&&te.parent.remove(te)})}),i(K,function(Y){Y.invisible=!0,Y.dirty()})}},_doAnimation:function(P,k,U,D){if(!U.get("animation"))return;var M=U.get("animationDurationUpdate"),B=U.get("animationEasing"),j=r.createWrap();i(k.willDeleteEls,function(H,K){i(H,function(W,X){if(W.invisible)return;var V=W.parent,Z;if(D&&D.direction==="drillDown")Z=V===D.rootNodeGroup?{shape:{x:0,y:0,width:V.__tmNodeWidth,height:V.__tmNodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var G=0,Y=0;V.__tmWillDelete||(G=V.__tmNodeWidth/2,Y=V.__tmNodeHeight/2),Z=K==="nodeGroup"?{position:[G,Y],style:{opacity:0}}:{shape:{x:G,y:Y,width:0,height:0},style:{opacity:0}}}Z&&j.add(W,Z,M,B)})}),i(this._storage,function(H,K){i(H,function(W,X){var V=k.lastsForAnimation[K][X],Z={};if(!V)return;K==="nodeGroup"?V.old&&(Z.position=W.position.slice(),W.attr("position",V.old)):(V.old&&(Z.shape=_.extend({},W.shape),W.setShape(V.old)),V.fadein?(W.setStyle("opacity",0),Z.style={opacity:1}):W.style.opacity!==1&&(Z.style={opacity:1})),j.add(W,Z,M,B)})},this),this._state="animating",j.done(c(function(){this._state="ready",k.renderFinally()},this)).start()},_resetController:function(P){var k=this._controller;k||(k=this._controller=new p(P.getZr()),k.enable(this.seriesModel.get("roam")),k.on("pan",c(this._onPan,this)),k.on("zoom",c(this._onZoom,this)));var U=new h(0,0,P.getWidth(),P.getHeight());k.setPointerChecker(function(D,M,B){return U.contain(M,B)})},_clearController:function(){var P=this._controller;P&&(P.dispose(),P=null)},_onPan:function(P){if(this._state!=="animating"&&(Math.abs(P.dx)>u||Math.abs(P.dy)>u)){var k=this.seriesModel.getData().tree.root;if(!k)return;var U=k.getLayout();if(!U)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:U.x+P.dx,y:U.y+P.dy,width:U.width,height:U.height}})}},_onZoom:function(P){var k=P.originX,U=P.originY;if(this._state!=="animating"){var D=this.seriesModel.getData().tree.root;if(!D)return;var M=D.getLayout();if(!M)return;var B=new h(M.x,M.y,M.width,M.height),j=this.seriesModel.layoutInfo;k-=j.x,U-=j.y;var H=o.create();o.translate(H,H,[-k,-U]),o.scale(H,H,[P.scale,P.scale]),o.translate(H,H,[k,U]),B.applyTransform(H),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:B.x,y:B.y,width:B.width,height:B.height}})}},_initEvents:function(P){P.on("click",function(k){if(this._state!=="ready")return;var U=this.seriesModel.get("nodeClick",!0);if(!U)return;var D=this.findTarget(k.offsetX,k.offsetY);if(!D)return;var M=D.node;if(M.getLayout().isLeafRoot)this._rootToNode(D);else if(U==="zoomToNode")this._zoomToNode(D);else if(U==="link"){var B=M.hostTree.data.getItemModel(M.dataIndex),j=B.get("link",!0),H=B.get("target",!0)||"blank";j&&n(j,H)}},this)},_renderBreadcrumb:function(P,k,U){U||(U=P.get("leafDepth",!0)!=null?{node:P.getViewRoot()}:this.findTarget(k.getWidth()/2,k.getHeight()/2),U||(U={node:P.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new t(this.group))).render(P,k,U.node,c(D,this));function D(M){this._state!=="animating"&&(C.aboveViewRoot(P.getViewRoot(),M)?this._rootToNode({node:M}):this._zoomToNode({node:M}))}},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=T(),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,k){var U,D=this.seriesModel.getViewRoot();return D.eachNode({attr:"viewChildren",order:"preorder"},function(M){var B=this._storage.background[M.getRawIndex()];if(B){var j=B.transformCoordToLocal(P,k),H=B.shape;if(H.x<=j[0]&&j[0]<=H.x+H.width&&H.y<=j[1]&&j[1]<=H.y+H.height)U={node:M,offsetX:j[0],offsetY:j[1]};else return!1}},this),U}});function T(){return{nodeGroup:[],background:[],content:[]}}function L(P,k,U,D,M,B,j,H,K,W){if(!j)return;var X=j.getLayout(),V=P.getData();if(V.setItemGraphicEl(j.dataIndex,null),!X||!X.isInView)return;var Z=X.width,G=X.height,Y=X.borderWidth,te=X.invisible,se=j.getRawIndex(),Ce=H&&H.getRawIndex(),he=j.viewChildren,xe=X.upperHeight,ie=he&&he.length,ee=j.getModel("itemStyle"),Ze=j.getModel("emphasis.itemStyle"),Se=ae("nodeGroup",e);if(!Se)return;if(K.add(Se),Se.attr("position",[X.x||0,X.y||0]),Se.__tmNodeWidth=Z,Se.__tmNodeHeight=G,X.isAboveViewRoot)return Se;var Ne=j.getModel(),it=ae("background",a,W,b);if(it&&nt(Se,it,ie&&X.upperLabelHeight),ie)I.isHighDownDispatcher(Se)&&I.setAsHighDownDispatcher(Se,!1),it&&(I.setAsHighDownDispatcher(it,!0),V.setItemGraphicEl(j.dataIndex,it));else{var Ye=ae("content",a,W,S);Ye&&je(Se,Ye),it&&I.isHighDownDispatcher(it)&&I.setAsHighDownDispatcher(it,!1),I.setAsHighDownDispatcher(Se,!0),V.setItemGraphicEl(j.dataIndex,Se)}return Se;function nt(ze,Ke,Te){if(Ke.dataIndex=j.dataIndex,Ke.seriesIndex=P.seriesIndex,Ke.setShape({x:0,y:0,width:Z,height:G}),te)et(Ke);else{Ke.invisible=!1;var gt=j.getVisual("borderColor",!0),Ue=Ze.get("borderColor"),bt=w(ee);bt.fill=gt;var wt=y(Ze);if(wt.fill=Ue,Te){var Et=Z-2*Y;He(bt,wt,gt,Et,xe,{x:Y,y:0,width:Et,height:xe})}else bt.text=wt.text=null;Ke.setStyle(bt),I.setElementHoverStyle(Ke,wt)}ze.add(Ke)}function je(ze,Ke){Ke.dataIndex=j.dataIndex,Ke.seriesIndex=P.seriesIndex;var Te=Math.max(Z-2*Y,0),gt=Math.max(G-2*Y,0);if(Ke.culling=!0,Ke.setShape({x:Y,y:Y,width:Te,height:gt}),te)et(Ke);else{Ke.invisible=!1;var Ue=j.getVisual("color",!0),bt=w(ee);bt.fill=Ue;var wt=y(Ze);He(bt,wt,Ue,Te,gt),Ke.setStyle(bt),I.setElementHoverStyle(Ke,wt)}ze.add(Ke)}function et(ze){!ze.invisible&&B.push(ze)}function He(ze,Ke,Te,gt,Ue,bt){var wt=Ne.get("name"),Et=Ne.getModel(bt?A:f),xt=Ne.getModel(bt?g:m),Tt=Et.getShallow("show");I.setLabelStyle(ze,Ke,Et,xt,{defaultText:Tt?wt:null,autoColor:Te,isRectText:!0,labelFetcher:P,labelDataIndex:j.dataIndex,labelProp:bt?"upperLabel":"label"}),pe(ze,bt,X),pe(Ke,bt,X),bt&&(ze.textRect=_.clone(bt)),ze.truncate=Tt&&Et.get("ellipsis")?{outerWidth:gt,outerHeight:Ue,minChar:2}:null}function pe(ze,Ke,Te){var gt=ze.text;if(!Ke&&Te.isLeafRoot&&gt!=null){var Ue=P.get("drillDownIcon",!0);ze.text=Ue?Ue+" "+gt:gt}}function ae(ze,Ke,Te,gt){var Ue=Ce!=null&&U[ze][Ce],bt=M[ze];return Ue?(U[ze][Ce]=null,re(bt,Ue,ze)):te||(Ue=new Ke({z:R(Te,gt)}),Ue.__tmDepth=Te,Ue.__tmStorageName=ze,be(bt,Ue,ze)),k[ze][se]=Ue}function re(ze,Ke,Te){var gt=ze[se]={};gt.old=Te==="nodeGroup"?Ke.position.slice():_.extend({},Ke.shape)}function be(ze,Ke,Te){var gt=ze[se]={},Ue=j.parentNode;if(Ue&&(!D||D.direction==="drillDown")){var bt=0,wt=0,Et=M.background[Ue.getRawIndex()];!D&&Et&&Et.old&&(bt=Et.old.width,wt=Et.old.height),gt.old=Te==="nodeGroup"?[0,wt]:{x:bt,y:wt,width:0,height:0}}gt.fadein=Te!=="nodeGroup"}}function R(P,k){var U=P*v+k;return(U-1)/U}ue.exports=x},sAZ8:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("+rIm"),E=d("/IIm"),C=d("9KIM"),t=d("IwbS"),p=["axisLine","axisTickLabel","axisName"],h=O.extendComponentView({type:"parallelAxis",init:function(n,c){h.superApply(this,"init",arguments),(this._brushController=new E(c.getZr())).on("brush",_.bind(this._onBrush,this))},render:function(n,c,e,a){if(o(n,c,a))return;this.axisModel=n,this.api=e,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new t.Group,this.group.add(this._axisGroup),!n.get("show"))return;var u=s(n,c),f=u.coordinateSystem,m=n.getAreaSelectStyle(),A=m.width,g=n.axis.dim,v=f.getAxisLayout(g),b=_.extend({strokeContainThreshold:A},v),S=new I(n,b);_.each(p,S.add,S),this._axisGroup.add(S.getGroup()),this._refreshBrushController(b,m,n,u,A,e);var y=a&&a.animation===!1?null:n;t.groupTransition(i,this._axisGroup,y)},_refreshBrushController:function(n,c,e,a,i,u){var f=e.axis.getExtent(),m=f[1]-f[0],A=Math.min(30,Math.abs(m)*.1),g=t.BoundingRect.create({x:f[0],y:-i/2,width:m,height:i});g.x-=A,g.width+=2*A,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,position:n.position}).setPanels([{panelId:"pl",clipPath:C.makeRectPanelClipPath(g),isTargetByCursor:C.makeRectIsTargetByCursor(g,u,a),getLinearBrushOtherExtent:C.makeLinearBrushOtherExtent(g,0)}]).enableBrush({brushType:"lineX",brushStyle:c,removeOnClick:!0}).updateCovers(r(e))},_onBrush:function(n,c){var e=this.axisModel,a=e.axis,i=_.map(n,function(u){return[a.coordToData(u.range[0],!0),a.coordToData(u.range[1],!0)]});(!e.option.realtime===c.isEnd||c.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:e.id,intervals:i})},dispose:function(){this._brushController.dispose()}});function o(n,c,e){return e&&e.type==="axisAreaSelect"&&c.findComponents({mainType:"parallelAxis",query:e})[0]===n}function r(n){var c=n.axis;return _.map(n.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[c.dataToCoord(e[0],!0),c.dataToCoord(e[1],!0)]}})}function s(n,c){return c.getComponent("parallel",n.get("parallelIndex"))}var l=h;ue.exports=l},sE09:function(ue,z,d){},sGsY:function(ue,z,d){"use strict";var O=d("lSNA"),_=d.n(O),I=d("pVnL"),E=d.n(I),C=d("q1tI"),t=d("TSYQ"),p=d.n(t),h=d("H84U"),o=d("B6l+"),r=d.n(o),s=function(j){var H=j.value,K=j.formatter,W=j.precision,X=j.decimalSeparator,V=j.groupSeparator,Z=V===void 0?"":V,G=j.prefixCls,Y;if(typeof K=="function")Y=K(H);else{var te=String(H),se=te.match(/^(-?)(\d*)(\.(\d+))?$/);if(!se||te==="-")Y=te;else{var Ce=se[1],he=se[2]||"0",xe=se[4]||"";he=he.replace(/\B(?=(\d{3})+(?!\d))/g,Z),typeof W=="number"&&(xe=r()(xe,W,"0").slice(0,W)),xe&&(xe="".concat(X).concat(xe)),Y=[C.createElement("span",{key:"int",className:"".concat(G,"-content-value-int")},Ce,he),xe&&C.createElement("span",{key:"decimal",className:"".concat(G,"-content-value-decimal")},xe)]}}return C.createElement("span",{className:"".concat(G,"-content-value")},Y)},l=s,n=function(j){var H=j.prefixCls,K=j.className,W=j.style,X=j.valueStyle,V=j.value,Z=V===void 0?0:V,G=j.title,Y=j.valueRender,te=j.prefix,se=j.suffix,Ce=j.direction,he=j.onMouseEnter,xe=j.onMouseLeave,ie=C.createElement(l,E()({},j,{value:Z})),ee=p()(H,K,_()({},"".concat(H,"-rtl"),Ce==="rtl"));return C.createElement("div",{className:ee,style:W,onMouseEnter:he,onMouseLeave:xe},G&&C.createElement("div",{className:"".concat(H,"-title")},G),C.createElement("div",{style:X,className:"".concat(H,"-content")},te&&C.createElement("span",{className:"".concat(H,"-content-prefix")},te),Y?Y(ie):ie,se&&C.createElement("span",{className:"".concat(H,"-content-suffix")},se)))};n.defaultProps={decimalSeparator:".",groupSeparator:","};var c=Object(h.c)({prefixCls:"statistic"})(n),e=c,a=d("lwsE"),i=d.n(a),u=d("W8MJ"),f=d.n(u),m=d("7W2i"),A=d.n(m),g=d("LQ03"),v=d.n(g),b=d("J4zp"),S=d.n(b),y=d("QQZ/"),w=d.n(y),x=[["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 T(B,j){var H=B,K=/\[[^\]]*]/g,W=(j.match(K)||[]).map(function(G){return G.slice(1,-1)}),X=j.replace(K,"[]"),V=x.reduce(function(G,Y){var te=S()(Y,2),se=te[0],Ce=te[1];if(G.indexOf(se)!==-1){var he=Math.floor(H/Ce);return H-=he*Ce,G.replace(new RegExp("".concat(se,"+"),"g"),function(xe){var ie=xe.length;return w()(he.toString(),ie,"0")})}return G},X),Z=0;return V.replace(K,function(){var G=W[Z];return Z+=1,G})}function L(B,j){var H=j.format,K=H===void 0?"":H,W=new Date(B).getTime(),X=Date.now(),V=Math.max(W-X,0);return T(V,K)}var R=d("0n0R"),P=1e3/30;function k(B){return new Date(B).getTime()}var U=function(B){A()(H,B);var j=v()(H);function H(){var K;return i()(this,H),K=j.apply(this,arguments),K.syncTimer=function(){var W=K.props.value,X=k(W);X>=Date.now()?K.startTimer():K.stopTimer()},K.startTimer=function(){if(K.countdownId)return;K.countdownId=window.setInterval(function(){K.forceUpdate()},P)},K.stopTimer=function(){var W=K.props,X=W.onFinish,V=W.value;if(K.countdownId){clearInterval(K.countdownId),K.countdownId=void 0;var Z=k(V);X&&Z<Date.now()&&X()}},K.formatCountdown=function(W,X){var V=K.props.format;return L(W,E()(E()({},X),{format:V}))},K.valueRender=function(W){return Object(R.a)(W,{title:void 0})},K}return f()(H,[{key:"componentDidMount",value:function(){this.syncTimer()}},{key:"componentDidUpdate",value:function(){this.syncTimer()}},{key:"componentWillUnmount",value:function(){this.stopTimer()}},{key:"render",value:function(){return C.createElement(e,E()({valueRender:this.valueRender},this.props,{formatter:this.formatCountdown}))}}]),H}(C.Component);U.defaultProps={format:"HH:mm:ss"};var D=U;e.Countdown=D;var M=z.a=e},"sK/D":function(ue,z,d){var O=d("IwbS"),_=d("OELB"),I=_.round;function E(p,h,o){var r=p.getArea(),s=p.getBaseAxis().isHorizontal(),l=r.x,n=r.y,c=r.width,e=r.height,a=o.get("lineStyle.width")||2;l-=a/2,n-=a/2,c+=a,e+=a,l=Math.floor(l),c=Math.round(c);var i=new O.Rect({shape:{x:l,y:n,width:c,height:e}});return h&&(i.shape[s?"width":"height"]=0,O.initProps(i,{shape:{width:c,height:e}},o)),i}function C(p,h,o){var r=p.getArea(),s=new O.Sector({shape:{cx:I(p.cx,1),cy:I(p.cy,1),r0:I(r.r0,1),r:I(r.r,1),startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return h&&(s.shape.endAngle=r.startAngle,O.initProps(s,{shape:{endAngle:r.endAngle}},o)),s}function t(p,h,o){if(p){if(p.type==="polar")return C(p,h,o);if(p.type==="cartesian2d")return E(p,h,o)}else return null;return null}z.createGridClipPath=E,z.createPolarClipPath=C,z.createClipPath=t},sKgW:function(ue,z){var d=9007199254740991,O=Math.floor;function _(I,E){var C="";if(!I||E<1||E>d)return C;do E%2&&(C+=I),E=O(E/2),E&&(I+=I);while(E);return C}ue.exports=_},sPJy:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("AOa7"),E=d.n(I),C=d("lUTK"),t=d("qVdP")},sPtV:function(ue,z,d){"use strict";d.d(z,"a",function(){return E});var O=d("q1tI"),_=d.n(O),I=d("hkKa");function E(C){var t=O.useRef(C),p=Object(I.a)();return[function(){return t.current},function(h){t.current=h,p()}]}},sRBo:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("KCY9"),E=d.n(I)},sRwP:function(ue,z,d){d("jsU+"),d("2548"),d("Tp9H"),d("06DH"),d("dnwI"),d("fE02"),d("33Ds")},"sS/r":function(ue,z,d){var O=d("4fz+"),_=d("iRjW"),I=d("Yl7c"),E=function(){this.group=new O,this.uid=_.getUID("viewComponent")};E.prototype={constructor:E,init:function(p,h){},render:function(p,h,o,r){},dispose:function(){},filterForExposedEvent:null};var C=E.prototype;C.updateView=C.updateLayout=C.updateVisual=function(p,h,o,r){},I.enableClassExtend(E),I.enableClassManagement(E,{registerWhenExtend:!0});var t=E;ue.exports=t},"sW+o":function(ue,z,d){var O=d("SrGk"),_=d("bYtY"),I=d("SUKs"),E=d("Qe9p");function C(p,h){O.call(this,p,h,["linearGradient","radialGradient"],"__gradient_in_use__")}_.inherits(C,O),C.prototype.addWithoutUpdate=function(p,h){if(h&&h.style){var o=this;_.each(["fill","stroke"],function(r){if(h.style[r]&&(h.style[r].type==="linear"||h.style[r].type==="radial")){var s=h.style[r],l=o.getDefs(!0),n;s._dom?(n=s._dom,l.contains(s._dom)||o.addDom(n)):n=o.add(s),o.markUsed(h);var c=n.getAttribute("id");p.setAttribute(r,"url(#"+c+")")}})}},C.prototype.add=function(p){var h;if(p.type==="linear")h=this.createElement("linearGradient");else if(p.type==="radial")h=this.createElement("radialGradient");else return I("Illegal gradient type."),null;return p.id=p.id||this.nextId++,h.setAttribute("id","zr"+this._zrId+"-gradient-"+p.id),this.updateDom(p,h),this.addDom(h),h},C.prototype.update=function(p){var h=this;O.prototype.update.call(this,p,function(){var o=p.type,r=p._dom.tagName;o==="linear"&&r==="linearGradient"||o==="radial"&&r==="radialGradient"?h.updateDom(p,p._dom):(h.removeDom(p),h.add(p))})},C.prototype.updateDom=function(p,h){if(p.type==="linear")h.setAttribute("x1",p.x),h.setAttribute("y1",p.y),h.setAttribute("x2",p.x2),h.setAttribute("y2",p.y2);else if(p.type==="radial")h.setAttribute("cx",p.x),h.setAttribute("cy",p.y),h.setAttribute("r",p.r);else{I("Illegal gradient type.");return}p.global?h.setAttribute("gradientUnits","userSpaceOnUse"):h.setAttribute("gradientUnits","objectBoundingBox"),h.innerHTML="";for(var o=p.colorStops,r=0,s=o.length;r<s;++r){var l=this.createElement("stop");l.setAttribute("offset",o[r].offset*100+"%");var n=o[r].color;if(n.indexOf("rgba">-1)){var c=E.parse(n)[3],e=E.toHex(n);l.setAttribute("stop-color","#"+e),l.setAttribute("stop-opacity",c)}else l.setAttribute("stop-color",o[r].color);h.appendChild(l)}p._dom=h},C.prototype.markUsed=function(p){if(p.style){var h=p.style.fill;h&&h._dom&&O.prototype.markUsed.call(this,h._dom),h=p.style.stroke,h&&h._dom&&O.prototype.markUsed.call(this,h._dom)}};var t=C;ue.exports=t},sboe:function(ue,z,d){"use strict";d.d(z,"a",function(){return I});var O=d("q1tI"),_=d.n(O),I=O.createContext(null)},sdST:function(ue,z,d){var O=d("hi0g");function _(I,E){return E=E||{},O(E.coordDimensions||[],I,{dimsDef:E.dimensionsDefine||I.dimensionsDefine,encodeDef:E.encodeDefine||I.encodeDefine,dimCount:E.dimensionsCount,encodeDefaulter:E.encodeDefaulter,generateCoord:E.generateCoord,generateCoordCount:E.generateCoordCount})}ue.exports=_},sjKO:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=I;var O=30,_=12;function I(E,C){var t,p,h,o,r,s,l,n,c,e,a,i,u,f,m,A,g,v,b,S,y,w,x,T,L;t=E.state,p=E.next_in,T=E.input,h=p+(E.avail_in-5),o=E.next_out,L=E.output,r=o-(C-E.avail_out),s=o+(E.avail_out-257),l=t.dmax,n=t.wsize,c=t.whave,e=t.wnext,a=t.window,i=t.hold,u=t.bits,f=t.lencode,m=t.distcode,A=(1<<t.lenbits)-1,g=(1<<t.distbits)-1;e:do{u<15&&(i+=T[p++]<<u,u+=8,i+=T[p++]<<u,u+=8),v=f[i&A];t:for(;;){if(b=v>>>24,i>>>=b,u-=b,b=v>>>16&255,b===0)L[o++]=v&65535;else if(b&16){S=v&65535,b&=15,b&&(u<b&&(i+=T[p++]<<u,u+=8),S+=i&(1<<b)-1,i>>>=b,u-=b),u<15&&(i+=T[p++]<<u,u+=8,i+=T[p++]<<u,u+=8),v=m[i&g];r:for(;;){if(b=v>>>24,i>>>=b,u-=b,b=v>>>16&255,b&16){if(y=v&65535,b&=15,u<b&&(i+=T[p++]<<u,u+=8,u<b&&(i+=T[p++]<<u,u+=8)),y+=i&(1<<b)-1,y>l){E.msg="invalid distance too far back",t.mode=O;break e}if(i>>>=b,u-=b,b=o-r,y>b){if(b=y-b,b>c&&t.sane){E.msg="invalid distance too far back",t.mode=O;break e}if(w=0,x=a,e===0){if(w+=n-b,b<S){S-=b;do L[o++]=a[w++];while(--b);w=o-y,x=L}}else if(e<b){if(w+=n+e-b,b-=e,b<S){S-=b;do L[o++]=a[w++];while(--b);if(w=0,e<S){b=e,S-=b;do L[o++]=a[w++];while(--b);w=o-y,x=L}}}else if(w+=e-b,b<S){S-=b;do L[o++]=a[w++];while(--b);w=o-y,x=L}for(;S>2;)L[o++]=x[w++],L[o++]=x[w++],L[o++]=x[w++],S-=3;S&&(L[o++]=x[w++],S>1&&(L[o++]=x[w++]))}else{w=o-y;do L[o++]=L[w++],L[o++]=L[w++],L[o++]=L[w++],S-=3;while(S>2);S&&(L[o++]=L[w++],S>1&&(L[o++]=L[w++]))}}else if((b&64)===0){v=m[(v&65535)+(i&(1<<b)-1)];continue r}else{E.msg="invalid distance code",t.mode=O;break e}break}}else if((b&64)===0){v=f[(v&65535)+(i&(1<<b)-1)];continue t}else if(b&32){t.mode=_;break e}else{E.msg="invalid literal/length code",t.mode=O;break e}break}}while(p<h&&o<s);S=u>>3,p-=S,u-=S<<3,i&=(1<<u)-1,E.next_in=p,E.next_out=o,E.avail_in=p<h?5+(h-p):5-(p-h),E.avail_out=o<s?257+(s-o):257-(o-s),t.hold=i,t.bits=u;return}},szbU:function(ue,z,d){var O=d("bYtY"),_=O.each;function I(C){var t=C&&C.visualMap;O.isArray(t)||(t=t?[t]:[]),_(t,function(p){if(!p)return;E(p,"splitList")&&!E(p,"pieces")&&(p.pieces=p.splitList,delete p.splitList);var h=p.pieces;h&&O.isArray(h)&&_(h,function(o){O.isObject(o)&&(E(o,"start")&&!E(o,"min")&&(o.min=o.start),E(o,"end")&&!E(o,"max")&&(o.max=o.end))})})}function E(C,t){return C&&C.hasOwnProperty&&C.hasOwnProperty(t)}ue.exports=I},t23M:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("1OyB"),I=d("vuIU"),E=d("Ji7U"),C=d("LK+K"),t=d("q1tI"),p=d.n(t),h=d("m+aA"),o=d("Zm9Q"),r=d("Kwbf"),s=d("c+Xe"),l=d("bdgK"),n="rc-observer-key",c=function(e){Object(E.a)(i,e);var a=Object(C.a)(i);function i(){var u;return Object(_.a)(this,i),u=a.apply(this,arguments),u.resizeObserver=null,u.childNode=null,u.currentElement=null,u.state={width:0,height:0,offsetHeight:0,offsetWidth:0},u.onResize=function(f){var m=u.props.onResize,A=f[0].target,g=A.getBoundingClientRect(),v=g.width,b=g.height,S=A.offsetWidth,y=A.offsetHeight,w=Math.floor(v),x=Math.floor(b);if(u.state.width!==w||u.state.height!==x||u.state.offsetWidth!==S||u.state.offsetHeight!==y){var T={width:w,height:x,offsetWidth:S,offsetHeight:y};u.setState(T),m&&Promise.resolve().then(function(){m(Object(O.a)(Object(O.a)({},T),{},{offsetWidth:S,offsetHeight:y}))})}},u.setChildNode=function(f){u.childNode=f},u}return Object(I.a)(i,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var f=this.props.disabled;if(f){this.destroyObserver();return}var m=Object(h.a)(this.childNode||this),A=m!==this.currentElement;A&&(this.destroyObserver(),this.currentElement=m),!this.resizeObserver&&m&&(this.resizeObserver=new l.default(this.onResize),this.resizeObserver.observe(m))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var f=this.props.children,m=Object(o.a)(f);if(m.length>1)Object(r.a)(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(m.length===0)return Object(r.a)(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var A=m[0];if(t.isValidElement(A)&&Object(s.c)(A)){var g=A.ref;m[0]=t.cloneElement(A,{ref:Object(s.a)(g,this.setChildNode)})}return m.length===1?m[0]:m.map(function(v,b){return!t.isValidElement(v)||"key"in v&&v.key!==null?v:t.cloneElement(v,{key:"".concat(n,"-").concat(b)})})}}]),i}(t.Component);c.displayName="ResizeObserver",z.a=c},t3Fx:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=Object.assign||function(a){for(var i=1;i<arguments.length;i++){var u=arguments[i];for(var f in u)Object.prototype.hasOwnProperty.call(u,f)&&(a[f]=u[f])}return a},_=function(){function a(i,u){for(var f=0;f<u.length;f++){var m=u[f];m.enumerable=m.enumerable||!1,m.configurable=!0,"value"in m&&(m.writable=!0),Object.defineProperty(i,m.key,m)}}return function(i,u,f){return u&&a(i.prototype,u),f&&a(i,f),i}}(),I=d("q1tI"),E=s(I),C=d("17x9"),t=s(C),p=d("tkwv"),h=s(p),o=d("u3os"),r=d("kzFp");function s(a){return a&&a.__esModule?a:{default:a}}function l(a,i){if(!(a instanceof i))throw new TypeError("Cannot call a class as a function")}function n(a,i){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i&&(typeof i=="object"||typeof i=="function")?i:a}function c(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof i);a.prototype=Object.create(i&&i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),i&&(Object.setPrototypeOf?Object.setPrototypeOf(a,i):a.__proto__=i)}var e=function(a){c(i,a);function i(u){l(this,i);var f=n(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,u));return f.getEchartsInstance=function(){return f.echartsLib.getInstanceByDom(f.echartsElement)||f.echartsLib.init(f.echartsElement,f.props.theme,f.props.opts)},f.dispose=function(){if(f.echartsElement){try{(0,o.clear)(f.echartsElement)}catch(m){console.warn(m)}f.echartsLib.dispose(f.echartsElement)}},f.rerender=function(){var m=f.props,A=m.onEvents,g=m.onChartReady,v=f.renderEchartDom();f.bindEvents(v,A||{}),typeof g=="function"&&f.props.onChartReady(v),f.echartsElement&&(0,o.bind)(f.echartsElement,function(){try{v.resize()}catch(b){console.warn(b)}})},f.bindEvents=function(m,A){var g=function(S,y){typeof S=="string"&&typeof y=="function"&&m.on(S,function(w){y(w,m)})};for(var v in A)Object.prototype.hasOwnProperty.call(A,v)&&g(v,A[v])},f.renderEchartDom=function(){var m=f.getEchartsInstance();return m.setOption(f.props.option,f.props.notMerge||!1,f.props.lazyUpdate||!1),f.props.showLoading?m.showLoading(f.props.loadingOption||null):m.hideLoading(),m},f.echartsLib=u.echarts,f.echartsElement=null,f}return _(i,[{key:"componentDidMount",value:function(){this.rerender()}},{key:"componentDidUpdate",value:function(f){if(typeof this.props.shouldSetOption=="function"&&!this.props.shouldSetOption(f,this.props))return;if(!(0,h.default)(f.theme,this.props.theme)||!(0,h.default)(f.opts,this.props.opts)||!(0,h.default)(f.onEvents,this.props.onEvents)){this.dispose(),this.rerender();return}var m=["option","notMerge","lazyUpdate","showLoading","loadingOption"];if((0,h.default)((0,r.pick)(this.props,m),(0,r.pick)(f,m)))return;var A=this.renderEchartDom();if(!(0,h.default)(f.style,this.props.style)||!(0,h.default)(f.className,this.props.className))try{A.resize()}catch(g){console.warn(g)}}},{key:"componentWillUnmount",value:function(){this.dispose()}},{key:"render",value:function(){var f=this,m=this.props,A=m.style,g=m.className,v=O({height:300},A);return E.default.createElement("div",{ref:function(S){f.echartsElement=S},style:v,className:"echarts-for-react "+g})}}]),i}(I.Component);z.default=e,e.propTypes={option:t.default.object.isRequired,echarts:t.default.object,notMerge:t.default.bool,lazyUpdate:t.default.bool,style:t.default.object,className:t.default.string,theme:t.default.oneOfType([t.default.string,t.default.object]),onChartReady:t.default.func,showLoading:t.default.bool,loadingOption:t.default.object,onEvents:t.default.object,opts:t.default.shape({devicePixelRatio:t.default.number,renderer:t.default.oneOf(["canvas","svg"]),width:t.default.oneOfType([t.default.number,t.default.oneOf([null,void 0,"auto"])]),height:t.default.oneOfType([t.default.number,t.default.oneOf([null,void 0,"auto"])])}),shouldSetOption:t.default.func},e.defaultProps={echarts:{},notMerge:!1,lazyUpdate:!1,style:{},className:"",theme:null,onChartReady:function(){},showLoading:!1,loadingOption:null,onEvents:{},opts:{},shouldSetOption:function(){return!0}}},tBnm:function(ue,z,d){var O=d("bYtY"),_=d("IwbS"),I=d("Qxkt"),E=d("Znkb"),C=d("+rIm"),t=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function p(s,l,n){l[1]>l[0]&&(l=l.slice().reverse());var c=s.coordToPoint([l[0],n]),e=s.coordToPoint([l[1],n]);return{x1:c[0],y1:c[1],x2:e[0],y2:e[1]}}function h(s){var l=s.getRadiusAxis();return l.inverse?0:1}function o(s){var l=s[0],n=s[s.length-1];l&&n&&Math.abs(Math.abs(l.coord-n.coord)-360)<1e-4&&s.pop()}var r=E.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(s,l){if(this.group.removeAll(),!s.get("show"))return;var n=s.axis,c=n.polar,e=c.getRadiusAxis().getExtent(),a=n.getTicksCoords(),i=n.getMinorTicksCoords(),u=O.map(n.getViewLabels(),function(f){var f=O.clone(f);return f.coord=n.dataToCoord(f.tickValue),f});o(u),o(a),O.each(t,function(f){s.get(f+".show")&&(!n.scale.isBlank()||f==="axisLine")&&this["_"+f](s,c,a,i,e,u)},this)},_axisLine:function(s,l,n,c,e){var a=s.getModel("axisLine.lineStyle"),i=h(l),u=i?0:1,f;e[u]===0?f=new _.Circle({shape:{cx:l.cx,cy:l.cy,r:e[i]},style:a.getLineStyle(),z2:1,silent:!0}):f=new _.Ring({shape:{cx:l.cx,cy:l.cy,r:e[i],r0:e[u]},style:a.getLineStyle(),z2:1,silent:!0}),f.style.fill=null,this.group.add(f)},_axisTick:function(s,l,n,c,e){var a=s.getModel("axisTick"),i=(a.get("inside")?-1:1)*a.get("length"),u=e[h(l)],f=O.map(n,function(m){return new _.Line({shape:p(l,[u,u+i],m.coord)})});this.group.add(_.mergePath(f,{style:O.defaults(a.getModel("lineStyle").getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")})}))},_minorTick:function(s,l,n,c,e){if(!c.length)return;for(var a=s.getModel("axisTick"),i=s.getModel("minorTick"),u=(a.get("inside")?-1:1)*i.get("length"),f=e[h(l)],m=[],A=0;A<c.length;A++)for(var g=0;g<c[A].length;g++)m.push(new _.Line({shape:p(l,[f,f+u],c[A][g].coord)}));this.group.add(_.mergePath(m,{style:O.defaults(i.getModel("lineStyle").getLineStyle(),O.defaults(a.getLineStyle(),{stroke:s.get("axisLine.lineStyle.color")}))}))},_axisLabel:function(s,l,n,c,e,a){var i=s.getCategories(!0),u=s.getModel("axisLabel"),f=u.get("margin"),m=s.get("triggerEvent");O.each(a,function(A,g){var v=u,b=A.tickValue,S=e[h(l)],y=l.coordToPoint([S+f,A.coord]),w=l.cx,x=l.cy,T=Math.abs(y[0]-w)/S<.3?"center":y[0]>w?"left":"right",L=Math.abs(y[1]-x)/S<.3?"middle":y[1]>x?"top":"bottom";i&&i[b]&&i[b].textStyle&&(v=new I(i[b].textStyle,u,u.ecModel));var R=new _.Text({silent:C.isLabelSilent(s)});this.group.add(R),_.setTextStyle(R.style,v,{x:y[0],y:y[1],textFill:v.getTextColor()||s.get("axisLine.lineStyle.color"),text:A.formattedLabel,textAlign:T,textVerticalAlign:L}),m&&(R.eventData=C.makeAxisEventDataBase(s),R.eventData.targetType="axisLabel",R.eventData.value=A.rawLabel)},this)},_splitLine:function(s,l,n,c,e){var a=s.getModel("splitLine"),i=a.getModel("lineStyle"),u=i.get("color"),f=0;u=u instanceof Array?u:[u];for(var m=[],A=0;A<n.length;A++){var g=f++%u.length;m[g]=m[g]||[],m[g].push(new _.Line({shape:p(l,e,n[A].coord)}))}for(var A=0;A<m.length;A++)this.group.add(_.mergePath(m[A],{style:O.defaults({stroke:u[A%u.length]},i.getLineStyle()),silent:!0,z:s.get("z")}))},_minorSplitLine:function(s,l,n,c,e){if(!c.length)return;for(var a=s.getModel("minorSplitLine"),i=a.getModel("lineStyle"),u=[],f=0;f<c.length;f++)for(var m=0;m<c[f].length;m++)u.push(new _.Line({shape:p(l,e,c[f][m].coord)}));this.group.add(_.mergePath(u,{style:i.getLineStyle(),silent:!0,z:s.get("z")}))},_splitArea:function(s,l,n,c,e){if(!n.length)return;var a=s.getModel("splitArea"),i=a.getModel("areaStyle"),u=i.get("color"),f=0;u=u instanceof Array?u:[u];for(var m=[],A=Math.PI/180,g=-n[0].coord*A,v=Math.min(e[0],e[1]),b=Math.max(e[0],e[1]),S=s.get("clockwise"),y=1;y<n.length;y++){var w=f++%u.length;m[w]=m[w]||[],m[w].push(new _.Sector({shape:{cx:l.cx,cy:l.cy,r0:v,r:b,startAngle:g,endAngle:-n[y].coord*A,clockwise:S},silent:!0})),g=-n[y].coord*A}for(var y=0;y<m.length;y++)this.group.add(_.mergePath(m[y],{style:O.defaults({fill:u[y%u.length]},i.getAreaStyle()),silent:!0}))}});ue.exports=r},tSko:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("SRve")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="PlusOutlined";var h=E.forwardRef(p);z.default=h},tceW:function(ue,z,d){var O=d("KCsZ"),_=O([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),I={getBarItemStyle:function(E){var C=_(this,E);if(this.getBorderLineDash){var t=this.getBorderLineDash();t&&(C.lineDash=t)}return C}};ue.exports=I},tkwv:function(ue,z,d){"use strict";var O=Array.isArray,_=Object.keys,I=Object.prototype.hasOwnProperty;ue.exports=function E(C,t){if(C===t)return!0;if(C&&t&&typeof C=="object"&&typeof t=="object"){var p=O(C),h=O(t),o,r,s;if(p&&h){if(r=C.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!E(C[o],t[o]))return!1;return!0}if(p!=h)return!1;var l=C instanceof Date,n=t instanceof Date;if(l!=n)return!1;if(l&&n)return C.getTime()==t.getTime();var c=C instanceof RegExp,e=t instanceof RegExp;if(c!=e)return!1;if(c&&e)return C.toString()==t.toString();var a=_(C);if(r=a.length,r!==_(t).length)return!1;for(o=r;o--!==0;)if(!I.call(t,a[o]))return!1;for(o=r;o--!==0;)if(s=a[o],!E(C[s],t[s]))return!1;return!0}return C!==C&&t!==t}},txkQ:function(ue,z,d){var O=d("aX58");z.zrender=O;var _=d("Fofx");z.matrix=_;var I=d("QBsz");z.vector=I;var E=d("bYtY"),C=d("Qe9p");z.color=C;var t=d("IwbS"),p=d("OELB");z.number=p;var h=d("7aKB");z.format=h;var o=d("iLNv"),r=o.throttle;z.throttle=o.throttle;var s=d("FUi9");z.helper=s;var l=d("vafp");z.parseGeoJSON=l;var n=d("YXkt");z.List=n;var c=d("Qxkt");z.Model=c;var e=d("hM6l");z.Axis=e;var a=d("ItGF");z.env=a;var i=l,u={};E.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],function(m){u[m]=E[m]});var f={};E.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(m){f[m]=t[m]}),z.parseGeoJson=i,z.util=u,z.graphic=f},u3DP:function(ue,z,d){var O=d("6GrX"),_=d("OELB"),I=_.parsePercent,E=Math.PI/180;function C(o,r,s,l,n,c,e,a,i,u){o.sort(function(T,L){return T.y-L.y});function f(T,L,R,P){for(var k=T;k<L&&!(o[k].y+R>i+e);k++)if(o[k].y+=R,k>T&&k+1<L&&o[k+1].y>o[k].y+o[k].height){m(k,R/2);return}m(L-1,R/2)}function m(T,L){for(var R=T;R>=0&&!(o[R].y-L<i);R--)if(o[R].y-=L,R>0&&o[R].y>o[R-1].y+o[R-1].height)break}function A(T,L,R,P,k,U){for(var D=(U>0,L?Number.MAX_VALUE:0),M=0,B=T.length;M<B;M++){if(T[M].labelAlignTo!=="none")continue;var j=Math.abs(T[M].y-P),H=T[M].len,K=T[M].len2,W=j<k+H?Math.sqrt((k+H+K)*(k+H+K)-j*j):Math.abs(T[M].x-R);L&&W>=D&&(W=D-10),!L&&W<=D&&(W=D+10),T[M].x=R+W*U,D=W}}for(var g=0,v,b=o.length,S=[],y=[],w=0;w<b;w++){if(o[w].position==="outer"&&o[w].labelAlignTo==="labelLine"){var x=o[w].x-u;o[w].linePoints[1][0]+=x,o[w].x=u}v=o[w].y-g,v<0&&f(w,b,-v,n),g=o[w].y+o[w].height}e-g<0&&m(b-1,g-e);for(var w=0;w<b;w++)o[w].y>=s?y.push(o[w]):S.push(o[w]);A(S,!1,r,s,l,n),A(y,!0,r,s,l,n)}function t(o,r,s,l,n,c,e,a){for(var i=[],u=[],f=Number.MAX_VALUE,m=-Number.MAX_VALUE,A=0;A<o.length;A++){if(p(o[A]))continue;o[A].x<r?(f=Math.min(f,o[A].x),i.push(o[A])):(m=Math.max(m,o[A].x),u.push(o[A]))}C(u,r,s,l,1,n,c,e,a,m),C(i,r,s,l,-1,n,c,e,a,f);for(var A=0;A<o.length;A++){var g=o[A];if(p(g))continue;var v=g.linePoints;if(v){var b=g.labelAlignTo==="edge",S=g.textRect.width,y;b?g.x<r?y=v[2][0]-g.labelDistance-e-g.labelMargin:y=e+n-g.labelMargin-v[2][0]-g.labelDistance:g.x<r?y=g.x-e-g.bleedMargin:y=e+n-g.x-g.bleedMargin,y<g.textRect.width&&(g.text=O.truncateText(g.text,y,g.font),g.labelAlignTo==="edge"&&(S=O.getWidth(g.text,g.font)));var w=v[1][0]-v[2][0];b?g.x<r?v[2][0]=e+g.labelMargin+S+g.labelDistance:v[2][0]=e+n-g.labelMargin-S-g.labelDistance:(g.x<r?v[2][0]=g.x+g.labelDistance:v[2][0]=g.x-g.labelDistance,v[1][0]=v[2][0]+w),v[1][1]=v[2][1]=g.y}}}function p(o){return o.position==="center"}function h(o,r,s,l,n,c){var e=o.getData(),a=[],i,u,f=!1,m=(o.get("minShowLabelAngle")||0)*E;e.each(function(A){var g=e.getItemLayout(A),v=e.getItemModel(A),b=v.getModel("label"),S=b.get("position")||v.get("emphasis.label.position"),y=b.get("distanceToLabelLine"),w=b.get("alignTo"),x=I(b.get("margin"),s),T=b.get("bleedMargin"),L=b.getFont(),R=v.getModel("labelLine"),P=R.get("length");P=I(P,s);var k=R.get("length2");if(k=I(k,s),g.angle<m)return;var U=(g.startAngle+g.endAngle)/2,D=Math.cos(U),M=Math.sin(U),B,j,H,K;i=g.cx,u=g.cy;var W=o.getFormattedLabel(A,"normal")||e.getName(A),X=O.getBoundingRect(W,L,K,"top"),V=S==="inside"||S==="inner";if(S==="center")B=g.cx,j=g.cy,K="center";else{var Z=(V?(g.r+g.r0)/2*D:g.r*D)+i,G=(V?(g.r+g.r0)/2*M:g.r*M)+u;if(B=Z+D*3,j=G+M*3,!V){var Y=Z+D*(P+r-g.r),te=G+M*(P+r-g.r),se=Y+(D<0?-1:1)*k,Ce=te;w==="edge"?B=D<0?n+x:n+s-x:B=se+(D<0?-y:y),j=Ce,H=[[Z,G],[Y,te],[se,Ce]]}K=V?"center":w==="edge"?D>0?"right":"left":D>0?"left":"right"}var he,xe=b.get("rotate");typeof xe=="number"?he=xe*(Math.PI/180):he=xe?D<0?-U+Math.PI:-U:0,f=!!he,g.label={x:B,y:j,position:S,height:X.height,len:P,len2:k,linePoints:H,textAlign:K,verticalAlign:"middle",rotation:he,inside:V,labelDistance:y,labelAlignTo:w,labelMargin:x,bleedMargin:T,textRect:X,text:W,font:L},V||a.push(g.label)}),!f&&o.get("avoidLabelOverlap")&&t(a,i,u,r,s,l,n,c)}ue.exports=h},u3os:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.ver=z.clear=z.bind=void 0;var O=d("P4Qj"),_=function(t,p){var h=(0,O.getSensor)(t);return h.bind(p),function(){h.unbind(p)}};z.bind=_;var I=function(t){var p=(0,O.getSensor)(t);(0,O.removeSensor)(p)};z.clear=I;var E="1.0.1";z.ver=E},u4NN:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("Uc92")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="EyeOutlined";var h=E.forwardRef(p);z.default=h},u9fO:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("b80e"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},uAnK:function(ue,z,d){var O=d("bYtY"),_=d("Kagy"),I=d("KxfA"),E=I.retrieveRawValue;function C(t,p){var h=p.getModel("aria");if(h.get("show")){if(h.get("description")){t.setAttribute("aria-label",h.get("description"));return}}else return;var o=0;p.eachSeries(function(A,g){++o},this);var r=h.get("data.maxCount")||10,s=h.get("series.maxCount")||10,l=Math.min(o,s),n;if(o<1)return;var c=f();c?n=i(u("general.withTitle"),{title:c}):n=u("general.withoutTitle");var e=[],a=o>1?"series.multiple.prefix":"series.single.prefix";n+=i(u(a),{seriesCount:o}),p.eachSeries(function(A,g){if(g<l){var v,b=A.get("name"),S="series."+(o>1?"multiple":"single")+".";v=u(b?S+"withName":S+"withoutName"),v=i(v,{seriesId:A.seriesIndex,seriesName:A.get("name"),seriesType:m(A.subType)});var y=A.getData();window.data=y,y.count()>r?v+=i(u("data.partialData"),{displayCnt:r}):v+=u("data.allData");for(var w=[],x=0;x<y.count();x++)if(x<r){var T=y.getName(x),L=E(y,x);w.push(i(u(T?"data.withName":"data.withoutName"),{name:T,value:L}))}v+=w.join(u("data.separator.middle"))+u("data.separator.end"),e.push(v)}}),n+=e.join(u("series.multiple.separator.middle"))+u("series.multiple.separator.end"),t.setAttribute("aria-label",n);function i(A,g){if(typeof A!="string")return A;var v=A;return O.each(g,function(b,S){v=v.replace(new RegExp("\\{\\s*"+S+"\\s*\\}","g"),b)}),v}function u(A){var g=h.get(A);if(g==null){for(var v=A.split("."),b=_.aria,S=0;S<v.length;++S)b=b[v[S]];return b}else return g}function f(){var A=p.getModel("title").option;return A&&A.length&&(A=A[0]),A&&A.text}function m(A){return _.series.typeNames[A]||"\u81EA\u5B9A\u4E49\u56FE"}}ue.exports=C},uK0f:function(ue,z,d){(function(O,_){ue.exports=_()})(this,function(){"use strict";function O(_,I,E){E=E||{},E.childrenKeyName=E.childrenKeyName||"children";var C=_||[],t=[],p=0;do{var h=C.filter(function(o){return I(o,p)})[0];if(!h)break;t.push(h),C=h[E.childrenKeyName]||[],p+=1}while(C.length>0);return t}return O})},uOyE:function(ue,z,d){var O=d("ProS");O.registerAction({type:"brush",event:"brush"},function(_,I){I.eachComponent({mainType:"brush",query:_},function(E){E.setAreas(_.areas)})}),O.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},function(){}),O.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},function(){})},uQRt:function(ue,z,d){ue.exports=O;function O(){return d("gaXo"),{}}},ugBc:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},v56E:function(ue,z,d){},v5uJ:function(ue,z,d){var O=d("ProS"),_=d("2B6p"),I=_.updateCenterAndZoom;O.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(E,C){C.eachComponent({mainType:"series",subType:"tree",query:E},function(t){var p=E.dataIndex,h=t.getData().tree,o=h.getNodeByDataIndex(p);o.isExpand=!o.isExpand})}),O.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(E,C){C.eachComponent({mainType:"series",subType:"tree",query:E},function(t){var p=t.coordinateSystem,h=I(p,E);t.setCenter&&t.setCenter(h.center),t.setZoom&&t.setZoom(h.zoom)})})},"vF/C":function(ue,z,d){var O=d("bLfw");O.registerSubTypeDefaulter("visualMap",function(_){return!_.categories&&(!(_.pieces?_.pieces.length>0:_.splitNumber>0)||_.calculable)?"continuous":"piecewise"})},vKoX:function(ue,z,d){var O=d("SrGk"),_=d("bYtY");function I(t,p){O.call(this,t,p,["filter"],"__filter_in_use__","_shadowDom")}_.inherits(I,O),I.prototype.addWithoutUpdate=function(t,p){if(p&&E(p.style)){var h;if(p._shadowDom){h=p._shadowDom;var o=this.getDefs(!0);o.contains(p._shadowDom)||this.addDom(h)}else h=this.add(p);this.markUsed(p);var r=h.getAttribute("id");t.style.filter="url(#"+r+")"}},I.prototype.add=function(t){var p=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,p.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,p),this.addDom(p),p},I.prototype.update=function(t,p){var h=p.style;if(E(h)){var o=this;O.prototype.update.call(this,p,function(){o.updateDom(p,p._shadowDom)})}else this.remove(t,p)},I.prototype.remove=function(t,p){p._shadowDomId!=null&&(this.removeDom(t),t.style.filter="")},I.prototype.updateDom=function(t,p){var h=p.getElementsByTagName("feDropShadow");h.length===0?h=this.createElement("feDropShadow"):h=h[0];var o=t.style,r=t.scale&&t.scale[0]||1,s=t.scale&&t.scale[1]||1,l,n,c,e;if(o.shadowBlur||o.shadowOffsetX||o.shadowOffsetY)l=o.shadowOffsetX||0,n=o.shadowOffsetY||0,c=o.shadowBlur,e=o.shadowColor;else if(o.textShadowBlur)l=o.textShadowOffsetX||0,n=o.textShadowOffsetY||0,c=o.textShadowBlur,e=o.textShadowColor;else{this.removeDom(p,o);return}h.setAttribute("dx",l/r),h.setAttribute("dy",n/s),h.setAttribute("flood-color",e);var a=c/2/r,i=c/2/s,u=a+" "+i;h.setAttribute("stdDeviation",u),p.setAttribute("x","-100%"),p.setAttribute("y","-100%"),p.setAttribute("width",Math.ceil(c/2*200)+"%"),p.setAttribute("height",Math.ceil(c/2*200)+"%"),p.appendChild(h),t._shadowDom=p},I.prototype.markUsed=function(t){t._shadowDom&&O.prototype.markUsed.call(this,t._shadowDom)};function E(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}var C=I;ue.exports=C},vL6D:function(ue,z,d){var O=d("bYtY"),_=d("+rIm"),I=d("IwbS"),E=d("7bkD"),C=d("Znkb"),t=d("WN+l"),p=t.rectCoordAxisBuildSplitArea,h=t.rectCoordAxisHandleRemove,o=["axisLine","axisTickLabel","axisName"],r=["splitArea","splitLine"],s=C.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(n,c,e,a){var i=this.group;i.removeAll();var u=this._axisGroup;this._axisGroup=new I.Group;var f=E.layout(n),m=new _(n,f);O.each(o,m.add,m),i.add(this._axisGroup),i.add(m.getGroup()),O.each(r,function(A){n.get(A+".show")&&this["_"+A](n)},this),I.groupTransition(u,this._axisGroup,n),s.superCall(this,"render",n,c,e,a)},remove:function(){h(this)},_splitLine:function(n){var c=n.axis;if(c.scale.isBlank())return;var e=n.getModel("splitLine"),a=e.getModel("lineStyle"),i=a.get("width"),u=a.get("color");u=u instanceof Array?u:[u];for(var f=n.coordinateSystem.getRect(),m=c.isHorizontal(),A=[],g=0,v=c.getTicksCoords({tickModel:e}),b=[],S=[],y=0;y<v.length;++y){var w=c.toGlobalCoord(v[y].coord);m?(b[0]=w,b[1]=f.y,S[0]=w,S[1]=f.y+f.height):(b[0]=f.x,b[1]=w,S[0]=f.x+f.width,S[1]=w);var x=g++%u.length;A[x]=A[x]||[],A[x].push(new I.Line({subPixelOptimize:!0,shape:{x1:b[0],y1:b[1],x2:S[0],y2:S[1]},style:{lineWidth:i},silent:!0}))}for(var y=0;y<A.length;++y)this.group.add(I.mergePath(A[y],{style:{stroke:u[y%u.length],lineDash:a.getLineDash(i),lineWidth:i},silent:!0}))},_splitArea:function(n){p(this,this._axisGroup,n,n)}}),l=s;ue.exports=l},vWvF:function(ue,z,d){var O=d("Bq2U"),_=d("SUKs"),I=d("bYtY"),E=I.isString,C=I.isFunction,t=I.isObject,p=I.isArrayLike,h=I.indexOf,o=function(){this.animators=[]};o.prototype={constructor:o,animate:function(e,a){var i,u=!1,f=this,m=this.__zr;if(e){var A=e.split("."),g=f;u=A[0]==="shape";for(var v=0,b=A.length;v<b;v++){if(!g)continue;g=g[A[v]]}g&&(i=g)}else i=f;if(!i){_('Property "'+e+'" is not existed in element '+f.id);return}var S=f.animators,y=new O(i,a);return y.during(function(w){f.dirty(u)}).done(function(){S.splice(h(S,y),1)}),S.push(y),m&&m.animation.addAnimator(y),y},stopAnimation:function(e){for(var a=this.animators,i=a.length,u=0;u<i;u++)a[u].stop(e);return a.length=0,this},animateTo:function(e,a,i,u,f,m){r(this,e,a,i,u,f,m)},animateFrom:function(e,a,i,u,f,m){r(this,e,a,i,u,f,m,!0)}};function r(c,e,a,i,u,f,m,A){E(i)?(f=u,u=i,i=0):C(u)?(f=u,u="linear",i=0):C(i)?(f=i,i=0):C(a)?(f=a,a=500):a||(a=500),c.stopAnimation(),s(c,"",c,e,a,i,A);var g=c.animators.slice(),v=g.length;function b(){v--,v||f&&f()}v||f&&f();for(var S=0;S<g.length;S++)g[S].done(b).start(u,m)}function s(c,e,a,i,u,f,m){var A={},g=0;for(var v in i){if(!i.hasOwnProperty(v))continue;a[v]!=null?t(i[v])&&!p(i[v])?s(c,e?e+"."+v:v,a[v],i[v],u,f,m):(m?(A[v]=a[v],l(c,e,v,i[v])):A[v]=i[v],g++):i[v]!=null&&!m&&l(c,e,v,i[v])}g>0&&c.animate(e,!1).when(u==null?500:u,A).delay(f||0)}function l(c,e,a,i){if(!e)c.attr(a,i);else{var u={};u[e]={},u[e][a]=i,c.attr(u)}}var n=o;ue.exports=n},vZ6x:function(ue,z,d){var O=d("Tghj"),_=O.__DEV__,I=d("bYtY"),E=d("IwbS"),C=d("4NO4"),t=d("9KIM"),p=I.each,h=I.indexOf,o=I.curry,r=["dataToPoint","pointToData"],s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"];function l(y,w,x){var T=this._targetInfoList=[],L={},R=e(w,y);p(a,function(P,k){(!x||!x.include||h(x.include,k)>=0)&&P(R,T,L)})}var n=l.prototype;n.setOutputRanges=function(y,w){this.matchOutputRanges(y,w,function(x,T,L){if((x.coordRanges||(x.coordRanges=[])).push(T),!x.coordRange){x.coordRange=T;var R=f[x.brushType](0,L,T);x.__rangeOffset={offset:A[x.brushType](R.values,x.range,[1,1]),xyMinMax:R.xyMinMax}}})},n.matchOutputRanges=function(y,w,x){p(y,function(T){var L=this.findTargetInfo(T,w);L&&L!==!0&&I.each(L.coordSyses,function(R){var P=f[T.brushType](1,R,T.range);x(T,P.values,R,w)})},this)},n.setInputRanges=function(y,w){p(y,function(x){var T=this.findTargetInfo(x,w);if(x.range=x.range||[],T&&T!==!0){x.panelId=T.panelId;var L=f[x.brushType](0,T.coordSys,x.coordRange),R=x.__rangeOffset;x.range=R?A[x.brushType](L.values,R.offset,v(L.xyMinMax,R.xyMinMax)):L.values}},this)},n.makePanelOpts=function(y,w){return I.map(this._targetInfoList,function(x){var T=x.getPanelRect();return{panelId:x.panelId,defaultBrushType:w&&w(x),clipPath:t.makeRectPanelClipPath(T),isTargetByCursor:t.makeRectIsTargetByCursor(T,y,x.coordSysModel),getLinearBrushOtherExtent:t.makeLinearBrushOtherExtent(T)}})},n.controlSeries=function(y,w,x){var T=this.findTargetInfo(y,x);return T===!0||T&&h(T.coordSyses,w.coordinateSystem)>=0},n.findTargetInfo=function(y,w){for(var x=this._targetInfoList,T=e(w,y),L=0;L<x.length;L++){var R=x[L],P=y.panelId;if(P){if(R.panelId===P)return R}else for(var L=0;L<i.length;L++)if(i[L](T,R))return R}return!0};function c(y){return y[0]>y[1]&&y.reverse(),y}function e(y,w){return C.parseFinder(y,w,{includeMainTypes:s})}var a={grid:function(y,w){var x=y.xAxisModels,T=y.yAxisModels,L=y.gridModels,R=I.createHashMap(),P={},k={};if(!x&&!T&&!L)return;p(x,function(U){var D=U.axis.grid.model;R.set(D.id,D),P[D.id]=!0}),p(T,function(U){var D=U.axis.grid.model;R.set(D.id,D),k[D.id]=!0}),p(L,function(U){R.set(U.id,U),P[U.id]=!0,k[U.id]=!0}),R.each(function(U){var D=U.coordinateSystem,M=[];p(D.getCartesians(),function(B,j){(h(x,B.getAxis("x").model)>=0||h(T,B.getAxis("y").model)>=0)&&M.push(B)}),w.push({panelId:"grid--"+U.id,gridModel:U,coordSysModel:U,coordSys:M[0],coordSyses:M,getPanelRect:u.grid,xAxisDeclared:P[U.id],yAxisDeclared:k[U.id]})})},geo:function(y,w){p(y.geoModels,function(x){var T=x.coordinateSystem;w.push({panelId:"geo--"+x.id,geoModel:x,coordSysModel:x,coordSys:T,coordSyses:[T],getPanelRect:u.geo})})}},i=[function(y,w){var x=y.xAxisModel,T=y.yAxisModel,L=y.gridModel;return!L&&x&&(L=x.axis.grid.model),!L&&T&&(L=T.axis.grid.model),L&&L===w.gridModel},function(y,w){var x=y.geoModel;return x&&x===w.geoModel}],u={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var y=this.coordSys,w=y.getBoundingRect().clone();return w.applyTransform(E.getTransform(y)),w}},f={lineX:o(m,0),lineY:o(m,1),rect:function(y,w,x){var T=w[r[y]]([x[0][0],x[1][0]]),L=w[r[y]]([x[0][1],x[1][1]]),R=[c([T[0],L[0]]),c([T[1],L[1]])];return{values:R,xyMinMax:R}},polygon:function(y,w,x){var T=[[Infinity,-Infinity],[Infinity,-Infinity]],L=I.map(x,function(R){var P=w[r[y]](R);return T[0][0]=Math.min(T[0][0],P[0]),T[1][0]=Math.min(T[1][0],P[1]),T[0][1]=Math.max(T[0][1],P[0]),T[1][1]=Math.max(T[1][1],P[1]),P});return{values:L,xyMinMax:T}}};function m(y,w,x,T){var L=x.getAxis(["x","y"][y]),R=c(I.map([0,1],function(k){return w?L.coordToData(L.toLocalCoord(T[k])):L.toGlobalCoord(L.dataToCoord(T[k]))})),P=[];return P[y]=R,P[1-y]=[NaN,NaN],{values:R,xyMinMax:P}}var A={lineX:o(g,0),lineY:o(g,1),rect:function(y,w,x){return[[y[0][0]-x[0]*w[0][0],y[0][1]-x[0]*w[0][1]],[y[1][0]-x[1]*w[1][0],y[1][1]-x[1]*w[1][1]]]},polygon:function(y,w,x){return I.map(y,function(T,L){return[T[0]-x[0]*w[L][0],T[1]-x[1]*w[L][1]]})}};function g(y,w,x,T){return[w[0]-T[y]*x[0],w[1]-T[y]*x[1]]}function v(y,w){var x=b(y),T=b(w),L=[x[0]/T[0],x[1]/T[1]];return isNaN(L[0])&&(L[0]=1),isNaN(L[1])&&(L[1]=1),L}function b(y){return y?[y[0][1]-y[0][0],y[1][1]-y[1][0]]:[NaN,NaN]}var S=l;ue.exports=S},vZI5:function(ue,z,d){var O=d("bYtY"),_=d("T4UG"),I=d("5GhG"),E=I.seriesModelMixin,C=_.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(p,h,o){var r=h.getItemLayout(p);return r&&o.rect(r.brushRect)}});O.mixin(C,E,!0);var t=C;ue.exports=t},vafp:function(ue,z,d){var O=d("bYtY"),_=d("8nly");function I(t){if(!t.UTF8Encoding)return t;var p=t.UTF8Scale;p==null&&(p=1024);for(var h=t.features,o=0;o<h.length;o++)for(var r=h[o],s=r.geometry,l=s.coordinates,n=s.encodeOffsets,c=0;c<l.length;c++){var e=l[c];if(s.type==="Polygon")l[c]=E(e,n[c],p);else if(s.type==="MultiPolygon")for(var a=0;a<e.length;a++){var i=e[a];e[a]=E(i,n[c][a],p)}}return t.UTF8Encoding=!1,t}function E(t,p,h){for(var o=[],r=p[0],s=p[1],l=0;l<t.length;l+=2){var n=t.charCodeAt(l)-64,c=t.charCodeAt(l+1)-64;n=n>>1^-(n&1),c=c>>1^-(c&1),n+=r,c+=s,r=n,s=c,o.push([n/h,c/h])}return o}function C(t,p){return I(t),O.map(O.filter(t.features,function(h){return h.geometry&&h.properties&&h.geometry.coordinates.length>0}),function(h){var o=h.properties,r=h.geometry,s=r.coordinates,l=[];r.type==="Polygon"&&l.push({type:"polygon",exterior:s[0],interiors:s.slice(1)}),r.type==="MultiPolygon"&&O.each(s,function(c){c[0]&&l.push({type:"polygon",exterior:c[0],interiors:c.slice(1)})});var n=new _(o[p||"name"],l,o.cp);return n.properties=o,n})}ue.exports=C},vcCh:function(ue,z,d){var O=d("ProS");d("0qV/"),O.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(_,I){I.eachComponent({mainType:"series",subType:"sankey",query:_},function(E){E.setNodePosition(_.dataIndex,[_.localX,_.localY])})})},vewr:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.getPointerEvent=O,z.stopEvent=_,z.setCapture=h,z.releaseCapture=o;function O(r){return r.changedTouches?r.changedTouches[0]:r.touches?r.touches[0]:r}function _(r){r.stopPropagation(),r.preventDefault()}var I=!1,E=null;document.captureElement=null;function C(r){if(I)return;var s=new r.constructor(r.type,r);I=!0,document.captureElement?document.captureElement.dispatchEvent(s):E.dispatchEvent(s),I=!1,r.stopPropagation(),s.defaultPrevented&&r.preventDefault(),r.type==="mouseup"&&o()}function t(){var r=document.getElementById("noVNC_mouse_capture_elem");r.style.cursor=window.getComputedStyle(document.captureElement).cursor}var p=new MutationObserver(t);function h(r){if(r.setCapture)r.setCapture(),document.captureElement=r,r.addEventListener("mouseup",o);else{o();var s=document.getElementById("noVNC_mouse_capture_elem");s===null&&(s=document.createElement("div"),s.id="noVNC_mouse_capture_elem",s.style.position="fixed",s.style.top="0px",s.style.left="0px",s.style.width="100%",s.style.height="100%",s.style.zIndex=1e4,s.style.display="none",document.body.appendChild(s),s.addEventListener("contextmenu",C),s.addEventListener("mousemove",C),s.addEventListener("mouseup",C)),document.captureElement=r,p.observe(r,{attributes:!0}),t(),s.style.display="",window.addEventListener("mousemove",C),window.addEventListener("mouseup",C)}}function o(){if(document.releaseCapture)document.releaseCapture(),document.captureElement=null;else{if(!document.captureElement)return;E=document.captureElement,document.captureElement=null,p.disconnect();var r=document.getElementById("noVNC_mouse_capture_elem");r.style.display="none",window.removeEventListener("mousemove",C),window.removeEventListener("mouseup",C)}}},vg9a:function(ue,z,d){},"vk+C":function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("RZPm"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},w4Tj:function(ue,z,d){"use strict";d.d(z,"a",function(){return I});var O=d("oZsa");function _(E,C){for(;!Object.prototype.hasOwnProperty.call(E,C)&&!(E=Object(O.a)(E),E===null););return E}function I(E,C,t){return typeof Reflect!="undefined"&&Reflect.get?I=Reflect.get:I=function(h,o,r){var s=_(h,o);if(!s)return;var l=Object.getOwnPropertyDescriptor(s,o);return l.get?l.get.call(r):l.value},I(E,C,t||E)}},w5pM:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="PlusCircleOutlined";var p=z.a=_.forwardRef(t)},w6Tc:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("apAg"));function _(E){return E&&E.__esModule?E:{default:E}}var I=O;z.default=I,ue.exports=I},wCAj:function(ue,z,d){"use strict";var O=d("cDf5"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("J4zp"),t=d.n(C),p=d("pVnL"),h=d.n(p),o=d("q1tI"),r=d("TSYQ"),s=d.n(r),l=d("BGR+"),n=d("rePB"),c=d("VTBJ"),e=d("KQm4"),a=d("U8pU"),i=d("ODXe"),u=d("Gytx"),f=d.n(u),m=d("Kwbf"),A=d("t23M"),g=d("qx4F");function v(zt){return null}var b=v;function S(zt){return null}var y=S,w=d("Ff2n"),x=d("c+Xe"),T="RC_TABLE_KEY";function L(zt){return zt==null?[]:Array.isArray(zt)?zt:[zt]}function R(zt,Gr){if(!Gr&&typeof Gr!="number")return zt;for(var nn=L(Gr),fn=zt,Xe=0;Xe<nn.length;Xe+=1){if(!fn)return null;var Ot=nn[Xe];fn=fn[Ot]}return fn}function P(zt){var Gr=[],nn={};return zt.forEach(function(fn){for(var Xe=fn||{},Ot=Xe.key,cr=Xe.dataIndex,lr=Ot||L(cr).join("-")||T;nn[lr];)lr="".concat(lr,"_next");nn[lr]=!0,Gr.push(lr)}),Gr}function k(){var zt={};function Gr(Ot,cr){cr&&Object.keys(cr).forEach(function(lr){var Ir=cr[lr];Ir&&Object(a.a)(Ir)==="object"?(Ot[lr]=Ot[lr]||{},Gr(Ot[lr],Ir)):Ot[lr]=Ir})}for(var nn=arguments.length,fn=new Array(nn),Xe=0;Xe<nn;Xe++)fn[Xe]=arguments[Xe];return fn.forEach(function(Ot){Gr(zt,Ot)}),zt}function U(zt){return zt!=null}function D(zt){return zt&&Object(a.a)(zt)==="object"&&!Array.isArray(zt)&&!o.isValidElement(zt)}function M(zt){return typeof zt=="string"?!0:Object(x.c)(zt)}function B(zt,Gr){var nn,fn=zt.prefixCls,Xe=zt.className,Ot=zt.record,cr=zt.index,lr=zt.dataIndex,Ir=zt.render,Dr=zt.children,Wr=zt.component,on=Wr===void 0?"td":Wr,En=zt.colSpan,vn=zt.rowSpan,Dn=zt.fixLeft,Un=zt.fixRight,wn=zt.firstFixLeft,In=zt.lastFixLeft,Tn=zt.firstFixRight,Kn=zt.lastFixRight,Yn=zt.appendNode,ni=zt.additionalProps,yi=ni===void 0?{}:ni,li=zt.ellipsis,Oi=zt.align,Bi=zt.rowType,Si=zt.isSticky,mi="".concat(fn,"-cell"),Li,Wn;if(Dr)Wn=Dr;else{var Ri=R(Ot,lr);if(Wn=Ri,Ir){var zi=Ir(Ri,Ot,cr);D(zi)?(Wn=zi.children,Li=zi.props):Wn=zi}}Object(a.a)(Wn)==="object"&&!Array.isArray(Wn)&&!o.isValidElement(Wn)&&(Wn=null),li&&(In||Tn)&&(Wn=o.createElement("span",{className:"".concat(mi,"-content")},Wn));var yr=Li||{},Mr=yr.colSpan,Qr=yr.rowSpan,_r=yr.style,Vt=yr.className,Sr=Object(w.a)(yr,["colSpan","rowSpan","style","className"]),Zt=Mr!==void 0?Mr:En,Ur=Qr!==void 0?Qr:vn;if(Zt===0||Ur===0)return null;var Hr={},pn=typeof Dn=="number",sn=typeof Un=="number";pn&&(Hr.position="sticky",Hr.left=Dn),sn&&(Hr.position="sticky",Hr.right=Un);var yn={};Oi&&(yn.textAlign=Oi);var Fn,Gn=li===!0?{showTitle:!0}:li;Gn&&(Gn.showTitle||Bi==="header")&&(typeof Wn=="string"||typeof Wn=="number"?Fn=Wn.toString():o.isValidElement(Wn)&&typeof Wn.props.children=="string"&&(Fn=Wn.props.children));var Jn=Object(c.a)(Object(c.a)(Object(c.a)({title:Fn},Sr),yi),{},{colSpan:Zt&&Zt!==1?Zt:null,rowSpan:Ur&&Ur!==1?Ur:null,className:s()(mi,Xe,(nn={},Object(n.a)(nn,"".concat(mi,"-fix-left"),pn),Object(n.a)(nn,"".concat(mi,"-fix-left-first"),wn),Object(n.a)(nn,"".concat(mi,"-fix-left-last"),In),Object(n.a)(nn,"".concat(mi,"-fix-right"),sn),Object(n.a)(nn,"".concat(mi,"-fix-right-first"),Tn),Object(n.a)(nn,"".concat(mi,"-fix-right-last"),Kn),Object(n.a)(nn,"".concat(mi,"-ellipsis"),li),Object(n.a)(nn,"".concat(mi,"-with-append"),Yn),Object(n.a)(nn,"".concat(mi,"-fix-sticky"),(pn||sn)&&Si),nn),yi.className,Vt),style:Object(c.a)(Object(c.a)(Object(c.a)(Object(c.a)({},yi.style),yn),Hr),_r),ref:M(on)?Gr:null});return o.createElement(on,Object.assign({},Jn),Yn,Wn)}var j=o.forwardRef(B);j.displayName="Cell";var H=o.memo(j,function(zt,Gr){return Gr.shouldCellUpdate?!Gr.shouldCellUpdate(Gr.record,zt.record):!1}),K=H,W=o.createContext(null),X=W;function V(zt,Gr,nn,fn,Xe){var Ot=nn[zt]||{},cr=nn[Gr]||{},lr,Ir;Ot.fixed==="left"?lr=fn.left[zt]:cr.fixed==="right"&&(Ir=fn.right[Gr]);var Dr=!1,Wr=!1,on=!1,En=!1,vn=nn[Gr+1],Dn=nn[zt-1];if(Xe==="rtl"){if(lr!==void 0){var Un=Dn&&Dn.fixed==="left";En=!Un}else if(Ir!==void 0){var wn=vn&&vn.fixed==="right";on=!wn}}else if(lr!==void 0){var In=vn&&vn.fixed==="left";Dr=!In}else if(Ir!==void 0){var Tn=Dn&&Dn.fixed==="right";Wr=!Tn}return{fixLeft:lr,fixRight:Ir,lastFixLeft:Dr,firstFixRight:Wr,lastFixRight:on,firstFixLeft:En,isSticky:fn.isSticky}}function Z(zt){var Gr=zt.cells,nn=zt.stickyOffsets,fn=zt.flattenColumns,Xe=zt.rowComponent,Ot=zt.cellComponent,cr=zt.onHeaderRow,lr=zt.index,Ir=o.useContext(X),Dr=Ir.prefixCls,Wr=Ir.direction,on;cr&&(on=cr(Gr.map(function(vn){return vn.column}),lr));var En=P(Gr.map(function(vn){return vn.column}));return o.createElement(Xe,Object.assign({},on),Gr.map(function(vn,Dn){var Un=vn.column,wn=V(vn.colStart,vn.colEnd,fn,nn,Wr),In;return Un&&Un.onHeaderCell&&(In=vn.column.onHeaderCell(Un)),o.createElement(K,Object.assign({},vn,{ellipsis:Un.ellipsis,align:Un.align,component:Ot,prefixCls:Dr,key:En[Dn]},wn,{additionalProps:In,rowType:"header"}))}))}Z.displayName="HeaderRow";var G=Z;function Y(zt){var Gr=[];function nn(cr,lr){var Ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;Gr[Ir]=Gr[Ir]||[];var Dr=lr,Wr=cr.filter(Boolean).map(function(on){var En={key:on.key,className:on.className||"",children:on.title,column:on,colStart:Dr},vn=1,Dn=on.children;return Dn&&Dn.length>0&&(vn=nn(Dn,Dr,Ir+1).reduce(function(Un,wn){return Un+wn},0),En.hasSubColumns=!0),"colSpan"in on&&(vn=on.colSpan),"rowSpan"in on&&(En.rowSpan=on.rowSpan),En.colSpan=vn,En.colEnd=En.colStart+vn-1,Gr[Ir].push(En),Dr+=vn,vn});return Wr}nn(zt,0);for(var fn=Gr.length,Xe=function(lr){Gr[lr].forEach(function(Ir){!("rowSpan"in Ir)&&!Ir.hasSubColumns&&(Ir.rowSpan=fn-lr)})},Ot=0;Ot<fn;Ot+=1)Xe(Ot);return Gr}function te(zt){var Gr=zt.stickyOffsets,nn=zt.columns,fn=zt.flattenColumns,Xe=zt.onHeaderRow,Ot=o.useContext(X),cr=Ot.prefixCls,lr=Ot.getComponent,Ir=o.useMemo(function(){return Y(nn)},[nn]),Dr=lr(["header","wrapper"],"thead"),Wr=lr(["header","row"],"tr"),on=lr(["header","cell"],"th");return o.createElement(Dr,{className:"".concat(cr,"-thead")},Ir.map(function(En,vn){var Dn=o.createElement(G,{key:vn,flattenColumns:fn,cells:En,stickyOffsets:Gr,rowComponent:Wr,cellComponent:on,onHeaderRow:Xe,index:vn});return Dn}))}var se=te,Ce="RC_TABLE_INTERNAL_COL_DEFINE";function he(zt){var Gr=zt.expandable,nn=Object(w.a)(zt,["expandable"]);return"expandable"in zt?Object(c.a)(Object(c.a)({},nn),Gr):nn}function xe(zt){return Object.keys(zt).reduce(function(Gr,nn){return(nn.substr(0,5)==="data-"||nn.substr(0,5)==="aria-")&&(Gr[nn]=zt[nn]),Gr},{})}function ie(zt){for(var Gr=zt.colWidths,nn=zt.columns,fn=zt.columCount,Xe=[],Ot=fn||nn.length,cr=!1,lr=Ot-1;lr>=0;lr-=1){var Ir=Gr[lr],Dr=nn&&nn[lr],Wr=Dr&&Dr[Ce];(Ir||Wr||cr)&&(Xe.unshift(o.createElement("col",Object.assign({key:lr,style:{width:Ir,minWidth:Ir}},Wr))),cr=!0)}return o.createElement("colgroup",null,Xe)}var ee=ie;function Ze(zt,Gr){return Object(o.useMemo)(function(){for(var nn=[],fn=0;fn<Gr;fn+=1){var Xe=zt[fn];if(Xe!==void 0)nn[fn]=Xe;else return null}return nn},[zt.join("_"),Gr])}var Se=o.forwardRef(function(zt,Gr){var nn=zt.noData,fn=zt.columns,Xe=zt.flattenColumns,Ot=zt.colWidths,cr=zt.columCount,lr=zt.stickyOffsets,Ir=zt.direction,Dr=zt.fixHeader,Wr=zt.offsetHeader,on=zt.stickyClassName,En=zt.onScroll,vn=Object(w.a)(zt,["noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","offsetHeader","stickyClassName","onScroll"]),Dn=o.useContext(X),Un=Dn.prefixCls,wn=Dn.scrollbarSize,In=Dn.isSticky,Tn=In&&!Dr?0:wn,Kn=o.useRef(null),Yn=o.useCallback(function(mi){Object(x.b)(Gr,mi),Object(x.b)(Kn,mi)},[]);o.useEffect(function(){var mi;function Li(Wn){var Ri=Wn.currentTarget,zi=Wn.deltaX;zi&&(En({currentTarget:Ri,scrollLeft:Ri.scrollLeft+zi}),Wn.preventDefault())}return(mi=Kn.current)===null||mi===void 0||mi.addEventListener("wheel",Li),function(){var Wn;(Wn=Kn.current)===null||Wn===void 0||Wn.removeEventListener("wheel",Li)}},[]);var ni=Xe[Xe.length-1],yi={fixed:ni?ni.fixed:null,onHeaderCell:function(){return{className:"".concat(Un,"-cell-scrollbar")}}},li=Object(o.useMemo)(function(){return Tn?[].concat(Object(e.a)(fn),[yi]):fn},[Tn,fn]),Oi=Object(o.useMemo)(function(){return Tn?[].concat(Object(e.a)(Xe),[yi]):Xe},[Tn,Xe]),Bi=Object(o.useMemo)(function(){var mi=lr.right,Li=lr.left;return Object(c.a)(Object(c.a)({},lr),{},{left:Ir==="rtl"?[].concat(Object(e.a)(Li.map(function(Wn){return Wn+Tn})),[0]):Li,right:Ir==="rtl"?mi:[].concat(Object(e.a)(mi.map(function(Wn){return Wn+Tn})),[0]),isSticky:In})},[Tn,lr,In]),Si=Ze(Ot,cr);return o.createElement("div",{style:Object(c.a)({overflow:"hidden"},In?{top:Wr}:{}),ref:Yn,className:s()("".concat(Un,"-header"),Object(n.a)({},on,!!on))},o.createElement("table",{style:{tableLayout:"fixed",visibility:nn||Si?null:"hidden"}},o.createElement(ee,{colWidths:Si?[].concat(Object(e.a)(Si),[Tn]):[],columCount:cr+1,columns:Oi}),o.createElement(se,Object.assign({},vn,{stickyOffsets:Bi,columns:li,flattenColumns:Oi}))))});Se.displayName="FixedHeader";var Ne=Se,it=o.createContext(null),Ye=it;function nt(zt){var Gr=zt.prefixCls,nn=zt.children,fn=zt.component,Xe=zt.cellComponent,Ot=zt.fixHeader,cr=zt.fixColumn,lr=zt.horizonScroll,Ir=zt.className,Dr=zt.expanded,Wr=zt.componentWidth,on=zt.colSpan,En=o.useContext(X),vn=En.scrollbarSize;return o.useMemo(function(){var Dn=nn;return cr&&(Dn=o.createElement("div",{style:{width:Wr-(Ot?vn:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(Gr,"-expanded-row-fixed")},Dn)),o.createElement(fn,{className:Ir,style:{display:Dr?null:"none"}},o.createElement(K,{component:Xe,prefixCls:Gr,colSpan:on},Dn))},[nn,fn,Ot,lr,Ir,Dr,Wr,on,vn])}var je=nt;function et(zt){var Gr=zt.className,nn=zt.style,fn=zt.record,Xe=zt.index,Ot=zt.rowKey,cr=zt.getRowKey,lr=zt.rowExpandable,Ir=zt.expandedKeys,Dr=zt.onRow,Wr=zt.indent,on=Wr===void 0?0:Wr,En=zt.rowComponent,vn=zt.cellComponent,Dn=zt.childrenColumnName,Un=o.useContext(X),wn=Un.prefixCls,In=Un.fixedInfoList,Tn=o.useContext(Ye),Kn=Tn.fixHeader,Yn=Tn.fixColumn,ni=Tn.horizonScroll,yi=Tn.componentWidth,li=Tn.flattenColumns,Oi=Tn.expandableType,Bi=Tn.expandRowByClick,Si=Tn.onTriggerExpand,mi=Tn.rowClassName,Li=Tn.expandedRowClassName,Wn=Tn.indentSize,Ri=Tn.expandIcon,zi=Tn.expandedRowRender,yr=Tn.expandIconColumnIndex,Mr=o.useState(!1),Qr=Object(i.a)(Mr,2),_r=Qr[0],Vt=Qr[1],Sr=Ir&&Ir.has(zt.recordKey);o.useEffect(function(){Sr&&Vt(!0)},[Sr]);var Zt=Oi==="row"&&(!lr||lr(fn)),Ur=Oi==="nest",Hr=Dn&&fn&&fn[Dn],pn=Zt||Ur,sn;Dr&&(sn=Dr(fn,Xe));var yn=function(ma){if(Bi&&pn&&Si(fn,ma),sn&&sn.onClick){for(var Ui,Ni=arguments.length,ra=new Array(Ni>1?Ni-1:0),qi=1;qi<Ni;qi++)ra[qi-1]=arguments[qi];(Ui=sn).onClick.apply(Ui,[ma].concat(ra))}},Fn;typeof mi=="string"?Fn=mi:typeof mi=="function"&&(Fn=mi(fn,Xe,on));var Gn=P(li),Jn=o.createElement(En,Object.assign({},sn,{"data-row-key":Ot,className:s()(Gr,"".concat(wn,"-row"),"".concat(wn,"-row-level-").concat(on),Fn,sn&&sn.className),style:Object(c.a)(Object(c.a)({},nn),sn?sn.style:null),onClick:yn}),li.map(function(ca,ma){var Ui=ca.render,Ni=ca.dataIndex,ra=ca.className,qi=Gn[ma],va=In[ma],Oa;ma===(yr||0)&&Ur&&(Oa=o.createElement(o.Fragment,null,o.createElement("span",{style:{paddingLeft:"".concat(Wn*on,"px")},className:"".concat(wn,"-row-indent indent-level-").concat(on)}),Ri({prefixCls:wn,expanded:Sr,expandable:Hr,record:fn,onExpand:Si})));var Zi;return ca.onCell&&(Zi=ca.onCell(fn,Xe)),o.createElement(K,Object.assign({className:ra,ellipsis:ca.ellipsis,align:ca.align,component:vn,prefixCls:wn,key:qi,record:fn,index:Xe,dataIndex:Ni,render:Ui,shouldCellUpdate:ca.shouldCellUpdate},va,{appendNode:Oa,additionalProps:Zi}))})),Ci;if(Zt&&(_r||Sr)){var ta=zi(fn,Xe,on+1,Sr),oa=Li&&Li(fn,Xe,on);Ci=o.createElement(je,{expanded:Sr,className:s()("".concat(wn,"-expanded-row"),"".concat(wn,"-expanded-row-level-").concat(on+1),oa),prefixCls:wn,fixHeader:Kn,fixColumn:Yn,horizonScroll:ni,component:En,componentWidth:yi,cellComponent:vn,colSpan:li.length},ta)}var da;return Hr&&Sr&&(da=(fn[Dn]||[]).map(function(ca,ma){var Ui=cr(ca,ma);return o.createElement(et,Object.assign({},zt,{key:Ui,rowKey:Ui,record:ca,recordKey:Ui,index:ma,indent:on+1}))})),o.createElement(o.Fragment,null,Jn,Ci,da)}et.displayName="BodyRow";var He=et,pe=o.createContext(null),ae=pe;function re(zt){var Gr=zt.columnKey,nn=zt.onColumnResize,fn=o.useRef();return o.useEffect(function(){fn.current&&nn(Gr,fn.current.offsetWidth)},[]),o.createElement(A.a,{onResize:function(Ot){var cr=Ot.offsetWidth;nn(Gr,cr)}},o.createElement("td",{ref:fn,style:{padding:0,border:0,height:0}},o.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function be(zt){var Gr=zt.data,nn=zt.getRowKey,fn=zt.measureColumnWidth,Xe=zt.expandedKeys,Ot=zt.onRow,cr=zt.rowExpandable,lr=zt.emptyNode,Ir=zt.childrenColumnName,Dr=o.useContext(ae),Wr=Dr.onColumnResize,on=o.useContext(X),En=on.prefixCls,vn=on.getComponent,Dn=o.useContext(Ye),Un=Dn.fixHeader,wn=Dn.horizonScroll,In=Dn.flattenColumns,Tn=Dn.componentWidth;return o.useMemo(function(){var Kn=vn(["body","wrapper"],"tbody"),Yn=vn(["body","row"],"tr"),ni=vn(["body","cell"],"td"),yi;Gr.length?yi=Gr.map(function(Oi,Bi){var Si=nn(Oi,Bi);return o.createElement(He,{key:Si,rowKey:Si,record:Oi,recordKey:Si,index:Bi,rowComponent:Yn,cellComponent:ni,expandedKeys:Xe,onRow:Ot,getRowKey:nn,rowExpandable:cr,childrenColumnName:Ir})}):yi=o.createElement(je,{expanded:!0,className:"".concat(En,"-placeholder"),prefixCls:En,fixHeader:Un,fixColumn:wn,horizonScroll:wn,component:Yn,componentWidth:Tn,cellComponent:ni,colSpan:In.length},lr);var li=P(In);return o.createElement(Kn,{className:"".concat(En,"-tbody")},fn&&o.createElement("tr",{"aria-hidden":"true",className:"".concat(En,"-measure-row"),style:{height:0}},li.map(function(Oi){return o.createElement(re,{key:Oi,columnKey:Oi,onColumnResize:Wr})})),yi)},[Gr,En,Ot,fn,Xe,nn,vn,Tn,lr,In])}var ze=o.memo(be);ze.displayName="Body";var Ke=ze,Te=d("Zm9Q");function gt(zt){return Object(Te.a)(zt).filter(function(Gr){return o.isValidElement(Gr)}).map(function(Gr){var nn=Gr.key,fn=Gr.props,Xe=fn.children,Ot=Object(w.a)(fn,["children"]),cr=Object(c.a)({key:nn},Ot);return Xe&&(cr.children=gt(Xe)),cr})}function Ue(zt){return zt.reduce(function(Gr,nn){var fn=nn.fixed,Xe=fn===!0?"left":fn,Ot=nn.children;return Ot&&Ot.length>0?[].concat(Object(e.a)(Gr),Object(e.a)(Ue(Ot).map(function(cr){return Object(c.a)({fixed:Xe},cr)}))):[].concat(Object(e.a)(Gr),[Object(c.a)(Object(c.a)({},nn),{},{fixed:Xe})])},[])}function bt(zt){for(var Gr=!0,nn=0;nn<zt.length;nn+=1){var fn=zt[nn];if(Gr&&fn.fixed!=="left")Gr=!1;else if(!Gr&&fn.fixed==="left"){Object(m.a)(!1,"Index ".concat(nn-1," of `columns` missing `fixed='left'` prop."));break}}for(var Xe=!0,Ot=zt.length-1;Ot>=0;Ot-=1){var cr=zt[Ot];if(Xe&&cr.fixed!=="right")Xe=!1;else if(!Xe&&cr.fixed==="right"){Object(m.a)(!1,"Index ".concat(Ot+1," of `columns` missing `fixed='right'` prop."));break}}}function wt(zt){return zt.map(function(Gr){var nn=Gr.fixed,fn=Object(w.a)(Gr,["fixed"]),Xe=nn;return nn==="left"?Xe="right":nn==="right"&&(Xe="left"),Object(c.a)({fixed:Xe},fn)})}function Et(zt,Gr){var nn=zt.prefixCls,fn=zt.columns,Xe=zt.children,Ot=zt.expandable,cr=zt.expandedKeys,lr=zt.getRowKey,Ir=zt.onTriggerExpand,Dr=zt.expandIcon,Wr=zt.rowExpandable,on=zt.expandIconColumnIndex,En=zt.direction,vn=zt.expandRowByClick,Dn=o.useMemo(function(){return fn||gt(Xe)},[fn,Xe]),Un=o.useMemo(function(){if(Ot){var Tn,Kn=on||0,Yn=Dn[Kn],ni=(Tn={},Object(n.a)(Tn,Ce,{className:"".concat(nn,"-expand-icon-col")}),Object(n.a)(Tn,"title",""),Object(n.a)(Tn,"fixed",Yn?Yn.fixed:null),Object(n.a)(Tn,"className","".concat(nn,"-row-expand-icon-cell")),Object(n.a)(Tn,"render",function(Oi,Bi,Si){var mi=lr(Bi,Si),Li=cr.has(mi),Wn=Wr?Wr(Bi):!0,Ri=Dr({prefixCls:nn,expanded:Li,expandable:Wn,record:Bi,onExpand:Ir});return vn?o.createElement("span",{onClick:function(yr){return yr.stopPropagation()}},Ri):Ri}),Tn),yi=Dn.slice();return Kn>=0&&yi.splice(Kn,0,ni),yi}return Dn},[Ot,Dn,lr,cr,Dr,En]),wn=o.useMemo(function(){var Tn=Un;return Gr&&(Tn=Gr(Tn)),Tn.length||(Tn=[{render:function(){return null}}]),Tn},[Gr,Un,En]),In=o.useMemo(function(){return En==="rtl"?wt(Ue(wn)):Ue(wn)},[wn,En]);return[wn,In]}var xt=Et,Tt=d("xEkU"),Be=d.n(Tt);function ce(zt){var Gr=Object(o.useRef)(zt),nn=Object(o.useState)({}),fn=Object(i.a)(nn,2),Xe=fn[1],Ot=Object(o.useRef)(null),cr=Object(o.useRef)([]);function lr(Ir){Ot.current===null&&(cr.current=[],Ot.current=Be()(function(){cr.current.forEach(function(Dr){Gr.current=Dr(Gr.current)}),Ot.current=null,Xe({})})),cr.current.push(Ir)}return Object(o.useEffect)(function(){return function(){Be.a.cancel(Ot.current)}},[]),[Gr.current,lr]}function q(zt){var Gr=Object(o.useRef)(zt),nn=Object(o.useRef)(null);function fn(){window.clearTimeout(nn.current)}function Xe(cr){Gr.current=cr,fn(),nn.current=window.setTimeout(function(){Gr.current=null,nn.current=null},100)}function Ot(){return Gr.current}return Object(o.useEffect)(function(){return fn},[]),[Xe,Ot]}function dt(zt,Gr,nn){var fn=Object(o.useMemo)(function(){for(var Xe=[],Ot=[],cr=0,lr=0,Ir=0;Ir<Gr;Ir+=1)if(nn==="rtl"){Ot[Ir]=lr,lr+=zt[Ir]||0;var Dr=Gr-Ir-1;Xe[Dr]=cr,cr+=zt[Dr]||0}else{Xe[Ir]=cr,cr+=zt[Ir]||0;var Wr=Gr-Ir-1;Ot[Wr]=lr,lr+=zt[Wr]||0}return{left:Xe,right:Ot}},[zt,Gr,nn]);return fn}var Ve=dt;function de(zt){var Gr=zt.className,nn=zt.children;return o.createElement("div",{className:Gr},nn)}var Ht=de;function tr(zt){var Gr=zt.className,nn=zt.index,fn=zt.children,Xe=zt.colSpan,Ot=zt.rowSpan,cr=o.useContext(X),lr=cr.prefixCls,Ir=cr.fixedInfoList,Dr=Ir[nn];return o.createElement(K,Object.assign({className:Gr,index:nn,component:"td",prefixCls:lr,record:null,dataIndex:null,render:function(){return{children:fn,props:{colSpan:Xe,rowSpan:Ot}}}},Dr))}function lt(zt){return o.createElement("tr",Object.assign({},zt))}function Xt(zt){var Gr=zt.children,nn=o.useContext(X),fn=nn.prefixCls;return o.createElement("tfoot",{className:"".concat(fn,"-summary")},Gr)}var sr=Xt,Kr={Cell:tr,Row:lt};function rr(zt){var Gr,nn=zt.prefixCls,fn=zt.record,Xe=zt.onExpand,Ot=zt.expanded,cr=zt.expandable,lr="".concat(nn,"-row-expand-icon");if(!cr)return o.createElement("span",{className:s()(lr,"".concat(nn,"-row-spaced"))});var Ir=function(Wr){Xe(fn,Wr),Wr.stopPropagation()};return o.createElement("span",{className:s()(lr,(Gr={},Object(n.a)(Gr,"".concat(nn,"-row-expanded"),Ot),Object(n.a)(Gr,"".concat(nn,"-row-collapsed"),!Ot),Gr)),onClick:Ir})}function nr(zt,Gr,nn){var fn=[];function Xe(Ot){(Ot||[]).forEach(function(cr,lr){fn.push(Gr(cr,lr)),Xe(cr[nn])})}return Xe(zt),fn}var Nt=d("zT1h"),ot=d("y0+3"),Qe=function(Gr,nn){var fn,Xe,Ot=Gr.scrollBodyRef,cr=Gr.onScroll,lr=Gr.offsetScroll,Ir=o.useContext(X),Dr=Ir.prefixCls,Wr=((fn=Ot.current)===null||fn===void 0?void 0:fn.scrollWidth)||0,on=((Xe=Ot.current)===null||Xe===void 0?void 0:Xe.clientWidth)||0,En=Wr&&on*(on/Wr),vn=o.useRef(),Dn=ce({scrollLeft:0,isHiddenScrollBar:!1}),Un=Object(i.a)(Dn,2),wn=Un[0],In=Un[1],Tn=o.useRef({delta:0,x:0}),Kn=o.useState(!1),Yn=Object(i.a)(Kn,2),ni=Yn[0],yi=Yn[1],li=function(){yi(!1)},Oi=function(Wn){Wn.persist(),Tn.current.delta=Wn.pageX-wn.scrollLeft,Tn.current.x=0,yi(!0),Wn.preventDefault()},Bi=function(Wn){var Ri,zi=Wn||((Ri=window)===null||Ri===void 0?void 0:Ri.event),yr=zi.buttons;if(!ni||yr===0){ni&&yi(!1);return}var Mr=Tn.current.x+Wn.pageX-Tn.current.x-Tn.current.delta;Mr<=0&&(Mr=0),Mr+En>=on&&(Mr=on-En),cr({scrollLeft:Mr/on*(Wr+2)}),Tn.current.x=Wn.pageX},Si=function(){var Wn=Object(ot.b)(Ot.current).top,Ri=Wn+Ot.current.offsetHeight,zi=document.documentElement.scrollTop+window.innerHeight;Ri-Object(g.a)()<=zi||Wn>=zi-lr?In(function(yr){return Object(c.a)(Object(c.a)({},yr),{},{isHiddenScrollBar:!0})}):In(function(yr){return Object(c.a)(Object(c.a)({},yr),{},{isHiddenScrollBar:!1})})},mi=function(Wn){In(function(Ri){return Object(c.a)(Object(c.a)({},Ri),{},{scrollLeft:Wn/Wr*on||0})})};return o.useImperativeHandle(nn,function(){return{setScrollLeft:mi}}),o.useEffect(function(){var Li=Object(Nt.a)(document.body,"mouseup",li,!1),Wn=Object(Nt.a)(document.body,"mousemove",Bi,!1);return Si(),function(){Li.remove(),Wn.remove()}},[En,ni]),o.useEffect(function(){var Li=Object(Nt.a)(window,"scroll",Si,!1),Wn=Object(Nt.a)(window,"resize",Si,!1);return function(){Li.remove(),Wn.remove()}},[]),o.useEffect(function(){wn.isHiddenScrollBar||In(function(Li){var Wn,Ri;return Object(c.a)(Object(c.a)({},Li),{},{scrollLeft:Ot.current.scrollLeft/((Wn=Ot.current)===null||Wn===void 0?void 0:Wn.scrollWidth)*((Ri=Ot.current)===null||Ri===void 0?void 0:Ri.clientWidth)})})},[wn.isHiddenScrollBar]),Wr<=on||!En||wn.isHiddenScrollBar?null:o.createElement("div",{style:{height:Object(g.a)(),width:on,bottom:lr},className:"".concat(Dr,"-sticky-scroll")},o.createElement("div",{onMouseDown:Oi,ref:vn,className:s()("".concat(Dr,"-sticky-scroll-bar"),Object(n.a)({},"".concat(Dr,"-sticky-scroll-bar-active"),ni)),style:{width:"".concat(En,"px"),transform:"translate3d(".concat(wn.scrollLeft,"px, 0, 0)")}}))},qt=o.forwardRef(Qe);function xr(zt,Gr){return o.useMemo(function(){var nn=!!zt;return{isSticky:nn,stickyClassName:nn?"".concat(Gr,"-sticky-header"):"",offsetHeader:Object(a.a)(zt)==="object"&&zt.offsetHeader||0,offsetScroll:Object(a.a)(zt)==="object"&&zt.offsetScroll||0}},[zt,Gr])}var vr=[],fr={},An="rc-table-internal-hook",$r=o.memo(function(zt){var Gr=zt.children;return Gr},function(zt,Gr){return f()(zt.props,Gr.props)?zt.pingLeft!==Gr.pingLeft||zt.pingRight!==Gr.pingRight:!1});function Ln(zt){var Gr,nn=zt.prefixCls,fn=zt.className,Xe=zt.rowClassName,Ot=zt.style,cr=zt.data,lr=zt.rowKey,Ir=zt.scroll,Dr=zt.tableLayout,Wr=zt.direction,on=zt.title,En=zt.footer,vn=zt.summary,Dn=zt.id,Un=zt.showHeader,wn=zt.components,In=zt.emptyText,Tn=zt.onRow,Kn=zt.onHeaderRow,Yn=zt.internalHooks,ni=zt.transformColumns,yi=zt.internalRefs,li=zt.sticky,Oi=cr||vr,Bi=!!Oi.length,Si=o.useState(0),mi=Object(i.a)(Si,2),Li=mi[0],Wn=mi[1];o.useEffect(function(){Wn(Object(g.a)())});var Ri=o.useMemo(function(){return k(wn,{})},[wn]),zi=o.useCallback(function(no,Ao){return R(Ri,no)||Ao},[Ri]),yr=o.useMemo(function(){return typeof lr=="function"?lr:function(no){var Ao=no&&no[lr];return Ao}},[lr]),Mr=he(zt),Qr=Mr.expandIcon,_r=Mr.expandedRowKeys,Vt=Mr.defaultExpandedRowKeys,Sr=Mr.defaultExpandAllRows,Zt=Mr.expandedRowRender,Ur=Mr.onExpand,Hr=Mr.onExpandedRowsChange,pn=Mr.expandRowByClick,sn=Mr.rowExpandable,yn=Mr.expandIconColumnIndex,Fn=Mr.expandedRowClassName,Gn=Mr.childrenColumnName,Jn=Mr.indentSize,Ci=Qr||rr,ta=Gn||"children",oa=o.useMemo(function(){return Zt?"row":zt.expandable&&Yn===An&&zt.expandable.__PARENT_RENDER_ICON__||Oi.some(function(no){return no&&Object(a.a)(no)==="object"&&no[ta]})?"nest":!1},[!!Zt,Oi]),da=o.useState(function(){return Vt||(Sr?nr(Oi,yr,ta):[])}),ca=Object(i.a)(da,2),ma=ca[0],Ui=ca[1],Ni=o.useMemo(function(){return new Set(_r||ma||[])},[_r,ma]),ra=o.useCallback(function(no){var Ao=yr(no,Oi.indexOf(no)),Fo,ns=Ni.has(Ao);ns?(Ni.delete(Ao),Fo=Object(e.a)(Ni)):Fo=[].concat(Object(e.a)(Ni),[Ao]),Ui(Fo),Ur&&Ur(!ns,no),Hr&&Hr(Fo)},[yr,Ni,Oi,Ur,Hr]),qi=o.useState(0),va=Object(i.a)(qi,2),Oa=va[0],Zi=va[1],Xi=xt(Object(c.a)(Object(c.a)(Object(c.a)({},zt),Mr),{},{expandable:!!Zt,expandedKeys:Ni,getRowKey:yr,onTriggerExpand:ra,expandIcon:Ci,expandIconColumnIndex:yn,direction:Wr}),Yn===An?ni:null),La=Object(i.a)(Xi,2),Aa=La[0],Ti=La[1],Sa=o.useMemo(function(){return{columns:Aa,flattenColumns:Ti}},[Aa,Ti]),Ra=o.useRef(),Na=o.useRef(),Ua=o.useRef(),Pa=o.useState(!1),za=Object(i.a)(Pa,2),xa=za[0],ja=za[1],io=o.useState(!1),ia=Object(i.a)(io,2),lo=ia[0],Ga=ia[1],Ca=ce(new Map),Qa=Object(i.a)(Ca,2),Da=Qa[0],Ia=Qa[1],yo=P(Ti),ao=yo.map(function(no){return Da.get(no)}),bo=o.useMemo(function(){return ao},[ao.join("_")]),co=Ve(bo,Ti.length,Wr),uo=Ir&&U(Ir.y),Ya=Ir&&U(Ir.x),eo=Ya&&Ti.some(function(no){var Ao=no.fixed;return Ao}),wa=o.useRef(),ro=xr(li,nn),fo=ro.isSticky,ki=ro.offsetHeader,Ma=ro.offsetScroll,Ro=ro.stickyClassName,jo,Vo,Xo;uo&&(Vo={overflowY:"scroll",maxHeight:Ir.y}),Ya&&(jo={overflowX:"auto"},uo||(Vo={overflowY:"hidden"}),Xo={width:Ir.x===!0?"auto":Ir.x,minWidth:"100%"});var wo=o.useCallback(function(no,Ao){Ia(function(Fo){var ns=new Map(Fo);return ns.set(no,Ao),ns})},[]),_a=q(null),Po=Object(i.a)(_a,2),ds=Po[0],ho=Po[1];function Oo(no,Ao){if(!Ao)return;typeof Ao=="function"?Ao(no):Ao.scrollLeft!==no&&(Ao.scrollLeft=no)}var Ka=function(Ao){var Fo=Ao.currentTarget,ns=Ao.scrollLeft,ys=typeof ns=="number"?ns:Fo.scrollLeft,ms=Fo||fr;if(!ho()||ho()===ms){var _s;ds(ms),Oo(ys,Na.current),Oo(ys,Ua.current),Oo(ys,(_s=wa.current)===null||_s===void 0?void 0:_s.setScrollLeft)}if(Fo){var ol=Fo.scrollWidth,Ls=Fo.clientWidth;ja(ys>0),Ga(ys<ol-Ls)}},Go=function(){Ua.current&&Ka({currentTarget:Ua.current})},nl=function(Ao){var Fo=Ao.width;Go(),Zi(Ra.current?Ra.current.offsetWidth:Fo)};o.useEffect(function(){return Go},[]),o.useEffect(function(){Ya&&Go()},[Ya]),o.useEffect(function(){Yn===An&&yi&&(yi.body.current=Ua.current)});var Ts=zi(["table"],"table"),Is=o.useMemo(function(){return Dr||(eo?Ir.x==="max-content"?"auto":"fixed":uo||Ti.some(function(no){var Ao=no.ellipsis;return Ao})?"fixed":"auto")},[uo,eo,Ti,Dr]),xs,ps={colWidths:bo,columCount:Ti.length,stickyOffsets:co,onHeaderRow:Kn,fixHeader:uo},Os=o.useMemo(function(){return Bi?null:typeof In=="function"?In():In},[Bi,In]),Ho=o.createElement(Ke,{data:Oi,measureColumnWidth:uo||Ya||fo,expandedKeys:Ni,rowExpandable:sn,getRowKey:yr,onRow:Tn,emptyNode:Os,childrenColumnName:ta}),mo=o.createElement(ee,{colWidths:Ti.map(function(no){var Ao=no.width;return Ao}),columns:Ti}),es=vn&&o.createElement(sr,null,vn(Oi)),Ko=zi(["body"]);if(uo||fo){var ko;typeof Ko=="function"?(ko=Ko(Oi,{scrollbarSize:Li,ref:Ua,onScroll:Ka}),ps.colWidths=Ti.map(function(no,Ao){var Fo=no.width,ns=Ao===Aa.length-1?Fo-Li:Fo;return typeof ns=="number"&&!Number.isNaN(ns)?ns:(Object(m.a)(!1,"When use `components.body` with render props. Each column should have a fixed value."),0)})):ko=o.createElement("div",{style:Object(c.a)(Object(c.a)({},jo),Vo),onScroll:Ka,ref:Ua,className:s()("".concat(nn,"-body"))},o.createElement(Ts,{style:Object(c.a)(Object(c.a)({},Xo),{},{tableLayout:Is})},mo,Ho,es),fo&&o.createElement(qt,{ref:wa,offsetScroll:Ma,scrollBodyRef:Ua,onScroll:Ka})),xs=o.createElement(o.Fragment,null,Un!==!1&&o.createElement(Ne,Object.assign({noData:!Oi.length},ps,Sa,{direction:Wr,offsetHeader:ki,stickyClassName:Ro,ref:Na,onScroll:Ka})),ko)}else xs=o.createElement("div",{style:Object(c.a)(Object(c.a)({},jo),Vo),className:s()("".concat(nn,"-content")),onScroll:Ka,ref:Ua},o.createElement(Ts,{style:Object(c.a)(Object(c.a)({},Xo),{},{tableLayout:Is})},mo,Un!==!1&&o.createElement(se,Object.assign({},ps,Sa)),Ho,es));var zr=xe(zt),Yo=o.createElement("div",Object.assign({className:s()(nn,fn,(Gr={},Object(n.a)(Gr,"".concat(nn,"-rtl"),Wr==="rtl"),Object(n.a)(Gr,"".concat(nn,"-ping-left"),xa),Object(n.a)(Gr,"".concat(nn,"-ping-right"),lo),Object(n.a)(Gr,"".concat(nn,"-layout-fixed"),Dr==="fixed"),Object(n.a)(Gr,"".concat(nn,"-fixed-header"),uo),Object(n.a)(Gr,"".concat(nn,"-fixed-column"),eo),Object(n.a)(Gr,"".concat(nn,"-scroll-horizontal"),Ya),Object(n.a)(Gr,"".concat(nn,"-has-fix-left"),Ti[0]&&Ti[0].fixed),Object(n.a)(Gr,"".concat(nn,"-has-fix-right"),Ti[Ti.length-1]&&Ti[Ti.length-1].fixed==="right"),Gr)),style:Ot,id:Dn,ref:Ra},zr),o.createElement($r,{pingLeft:xa,pingRight:lo,props:Object(c.a)(Object(c.a)({},zt),{},{stickyOffsets:co,mergedExpandedKeys:Ni})},on&&o.createElement(Ht,{className:"".concat(nn,"-title")},on(Oi)),o.createElement("div",{className:"".concat(nn,"-container")},xs),En&&o.createElement(Ht,{className:"".concat(nn,"-footer")},En(Oi))));Ya&&(Yo=o.createElement(A.a,{onResize:nl},Yo));var il=o.useMemo(function(){return{prefixCls:nn,getComponent:zi,scrollbarSize:Li,direction:Wr,fixedInfoList:Ti.map(function(no,Ao){return V(Ao,Ao,Ti,co,Wr)}),isSticky:fo}},[nn,zi,Li,Wr,Ti,co,Wr,fo]),Ks=o.useMemo(function(){return Object(c.a)(Object(c.a)({},Sa),{},{tableLayout:Is,rowClassName:Xe,expandedRowClassName:Fn,componentWidth:Oa,fixHeader:uo,fixColumn:eo,horizonScroll:Ya,expandIcon:Ci,expandableType:oa,expandRowByClick:pn,expandedRowRender:Zt,onTriggerExpand:ra,expandIconColumnIndex:yn,indentSize:Jn})},[Sa,Is,Xe,Fn,Oa,uo,eo,Ya,Ci,oa,pn,Zt,ra,yn,Jn]),Ps=o.useMemo(function(){return{onColumnResize:wo}},[wo]);return o.createElement(X.Provider,{value:il},o.createElement(Ye.Provider,{value:Ks},o.createElement(ae.Provider,{value:Ps},Yo)))}Ln.Column=y,Ln.ColumnGroup=b,Ln.Summary=Kr,Ln.defaultProps={rowKey:"key",prefixCls:"rc-table",emptyText:function(){return"No Data"}};var $e=Ln,tt=$e,ve=d("W9HT"),_e=d("NUBc"),ke=d("H84U"),rt=function(zt,Gr){var nn={};for(var fn in zt)Object.prototype.hasOwnProperty.call(zt,fn)&&Gr.indexOf(fn)<0&&(nn[fn]=zt[fn]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,fn=Object.getOwnPropertySymbols(zt);Xe<fn.length;Xe++)Gr.indexOf(fn[Xe])<0&&Object.prototype.propertyIsEnumerable.call(zt,fn[Xe])&&(nn[fn[Xe]]=zt[fn[Xe]]);return nn},Wt=10;function Bt(zt,Gr){var nn={current:Gr.current,pageSize:Gr.pageSize},fn=zt&&_()(zt)==="object"?zt:{};return Object.keys(fn).forEach(function(Xe){var Ot=Gr[Xe];typeof Ot!="function"&&(nn[Xe]=Ot)}),nn}function Gt(){for(var zt={},Gr=arguments.length,nn=new Array(Gr),fn=0;fn<Gr;fn++)nn[fn]=arguments[fn];return nn.forEach(function(Xe){Xe&&Object.keys(Xe).forEach(function(Ot){var cr=Xe[Ot];cr!==void 0&&(zt[Ot]=cr)})}),zt}function Rr(zt,Gr,nn){var fn=Gr&&_()(Gr)==="object"?Gr:{},Xe=fn.total,Ot=Xe===void 0?0:Xe,cr=rt(fn,["total"]),lr=Object(o.useState)(function(){return{current:"defaultCurrent"in cr?cr.defaultCurrent:1,pageSize:"defaultPageSize"in cr?cr.defaultPageSize:Wt}}),Ir=t()(lr,2),Dr=Ir[0],Wr=Ir[1],on=Gt(Dr,cr,{total:Ot>0?Ot:zt});if(!Ot){var En=Math.ceil(zt/on.pageSize);En<on.current&&(on.current=1)}var vn=function(){var wn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,In=arguments.length>1?arguments[1]:void 0;Wr(h()(h()({},on),{current:wn,pageSize:In||on.pageSize}))},Dn=function(wn,In){var Tn=on==null?void 0:on.pageSize;In&&In!==Tn&&(wn=1,Gr&&Gr.onShowSizeChange&&Gr.onShowSizeChange(wn,In)),Gr&&Gr.onChange&&Gr.onChange(wn,In),vn(wn,In),nn(wn,In||Tn)};return Gr===!1?[{},function(){}]:[h()(h()({},on),{onChange:Dn}),vn]}function Pr(zt,Gr,nn){var fn=o.useRef({});function Xe(Ot){if(!fn.current||fn.current.data!==zt||fn.current.childrenColumnName!==Gr||fn.current.getRowKey!==nn){var cr=function Ir(Dr){Dr.forEach(function(Wr,on){var En=nn(Wr,on);lr.set(En,Wr),Wr&&_()(Wr)==="object"&&Gr in Wr&&Ir(Wr[Gr]||[])})},lr=new Map;cr(zt),fn.current={data:zt,childrenColumnName:Gr,kvMap:lr,getRowKey:nn}}return fn.current.kvMap.get(Ot)}return[Xe]}var cn=d("SA+Z"),Ut=d.n(cn),pt=d("RIqP"),ct=d.n(pt),Qt=d("HQEm"),Jt=d.n(Qt),yt=d("815F"),Pt=d("NvD2"),At=d("OZM5"),Ft=d("6cGi"),pr=d("kaz8"),or=d("jsC+"),ir=d("BvKs"),Yr=d("9yH6"),Jr=d("uaoM"),_n="SELECT_ALL",Nn="SELECT_INVERT";function zn(zt){return zt&&zt.fixed}function ei(zt,Gr){var nn=[];return(zt||[]).forEach(function(fn){nn.push(fn),fn&&_()(fn)==="object"&&Gr in fn&&(nn=[].concat(ct()(nn),ct()(ei(fn[Gr],Gr))))}),nn}function vi(zt,Gr){var nn=zt||{},fn=nn.preserveSelectedRowKeys,Xe=nn.selectedRowKeys,Ot=nn.getCheckboxProps,cr=nn.onChange,lr=nn.onSelect,Ir=nn.onSelectAll,Dr=nn.onSelectInvert,Wr=nn.onSelectMultiple,on=nn.columnWidth,En=nn.type,vn=nn.selections,Dn=nn.fixed,Un=nn.renderCell,wn=nn.hideSelectAll,In=nn.checkStrictly,Tn=In===void 0?!0:In,Kn=Gr.prefixCls,Yn=Gr.data,ni=Gr.pageData,yi=Gr.getRecordByKey,li=Gr.getRowKey,Oi=Gr.expandType,Bi=Gr.childrenColumnName,Si=Gr.locale,mi=Gr.expandIconColumnIndex,Li=Gr.getPopupContainer,Wn=o.useRef(new Map),Ri=Object(Ft.a)(Xe||[],{value:Xe}),zi=t()(Ri,2),yr=zi[0],Mr=zi[1],Qr=Object(o.useMemo)(function(){return Tn?{keyEntities:null}:Object(yt.a)(Yn,void 0,li)},[Yn,li,Tn]),_r=Qr.keyEntities,Vt=Object(o.useMemo)(function(){return ei(ni,Bi)},[ni,Bi]),Sr=Object(o.useMemo)(function(){var Ui=new Map;return Vt.forEach(function(Ni,ra){var qi=li(Ni,ra),va=(Ot?Ot(Ni):null)||{};Ui.set(qi,va)}),Ui},[Vt,li,Ot]),Zt=Object(o.useCallback)(function(Ui){var Ni;return!!((Ni=Sr.get(li(Ui)))===null||Ni===void 0?void 0:Ni.disabled)},[Sr,li]),Ur=Object(o.useMemo)(function(){if(Tn)return[yr,[]];var Ui=Object(Pt.a)(yr,!0,_r,Zt),Ni=Ui.checkedKeys,ra=Ui.halfCheckedKeys;return[Ni,ra]},[yr,Tn,_r,Zt]),Hr=t()(Ur,2),pn=Hr[0],sn=Hr[1],yn=Object(o.useMemo)(function(){var Ui=En==="radio"?pn.slice(0,1):pn;return new Set(Ui)},[pn,En]),Fn=Object(o.useMemo)(function(){return En==="radio"?new Set:new Set(sn)},[sn,En]),Gn=Object(o.useState)(null),Jn=t()(Gn,2),Ci=Jn[0],ta=Jn[1];o.useEffect(function(){zt||Mr([])},[!!zt]);var oa=Object(o.useCallback)(function(Ui){var Ni,ra;if(fn){var qi=new Map;Ni=Ui,ra=Ui.map(function(va){var Oa=yi(va);return!Oa&&Wn.current.has(va)&&(Oa=Wn.current.get(va)),qi.set(va,Oa),Oa}),Wn.current=qi}else Ni=[],ra=[],Ui.forEach(function(va){var Oa=yi(va);Oa!==void 0&&(Ni.push(va),ra.push(Oa))});Mr(Ni),cr&&cr(Ni,ra)},[Mr,yi,cr,fn]),da=Object(o.useCallback)(function(Ui,Ni,ra,qi){if(lr){var va=ra.map(function(Oa){return yi(Oa)});lr(yi(Ui),Ni,va,qi)}oa(ra)},[lr,yi,oa]),ca=Object(o.useMemo)(function(){if(!vn||wn)return null;var Ui=vn===!0?[_n,Nn]:vn;return Ui.map(function(Ni){return Ni===_n?{key:"all",text:Si.selectionAll,onSelect:function(){oa(Yn.map(function(qi,va){return li(qi,va)}))}}:Ni===Nn?{key:"invert",text:Si.selectInvert,onSelect:function(){var qi=new Set(yn);ni.forEach(function(Oa,Zi){var Xi=li(Oa,Zi);qi.has(Xi)?qi.delete(Xi):qi.add(Xi)});var va=Array.from(qi);oa(va),Dr&&(Object(Jr.a)(!1,"Table","`onSelectInvert` will be removed in future. Please use `onChange` instead."),Dr(va))}}:Ni})},[vn,yn,ni,li,Dr,oa]),ma=Object(o.useCallback)(function(Ui){if(!zt)return Ui;var Ni=new Set(yn),ra=Vt.map(li).filter(function(xa){return!Sr.get(xa).disabled}),qi=ra.every(function(xa){return Ni.has(xa)}),va=ra.some(function(xa){return Ni.has(xa)}),Oa=function(){var ja=[];qi?ra.forEach(function(ia){Ni.delete(ia),ja.push(ia)}):ra.forEach(function(ia){Ni.has(ia)||(Ni.add(ia),ja.push(ia))});var io=Array.from(Ni);oa(io),Ir&&Ir(!qi,io.map(function(ia){return yi(ia)}),ja.map(function(ia){return yi(ia)}))},Zi;if(En!=="radio"){var Xi;if(ca){var La=o.createElement(ir.a,{getPopupContainer:Li},ca.map(function(xa,ja){var io=xa.key,ia=xa.text,lo=xa.onSelect;return o.createElement(ir.a.Item,{key:io||ja,onClick:function(){lo&&lo(ra)}},ia)}));Xi=o.createElement("div",{className:"".concat(Kn,"-selection-extra")},o.createElement(or.a,{overlay:La,getPopupContainer:Li},o.createElement("span",null,o.createElement(Jt.a,null))))}var Aa=Vt.every(function(xa,ja){var io=li(xa,ja),ia=Sr.get(io)||{};return ia.disabled});Zi=!wn&&o.createElement("div",{className:"".concat(Kn,"-selection")},o.createElement(pr.a,{checked:!Aa&&!!Vt.length&&qi,indeterminate:!qi&&va,onChange:Oa,disabled:Vt.length===0||Aa}),Xi)}var Ti;En==="radio"?Ti=function(ja,io,ia){var lo=li(io,ia),Ga=Ni.has(lo);return{node:o.createElement(Yr.a,h()({},Sr.get(lo),{checked:Ga,onClick:function(Qa){return Qa.stopPropagation()},onChange:function(Qa){Ni.has(lo)||da(lo,!0,[lo],Qa.nativeEvent)}})),checked:Ga}}:Ti=function(ja,io,ia){var lo,Ga=li(io,ia),Ca=Ni.has(Ga),Qa=Fn.has(Ga),Da=Sr.get(Ga),Ia;return Oi==="nest"?(Ia=Qa,Object(Jr.a)(!(typeof(Da==null?void 0:Da.indeterminate)=="boolean"),"Table","set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")):Ia=(lo=Da==null?void 0:Da.indeterminate)!==null&&lo!==void 0?lo:Qa,{node:o.createElement(pr.a,h()({},Da,{indeterminate:Ia,checked:Ca,onClick:function(ao){return ao.stopPropagation()},onChange:function(ao){var bo=ao.nativeEvent,co=bo.shiftKey,uo=-1,Ya=-1;if(co&&Tn){var eo=new Set([Ci,Ga]);ra.some(function(_a,Po){if(eo.has(_a))if(uo===-1)uo=Po;else return Ya=Po,!0;return!1})}if(Ya!==-1&&uo!==Ya&&Tn){var wa=ra.slice(uo,Ya+1),ro=[];Ca?wa.forEach(function(_a){Ni.has(_a)&&(ro.push(_a),Ni.delete(_a))}):wa.forEach(function(_a){Ni.has(_a)||(ro.push(_a),Ni.add(_a))});var fo=Array.from(Ni);oa(fo),Wr&&Wr(!Ca,fo.map(function(_a){return yi(_a)}),ro.map(function(_a){return yi(_a)}))}else{var ki=pn;if(Tn){var Ma=Ca?Object(At.b)(ki,Ga):Object(At.a)(ki,Ga);da(Ga,!Ca,Ma,bo)}else{var Ro=Object(Pt.a)([].concat(ct()(ki),[Ga]),!0,_r,Zt),jo=Ro.checkedKeys,Vo=Ro.halfCheckedKeys,Xo=jo;if(Ca){var wo=new Set(jo);wo.delete(Ga),Xo=Object(Pt.a)(Array.from(wo),{checked:!1,halfCheckedKeys:Vo},_r,Zt).checkedKeys}da(Ga,!Ca,Xo,bo)}}ta(Ga)}})),checked:Ca}};var Sa=function(ja,io,ia){var lo=Ti(ja,io,ia),Ga=lo.node,Ca=lo.checked;return Un?Un(Ca,io,ia,Ga):Ga},Ra=E()({width:on,className:"".concat(Kn,"-selection-column"),title:zt.columnTitle||Zi,render:Sa},Ce,{className:"".concat(Kn,"-selection-col")});if(Oi==="row"&&Ui.length&&!mi){var Na=Ut()(Ui),Ua=Na[0],Pa=Na.slice(1),za=Dn||zn(Pa[0]);return za&&(Ua.fixed=za),[Ua,h()(h()({},Ra),{fixed:za})].concat(ct()(Pa))}return[h()(h()({},Ra),{fixed:Dn||zn(Ui[0])})].concat(ct()(Ui))},[li,Vt,zt,pn,yn,Fn,on,ca,Oi,Ci,Sr,Wr,da,Zt]);return[ma,yn]}var Pi=d("6SEX"),Ge=d.n(Pi),we=d("i8CU"),Le=d.n(we),De=d("3S7+");function We(zt,Gr){return"key"in zt&&zt.key!==void 0&&zt.key!==null?zt.key:zt.dataIndex?Array.isArray(zt.dataIndex)?zt.dataIndex.join("."):zt.dataIndex:Gr}function Fe(zt,Gr){return Gr?"".concat(Gr,"-").concat(zt):"".concat(zt)}function Je(zt,Gr){return typeof zt=="function"?zt(Gr):zt}var vt="ascend",st="descend";function kt(zt){return _()(zt.sorter)==="object"&&typeof zt.sorter.multiple=="number"?zt.sorter.multiple:!1}function wr(zt){return typeof zt=="function"?zt:zt&&_()(zt)==="object"&&zt.compare?zt.compare:!1}function hr(zt,Gr){return Gr?zt[zt.indexOf(Gr)+1]:zt[0]}function Nr(zt,Gr,nn){var fn=[];function Xe(Ot,cr){fn.push({column:Ot,key:We(Ot,cr),multiplePriority:kt(Ot),sortOrder:Ot.sortOrder})}return(zt||[]).forEach(function(Ot,cr){var lr=Fe(cr,nn);Ot.children?("sortOrder"in Ot&&Xe(Ot,lr),fn=[].concat(ct()(fn),ct()(Nr(Ot.children,Gr,lr)))):Ot.sorter&&("sortOrder"in Ot?Xe(Ot,lr):Gr&&Ot.defaultSortOrder&&fn.push({column:Ot,key:We(Ot,lr),multiplePriority:kt(Ot),sortOrder:Ot.defaultSortOrder}))}),fn}function Kt(zt,Gr,nn,fn,Xe,Ot,cr,lr){return(Gr||[]).map(function(Ir,Dr){var Wr=Fe(Dr,lr),on=Ir;if(on.sorter){var En=on.sortDirections||Xe,vn=on.showSorterTooltip===void 0?cr:on.showSorterTooltip,Dn=We(on,Wr),Un=nn.find(function(Bi){var Si=Bi.key;return Si===Dn}),wn=Un?Un.sortOrder:null,In=hr(En,wn),Tn=En.includes(vt)&&o.createElement(Le.a,{className:s()("".concat(zt,"-column-sorter-up"),{active:wn===vt})}),Kn=En.includes(st)&&o.createElement(Ge.a,{className:s()("".concat(zt,"-column-sorter-down"),{active:wn===st})}),Yn=Ot||{},ni=Yn.cancelSort,yi=Yn.triggerAsc,li=Yn.triggerDesc,Oi=ni;In===st?Oi=li:In===vt&&(Oi=yi),on=h()(h()({},on),{className:s()(on.className,E()({},"".concat(zt,"-column-sort"),wn)),title:function(Si){var mi=o.createElement("div",{className:"".concat(zt,"-column-sorters")},o.createElement("span",null,Je(Ir.title,Si)),o.createElement("span",{className:s()("".concat(zt,"-column-sorter"),E()({},"".concat(zt,"-column-sorter-full"),Tn&&Kn))},o.createElement("span",{className:"".concat(zt,"-column-sorter-inner")},Tn,Kn)));return vn?o.createElement(De.a,{title:Oi},o.createElement("div",{className:"".concat(zt,"-column-sorters-with-tooltip")},mi)):mi},onHeaderCell:function(Si){var mi=Ir.onHeaderCell&&Ir.onHeaderCell(Si)||{},Li=mi.onClick;return mi.onClick=function(Wn){fn({column:Ir,key:Dn,sortOrder:In,multiplePriority:kt(Ir)}),Li&&Li(Wn)},mi.className=s()(mi.className,"".concat(zt,"-column-has-sorters")),mi}})}return"children"in on&&(on=h()(h()({},on),{children:Kt(zt,on.children,nn,fn,Xe,Ot,cr,Wr)})),on})}function un(zt){var Gr=zt.column,nn=zt.sortOrder;return{column:Gr,order:nn,field:Gr.dataIndex,columnKey:Gr.key}}function ar(zt){var Gr=zt.filter(function(nn){var fn=nn.sortOrder;return fn}).map(un);return Gr.length===0&&zt.length?h()(h()({},un(zt[zt.length-1])),{column:void 0}):Gr.length<=1?Gr[0]||{}:Gr}function Xr(zt,Gr,nn){var fn=Gr.slice().sort(function(cr,lr){return lr.multiplePriority-cr.multiplePriority}),Xe=zt.slice(),Ot=fn.filter(function(cr){var lr=cr.column.sorter,Ir=cr.sortOrder;return wr(lr)&&Ir});return Ot.length?Xe.sort(function(cr,lr){for(var Ir=0;Ir<Ot.length;Ir+=1){var Dr=Ot[Ir],Wr=Dr.column.sorter,on=Dr.sortOrder,En=wr(Wr);if(En&&on){var vn=En(cr,lr,on);if(vn!==0)return on===vt?vn:-vn}}return 0}).map(function(cr){var lr=cr[nn];return lr?h()(h()({},cr),E()({},nn,Xr(lr,Gr,nn))):cr}):Xe}function kr(zt){var Gr=zt.prefixCls,nn=zt.mergedColumns,fn=zt.onSorterChange,Xe=zt.sortDirections,Ot=zt.tableLocale,cr=zt.showSorterTooltip,lr=o.useState(Nr(nn,!0)),Ir=t()(lr,2),Dr=Ir[0],Wr=Ir[1],on=o.useMemo(function(){var wn=!0,In=Nr(nn,!1);if(!In.length)return Dr;var Tn=[];function Kn(ni){wn?Tn.push(ni):Tn.push(h()(h()({},ni),{sortOrder:null}))}var Yn=null;return In.forEach(function(ni){Yn===null?(Kn(ni),ni.sortOrder&&(ni.multiplePriority===!1?wn=!1:Yn=!0)):(Yn&&ni.multiplePriority!==!1||(wn=!1),Kn(ni))}),Tn},[nn,Dr]),En=o.useMemo(function(){var wn=on.map(function(In){var Tn=In.column,Kn=In.sortOrder;return{column:Tn,order:Kn}});return{sortColumns:wn,sortColumn:wn[0]&&wn[0].column,sortOrder:wn[0]&&wn[0].order}},[on]);function vn(wn){var In;wn.multiplePriority===!1||!on.length||on[0].multiplePriority===!1?In=[wn]:In=[].concat(ct()(on.filter(function(Tn){var Kn=Tn.key;return Kn!==wn.key})),[wn]),Wr(In),fn(ar(In),In)}var Dn=function(In){return Kt(Gr,In,on,vn,Xe,Ot,cr)},Un=function(){return ar(on)};return[Dn,on,En,Un]}var gr=d("Y+p1"),Sn=d.n(gr),Pn=d("5Uyt"),ii=d.n(Pn),oi=d("2/Rp"),ti=d("ECub"),bi=function(Gr){return o.createElement("div",{className:Gr.className,onClick:function(fn){return fn.stopPropagation()}},Gr.children)},Bn=bi,_i=d("sPtV"),gn=ir.a.SubMenu,Vr=ir.a.Item;function xn(zt){return zt.some(function(Gr){var nn=Gr.children;return nn})}function tn(zt){var Gr=zt.filters,nn=zt.prefixCls,fn=zt.filteredKeys,Xe=zt.filterMultiple,Ot=zt.locale;return Gr.length===0?o.createElement(o.Fragment,null,o.createElement(ti.a,{image:ti.a.PRESENTED_IMAGE_SIMPLE,description:Ot.filterEmptyText,style:{margin:"16px 0"},imageStyle:{height:24}})):Gr.map(function(cr,lr){var Ir=String(cr.value);if(cr.children)return o.createElement(gn,{key:Ir||lr,title:cr.text,popupClassName:"".concat(nn,"-dropdown-submenu")},tn({filters:cr.children,prefixCls:nn,filteredKeys:fn,filterMultiple:Xe,locale:Ot}));var Dr=Xe?pr.a:Yr.a;return o.createElement(Vr,{key:cr.value!==void 0?Ir:lr},o.createElement(Dr,{checked:fn.includes(Ir)}),o.createElement("span",null,cr.text))})}function ui(zt){var Gr,nn=zt.prefixCls,fn=zt.column,Xe=zt.dropdownPrefixCls,Ot=zt.columnKey,cr=zt.filterMultiple,lr=zt.filterState,Ir=zt.triggerFilter,Dr=zt.locale,Wr=zt.children,on=zt.getPopupContainer,En=fn.filterDropdownVisible,vn=fn.onFilterDropdownVisibleChange,Dn=o.useState(!1),Un=t()(Dn,2),wn=Un[0],In=Un[1],Tn=!!(lr&&(((Gr=lr.filteredKeys)===null||Gr===void 0?void 0:Gr.length)||lr.forceFiltered)),Kn=function(Jn){In(Jn),vn&&vn(Jn)},Yn=typeof En=="boolean"?En:wn,ni=lr&&lr.filteredKeys,yi=Object(_i.a)(ni||[]),li=t()(yi,2),Oi=li[0],Bi=li[1],Si=function(Jn){var Ci=Jn.selectedKeys;Bi(Ci)};o.useEffect(function(){Si({selectedKeys:ni||[]})},[ni]);var mi=o.useState([]),Li=t()(mi,2),Wn=Li[0],Ri=Li[1],zi=o.useRef(),yr=function(Jn){zi.current=window.setTimeout(function(){Ri(Jn)})},Mr=function(){window.clearTimeout(zi.current)};o.useEffect(function(){return function(){window.clearTimeout(zi.current)}},[]);var Qr=function(Jn){Kn(!1);var Ci=Jn&&Jn.length?Jn:null;if(Ci===null&&(!lr||!lr.filteredKeys))return null;if(Sn()(Ci,lr==null?void 0:lr.filteredKeys))return null;Ir({column:fn,key:Ot,filteredKeys:Ci})},_r=function(){Qr(Oi())},Vt=function(){Bi([]),Qr([])},Sr=function(Jn){Jn&&ni!==void 0&&Bi(ni||[]),Kn(Jn),!Jn&&!fn.filterDropdown&&_r()},Zt=s()(E()({},"".concat(Xe,"-menu-without-submenu"),!xn(fn.filters||[]))),Ur;if(typeof fn.filterDropdown=="function")Ur=fn.filterDropdown({prefixCls:"".concat(Xe,"-custom"),setSelectedKeys:function(Jn){return Si({selectedKeys:Jn})},selectedKeys:Oi(),confirm:_r,clearFilters:Vt,filters:fn.filters,visible:Yn});else if(fn.filterDropdown)Ur=fn.filterDropdown;else{var Hr=Oi()||[];Ur=o.createElement(o.Fragment,null,o.createElement(ir.a,{multiple:cr,prefixCls:"".concat(Xe,"-menu"),className:Zt,onClick:Mr,onSelect:Si,onDeselect:Si,selectedKeys:Hr,getPopupContainer:on,openKeys:Wn,onOpenChange:yr},tn({filters:fn.filters||[],prefixCls:nn,filteredKeys:Oi(),filterMultiple:cr,locale:Dr})),o.createElement("div",{className:"".concat(nn,"-dropdown-btns")},o.createElement(oi.a,{type:"link",size:"small",disabled:Hr.length===0,onClick:Vt},Dr.filterReset),o.createElement(oi.a,{type:"primary",size:"small",onClick:_r},Dr.filterConfirm)))}var pn=o.createElement(Bn,{className:"".concat(nn,"-dropdown")},Ur),sn;typeof fn.filterIcon=="function"?sn=fn.filterIcon(Tn):fn.filterIcon?sn=fn.filterIcon:sn=o.createElement(ii.a,null);var yn=o.useContext(ke.b),Fn=yn.direction;return o.createElement("div",{className:s()("".concat(nn,"-column"))},o.createElement("span",{className:"".concat(nn,"-column-title")},Wr),o.createElement("span",{className:s()("".concat(nn,"-trigger-container"),E()({},"".concat(nn,"-trigger-container-open"),Yn)),onClick:function(Jn){Jn.stopPropagation()}},o.createElement(or.a,{overlay:pn,trigger:["click"],visible:Yn,onVisibleChange:Sr,getPopupContainer:on,placement:Fn==="rtl"?"bottomLeft":"bottomRight"},o.createElement("span",{role:"button",tabIndex:-1,className:s()("".concat(nn,"-trigger"),{active:Tn})},sn))))}var qn=ui;function wi(zt,Gr,nn){var fn=[];return(zt||[]).forEach(function(Xe,Ot){var cr=Fe(Ot,nn);"children"in Xe?fn=[].concat(ct()(fn),ct()(wi(Xe.children,Gr,cr))):(Xe.filters||"filterDropdown"in Xe||"onFilter"in Xe)&&("filteredValue"in Xe?fn.push({column:Xe,key:We(Xe,cr),filteredKeys:Xe.filteredValue,forceFiltered:Xe.filtered}):fn.push({column:Xe,key:We(Xe,cr),filteredKeys:Gr&&Xe.defaultFilteredValue?Xe.defaultFilteredValue:void 0,forceFiltered:Xe.filtered}))}),fn}function Qn(zt,Gr,nn,fn,Xe,Ot,cr,lr){return nn.map(function(Ir,Dr){var Wr=Fe(Dr,lr),on=Ir.filterMultiple,En=on===void 0?!0:on;if(Ir.filters||"filterDropdown"in Ir){var vn=We(Ir,Wr),Dn=fn.find(function(Un){var wn=Un.key;return vn===wn});return h()(h()({},Ir),{title:function(wn){return o.createElement(qn,{prefixCls:"".concat(zt,"-filter"),dropdownPrefixCls:Gr,column:Ir,columnKey:vn,filterState:Dn,filterMultiple:En,triggerFilter:Xe,locale:cr,getPopupContainer:Ot},Je(Ir.title,wn))}})}return"children"in Ir?h()(h()({},Ir),{children:Qn(zt,Gr,Ir.children,fn,Xe,Ot,cr,Wr)}):Ir})}function Hi(zt){var Gr={};return zt.forEach(function(nn){var fn=nn.key,Xe=nn.filteredKeys;Gr[fn]=Xe||null}),Gr}function ri(zt){var Gr=[];return(zt||[]).forEach(function(nn){var fn=nn.value,Xe=nn.children;Gr.push(fn),Xe&&(Gr=[].concat(ct()(Gr),ct()(ri(Xe))))}),Gr}function Mi(zt,Gr){return Gr.reduce(function(nn,fn){var Xe=fn.column,Ot=Xe.onFilter,cr=Xe.filters,lr=fn.filteredKeys;return Ot&&lr&&lr.length?nn.filter(function(Ir){return lr.some(function(Dr){var Wr=ri(cr),on=Wr.findIndex(function(vn){return String(vn)===String(Dr)}),En=on!==-1?Wr[on]:Dr;return Ot(En,Ir)})}):nn},zt)}function dn(zt){var Gr=zt.prefixCls,nn=zt.dropdownPrefixCls,fn=zt.mergedColumns,Xe=zt.onFilterChange,Ot=zt.getPopupContainer,cr=zt.locale,lr=o.useState(wi(fn,!0)),Ir=t()(lr,2),Dr=Ir[0],Wr=Ir[1],on=o.useMemo(function(){var Un=wi(fn,!1);return Un.every(function(wn){var In=wn.filteredKeys;return In===void 0})?Dr:Un},[fn,Dr]),En=o.useCallback(function(){return Hi(on)},[on]),vn=function(wn){var In=on.filter(function(Tn){var Kn=Tn.key;return Kn!==wn.key});In.push(wn),Wr(In),Xe(Hi(In),In)},Dn=function(wn){return Qn(Gr,nn,wn,on,vn,Ot,cr)};return[Dn,on,En]}var Fr=dn;function bn(zt,Gr){return zt.map(function(nn){var fn=h()({},nn);return fn.title=Je(nn.title,Gr),"children"in fn&&(fn.children=bn(fn.children,Gr)),fn})}function Mn(zt){var Gr=o.useCallback(function(nn){return bn(nn,zt)},[zt]);return[Gr]}function Xn(zt){return function(nn){var fn,Xe=nn.prefixCls,Ot=nn.onExpand,cr=nn.record,lr=nn.expanded,Ir=nn.expandable,Dr="".concat(Xe,"-row-expand-icon");return o.createElement("button",{type:"button",onClick:function(on){Ot(cr,on),on.stopPropagation()},className:s()(Dr,(fn={},E()(fn,"".concat(Dr,"-spaced"),!Ir),E()(fn,"".concat(Dr,"-expanded"),Ir&&lr),E()(fn,"".concat(Dr,"-collapsed"),Ir&&!lr),fn)),"aria-label":lr?zt.collapse:zt.expand})}}var $n=Xn,hi=d("zAh6"),fi=d("ZvpZ"),gi=fi.a,Wi=d("3Nzz");function na(zt){return null}var $i=na;function Ha(zt){return null}var pi=Ha,ln=d("5OYt"),Ii=[];function Ji(zt){var Gr,nn=zt.prefixCls,fn=zt.className,Xe=zt.style,Ot=zt.size,cr=zt.bordered,lr=zt.dropdownPrefixCls,Ir=zt.dataSource,Dr=zt.pagination,Wr=zt.rowSelection,on=zt.rowKey,En=zt.rowClassName,vn=zt.columns,Dn=zt.children,Un=zt.childrenColumnName,wn=zt.onChange,In=zt.getPopupContainer,Tn=zt.loading,Kn=zt.expandIcon,Yn=zt.expandable,ni=zt.expandedRowRender,yi=zt.expandIconColumnIndex,li=zt.indentSize,Oi=zt.scroll,Bi=zt.sortDirections,Si=zt.locale,mi=zt.showSorterTooltip,Li=mi===void 0?!0:mi;Object(Jr.a)(!(typeof on=="function"&&on.length>1),"Table","`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.");var Wn=Object(ln.a)(),Ri=o.useMemo(function(){var wo=new Set(Object.keys(Wn).filter(function(_a){return Wn[_a]}));return(vn||gt(Dn)).filter(function(_a){return!_a.responsive||_a.responsive.some(function(Po){return wo.has(Po)})})},[Dn,vn,Wn]),zi=Object(l.default)(zt,["className","style","columns"]),yr=o.useContext(Wi.b),Mr=o.useContext(ke.b),Qr=Mr.locale,_r=Qr===void 0?gi:Qr,Vt=Mr.renderEmpty,Sr=Mr.direction,Zt=Ot||yr,Ur=h()(h()({},_r.Table),Si),Hr=Ir||Ii,pn=o.useContext(ke.b),sn=pn.getPrefixCls,yn=sn("table",nn),Fn=sn("dropdown",lr),Gn=h()({childrenColumnName:Un,expandIconColumnIndex:yi},Yn),Jn=Gn.childrenColumnName,Ci=Jn===void 0?"children":Jn,ta=o.useMemo(function(){return Hr.some(function(wo){var _a;return(_a=wo)===null||_a===void 0?void 0:_a[Ci]})?"nest":ni||Yn&&Yn.expandedRowRender?"row":null},[Hr]),oa={body:o.useRef()},da=o.useMemo(function(){return typeof on=="function"?on:function(wo){var _a;return(_a=wo)===null||_a===void 0?void 0:_a[on]}},[on]),ca=Pr(Hr,Ci,da),ma=t()(ca,1),Ui=ma[0],Ni={},ra=function(_a,Po){var ds=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ho=h()(h()({},Ni),_a);ds&&(Ni.resetPagination(),ho.pagination.current&&(ho.pagination.current=1),Dr&&Dr.onChange&&Dr.onChange(1,ho.pagination.pageSize)),Oi&&Oi.scrollToFirstRowOnChange!==!1&&oa.body.current&&Object(hi.a)(0,{getContainer:function(){return oa.body.current}}),wn&&wn(ho.pagination,ho.filters,ho.sorter,{currentDataSource:Mi(Xr(Hr,ho.sorterStates,Ci),ho.filterStates),action:Po})},qi=function(_a,Po){ra({sorter:_a,sorterStates:Po},"sort",!1)},va=kr({prefixCls:yn,mergedColumns:Ri,onSorterChange:qi,sortDirections:Bi||["ascend","descend"],tableLocale:Ur,showSorterTooltip:Li}),Oa=t()(va,4),Zi=Oa[0],Xi=Oa[1],La=Oa[2],Aa=Oa[3],Ti=o.useMemo(function(){return Xr(Hr,Xi,Ci)},[Hr,Xi]);Ni.sorter=Aa(),Ni.sorterStates=Xi;var Sa=function(_a,Po){ra({filters:_a,filterStates:Po},"filter",!0)},Ra=Fr({prefixCls:yn,locale:Ur,dropdownPrefixCls:Fn,mergedColumns:Ri,onFilterChange:Sa,getPopupContainer:In}),Na=t()(Ra,3),Ua=Na[0],Pa=Na[1],za=Na[2],xa=Mi(Ti,Pa);Ni.filters=za(),Ni.filterStates=Pa;var ja=o.useMemo(function(){return h()({},La)},[La]),io=Mn(ja),ia=t()(io,1),lo=ia[0],Ga=function(_a,Po){ra({pagination:h()(h()({},Ni.pagination),{current:_a,pageSize:Po})},"paginate")},Ca=Rr(xa.length,Dr,Ga),Qa=t()(Ca,2),Da=Qa[0],Ia=Qa[1];Ni.pagination=Dr===!1?{}:Bt(Dr,Da),Ni.resetPagination=Ia;var yo=o.useMemo(function(){if(Dr===!1||!Da.pageSize)return xa;var wo=Da.current,_a=wo===void 0?1:wo,Po=Da.total,ds=Da.pageSize,ho=ds===void 0?Wt:ds;return xa.length<Po?xa.length>ho?(Object(Jr.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."),xa.slice((_a-1)*ho,_a*ho)):xa:xa.slice((_a-1)*ho,_a*ho)},[!!Dr,xa,Da&&Da.current,Da&&Da.pageSize,Da&&Da.total]),ao=vi(Wr,{prefixCls:yn,data:xa,pageData:yo,getRowKey:da,getRecordByKey:Ui,expandType:ta,childrenColumnName:Ci,locale:Ur,expandIconColumnIndex:Gn.expandIconColumnIndex,getPopupContainer:In}),bo=t()(ao,2),co=bo[0],uo=bo[1],Ya=function(_a,Po,ds){var ho;return typeof En=="function"?ho=s()(En(_a,Po,ds)):ho=s()(En),s()(E()({},"".concat(yn,"-row-selected"),uo.has(da(_a,Po))),ho)};Gn.__PARENT_RENDER_ICON__=Gn.expandIcon,Gn.expandIcon=Gn.expandIcon||Kn||$n(Ur),ta==="nest"&&Gn.expandIconColumnIndex===void 0?Gn.expandIconColumnIndex=Wr?1:0:Gn.expandIconColumnIndex>0&&Wr&&(Gn.expandIconColumnIndex-=1),typeof Gn.indentSize!="number"&&(Gn.indentSize=typeof li=="number"?li:15);var eo=o.useCallback(function(wo){return lo(co(Ua(Zi(wo))))},[Zi,Ua,co]),wa,ro;if(Dr!==!1){var fo;Da.size?fo=Da.size:fo=Zt==="small"||Zt==="middle"?"small":void 0;var ki=function(_a){return o.createElement(_e.a,h()({className:"".concat(yn,"-pagination ").concat(yn,"-pagination-").concat(_a)},Da,{size:fo}))},Ma=Sr==="rtl"?"left":"right";if(Da.position!==null&&Array.isArray(Da.position)){var Ro=Da.position.find(function(wo){return wo.indexOf("top")!==-1}),jo=Da.position.find(function(wo){return wo.indexOf("bottom")!==-1});!Ro&&!jo?ro=ki(Ma):(Ro&&(wa=ki(Ro.toLowerCase().replace("top",""))),jo&&(ro=ki(jo.toLowerCase().replace("bottom",""))))}else ro=ki(Ma)}var Vo;typeof Tn=="boolean"?Vo={spinning:Tn}:_()(Tn)==="object"&&(Vo=h()({spinning:!0},Tn));var Xo=s()("".concat(yn,"-wrapper"),fn,E()({},"".concat(yn,"-wrapper-rtl"),Sr==="rtl"));return o.createElement("div",{className:Xo,style:Xe},o.createElement(ve.a,h()({spinning:!1},Vo),wa,o.createElement(tt,h()({},zi,{columns:Ri,direction:Sr,expandable:Gn,prefixCls:yn,className:s()((Gr={},E()(Gr,"".concat(yn,"-middle"),Zt==="middle"),E()(Gr,"".concat(yn,"-small"),Zt==="small"),E()(Gr,"".concat(yn,"-bordered"),cr),E()(Gr,"".concat(yn,"-empty"),Hr.length===0),Gr)),data:yo,rowKey:da,rowClassName:Ya,emptyText:Si&&Si.emptyText||Vt("Table"),internalHooks:An,internalRefs:oa,transformColumns:eo})),xa&&xa.length>0&&ro))}Ji.defaultProps={rowKey:"key"},Ji.SELECTION_ALL=_n,Ji.SELECTION_INVERT=Nn,Ji.Column=$i,Ji.ColumnGroup=pi,Ji.Summary=Kr;var Fi=Ji,ea=z.a=Fi},wDdD:function(ue,z,d){var O=d("ProS"),_=d("bYtY");d("98bh"),d("GrNh");var I=d("d4KN"),E=d("mOdp"),C=d("KS52"),t=d("0/Rx");I("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),O.registerVisual(E("pie")),O.registerLayout(_.curry(C,"pie")),O.registerProcessor(t("pie"))},wOnQ:function(ue,z,d){/*!
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
* Released under MIT License
*/(function(O,_){ue.exports=_()})(this,function(){"use strict";/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var O=function(le,ye){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ie,qe){Ie.__proto__=qe}||function(Ie,qe){for(var Mt in qe)Object.prototype.hasOwnProperty.call(qe,Mt)&&(Ie[Mt]=qe[Mt])},O(le,ye)};function _($t,le){if(typeof le!="function"&&le!==null)throw new TypeError("Class extends value "+String(le)+" is not a constructor or null");O($t,le);function ye(){this.constructor=$t}$t.prototype=le===null?Object.create(le):(ye.prototype=le.prototype,new ye)}var I=function(){return I=Object.assign||function(ye){for(var Ie,qe=1,Mt=arguments.length;qe<Mt;qe++){Ie=arguments[qe];for(var Er in Ie)Object.prototype.hasOwnProperty.call(Ie,Er)&&(ye[Er]=Ie[Er])}return ye},I.apply(this,arguments)};function E($t,le,ye,Ie){function qe(Mt){return Mt instanceof ye?Mt:new ye(function(Er){Er(Mt)})}return new(ye||(ye=Promise))(function(Mt,Er){function jr(ai){try{mn(Ie.next(ai))}catch(Zn){Er(Zn)}}function qr(ai){try{mn(Ie.throw(ai))}catch(Zn){Er(Zn)}}function mn(ai){ai.done?Mt(ai.value):qe(ai.value).then(jr,qr)}mn((Ie=Ie.apply($t,le||[])).next())})}function C($t,le){var ye={label:0,sent:function(){if(Mt[0]&1)throw Mt[1];return Mt[1]},trys:[],ops:[]},Ie,qe,Mt,Er;return Er={next:jr(0),throw:jr(1),return:jr(2)},typeof Symbol=="function"&&(Er[Symbol.iterator]=function(){return this}),Er;function jr(mn){return function(ai){return qr([mn,ai])}}function qr(mn){if(Ie)throw new TypeError("Generator is already executing.");for(;ye;)try{if(Ie=1,qe&&(Mt=mn[0]&2?qe.return:mn[0]?qe.throw||((Mt=qe.return)&&Mt.call(qe),0):qe.next)&&!(Mt=Mt.call(qe,mn[1])).done)return Mt;(qe=0,Mt)&&(mn=[mn[0]&2,Mt.value]);switch(mn[0]){case 0:case 1:Mt=mn;break;case 4:return ye.label++,{value:mn[1],done:!1};case 5:ye.label++,qe=mn[1],mn=[0];continue;case 7:mn=ye.ops.pop(),ye.trys.pop();continue;default:if(!(Mt=ye.trys,Mt=Mt.length>0&&Mt[Mt.length-1])&&(mn[0]===6||mn[0]===2)){ye=0;continue}if(mn[0]===3&&(!Mt||mn[1]>Mt[0]&&mn[1]<Mt[3])){ye.label=mn[1];break}if(mn[0]===6&&ye.label<Mt[1]){ye.label=Mt[1],Mt=mn;break}if(Mt&&ye.label<Mt[2]){ye.label=Mt[2],ye.ops.push(mn);break}Mt[2]&&ye.ops.pop(),ye.trys.pop();continue}mn=le.call($t,ye)}catch(ai){mn=[6,ai],qe=0}finally{Ie=Mt=0}if(mn[0]&5)throw mn[1];return{value:mn[0]?mn[1]:void 0,done:!0}}}function t($t,le,ye){if(ye||arguments.length===2)for(var Ie=0,qe=le.length,Mt;Ie<qe;Ie++)(Mt||!(Ie in le))&&(Mt||(Mt=Array.prototype.slice.call(le,0,Ie)),Mt[Ie]=le[Ie]);return $t.concat(Mt||le)}for(var p=function(){function $t(le,ye,Ie,qe){this.left=le,this.top=ye,this.width=Ie,this.height=qe}return $t.prototype.add=function(le,ye,Ie,qe){return new $t(this.left+le,this.top+ye,this.width+Ie,this.height+qe)},$t.fromClientRect=function(le,ye){return new $t(ye.left+le.windowBounds.left,ye.top+le.windowBounds.top,ye.width,ye.height)},$t.fromDOMRectList=function(le,ye){var Ie=Array.from(ye).find(function(qe){return qe.width!==0});return Ie?new $t(Ie.left+le.windowBounds.left,Ie.top+le.windowBounds.top,Ie.width,Ie.height):$t.EMPTY},$t.EMPTY=new $t(0,0,0,0),$t}(),h=function(le,ye){return p.fromClientRect(le,ye.getBoundingClientRect())},o=function(le){var ye=le.body,Ie=le.documentElement;if(!ye||!Ie)throw new Error("Unable to get document size");var qe=Math.max(Math.max(ye.scrollWidth,Ie.scrollWidth),Math.max(ye.offsetWidth,Ie.offsetWidth),Math.max(ye.clientWidth,Ie.clientWidth)),Mt=Math.max(Math.max(ye.scrollHeight,Ie.scrollHeight),Math.max(ye.offsetHeight,Ie.offsetHeight),Math.max(ye.clientHeight,Ie.clientHeight));return new p(0,0,qe,Mt)},r=function(le){for(var ye=[],Ie=0,qe=le.length;Ie<qe;){var Mt=le.charCodeAt(Ie++);if(Mt>=55296&&Mt<=56319&&Ie<qe){var Er=le.charCodeAt(Ie++);(Er&64512)===56320?ye.push(((Mt&1023)<<10)+(Er&1023)+65536):(ye.push(Mt),Ie--)}else ye.push(Mt)}return ye},s=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];if(String.fromCodePoint)return String.fromCodePoint.apply(String,le);var Ie=le.length;if(!Ie)return"";for(var qe=[],Mt=-1,Er="";++Mt<Ie;){var jr=le[Mt];jr<=65535?qe.push(jr):(jr-=65536,qe.push((jr>>10)+55296,jr%1024+56320)),(Mt+1===Ie||qe.length>16384)&&(Er+=String.fromCharCode.apply(String,qe),qe.length=0)}return Er},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),c=0;c<l.length;c++)n[l.charCodeAt(c)]=c;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),i=0;i<e.length;i++)a[e.charCodeAt(i)]=i;for(var u=function(le){var ye=le.length*.75,Ie=le.length,qe,Mt=0,Er,jr,qr,mn;le[le.length-1]==="="&&(ye--,le[le.length-2]==="="&&ye--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ye):new Array(ye),Zn=Array.isArray(ai)?ai:new Uint8Array(ai);for(qe=0;qe<Ie;qe+=4)Er=a[le.charCodeAt(qe)],jr=a[le.charCodeAt(qe+1)],qr=a[le.charCodeAt(qe+2)],mn=a[le.charCodeAt(qe+3)],Zn[Mt++]=Er<<2|jr>>4,Zn[Mt++]=(jr&15)<<4|qr>>2,Zn[Mt++]=(qr&3)<<6|mn&63;return ai},f=function(le){for(var ye=le.length,Ie=[],qe=0;qe<ye;qe+=2)Ie.push(le[qe+1]<<8|le[qe]);return Ie},m=function(le){for(var ye=le.length,Ie=[],qe=0;qe<ye;qe+=4)Ie.push(le[qe+3]<<24|le[qe+2]<<16|le[qe+1]<<8|le[qe]);return Ie},A=5,g=6+5,v=2,b=g-A,S=65536>>A,y=1<<A,w=y-1,x=1024>>A,T=S+x,L=T,R=2048>>6,P=L+R,k=65536>>g,U=1<<b,D=U-1,M=function(le,ye,Ie){return le.slice?le.slice(ye,Ie):new Uint16Array(Array.prototype.slice.call(le,ye,Ie))},B=function(le,ye,Ie){return le.slice?le.slice(ye,Ie):new Uint32Array(Array.prototype.slice.call(le,ye,Ie))},j=function(le,ye){var Ie=u(le),qe=Array.isArray(Ie)?m(Ie):new Uint32Array(Ie),Mt=Array.isArray(Ie)?f(Ie):new Uint16Array(Ie),Er=24,jr=M(Mt,Er/2,qe[4]/2),qr=qe[5]===2?M(Mt,(Er+qe[4])/2):B(qe,Math.ceil((Er+qe[4])/4));return new H(qe[0],qe[1],qe[2],qe[3],jr,qr)},H=function(){function $t(le,ye,Ie,qe,Mt,Er){this.initialValue=le,this.errorValue=ye,this.highStart=Ie,this.highValueIndex=qe,this.index=Mt,this.data=Er}return $t.prototype.get=function(le){var ye;if(le>=0){if(le<55296||le>56319&&le<=65535)return ye=this.index[le>>A],ye=(ye<<v)+(le&w),this.data[ye];if(le<=65535)return ye=this.index[S+(le-55296>>A)],ye=(ye<<v)+(le&w),this.data[ye];if(le<this.highStart)return ye=P-k+(le>>g),ye=this.index[ye],ye+=le>>A&D,ye=this.index[ye],ye=(ye<<v)+(le&w),this.data[ye];if(le<=1114111)return this.data[this.highValueIndex]}return this.errorValue},$t}(),K="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),X=0;X<K.length;X++)W[K.charCodeAt(X)]=X;var V="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Z=50,G=1,Y=2,te=3,se=4,Ce=5,he=7,xe=8,ie=9,ee=10,Ze=11,Se=12,Ne=13,it=14,Ye=15,nt=16,je=17,et=18,He=19,pe=20,ae=21,re=22,be=23,ze=24,Ke=25,Te=26,gt=27,Ue=28,bt=29,wt=30,Et=31,xt=32,Tt=33,Be=34,ce=35,q=36,dt=37,Ve=38,de=39,Ht=40,tr=41,lt=42,Xt=43,sr=[9001,65288],Kr="!",rr="\xD7",nr="\xF7",Nt=j(V),ot=[wt,q],Qe=[G,Y,te,Ce],qt=[ee,xe],xr=[gt,Te],vr=Qe.concat(qt),fr=[Ve,de,Ht,Be,ce],An=[Ye,Ne],$r=function(le,ye){ye===void 0&&(ye="strict");var Ie=[],qe=[],Mt=[];return le.forEach(function(Er,jr){var qr=Nt.get(Er);if(qr>Z?(Mt.push(!0),qr-=Z):Mt.push(!1),["normal","auto","loose"].indexOf(ye)!==-1&&[8208,8211,12316,12448].indexOf(Er)!==-1)return qe.push(jr),Ie.push(nt);if(qr===se||qr===Ze){if(jr===0)return qe.push(jr),Ie.push(wt);var mn=Ie[jr-1];return vr.indexOf(mn)===-1?(qe.push(qe[jr-1]),Ie.push(mn)):(qe.push(jr),Ie.push(wt))}if(qe.push(jr),qr===Et)return Ie.push(ye==="strict"?ae:dt);if(qr===lt)return Ie.push(wt);if(qr===bt)return Ie.push(wt);if(qr===Xt)return Er>=131072&&Er<=196605||Er>=196608&&Er<=262141?Ie.push(dt):Ie.push(wt);Ie.push(qr)}),[qe,Ie,Mt]},Ln=function(le,ye,Ie,qe){var Mt=qe[Ie];if(Array.isArray(le)?le.indexOf(Mt)!==-1:le===Mt)for(var Er=Ie;Er<=qe.length;){Er++;var jr=qe[Er];if(jr===ye)return!0;if(jr!==ee)break}if(Mt===ee)for(var Er=Ie;Er>0;){Er--;var qr=qe[Er];if(Array.isArray(le)?le.indexOf(qr)!==-1:le===qr)for(var mn=Ie;mn<=qe.length;){mn++;var jr=qe[mn];if(jr===ye)return!0;if(jr!==ee)break}if(qr!==ee)break}return!1},$e=function(le,ye){for(var Ie=le;Ie>=0;){var qe=ye[Ie];if(qe===ee)Ie--;else return qe}return 0},tt=function(le,ye,Ie,qe,Mt){if(Ie[qe]===0)return rr;var Er=qe-1;if(Array.isArray(Mt)&&Mt[Er]===!0)return rr;var jr=Er-1,qr=Er+1,mn=ye[Er],ai=jr>=0?ye[jr]:0,Zn=ye[qr];if(mn===Y&&Zn===te)return rr;if(Qe.indexOf(mn)!==-1)return Kr;if(Qe.indexOf(Zn)!==-1)return rr;if(qt.indexOf(Zn)!==-1)return rr;if($e(Er,ye)===xe)return nr;if(Nt.get(le[Er])===Ze)return rr;if((mn===xt||mn===Tt)&&Nt.get(le[qr])===Ze)return rr;if(mn===he||Zn===he)return rr;if(mn===ie)return rr;if([ee,Ne,Ye].indexOf(mn)===-1&&Zn===ie)return rr;if([je,et,He,ze,Ue].indexOf(Zn)!==-1)return rr;if($e(Er,ye)===re)return rr;if(Ln(be,re,Er,ye))return rr;if(Ln([je,et],ae,Er,ye))return rr;if(Ln(Se,Se,Er,ye))return rr;if(mn===ee)return nr;if(mn===be||Zn===be)return rr;if(Zn===nt||mn===nt)return nr;if([Ne,Ye,ae].indexOf(Zn)!==-1||mn===it)return rr;if(ai===q&&An.indexOf(mn)!==-1)return rr;if(mn===Ue&&Zn===q)return rr;if(Zn===pe)return rr;if(ot.indexOf(Zn)!==-1&&mn===Ke||ot.indexOf(mn)!==-1&&Zn===Ke)return rr;if(mn===gt&&[dt,xt,Tt].indexOf(Zn)!==-1||[dt,xt,Tt].indexOf(mn)!==-1&&Zn===Te)return rr;if(ot.indexOf(mn)!==-1&&xr.indexOf(Zn)!==-1||xr.indexOf(mn)!==-1&&ot.indexOf(Zn)!==-1)return rr;if([gt,Te].indexOf(mn)!==-1&&(Zn===Ke||[re,Ye].indexOf(Zn)!==-1&&ye[qr+1]===Ke)||[re,Ye].indexOf(mn)!==-1&&Zn===Ke||mn===Ke&&[Ke,Ue,ze].indexOf(Zn)!==-1)return rr;if([Ke,Ue,ze,je,et].indexOf(Zn)!==-1)for(var ci=Er;ci>=0;){var la=ye[ci];if(la===Ke)return rr;if([Ue,ze].indexOf(la)!==-1)ci--;else break}if([gt,Te].indexOf(Zn)!==-1)for(var ci=[je,et].indexOf(mn)!==-1?jr:Er;ci>=0;){var la=ye[ci];if(la===Ke)return rr;if([Ue,ze].indexOf(la)!==-1)ci--;else break}if(Ve===mn&&[Ve,de,Be,ce].indexOf(Zn)!==-1||[de,Be].indexOf(mn)!==-1&&[de,Ht].indexOf(Zn)!==-1||[Ht,ce].indexOf(mn)!==-1&&Zn===Ht)return rr;if(fr.indexOf(mn)!==-1&&[pe,Te].indexOf(Zn)!==-1||fr.indexOf(Zn)!==-1&&mn===gt)return rr;if(ot.indexOf(mn)!==-1&&ot.indexOf(Zn)!==-1)return rr;if(mn===ze&&ot.indexOf(Zn)!==-1)return rr;if(ot.concat(Ke).indexOf(mn)!==-1&&Zn===re&&sr.indexOf(le[qr])===-1||ot.concat(Ke).indexOf(Zn)!==-1&&mn===et)return rr;if(mn===tr&&Zn===tr){for(var pa=Ie[Er],Ea=1;pa>0&&(pa--,ye[pa]===tr);)Ea++;if(Ea%2!==0)return rr}return mn===xt&&Zn===Tt?rr:nr},ve=function(le,ye){ye||(ye={lineBreak:"normal",wordBreak:"normal"});var Ie=$r(le,ye.lineBreak),qe=Ie[0],Mt=Ie[1],Er=Ie[2];(ye.wordBreak==="break-all"||ye.wordBreak==="break-word")&&(Mt=Mt.map(function(qr){return[Ke,wt,lt].indexOf(qr)!==-1?dt:qr}));var jr=ye.wordBreak==="keep-all"?Er.map(function(qr,mn){return qr&&le[mn]>=19968&&le[mn]<=40959}):void 0;return[qe,Mt,jr]},_e=function(){function $t(le,ye,Ie,qe){this.codePoints=le,this.required=ye===Kr,this.start=Ie,this.end=qe}return $t.prototype.slice=function(){return s.apply(void 0,this.codePoints.slice(this.start,this.end))},$t}(),ke=function(le,ye){var Ie=r(le),qe=ve(Ie,ye),Mt=qe[0],Er=qe[1],jr=qe[2],qr=Ie.length,mn=0,ai=0;return{next:function(){if(ai>=qr)return{done:!0,value:null};for(var ci=rr;ai<qr&&(ci=tt(Ie,Er,Mt,++ai,jr))===rr;);if(ci!==rr||ai===qr){var la=new _e(Ie,ci,mn,ai);return mn=ai,{value:la,done:!1}}return{done:!0,value:null}}}},rt=1<<0,Wt=1<<1,Bt=1<<2,Gt=1<<3,Rr=10,Pr=47,cn=92,Ut=9,pt=32,ct=34,Qt=61,Jt=35,yt=36,Pt=37,At=39,Ft=40,pr=41,or=95,ir=45,Yr=33,Jr=60,_n=62,Nn=64,zn=91,ei=93,vi=61,Pi=123,Ge=63,we=125,Le=124,De=126,We=128,Fe=65533,Je=42,vt=43,st=44,kt=58,wr=59,hr=46,Nr=0,Kt=8,un=11,ar=14,Xr=31,kr=127,gr=-1,Sn=48,Pn=97,ii=101,oi=102,ti=117,bi=122,Bn=65,_i=69,gn=70,Vr=85,xn=90,tn=function(le){return le>=Sn&&le<=57},ui=function(le){return le>=55296&&le<=57343},qn=function(le){return tn(le)||le>=Bn&&le<=gn||le>=Pn&&le<=oi},wi=function(le){return le>=Pn&&le<=bi},Qn=function(le){return le>=Bn&&le<=xn},Hi=function(le){return wi(le)||Qn(le)},ri=function(le){return le>=We},Mi=function(le){return le===Rr||le===Ut||le===pt},dn=function(le){return Hi(le)||ri(le)||le===or},Fr=function(le){return dn(le)||tn(le)||le===ir},bn=function(le){return le>=Nr&&le<=Kt||le===un||le>=ar&&le<=Xr||le===kr},Mn=function(le,ye){return le!==cn?!1:ye!==Rr},Xn=function(le,ye,Ie){return le===ir?dn(ye)||Mn(ye,Ie):dn(le)?!0:!!(le===cn&&Mn(le,ye))},$n=function(le,ye,Ie){return le===vt||le===ir?tn(ye)?!0:ye===hr&&tn(Ie):le===hr?tn(ye):tn(le)},hi=function(le){var ye=0,Ie=1;(le[ye]===vt||le[ye]===ir)&&(le[ye]===ir&&(Ie=-1),ye++);for(var qe=[];tn(le[ye]);)qe.push(le[ye++]);var Mt=qe.length?parseInt(s.apply(void 0,qe),10):0;le[ye]===hr&&ye++;for(var Er=[];tn(le[ye]);)Er.push(le[ye++]);var jr=Er.length,qr=jr?parseInt(s.apply(void 0,Er),10):0;(le[ye]===_i||le[ye]===ii)&&ye++;var mn=1;(le[ye]===vt||le[ye]===ir)&&(le[ye]===ir&&(mn=-1),ye++);for(var ai=[];tn(le[ye]);)ai.push(le[ye++]);var Zn=ai.length?parseInt(s.apply(void 0,ai),10):0;return Ie*(Mt+qr*Math.pow(10,-jr))*Math.pow(10,mn*Zn)},fi={type:2},gi={type:3},Wi={type:4},na={type:13},$i={type:8},Ha={type:21},pi={type:9},ln={type:10},Ii={type:11},Ji={type:12},Fi={type:14},ea={type:23},zt={type:1},Gr={type:25},nn={type:24},fn={type:26},Xe={type:27},Ot={type:28},cr={type:29},lr={type:31},Ir={type:32},Dr=function(){function $t(){this._value=[]}return $t.prototype.write=function(le){this._value=this._value.concat(r(le))},$t.prototype.read=function(){for(var le=[],ye=this.consumeToken();ye!==Ir;)le.push(ye),ye=this.consumeToken();return le},$t.prototype.consumeToken=function(){var le=this.consumeCodePoint();switch(le){case ct:return this.consumeStringToken(ct);case Jt:var ye=this.peekCodePoint(0),Ie=this.peekCodePoint(1),qe=this.peekCodePoint(2);if(Fr(ye)||Mn(Ie,qe)){var Mt=Xn(ye,Ie,qe)?Wt:rt,Er=this.consumeName();return{type:5,value:Er,flags:Mt}}break;case yt:if(this.peekCodePoint(0)===Qt)return this.consumeCodePoint(),na;break;case At:return this.consumeStringToken(At);case Ft:return fi;case pr:return gi;case Je:if(this.peekCodePoint(0)===Qt)return this.consumeCodePoint(),Fi;break;case vt:if($n(le,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(le),this.consumeNumericToken();break;case st:return Wi;case ir:var jr=le,qr=this.peekCodePoint(0),mn=this.peekCodePoint(1);if($n(jr,qr,mn))return this.reconsumeCodePoint(le),this.consumeNumericToken();if(Xn(jr,qr,mn))return this.reconsumeCodePoint(le),this.consumeIdentLikeToken();if(qr===ir&&mn===_n)return this.consumeCodePoint(),this.consumeCodePoint(),nn;break;case hr:if($n(le,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(le),this.consumeNumericToken();break;case Pr:if(this.peekCodePoint(0)===Je)for(this.consumeCodePoint();;){var ai=this.consumeCodePoint();if(ai===Je&&(ai=this.consumeCodePoint(),ai===Pr))return this.consumeToken();if(ai===gr)return this.consumeToken()}break;case kt:return fn;case wr:return Xe;case Jr:if(this.peekCodePoint(0)===Yr&&this.peekCodePoint(1)===ir&&this.peekCodePoint(2)===ir)return this.consumeCodePoint(),this.consumeCodePoint(),Gr;break;case Nn:var Zn=this.peekCodePoint(0),ci=this.peekCodePoint(1),la=this.peekCodePoint(2);if(Xn(Zn,ci,la)){var Er=this.consumeName();return{type:7,value:Er}}break;case zn:return Ot;case cn:if(Mn(le,this.peekCodePoint(0)))return this.reconsumeCodePoint(le),this.consumeIdentLikeToken();break;case ei:return cr;case vi:if(this.peekCodePoint(0)===Qt)return this.consumeCodePoint(),$i;break;case Pi:return Ii;case we:return Ji;case ti:case Vr:var pa=this.peekCodePoint(0),Ea=this.peekCodePoint(1);return pa===vt&&(qn(Ea)||Ea===Ge)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(le),this.consumeIdentLikeToken();case Le:if(this.peekCodePoint(0)===Qt)return this.consumeCodePoint(),pi;if(this.peekCodePoint(0)===Le)return this.consumeCodePoint(),Ha;break;case De:if(this.peekCodePoint(0)===Qt)return this.consumeCodePoint(),ln;break;case gr:return Ir}return Mi(le)?(this.consumeWhiteSpace(),lr):tn(le)?(this.reconsumeCodePoint(le),this.consumeNumericToken()):dn(le)?(this.reconsumeCodePoint(le),this.consumeIdentLikeToken()):{type:6,value:s(le)}},$t.prototype.consumeCodePoint=function(){var le=this._value.shift();return typeof le=="undefined"?-1:le},$t.prototype.reconsumeCodePoint=function(le){this._value.unshift(le)},$t.prototype.peekCodePoint=function(le){return le>=this._value.length?-1:this._value[le]},$t.prototype.consumeUnicodeRangeToken=function(){for(var le=[],ye=this.consumeCodePoint();qn(ye)&&le.length<6;)le.push(ye),ye=this.consumeCodePoint();for(var Ie=!1;ye===Ge&&le.length<6;)le.push(ye),ye=this.consumeCodePoint(),Ie=!0;if(Ie){var qe=parseInt(s.apply(void 0,le.map(function(qr){return qr===Ge?Sn:qr})),16),Mt=parseInt(s.apply(void 0,le.map(function(qr){return qr===Ge?gn:qr})),16);return{type:30,start:qe,end:Mt}}var Er=parseInt(s.apply(void 0,le),16);if(this.peekCodePoint(0)===ir&&qn(this.peekCodePoint(1))){this.consumeCodePoint(),ye=this.consumeCodePoint();for(var jr=[];qn(ye)&&jr.length<6;)jr.push(ye),ye=this.consumeCodePoint();var Mt=parseInt(s.apply(void 0,jr),16);return{type:30,start:Er,end:Mt}}else return{type:30,start:Er,end:Er}},$t.prototype.consumeIdentLikeToken=function(){var le=this.consumeName();return le.toLowerCase()==="url"&&this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ft?(this.consumeCodePoint(),{type:19,value:le}):{type:20,value:le}},$t.prototype.consumeUrlToken=function(){var le=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===gr)return{type:22,value:""};var ye=this.peekCodePoint(0);if(ye===At||ye===ct){var Ie=this.consumeStringToken(this.consumeCodePoint());return Ie.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===gr||this.peekCodePoint(0)===pr)?(this.consumeCodePoint(),{type:22,value:Ie.value}):(this.consumeBadUrlRemnants(),ea)}for(;;){var qe=this.consumeCodePoint();if(qe===gr||qe===pr)return{type:22,value:s.apply(void 0,le)};if(Mi(qe))return this.consumeWhiteSpace(),this.peekCodePoint(0)===gr||this.peekCodePoint(0)===pr?(this.consumeCodePoint(),{type:22,value:s.apply(void 0,le)}):(this.consumeBadUrlRemnants(),ea);if(qe===ct||qe===At||qe===Ft||bn(qe))return this.consumeBadUrlRemnants(),ea;if(qe===cn)if(Mn(qe,this.peekCodePoint(0)))le.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),ea;else le.push(qe)}},$t.prototype.consumeWhiteSpace=function(){for(;Mi(this.peekCodePoint(0));)this.consumeCodePoint()},$t.prototype.consumeBadUrlRemnants=function(){for(;;){var le=this.consumeCodePoint();if(le===pr||le===gr)return;Mn(le,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},$t.prototype.consumeStringSlice=function(le){for(var ye=5e4,Ie="";le>0;){var qe=Math.min(ye,le);Ie+=s.apply(void 0,this._value.splice(0,qe)),le-=qe}return this._value.shift(),Ie},$t.prototype.consumeStringToken=function(le){var ye="",Ie=0;do{var qe=this._value[Ie];if(qe===gr||qe===void 0||qe===le)return ye+=this.consumeStringSlice(Ie),{type:0,value:ye};if(qe===Rr)return this._value.splice(0,Ie),zt;if(qe===cn){var Mt=this._value[Ie+1];Mt!==gr&&Mt!==void 0&&(Mt===Rr?(ye+=this.consumeStringSlice(Ie),Ie=-1,this._value.shift()):Mn(qe,Mt)&&(ye+=this.consumeStringSlice(Ie),ye+=s(this.consumeEscapedCodePoint()),Ie=-1))}Ie++}while(!0)},$t.prototype.consumeNumber=function(){var le=[],ye=Bt,Ie=this.peekCodePoint(0);for((Ie===vt||Ie===ir)&&le.push(this.consumeCodePoint());tn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());Ie=this.peekCodePoint(0);var qe=this.peekCodePoint(1);if(Ie===hr&&tn(qe))for(le.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=Gt;tn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());Ie=this.peekCodePoint(0),qe=this.peekCodePoint(1);var Mt=this.peekCodePoint(2);if((Ie===_i||Ie===ii)&&((qe===vt||qe===ir)&&tn(Mt)||tn(qe)))for(le.push(this.consumeCodePoint(),this.consumeCodePoint()),ye=Gt;tn(this.peekCodePoint(0));)le.push(this.consumeCodePoint());return[hi(le),ye]},$t.prototype.consumeNumericToken=function(){var le=this.consumeNumber(),ye=le[0],Ie=le[1],qe=this.peekCodePoint(0),Mt=this.peekCodePoint(1),Er=this.peekCodePoint(2);if(Xn(qe,Mt,Er)){var jr=this.consumeName();return{type:15,number:ye,flags:Ie,unit:jr}}return qe===Pt?(this.consumeCodePoint(),{type:16,number:ye,flags:Ie}):{type:17,number:ye,flags:Ie}},$t.prototype.consumeEscapedCodePoint=function(){var le=this.consumeCodePoint();if(qn(le)){for(var ye=s(le);qn(this.peekCodePoint(0))&&ye.length<6;)ye+=s(this.consumeCodePoint());Mi(this.peekCodePoint(0))&&this.consumeCodePoint();var Ie=parseInt(ye,16);return Ie===0||ui(Ie)||Ie>1114111?Fe:Ie}return le===gr?Fe:le},$t.prototype.consumeName=function(){for(var le="";;){var ye=this.consumeCodePoint();if(Fr(ye))le+=s(ye);else if(Mn(ye,this.peekCodePoint(0)))le+=s(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ye),le}},$t}(),Wr=function(){function $t(le){this._tokens=le}return $t.create=function(le){var ye=new Dr;return ye.write(le),new $t(ye.read())},$t.parseValue=function(le){return $t.create(le).parseComponentValue()},$t.parseValues=function(le){return $t.create(le).parseComponentValues()},$t.prototype.parseComponentValue=function(){for(var le=this.consumeToken();le.type===31;)le=this.consumeToken();if(le.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(le);var ye=this.consumeComponentValue();do le=this.consumeToken();while(le.type===31);if(le.type===32)return ye;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},$t.prototype.parseComponentValues=function(){for(var le=[];;){var ye=this.consumeComponentValue();if(ye.type===32)return le;le.push(ye),le.push()}},$t.prototype.consumeComponentValue=function(){var le=this.consumeToken();switch(le.type){case 11:case 28:case 2:return this.consumeSimpleBlock(le.type);case 19:return this.consumeFunction(le)}return le},$t.prototype.consumeSimpleBlock=function(le){for(var ye={type:le,values:[]},Ie=this.consumeToken();;){if(Ie.type===32||Kn(Ie,le))return ye;this.reconsumeToken(Ie),ye.values.push(this.consumeComponentValue()),Ie=this.consumeToken()}},$t.prototype.consumeFunction=function(le){for(var ye={name:le.value,values:[],type:18};;){var Ie=this.consumeToken();if(Ie.type===32||Ie.type===3)return ye;this.reconsumeToken(Ie),ye.values.push(this.consumeComponentValue())}},$t.prototype.consumeToken=function(){var le=this._tokens.shift();return typeof le=="undefined"?Ir:le},$t.prototype.reconsumeToken=function(le){this._tokens.unshift(le)},$t}(),on=function(le){return le.type===15},En=function(le){return le.type===17},vn=function(le){return le.type===20},Dn=function(le){return le.type===0},Un=function(le,ye){return vn(le)&&le.value===ye},wn=function(le){return le.type!==31},In=function(le){return le.type!==31&&le.type!==4},Tn=function(le){var ye=[],Ie=[];return le.forEach(function(qe){if(qe.type===4){if(Ie.length===0)throw new Error("Error parsing function args, zero tokens for arg");ye.push(Ie),Ie=[];return}qe.type!==31&&Ie.push(qe)}),Ie.length&&ye.push(Ie),ye},Kn=function(le,ye){return ye===11&&le.type===12||ye===28&&le.type===29?!0:ye===2&&le.type===3},Yn=function(le){return le.type===17||le.type===15},ni=function(le){return le.type===16||Yn(le)},yi=function(le){return le.length>1?[le[0],le[1]]:[le[0]]},li={type:17,number:0,flags:Bt},Oi={type:16,number:50,flags:Bt},Bi={type:16,number:100,flags:Bt},Si=function(le,ye,Ie){var qe=le[0],Mt=le[1];return[mi(qe,ye),mi(typeof Mt!="undefined"?Mt:qe,Ie)]},mi=function(le,ye){if(le.type===16)return le.number/100*ye;if(on(le))switch(le.unit){case"rem":case"em":return 16*le.number;case"px":default:return le.number}return le.number},Li="deg",Wn="grad",Ri="rad",zi="turn",yr={name:"angle",parse:function(le,ye){if(ye.type===15)switch(ye.unit){case Li:return Math.PI*ye.number/180;case Wn:return Math.PI/200*ye.number;case Ri:return ye.number;case zi:return Math.PI*2*ye.number}throw new Error("Unsupported angle type")}},Mr=function(le){return le.type===15&&(le.unit===Li||le.unit===Wn||le.unit===Ri||le.unit===zi)},Qr=function(le){var ye=le.filter(vn).map(function(Ie){return Ie.value}).join(" ");switch(ye){case"to bottom right":case"to right bottom":case"left top":case"top left":return[li,li];case"to top":case"bottom":return _r(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[li,Bi];case"to right":case"left":return _r(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Bi,Bi];case"to bottom":case"top":return _r(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Bi,li];case"to left":case"right":return _r(270)}return 0},_r=function(le){return Math.PI*le/180},Vt={name:"color",parse:function(le,ye){if(ye.type===18){var Ie=Fn[ye.name];if(typeof Ie=="undefined")throw new Error('Attempting to parse an unsupported color function "'+ye.name+'"');return Ie(le,ye.values)}if(ye.type===5){if(ye.value.length===3){var qe=ye.value.substring(0,1),Mt=ye.value.substring(1,2),Er=ye.value.substring(2,3);return Ur(parseInt(qe+qe,16),parseInt(Mt+Mt,16),parseInt(Er+Er,16),1)}if(ye.value.length===4){var qe=ye.value.substring(0,1),Mt=ye.value.substring(1,2),Er=ye.value.substring(2,3),jr=ye.value.substring(3,4);return Ur(parseInt(qe+qe,16),parseInt(Mt+Mt,16),parseInt(Er+Er,16),parseInt(jr+jr,16)/255)}if(ye.value.length===6){var qe=ye.value.substring(0,2),Mt=ye.value.substring(2,4),Er=ye.value.substring(4,6);return Ur(parseInt(qe,16),parseInt(Mt,16),parseInt(Er,16),1)}if(ye.value.length===8){var qe=ye.value.substring(0,2),Mt=ye.value.substring(2,4),Er=ye.value.substring(4,6),jr=ye.value.substring(6,8);return Ur(parseInt(qe,16),parseInt(Mt,16),parseInt(Er,16),parseInt(jr,16)/255)}}if(ye.type===20){var qr=Jn[ye.value.toUpperCase()];if(typeof qr!="undefined")return qr}return Jn.TRANSPARENT}},Sr=function(le){return(255&le)===0},Zt=function(le){var ye=255&le,Ie=255&le>>8,qe=255&le>>16,Mt=255&le>>24;return ye<255?"rgba("+Mt+","+qe+","+Ie+","+ye/255+")":"rgb("+Mt+","+qe+","+Ie+")"},Ur=function(le,ye,Ie,qe){return(le<<24|ye<<16|Ie<<8|Math.round(qe*255)<<0)>>>0},Hr=function(le,ye){if(le.type===17)return le.number;if(le.type===16){var Ie=ye===3?1:255;return ye===3?le.number/100*Ie:Math.round(le.number/100*Ie)}return 0},pn=function(le,ye){var Ie=ye.filter(In);if(Ie.length===3){var qe=Ie.map(Hr),Mt=qe[0],Er=qe[1],jr=qe[2];return Ur(Mt,Er,jr,1)}if(Ie.length===4){var qr=Ie.map(Hr),Mt=qr[0],Er=qr[1],jr=qr[2],mn=qr[3];return Ur(Mt,Er,jr,mn)}return 0};function sn($t,le,ye){return ye<0&&(ye+=1),ye>=1&&(ye-=1),ye<1/6?(le-$t)*ye*6+$t:ye<1/2?le:ye<2/3?(le-$t)*6*(2/3-ye)+$t:$t}var yn=function(le,ye){var Ie=ye.filter(In),qe=Ie[0],Mt=Ie[1],Er=Ie[2],jr=Ie[3],qr=(qe.type===17?_r(qe.number):yr.parse(le,qe))/(Math.PI*2),mn=ni(Mt)?Mt.number/100:0,ai=ni(Er)?Er.number/100:0,Zn=typeof jr!="undefined"&&ni(jr)?mi(jr,1):1;if(mn===0)return Ur(ai*255,ai*255,ai*255,1);var ci=ai<=.5?ai*(mn+1):ai+mn-ai*mn,la=ai*2-ci,pa=sn(la,ci,qr+1/3),Ea=sn(la,ci,qr),so=sn(la,ci,qr-1/3);return Ur(pa*255,Ea*255,so*255,Zn)},Fn={hsl:yn,hsla:yn,rgb:pn,rgba:pn},Gn=function(le,ye){return Vt.parse(le,Wr.create(ye).parseComponentValue())},Jn={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},Ci={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(le,ye){return ye.map(function(Ie){if(vn(Ie))switch(Ie.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ta={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},oa=function(le,ye){var Ie=Vt.parse(le,ye[0]),qe=ye[1];return qe&&ni(qe)?{color:Ie,stop:qe}:{color:Ie,stop:null}},da=function(le,ye){var Ie=le[0],qe=le[le.length-1];Ie.stop===null&&(Ie.stop=li),qe.stop===null&&(qe.stop=Bi);for(var Mt=[],Er=0,jr=0;jr<le.length;jr++){var qr=le[jr].stop;if(qr!==null){var mn=mi(qr,ye);mn>Er?Mt.push(mn):Mt.push(Er),Er=mn}else Mt.push(null)}for(var ai=null,jr=0;jr<Mt.length;jr++){var Zn=Mt[jr];if(Zn===null)ai===null&&(ai=jr);else if(ai!==null){for(var ci=jr-ai,la=Mt[ai-1],pa=(Zn-la)/(ci+1),Ea=1;Ea<=ci;Ea++)Mt[ai+Ea-1]=pa*Ea;ai=null}}return le.map(function(so,Va){var Fa=so.color;return{color:Fa,stop:Math.max(Math.min(1,Mt[Va]/ye),0)}})},ca=function(le,ye,Ie){var qe=ye/2,Mt=Ie/2,Er=mi(le[0],ye)-qe,jr=Mt-mi(le[1],Ie);return(Math.atan2(jr,Er)+Math.PI*2)%(Math.PI*2)},ma=function(le,ye,Ie){var qe=typeof le=="number"?le:ca(le,ye,Ie),Mt=Math.abs(ye*Math.sin(qe))+Math.abs(Ie*Math.cos(qe)),Er=ye/2,jr=Ie/2,qr=Mt/2,mn=Math.sin(qe-Math.PI/2)*qr,ai=Math.cos(qe-Math.PI/2)*qr;return[Mt,Er-ai,Er+ai,jr-mn,jr+mn]},Ui=function(le,ye){return Math.sqrt(le*le+ye*ye)},Ni=function(le,ye,Ie,qe,Mt){var Er=[[0,0],[0,ye],[le,0],[le,ye]];return Er.reduce(function(jr,qr){var mn=qr[0],ai=qr[1],Zn=Ui(Ie-mn,qe-ai);return(Mt?Zn<jr.optimumDistance:Zn>jr.optimumDistance)?{optimumCorner:qr,optimumDistance:Zn}:jr},{optimumDistance:Mt?Infinity:-Infinity,optimumCorner:null}).optimumCorner},ra=function(le,ye,Ie,qe,Mt){var Er=0,jr=0;switch(le.size){case 0:le.shape===0?Er=jr=Math.min(Math.abs(ye),Math.abs(ye-qe),Math.abs(Ie),Math.abs(Ie-Mt)):le.shape===1&&(Er=Math.min(Math.abs(ye),Math.abs(ye-qe)),jr=Math.min(Math.abs(Ie),Math.abs(Ie-Mt)));break;case 2:if(le.shape===0)Er=jr=Math.min(Ui(ye,Ie),Ui(ye,Ie-Mt),Ui(ye-qe,Ie),Ui(ye-qe,Ie-Mt));else if(le.shape===1){var qr=Math.min(Math.abs(Ie),Math.abs(Ie-Mt))/Math.min(Math.abs(ye),Math.abs(ye-qe)),mn=Ni(qe,Mt,ye,Ie,!0),ai=mn[0],Zn=mn[1];Er=Ui(ai-ye,(Zn-Ie)/qr),jr=qr*Er}break;case 1:le.shape===0?Er=jr=Math.max(Math.abs(ye),Math.abs(ye-qe),Math.abs(Ie),Math.abs(Ie-Mt)):le.shape===1&&(Er=Math.max(Math.abs(ye),Math.abs(ye-qe)),jr=Math.max(Math.abs(Ie),Math.abs(Ie-Mt)));break;case 3:if(le.shape===0)Er=jr=Math.max(Ui(ye,Ie),Ui(ye,Ie-Mt),Ui(ye-qe,Ie),Ui(ye-qe,Ie-Mt));else if(le.shape===1){var qr=Math.max(Math.abs(Ie),Math.abs(Ie-Mt))/Math.max(Math.abs(ye),Math.abs(ye-qe)),ci=Ni(qe,Mt,ye,Ie,!1),ai=ci[0],Zn=ci[1];Er=Ui(ai-ye,(Zn-Ie)/qr),jr=qr*Er}break}return Array.isArray(le.size)&&(Er=mi(le.size[0],qe),jr=le.size.length===2?mi(le.size[1],Mt):Er),[Er,jr]},qi=function(le,ye){var Ie=_r(180),qe=[];return Tn(ye).forEach(function(Mt,Er){if(Er===0){var jr=Mt[0];if(jr.type===20&&jr.value==="to"){Ie=Qr(Mt);return}else if(Mr(jr)){Ie=yr.parse(le,jr);return}}var qr=oa(le,Mt);qe.push(qr)}),{angle:Ie,stops:qe,type:1}},va=function(le,ye){var Ie=_r(180),qe=[];return Tn(ye).forEach(function(Mt,Er){if(Er===0){var jr=Mt[0];if(jr.type===20&&["top","left","right","bottom"].indexOf(jr.value)!==-1){Ie=Qr(Mt);return}else if(Mr(jr)){Ie=(yr.parse(le,jr)+_r(270))%_r(360);return}}var qr=oa(le,Mt);qe.push(qr)}),{angle:Ie,stops:qe,type:1}},Oa=function(le,ye){var Ie=_r(180),qe=[],Mt=1,Er=0,jr=3,qr=[];return Tn(ye).forEach(function(mn,ai){var Zn=mn[0];if(ai===0){if(vn(Zn)&&Zn.value==="linear"){Mt=1;return}else if(vn(Zn)&&Zn.value==="radial"){Mt=2;return}}if(Zn.type===18){if(Zn.name==="from"){var ci=Vt.parse(le,Zn.values[0]);qe.push({stop:li,color:ci})}else if(Zn.name==="to"){var ci=Vt.parse(le,Zn.values[0]);qe.push({stop:Bi,color:ci})}else if(Zn.name==="color-stop"){var la=Zn.values.filter(In);if(la.length===2){var ci=Vt.parse(le,la[1]),pa=la[0];En(pa)&&qe.push({stop:{type:16,number:pa.number*100,flags:pa.flags},color:ci})}}}}),Mt===1?{angle:(Ie+_r(180))%_r(360),stops:qe,type:Mt}:{size:jr,shape:Er,stops:qe,position:qr,type:Mt}},Zi="closest-side",Xi="farthest-side",La="closest-corner",Aa="farthest-corner",Ti="circle",Sa="ellipse",Ra="cover",Na="contain",Ua=function(le,ye){var Ie=0,qe=3,Mt=[],Er=[];return Tn(ye).forEach(function(jr,qr){var mn=!0;if(qr===0){var ai=!1;mn=jr.reduce(function(ci,la){if(ai)if(vn(la))switch(la.value){case"center":return Er.push(Oi),ci;case"top":case"left":return Er.push(li),ci;case"right":case"bottom":return Er.push(Bi),ci}else(ni(la)||Yn(la))&&Er.push(la);else if(vn(la))switch(la.value){case Ti:return Ie=0,!1;case Sa:return Ie=1,!1;case"at":return ai=!0,!1;case Zi:return qe=0,!1;case Ra:case Xi:return qe=1,!1;case Na:case La:return qe=2,!1;case Aa:return qe=3,!1}else if(Yn(la)||ni(la))return Array.isArray(qe)||(qe=[]),qe.push(la),!1;return ci},mn)}if(mn){var Zn=oa(le,jr);Mt.push(Zn)}}),{size:qe,shape:Ie,stops:Mt,position:Er,type:2}},Pa=function(le,ye){var Ie=0,qe=3,Mt=[],Er=[];return Tn(ye).forEach(function(jr,qr){var mn=!0;if(qr===0?mn=jr.reduce(function(Zn,ci){if(vn(ci))switch(ci.value){case"center":return Er.push(Oi),!1;case"top":case"left":return Er.push(li),!1;case"right":case"bottom":return Er.push(Bi),!1}else if(ni(ci)||Yn(ci))return Er.push(ci),!1;return Zn},mn):qr===1&&(mn=jr.reduce(function(Zn,ci){if(vn(ci))switch(ci.value){case Ti:return Ie=0,!1;case Sa:return Ie=1,!1;case Na:case Zi:return qe=0,!1;case Xi:return qe=1,!1;case La:return qe=2,!1;case Ra:case Aa:return qe=3,!1}else if(Yn(ci)||ni(ci))return Array.isArray(qe)||(qe=[]),qe.push(ci),!1;return Zn},mn)),mn){var ai=oa(le,jr);Mt.push(ai)}}),{size:qe,shape:Ie,stops:Mt,position:Er,type:2}},za=function(le){return le.type===1},xa=function(le){return le.type===2},ja={name:"image",parse:function(le,ye){if(ye.type===22){var Ie={url:ye.value,type:0};return le.cache.addImage(ye.value),Ie}if(ye.type===18){var qe=ia[ye.name];if(typeof qe=="undefined")throw new Error('Attempting to parse an unsupported image function "'+ye.name+'"');return qe(le,ye.values)}throw new Error("Unsupported image type "+ye.type)}};function io($t){return!($t.type===20&&$t.value==="none")&&($t.type!==18||!!ia[$t.name])}var ia={"linear-gradient":qi,"-moz-linear-gradient":va,"-ms-linear-gradient":va,"-o-linear-gradient":va,"-webkit-linear-gradient":va,"radial-gradient":Ua,"-moz-radial-gradient":Pa,"-ms-radial-gradient":Pa,"-o-radial-gradient":Pa,"-webkit-radial-gradient":Pa,"-webkit-gradient":Oa},lo={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){if(ye.length===0)return[];var Ie=ye[0];return Ie.type===20&&Ie.value==="none"?[]:ye.filter(function(qe){return In(qe)&&io(qe)}).map(function(qe){return ja.parse(le,qe)})}},Ga={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(le,ye){return ye.map(function(Ie){if(vn(Ie))switch(Ie.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ca={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(le,ye){return Tn(ye).map(function(Ie){return Ie.filter(ni)}).map(yi)}},Qa={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(le,ye){return Tn(ye).map(function(Ie){return Ie.filter(vn).map(function(qe){return qe.value}).join(" ")}).map(Da)}},Da=function(le){switch(le){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ia;(function($t){$t.AUTO="auto",$t.CONTAIN="contain",$t.COVER="cover"})(Ia||(Ia={}));var yo={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(le,ye){return Tn(ye).map(function(Ie){return Ie.filter(ao)})}},ao=function(le){return vn(le)||ni(le)},bo=function(le){return{name:"border-"+le+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},co=bo("top"),uo=bo("right"),Ya=bo("bottom"),eo=bo("left"),wa=function(le){return{name:"border-radius-"+le,initialValue:"0 0",prefix:!1,type:1,parse:function(Ie,qe){return yi(qe.filter(ni))}}},ro=wa("top-left"),fo=wa("top-right"),ki=wa("bottom-right"),Ma=wa("bottom-left"),Ro=function(le){return{name:"border-"+le+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(Ie,qe){switch(qe){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},jo=Ro("top"),Vo=Ro("right"),Xo=Ro("bottom"),wo=Ro("left"),_a=function(le){return{name:"border-"+le+"-width",initialValue:"0",type:0,prefix:!1,parse:function(Ie,qe){return on(qe)?qe.number:0}}},Po=_a("top"),ds=_a("right"),ho=_a("bottom"),Oo=_a("left"),Ka={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Go={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"rtl":return 1;case"ltr":default:return 0}}},nl={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(le,ye){return ye.filter(vn).reduce(function(Ie,qe){return Ie|Ts(qe.value)},0)}},Ts=function(le){switch(le){case"block":case"-webkit-box":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},Is={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},xs={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(le,ye){return ye.type===20&&ye.value==="normal"?0:ye.type===17||ye.type===15?ye.number:0}},ps;(function($t){$t.NORMAL="normal",$t.STRICT="strict"})(ps||(ps={}));var Os={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"strict":return ps.STRICT;case"normal":default:return ps.NORMAL}}},Ho={name:"line-height",initialValue:"normal",prefix:!1,type:4},mo=function(le,ye){return vn(le)&&le.value==="normal"?1.2*ye:le.type===17?ye*le.number:ni(le)?mi(le,ye):ye},es={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(le,ye){return ye.type===20&&ye.value==="none"?null:ja.parse(le,ye)}},Ko={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"inside":return 0;case"outside":default:return 1}}},ko={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},zr=function(le){return{name:"margin-"+le,initialValue:"0",prefix:!1,type:4}},Yo=zr("top"),il=zr("right"),Ks=zr("bottom"),Ps=zr("left"),no={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(le,ye){return ye.filter(vn).map(function(Ie){switch(Ie.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Ao={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"break-word":return"break-word";case"normal":default:return"normal"}}},Fo=function(le){return{name:"padding-"+le,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},ns=Fo("top"),ys=Fo("right"),ms=Fo("bottom"),_s=Fo("left"),ol={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ls={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Gs={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.length===1&&Un(ye[0],"none")?[]:Tn(ye).map(function(Ie){for(var qe={color:Jn.TRANSPARENT,offsetX:li,offsetY:li,blur:li},Mt=0,Er=0;Er<Ie.length;Er++){var jr=Ie[Er];Yn(jr)?(Mt===0?qe.offsetX=jr:Mt===1?qe.offsetY=jr:qe.blur=jr,Mt++):qe.color=Vt.parse(le,jr)}return qe})}},ks={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},gs={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(le,ye){if(ye.type===20&&ye.value==="none")return null;if(ye.type===18){var Ie=Dt[ye.name];if(typeof Ie=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+ye.name+'"');return Ie(ye.values)}return null}},Ns=function(le){var ye=le.filter(function(Ie){return Ie.type===17}).map(function(Ie){return Ie.number});return ye.length===6?ye:null},St=function(le){var ye=le.filter(function(mn){return mn.type===17}).map(function(mn){return mn.number}),Ie=ye[0],qe=ye[1];ye[2],ye[3];var Mt=ye[4],Er=ye[5];ye[6],ye[7],ye[8],ye[9],ye[10],ye[11];var jr=ye[12],qr=ye[13];return ye[14],ye[15],ye.length===16?[Ie,qe,Mt,Er,jr,qr]:null},Dt={matrix:Ns,matrix3d:St},rn={type:16,number:50,flags:Bt},On=[rn,rn],mt={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(le,ye){var Ie=ye.filter(ni);return Ie.length!==2?On:[Ie[0],Ie[1]]}},ne={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},fe;(function($t){$t.NORMAL="normal",$t.BREAK_ALL="break-all",$t.KEEP_ALL="keep-all"})(fe||(fe={}));for(var ge={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"break-all":return fe.BREAK_ALL;case"keep-all":return fe.KEEP_ALL;case"normal":default:return fe.NORMAL}}},Re={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(le,ye){if(ye.type===20)return{auto:!0,order:0};if(En(ye))return{auto:!1,order:ye.number};throw new Error("Invalid z-index number parsed")}},ut={name:"time",parse:function(le,ye){if(ye.type===15)switch(ye.unit.toLowerCase()){case"s":return 1e3*ye.number;case"ms":return ye.number}throw new Error("Unsupported time type")}},Lt={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(le,ye){return En(ye)?ye.number:1}},br={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Or={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(le,ye){return ye.filter(vn).map(function(Ie){switch(Ie.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(Ie){return Ie!==0})}},Zr={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(le,ye){var Ie=[],qe=[];return ye.forEach(function(Mt){switch(Mt.type){case 20:case 0:Ie.push(Mt.value);break;case 17:Ie.push(Mt.number.toString());break;case 4:qe.push(Ie.join(" ")),Ie.length=0;break}}),Ie.length&&qe.push(Ie.join(" ")),qe.map(function(Mt){return Mt.indexOf(" ")===-1?Mt:"'"+Mt+"'"})}},Cn={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Hn={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(le,ye){if(En(ye))return ye.number;if(vn(ye))switch(ye.value){case"bold":return 700;case"normal":default:return 400}return 400}},si={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.filter(vn).map(function(Ie){return Ie.value})}},xi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(le,ye){switch(ye){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Di=function(le,ye){return(le&ye)!==0},sa={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){if(ye.length===0)return[];var Ie=ye[0];return Ie.type===20&&Ie.value==="none"?[]:ye}},ya={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return null;var Ie=ye[0];if(Ie.type===20&&Ie.value==="none")return null;for(var qe=[],Mt=ye.filter(wn),Er=0;Er<Mt.length;Er++){var jr=Mt[Er],qr=Mt[Er+1];if(jr.type===20){var mn=qr&&En(qr)?qr.number:1;qe.push({counter:jr.value,increment:mn})}}return qe}},Ja={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return[];for(var Ie=[],qe=ye.filter(wn),Mt=0;Mt<qe.length;Mt++){var Er=qe[Mt],jr=qe[Mt+1];if(vn(Er)&&Er.value!=="none"){var qr=jr&&En(jr)?jr.number:0;Ie.push({counter:Er.value,reset:qr})}}return Ie}},$a={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(le,ye){return ye.filter(on).map(function(Ie){return ut.parse(le,Ie)})}},to={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(le,ye){if(ye.length===0)return null;var Ie=ye[0];if(Ie.type===20&&Ie.value==="none")return null;var qe=[],Mt=ye.filter(Dn);if(Mt.length%2!==0)return null;for(var Er=0;Er<Mt.length;Er+=2){var jr=Mt[Er].value,qr=Mt[Er+1].value;qe.push({open:jr,close:qr})}return qe}},Io=function(le,ye,Ie){if(!le)return"";var qe=le[Math.min(ye,le.length-1)];return qe?Ie?qe.open:qe.close:""},Co={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(le,ye){return ye.length===1&&Un(ye[0],"none")?[]:Tn(ye).map(function(Ie){for(var qe={color:255,offsetX:li,offsetY:li,blur:li,spread:li,inset:!1},Mt=0,Er=0;Er<Ie.length;Er++){var jr=Ie[Er];Un(jr,"inset")?qe.inset=!0:Yn(jr)?(Mt===0?qe.offsetX=jr:Mt===1?qe.offsetY=jr:Mt===2?qe.blur=jr:qe.spread=jr,Mt++):qe.color=Vt.parse(le,jr)}return qe})}},Do={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(le,ye){var Ie=[0,1,2],qe=[];return ye.filter(vn).forEach(function(Mt){switch(Mt.value){case"stroke":qe.push(1);break;case"fill":qe.push(0);break;case"markers":qe.push(2);break}}),Ie.forEach(function(Mt){qe.indexOf(Mt)===-1&&qe.push(Mt)}),qe}},go={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},So={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(le,ye){return on(ye)?ye.number:0}},is=function(){function $t(le,ye){var Ie,qe;this.animationDuration=Yi(le,$a,ye.animationDuration),this.backgroundClip=Yi(le,Ci,ye.backgroundClip),this.backgroundColor=Yi(le,ta,ye.backgroundColor),this.backgroundImage=Yi(le,lo,ye.backgroundImage),this.backgroundOrigin=Yi(le,Ga,ye.backgroundOrigin),this.backgroundPosition=Yi(le,Ca,ye.backgroundPosition),this.backgroundRepeat=Yi(le,Qa,ye.backgroundRepeat),this.backgroundSize=Yi(le,yo,ye.backgroundSize),this.borderTopColor=Yi(le,co,ye.borderTopColor),this.borderRightColor=Yi(le,uo,ye.borderRightColor),this.borderBottomColor=Yi(le,Ya,ye.borderBottomColor),this.borderLeftColor=Yi(le,eo,ye.borderLeftColor),this.borderTopLeftRadius=Yi(le,ro,ye.borderTopLeftRadius),this.borderTopRightRadius=Yi(le,fo,ye.borderTopRightRadius),this.borderBottomRightRadius=Yi(le,ki,ye.borderBottomRightRadius),this.borderBottomLeftRadius=Yi(le,Ma,ye.borderBottomLeftRadius),this.borderTopStyle=Yi(le,jo,ye.borderTopStyle),this.borderRightStyle=Yi(le,Vo,ye.borderRightStyle),this.borderBottomStyle=Yi(le,Xo,ye.borderBottomStyle),this.borderLeftStyle=Yi(le,wo,ye.borderLeftStyle),this.borderTopWidth=Yi(le,Po,ye.borderTopWidth),this.borderRightWidth=Yi(le,ds,ye.borderRightWidth),this.borderBottomWidth=Yi(le,ho,ye.borderBottomWidth),this.borderLeftWidth=Yi(le,Oo,ye.borderLeftWidth),this.boxShadow=Yi(le,Co,ye.boxShadow),this.color=Yi(le,Ka,ye.color),this.direction=Yi(le,Go,ye.direction),this.display=Yi(le,nl,ye.display),this.float=Yi(le,Is,ye.cssFloat),this.fontFamily=Yi(le,Zr,ye.fontFamily),this.fontSize=Yi(le,Cn,ye.fontSize),this.fontStyle=Yi(le,xi,ye.fontStyle),this.fontVariant=Yi(le,si,ye.fontVariant),this.fontWeight=Yi(le,Hn,ye.fontWeight),this.letterSpacing=Yi(le,xs,ye.letterSpacing),this.lineBreak=Yi(le,Os,ye.lineBreak),this.lineHeight=Yi(le,Ho,ye.lineHeight),this.listStyleImage=Yi(le,es,ye.listStyleImage),this.listStylePosition=Yi(le,Ko,ye.listStylePosition),this.listStyleType=Yi(le,ko,ye.listStyleType),this.marginTop=Yi(le,Yo,ye.marginTop),this.marginRight=Yi(le,il,ye.marginRight),this.marginBottom=Yi(le,Ks,ye.marginBottom),this.marginLeft=Yi(le,Ps,ye.marginLeft),this.opacity=Yi(le,Lt,ye.opacity);var Mt=Yi(le,no,ye.overflow);this.overflowX=Mt[0],this.overflowY=Mt[Mt.length>1?1:0],this.overflowWrap=Yi(le,Ao,ye.overflowWrap),this.paddingTop=Yi(le,ns,ye.paddingTop),this.paddingRight=Yi(le,ys,ye.paddingRight),this.paddingBottom=Yi(le,ms,ye.paddingBottom),this.paddingLeft=Yi(le,_s,ye.paddingLeft),this.paintOrder=Yi(le,Do,ye.paintOrder),this.position=Yi(le,Ls,ye.position),this.textAlign=Yi(le,ol,ye.textAlign),this.textDecorationColor=Yi(le,br,(Ie=ye.textDecorationColor)!==null&&Ie!==void 0?Ie:ye.color),this.textDecorationLine=Yi(le,Or,(qe=ye.textDecorationLine)!==null&&qe!==void 0?qe:ye.textDecoration),this.textShadow=Yi(le,Gs,ye.textShadow),this.textTransform=Yi(le,ks,ye.textTransform),this.transform=Yi(le,gs,ye.transform),this.transformOrigin=Yi(le,mt,ye.transformOrigin),this.visibility=Yi(le,ne,ye.visibility),this.webkitTextStrokeColor=Yi(le,go,ye.webkitTextStrokeColor),this.webkitTextStrokeWidth=Yi(le,So,ye.webkitTextStrokeWidth),this.wordBreak=Yi(le,ge,ye.wordBreak),this.zIndex=Yi(le,Re,ye.zIndex)}return $t.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},$t.prototype.isTransparent=function(){return Sr(this.backgroundColor)},$t.prototype.isTransformed=function(){return this.transform!==null},$t.prototype.isPositioned=function(){return this.position!==0},$t.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},$t.prototype.isFloating=function(){return this.float!==0},$t.prototype.isInlineLevel=function(){return Di(this.display,4)||Di(this.display,33554432)||Di(this.display,268435456)||Di(this.display,536870912)||Di(this.display,67108864)||Di(this.display,134217728)},$t}(),ts=function(){function $t(le,ye){this.content=Yi(le,sa,ye.content),this.quotes=Yi(le,to,ye.quotes)}return $t}(),To=function(){function $t(le,ye){this.counterIncrement=Yi(le,ya,ye.counterIncrement),this.counterReset=Yi(le,Ja,ye.counterReset)}return $t}(),Yi=function(le,ye,Ie){var qe=new Dr,Mt=Ie!==null&&typeof Ie!="undefined"?Ie.toString():ye.initialValue;qe.write(Mt);var Er=new Wr(qe.read());switch(ye.type){case 2:var jr=Er.parseComponentValue();return ye.parse(le,vn(jr)?jr.value:ye.initialValue);case 0:return ye.parse(le,Er.parseComponentValue());case 1:return ye.parse(le,Er.parseComponentValues());case 4:return Er.parseComponentValue();case 3:switch(ye.format){case"angle":return yr.parse(le,Er.parseComponentValue());case"color":return Vt.parse(le,Er.parseComponentValue());case"image":return ja.parse(le,Er.parseComponentValue());case"length":var qr=Er.parseComponentValue();return Yn(qr)?qr:li;case"length-percentage":var mn=Er.parseComponentValue();return ni(mn)?mn:li;case"time":return ut.parse(le,Er.parseComponentValue())}break}},Rs="data-html2canvas-debug",Es=function(le){var ye=le.getAttribute(Rs);switch(ye){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},as=function(le,ye){var Ie=Es(le);return Ie===1||ye===Ie},Qo=function(){function $t(le,ye){if(this.context=le,this.textNodes=[],this.elements=[],this.flags=0,as(ye,3))debugger;this.styles=new is(le,window.getComputedStyle(ye,null)),Ac(ye)&&(this.styles.animationDuration.some(function(Ie){return Ie>0})&&(ye.style.animationDuration="0s"),this.styles.transform!==null&&(ye.style.transform="none")),this.bounds=h(this.context,ye),as(ye,4)&&(this.flags|=16)}return $t}(),hs="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Al="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sl=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),fs=0;fs<Al.length;fs++)sl[Al.charCodeAt(fs)]=fs;for(var Lo=function(le){var ye=le.length*.75,Ie=le.length,qe,Mt=0,Er,jr,qr,mn;le[le.length-1]==="="&&(ye--,le[le.length-2]==="="&&ye--);var ai=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(ye):new Array(ye),Zn=Array.isArray(ai)?ai:new Uint8Array(ai);for(qe=0;qe<Ie;qe+=4)Er=sl[le.charCodeAt(qe)],jr=sl[le.charCodeAt(qe+1)],qr=sl[le.charCodeAt(qe+2)],mn=sl[le.charCodeAt(qe+3)],Zn[Mt++]=Er<<2|jr>>4,Zn[Mt++]=(jr&15)<<4|qr>>2,Zn[Mt++]=(qr&3)<<6|mn&63;return ai},ls=function(le){for(var ye=le.length,Ie=[],qe=0;qe<ye;qe+=2)Ie.push(le[qe+1]<<8|le[qe]);return Ie},Zs=function(le){for(var ye=le.length,Ie=[],qe=0;qe<ye;qe+=4)Ie.push(le[qe+3]<<24|le[qe+2]<<16|le[qe+1]<<8|le[qe]);return Ie},As=5,Fs=6+5,Us=2,Ds=Fs-As,al=65536>>As,$s=1<<As,Ys=$s-1,js=1024>>As,Xa=al+js,ga=Xa,Wa=2048>>6,oo=ga+Wa,Jo=65536>>Fs,Hs=1<<Ds,bs=Hs-1,ws=function(le,ye,Ie){return le.slice?le.slice(ye,Ie):new Uint16Array(Array.prototype.slice.call(le,ye,Ie))},Uo=function(le,ye,Ie){return le.slice?le.slice(ye,Ie):new Uint32Array(Array.prototype.slice.call(le,ye,Ie))},_o=function(le,ye){var Ie=Lo(le),qe=Array.isArray(Ie)?Zs(Ie):new Uint32Array(Ie),Mt=Array.isArray(Ie)?ls(Ie):new Uint16Array(Ie),Er=24,jr=ws(Mt,Er/2,qe[4]/2),qr=qe[5]===2?ws(Mt,(Er+qe[4])/2):Uo(qe,Math.ceil((Er+qe[4])/4));return new Zo(qe[0],qe[1],qe[2],qe[3],jr,qr)},Zo=function(){function $t(le,ye,Ie,qe,Mt,Er){this.initialValue=le,this.errorValue=ye,this.highStart=Ie,this.highValueIndex=qe,this.index=Mt,this.data=Er}return $t.prototype.get=function(le){var ye;if(le>=0){if(le<55296||le>56319&&le<=65535)return ye=this.index[le>>As],ye=(ye<<Us)+(le&Ys),this.data[ye];if(le<=65535)return ye=this.index[al+(le-55296>>As)],ye=(ye<<Us)+(le&Ys),this.data[ye];if(le<this.highStart)return ye=oo-Jo+(le>>Fs),ye=this.index[ye],ye+=le>>As&bs,ye=this.index[ye],ye=(ye<<Us)+(le&Ys),this.data[ye];if(le<=1114111)return this.data[this.highValueIndex]}return this.errorValue},$t}(),xo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ws=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Sl=0;Sl<xo.length;Sl++)Ws[xo.charCodeAt(Sl)]=Sl;var xl=1,kl=2,el=3,Il=4,Ol=5,Uc=7,ic=8,Cc=9,ac=10,Hl=11,zs=12,tl=13,ll=14,Fl=15,oc=function(le){for(var ye=[],Ie=0,qe=le.length;Ie<qe;){var Mt=le.charCodeAt(Ie++);if(Mt>=55296&&Mt<=56319&&Ie<qe){var Er=le.charCodeAt(Ie++);(Er&64512)===56320?ye.push(((Mt&1023)<<10)+(Er&1023)+65536):(ye.push(Mt),Ie--)}else ye.push(Mt)}return ye},sc=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];if(String.fromCodePoint)return String.fromCodePoint.apply(String,le);var Ie=le.length;if(!Ie)return"";for(var qe=[],Mt=-1,Er="";++Mt<Ie;){var jr=le[Mt];jr<=65535?qe.push(jr):(jr-=65536,qe.push((jr>>10)+55296,jr%1024+56320)),(Mt+1===Ie||qe.length>16384)&&(Er+=String.fromCharCode.apply(String,qe),qe.length=0)}return Er},Ql=_o(hs),Vs="\xD7",lc="\xF7",cc=function(le){return Ql.get(le)},Tc=function(le,ye,Ie){var qe=Ie-2,Mt=ye[qe],Er=ye[Ie-1],jr=ye[Ie];if(Er===kl&&jr===el)return Vs;if(Er===kl||Er===el||Er===Il)return lc;if(jr===kl||jr===el||jr===Il)return lc;if(Er===ic&&[ic,Cc,Hl,zs].indexOf(jr)!==-1)return Vs;if((Er===Hl||Er===Cc)&&(jr===Cc||jr===ac))return Vs;if((Er===zs||Er===ac)&&jr===ac)return Vs;if(jr===tl||jr===Ol)return Vs;if(jr===Uc)return Vs;if(Er===xl)return Vs;if(Er===tl&&jr===ll){for(;Mt===Ol;)Mt=ye[--qe];if(Mt===ll)return Vs}if(Er===Fl&&jr===Fl){for(var qr=0;Mt===Fl;)qr++,Mt=ye[--qe];if(qr%2===0)return Vs}return lc},vl=function(le){var ye=oc(le),Ie=ye.length,qe=0,Mt=0,Er=ye.map(cc);return{next:function(){if(qe>=Ie)return{done:!0,value:null};for(var qr=Vs;qe<Ie&&(qr=Tc(ye,Er,++qe))===Vs;);if(qr!==Vs||qe===Ie){var mn=sc.apply(null,ye.slice(Mt,qe));return Mt=qe,{value:mn,done:!1}}return{done:!0,value:null}}}},Ll=function(le){for(var ye=vl(le),Ie=[],qe;!(qe=ye.next()).done;)qe.value&&Ie.push(qe.value.slice());return Ie},Kl=function(le){var ye=123;if(le.createRange){var Ie=le.createRange();if(Ie.getBoundingClientRect){var qe=le.createElement("boundtest");qe.style.height=ye+"px",qe.style.display="block",le.body.appendChild(qe),Ie.selectNode(qe);var Mt=Ie.getBoundingClientRect(),Er=Math.round(Mt.height);if(le.body.removeChild(qe),Er===ye)return!0}}return!1},Jl=function(le){var ye=le.createElement("boundtest");ye.style.width="50px",ye.style.display="block",ye.style.fontSize="12px",ye.style.letterSpacing="0px",ye.style.wordSpacing="0px",le.body.appendChild(ye);var Ie=le.createRange();ye.innerHTML=typeof"".repeat=="function"?"&#128104;".repeat(10):"";var qe=ye.firstChild,Mt=r(qe.data).map(function(mn){return s(mn)}),Er=0,jr={},qr=Mt.every(function(mn,ai){Ie.setStart(qe,Er),Ie.setEnd(qe,Er+mn.length);var Zn=Ie.getBoundingClientRect();Er+=mn.length;var ci=Zn.x>jr.x||Zn.y>jr.y;return jr=Zn,ai===0?!0:ci});return le.body.removeChild(ye),qr},El=function(){return typeof new Image().crossOrigin!="undefined"},jc=function(){return typeof new XMLHttpRequest().responseType=="string"},Hc=function(le){var ye=new Image,Ie=le.createElement("canvas"),qe=Ie.getContext("2d");if(!qe)return!1;ye.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{qe.drawImage(ye,0,0),Ie.toDataURL()}catch(Mt){return!1}return!0},yl=function(le){return le[0]===0&&le[1]===255&&le[2]===0&&le[3]===255},Zl=function(le){var ye=le.createElement("canvas"),Ie=100;ye.width=Ie,ye.height=Ie;var qe=ye.getContext("2d");if(!qe)return Promise.reject(!1);qe.fillStyle="rgb(0, 255, 0)",qe.fillRect(0,0,Ie,Ie);var Mt=new Image,Er=ye.toDataURL();Mt.src=Er;var jr=uc(Ie,Ie,0,0,Mt);return qe.fillStyle="red",qe.fillRect(0,0,Ie,Ie),$l(jr).then(function(qr){qe.drawImage(qr,0,0);var mn=qe.getImageData(0,0,Ie,Ie).data;qe.fillStyle="red",qe.fillRect(0,0,Ie,Ie);var ai=le.createElement("div");return ai.style.backgroundImage="url("+Er+")",ai.style.height=Ie+"px",yl(mn)?$l(uc(Ie,Ie,0,0,ai)):Promise.reject(!1)}).then(function(qr){return qe.drawImage(qr,0,0),yl(qe.getImageData(0,0,Ie,Ie).data)}).catch(function(){return!1})},uc=function(le,ye,Ie,qe,Mt){var Er="http://www.w3.org/2000/svg",jr=document.createElementNS(Er,"svg"),qr=document.createElementNS(Er,"foreignObject");return jr.setAttributeNS(null,"width",le.toString()),jr.setAttributeNS(null,"height",ye.toString()),qr.setAttributeNS(null,"width","100%"),qr.setAttributeNS(null,"height","100%"),qr.setAttributeNS(null,"x",Ie.toString()),qr.setAttributeNS(null,"y",qe.toString()),qr.setAttributeNS(null,"externalResourcesRequired","true"),jr.appendChild(qr),qr.appendChild(Mt),jr},$l=function(le){return new Promise(function(ye,Ie){var qe=new Image;qe.onload=function(){return ye(qe)},qe.onerror=Ie,qe.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(le))})},Ss={get SUPPORT_RANGE_BOUNDS(){var $t=Kl(document);return Object.defineProperty(Ss,"SUPPORT_RANGE_BOUNDS",{value:$t}),$t},get SUPPORT_WORD_BREAKING(){var $t=Ss.SUPPORT_RANGE_BOUNDS&&Jl(document);return Object.defineProperty(Ss,"SUPPORT_WORD_BREAKING",{value:$t}),$t},get SUPPORT_SVG_DRAWING(){var $t=Hc(document);return Object.defineProperty(Ss,"SUPPORT_SVG_DRAWING",{value:$t}),$t},get SUPPORT_FOREIGNOBJECT_DRAWING(){var $t=typeof Array.from=="function"&&typeof window.fetch=="function"?Zl(document):Promise.resolve(!1);return Object.defineProperty(Ss,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:$t}),$t},get SUPPORT_CORS_IMAGES(){var $t=El();return Object.defineProperty(Ss,"SUPPORT_CORS_IMAGES",{value:$t}),$t},get SUPPORT_RESPONSE_TYPE(){var $t=jc();return Object.defineProperty(Ss,"SUPPORT_RESPONSE_TYPE",{value:$t}),$t},get SUPPORT_CORS_XHR(){var $t="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ss,"SUPPORT_CORS_XHR",{value:$t}),$t},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var $t=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(Ss,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:$t}),$t}},dl=function(){function $t(le,ye){this.text=le,this.bounds=ye}return $t}(),Ul=function(le,ye,Ie,qe){var Mt=hc(ye,Ie),Er=[],jr=0;return Mt.forEach(function(qr){if(Ie.textDecorationLine.length||qr.trim().length>0)if(Ss.SUPPORT_RANGE_BOUNDS){var mn=dc(qe,jr,qr.length).getClientRects();if(mn.length>1){var ai=Wl(qr),Zn=0;ai.forEach(function(la){Er.push(new dl(la,p.fromDOMRectList(le,dc(qe,Zn+jr,la.length).getClientRects()))),Zn+=la.length})}else Er.push(new dl(qr,p.fromDOMRectList(le,mn)))}else{var ci=qe.splitText(qr.length);Er.push(new dl(qr,_c(le,qe))),qe=ci}else Ss.SUPPORT_RANGE_BOUNDS||(qe=qe.splitText(qr.length));jr+=qr.length}),Er},_c=function(le,ye){var Ie=ye.ownerDocument;if(Ie){var qe=Ie.createElement("html2canvaswrapper");qe.appendChild(ye.cloneNode(!0));var Mt=ye.parentNode;if(Mt){Mt.replaceChild(qe,ye);var Er=h(le,qe);return qe.firstChild&&Mt.replaceChild(qe.firstChild,qe),Er}}return p.EMPTY},dc=function(le,ye,Ie){var qe=le.ownerDocument;if(!qe)throw new Error("Node has no owner document");var Mt=qe.createRange();return Mt.setStart(le,ye),Mt.setEnd(le,ye+Ie),Mt},Wl=function(le){if(Ss.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ye=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(ye.segment(le)).map(function(Ie){return Ie.segment})}return Ll(le)},zl=function(le,ye){if(Ss.SUPPORT_NATIVE_TEXT_SEGMENTATION){var Ie=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(Ie.segment(le)).map(function(qe){return qe.segment})}return Kc(le,ye)},hc=function(le,ye){return ye.letterSpacing!==0?Wl(le):zl(le,ye)},Ic=[32,160,4961,65792,65793,4153,4241],Kc=function(le,ye){for(var Ie=ke(le,{lineBreak:ye.lineBreak,wordBreak:ye.overflowWrap==="break-word"?"break-word":ye.wordBreak}),qe=[],Mt,Er=function(){if(Mt.value){var qr=Mt.value.slice(),mn=r(qr),ai="";mn.forEach(function(Zn){Ic.indexOf(Zn)===-1?ai+=s(Zn):(ai.length&&qe.push(ai),qe.push(s(Zn)),ai="")}),ai.length&&qe.push(ai)}};!(Mt=Ie.next()).done;)Er();return qe},hl=function(){function $t(le,ye,Ie){this.text=fl(ye.data,Ie.textTransform),this.textBounds=Ul(le,this.text,Ie,ye)}return $t}(),fl=function(le,ye){switch(ye){case 1:return le.toLowerCase();case 3:return le.replace(Cl,ql);case 2:return le.toUpperCase();default:return le}},Cl=/(^|\s|:|-|\(|\))([a-z])/g,ql=function(le,ye,Ie){return le.length>0?ye+Ie.toUpperCase():le},ec=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.src=Ie.currentSrc||Ie.src,qe.intrinsicWidth=Ie.naturalWidth,qe.intrinsicHeight=Ie.naturalHeight,qe.context.cache.addImage(qe.src),qe}return le}(Qo),bl=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.canvas=Ie,qe.intrinsicWidth=Ie.width,qe.intrinsicHeight=Ie.height,qe}return le}(Qo),cl=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this,Mt=new XMLSerializer,Er=h(ye,Ie);return Ie.setAttribute("width",Er.width+"px"),Ie.setAttribute("height",Er.height+"px"),qe.svg="data:image/svg+xml,"+encodeURIComponent(Mt.serializeToString(Ie)),qe.intrinsicWidth=Ie.width.baseVal.value,qe.intrinsicHeight=Ie.height.baseVal.value,qe.context.cache.addImage(qe.svg),qe}return le}(Qo),fc=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.value=Ie.value,qe}return le}(Qo),pc=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.start=Ie.start,qe.reversed=typeof Ie.reversed=="boolean"&&Ie.reversed===!0,qe}return le}(Qo),Wc=[{type:15,flags:0,unit:"px",number:3}],Oc=[{type:16,flags:0,number:50}],Lc=function(le){return le.width>le.height?new p(le.left+(le.width-le.height)/2,le.top,le.height,le.height):le.width<le.height?new p(le.left,le.top+(le.height-le.width)/2,le.width,le.width):le},zc=function(le){var ye=le.type===Nl?new Array(le.value.length+1).join("\u2022"):le.value;return ye.length===0?le.placeholder||"":ye},Vl="checkbox",pl="radio",Nl="password",Xl=707406591,jl=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;qe.type=Ie.type.toLowerCase(),qe.checked=Ie.checked,qe.value=zc(Ie),(qe.type===Vl||qe.type===pl)&&(qe.styles.backgroundColor=3739148031,qe.styles.borderTopColor=qe.styles.borderRightColor=qe.styles.borderBottomColor=qe.styles.borderLeftColor=2779096575,qe.styles.borderTopWidth=qe.styles.borderRightWidth=qe.styles.borderBottomWidth=qe.styles.borderLeftWidth=1,qe.styles.borderTopStyle=qe.styles.borderRightStyle=qe.styles.borderBottomStyle=qe.styles.borderLeftStyle=1,qe.styles.backgroundClip=[0],qe.styles.backgroundOrigin=[0],qe.bounds=Lc(qe.bounds));switch(qe.type){case Vl:qe.styles.borderTopRightRadius=qe.styles.borderTopLeftRadius=qe.styles.borderBottomRightRadius=qe.styles.borderBottomLeftRadius=Wc;break;case pl:qe.styles.borderTopRightRadius=qe.styles.borderTopLeftRadius=qe.styles.borderBottomRightRadius=qe.styles.borderBottomLeftRadius=Oc;break}return qe}return le}(Qo),mc=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this,Mt=Ie.options[Ie.selectedIndex||0];return qe.value=Mt&&Mt.text||"",qe}return le}(Qo),Vc=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.value=Ie.value,qe}return le}(Qo),Nc=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;qe.src=Ie.src,qe.width=parseInt(Ie.width,10)||0,qe.height=parseInt(Ie.height,10)||0,qe.backgroundColor=qe.styles.backgroundColor;try{if(Ie.contentWindow&&Ie.contentWindow.document&&Ie.contentWindow.document.documentElement){qe.tree=Gc(ye,Ie.contentWindow.document.documentElement);var Mt=Ie.contentWindow.document.documentElement?Gn(ye,getComputedStyle(Ie.contentWindow.document.documentElement).backgroundColor):Jn.TRANSPARENT,Er=Ie.contentWindow.document.body?Gn(ye,getComputedStyle(Ie.contentWindow.document.body).backgroundColor):Jn.TRANSPARENT;qe.backgroundColor=Sr(Mt)?Sr(Er)?qe.styles.backgroundColor:Er:Mt}}catch(jr){}return qe}return le}(Qo),eu=["OL","UL","MENU"],Rc=function $t(le,ye,Ie,qe){for(var Mt=ye.firstChild,Er=void 0;Mt;Mt=Er)if(Er=Mt.nextSibling,gc(Mt)&&Mt.data.trim().length>0)Ie.textNodes.push(new hl(le,Mt,Ie.styles));else if(wl(Mt))if(Rt(Mt)&&Mt.assignedNodes)Mt.assignedNodes().forEach(function(qr){return $t(le,qr,Ie,qe)});else{var jr=Xc(le,Mt);jr.styles.isVisible()&&(Yc(Mt,jr,qe)?jr.flags|=4:Dc(jr.styles)&&(jr.flags|=2),eu.indexOf(Mt.tagName)!==-1&&(jr.flags|=8),Ie.elements.push(jr),Mt.slot,Mt.shadowRoot?$t(le,Mt.shadowRoot,jr,qe):!Ct(Mt)&&!jt(Mt)&&!It(Mt)&&$t(le,Mt,jr,qe))}},Xc=function(le,ye){return J(ye)?new ec(le,ye):Tr(ye)?new bl(le,ye):jt(ye)?new cl(le,ye):tc(ye)?new fc(le,ye):me(ye)?new pc(le,ye):Me(ye)?new jl(le,ye):It(ye)?new mc(le,ye):Ct(ye)?new Vc(le,ye):Ae(ye)?new Nc(le,ye):new Qo(le,ye)},Gc=function(le,ye){var Ie=Xc(le,ye);return Ie.flags|=4,Rc(le,ye,Ie,Ie),Ie},Yc=function(le,ye,Ie){return ye.styles.isPositionedWithZIndex()||ye.styles.opacity<1||ye.styles.isTransformed()||dr(le)&&Ie.styles.isTransparent()},Dc=function(le){return le.isPositioned()||le.isFloating()},gc=function(le){return le.nodeType===Node.TEXT_NODE},wl=function(le){return le.nodeType===Node.ELEMENT_NODE},Ac=function(le){return wl(le)&&typeof le.style!="undefined"&&!Tl(le)},Tl=function(le){return typeof le.className=="object"},tc=function(le){return le.tagName==="LI"},me=function(le){return le.tagName==="OL"},Me=function(le){return le.tagName==="INPUT"},ht=function(le){return le.tagName==="HTML"},jt=function(le){return le.tagName==="svg"},dr=function(le){return le.tagName==="BODY"},Tr=function(le){return le.tagName==="CANVAS"},Ee=function(le){return le.tagName==="VIDEO"},J=function(le){return le.tagName==="IMG"},Ae=function(le){return le.tagName==="IFRAME"},Pe=function(le){return le.tagName==="STYLE"},at=function(le){return le.tagName==="SCRIPT"},Ct=function(le){return le.tagName==="TEXTAREA"},It=function(le){return le.tagName==="SELECT"},Rt=function(le){return le.tagName==="SLOT"},Ar=function(le){return le.tagName.indexOf("-")>0},Lr=function(){function $t(){this.counters={}}return $t.prototype.getCounterValue=function(le){var ye=this.counters[le];return ye&&ye.length?ye[ye.length-1]:1},$t.prototype.getCounterValues=function(le){var ye=this.counters[le];return ye||[]},$t.prototype.pop=function(le){var ye=this;le.forEach(function(Ie){return ye.counters[Ie].pop()})},$t.prototype.parse=function(le){var ye=this,Ie=le.counterIncrement,qe=le.counterReset,Mt=!0;Ie!==null&&Ie.forEach(function(jr){var qr=ye.counters[jr.counter];qr&&jr.increment!==0&&(Mt=!1,qr.length||qr.push(1),qr[Math.max(0,qr.length-1)]+=jr.increment)});var Er=[];return Mt&&qe.forEach(function(jr){var qr=ye.counters[jr.counter];Er.push(jr.counter),qr||(qr=ye.counters[jr.counter]=[]),qr.push(jr.reset)}),Er},$t}(),mr={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"]},ur={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"]},Cr={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"]},Br={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"]},an=function(le,ye,Ie,qe,Mt,Er){return le<ye||le>Ie?Q(le,Mt,Er.length>0):qe.integers.reduce(function(jr,qr,mn){for(;le>=qr;)le-=qr,jr+=qe.values[mn];return jr},"")+Er},jn=function(le,ye,Ie,qe){var Mt="";do Ie||le--,Mt=qe(le)+Mt,le/=ye;while(le*ye>=ye);return Mt},Vn=function(le,ye,Ie,qe,Mt){var Er=Ie-ye+1;return(le<0?"-":"")+(jn(Math.abs(le),Er,qe,function(jr){return s(Math.floor(jr%Er)+ye)})+Mt)},Ei=function(le,ye,Ie){Ie===void 0&&(Ie=". ");var qe=ye.length;return jn(Math.abs(le),qe,!1,function(Mt){return ye[Math.floor(Mt%qe)]})+Ie},di=1<<0,ua=1<<1,ji=1<<2,Ta=1<<3,ha=function(le,ye,Ie,qe,Mt,Er){if(le<-9999||le>9999)return Q(le,4,Mt.length>0);var jr=Math.abs(le),qr=Mt;if(jr===0)return ye[0]+qr;for(var mn=0;jr>0&&mn<=4;mn++){var ai=jr%10;ai===0&&Di(Er,di)&&qr!==""?qr=ye[ai]+qr:ai>1||ai===1&&mn===0||ai===1&&mn===1&&Di(Er,ua)||ai===1&&mn===1&&Di(Er,ji)&&le>100||ai===1&&mn>1&&Di(Er,Ta)?qr=ye[ai]+(mn>0?Ie[mn-1]:"")+qr:ai===1&&mn>0&&(qr=Ie[mn-1]+qr),jr=Math.floor(jr/10)}return(le<0?qe:"")+qr},Za="\u5341\u767E\u5343\u842C",po="\u62FE\u4F70\u4EDF\u842C",N="\u30DE\u30A4\u30CA\u30B9",F="\uB9C8\uC774\uB108\uC2A4",Q=function(le,ye,Ie){var qe=Ie?". ":"",Mt=Ie?"\u3001":"",Er=Ie?", ":"",jr=Ie?" ":"";switch(ye){case 0:return"\u2022"+jr;case 1:return"\u25E6"+jr;case 2:return"\u25FE"+jr;case 5:var qr=Vn(le,48,57,!0,qe);return qr.length<4?"0"+qr:qr;case 4:return Ei(le,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Mt);case 6:return an(le,1,3999,mr,3,qe).toLowerCase();case 7:return an(le,1,3999,mr,3,qe);case 8:return Vn(le,945,969,!1,qe);case 9:return Vn(le,97,122,!1,qe);case 10:return Vn(le,65,90,!1,qe);case 11:return Vn(le,1632,1641,!0,qe);case 12:case 49:return an(le,1,9999,ur,3,qe);case 35:return an(le,1,9999,ur,3,qe).toLowerCase();case 13:return Vn(le,2534,2543,!0,qe);case 14:case 30:return Vn(le,6112,6121,!0,qe);case 15:return Ei(le,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",Mt);case 16:return Ei(le,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",Mt);case 17:case 48:return ha(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Za,"\u8CA0",Mt,ua|ji|Ta);case 47:return ha(le,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",po,"\u8CA0",Mt,di|ua|ji|Ta);case 42:return ha(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",Za,"\u8D1F",Mt,ua|ji|Ta);case 41:return ha(le,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",po,"\u8D1F",Mt,di|ua|ji|Ta);case 26:return ha(le,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",N,Mt,0);case 25:return ha(le,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",N,Mt,di|ua|ji);case 31:return ha(le,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",F,Er,di|ua|ji);case 33:return ha(le,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",F,Er,0);case 32:return ha(le,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",F,Er,di|ua|ji);case 18:return Vn(le,2406,2415,!0,qe);case 20:return an(le,1,19999,Br,3,qe);case 21:return Vn(le,2790,2799,!0,qe);case 22:return Vn(le,2662,2671,!0,qe);case 22:return an(le,1,10999,Cr,3,qe);case 23:return Ei(le,"\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 24:return Ei(le,"\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 27:return Vn(le,3302,3311,!0,qe);case 28:return Ei(le,"\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",Mt);case 29:return Ei(le,"\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",Mt);case 34:return Vn(le,3792,3801,!0,qe);case 37:return Vn(le,6160,6169,!0,qe);case 38:return Vn(le,4160,4169,!0,qe);case 39:return Vn(le,2918,2927,!0,qe);case 40:return Vn(le,1776,1785,!0,qe);case 43:return Vn(le,3046,3055,!0,qe);case 44:return Vn(le,3174,3183,!0,qe);case 45:return Vn(le,3664,3673,!0,qe);case 46:return Vn(le,3872,3881,!0,qe);case 3:default:return Vn(le,48,57,!0,qe)}},$="data-html2canvas-ignore",oe=function(){function $t(le,ye,Ie){if(this.context=le,this.options=Ie,this.scrolledElements=[],this.referenceElement=ye,this.counters=new Lr,this.quoteDepth=0,!ye.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ye.ownerDocument.documentElement,!1)}return $t.prototype.toIFrame=function(le,ye){var Ie=this,qe=ft(le,ye);if(!qe.contentWindow)return Promise.reject("Unable to find iframe window");var Mt=le.defaultView.pageXOffset,Er=le.defaultView.pageYOffset,jr=qe.contentWindow,qr=jr.document,mn=er(qe).then(function(){return E(Ie,void 0,void 0,function(){var ai,Zn;return C(this,function(ci){switch(ci.label){case 0:return this.scrolledElements.forEach(Ai),jr&&(jr.scrollTo(ye.left,ye.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(jr.scrollY!==ye.top||jr.scrollX!==ye.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(jr.scrollX-ye.left,jr.scrollY-ye.top,0,0))),ai=this.options.onclone,Zn=this.clonedReferenceElement,typeof Zn=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:qr.fonts&&qr.fonts.ready?[4,qr.fonts.ready]:[3,2];case 1:ci.sent(),ci.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Yt(qr)]:[3,4];case 3:ci.sent(),ci.label=4;case 4:return typeof ai=="function"?[2,Promise.resolve().then(function(){return ai(qr,Zn)}).then(function(){return qe})]:[2,qe]}})})});return qr.open(),qr.write(Rn(document.doctype)+"<html></html>"),kn(this.referenceElement.ownerDocument,Mt,Er),qr.replaceChild(qr.adoptNode(this.documentElement),qr.documentElement),qr.close(),mn},$t.prototype.createElementClone=function(le){if(as(le,2))debugger;if(Tr(le))return this.createCanvasClone(le);if(Ee(le))return this.createVideoClone(le);if(Pe(le))return this.createStyleClone(le);var ye=le.cloneNode(!1);return J(ye)&&(J(le)&&le.currentSrc&&le.currentSrc!==le.src&&(ye.src=le.currentSrc,ye.srcset=""),ye.loading==="lazy"&&(ye.loading="eager")),Ar(ye)?this.createCustomElementClone(ye):ye},$t.prototype.createCustomElementClone=function(le){var ye=document.createElement("html2canvascustomelement");return hn(le.style,ye),ye},$t.prototype.createStyleClone=function(le){try{var ye=le.sheet;if(ye&&ye.cssRules){var Ie=[].slice.call(ye.cssRules,0).reduce(function(Mt,Er){return Er&&typeof Er.cssText=="string"?Mt+Er.cssText:Mt},""),qe=le.cloneNode(!1);return qe.textContent=Ie,qe}}catch(Mt){if(this.context.logger.error("Unable to access cssRules property",Mt),Mt.name!=="SecurityError")throw Mt}return le.cloneNode(!1)},$t.prototype.createCanvasClone=function(le){var ye;if(this.options.inlineImages&&le.ownerDocument){var Ie=le.ownerDocument.createElement("img");try{return Ie.src=le.toDataURL(),Ie}catch(mn){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",le)}}var qe=le.cloneNode(!1);try{qe.width=le.width,qe.height=le.height;var Mt=le.getContext("2d"),Er=qe.getContext("2d");if(Er)if(!this.options.allowTaint&&Mt)Er.putImageData(Mt.getImageData(0,0,le.width,le.height),0,0);else{var jr=(ye=le.getContext("webgl2"))!==null&&ye!==void 0?ye:le.getContext("webgl");if(jr){var qr=jr.getContextAttributes();(qr==null?void 0:qr.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",le)}Er.drawImage(le,0,0)}return qe}catch(mn){this.context.logger.info("Unable to clone canvas as it is tainted",le)}return qe},$t.prototype.createVideoClone=function(le){var ye=le.ownerDocument.createElement("canvas");ye.width=le.offsetWidth,ye.height=le.offsetHeight;var Ie=ye.getContext("2d");try{return Ie&&(Ie.drawImage(le,0,0,ye.width,ye.height),this.options.allowTaint||Ie.getImageData(0,0,ye.width,ye.height)),ye}catch(Mt){this.context.logger.info("Unable to clone video as it is tainted",le)}var qe=le.ownerDocument.createElement("canvas");return qe.width=le.offsetWidth,qe.height=le.offsetHeight,qe},$t.prototype.appendChildNode=function(le,ye,Ie){(!wl(ye)||!at(ye)&&!ye.hasAttribute($)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(ye)))&&((!this.options.copyStyles||!wl(ye)||!Pe(ye))&&le.appendChild(this.cloneNode(ye,Ie)))},$t.prototype.cloneChildNodes=function(le,ye,Ie){for(var qe=this,Mt=le.shadowRoot?le.shadowRoot.firstChild:le.firstChild;Mt;Mt=Mt.nextSibling)if(wl(Mt)&&Rt(Mt)&&typeof Mt.assignedNodes=="function"){var Er=Mt.assignedNodes();Er.length&&Er.forEach(function(jr){return qe.appendChildNode(ye,jr,Ie)})}else this.appendChildNode(ye,Mt,Ie)},$t.prototype.cloneNode=function(le,ye){if(gc(le))return document.createTextNode(le.data);if(!le.ownerDocument)return le.cloneNode(!1);var Ie=le.ownerDocument.defaultView;if(Ie&&wl(le)&&(Ac(le)||Tl(le))){var qe=this.createElementClone(le);qe.style.transitionProperty="none";var Mt=Ie.getComputedStyle(le),Er=Ie.getComputedStyle(le,":before"),jr=Ie.getComputedStyle(le,":after");this.referenceElement===le&&Ac(qe)&&(this.clonedReferenceElement=qe),dr(qe)&&ba(qe);var qr=this.counters.parse(new To(this.context,Mt)),mn=this.resolvePseudoContent(le,qe,Er,Oe.BEFORE);Ar(le)&&(ye=!0),Ee(le)||this.cloneChildNodes(le,qe,ye),mn&&qe.insertBefore(mn,qe.firstChild);var ai=this.resolvePseudoContent(le,qe,jr,Oe.AFTER);return ai&&qe.appendChild(ai),this.counters.pop(qr),(Mt&&(this.options.copyStyles||Tl(le))&&!Ae(le)||ye)&&hn(Mt,qe),(le.scrollTop!==0||le.scrollLeft!==0)&&this.scrolledElements.push([qe,le.scrollLeft,le.scrollTop]),(Ct(le)||It(le))&&(Ct(qe)||It(qe))&&(qe.value=le.value),qe}return le.cloneNode(!1)},$t.prototype.resolvePseudoContent=function(le,ye,Ie,qe){var Mt=this;if(!Ie)return;var Er=Ie.content,jr=ye.ownerDocument;if(!jr||!Er||Er==="none"||Er==="-moz-alt-content"||Ie.display==="none")return;this.counters.parse(new To(this.context,Ie));var qr=new ts(this.context,Ie),mn=jr.createElement("html2canvaspseudoelement");hn(Ie,mn),qr.content.forEach(function(Zn){if(Zn.type===0)mn.appendChild(jr.createTextNode(Zn.value));else if(Zn.type===22){var ci=jr.createElement("img");ci.src=Zn.value,ci.style.opacity="1",mn.appendChild(ci)}else if(Zn.type===18){if(Zn.name==="attr"){var la=Zn.values.filter(vn);la.length&&mn.appendChild(jr.createTextNode(le.getAttribute(la[0].value)||""))}else if(Zn.name==="counter"){var pa=Zn.values.filter(In),Ea=pa[0],so=pa[1];if(Ea&&vn(Ea)){var Va=Mt.counters.getCounterValue(Ea.value),Fa=so&&vn(so)?ko.parse(Mt.context,so.value):3;mn.appendChild(jr.createTextNode(Q(Va,Fa,!1)))}}else if(Zn.name==="counters"){var zo=Zn.values.filter(In),Ea=zo[0],qo=zo[1],so=zo[2];if(Ea&&vn(Ea)){var Mo=Mt.counters.getCounterValues(Ea.value),Ba=so&&vn(so)?ko.parse(Mt.context,so.value):3,ss=qo&&qo.type===0?qo.value:"",us=Mo.map(function(Yl){return Q(Yl,Ba,!1)}).join(ss);mn.appendChild(jr.createTextNode(us))}}}else if(Zn.type===20)switch(Zn.value){case"open-quote":mn.appendChild(jr.createTextNode(Io(qr.quotes,Mt.quoteDepth++,!0)));break;case"close-quote":mn.appendChild(jr.createTextNode(Io(qr.quotes,--Mt.quoteDepth,!1)));break;default:mn.appendChild(jr.createTextNode(Zn.value))}}),mn.className=Gi+" "+Vi;var ai=qe===Oe.BEFORE?" "+Gi:" "+Vi;return Tl(ye)?ye.className.baseValue+=ai:ye.className+=ai,mn},$t.destroy=function(le){return le.parentNode?(le.parentNode.removeChild(le),!0):!1},$t}(),Oe;(function($t){$t[$t.BEFORE=0]="BEFORE",$t[$t.AFTER=1]="AFTER"})(Oe||(Oe={}));var ft=function(le,ye){var Ie=le.createElement("iframe");return Ie.className="html2canvas-container",Ie.style.visibility="hidden",Ie.style.position="fixed",Ie.style.left="-10000px",Ie.style.top="0px",Ie.style.border="0",Ie.width=ye.width.toString(),Ie.height=ye.height.toString(),Ie.scrolling="no",Ie.setAttribute($,"true"),le.body.appendChild(Ie),Ie},_t=function(le){return new Promise(function(ye){if(le.complete){ye();return}if(!le.src){ye();return}le.onload=ye,le.onerror=ye})},Yt=function(le){return Promise.all([].slice.call(le.images,0).map(_t))},er=function(le){return new Promise(function(ye,Ie){var qe=le.contentWindow;if(!qe)return Ie("No window assigned for iframe");var Mt=qe.document;qe.onload=le.onload=function(){qe.onload=le.onload=null;var Er=setInterval(function(){Mt.body.childNodes.length>0&&Mt.readyState==="complete"&&(clearInterval(Er),ye(le))},50)}})},en=["all","d","content"],hn=function(le,ye){for(var Ie=le.length-1;Ie>=0;Ie--){var qe=le.item(Ie);en.indexOf(qe)===-1&&ye.style.setProperty(qe,le.getPropertyValue(qe))}return ye},Rn=function(le){var ye="";return le&&(ye+="<!DOCTYPE ",le.name&&(ye+=le.name),le.internalSubset&&(ye+=le.internalSubset),le.publicId&&(ye+='"'+le.publicId+'"'),le.systemId&&(ye+='"'+le.systemId+'"'),ye+=">"),ye},kn=function(le,ye,Ie){le&&le.defaultView&&(ye!==le.defaultView.pageXOffset||Ie!==le.defaultView.pageYOffset)&&le.defaultView.scrollTo(ye,Ie)},Ai=function(le){var ye=le[0],Ie=le[1],qe=le[2];ye.scrollLeft=Ie,ye.scrollTop=qe},Ki=":before",Qi=":after",Gi="___html2canvas___pseudoelement_before",Vi="___html2canvas___pseudoelement_after",fa=`{
content: "" !important;
display: none !important;
}`,ba=function(le){qa(le,"."+Gi+Ki+fa+`
.`+Vi+Qi+fa)},qa=function(le,ye){var Ie=le.ownerDocument;if(Ie){var qe=Ie.createElement("style");qe.textContent=ye,le.appendChild(qe)}},ka=function(){function $t(){}return $t.getOrigin=function(le){var ye=$t._link;return ye?(ye.href=le,ye.href=ye.href,ye.protocol+ye.hostname+ye.port):"about:blank"},$t.isSameOrigin=function(le){return $t.getOrigin(le)===$t._origin},$t.setContext=function(le){$t._link=le.document.createElement("a"),$t._origin=$t.getOrigin(le.location.href)},$t._origin="about:blank",$t}(),Eo=function(){function $t(le,ye){this.context=le,this._options=ye,this._cache={}}return $t.prototype.addImage=function(le){var ye=Promise.resolve();return this.has(le)||(Js(le)||Ms(le))&&(this._cache[le]=this.loadImage(le)).catch(function(){}),ye},$t.prototype.match=function(le){return this._cache[le]},$t.prototype.loadImage=function(le){return E(this,void 0,void 0,function(){var ye,Ie,qe,Mt,Er=this;return C(this,function(jr){switch(jr.label){case 0:return ye=ka.isSameOrigin(le),Ie=!Qs(le)&&this._options.useCORS===!0&&Ss.SUPPORT_CORS_IMAGES&&!ye,qe=!Qs(le)&&!ye&&!Js(le)&&typeof this._options.proxy=="string"&&Ss.SUPPORT_CORS_XHR&&!Ie,!ye&&this._options.allowTaint===!1&&!Qs(le)&&!Js(le)&&!qe&&!Ie?[2]:(Mt=le,qe?[4,this.proxy(Mt)]:[3,2]);case 1:Mt=jr.sent(),jr.label=2;case 2:return this.context.logger.debug("Added image "+le.substring(0,256)),[4,new Promise(function(qr,mn){var ai=new Image;ai.onload=function(){return qr(ai)},ai.onerror=mn,(Cs(Mt)||Ie)&&(ai.crossOrigin="anonymous"),ai.src=Mt,ai.complete===!0&&setTimeout(function(){return qr(ai)},500),Er._options.imageTimeout>0&&setTimeout(function(){return mn("Timed out ("+Er._options.imageTimeout+"ms) loading image")},Er._options.imageTimeout)})];case 3:return[2,jr.sent()]}})})},$t.prototype.has=function(le){return typeof this._cache[le]!="undefined"},$t.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},$t.prototype.proxy=function(le){var ye=this,Ie=this._options.proxy;if(!Ie)throw new Error("No proxy defined");var qe=le.substring(0,256);return new Promise(function(Mt,Er){var jr=Ss.SUPPORT_RESPONSE_TYPE?"blob":"text",qr=new XMLHttpRequest;qr.onload=function(){if(qr.status===200)if(jr==="text")Mt(qr.response);else{var Zn=new FileReader;Zn.addEventListener("load",function(){return Mt(Zn.result)},!1),Zn.addEventListener("error",function(ci){return Er(ci)},!1),Zn.readAsDataURL(qr.response)}else Er("Failed to proxy resource "+qe+" with status code "+qr.status)},qr.onerror=Er;var mn=Ie.indexOf("?")>-1?"&":"?";if(qr.open("GET",""+Ie+mn+"url="+encodeURIComponent(le)+"&responseType="+jr),jr!=="text"&&qr instanceof XMLHttpRequest&&(qr.responseType=jr),ye._options.imageTimeout){var ai=ye._options.imageTimeout;qr.timeout=ai,qr.ontimeout=function(){return Er("Timed out ("+ai+"ms) proxying "+qe)}}qr.send()})},$t}(),Wo=/^data:image\/svg\+xml/i,cs=/^data:image\/.*;base64,/i,$o=/^data:image\/.*/i,Ms=function(le){return Ss.SUPPORT_SVG_DRAWING||!Bs(le)},Qs=function(le){return $o.test(le)},Cs=function(le){return cs.test(le)},Js=function(le){return le.substr(0,4)==="blob"},Bs=function(le){return le.substr(-3).toLowerCase()==="svg"||Wo.test(le)},aa=function(){function $t(le,ye){this.type=0,this.x=le,this.y=ye}return $t.prototype.add=function(le,ye){return new $t(this.x+le,this.y+ye)},$t}(),os=function(le,ye,Ie){return new aa(le.x+(ye.x-le.x)*Ie,le.y+(ye.y-le.y)*Ie)},rs=function(){function $t(le,ye,Ie,qe){this.type=1,this.start=le,this.startControl=ye,this.endControl=Ie,this.end=qe}return $t.prototype.subdivide=function(le,ye){var Ie=os(this.start,this.startControl,le),qe=os(this.startControl,this.endControl,le),Mt=os(this.endControl,this.end,le),Er=os(Ie,qe,le),jr=os(qe,Mt,le),qr=os(Er,jr,le);return ye?new $t(this.start,Ie,Er,qr):new $t(qr,jr,Mt,this.end)},$t.prototype.add=function(le,ye){return new $t(this.start.add(le,ye),this.startControl.add(le,ye),this.endControl.add(le,ye),this.end.add(le,ye))},$t.prototype.reverse=function(){return new $t(this.end,this.endControl,this.startControl,this.start)},$t}(),vs=function(le){return le.type===1},vc=function(){function $t(le){var ye=le.styles,Ie=le.bounds,qe=Si(ye.borderTopLeftRadius,Ie.width,Ie.height),Mt=qe[0],Er=qe[1],jr=Si(ye.borderTopRightRadius,Ie.width,Ie.height),qr=jr[0],mn=jr[1],ai=Si(ye.borderBottomRightRadius,Ie.width,Ie.height),Zn=ai[0],ci=ai[1],la=Si(ye.borderBottomLeftRadius,Ie.width,Ie.height),pa=la[0],Ea=la[1],so=[];so.push((Mt+qr)/Ie.width),so.push((pa+Zn)/Ie.width),so.push((Er+Ea)/Ie.height),so.push((mn+ci)/Ie.height);var Va=Math.max.apply(Math,so);Va>1&&(Mt/=Va,Er/=Va,qr/=Va,mn/=Va,Zn/=Va,ci/=Va,pa/=Va,Ea/=Va);var Fa=Ie.width-qr,zo=Ie.height-ci,qo=Ie.width-Zn,Mo=Ie.height-Ea,Ba=ye.borderTopWidth,ss=ye.borderRightWidth,us=ye.borderBottomWidth,Bo=ye.borderLeftWidth,Bl=mi(ye.paddingTop,le.bounds.width),Yl=mi(ye.paddingRight,le.bounds.width),Pl=mi(ye.paddingBottom,le.bounds.width),ul=mi(ye.paddingLeft,le.bounds.width);this.topLeftBorderDoubleOuterBox=Mt>0||Er>0?vo(Ie.left+Bo/3,Ie.top+Ba/3,Mt-Bo/3,Er-Ba/3,No.TOP_LEFT):new aa(Ie.left+Bo/3,Ie.top+Ba/3),this.topRightBorderDoubleOuterBox=Mt>0||Er>0?vo(Ie.left+Fa,Ie.top+Ba/3,qr-ss/3,mn-Ba/3,No.TOP_RIGHT):new aa(Ie.left+Ie.width-ss/3,Ie.top+Ba/3),this.bottomRightBorderDoubleOuterBox=Zn>0||ci>0?vo(Ie.left+qo,Ie.top+zo,Zn-ss/3,ci-us/3,No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width-ss/3,Ie.top+Ie.height-us/3),this.bottomLeftBorderDoubleOuterBox=pa>0||Ea>0?vo(Ie.left+Bo/3,Ie.top+Mo,pa-Bo/3,Ea-us/3,No.BOTTOM_LEFT):new aa(Ie.left+Bo/3,Ie.top+Ie.height-us/3),this.topLeftBorderDoubleInnerBox=Mt>0||Er>0?vo(Ie.left+Bo*2/3,Ie.top+Ba*2/3,Mt-Bo*2/3,Er-Ba*2/3,No.TOP_LEFT):new aa(Ie.left+Bo*2/3,Ie.top+Ba*2/3),this.topRightBorderDoubleInnerBox=Mt>0||Er>0?vo(Ie.left+Fa,Ie.top+Ba*2/3,qr-ss*2/3,mn-Ba*2/3,No.TOP_RIGHT):new aa(Ie.left+Ie.width-ss*2/3,Ie.top+Ba*2/3),this.bottomRightBorderDoubleInnerBox=Zn>0||ci>0?vo(Ie.left+qo,Ie.top+zo,Zn-ss*2/3,ci-us*2/3,No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width-ss*2/3,Ie.top+Ie.height-us*2/3),this.bottomLeftBorderDoubleInnerBox=pa>0||Ea>0?vo(Ie.left+Bo*2/3,Ie.top+Mo,pa-Bo*2/3,Ea-us*2/3,No.BOTTOM_LEFT):new aa(Ie.left+Bo*2/3,Ie.top+Ie.height-us*2/3),this.topLeftBorderStroke=Mt>0||Er>0?vo(Ie.left+Bo/2,Ie.top+Ba/2,Mt-Bo/2,Er-Ba/2,No.TOP_LEFT):new aa(Ie.left+Bo/2,Ie.top+Ba/2),this.topRightBorderStroke=Mt>0||Er>0?vo(Ie.left+Fa,Ie.top+Ba/2,qr-ss/2,mn-Ba/2,No.TOP_RIGHT):new aa(Ie.left+Ie.width-ss/2,Ie.top+Ba/2),this.bottomRightBorderStroke=Zn>0||ci>0?vo(Ie.left+qo,Ie.top+zo,Zn-ss/2,ci-us/2,No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width-ss/2,Ie.top+Ie.height-us/2),this.bottomLeftBorderStroke=pa>0||Ea>0?vo(Ie.left+Bo/2,Ie.top+Mo,pa-Bo/2,Ea-us/2,No.BOTTOM_LEFT):new aa(Ie.left+Bo/2,Ie.top+Ie.height-us/2),this.topLeftBorderBox=Mt>0||Er>0?vo(Ie.left,Ie.top,Mt,Er,No.TOP_LEFT):new aa(Ie.left,Ie.top),this.topRightBorderBox=qr>0||mn>0?vo(Ie.left+Fa,Ie.top,qr,mn,No.TOP_RIGHT):new aa(Ie.left+Ie.width,Ie.top),this.bottomRightBorderBox=Zn>0||ci>0?vo(Ie.left+qo,Ie.top+zo,Zn,ci,No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width,Ie.top+Ie.height),this.bottomLeftBorderBox=pa>0||Ea>0?vo(Ie.left,Ie.top+Mo,pa,Ea,No.BOTTOM_LEFT):new aa(Ie.left,Ie.top+Ie.height),this.topLeftPaddingBox=Mt>0||Er>0?vo(Ie.left+Bo,Ie.top+Ba,Math.max(0,Mt-Bo),Math.max(0,Er-Ba),No.TOP_LEFT):new aa(Ie.left+Bo,Ie.top+Ba),this.topRightPaddingBox=qr>0||mn>0?vo(Ie.left+Math.min(Fa,Ie.width-ss),Ie.top+Ba,Fa>Ie.width+ss?0:Math.max(0,qr-ss),Math.max(0,mn-Ba),No.TOP_RIGHT):new aa(Ie.left+Ie.width-ss,Ie.top+Ba),this.bottomRightPaddingBox=Zn>0||ci>0?vo(Ie.left+Math.min(qo,Ie.width-Bo),Ie.top+Math.min(zo,Ie.height-us),Math.max(0,Zn-ss),Math.max(0,ci-us),No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width-ss,Ie.top+Ie.height-us),this.bottomLeftPaddingBox=pa>0||Ea>0?vo(Ie.left+Bo,Ie.top+Math.min(Mo,Ie.height-us),Math.max(0,pa-Bo),Math.max(0,Ea-us),No.BOTTOM_LEFT):new aa(Ie.left+Bo,Ie.top+Ie.height-us),this.topLeftContentBox=Mt>0||Er>0?vo(Ie.left+Bo+ul,Ie.top+Ba+Bl,Math.max(0,Mt-(Bo+ul)),Math.max(0,Er-(Ba+Bl)),No.TOP_LEFT):new aa(Ie.left+Bo+ul,Ie.top+Ba+Bl),this.topRightContentBox=qr>0||mn>0?vo(Ie.left+Math.min(Fa,Ie.width+Bo+ul),Ie.top+Ba+Bl,Fa>Ie.width+Bo+ul?0:qr-Bo+ul,mn-(Ba+Bl),No.TOP_RIGHT):new aa(Ie.left+Ie.width-(ss+Yl),Ie.top+Ba+Bl),this.bottomRightContentBox=Zn>0||ci>0?vo(Ie.left+Math.min(qo,Ie.width-(Bo+ul)),Ie.top+Math.min(zo,Ie.height+Ba+Bl),Math.max(0,Zn-(ss+Yl)),ci-(us+Pl),No.BOTTOM_RIGHT):new aa(Ie.left+Ie.width-(ss+Yl),Ie.top+Ie.height-(us+Pl)),this.bottomLeftContentBox=pa>0||Ea>0?vo(Ie.left+Bo+ul,Ie.top+Mo,Math.max(0,pa-(Bo+ul)),Ea-(us+Pl),No.BOTTOM_LEFT):new aa(Ie.left+Bo+ul,Ie.top+Ie.height-(us+Pl))}return $t}(),No;(function($t){$t[$t.TOP_LEFT=0]="TOP_LEFT",$t[$t.TOP_RIGHT=1]="TOP_RIGHT",$t[$t.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",$t[$t.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(No||(No={}));var vo=function(le,ye,Ie,qe,Mt){var Er=4*((Math.sqrt(2)-1)/3),jr=Ie*Er,qr=qe*Er,mn=le+Ie,ai=ye+qe;switch(Mt){case No.TOP_LEFT:return new rs(new aa(le,ai),new aa(le,ai-qr),new aa(mn-jr,ye),new aa(mn,ye));case No.TOP_RIGHT:return new rs(new aa(le,ye),new aa(le+jr,ye),new aa(mn,ai-qr),new aa(mn,ai));case No.BOTTOM_RIGHT:return new rs(new aa(mn,ye),new aa(mn,ye+qr),new aa(le+jr,ai),new aa(le,ai));case No.BOTTOM_LEFT:default:return new rs(new aa(mn,ai),new aa(mn-jr,ai),new aa(le,ye+qr),new aa(le,ye))}},ml=function(le){return[le.topLeftBorderBox,le.topRightBorderBox,le.bottomRightBorderBox,le.bottomLeftBorderBox]},Xs=function(le){return[le.topLeftContentBox,le.topRightContentBox,le.bottomRightContentBox,le.bottomLeftContentBox]},yc=function(le){return[le.topLeftPaddingBox,le.topRightPaddingBox,le.bottomRightPaddingBox,le.bottomLeftPaddingBox]},Rl=function(){function $t(le,ye,Ie){this.offsetX=le,this.offsetY=ye,this.matrix=Ie,this.type=0,this.target=2|4}return $t}(),gl=function(){function $t(le,ye){this.path=le,this.target=ye,this.type=1}return $t}(),Gl=function(){function $t(le){this.opacity=le,this.type=2,this.target=2|4}return $t}(),rl=function(le){return le.type===0},Dl=function(le){return le.type===1},Mc=function(le){return le.type===2},Qc=function(le,ye){return le.length===ye.length?le.some(function(Ie,qe){return Ie===ye[qe]}):!1},Au=function(le,ye,Ie,qe,Mt){return le.map(function(Er,jr){switch(jr){case 0:return Er.add(ye,Ie);case 1:return Er.add(ye+qe,Ie);case 2:return Er.add(ye+qe,Ie+Mt);case 3:return Er.add(ye,Ie+Mt)}return Er})},vu=function(){function $t(le){this.element=le,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return $t}(),tu=function(){function $t(le,ye){if(this.container=le,this.parent=ye,this.effects=[],this.curves=new vc(this.container),this.container.styles.opacity<1&&this.effects.push(new Gl(this.container.styles.opacity)),this.container.styles.transform!==null){var Ie=this.container.bounds.left+this.container.styles.transformOrigin[0].number,qe=this.container.bounds.top+this.container.styles.transformOrigin[1].number,Mt=this.container.styles.transform;this.effects.push(new Rl(Ie,qe,Mt))}if(this.container.styles.overflowX!==0){var Er=ml(this.curves),jr=yc(this.curves);Qc(Er,jr)?this.effects.push(new gl(Er,2|4)):(this.effects.push(new gl(Er,2)),this.effects.push(new gl(jr,4)))}}return $t.prototype.getEffects=function(le){for(var ye=[2,3].indexOf(this.container.styles.position)===-1,Ie=this.parent,qe=this.effects.slice(0);Ie;){var Mt=Ie.effects.filter(function(qr){return!Dl(qr)});if(ye||Ie.container.styles.position!==0||!Ie.parent){if(qe.unshift.apply(qe,Mt),ye=[2,3].indexOf(Ie.container.styles.position)===-1,Ie.container.styles.overflowX!==0){var Er=ml(Ie.curves),jr=yc(Ie.curves);Qc(Er,jr)||qe.unshift(new gl(jr,2|4))}}else qe.unshift.apply(qe,Mt);Ie=Ie.parent}return qe.filter(function(qr){return Di(qr.target,le)})},$t}(),yu=function $t(le,ye,Ie,qe){le.container.elements.forEach(function(Mt){var Er=Di(Mt.flags,4),jr=Di(Mt.flags,2),qr=new tu(Mt,le);Di(Mt.styles.display,2048)&&qe.push(qr);var mn=Di(Mt.flags,8)?[]:qe;if(Er||jr){var ai=Er||Mt.styles.isPositioned()?Ie:ye,Zn=new vu(qr);if(Mt.styles.isPositioned()||Mt.styles.opacity<1||Mt.styles.isTransformed()){var ci=Mt.styles.zIndex.order;if(ci<0){var la=0;ai.negativeZIndex.some(function(Ea,so){return ci>Ea.element.container.styles.zIndex.order?(la=so,!1):la>0}),ai.negativeZIndex.splice(la,0,Zn)}else if(ci>0){var pa=0;ai.positiveZIndex.some(function(Ea,so){return ci>=Ea.element.container.styles.zIndex.order?(pa=so+1,!1):pa>0}),ai.positiveZIndex.splice(pa,0,Zn)}else ai.zeroOrAutoZIndexOrTransformedOrOpacity.push(Zn)}else Mt.styles.isFloating()?ai.nonPositionedFloats.push(Zn):ai.nonPositionedInlineLevel.push(Zn);$t(qr,Zn,Er?Zn:Ie,mn)}else Mt.styles.isInlineLevel()?ye.inlineLevel.push(qr):ye.nonInlineLevel.push(qr),$t(qr,ye,Ie,mn);Di(Mt.flags,8)&&su(Mt,mn)})},su=function(le,ye){for(var Ie=le instanceof pc?le.start:1,qe=le instanceof pc?le.reversed:!1,Mt=0;Mt<ye.length;Mt++){var Er=ye[Mt];Er.container instanceof fc&&typeof Er.container.value=="number"&&Er.container.value!==0&&(Ie=Er.container.value),Er.listValue=Q(Ie,Er.container.styles.listStyleType,!0),Ie+=qe?-1:1}},bc=function(le){var ye=new tu(le,null),Ie=new vu(ye),qe=[];return yu(ye,Ie,Ie,qe),su(ye.container,qe),Ie},hu=function(le,ye){switch(ye){case 0:return Ml(le.topLeftBorderBox,le.topLeftPaddingBox,le.topRightBorderBox,le.topRightPaddingBox);case 1:return Ml(le.topRightBorderBox,le.topRightPaddingBox,le.bottomRightBorderBox,le.bottomRightPaddingBox);case 2:return Ml(le.bottomRightBorderBox,le.bottomRightPaddingBox,le.bottomLeftBorderBox,le.bottomLeftPaddingBox);case 3:default:return Ml(le.bottomLeftBorderBox,le.bottomLeftPaddingBox,le.topLeftBorderBox,le.topLeftPaddingBox)}},bu=function(le,ye){switch(ye){case 0:return Ml(le.topLeftBorderBox,le.topLeftBorderDoubleOuterBox,le.topRightBorderBox,le.topRightBorderDoubleOuterBox);case 1:return Ml(le.topRightBorderBox,le.topRightBorderDoubleOuterBox,le.bottomRightBorderBox,le.bottomRightBorderDoubleOuterBox);case 2:return Ml(le.bottomRightBorderBox,le.bottomRightBorderDoubleOuterBox,le.bottomLeftBorderBox,le.bottomLeftBorderDoubleOuterBox);case 3:default:return Ml(le.bottomLeftBorderBox,le.bottomLeftBorderDoubleOuterBox,le.topLeftBorderBox,le.topLeftBorderDoubleOuterBox)}},Cu=function(le,ye){switch(ye){case 0:return Ml(le.topLeftBorderDoubleInnerBox,le.topLeftPaddingBox,le.topRightBorderDoubleInnerBox,le.topRightPaddingBox);case 1:return Ml(le.topRightBorderDoubleInnerBox,le.topRightPaddingBox,le.bottomRightBorderDoubleInnerBox,le.bottomRightPaddingBox);case 2:return Ml(le.bottomRightBorderDoubleInnerBox,le.bottomRightPaddingBox,le.bottomLeftBorderDoubleInnerBox,le.bottomLeftPaddingBox);case 3:default:return Ml(le.bottomLeftBorderDoubleInnerBox,le.bottomLeftPaddingBox,le.topLeftBorderDoubleInnerBox,le.topLeftPaddingBox)}},wu=function(le,ye){switch(ye){case 0:return rc(le.topLeftBorderStroke,le.topRightBorderStroke);case 1:return rc(le.topRightBorderStroke,le.bottomRightBorderStroke);case 2:return rc(le.bottomRightBorderStroke,le.bottomLeftBorderStroke);case 3:default:return rc(le.bottomLeftBorderStroke,le.topLeftBorderStroke)}},rc=function(le,ye){var Ie=[];return vs(le)?Ie.push(le.subdivide(.5,!1)):Ie.push(le),vs(ye)?Ie.push(ye.subdivide(.5,!0)):Ie.push(ye),Ie},Ml=function(le,ye,Ie,qe){var Mt=[];return vs(le)?Mt.push(le.subdivide(.5,!1)):Mt.push(le),vs(Ie)?Mt.push(Ie.subdivide(.5,!0)):Mt.push(Ie),vs(qe)?Mt.push(qe.subdivide(.5,!0).reverse()):Mt.push(qe),vs(ye)?Mt.push(ye.subdivide(.5,!1).reverse()):Mt.push(ye),Mt},fu=function(le){var ye=le.bounds,Ie=le.styles;return ye.add(Ie.borderLeftWidth,Ie.borderTopWidth,-(Ie.borderRightWidth+Ie.borderLeftWidth),-(Ie.borderTopWidth+Ie.borderBottomWidth))},lu=function(le){var ye=le.styles,Ie=le.bounds,qe=mi(ye.paddingLeft,Ie.width),Mt=mi(ye.paddingRight,Ie.width),Er=mi(ye.paddingTop,Ie.width),jr=mi(ye.paddingBottom,Ie.width);return Ie.add(qe+ye.borderLeftWidth,Er+ye.borderTopWidth,-(ye.borderRightWidth+ye.borderLeftWidth+qe+Mt),-(ye.borderTopWidth+ye.borderBottomWidth+Er+jr))},Su=function(le,ye){return le===0?ye.bounds:le===2?lu(ye):fu(ye)},Tu=function(le,ye){return le===0?ye.bounds:le===2?lu(ye):fu(ye)},Bc=function(le,ye,Ie){var qe=Su(_l(le.styles.backgroundOrigin,ye),le),Mt=Tu(_l(le.styles.backgroundClip,ye),le),Er=nc(_l(le.styles.backgroundSize,ye),Ie,qe),jr=Er[0],qr=Er[1],mn=Si(_l(le.styles.backgroundPosition,ye),qe.width-jr,qe.height-qr),ai=Sc(_l(le.styles.backgroundRepeat,ye),mn,Er,qe,Mt),Zn=Math.round(qe.left+mn[0]),ci=Math.round(qe.top+mn[1]);return[ai,Zn,ci,jr,qr]},wc=function(le){return vn(le)&&le.value===Ia.AUTO},Pc=function(le){return typeof le=="number"},nc=function(le,ye,Ie){var qe=ye[0],Mt=ye[1],Er=ye[2],jr=le[0],qr=le[1];if(!jr)return[0,0];if(ni(jr)&&qr&&ni(qr))return[mi(jr,Ie.width),mi(qr,Ie.height)];var mn=Pc(Er);if(vn(jr)&&(jr.value===Ia.CONTAIN||jr.value===Ia.COVER)){if(Pc(Er)){var ai=Ie.width/Ie.height;return ai<Er!==(jr.value===Ia.COVER)?[Ie.width,Ie.width/Er]:[Ie.height*Er,Ie.height]}return[Ie.width,Ie.height]}var Zn=Pc(qe),ci=Pc(Mt),la=Zn||ci;if(wc(jr)&&(!qr||wc(qr))){if(Zn&&ci)return[qe,Mt];if(!mn&&!la)return[Ie.width,Ie.height];if(la&&mn){var pa=Zn?qe:Mt*Er,Ea=ci?Mt:qe/Er;return[pa,Ea]}var so=Zn?qe:Ie.width,Va=ci?Mt:Ie.height;return[so,Va]}if(mn){var Fa=0,zo=0;return ni(jr)?Fa=mi(jr,Ie.width):ni(qr)&&(zo=mi(qr,Ie.height)),wc(jr)?Fa=zo*Er:(!qr||wc(qr))&&(zo=Fa/Er),[Fa,zo]}var qo=null,Mo=null;if(ni(jr)?qo=mi(jr,Ie.width):qr&&ni(qr)&&(Mo=mi(qr,Ie.height)),qo!==null&&(!qr||wc(qr))&&(Mo=Zn&&ci?qo/qe*Mt:Ie.height),Mo!==null&&wc(jr)&&(qo=Zn&&ci?Mo/Mt*qe:Ie.width),qo!==null&&Mo!==null)return[qo,Mo];throw new Error("Unable to calculate background-size for element")},_l=function(le,ye){var Ie=le[ye];return typeof Ie=="undefined"?le[0]:Ie},Sc=function(le,ye,Ie,qe,Mt){var Er=ye[0],jr=ye[1],qr=Ie[0],mn=Ie[1];switch(le){case 2:return[new aa(Math.round(qe.left),Math.round(qe.top+jr)),new aa(Math.round(qe.left+qe.width),Math.round(qe.top+jr)),new aa(Math.round(qe.left+qe.width),Math.round(mn+qe.top+jr)),new aa(Math.round(qe.left),Math.round(mn+qe.top+jr))];case 3:return[new aa(Math.round(qe.left+Er),Math.round(qe.top)),new aa(Math.round(qe.left+Er+qr),Math.round(qe.top)),new aa(Math.round(qe.left+Er+qr),Math.round(qe.height+qe.top)),new aa(Math.round(qe.left+Er),Math.round(qe.height+qe.top))];case 1:return[new aa(Math.round(qe.left+Er),Math.round(qe.top+jr)),new aa(Math.round(qe.left+Er+qr),Math.round(qe.top+jr)),new aa(Math.round(qe.left+Er+qr),Math.round(qe.top+jr+mn)),new aa(Math.round(qe.left+Er),Math.round(qe.top+jr+mn))];default:return[new aa(Math.round(Mt.left),Math.round(Mt.top)),new aa(Math.round(Mt.left+Mt.width),Math.round(Mt.top)),new aa(Math.round(Mt.left+Mt.width),Math.round(Mt.height+Mt.top)),new aa(Math.round(Mt.left),Math.round(Mt.height+Mt.top))]}},cu="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",uu="Hidden Text",xu=function(){function $t(le){this._data={},this._document=le}return $t.prototype.parseMetrics=function(le,ye){var Ie=this._document.createElement("div"),qe=this._document.createElement("img"),Mt=this._document.createElement("span"),Er=this._document.body;Ie.style.visibility="hidden",Ie.style.fontFamily=le,Ie.style.fontSize=ye,Ie.style.margin="0",Ie.style.padding="0",Ie.style.whiteSpace="nowrap",Er.appendChild(Ie),qe.src=cu,qe.width=1,qe.height=1,qe.style.margin="0",qe.style.padding="0",qe.style.verticalAlign="baseline",Mt.style.fontFamily=le,Mt.style.fontSize=ye,Mt.style.margin="0",Mt.style.padding="0",Mt.appendChild(this._document.createTextNode(uu)),Ie.appendChild(Mt),Ie.appendChild(qe);var jr=qe.offsetTop-Mt.offsetTop+2;Ie.removeChild(Mt),Ie.appendChild(this._document.createTextNode(uu)),Ie.style.lineHeight="normal",qe.style.verticalAlign="super";var qr=qe.offsetTop-Ie.offsetTop+2;return Er.removeChild(Ie),{baseline:jr,middle:qr}},$t.prototype.getMetrics=function(le,ye){var Ie=le+" "+ye;return typeof this._data[Ie]=="undefined"&&(this._data[Ie]=this.parseMetrics(le,ye)),this._data[Ie]},$t}(),Eu=function(){function $t(le,ye){this.context=le,this.options=ye}return $t}(),pu=1e4,mu=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe._activeEffects=[],qe.canvas=Ie.canvas?Ie.canvas:document.createElement("canvas"),qe.ctx=qe.canvas.getContext("2d"),Ie.canvas||(qe.canvas.width=Math.floor(Ie.width*Ie.scale),qe.canvas.height=Math.floor(Ie.height*Ie.scale),qe.canvas.style.width=Ie.width+"px",qe.canvas.style.height=Ie.height+"px"),qe.fontMetrics=new xu(document),qe.ctx.scale(qe.options.scale,qe.options.scale),qe.ctx.translate(-Ie.x,-Ie.y),qe.ctx.textBaseline="bottom",qe._activeEffects=[],qe.context.logger.debug("Canvas renderer initialized ("+Ie.width+"x"+Ie.height+") with scale "+Ie.scale),qe}return le.prototype.applyEffects=function(ye){for(var Ie=this;this._activeEffects.length;)this.popEffect();ye.forEach(function(qe){return Ie.applyEffect(qe)})},le.prototype.applyEffect=function(ye){this.ctx.save(),Mc(ye)&&(this.ctx.globalAlpha=ye.opacity),rl(ye)&&(this.ctx.translate(ye.offsetX,ye.offsetY),this.ctx.transform(ye.matrix[0],ye.matrix[1],ye.matrix[2],ye.matrix[3],ye.matrix[4],ye.matrix[5]),this.ctx.translate(-ye.offsetX,-ye.offsetY)),Dl(ye)&&(this.path(ye.path),this.ctx.clip()),this._activeEffects.push(ye)},le.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},le.prototype.renderStack=function(ye){return E(this,void 0,void 0,function(){var Ie;return C(this,function(qe){switch(qe.label){case 0:return Ie=ye.element.container.styles,Ie.isVisible()?[4,this.renderStackContent(ye)]:[3,2];case 1:qe.sent(),qe.label=2;case 2:return[2]}})})},le.prototype.renderNode=function(ye){return E(this,void 0,void 0,function(){return C(this,function(Ie){switch(Ie.label){case 0:if(Di(ye.container.flags,16))debugger;return ye.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(ye)]:[3,3];case 1:return Ie.sent(),[4,this.renderNodeContent(ye)];case 2:Ie.sent(),Ie.label=3;case 3:return[2]}})})},le.prototype.renderTextWithLetterSpacing=function(ye,Ie,qe){var Mt=this;if(Ie===0)this.ctx.fillText(ye.text,ye.bounds.left,ye.bounds.top+qe);else{var Er=Wl(ye.text);Er.reduce(function(jr,qr){return Mt.ctx.fillText(qr,jr,ye.bounds.top+qe),jr+Mt.ctx.measureText(qr).width},ye.bounds.left)}},le.prototype.createFontStyle=function(ye){var Ie=ye.fontVariant.filter(function(Er){return Er==="normal"||Er==="small-caps"}).join(""),qe=Nu(ye.fontFamily).join(", "),Mt=on(ye.fontSize)?""+ye.fontSize.number+ye.fontSize.unit:ye.fontSize.number+"px";return[[ye.fontStyle,Ie,ye.fontWeight,Mt,qe].join(" "),qe,Mt]},le.prototype.renderTextNode=function(ye,Ie){return E(this,void 0,void 0,function(){var qe,Mt,Er,jr,qr,mn,ai,Zn,ci=this;return C(this,function(la){return qe=this.createFontStyle(Ie),Mt=qe[0],Er=qe[1],jr=qe[2],this.ctx.font=Mt,this.ctx.direction=Ie.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",qr=this.fontMetrics.getMetrics(Er,jr),mn=qr.baseline,ai=qr.middle,Zn=Ie.paintOrder,ye.textBounds.forEach(function(pa){Zn.forEach(function(Ea){switch(Ea){case 0:ci.ctx.fillStyle=Zt(Ie.color),ci.renderTextWithLetterSpacing(pa,Ie.letterSpacing,mn);var so=Ie.textShadow;so.length&&pa.text.trim().length&&(so.slice(0).reverse().forEach(function(Va){ci.ctx.shadowColor=Zt(Va.color),ci.ctx.shadowOffsetX=Va.offsetX.number*ci.options.scale,ci.ctx.shadowOffsetY=Va.offsetY.number*ci.options.scale,ci.ctx.shadowBlur=Va.blur.number,ci.renderTextWithLetterSpacing(pa,Ie.letterSpacing,mn)}),ci.ctx.shadowColor="",ci.ctx.shadowOffsetX=0,ci.ctx.shadowOffsetY=0,ci.ctx.shadowBlur=0),Ie.textDecorationLine.length&&(ci.ctx.fillStyle=Zt(Ie.textDecorationColor||Ie.color),Ie.textDecorationLine.forEach(function(Va){switch(Va){case 1:ci.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top+mn),pa.bounds.width,1);break;case 2:ci.ctx.fillRect(pa.bounds.left,Math.round(pa.bounds.top),pa.bounds.width,1);break;case 3:ci.ctx.fillRect(pa.bounds.left,Math.ceil(pa.bounds.top+ai),pa.bounds.width,1);break}}));break;case 1:Ie.webkitTextStrokeWidth&&pa.text.trim().length&&(ci.ctx.strokeStyle=Zt(Ie.webkitTextStrokeColor),ci.ctx.lineWidth=Ie.webkitTextStrokeWidth,ci.ctx.lineJoin=window.chrome?"miter":"round",ci.ctx.strokeText(pa.text,pa.bounds.left,pa.bounds.top+mn)),ci.ctx.strokeStyle="",ci.ctx.lineWidth=0,ci.ctx.lineJoin="miter";break}})}),[2]})})},le.prototype.renderReplacedElement=function(ye,Ie,qe){if(qe&&ye.intrinsicWidth>0&&ye.intrinsicHeight>0){var Mt=lu(ye),Er=yc(Ie);this.path(Er),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(qe,0,0,ye.intrinsicWidth,ye.intrinsicHeight,Mt.left,Mt.top,Mt.width,Mt.height),this.ctx.restore()}},le.prototype.renderNodeContent=function(ye){return E(this,void 0,void 0,function(){var Ie,qe,Mt,Er,jr,qr,mn,mn,ai,Zn,ci,la,pa,Ea,so,Va,Fa,zo,qo,mn,Mo,pa,Va;return C(this,function(Ba){switch(Ba.label){case 0:this.applyEffects(ye.getEffects(4)),Ie=ye.container,qe=ye.curves,Mt=Ie.styles,Er=0,jr=Ie.textNodes,Ba.label=1;case 1:return Er<jr.length?(qr=jr[Er],[4,this.renderTextNode(qr,Mt)]):[3,4];case 2:Ba.sent(),Ba.label=3;case 3:return Er++,[3,1];case 4:if(!(Ie instanceof ec))return[3,8];Ba.label=5;case 5:return Ba.trys.push([5,7,,8]),[4,this.context.cache.match(Ie.src)];case 6:return mn=Ba.sent(),this.renderReplacedElement(Ie,qe,mn),[3,8];case 7:return Ba.sent(),this.context.logger.error("Error loading image "+Ie.src),[3,8];case 8:if(Ie instanceof bl&&this.renderReplacedElement(Ie,qe,Ie.canvas),!(Ie instanceof cl))return[3,12];Ba.label=9;case 9:return Ba.trys.push([9,11,,12]),[4,this.context.cache.match(Ie.svg)];case 10:return mn=Ba.sent(),this.renderReplacedElement(Ie,qe,mn),[3,12];case 11:return Ba.sent(),this.context.logger.error("Error loading svg "+Ie.svg.substring(0,255)),[3,12];case 12:return Ie instanceof Nc&&Ie.tree?(ai=new le(this.context,{scale:this.options.scale,backgroundColor:Ie.backgroundColor,x:0,y:0,width:Ie.width,height:Ie.height}),[4,ai.render(Ie.tree)]):[3,14];case 13:Zn=Ba.sent(),Ie.width&&Ie.height&&this.ctx.drawImage(Zn,0,0,Ie.width,Ie.height,Ie.bounds.left,Ie.bounds.top,Ie.bounds.width,Ie.bounds.height),Ba.label=14;case 14:if(Ie instanceof jl&&(ci=Math.min(Ie.bounds.width,Ie.bounds.height),Ie.type===Vl?Ie.checked&&(this.ctx.save(),this.path([new aa(Ie.bounds.left+ci*.39363,Ie.bounds.top+ci*.79),new aa(Ie.bounds.left+ci*.16,Ie.bounds.top+ci*.5549),new aa(Ie.bounds.left+ci*.27347,Ie.bounds.top+ci*.44071),new aa(Ie.bounds.left+ci*.39694,Ie.bounds.top+ci*.5649),new aa(Ie.bounds.left+ci*.72983,Ie.bounds.top+ci*.23),new aa(Ie.bounds.left+ci*.84,Ie.bounds.top+ci*.34085),new aa(Ie.bounds.left+ci*.39363,Ie.bounds.top+ci*.79)]),this.ctx.fillStyle=Zt(Xl),this.ctx.fill(),this.ctx.restore()):Ie.type===pl&&(Ie.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(Ie.bounds.left+ci/2,Ie.bounds.top+ci/2,ci/4,0,Math.PI*2,!0),this.ctx.fillStyle=Zt(Xl),this.ctx.fill(),this.ctx.restore()))),_u(Ie)&&Ie.value.length){la=this.createFontStyle(Mt),pa=la[0],Ea=la[1],so=this.fontMetrics.getMetrics(pa,Ea).baseline,this.ctx.font=pa,this.ctx.fillStyle=Zt(Mt.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=Ou(Ie.styles.textAlign),Va=lu(Ie),Fa=0;switch(Ie.styles.textAlign){case 1:Fa+=Va.width/2;break;case 2:Fa+=Va.width;break}zo=Va.add(Fa,0,0,-Va.height/2+1),this.ctx.save(),this.path([new aa(Va.left,Va.top),new aa(Va.left+Va.width,Va.top),new aa(Va.left+Va.width,Va.top+Va.height),new aa(Va.left,Va.top+Va.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new dl(Ie.value,zo),Mt.letterSpacing,so),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Di(Ie.styles.display,2048))return[3,20];if(!(Ie.styles.listStyleImage!==null))return[3,19];if(qo=Ie.styles.listStyleImage,!(qo.type===0))return[3,18];mn=void 0,Mo=qo.url,Ba.label=15;case 15:return Ba.trys.push([15,17,,18]),[4,this.context.cache.match(Mo)];case 16:return mn=Ba.sent(),this.ctx.drawImage(mn,Ie.bounds.left-(mn.width+10),Ie.bounds.top),[3,18];case 17:return Ba.sent(),this.context.logger.error("Error loading list-style-image "+Mo),[3,18];case 18:return[3,20];case 19:ye.listValue&&Ie.styles.listStyleType!==-1&&(pa=this.createFontStyle(Mt)[0],this.ctx.font=pa,this.ctx.fillStyle=Zt(Mt.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",Va=new p(Ie.bounds.left,Ie.bounds.top+mi(Ie.styles.paddingTop,Ie.bounds.width),Ie.bounds.width,mo(Mt.lineHeight,Mt.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new dl(ye.listValue,Va),Mt.letterSpacing,mo(Mt.lineHeight,Mt.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),Ba.label=20;case 20:return[2]}})})},le.prototype.renderStackContent=function(ye){return E(this,void 0,void 0,function(){var Ie,qe,Mt,Er,jr,Mt,qr,mn,Mt,ai,Zn,Mt,ci,la,Mt,pa,Ea,Mt,so,Va,Mt;return C(this,function(Fa){switch(Fa.label){case 0:if(Di(ye.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(ye.element)];case 1:Fa.sent(),Ie=0,qe=ye.negativeZIndex,Fa.label=2;case 2:return Ie<qe.length?(Mt=qe[Ie],[4,this.renderStack(Mt)]):[3,5];case 3:Fa.sent(),Fa.label=4;case 4:return Ie++,[3,2];case 5:return[4,this.renderNodeContent(ye.element)];case 6:Fa.sent(),Er=0,jr=ye.nonInlineLevel,Fa.label=7;case 7:return Er<jr.length?(Mt=jr[Er],[4,this.renderNode(Mt)]):[3,10];case 8:Fa.sent(),Fa.label=9;case 9:return Er++,[3,7];case 10:qr=0,mn=ye.nonPositionedFloats,Fa.label=11;case 11:return qr<mn.length?(Mt=mn[qr],[4,this.renderStack(Mt)]):[3,14];case 12:Fa.sent(),Fa.label=13;case 13:return qr++,[3,11];case 14:ai=0,Zn=ye.nonPositionedInlineLevel,Fa.label=15;case 15:return ai<Zn.length?(Mt=Zn[ai],[4,this.renderStack(Mt)]):[3,18];case 16:Fa.sent(),Fa.label=17;case 17:return ai++,[3,15];case 18:ci=0,la=ye.inlineLevel,Fa.label=19;case 19:return ci<la.length?(Mt=la[ci],[4,this.renderNode(Mt)]):[3,22];case 20:Fa.sent(),Fa.label=21;case 21:return ci++,[3,19];case 22:pa=0,Ea=ye.zeroOrAutoZIndexOrTransformedOrOpacity,Fa.label=23;case 23:return pa<Ea.length?(Mt=Ea[pa],[4,this.renderStack(Mt)]):[3,26];case 24:Fa.sent(),Fa.label=25;case 25:return pa++,[3,23];case 26:so=0,Va=ye.positiveZIndex,Fa.label=27;case 27:return so<Va.length?(Mt=Va[so],[4,this.renderStack(Mt)]):[3,30];case 28:Fa.sent(),Fa.label=29;case 29:return so++,[3,27];case 30:return[2]}})})},le.prototype.mask=function(ye){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(ye.slice(0).reverse()),this.ctx.closePath()},le.prototype.path=function(ye){this.ctx.beginPath(),this.formatPath(ye),this.ctx.closePath()},le.prototype.formatPath=function(ye){var Ie=this;ye.forEach(function(qe,Mt){var Er=vs(qe)?qe.start:qe;Mt===0?Ie.ctx.moveTo(Er.x,Er.y):Ie.ctx.lineTo(Er.x,Er.y),vs(qe)&&Ie.ctx.bezierCurveTo(qe.startControl.x,qe.startControl.y,qe.endControl.x,qe.endControl.y,qe.end.x,qe.end.y)})},le.prototype.renderRepeat=function(ye,Ie,qe,Mt){this.path(ye),this.ctx.fillStyle=Ie,this.ctx.translate(qe,Mt),this.ctx.fill(),this.ctx.translate(-qe,-Mt)},le.prototype.resizeImage=function(ye,Ie,qe){var Mt;if(ye.width===Ie&&ye.height===qe)return ye;var Er=(Mt=this.canvas.ownerDocument)!==null&&Mt!==void 0?Mt:document,jr=Er.createElement("canvas");jr.width=Math.max(1,Ie),jr.height=Math.max(1,qe);var qr=jr.getContext("2d");return qr.drawImage(ye,0,0,ye.width,ye.height,0,0,Ie,qe),jr},le.prototype.renderBackgroundImage=function(ye){return E(this,void 0,void 0,function(){var Ie,qe,Mt,Er,jr,qr;return C(this,function(mn){switch(mn.label){case 0:Ie=ye.styles.backgroundImage.length-1,qe=function(Zn){var ci,la,pa,Ea,so,Va,Fa,zo,qo,Mo,Ea,so,Va,Fa,zo,Ba,ss,us,Bo,Bl,Yl,Pl,ul,ru,qo,xc,Ea,Jc,Zc,Fa,zo,$c,so,Va,nu,Ec,qc,iu,au,kc,ou,Fc;return C(this,function(du){switch(du.label){case 0:if(!(Zn.type===0))return[3,5];ci=void 0,la=Zn.url,du.label=1;case 1:return du.trys.push([1,3,,4]),[4,Mt.context.cache.match(la)];case 2:return ci=du.sent(),[3,4];case 3:return du.sent(),Mt.context.logger.error("Error loading background-image "+la),[3,4];case 4:return ci&&(pa=Bc(ye,Ie,[ci.width,ci.height,ci.width/ci.height]),Ea=pa[0],so=pa[1],Va=pa[2],Fa=pa[3],zo=pa[4],qo=Mt.ctx.createPattern(Mt.resizeImage(ci,Fa,zo),"repeat"),Mt.renderRepeat(Ea,qo,so,Va)),[3,6];case 5:za(Zn)?(Mo=Bc(ye,Ie,[null,null,null]),Ea=Mo[0],so=Mo[1],Va=Mo[2],Fa=Mo[3],zo=Mo[4],Ba=ma(Zn.angle,Fa,zo),ss=Ba[0],us=Ba[1],Bo=Ba[2],Bl=Ba[3],Yl=Ba[4],Pl=document.createElement("canvas"),Pl.width=Fa,Pl.height=zo,ul=Pl.getContext("2d"),ru=ul.createLinearGradient(us,Bl,Bo,Yl),da(Zn.stops,ss).forEach(function(gu){return ru.addColorStop(gu.stop,Zt(gu.color))}),ul.fillStyle=ru,ul.fillRect(0,0,Fa,zo),Fa>0&&zo>0&&(qo=Mt.ctx.createPattern(Pl,"repeat"),Mt.renderRepeat(Ea,qo,so,Va))):xa(Zn)&&(xc=Bc(ye,Ie,[null,null,null]),Ea=xc[0],Jc=xc[1],Zc=xc[2],Fa=xc[3],zo=xc[4],$c=Zn.position.length===0?[Oi]:Zn.position,so=mi($c[0],Fa),Va=mi($c[$c.length-1],zo),nu=ra(Zn,so,Va,Fa,zo),Ec=nu[0],qc=nu[1],Ec>0&&qc>0&&(iu=Mt.ctx.createRadialGradient(Jc+so,Zc+Va,0,Jc+so,Zc+Va,Ec),da(Zn.stops,Ec*2).forEach(function(gu){return iu.addColorStop(gu.stop,Zt(gu.color))}),Mt.path(Ea),Mt.ctx.fillStyle=iu,Ec!==qc?(au=ye.bounds.left+.5*ye.bounds.width,kc=ye.bounds.top+.5*ye.bounds.height,ou=qc/Ec,Fc=1/ou,Mt.ctx.save(),Mt.ctx.translate(au,kc),Mt.ctx.transform(1,0,0,ou,0,0),Mt.ctx.translate(-au,-kc),Mt.ctx.fillRect(Jc,Fc*(Zc-kc)+kc,Fa,zo*Fc),Mt.ctx.restore()):Mt.ctx.fill())),du.label=6;case 6:return Ie--,[2]}})},Mt=this,Er=0,jr=ye.styles.backgroundImage.slice(0).reverse(),mn.label=1;case 1:return Er<jr.length?(qr=jr[Er],[5,qe(qr)]):[3,4];case 2:mn.sent(),mn.label=3;case 3:return Er++,[3,1];case 4:return[2]}})})},le.prototype.renderSolidBorder=function(ye,Ie,qe){return E(this,void 0,void 0,function(){return C(this,function(Mt){return this.path(hu(qe,Ie)),this.ctx.fillStyle=Zt(ye),this.ctx.fill(),[2]})})},le.prototype.renderDoubleBorder=function(ye,Ie,qe,Mt){return E(this,void 0,void 0,function(){var Er,jr;return C(this,function(qr){switch(qr.label){case 0:return Ie<3?[4,this.renderSolidBorder(ye,qe,Mt)]:[3,2];case 1:return qr.sent(),[2];case 2:return Er=bu(Mt,qe),this.path(Er),this.ctx.fillStyle=Zt(ye),this.ctx.fill(),jr=Cu(Mt,qe),this.path(jr),this.ctx.fill(),[2]}})})},le.prototype.renderNodeBackgroundAndBorders=function(ye){return E(this,void 0,void 0,function(){var Ie,qe,Mt,Er,jr,qr,mn,ai,Zn=this;return C(this,function(ci){switch(ci.label){case 0:return this.applyEffects(ye.getEffects(2)),Ie=ye.container.styles,qe=!Sr(Ie.backgroundColor)||Ie.backgroundImage.length,Mt=[{style:Ie.borderTopStyle,color:Ie.borderTopColor,width:Ie.borderTopWidth},{style:Ie.borderRightStyle,color:Ie.borderRightColor,width:Ie.borderRightWidth},{style:Ie.borderBottomStyle,color:Ie.borderBottomColor,width:Ie.borderBottomWidth},{style:Ie.borderLeftStyle,color:Ie.borderLeftColor,width:Ie.borderLeftWidth}],Er=Iu(_l(Ie.backgroundClip,0),ye.curves),qe||Ie.boxShadow.length?(this.ctx.save(),this.path(Er),this.ctx.clip(),Sr(Ie.backgroundColor)||(this.ctx.fillStyle=Zt(Ie.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(ye.container)]):[3,2];case 1:ci.sent(),this.ctx.restore(),Ie.boxShadow.slice(0).reverse().forEach(function(la){Zn.ctx.save();var pa=ml(ye.curves),Ea=la.inset?0:pu,so=Au(pa,-Ea+(la.inset?1:-1)*la.spread.number,(la.inset?1:-1)*la.spread.number,la.spread.number*(la.inset?-2:2),la.spread.number*(la.inset?-2:2));la.inset?(Zn.path(pa),Zn.ctx.clip(),Zn.mask(so)):(Zn.mask(pa),Zn.ctx.clip(),Zn.path(so)),Zn.ctx.shadowOffsetX=la.offsetX.number+Ea,Zn.ctx.shadowOffsetY=la.offsetY.number,Zn.ctx.shadowColor=Zt(la.color),Zn.ctx.shadowBlur=la.blur.number,Zn.ctx.fillStyle=la.inset?Zt(la.color):"rgba(0,0,0,1)",Zn.ctx.fill(),Zn.ctx.restore()}),ci.label=2;case 2:jr=0,qr=0,mn=Mt,ci.label=3;case 3:return qr<mn.length?(ai=mn[qr],ai.style!==0&&!Sr(ai.color)&&ai.width>0?ai.style===2?[4,this.renderDashedDottedBorder(ai.color,ai.width,jr,ye.curves,2)]:[3,5]:[3,11]):[3,13];case 4:return ci.sent(),[3,11];case 5:return ai.style===3?[4,this.renderDashedDottedBorder(ai.color,ai.width,jr,ye.curves,3)]:[3,7];case 6:return ci.sent(),[3,11];case 7:return ai.style===4?[4,this.renderDoubleBorder(ai.color,ai.width,jr,ye.curves)]:[3,9];case 8:return ci.sent(),[3,11];case 9:return[4,this.renderSolidBorder(ai.color,jr,ye.curves)];case 10:ci.sent(),ci.label=11;case 11:jr++,ci.label=12;case 12:return qr++,[3,3];case 13:return[2]}})})},le.prototype.renderDashedDottedBorder=function(ye,Ie,qe,Mt,Er){return E(this,void 0,void 0,function(){var jr,qr,mn,ai,Zn,ci,la,pa,Ea,so,Va,Fa,zo,qo,Mo,Ba,Mo,Ba;return C(this,function(ss){return this.ctx.save(),jr=wu(Mt,qe),qr=hu(Mt,qe),Er===2&&(this.path(qr),this.ctx.clip()),vs(qr[0])?(mn=qr[0].start.x,ai=qr[0].start.y):(mn=qr[0].x,ai=qr[0].y),vs(qr[1])?(Zn=qr[1].end.x,ci=qr[1].end.y):(Zn=qr[1].x,ci=qr[1].y),qe===0||qe===2?la=Math.abs(mn-Zn):la=Math.abs(ai-ci),this.ctx.beginPath(),Er===3?this.formatPath(jr):this.formatPath(qr.slice(0,2)),pa=Ie<3?Ie*3:Ie*2,Ea=Ie<3?Ie*2:Ie,Er===3&&(pa=Ie,Ea=Ie),so=!0,la<=pa*2?so=!1:la<=pa*2+Ea?(Va=la/(2*pa+Ea),pa*=Va,Ea*=Va):(Fa=Math.floor((la+Ea)/(pa+Ea)),zo=(la-Fa*pa)/(Fa-1),qo=(la-(Fa+1)*pa)/Fa,Ea=qo<=0||Math.abs(Ea-zo)<Math.abs(Ea-qo)?zo:qo),so&&(Er===3?this.ctx.setLineDash([0,pa+Ea]):this.ctx.setLineDash([pa,Ea])),Er===3?(this.ctx.lineCap="round",this.ctx.lineWidth=Ie):this.ctx.lineWidth=Ie*2+1.1,this.ctx.strokeStyle=Zt(ye),this.ctx.stroke(),this.ctx.setLineDash([]),Er===2&&(vs(qr[0])&&(Mo=qr[3],Ba=qr[0],this.ctx.beginPath(),this.formatPath([new aa(Mo.end.x,Mo.end.y),new aa(Ba.start.x,Ba.start.y)]),this.ctx.stroke()),vs(qr[1])&&(Mo=qr[1],Ba=qr[2],this.ctx.beginPath(),this.formatPath([new aa(Mo.end.x,Mo.end.y),new aa(Ba.start.x,Ba.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},le.prototype.render=function(ye){return E(this,void 0,void 0,function(){var Ie;return C(this,function(qe){switch(qe.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Zt(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),Ie=bc(ye),[4,this.renderStack(Ie)];case 1:return qe.sent(),this.applyEffects([]),[2,this.canvas]}})})},le}(Eu),_u=function(le){return le instanceof Vc||le instanceof mc?!0:le instanceof jl&&le.type!==pl&&le.type!==Vl},Iu=function(le,ye){switch(le){case 0:return ml(ye);case 2:return Xs(ye);case 1:default:return yc(ye)}},Ou=function(le){switch(le){case 1:return"center";case 2:return"right";case 0:default:return"left"}},Lu=["-apple-system","system-ui"],Nu=function(le){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?le.filter(function(ye){return Lu.indexOf(ye)===-1}):le},Ru=function($t){_(le,$t);function le(ye,Ie){var qe=$t.call(this,ye,Ie)||this;return qe.canvas=Ie.canvas?Ie.canvas:document.createElement("canvas"),qe.ctx=qe.canvas.getContext("2d"),qe.options=Ie,qe.canvas.width=Math.floor(Ie.width*Ie.scale),qe.canvas.height=Math.floor(Ie.height*Ie.scale),qe.canvas.style.width=Ie.width+"px",qe.canvas.style.height=Ie.height+"px",qe.ctx.scale(qe.options.scale,qe.options.scale),qe.ctx.translate(-Ie.x,-Ie.y),qe.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+Ie.width+"x"+Ie.height+" at "+Ie.x+","+Ie.y+") with scale "+Ie.scale),qe}return le.prototype.render=function(ye){return E(this,void 0,void 0,function(){var Ie,qe;return C(this,function(Mt){switch(Mt.label){case 0:return Ie=uc(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,ye),[4,Du(Ie)];case 1:return qe=Mt.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Zt(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(qe,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},le}(Eu),Du=function(le){return new Promise(function(ye,Ie){var qe=new Image;qe.onload=function(){ye(qe)},qe.onerror=Ie,qe.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(le))})},Mu=function(){function $t(le){var ye=le.id,Ie=le.enabled;this.id=ye,this.enabled=Ie,this.start=Date.now()}return $t.prototype.debug=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,t([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},$t.prototype.getTime=function(){return Date.now()-this.start},$t.prototype.info=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,t([this.id,this.getTime()+"ms"],le)))},$t.prototype.warn=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,t([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},$t.prototype.error=function(){for(var le=[],ye=0;ye<arguments.length;ye++)le[ye]=arguments[ye];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,t([this.id,this.getTime()+"ms"],le)):this.info.apply(this,le))},$t.instances={},$t}(),Bu=function(){function $t(le,ye){var Ie;this.windowBounds=ye,this.instanceName="#"+$t.instanceCount++,this.logger=new Mu({id:this.instanceName,enabled:le.logging}),this.cache=(Ie=le.cache)!==null&&Ie!==void 0?Ie:new Eo(this,le)}return $t.instanceCount=1,$t}(),Pu=function(le,ye){return ye===void 0&&(ye={}),ku(le,ye)};typeof window!="undefined"&&ka.setContext(window);var ku=function(le,ye){return E(void 0,void 0,void 0,function(){var Ie,qe,Mt,Er,jr,qr,mn,ai,Zn,ci,la,pa,Ea,so,Va,Fa,zo,qo,Mo,Ba,ss,us,ss,Bo,Bl,Yl,Pl,ul,ru,xc,Jc,Zc,$c,nu,Ec,qc,iu,au,kc,ou;return C(this,function(Fc){switch(Fc.label){case 0:if(!le||typeof le!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(Ie=le.ownerDocument,!Ie)throw new Error("Element is not attached to a Document");if(qe=Ie.defaultView,!qe)throw new Error("Document is not attached to a Window");return Mt={allowTaint:(Bo=ye.allowTaint)!==null&&Bo!==void 0?Bo:!1,imageTimeout:(Bl=ye.imageTimeout)!==null&&Bl!==void 0?Bl:15e3,proxy:ye.proxy,useCORS:(Yl=ye.useCORS)!==null&&Yl!==void 0?Yl:!1},Er=I({logging:(Pl=ye.logging)!==null&&Pl!==void 0?Pl:!0,cache:ye.cache},Mt),jr={windowWidth:(ul=ye.windowWidth)!==null&&ul!==void 0?ul:qe.innerWidth,windowHeight:(ru=ye.windowHeight)!==null&&ru!==void 0?ru:qe.innerHeight,scrollX:(xc=ye.scrollX)!==null&&xc!==void 0?xc:qe.pageXOffset,scrollY:(Jc=ye.scrollY)!==null&&Jc!==void 0?Jc:qe.pageYOffset},qr=new p(jr.scrollX,jr.scrollY,jr.windowWidth,jr.windowHeight),mn=new Bu(Er,qr),ai=(Zc=ye.foreignObjectRendering)!==null&&Zc!==void 0?Zc:!1,Zn={allowTaint:($c=ye.allowTaint)!==null&&$c!==void 0?$c:!1,onclone:ye.onclone,ignoreElements:ye.ignoreElements,inlineImages:ai,copyStyles:ai},mn.logger.debug("Starting document clone with size "+qr.width+"x"+qr.height+" scrolled to "+-qr.left+","+-qr.top),ci=new oe(mn,le,Zn),la=ci.clonedReferenceElement,la?[4,ci.toIFrame(Ie,qr)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return pa=Fc.sent(),Ea=dr(la)||ht(la)?o(la.ownerDocument):h(mn,la),so=Ea.width,Va=Ea.height,Fa=Ea.left,zo=Ea.top,qo=Fu(mn,la,ye.backgroundColor),Mo={canvas:ye.canvas,backgroundColor:qo,scale:(Ec=(nu=ye.scale)!==null&&nu!==void 0?nu:qe.devicePixelRatio)!==null&&Ec!==void 0?Ec:1,x:((qc=ye.x)!==null&&qc!==void 0?qc:0)+Fa,y:((iu=ye.y)!==null&&iu!==void 0?iu:0)+zo,width:(au=ye.width)!==null&&au!==void 0?au:Math.ceil(so),height:(kc=ye.height)!==null&&kc!==void 0?kc:Math.ceil(Va)},ai?(mn.logger.debug("Document cloned, using foreign object rendering"),ss=new Ru(mn,Mo),[4,ss.render(la)]):[3,3];case 2:return Ba=Fc.sent(),[3,5];case 3:return mn.logger.debug("Document cloned, element located at "+Fa+","+zo+" with size "+so+"x"+Va+" using computed rendering"),mn.logger.debug("Starting DOM parsing"),us=Gc(mn,la),qo===us.styles.backgroundColor&&(us.styles.backgroundColor=Jn.TRANSPARENT),mn.logger.debug("Starting renderer for element at "+Mo.x+","+Mo.y+" with size "+Mo.width+"x"+Mo.height),ss=new mu(mn,Mo),[4,ss.render(us)];case 4:Ba=Fc.sent(),Fc.label=5;case 5:return((ou=ye.removeContainer)!==null&&ou!==void 0?ou:!0)&&(oe.destroy(pa)||mn.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),mn.logger.debug("Finished rendering"),[2,Ba]}})})},Fu=function(le,ye,Ie){var qe=ye.ownerDocument,Mt=qe.documentElement?Gn(le,getComputedStyle(qe.documentElement).backgroundColor):Jn.TRANSPARENT,Er=qe.body?Gn(le,getComputedStyle(qe.body).backgroundColor):Jn.TRANSPARENT,jr=typeof Ie=="string"?Gn(le,Ie):Ie===null?Jn.TRANSPARENT:4294967295;return ye===qe.documentElement?Sr(Mt)?Sr(Er)?jr:Er:Mt:jr};return Pu})},wPlo:function(ue,z,d){"use strict";d.d(z,"a",function(){return O});var O="RC_SELECT_INTERNAL_PROPS_MARK"},wXyp:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("ygfH")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="CheckOutlined";var h=E.forwardRef(p);z.default=h},wYyv:function(ue,z,d){"use strict";var O=d("R5yR"),_=d("5wUe"),I=function(t,p,h){var o=p<0?t.length+p:p;if(o>=0&&o<t.length){var r=h<0?t.length+h:h,s=t.splice(p,1),l=_(s,1),n=l[0];t.splice(r,0,n)}},E=function(t,p,h){return t=O(t),I(t,p,h),t};ue.exports=E,ue.exports.mutate=I},wgjA:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},whJP:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("lwsE"),t=d.n(C),p=d("W8MJ"),h=d.n(p),o=d("7W2i"),r=d.n(o),s=d("LQ03"),l=d.n(s),n=d("q1tI"),c=d.n(n),e=d("Y1PL"),a=d("BGR+"),i=d("TSYQ"),u=d.n(i),f=d("LlR5"),m=d("H84U"),A=d("mh/l"),g=function(v){r()(S,v);var b=l()(S);function S(y){var w;t()(this,S),w=b.call(this,y),w.focus=function(){w.resizableTextArea.textArea.focus()},w.saveTextArea=function(T){w.resizableTextArea=T==null?void 0:T.resizableTextArea},w.saveClearableInput=function(T){w.clearableInput=T},w.handleChange=function(T){w.setValue(T.target.value),Object(A.d)(w.resizableTextArea.textArea,T,w.props.onChange)},w.handleReset=function(T){w.setValue("",function(){w.focus()}),Object(A.d)(w.resizableTextArea.textArea,T,w.props.onChange)},w.renderTextArea=function(T,L){return n.createElement(e.default,_()({},Object(a.default)(w.props,["allowClear","bordered"]),{className:u()(w.props.className,E()({},"".concat(T,"-borderless"),!L)),prefixCls:T,onChange:w.handleChange,ref:w.saveTextArea}))},w.renderComponent=function(T){var L=T.getPrefixCls,R=T.direction,P=w.state.value,k=w.props,U=k.prefixCls,D=k.bordered,M=D===void 0?!0:D,B=L("input",U);return n.createElement(f.a,_()({},w.props,{prefixCls:B,direction:R,inputType:"text",value:Object(A.b)(P),element:w.renderTextArea(B,M),handleReset:w.handleReset,ref:w.saveClearableInput,triggerFocus:w.focus,bordered:M}))};var x=typeof y.value=="undefined"?y.defaultValue:y.value;return w.state={value:x},w}return h()(S,[{key:"setValue",value:function(w,x){this.props.value===void 0&&this.setState({value:w},x)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n.createElement(m.a,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(w){return w.value!==void 0?{value:w.value}:null}}]),S}(n.Component);z.a=g},whVF:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=d("lNSK"),_=I(d("1q3G"));function I(h){return h&&h.__esModule?h:{default:h}}function E(h,o){if(!(h instanceof o))throw new TypeError("Cannot call a class as a function")}function C(h,o){for(var r=0;r<o.length;r++){var s=o[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(h,s.key,s)}}function t(h,o,r){return o&&C(h.prototype,o),r&&C(h,r),h}var p=function(){function h(){E(this,h),this.strm=new _.default,this.chunkSize=1024*10*10,this.outputBuffer=new Uint8Array(this.chunkSize),this.windowBits=5,(0,O.deflateInit)(this.strm,this.windowBits)}return t(h,[{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 s=(0,O.deflate)(this.strm,O.Z_FULL_FLUSH),l=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);if(s<0)throw new Error("zlib deflate failed");if(this.strm.avail_in>0){var n=[l],c=l.length;do{if(this.strm.output=new Uint8Array(this.chunkSize),this.strm.next_out=0,this.strm.avail_out=this.chunkSize,s=(0,O.deflate)(this.strm,O.Z_FULL_FLUSH),s<0)throw new Error("zlib deflate failed");var e=new Uint8Array(this.strm.output.buffer,0,this.strm.next_out);c+=e.length,n.push(e)}while(this.strm.avail_in>0);for(var a=new Uint8Array(c),i=0,u=0;u<n.length;u++)a.set(n[u],i),i+=n[u].length;l=a}return this.strm.input=null,this.strm.avail_in=0,this.strm.next_in=0,l}}]),h}();z.default=p},wlus:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="MinusCircleOutlined";var p=z.a=_.forwardRef(t)},wr5s:function(ue,z,d){var O=d("IwbS"),_=O.extendShape,I=_({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},buildPath:function(E,C){var t=C.cx,p=C.cy,h=Math.max(C.r0||0,0),o=Math.max(C.r,0),r=(o-h)*.5,s=h+r,l=C.startAngle,n=C.endAngle,c=C.clockwise,e=Math.cos(l),a=Math.sin(l),i=Math.cos(n),u=Math.sin(n),f=c?n-l<Math.PI*2:l-n<Math.PI*2;f&&(E.moveTo(e*h+t,a*h+p),E.arc(e*s+t,a*s+p,r,-Math.PI+l,l,!c)),E.arc(t,p,o,l,n,!c),E.moveTo(i*o+t,u*o+p),E.arc(i*s+t,u*s+p,r,n-Math.PI*2,n-Math.PI,!c),h!==0&&(E.arc(t,p,h,n,l,c),E.moveTo(e*h+t,u*h+p)),E.closePath()}});ue.exports=I},wt3j:function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("/IIm"),E=d("EMyp"),C=E.layoutCovers,t=O.extendComponentView({type:"brush",init:function(h,o){this.ecModel=h,this.api=o,this.model,(this._brushController=new I(o.getZr())).on("brush",_.bind(this._onBrush,this)).mount()},render:function(h){return this.model=h,p.apply(this,arguments)},updateTransform:function(h,o){return C(o),p.apply(this,arguments)},updateView:p,dispose:function(){this._brushController.dispose()},_onBrush:function(h,o){var r=this.model.id;this.model.brushTargetManager.setOutputRanges(h,this.ecModel),(!o.isEnd||o.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:_.clone(h),$from:r}),o.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:_.clone(h),$from:r})}});function p(h,o,r,s){(!s||s.$from!==h.id)&&this._brushController.setPanels(h.brushTargetManager.makePanelOpts(r)).enableBrush(h.brushOption).updateCovers(h.areas.slice())}ue.exports=t},wy8a:function(ue,z,d){var O=d("KxBF");function _(I,E,C){var t=I.length;return C=C===void 0?t:C,!E&&C>=t?I:O(I,E,C)}ue.exports=_},x3X8:function(ue,z,d){var O=d("KxfA"),_=O.retrieveRawValue;function I(E,C){var t=E.mapDimension("defaultedLabel",!0),p=t.length;if(p===1)return _(E,C,t[0]);if(p){for(var h=[],o=0;o<t.length;o++){var r=_(E,C,t[o]);h.push(r)}return h.join(" ")}}z.getDefaultLabel=I},x54q:function(ue,z,d){},x6Kt:function(ue,z,d){var O=d("y+Vt"),_=d("VpOo"),I=d("nPnh"),E=I.subPixelOptimizeRect,C={},t=O.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(h,o){var r,s,l,n;this.subPixelOptimize?(E(C,o,this.style),r=C.x,s=C.y,l=C.width,n=C.height,C.r=o.r,o=C):(r=o.x,s=o.y,l=o.width,n=o.height),o.r?_.buildPath(h,o):h.rect(r,s,l,n),h.closePath();return}});ue.exports=t},xGfz:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="PlusSquareOutlined";var p=z.a=_.forwardRef(t)},xKMd:function(ue,z){function d(_,I){this.getAllNames=function(){var E=I();return E.mapArray(E.getName)},this.containName=function(E){var C=I();return C.indexOfName(E)>=0},this.indexOfName=function(E){var C=_();return C.indexOfName(E)},this.getItemVisual=function(E,C){var t=_();return t.getItemVisual(E,C)}}var O=d;ue.exports=O},xO64:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O=_(d("8K/p"));function _(e){return e&&e.__esModule?e:{default:e}}function I(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?I=function(i){return typeof i}:I=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},I(e)}function E(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function C(e,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function t(e,a,i){return a&&C(e.prototype,a),i&&C(e,i),e}function p(e,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&h(e,a)}function h(e,a){return h=Object.setPrototypeOf||function(u,f){return u.__proto__=f,u},h(e,a)}function o(e){var a=l();return function(){var u=n(e),f;if(a){var m=n(this).constructor;f=Reflect.construct(u,arguments,m)}else f=u.apply(this,arguments);return r(this,f)}}function r(e,a){return a&&(I(a)==="object"||typeof a=="function")?a:s(e)}function s(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(){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(e){return!1}}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},n(e)}var c=function(e){p(i,e);var a=o(i);function i(){return E(this,i),a.apply(this,arguments)}return t(i,[{key:"_pngRect",value:function(f,m,A,g,v,b,S){var y=this._readData(v);return y===null?!1:(b.imageRect(f,m,A,g,"image/png",y),!0)}},{key:"_basicRect",value:function(f,m,A,g,v,b,S,y){throw new Error("BasicCompression received in TightPNG rect")}}]),i}(O.default);z.default=c},xRUu:function(ue,z,d){d("hJvP"),d("hFmY"),d("sAZ8")},xSIq:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var O={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"};z.default=O},xSat:function(ue,z){var d={axisPointer:1,tooltip:1,brush:1};function O(_,I,E){var C=I.getComponentByElement(_.topTarget),t=C&&C.coordinateSystem;return C&&C!==E&&!d[C.mainType]&&t&&t.model!==E}z.onIrrelevantElement=O},xTNl:function(ue,z){var d=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],O={color:d,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],d]};ue.exports=O},xb2K:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("5yev")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="RedoOutlined";var h=E.forwardRef(p);z.default=h},xiyX:function(ue,z,d){var O=d("bYtY"),_=d("bLfw"),I=d("nkfE"),E=d("ICMv"),C=_.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}}),t={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 p(o,r){return r.type||(r.data?"category":"value")}O.merge(C.prototype,E),I("single",C,p,t);var h=C;ue.exports=h},xlC8:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0}),z.default=O;function O(_,I,E,C){for(var t=_&65535|0,p=_>>>16&65535|0,h=0;E!==0;){h=E>2e3?2e3:E,E-=h;do t=t+I[C++]|0,p=p+t|0;while(--h);t%=65521,p%=65521}return t|p<<16|0}},xvlK:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="PlusOutlined";var p=z.a=_.forwardRef(t)},xzDV:function(ue,z,d){},"y+Vt":function(ue,z,d){var O=d("Gev7"),_=d("bYtY"),I=d("IMiH"),E=d("2DNl"),C=d("3C/r"),t=C.prototype.getCanvasPattern,p=Math.abs,h=new I(!0);function o(s){O.call(this,s),this.path=null}o.prototype={constructor:o,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(l,n){var c=this.style,e=this.path||h,a=c.hasStroke(),i=c.hasFill(),u=c.fill,f=c.stroke,m=i&&!!u.colorStops,A=a&&!!f.colorStops,g=i&&!!u.image,v=a&&!!f.image;if(c.bind(l,this,n),this.setTransform(l),this.__dirty){var b;m&&(b=b||this.getBoundingRect(),this._fillGradient=c.getGradient(l,u,b)),A&&(b=b||this.getBoundingRect(),this._strokeGradient=c.getGradient(l,f,b))}m?l.fillStyle=this._fillGradient:g&&(l.fillStyle=t.call(u,l)),A?l.strokeStyle=this._strokeGradient:v&&(l.strokeStyle=t.call(f,l));var S=c.lineDash,y=c.lineDashOffset,w=!!l.setLineDash,x=this.getGlobalScale();if(e.setScale(x[0],x[1],this.segmentIgnoreThreshold),this.__dirtyPath||S&&!w&&a?(e.beginPath(l),S&&!w&&(e.setLineDash(S),e.setLineDashOffset(y)),this.buildPath(e,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(l.beginPath(),this.path.rebuildPath(l)),i)if(c.fillOpacity!=null){var T=l.globalAlpha;l.globalAlpha=c.fillOpacity*c.opacity,e.fill(l),l.globalAlpha=T}else e.fill(l);if(S&&w&&(l.setLineDash(S),l.lineDashOffset=y),a)if(c.strokeOpacity!=null){var T=l.globalAlpha;l.globalAlpha=c.strokeOpacity*c.opacity,e.stroke(l),l.globalAlpha=T}else e.stroke(l);S&&w&&l.setLineDash([]),c.text!=null&&(this.restoreTransform(l),this.drawRectText(l,this.getBoundingRect()))},buildPath:function(l,n,c){},createPathProxy:function(){this.path=new I},getBoundingRect:function(){var l=this._rect,n=this.style,c=!l;if(c){var e=this.path;e||(e=this.path=new I),this.__dirtyPath&&(e.beginPath(),this.buildPath(e,this.shape,!1)),l=e.getBoundingRect()}if(this._rect=l,n.hasStroke()){var a=this._rectWithStroke||(this._rectWithStroke=l.clone());if(this.__dirty||c){a.copy(l);var i=n.lineWidth,u=n.strokeNoScale?this.getLineScale():1;n.hasFill()||(i=Math.max(i,this.strokeContainThreshold||4)),u>1e-10&&(a.width+=i/u,a.height+=i/u,a.x-=i/u/2,a.y-=i/u/2)}return a}return l},contain:function(l,n){var c=this.transformCoordToLocal(l,n),e=this.getBoundingRect(),a=this.style;if(l=c[0],n=c[1],e.contain(l,n)){var i=this.path.data;if(a.hasStroke()){var u=a.lineWidth,f=a.strokeNoScale?this.getLineScale():1;if(f>1e-10&&(a.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),E.containStroke(i,u/f,l,n)))return!0}if(a.hasFill())return E.contain(i,l,n)}return!1},dirty:function(l){l==null&&(l=!0),l&&(this.__dirtyPath=l,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(l){return this.animate("shape",l)},attrKV:function(l,n){l==="shape"?(this.setShape(n),this.__dirtyPath=!0,this._rect=null):O.prototype.attrKV.call(this,l,n)},setShape:function(l,n){var c=this.shape;if(c){if(_.isObject(l))for(var e in l)l.hasOwnProperty(e)&&(c[e]=l[e]);else c[l]=n;this.dirty(!0)}return this},getLineScale:function(){var l=this.transform;return l&&p(l[0]-1)>1e-10&&p(l[3]-1)>1e-10?Math.sqrt(p(l[0]*l[3]-l[2]*l[1])):1}},o.extend=function(s){var l=function(e){o.call(this,e),s.style&&this.style.extendFrom(s.style,!1);var a=s.shape;if(a){this.shape=this.shape||{};var i=this.shape;for(var u in a)!i.hasOwnProperty(u)&&a.hasOwnProperty(u)&&(i[u]=a[u])}s.init&&s.init.call(this,e)};_.inherits(l,o);for(var n in s)n!=="style"&&n!=="shape"&&(l.prototype[n]=s[n]);return l},_.inherits(o,O);var r=o;ue.exports=r},"y+lR":function(ue,z,d){var O=d("bYtY"),_=d("mFDi"),I=d("z35g");function E(t){I.call(this,t)}E.prototype={constructor:E,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var p=this.getAxis("x"),h=this.getAxis("y");return p.contain(p.toLocalCoord(t[0]))&&h.contain(h.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,p,h){var o=this.getAxis("x"),r=this.getAxis("y");return h=h||[],h[0]=o.toGlobalCoord(o.dataToCoord(t[0])),h[1]=r.toGlobalCoord(r.dataToCoord(t[1])),h},clampData:function(t,p){var h=this.getAxis("x").scale,o=this.getAxis("y").scale,r=h.getExtent(),s=o.getExtent(),l=h.parse(t[0]),n=o.parse(t[1]);return p=p||[],p[0]=Math.min(Math.max(Math.min(r[0],r[1]),l),Math.max(r[0],r[1])),p[1]=Math.min(Math.max(Math.min(s[0],s[1]),n),Math.max(s[0],s[1])),p},pointToData:function(t,p){var h=this.getAxis("x"),o=this.getAxis("y");return p=p||[],p[0]=h.coordToData(h.toLocalCoord(t[0])),p[1]=o.coordToData(o.toLocalCoord(t[1])),p},getOtherAxis:function(t){return this.getAxis(t.dim==="x"?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),p=this.getAxis("y").getGlobalExtent(),h=Math.min(t[0],t[1]),o=Math.min(p[0],p[1]),r=Math.max(t[0],t[1])-h,s=Math.max(p[0],p[1])-o,l=new _(h,o,r,s);return l}},O.inherits(E,I);var C=E;ue.exports=C},"y0+3":function(ue,z,d){"use strict";d.d(z,"a",function(){return s}),d.d(z,"b",function(){return n});var O=/margin|padding|width|height|max|min|offset/,_={left:!0,top:!0},I={cssFloat:1,styleFloat:1,float:1};function E(c){return c.nodeType===1?c.ownerDocument.defaultView.getComputedStyle(c,null):{}}function C(c,e,a){if(e=e.toLowerCase(),a==="auto"){if(e==="height")return c.offsetHeight;if(e==="width")return c.offsetWidth}return e in _||(_[e]=O.test(e)),_[e]?parseFloat(a)||0:a}function t(c,e){var a=arguments.length,i=E(c);return e=I[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,a===1?i:C(c,e,i[e]||c.style[e])}function p(c,e,a){var i=arguments.length;if(e=I[e]?"cssFloat"in c.style?"cssFloat":"styleFloat":e,i===3)return typeof a=="number"&&O.test(e)&&(a="".concat(a,"px")),c.style[e]=a,a;for(var u in e)e.hasOwnProperty(u)&&p(c,u,e[u]);return E(c)}function h(c){return c===document.body?document.documentElement.clientWidth:c.offsetWidth}function o(c){return c===document.body?window.innerHeight||document.documentElement.clientHeight:c.offsetHeight}function r(){var c=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),e=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:c,height:e}}function s(){var c=document.documentElement.clientWidth,e=window.innerHeight||document.documentElement.clientHeight;return{width:c,height:e}}function l(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function n(c){var e=c.getBoundingClientRect(),a=document.documentElement;return{left:e.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:e.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},y23F:function(ue,z){function d(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}d.prototype={constructor:d,_dragStart:function(E){for(var C=E.target;C&&!C.draggable;)C=C.parent;C&&(this._draggingTarget=C,C.dragging=!0,this._x=E.offsetX,this._y=E.offsetY,this.dispatchToElement(O(C,E),"dragstart",E.event))},_drag:function(E){var C=this._draggingTarget;if(C){var t=E.offsetX,p=E.offsetY,h=t-this._x,o=p-this._y;this._x=t,this._y=p,C.drift(h,o,E),this.dispatchToElement(O(C,E),"drag",E.event);var r=this.findHover(t,p,C).target,s=this._dropTarget;this._dropTarget=r,C!==r&&(s&&r!==s&&this.dispatchToElement(O(s,E),"dragleave",E.event),r&&r!==s&&this.dispatchToElement(O(r,E),"dragenter",E.event))}},_dragEnd:function(E){var C=this._draggingTarget;C&&(C.dragging=!1),this.dispatchToElement(O(C,E),"dragend",E.event),this._dropTarget&&this.dispatchToElement(O(this._dropTarget,E),"drop",E.event),this._draggingTarget=null,this._dropTarget=null}};function O(I,E){return{target:I,topTarget:E&&E.topTarget}}var _=d;ue.exports=_},y2l5:function(ue,z,d){var O=d("MwEJ"),_=d("T4UG"),I=_.extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(E,C){return O(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var E=this.option.progressive;return E==null?this.option.large?5e3:this.get("progressive"):E},getProgressiveThreshold:function(){var E=this.option.progressiveThreshold;return E==null?this.option.large?1e4:this.get("progressiveThreshold"):E},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});ue.exports=I},y3Kf:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="UpOutlined";var p=z.a=_.forwardRef(t)},y3NT:function(ue,z,d){var O=d("OELB"),_=O.parsePercent,I=d("bYtY"),E=Math.PI/180;function C(h,o,r,s){o.eachSeriesByType(h,function(l){var n=l.get("center"),c=l.get("radius");I.isArray(c)||(c=[0,c]),I.isArray(n)||(n=[n,n]);var e=r.getWidth(),a=r.getHeight(),i=Math.min(e,a),u=_(n[0],e),f=_(n[1],a),m=_(c[0],i/2),A=_(c[1],i/2),g=-l.get("startAngle")*E,v=l.get("minAngle")*E,b=l.getData().tree.root,S=l.getViewRoot(),y=S.depth,w=l.get("sort");w!=null&&t(S,w);var x=0;I.each(S.children,function(W){!isNaN(W.getValue())&&x++});var T=S.getValue(),L=Math.PI/(T||x)*2,R=S.depth>0,P=S.height-(R?-1:1),k=(A-m)/(P||1),U=l.get("clockwise"),D=l.get("stillShowZeroSum"),M=U?1:-1,B=function(W,X){if(!W)return;var V=X;if(W!==b){var Z=W.getValue(),G=T===0&&D?L:Z*L;G<v&&(G=v),V=X+M*G;var Y=W.depth-y-(R?-1:1),te=m+k*Y,se=m+k*(Y+1),Ce=W.getModel();Ce.get("r0")!=null&&(te=_(Ce.get("r0"),i/2)),Ce.get("r")!=null&&(se=_(Ce.get("r"),i/2)),W.setLayout({angle:G,startAngle:X,endAngle:V,clockwise:U,cx:u,cy:f,r0:te,r:se})}if(W.children&&W.children.length){var he=0;I.each(W.children,function(xe){he+=B(xe,X+he)})}return V-X};if(R){var j=m,H=m+k,K=Math.PI*2;b.setLayout({angle:K,startAngle:g,endAngle:g+K,clockwise:U,cx:u,cy:f,r0:j,r:H})}B(S,g)})}function t(h,o){var r=h.children||[];h.children=p(r,o),r.length&&I.each(h.children,function(s){t(s,o)})}function p(h,o){if(typeof o=="function")return h.sort(o);var r=o==="asc";return h.sort(function(s,l){var n=(s.getValue()-l.getValue())*(r?1:-1);return n===0?(s.dataIndex-l.dataIndex)*(r?-1:1):n})}ue.exports=C},y3Yb:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("HBhm")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="PaperClipOutlined";var h=E.forwardRef(p);z.default=h},"y4/Y":function(ue,z,d){var O=d("ProS"),_=d("bYtY"),I=d("zTMp"),E=d("62sa");d("SKx+"),d("1LEl"),d("Sp2Z"),O.registerPreprocessor(function(C){if(C){(!C.axisPointer||C.axisPointer.length===0)&&(C.axisPointer={});var t=C.axisPointer.link;t&&!_.isArray(t)&&(C.axisPointer.link=[t])}}),O.registerProcessor(O.PRIORITY.PROCESSOR.STATISTIC,function(C,t){C.getComponent("axisPointer").coordSysAxesInfo=I.collect(C,t)}),O.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},E)},y7Aq:function(ue,z,d){var O=d("bYtY"),_=d("+TT/"),I=_.getLayoutRect;function E(t,p,h){var o=t.option,r=o.align;if(r!=null&&r!=="auto")return r;for(var s={width:p.getWidth(),height:p.getHeight()},l=o.orient==="horizontal"?1:0,n=[["left","right","width"],["top","bottom","height"]],c=n[l],e=[0,null,10],a={},i=0;i<3;i++)a[n[1-l][i]]=e[i],a[c[i]]=i===2?h[0]:o[c[i]];var u=[["x","width",3],["y","height",0]][l],f=I(a,s,o.padding);return c[(f.margin[u[2]]||0)+f[u[0]]+f[u[1]]*.5<s[u[1]]*.5?0:1]}function C(t,p){return O.each(t||[],function(h){h.dataIndex!=null&&(h.dataIndexInside=h.dataIndex,h.dataIndex=null),h.highlightKey="visualMap"+(p?p.componentIndex:"")}),t}z.getItemAlign=E,z.makeHighDownBatch=C},y8nQ:function(ue,z,d){"use strict";var O=d("cIOH"),_=d.n(O),I=d("gwTy"),E=d.n(I),C=d("1GLa")},yEEn:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="ArrowDownOutlined";var p=z.a=_.forwardRef(t)},yO87:function(ue,z,d){var O=d("bYtY"),_=d("oVpE"),I=_.createSymbol,E=d("IwbS"),C=E.Group,t=d("OELB"),p=t.parsePercent,h=d("FBjb"),o=3;function r(e){return O.isArray(e)||(e=[+e,+e]),e}function s(e,a){var i=a.rippleEffectColor||a.color;e.eachChild(function(u){u.attr({z:a.z,zlevel:a.zlevel,style:{stroke:a.brushType==="stroke"?i:null,fill:a.brushType==="fill"?i:null}})})}function l(e,a){C.call(this);var i=new h(e,a),u=new C;this.add(i),this.add(u),u.beforeUpdate=function(){this.attr(i.getScale())},this.updateData(e,a)}var n=l.prototype;n.stopEffectAnimation=function(){this.childAt(1).removeAll()},n.startEffectAnimation=function(e){for(var a=e.symbolType,i=e.color,u=this.childAt(1),f=0;f<o;f++){var m=I(a,-1,-1,2,2,i);m.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scale:[.5,.5]});var A=-f/o*e.period+e.effectOffset;m.animate("",!0).when(e.period,{scale:[e.rippleScale/2,e.rippleScale/2]}).delay(A).start(),m.animateStyle(!0).when(e.period,{opacity:0}).delay(A).start(),u.add(m)}s(u,e)},n.updateEffectAnimation=function(e){for(var a=this._effectCfg,i=this.childAt(1),u=["symbolType","period","rippleScale"],f=0;f<u.length;f++){var m=u[f];if(a[m]!==e[m]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}s(i,e)},n.highlight=function(){this.trigger("emphasis")},n.downplay=function(){this.trigger("normal")},n.updateData=function(e,a){var i=e.hostModel;this.childAt(0).updateData(e,a);var u=this.childAt(1),f=e.getItemModel(a),m=e.getItemVisual(a,"symbol"),A=r(e.getItemVisual(a,"symbolSize")),g=e.getItemVisual(a,"color");u.attr("scale",A),u.traverse(function(L){L.attr({fill:g})});var v=f.getShallow("symbolOffset");if(v){var b=u.position;b[0]=p(v[0],A[0]),b[1]=p(v[1],A[1])}var S=e.getItemVisual(a,"symbolRotate");u.rotation=(S||0)*Math.PI/180||0;var y={};if(y.showEffectOn=i.get("showEffectOn"),y.rippleScale=f.get("rippleEffect.scale"),y.brushType=f.get("rippleEffect.brushType"),y.period=f.get("rippleEffect.period")*1e3,y.effectOffset=a/e.count(),y.z=f.getShallow("z")||0,y.zlevel=f.getShallow("zlevel")||0,y.symbolType=m,y.color=g,y.rippleEffectColor=f.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 w=this.childAt(0),x=function(){w.highlight(),y.showEffectOn!=="render"&&this.startEffectAnimation(y)},T=function(){w.downplay(),y.showEffectOn!=="render"&&this.stopEffectAnimation()};this.on("mouseover",x,this).on("mouseout",T,this).on("emphasis",x,this).on("normal",T,this)}this._effectCfg=y},n.fadeOut=function(e){this.off("mouseover").off("mouseout").off("emphasis").off("normal"),e&&e()},O.inherits(l,C);var c=l;ue.exports=c},yS9w:function(ue,z,d){var O=d("MEGo"),_=O.parseSVG,I=O.makeViewBoxTransform,E=d("4fz+"),C=d("x6Kt"),t=d("bYtY"),p=t.assert,h=t.createHashMap,o=d("mFDi"),r=d("4NO4"),s=r.makeInner,l=s(),n={load:function(e,a){var i=l(a).originRoot;if(i)return{root:i,boundingRect:l(a).boundingRect};var u=c(a);return l(a).originRoot=u.root,l(a).boundingRect=u.boundingRect,u},makeGraphic:function(e,a,i){var u=l(a),f=u.rootMap||(u.rootMap=h()),m=f.get(i);if(m)return m;var A=u.originRoot,g=u.boundingRect;return u.originRootHostKey?m=c(a,g).root:(u.originRootHostKey=i,m=A),f.set(i,m)},removeGraphic:function(e,a,i){var u=l(a),f=u.rootMap;f&&f.removeKey(i),i===u.originRootHostKey&&(u.originRootHostKey=null)}};function c(e,a){var i=e.svgXML,u,f;try{u=i&&_(i,{ignoreViewBox:!0,ignoreRootClip:!0})||{},f=u.root,p(f!=null)}catch(S){throw new Error(`Invalid svg format
`+S.message)}var m=u.width,A=u.height,g=u.viewBoxRect;if(a||(a=m==null||A==null?f.getBoundingRect():new o(0,0,0,0),m!=null&&(a.width=m),A!=null&&(a.height=A)),g){var v=I(g,a.width,a.height),b=f;f=new E,f.add(b),b.scale=v.scale,b.position=v.position}return f.setClipPath(new C({shape:a.plain()})),{root:f,boundingRect:a}}ue.exports=n},yWXo:function(ue,z,d){var O=d("IwbS"),_=d("oVpE"),I=_.createSymbol,E=d("OS9S"),C=4,t=O.extendShape({shape:{points:null},symbolProxy:null,softClipShape:null,buildPath:function(r,s){var l=s.points,n=s.size,c=this.symbolProxy,e=c.shape,a=r.getContext?r.getContext():r,i=a&&n[0]<C;if(i)return;for(var u=0;u<l.length;){var f=l[u++],m=l[u++];if(isNaN(f)||isNaN(m))continue;if(this.softClipShape&&!this.softClipShape.contain(f,m))continue;e.x=f-n[0]/2,e.y=m-n[1]/2,e.width=n[0],e.height=n[1],c.buildPath(r,e,!0)}},afterBrush:function(r){var s=this.shape,l=s.points,n=s.size,c=n[0]<C;if(!c)return;this.setTransform(r);for(var e=0;e<l.length;){var a=l[e++],i=l[e++];if(isNaN(a)||isNaN(i))continue;if(this.softClipShape&&!this.softClipShape.contain(a,i))continue;r.fillRect(a-n[0]/2,i-n[1]/2,n[0],n[1])}this.restoreTransform(r)},findDataIndex:function(r,s){for(var l=this.shape,n=l.points,c=l.size,e=Math.max(c[0],4),a=Math.max(c[1],4),i=n.length/2-1;i>=0;i--){var u=i*2,f=n[u]-e/2,m=n[u+1]-a/2;if(r>=f&&s>=m&&r<=f+e&&s<=m+a)return i}return-1}});function p(){this.group=new O.Group}var h=p.prototype;h.isPersistent=function(){return!this._incremental},h.updateData=function(r,s){this.group.removeAll();var l=new t({rectHover:!0,cursor:"default"});l.setShape({points:r.getLayout("symbolPoints")}),this._setCommon(l,r,!1,s),this.group.add(l),this._incremental=null},h.updateLayout=function(r){if(this._incremental)return;var s=r.getLayout("symbolPoints");this.group.eachChild(function(l){if(l.startIndex!=null){var n=(l.endIndex-l.startIndex)*2,c=l.startIndex*4*2;s=new Float32Array(s.buffer,c,n)}l.setShape("points",s)})},h.incrementalPrepareUpdate=function(r){this.group.removeAll(),this._clearIncremental(),r.count()>2e6?(this._incremental||(this._incremental=new E({silent:!0})),this.group.add(this._incremental)):this._incremental=null},h.incrementalUpdate=function(r,s,l){var n;this._incremental?(n=new t,this._incremental.addDisplayable(n,!0)):(n=new t({rectHover:!0,cursor:"default",startIndex:r.start,endIndex:r.end}),n.incremental=!0,this.group.add(n)),n.setShape({points:s.getLayout("symbolPoints")}),this._setCommon(n,s,!!this._incremental,l)},h._setCommon=function(r,s,l,n){var c=s.hostModel;n=n||{};var e=s.getVisual("symbolSize");r.setShape("size",e instanceof Array?e:[e,e]),r.softClipShape=n.clipShape||null,r.symbolProxy=I(s.getVisual("symbol"),0,0,0,0),r.setColor=r.symbolProxy.setColor;var a=r.shape.size[0]<C;r.useStyle(c.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var i=s.getVisual("color");i&&r.setColor(i),l||(r.seriesIndex=c.seriesIndex,r.on("mousemove",function(u){r.dataIndex=null;var f=r.findDataIndex(u.offsetX,u.offsetY);f>=0&&(r.dataIndex=f+(r.startIndex||0))}))},h.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},h._clearIncremental=function(){var r=this._incremental;r&&r.clearDisplaybles()};var o=p;ue.exports=o},ycre:function(ue,z,d){var O=d("711d"),_=O("length");ue.exports=_},ye1Q:function(ue,z,d){"use strict";var O=d("VTBJ"),_=d("q1tI"),I={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"},E=I,C=d("6VBw"),t=function(o,r){return _.createElement(C.a,Object(O.a)(Object(O.a)({},o),{},{ref:r,icon:E}))};t.displayName="LoadingOutlined";var p=z.a=_.forwardRef(t)},ygfH:function(ue,z,d){"use strict";Object.defineProperty(z,"__esModule",{value:!0});var O={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"};z.default=O},yik8:function(ue,z,d){var O=d("bZqE"),_=O.eachAfter,I=O.eachBefore,E=d("Itpr"),C=E.init,t=E.firstWalk,p=E.secondWalk,h=E.separation,o=E.radialCoordinate,r=E.getViewRect;function s(n,c){n.eachSeriesByType("tree",function(e){l(e,c)})}function l(n,c){var e=r(n,c);n.layoutInfo=e;var a=n.get("layout"),i=0,u=0,f=null;a==="radial"?(i=2*Math.PI,u=Math.min(e.height,e.width)/2,f=h(function(P,k){return(P.parentNode===k.parentNode?1:2)/P.depth})):(i=e.width,u=e.height,f=h());var m=n.getData().tree.root,A=m.children[0];if(A){C(m),_(A,t,f),m.hierNode.modifier=-A.hierNode.prelim,I(A,p);var g=A,v=A,b=A;I(A,function(P){var k=P.getLayout().x;k<g.getLayout().x&&(g=P),k>v.getLayout().x&&(v=P),P.depth>b.depth&&(b=P)});var S=g===v?1:f(g,v)/2,y=S-g.getLayout().x,w=0,x=0,T=0,L=0;if(a==="radial")w=i/(v.getLayout().x+S+y),x=u/(b.depth-1||1),I(A,function(P){T=(P.getLayout().x+y)*w,L=(P.depth-1)*x;var k=o(T,L);P.setLayout({x:k.x,y:k.y,rawX:T,rawY:L},!0)});else{var R=n.getOrient();R==="RL"||R==="LR"?(x=u/(v.getLayout().x+S+y),w=i/(b.depth-1||1),I(A,function(P){L=(P.getLayout().x+y)*x,T=R==="LR"?(P.depth-1)*w:i-(P.depth-1)*w,P.setLayout({x:T,y:L},!0)})):(R==="TB"||R==="BT")&&(w=i/(v.getLayout().x+S+y),x=u/(b.depth-1||1),I(A,function(P){T=(P.getLayout().x+y)*w,L=R==="TB"?(P.depth-1)*x:u-(P.depth-1)*x,P.setLayout({x:T,y:L},!0)}))}}}ue.exports=s},ynwM:function(ue,z,d){var O=d("MFOe"),_=O.Global;ue.exports={name:"oldFF-globalStorage",read:E,write:C,each:t,remove:p,clearAll:h};var I=_.globalStorage;function E(o){return I[o]}function C(o,r){I[o]=r}function t(o){for(var r=I.length-1;r>=0;r--){var s=I.key(r);o(I[s],s)}}function p(o){return I.removeItem(o)}function h(){t(function(o,r){delete I[o]})}},ypgQ:function(ue,z,d){var O=d("bYtY"),_=d("4NO4"),I=d("bLfw"),E=O.each,C=O.clone,t=O.map,p=O.merge,h=/^(min|max)?(.+)$/;function o(a){this._api=a,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}o.prototype={constructor:o,setOption:function(a,i){a&&O.each(_.normalizeToArray(a.series),function(m){m&&m.data&&O.isTypedArray(m.data)&&O.setAsPrimitive(m.data)}),a=C(a);var u=this._optionBackup,f=r.call(this,a,i,!u);this._newBaseOption=f.baseOption,u?(c(u.baseOption,f.baseOption),f.timelineOptions.length&&(u.timelineOptions=f.timelineOptions),f.mediaList.length&&(u.mediaList=f.mediaList),f.mediaDefault&&(u.mediaDefault=f.mediaDefault)):this._optionBackup=f},mountOption:function(a){var i=this._optionBackup;return this._timelineOptions=t(i.timelineOptions,C),this._mediaList=t(i.mediaList,C),this._mediaDefault=C(i.mediaDefault),this._currentMediaIndices=[],C(a?i.baseOption:this._newBaseOption)},getTimelineOption:function(a){var i,u=this._timelineOptions;if(u.length){var f=a.getComponent("timeline");f&&(i=C(u[f.getCurrentIndex()],!0))}return i},getMediaOption:function(a){var i=this._api.getWidth(),u=this._api.getHeight(),f=this._mediaList,m=this._mediaDefault,A=[],g=[];if(!f.length&&!m)return g;for(var v=0,b=f.length;v<b;v++)s(f[v].query,i,u)&&A.push(v);return!A.length&&m&&(A=[-1]),A.length&&!n(A,this._currentMediaIndices)&&(g=t(A,function(S){return C(S===-1?m.option:f[S].option)})),this._currentMediaIndices=A,g}};function r(a,i,u){var f=[],m=[],A,g,v=a.timeline;if(a.baseOption&&(g=a.baseOption),(v||a.options)&&(g=g||{},f=(a.options||[]).slice()),a.media){g=g||{};var b=a.media;E(b,function(S){S&&S.option&&(S.query?m.push(S):A||(A=S))})}return g||(g=a),g.timeline||(g.timeline=v),E([g].concat(f).concat(O.map(m,function(S){return S.option})),function(S){E(i,function(y){y(S,u)})}),{baseOption:g,timelineOptions:f,mediaDefault:A,mediaList:m}}function s(a,i,u){var f={width:i,height:u,aspectratio:i/u},m=!0;return O.each(a,function(A,g){var v=g.match(h);if(!v||!v[1]||!v[2])return;var b=v[1],S=v[2].toLowerCase();l(f[S],A,b)||(m=!1)}),m}function l(a,i,u){return u==="min"?a>=i:u==="max"?a<=i:a===i}function n(a,i){return a.join(",")===i.join(",")}function c(a,i){i=i||{},E(i,function(u,f){if(u==null)return;var m=a[f];if(!I.hasClass(f))a[f]=p(m,u,!0);else{u=_.normalizeToArray(u),m=_.normalizeToArray(m);var A=_.mappingToExists(m,u);a[f]=t(A,function(g){return g.option&&g.exist?p(g.exist,g.option,!0):g.exist||g.option})}})}var e=o;ue.exports=e},yxFR:function(ue,z,d){var O=d("y+Vt"),_=d("nPnh"),I=_.subPixelOptimizeLine,E={},C=O.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(p,h){var o,r,s,l;this.subPixelOptimize?(I(E,h,this.style),o=E.x1,r=E.y1,s=E.x2,l=E.y2):(o=h.x1,r=h.y1,s=h.x2,l=h.y2);var n=h.percent;if(n===0)return;p.moveTo(o,r),n<1&&(s=o*(1-n)+s*n,l=r*(1-n)+l*n),p.lineTo(s,l)},pointAt:function(p){var h=this.shape;return[h.x1*(1-p)+h.x2*p,h.y1*(1-p)+h.y2*p]}});ue.exports=C},z35g:function(ue,z,d){var O=d("bYtY");function _(C){return this._axes[C]}var I=function(C){this._axes={},this._dimList=[],this.name=C||""};I.prototype={constructor:I,type:"cartesian",getAxis:function(C){return this._axes[C]},getAxes:function(){return O.map(this._dimList,_,this)},getAxesByScale:function(C){return C=C.toLowerCase(),O.filter(this.getAxes(),function(t){return t.scale.type===C})},addAxis:function(C){var t=C.dim;this._axes[t]=C,this._dimList.push(t)},dataToCoord:function(C){return this._dataCoordConvert(C,"dataToCoord")},coordToData:function(C){return this._dataCoordConvert(C,"coordToData")},_dataCoordConvert:function(C,t){for(var p=this._dimList,h=C instanceof Array?[]:{},o=0;o<p.length;o++){var r=p[o],s=this._axes[r];h[r]=s[t](C[r])}return h}};var E=I;ue.exports=E},zAh6:function(ue,z,d){"use strict";d.d(z,"a",function(){return C});var O=d("xEkU"),_=d.n(O),I=d("i6bk");function E(t,p,h,o){var r=h-p;return t/=o/2,t<1?r/2*t*t*t+p:r/2*((t-=2)*t*t+2)+p}function C(t){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=p.getContainer,o=h===void 0?function(){return window}:h,r=p.callback,s=p.duration,l=s===void 0?450:s,n=o(),c=Object(I.a)(n,!0),e=Date.now(),a=function i(){var u=Date.now(),f=u-e,m=E(f>l?l:f,c,t,l);Object(I.b)(n)?n.scrollTo(window.pageXOffset,m):n instanceof HTMLDocument||n.constructor.name==="HTMLDocument"?n.documentElement.scrollTop=m:n.scrollTop=m,f<l?_()(i):typeof r=="function"&&r()};_()(a)}},zDms:function(ue,z,d){var O=d("bYtY"),_=d("OELB"),I=d("UOVi"),E=d("72pK"),C=O.each,t=_.asc,p=function(n,c,e,a){this._dimName=n,this._axisIndex=c,this._valueWindow,this._percentWindow,this._dataExtent,this._minMaxSpan,this.ecModel=a,this._dataZoomModel=e};p.prototype={constructor:p,hostedBy:function(n){return this._dataZoomModel===n},getDataValueWindow:function(){return this._valueWindow.slice()},getDataPercentWindow:function(){return this._percentWindow.slice()},getTargetSeriesModels:function(){var n=[],c=this.ecModel;return c.eachSeries(function(e){if(I.isCoordSupported(e.get("coordinateSystem"))){var a=this._dimName,i=c.queryComponents({mainType:a+"Axis",index:e.get(a+"AxisIndex"),id:e.get(a+"AxisId")})[0];this._axisIndex===(i&&i.componentIndex)&&n.push(e)}},this),n},getAxisModel:function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},getOtherAxisModel:function(){var n=this._dimName,c=this.ecModel,e=this.getAxisModel(),a=n==="x"||n==="y",i,u;a?(u="gridIndex",i=n==="x"?"y":"x"):(u="polarIndex",i=n==="angle"?"radius":"angle");var f;return c.eachComponent(i+"Axis",function(m){(m.get(u)||0)===(e.get(u)||0)&&(f=m)}),f},getMinMaxSpan:function(){return O.clone(this._minMaxSpan)},calculateDataWindow:function(n){var c=this._dataExtent,e=this.getAxisModel(),a=e.axis.scale,i=this._dataZoomModel.getRangePropMode(),u=[0,100],f=[],m=[],A;C(["start","end"],function(b,S){var y=n[b],w=n[b+"Value"];i[S]==="percent"?(y==null&&(y=u[S]),w=a.parse(_.linearMap(y,u,c))):(A=!0,w=w==null?c[S]:a.parse(w),y=_.linearMap(w,c,u)),m[S]=w,f[S]=y}),t(m),t(f);var g=this._minMaxSpan;A?v(m,f,c,u,!1):v(f,m,u,c,!0);function v(b,S,y,w,x){var T=x?"Span":"ValueSpan";E(0,b,y,"all",g["min"+T],g["max"+T]);for(var L=0;L<2;L++)S[L]=_.linearMap(b[L],y,w,!0),x&&(S[L]=a.parse(S[L]))}return{valueWindow:m,percentWindow:f}},reset:function(n){if(n!==this._dataZoomModel)return;var c=this.getTargetSeriesModels();this._dataExtent=h(this,this._dimName,c),s(this);var e=this.calculateDataWindow(n.settledOption);this._valueWindow=e.valueWindow,this._percentWindow=e.percentWindow,r(this)},restore:function(n){if(n!==this._dataZoomModel)return;this._valueWindow=this._percentWindow=null,r(this,!0)},filterData:function(n,c){if(n!==this._dataZoomModel)return;var e=this._dimName,a=this.getTargetSeriesModels(),i=n.get("filterMode"),u=this._valueWindow;if(i==="none")return;C(a,function(m){var A=m.getData(),g=A.mapDimension(e,!0);if(!g.length)return;i==="weakFilter"?A.filterSelf(function(v){for(var b,S,y,w=0;w<g.length;w++){var x=A.get(g[w],v),T=!isNaN(x),L=x<u[0],R=x>u[1];if(T&&!L&&!R)return!0;T&&(y=!0),L&&(b=!0),R&&(S=!0)}return y&&b&&S}):C(g,function(v){if(i==="empty")m.setData(A=A.map(v,function(S){return f(S)?S:NaN}));else{var b={};b[v]=u,A.selectRange(b)}}),C(g,function(v){A.setApproximateExtent(u,v)})});function f(m){return m>=u[0]&&m<=u[1]}}};function h(n,c,e){var a=[Infinity,-Infinity];return C(e,function(i){var u=i.getData();u&&C(u.mapDimension(c,!0),function(f){var m=u.getApproximateExtent(f);m[0]<a[0]&&(a[0]=m[0]),m[1]>a[1]&&(a[1]=m[1])})}),a[1]<a[0]&&(a=[NaN,NaN]),o(n,a),a}function o(n,c){var e=n.getAxisModel(),a=e.getMin(!0),i=e.get("type")==="category",u=i&&e.getCategories().length;a!=null&&a!=="dataMin"&&typeof a!="function"?c[0]=a:i&&(c[0]=u>0?0:NaN);var f=e.getMax(!0);return f!=null&&f!=="dataMax"&&typeof f!="function"?c[1]=f:i&&(c[1]=u>0?u-1:NaN),e.get("scale",!0)||(c[0]>0&&(c[0]=0),c[1]<0&&(c[1]=0)),c}function r(n,c){var e=n.getAxisModel(),a=n._percentWindow,i=n._valueWindow;if(!a)return;var u=_.getPixelPrecision(i,[0,500]);u=Math.min(u,20);var f=c||a[0]===0&&a[1]===100;e.setRange(f?null:+i[0].toFixed(u),f?null:+i[1].toFixed(u))}function s(n){var c=n._minMaxSpan={},e=n._dataZoomModel,a=n._dataExtent;C(["min","max"],function(i){var u=e.get(i+"Span"),f=e.get(i+"ValueSpan");f!=null&&(f=n.getAxisModel().axis.scale.parse(f)),f!=null?u=_.linearMap(a[0]+f,a,[0,100],!0):u!=null&&(f=_.linearMap(u,[0,100],a,!0)-a[0]),c[i+"Span"]=u,c[i+"ValueSpan"]=f})}var l=p;ue.exports=l},zM3Q:function(ue,z,d){var O=d("4NO4"),_=O.makeInner;function I(){var E=_();return function(C){var t=E(C),p=C.pipelineContext,h=t.large,o=t.progressiveRender,r=t.large=p&&p.large,s=t.progressiveRender=p&&p.progressiveRender;return!!(h^r||o^s)&&"reset"}}ue.exports=I},zRKj:function(ue,z,d){d("Ae16"),d("Sp2Z"),d("y4/Y")},zTMp:function(ue,z,d){var O=d("bYtY"),_=d("Qxkt"),I=O.each,E=O.curry;function C(a,i){var u={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return t(u,a,i),u.seriesInvolved&&h(u,a),u}function t(a,i,u){var f=i.getComponent("tooltip"),m=i.getComponent("axisPointer"),A=m.get("link",!0)||[],g=[];I(u.getCoordinateSystems(),function(v){if(!v.axisPointerEnabled)return;var b=e(v.model),S=a.coordSysAxesInfo[b]={};a.coordSysMap[b]=v;var y=v.model,w=y.getModel("tooltip",f);if(I(v.getAxes(),E(R,!1,null)),v.getTooltipAxes&&f&&w.get("show")){var x=w.get("trigger")==="axis",T=w.get("axisPointer.type")==="cross",L=v.getTooltipAxes(w.get("axisPointer.axis"));(x||T)&&I(L.baseAxes,E(R,T?"cross":!0,x)),T&&I(L.otherAxes,E(R,"cross",!1))}function R(P,k,U){var D=U.model.getModel("axisPointer",m),M=D.get("show");if(!M||M==="auto"&&!P&&!c(D))return;k==null&&(k=D.get("triggerTooltip")),D=P?p(U,w,m,i,P,k):D;var B=D.get("snap"),j=e(U.model),H=k||B||U.type==="category",K=a.axesInfo[j]={key:j,axis:U,coordSys:v,axisPointerModel:D,triggerTooltip:k,involveSeries:H,snap:B,useHandle:c(D),seriesModels:[]};S[j]=K,a.seriesInvolved|=H;var W=o(A,U);if(W!=null){var X=g[W]||(g[W]={axesInfo:{}});X.axesInfo[j]=K,X.mapper=A[W].mapper,K.linkGroup=X}}})}function p(a,i,u,f,m,A){var g=i.getModel("axisPointer"),v={};I(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(w){v[w]=O.clone(g.get(w))}),v.snap=a.type!=="category"&&!!A,g.get("type")==="cross"&&(v.type="line");var b=v.label||(v.label={});if(b.show==null&&(b.show=!1),m==="cross"){var S=g.get("label.show");if(b.show=S!=null?S:!0,!A){var y=v.lineStyle=g.get("crossStyle");y&&O.defaults(b,y.textStyle)}}return a.model.getModel("axisPointer",new _(v,u,f))}function h(a,i){i.eachSeries(function(u){var f=u.coordinateSystem,m=u.get("tooltip.trigger",!0),A=u.get("tooltip.show",!0);if(!f||m==="none"||m===!1||m==="item"||A===!1||u.get("axisPointer.show",!0)===!1)return;I(a.coordSysAxesInfo[e(f.model)],function(g){var v=g.axis;f.getAxis(v.dim)===v&&(g.seriesModels.push(u),g.seriesDataCount==null&&(g.seriesDataCount=0),g.seriesDataCount+=u.getData().count())})},this)}function o(a,i){for(var u=i.model,f=i.dim,m=0;m<a.length;m++){var A=a[m]||{};if(r(A[f+"AxisId"],u.id)||r(A[f+"AxisIndex"],u.componentIndex)||r(A[f+"AxisName"],u.name))return m}}function r(a,i){return a==="all"||O.isArray(a)&&O.indexOf(a,i)>=0||a===i}function s(a){var i=l(a);if(!i)return;var u=i.axisPointerModel,f=i.axis.scale,m=u.option,A=u.get("status"),g=u.get("value");g!=null&&(g=f.parse(g));var v=c(u);A==null&&(m.status=v?"show":"hide");var b=f.getExtent().slice();b[0]>b[1]&&b.reverse(),(g==null||g>b[1])&&(g=b[1]),g<b[0]&&(g=b[0]),m.value=g,v&&(m.status=i.axis.scale.isBlank()?"hide":"show")}function l(a){var i=(a.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return i&&i.axesInfo[e(a)]}function n(a){var i=l(a);return i&&i.axisPointerModel}function c(a){return!!a.get("handle.show")}function e(a){return a.type+"||"+a.id}z.collect=C,z.fixValue=s,z.getAxisInfo=l,z.getAxisPointerModel=n,z.makeKey=e},zYTA:function(ue,z,d){var O=d("bYtY"),_=256;function I(){var C=O.createCanvas();this.canvas=C,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}I.prototype={update:function(C,t,p,h,o,r){var s=this._getBrush(),l=this._getGradient(C,o,"inRange"),n=this._getGradient(C,o,"outOfRange"),c=this.pointSize+this.blurSize,e=this.canvas,a=e.getContext("2d"),i=C.length;e.width=t,e.height=p;for(var u=0;u<i;++u){var f=C[u],m=f[0],A=f[1],g=f[2],v=h(g);a.globalAlpha=v,a.drawImage(s,m-c,A-c)}if(!e.width||!e.height)return e;for(var b=a.getImageData(0,0,e.width,e.height),S=b.data,y=0,w=S.length,x=this.minOpacity,T=this.maxOpacity,L=T-x;y<w;){var v=S[y+3]/256,R=Math.floor(v*(_-1))*4;if(v>0){var P=r(v)?l:n;v>0&&(v=v*L+x),S[y++]=P[R],S[y++]=P[R+1],S[y++]=P[R+2],S[y++]=P[R+3]*v*256}else y+=4}return a.putImageData(b,0,0),e},_getBrush:function(){var C=this._brushCanvas||(this._brushCanvas=O.createCanvas()),t=this.pointSize+this.blurSize,p=t*2;C.width=p,C.height=p;var h=C.getContext("2d");return h.clearRect(0,0,p,p),h.shadowOffsetX=p,h.shadowBlur=this.blurSize,h.shadowColor="#000",h.beginPath(),h.arc(-t,t,this.pointSize,0,Math.PI*2,!0),h.closePath(),h.fill(),C},_getGradient:function(C,t,p){for(var h=this._gradientPixels,o=h[p]||(h[p]=new Uint8ClampedArray(256*4)),r=[0,0,0,0],s=0,l=0;l<256;l++)t[p](l/255,!0,r),o[s++]=r[0],o[s++]=r[1],o[s++]=r[2],o[s++]=r[3];return o}};var E=I;ue.exports=E},zarK:function(ue,z,d){var O=d("YH21"),_=O.addEventListener,I=O.removeEventListener,E=O.normalizeEvent,C=O.getNativeEvent,t=d("bYtY"),p=d("H6uX"),h=d("ItGF"),o=300,r=h.domSupported,s=function(){var P=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],k=["touchstart","touchend","touchmove"],U={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},D=t.map(P,function(M){var B=M.replace("mouse","pointer");return U.hasOwnProperty(B)?B:M});return{mouse:P,touch:k,pointer:D}}(),l={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function n(P){return P==="mousewheel"&&h.browser.firefox?"DOMMouseScroll":P}function c(P){var k=P.pointerType;return k==="pen"||k==="touch"}function e(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 a(P){P&&(P.zrByTouch=!0)}function i(P,k){return E(P.dom,new f(P,k),!0)}function u(P,k){for(var U=k,D=!1;U&&U.nodeType!==9&&!(D=U.domBelongToZr||U!==k&&U===P.painterRoot);)U=U.parentNode;return D}function f(P,k){this.type=k.type,this.target=this.currentTarget=P.dom,this.pointerType=k.pointerType,this.clientX=k.clientX,this.clientY=k.clientY}var m=f.prototype;m.stopPropagation=m.stopImmediatePropagation=m.preventDefault=t.noop;var A={mousedown:function(k){k=E(this.dom,k),this._mayPointerCapture=[k.zrX,k.zrY],this.trigger("mousedown",k)},mousemove:function(k){k=E(this.dom,k);var U=this._mayPointerCapture;U&&(k.zrX!==U[0]||k.zrY!==U[1])&&w(this,!0),this.trigger("mousemove",k)},mouseup:function(k){k=E(this.dom,k),w(this,!1),this.trigger("mouseup",k)},mouseout:function(k){k=E(this.dom,k),this._pointerCapturing&&(k.zrEventControl="no_globalout");var U=k.toElement||k.relatedTarget;k.zrIsToLocalDOM=u(this,U),this.trigger("mouseout",k)},touchstart:function(k){k=E(this.dom,k),a(k),this._lastTouchMoment=new Date,this.handler.processGesture(k,"start"),A.mousemove.call(this,k),A.mousedown.call(this,k)},touchmove:function(k){k=E(this.dom,k),a(k),this.handler.processGesture(k,"change"),A.mousemove.call(this,k)},touchend:function(k){k=E(this.dom,k),a(k),this.handler.processGesture(k,"end"),A.mouseup.call(this,k),+new Date-this._lastTouchMoment<o&&A.click.call(this,k)},pointerdown:function(k){A.mousedown.call(this,k)},pointermove:function(k){c(k)||A.mousemove.call(this,k)},pointerup:function(k){A.mouseup.call(this,k)},pointerout:function(k){c(k)||A.mouseout.call(this,k)}};t.each(["click","mousewheel","dblclick","contextmenu"],function(P){A[P]=function(k){k=E(this.dom,k),this.trigger(P,k)}});var g={pointermove:function(k){c(k)||g.mousemove.call(this,k)},pointerup:function(k){g.mouseup.call(this,k)},mousemove:function(k){this.trigger("mousemove",k)},mouseup:function(k){var U=this._pointerCapturing;w(this,!1),this.trigger("mouseup",k),U&&(k.zrEventControl="only_globalout",this.trigger("mouseout",k))}};function v(P,k){var U=k.domHandlers;h.pointerEventsSupported?t.each(s.pointer,function(D){S(k,D,function(M){U[D].call(P,M)})}):(h.touchEventsSupported&&t.each(s.touch,function(D){S(k,D,function(M){U[D].call(P,M),e(k)})}),t.each(s.mouse,function(D){S(k,D,function(M){M=C(M),k.touching||U[D].call(P,M)})}))}function b(P,k){h.pointerEventsSupported?t.each(l.pointer,U):h.touchEventsSupported||t.each(l.mouse,U);function U(D){function M(B){B=C(B),u(P,B.target)||(B=i(P,B),k.domHandlers[D].call(P,B))}S(k,D,M,{capture:!0})}}function S(P,k,U,D){P.mounted[k]=U,P.listenerOpts[k]=D,_(P.domTarget,n(k),U,D)}function y(P){var k=P.mounted;for(var U in k)k.hasOwnProperty(U)&&I(P.domTarget,n(U),k[U],P.listenerOpts[U]);P.mounted={}}function w(P,k){if(P._mayPointerCapture=null,r&&P._pointerCapturing^k){P._pointerCapturing=k;var U=P._globalHandlerScope;k?b(P,U):y(U)}}function x(P,k){this.domTarget=P,this.domHandlers=k,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function T(P,k){p.call(this),this.dom=P,this.painterRoot=k,this._localHandlerScope=new x(P,A),r&&(this._globalHandlerScope=new x(document,g)),this._pointerCapturing=!1,this._mayPointerCapture=null,v(this,this._localHandlerScope)}var L=T.prototype;L.dispose=function(){y(this._localHandlerScope),r&&y(this._globalHandlerScope)},L.setCursor=function(P){this.dom.style&&(this.dom.style.cursor=P||"default")},t.mixin(T,p);var R=T;ue.exports=R},zdCA:function(ue,z,d){"use strict";var O=d("284h"),_=d("TqRt");Object.defineProperty(z,"__esModule",{value:!0}),z.default=void 0;var I=_(d("3tO9")),E=O(d("q1tI")),C=_(d("PSzr")),t=_(d("KQxl")),p=function(r,s){return E.createElement(t.default,(0,I.default)((0,I.default)({},r),{},{ref:s,icon:C.default}))};p.displayName="BarsOutlined";var h=E.forwardRef(p);z.default=h},zeV3:function(ue,z,d){"use strict";var O=d("pVnL"),_=d.n(O),I=d("lSNA"),E=d.n(I),C=d("q1tI"),t=d.n(C),p=d("TSYQ"),h=d.n(p),o=d("H84U"),r=function(n,c){var e={};for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&c.indexOf(a)<0&&(e[a]=n[a]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(n);i<a.length;i++)c.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(n,a[i])&&(e[a[i]]=n[a[i]]);return e},s={small:8,middle:16,large:24},l=function(c){var e,a=C.useContext(o.b),i=a.getPrefixCls,u=a.space,f=a.direction,m=c.size,A=m===void 0?(u==null?void 0:u.size)||"small":m,g=c.align,v=c.className,b=c.children,S=c.direction,y=S===void 0?"horizontal":S,w=c.prefixCls,x=r(c,["size","align","className","children","direction","prefixCls"]),T=C.Children.count(b);if(T===0)return null;var L=g===void 0&&y==="horizontal"?"center":g,R=i("space",w),P=h()(R,"".concat(R,"-").concat(y),(e={},E()(e,"".concat(R,"-rtl"),f==="rtl"),E()(e,"".concat(R,"-align-").concat(L),L),e),v),k="".concat(R,"-item"),U=f==="rtl"?"marginLeft":"marginRight";return C.createElement("div",_()({className:P},x),C.Children.map(b,function(D,M){return C.createElement("div",{className:k,key:"".concat(k,"-").concat(M),style:M===T-1||D===null||D===void 0?{}:E()({},y==="vertical"?"marginBottom":U,typeof A=="string"?s[A]:A)},D)}))};z.a=l},zoYe:function(ue,z,d){var O=d("nmnc"),_=d("eUgh"),I=d("Z0cm"),E=d("/9aa"),C=1/0,t=O?O.prototype:void 0,p=t?t.toString:void 0;function h(o){if(typeof o=="string")return o;if(I(o))return _(o,h)+"";if(E(o))return p?p.call(o):"";var r=o+"";return r=="0"&&1/o==-C?"-0":r}ue.exports=h},zuHt:function(ue,z,d){var O=d("bYtY");function _(I){var E={};I.eachSeriesByType("map",function(C){var t=C.getMapType();if(C.getHostGeoModel()||E[t])return;var p={};O.each(C.seriesGroup,function(o){var r=o.coordinateSystem,s=o.originalData;o.get("showLegendSymbol")&&I.getComponent("legend")&&s.each(s.mapDimension("value"),function(l,n){var c=s.getName(n),e=r.getRegion(c);if(!e||isNaN(l))return;var a=p[c]||0,i=r.dataToPoint(e.center);p[c]=a+1,s.setItemLayout(n,{point:i,offset:a})})});var h=C.getData();h.each(function(o){var r=h.getName(o),s=h.getItemLayout(o)||{};s.showLabel=!p[r],h.setItemLayout(o,s)}),E[t]=!0})}ue.exports=_}}]);